example.ipynb
1 { 2 "cells": [ 3 { 4 "cell_type": "code", 5 "execution_count": 1, 6 "metadata": {}, 7 "outputs": [], 8 "source": [ 9 "import uuid\n", 10 "\n", 11 "from evidently_service.dashboards import DashboardConfig, Dashboard\n", 12 "from evidently_service.dashboards import DashboardValue\n", 13 "from evidently_service.dashboards import ReportFilter\n", 14 "from evidently_service.workspace import Workspace" 15 ] 16 }, 17 { 18 "cell_type": "code", 19 "execution_count": 2, 20 "metadata": {}, 21 "outputs": [], 22 "source": [ 23 "workspace = Workspace(\"workspace\")\n", 24 "\n", 25 "config = DashboardConfig(\n", 26 " id=uuid.uuid4(),\n", 27 " name=\"sample_dashboard\",\n", 28 " filter=ReportFilter(metadata_values={\"type\": \"DataDriftPreset\"}),\n", 29 " value=DashboardValue(metric_id=\"DatasetDriftMetric\", field_path=\"share_of_drifted_columns\"),\n", 30 ")" 31 ] 32 }, 33 { 34 "cell_type": "code", 35 "execution_count": 3, 36 "metadata": {}, 37 "outputs": [], 38 "source": [ 39 "dashboard = Dashboard(config)\n", 40 "for report in workspace.get_project(workspace.list_projects()[0].id).reports.values():\n", 41 " dashboard.add_report(report)" 42 ] 43 }, 44 { 45 "cell_type": "code", 46 "execution_count": 4, 47 "metadata": { 48 "ExecuteTime": { 49 "end_time": "2023-06-18T18:37:53.481455800Z", 50 "start_time": "2023-06-18T18:37:52.949657300Z" 51 } 52 }, 53 "outputs": [ 54 { 55 "data": { 56 "text/html": [ 57 "\n", 58 "<html>\n", 59 "<head>\n", 60 "<meta charset=\"utf-8\">\n", 61 "<style>\n", 62 "/* fallback */\n", 63 "@font-face {\n", 64 " font-family: 'Material Icons';\n", 65 " font-style: normal;\n", 66 " font-weight: 400;\n", 67 " src: url(data:font/ttf;base64,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) format('woff2');\n", 68 "}\n", 69 "\n", 70 ".material-icons {\n", 71 " font-family: 'Material Icons';\n", 72 " font-weight: normal;\n", 73 " font-style: normal;\n", 74 " font-size: 24px;\n", 75 " line-height: 1;\n", 76 " letter-spacing: normal;\n", 77 " text-transform: none;\n", 78 " display: inline-block;\n", 79 " white-space: nowrap;\n", 80 " word-wrap: normal;\n", 81 " direction: ltr;\n", 82 " text-rendering: optimizeLegibility;\n", 83 " -webkit-font-smoothing: antialiased;\n", 84 "}\n", 85 "</style>\n", 86 "<script>\n", 87 " var 361803f9-6b8b-45b2-b03c-f6d5e38675a8 = {\"name\": \"sample_dashboard\", \"widgets\": [{\"type\": \"big_graph\", \"title\": \"kek\", \"size\": 2, \"id\": \"a28d861d-f1fb-4bed-8c83-8b17115acac1\", \"details\": \"\", \"alertsPosition\": null, \"alertStats\": null, \"params\": {\"data\": [{\"x\": [\"2023-06-23T00:00:00\", \"2023-06-20T00:00:00\", \"2023-06-19T00:00:00\", \"2023-06-22T00:00:00\", \"2023-06-24T00:00:00\"], \"y\": [0.4, 0.4, 0.4, 0.4, 0.4], \"type\": \"scatter\", \"xaxis\": \"x\", \"yaxis\": \"y\"}], \"layout\": {\"template\": {\"data\": {\"histogram2dcontour\": [{\"type\": \"histogram2dcontour\", \"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}], \"choropleth\": [{\"type\": \"choropleth\", \"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}], \"histogram2d\": [{\"type\": \"histogram2d\", \"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}], \"heatmap\": [{\"type\": \"heatmap\", \"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}], \"heatmapgl\": [{\"type\": \"heatmapgl\", \"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}], \"contourcarpet\": [{\"type\": \"contourcarpet\", \"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}], \"contour\": [{\"type\": \"contour\", \"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}], \"surface\": [{\"type\": \"surface\", \"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}], \"mesh3d\": [{\"type\": \"mesh3d\", \"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}], \"scatter\": [{\"fillpattern\": {\"fillmode\": \"overlay\", \"size\": 10, \"solidity\": 0.2}, \"type\": \"scatter\"}], \"parcoords\": [{\"type\": \"parcoords\", \"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}}], \"scatterpolargl\": [{\"type\": \"scatterpolargl\", \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}}], \"bar\": [{\"error_x\": {\"color\": \"#2a3f5f\"}, \"error_y\": {\"color\": \"#2a3f5f\"}, \"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}, \"pattern\": {\"fillmode\": \"overlay\", \"size\": 10, \"solidity\": 0.2}}, \"type\": \"bar\"}], \"scattergeo\": [{\"type\": \"scattergeo\", \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}}], \"scatterpolar\": [{\"type\": \"scatterpolar\", \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}}], \"histogram\": [{\"marker\": {\"pattern\": {\"fillmode\": \"overlay\", \"size\": 10, \"solidity\": 0.2}}, \"type\": \"histogram\"}], \"scattergl\": [{\"type\": \"scattergl\", \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}}], \"scatter3d\": [{\"type\": \"scatter3d\", \"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}}], \"scattermapbox\": [{\"type\": \"scattermapbox\", \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}}], \"scatterternary\": [{\"type\": \"scatterternary\", \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}}], \"scattercarpet\": [{\"type\": \"scattercarpet\", \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}}], \"carpet\": [{\"aaxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"baxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"type\": \"carpet\"}], \"table\": [{\"cells\": {\"fill\": {\"color\": \"#EBF0F8\"}, \"line\": {\"color\": \"white\"}}, \"header\": {\"fill\": {\"color\": \"#C8D4E3\"}, \"line\": {\"color\": \"white\"}}, \"type\": \"table\"}], \"barpolar\": [{\"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}, \"pattern\": {\"fillmode\": \"overlay\", \"size\": 10, \"solidity\": 0.2}}, \"type\": \"barpolar\"}], \"pie\": [{\"automargin\": true, \"type\": \"pie\"}]}, \"layout\": {\"autotypenumbers\": \"strict\", \"colorway\": [\"#636efa\", \"#EF553B\", \"#00cc96\", \"#ab63fa\", \"#FFA15A\", \"#19d3f3\", \"#FF6692\", \"#B6E880\", \"#FF97FF\", \"#FECB52\"], \"font\": {\"color\": \"#2a3f5f\"}, \"hovermode\": \"closest\", \"hoverlabel\": {\"align\": \"left\"}, \"paper_bgcolor\": \"white\", \"plot_bgcolor\": \"#E5ECF6\", \"polar\": {\"bgcolor\": \"#E5ECF6\", \"angularaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"radialaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"ternary\": {\"bgcolor\": \"#E5ECF6\", \"aaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"baxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"caxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"coloraxis\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"colorscale\": {\"sequential\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"sequentialminus\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"diverging\": [[0, \"#8e0152\"], [0.1, \"#c51b7d\"], [0.2, \"#de77ae\"], [0.3, \"#f1b6da\"], [0.4, \"#fde0ef\"], [0.5, \"#f7f7f7\"], [0.6, \"#e6f5d0\"], [0.7, \"#b8e186\"], [0.8, \"#7fbc41\"], [0.9, \"#4d9221\"], [1, \"#276419\"]]}, \"xaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"automargin\": true, \"zerolinewidth\": 2}, \"yaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"automargin\": true, \"zerolinewidth\": 2}, \"scene\": {\"xaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\", \"gridwidth\": 2}, \"yaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\", \"gridwidth\": 2}, \"zaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\", \"gridwidth\": 2}}, \"shapedefaults\": {\"line\": {\"color\": \"#2a3f5f\"}}, \"annotationdefaults\": {\"arrowcolor\": \"#2a3f5f\", \"arrowhead\": 0, \"arrowwidth\": 1}, \"geo\": {\"bgcolor\": \"white\", \"landcolor\": \"#E5ECF6\", \"subunitcolor\": \"white\", \"showland\": true, \"showlakes\": true, \"lakecolor\": \"white\"}, \"title\": {\"x\": 0.05}, \"mapbox\": {\"style\": \"light\"}}}, \"xaxis\": {\"anchor\": \"y\", \"domain\": [0.0, 1.0]}, \"yaxis\": {\"anchor\": \"x\", \"domain\": [0.0, 1.0]}}}, \"insights\": [], \"alerts\": [], \"tabs\": [], \"widgets\": [], \"pageSize\": 5}]};\n", 88 " var additional_graphs_361803f9-6b8b-45b2-b03c-f6d5e38675a8 = {};\n", 89 "</script>\n", 90 "</head>\n", 91 "<body>\n", 92 "<div id=\"root_361803f9-6b8b-45b2-b03c-f6d5e38675a8\">Loading...</div>\n", 93 "<script>/*! For license information please see index.js.LICENSE.txt */\n", 94 "!function(){var e={59713:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},67154:function(e){function t(){return e.exports=t=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},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},85354:function(e,t,n){var r=n(99489);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},95318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},20862:function(e,t,n){var r=n(50008).default;function a(e){if(\"function\"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||\"object\"!==r(e)&&\"function\"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(\"default\"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var s=o?Object.getOwnPropertyDescriptor(e,l):null;s&&(s.get||s.set)?Object.defineProperty(i,l,s):i[l]=e[l]}return i.default=e,n&&n.set(e,i),i},e.exports.default=e.exports,e.exports.__esModule=!0},6479:function(e,t,n){var r=n(37316);e.exports=function(e,t){if(null==e)return{};var n,a,i=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},37316:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a},e.exports.default=e.exports,e.exports.__esModule=!0},99489:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},50008:function(e){function t(n){return\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},50999:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return Se}});var r=n(83946),a=n(19013),i=n(13882);function o(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),o=(0,r.Z)(t);return isNaN(o)?new Date(NaN):o?(n.setDate(n.getDate()+o),n):n}function l(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),o=(0,r.Z)(t);if(isNaN(o))return new Date(NaN);if(!o)return n;var l=n.getDate(),s=new Date(n.getTime());s.setMonth(n.getMonth()+o+1,0);var u=s.getDate();return l>=u?s:(n.setFullYear(s.getFullYear(),s.getMonth(),l),n)}function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return l(e,12*n)}function u(e){(0,i.Z)(1,arguments);var t=(0,a.Z)(e);return t.setHours(23,59,59,999),t}function c(e,t){(0,i.Z)(1,arguments);var n=t||{},o=n.locale,l=o&&o.options&&o.options.weekStartsOn,s=null==l?0:(0,r.Z)(l),u=null==n.weekStartsOn?s:(0,r.Z)(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError(\"weekStartsOn must be between 0 and 6 inclusively\");var c=(0,a.Z)(e),f=c.getDay(),d=6+(f<u?-7:0)-(f-u);return c.setDate(c.getDate()+d),c.setHours(23,59,59,999),c}function f(e){(0,i.Z)(1,arguments);var t=(0,a.Z)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}var d=n(49546);function p(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),r=(0,a.Z)(t);return n.getTime()>r.getTime()}function h(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),r=(0,a.Z)(t);return n.getTime()<r.getTime()}function m(e){(0,i.Z)(1,arguments);var t=(0,a.Z)(e);return t.setHours(0,0,0,0),t}function g(e){(0,i.Z)(1,arguments);var t=(0,a.Z)(e);return t.setMinutes(0,0,0),t}var y=n(49599),v=n(4958),b=n(29558);function x(e,t){if(null==e)throw new TypeError(\"assign requires that input parameter not be null or undefined\");for(var n in t=t||{})Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var w=n(97621),_=n(24262),k=n(5267),T=n(7651);function M(e,t,n){(0,i.Z)(2,arguments);var o=n||{},l=o.locale,s=l&&l.options&&l.options.weekStartsOn,u=null==s?0:(0,r.Z)(s),c=null==o.weekStartsOn?u:(0,r.Z)(o.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError(\"weekStartsOn must be between 0 and 6 inclusively\");var f=(0,a.Z)(e),d=(0,r.Z)(t),p=f.getUTCDay(),h=d%7,m=(h+7)%7,g=(m<c?7:0)+d-p;return f.setUTCDate(f.getUTCDate()+g),f}var S=n(49702);var E=n(23324);var C=n(66979),O=n(59025),A=/^(1[0-2]|0?\\d)/,D=/^(3[0-1]|[0-2]?\\d)/,P=/^(36[0-6]|3[0-5]\\d|[0-2]?\\d?\\d)/,R=/^(5[0-3]|[0-4]?\\d)/,L=/^(2[0-3]|[0-1]?\\d)/,I=/^(2[0-4]|[0-1]?\\d)/,j=/^(1[0-1]|0?\\d)/,N=/^(1[0-2]|0?\\d)/,z=/^[0-5]?\\d/,F=/^[0-5]?\\d/,Z=/^\\d/,B=/^\\d{1,2}/,q=/^\\d{1,3}/,H=/^\\d{1,4}/,U=/^-?\\d+/,W=/^-?\\d/,V=/^-?\\d{1,2}/,Y=/^-?\\d{1,3}/,G=/^-?\\d{1,4}/,$=/^([+-])(\\d{2})(\\d{2})?|Z/,X=/^([+-])(\\d{2})(\\d{2})|Z/,K=/^([+-])(\\d{2})(\\d{2})((\\d{2}))?|Z/,J=/^([+-])(\\d{2}):(\\d{2})|Z/,Q=/^([+-])(\\d{2}):(\\d{2})(:(\\d{2}))?|Z/;function ee(e,t,n){var r=t.match(e);if(!r)return null;var a=parseInt(r[0],10);return{value:n?n(a):a,rest:t.slice(r[0].length)}}function te(e,t){var n=t.match(e);return n?\"Z\"===n[0]?{value:0,rest:t.slice(1)}:{value:(\"+\"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}:null}function ne(e,t){return ee(U,e,t)}function re(e,t,n){switch(e){case 1:return ee(Z,t,n);case 2:return ee(B,t,n);case 3:return ee(q,t,n);case 4:return ee(H,t,n);default:return ee(new RegExp(\"^\\\\d{1,\"+e+\"}\"),t,n)}}function ae(e,t,n){switch(e){case 1:return ee(W,t,n);case 2:return ee(V,t,n);case 3:return ee(Y,t,n);case 4:return ee(G,t,n);default:return ee(new RegExp(\"^-?\\\\d{1,\"+e+\"}\"),t,n)}}function ie(e){switch(e){case\"morning\":return 4;case\"evening\":return 17;case\"pm\":case\"noon\":case\"afternoon\":return 12;default:return 0}}function oe(e,t){var n,r=t>0,a=r?t:1-t;if(a<=50)n=e||100;else{var i=a+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}var le=[31,28,31,30,31,30,31,31,30,31,30,31],se=[31,29,31,30,31,30,31,31,30,31,30,31];function ue(e){return e%400==0||e%4==0&&e%100!=0}var ce={G:{priority:140,parse:function(e,t,n,r){switch(t){case\"G\":case\"GG\":case\"GGG\":return n.era(e,{width:\"abbreviated\"})||n.era(e,{width:\"narrow\"});case\"GGGGG\":return n.era(e,{width:\"narrow\"});default:return n.era(e,{width:\"wide\"})||n.era(e,{width:\"abbreviated\"})||n.era(e,{width:\"narrow\"})}},set:function(e,t,n,r){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"R\",\"u\",\"t\",\"T\"]},y:{priority:130,parse:function(e,t,n,r){var a=function(e){return{year:e,isTwoDigitYear:\"yy\"===t}};switch(t){case\"y\":return re(4,e,a);case\"yo\":return n.ordinalNumber(e,{unit:\"year\",valueCallback:a});default:return re(t.length,e,a)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var a=e.getUTCFullYear();if(n.isTwoDigitYear){var i=oe(n.year,a);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var o=\"era\"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"Y\",\"R\",\"u\",\"w\",\"I\",\"i\",\"e\",\"c\",\"t\",\"T\"]},Y:{priority:130,parse:function(e,t,n,r){var a=function(e){return{year:e,isTwoDigitYear:\"YY\"===t}};switch(t){case\"Y\":return re(4,e,a);case\"Yo\":return n.ordinalNumber(e,{unit:\"year\",valueCallback:a});default:return re(t.length,e,a)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,r){var a=(0,T.Z)(e,r);if(n.isTwoDigitYear){var i=oe(n.year,a);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,O.Z)(e,r)}var o=\"era\"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(o,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,O.Z)(e,r)},incompatibleTokens:[\"y\",\"R\",\"u\",\"Q\",\"q\",\"M\",\"L\",\"I\",\"d\",\"D\",\"i\",\"t\",\"T\"]},R:{priority:130,parse:function(e,t,n,r){return ae(\"R\"===t?4:t.length,e)},set:function(e,t,n,r){var a=new Date(0);return a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0),(0,C.Z)(a)},incompatibleTokens:[\"G\",\"y\",\"Y\",\"u\",\"Q\",\"q\",\"M\",\"L\",\"w\",\"d\",\"D\",\"e\",\"c\",\"t\",\"T\"]},u:{priority:130,parse:function(e,t,n,r){return ae(\"u\"===t?4:t.length,e)},set:function(e,t,n,r){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"G\",\"y\",\"Y\",\"R\",\"w\",\"I\",\"i\",\"e\",\"c\",\"t\",\"T\"]},Q:{priority:120,parse:function(e,t,n,r){switch(t){case\"Q\":case\"QQ\":return re(t.length,e);case\"Qo\":return n.ordinalNumber(e,{unit:\"quarter\"});case\"QQQ\":return n.quarter(e,{width:\"abbreviated\",context:\"formatting\"})||n.quarter(e,{width:\"narrow\",context:\"formatting\"});case\"QQQQQ\":return n.quarter(e,{width:\"narrow\",context:\"formatting\"});default:return n.quarter(e,{width:\"wide\",context:\"formatting\"})||n.quarter(e,{width:\"abbreviated\",context:\"formatting\"})||n.quarter(e,{width:\"narrow\",context:\"formatting\"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"Y\",\"R\",\"q\",\"M\",\"L\",\"w\",\"I\",\"d\",\"D\",\"i\",\"e\",\"c\",\"t\",\"T\"]},q:{priority:120,parse:function(e,t,n,r){switch(t){case\"q\":case\"qq\":return re(t.length,e);case\"qo\":return n.ordinalNumber(e,{unit:\"quarter\"});case\"qqq\":return n.quarter(e,{width:\"abbreviated\",context:\"standalone\"})||n.quarter(e,{width:\"narrow\",context:\"standalone\"});case\"qqqqq\":return n.quarter(e,{width:\"narrow\",context:\"standalone\"});default:return n.quarter(e,{width:\"wide\",context:\"standalone\"})||n.quarter(e,{width:\"abbreviated\",context:\"standalone\"})||n.quarter(e,{width:\"narrow\",context:\"standalone\"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,r){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"Y\",\"R\",\"Q\",\"M\",\"L\",\"w\",\"I\",\"d\",\"D\",\"i\",\"e\",\"c\",\"t\",\"T\"]},M:{priority:110,parse:function(e,t,n,r){var a=function(e){return e-1};switch(t){case\"M\":return ee(A,e,a);case\"MM\":return re(2,e,a);case\"Mo\":return n.ordinalNumber(e,{unit:\"month\",valueCallback:a});case\"MMM\":return n.month(e,{width:\"abbreviated\",context:\"formatting\"})||n.month(e,{width:\"narrow\",context:\"formatting\"});case\"MMMMM\":return n.month(e,{width:\"narrow\",context:\"formatting\"});default:return n.month(e,{width:\"wide\",context:\"formatting\"})||n.month(e,{width:\"abbreviated\",context:\"formatting\"})||n.month(e,{width:\"narrow\",context:\"formatting\"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"Y\",\"R\",\"q\",\"Q\",\"L\",\"w\",\"I\",\"D\",\"i\",\"e\",\"c\",\"t\",\"T\"]},L:{priority:110,parse:function(e,t,n,r){var a=function(e){return e-1};switch(t){case\"L\":return ee(A,e,a);case\"LL\":return re(2,e,a);case\"Lo\":return n.ordinalNumber(e,{unit:\"month\",valueCallback:a});case\"LLL\":return n.month(e,{width:\"abbreviated\",context:\"standalone\"})||n.month(e,{width:\"narrow\",context:\"standalone\"});case\"LLLLL\":return n.month(e,{width:\"narrow\",context:\"standalone\"});default:return n.month(e,{width:\"wide\",context:\"standalone\"})||n.month(e,{width:\"abbreviated\",context:\"standalone\"})||n.month(e,{width:\"narrow\",context:\"standalone\"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"Y\",\"R\",\"q\",\"Q\",\"M\",\"w\",\"I\",\"D\",\"i\",\"e\",\"c\",\"t\",\"T\"]},w:{priority:100,parse:function(e,t,n,r){switch(t){case\"w\":return ee(R,e);case\"wo\":return n.ordinalNumber(e,{unit:\"week\"});default:return re(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,o){return(0,O.Z)(function(e,t,n){(0,i.Z)(2,arguments);var o=(0,a.Z)(e),l=(0,r.Z)(t),s=(0,E.Z)(o,n)-l;return o.setUTCDate(o.getUTCDate()-7*s),o}(e,n,o),o)},incompatibleTokens:[\"y\",\"R\",\"u\",\"q\",\"Q\",\"M\",\"L\",\"I\",\"d\",\"D\",\"i\",\"t\",\"T\"]},I:{priority:100,parse:function(e,t,n,r){switch(t){case\"I\":return ee(R,e);case\"Io\":return n.ordinalNumber(e,{unit:\"week\"});default:return re(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,o){return(0,C.Z)(function(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),o=(0,r.Z)(t),l=(0,S.Z)(n)-o;return n.setUTCDate(n.getUTCDate()-7*l),n}(e,n,o),o)},incompatibleTokens:[\"y\",\"Y\",\"u\",\"q\",\"Q\",\"M\",\"L\",\"w\",\"d\",\"D\",\"e\",\"c\",\"t\",\"T\"]},d:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case\"d\":return ee(D,e);case\"do\":return n.ordinalNumber(e,{unit:\"date\"});default:return re(t.length,e)}},validate:function(e,t,n){var r=ue(e.getUTCFullYear()),a=e.getUTCMonth();return r?t>=1&&t<=se[a]:t>=1&&t<=le[a]},set:function(e,t,n,r){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"Y\",\"R\",\"q\",\"Q\",\"w\",\"I\",\"D\",\"i\",\"e\",\"c\",\"t\",\"T\"]},D:{priority:90,subPriority:1,parse:function(e,t,n,r){switch(t){case\"D\":case\"DD\":return ee(P,e);case\"Do\":return n.ordinalNumber(e,{unit:\"date\"});default:return re(t.length,e)}},validate:function(e,t,n){return ue(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,r){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"Y\",\"R\",\"q\",\"Q\",\"M\",\"L\",\"w\",\"I\",\"d\",\"E\",\"i\",\"e\",\"c\",\"t\",\"T\"]},E:{priority:90,parse:function(e,t,n,r){switch(t){case\"E\":case\"EE\":case\"EEE\":return n.day(e,{width:\"abbreviated\",context:\"formatting\"})||n.day(e,{width:\"short\",context:\"formatting\"})||n.day(e,{width:\"narrow\",context:\"formatting\"});case\"EEEEE\":return n.day(e,{width:\"narrow\",context:\"formatting\"});case\"EEEEEE\":return n.day(e,{width:\"short\",context:\"formatting\"})||n.day(e,{width:\"narrow\",context:\"formatting\"});default:return n.day(e,{width:\"wide\",context:\"formatting\"})||n.day(e,{width:\"abbreviated\",context:\"formatting\"})||n.day(e,{width:\"short\",context:\"formatting\"})||n.day(e,{width:\"narrow\",context:\"formatting\"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=M(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:[\"D\",\"i\",\"e\",\"c\",\"t\",\"T\"]},e:{priority:90,parse:function(e,t,n,r){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case\"e\":case\"ee\":return re(t.length,e,a);case\"eo\":return n.ordinalNumber(e,{unit:\"day\",valueCallback:a});case\"eee\":return n.day(e,{width:\"abbreviated\",context:\"formatting\"})||n.day(e,{width:\"short\",context:\"formatting\"})||n.day(e,{width:\"narrow\",context:\"formatting\"});case\"eeeee\":return n.day(e,{width:\"narrow\",context:\"formatting\"});case\"eeeeee\":return n.day(e,{width:\"short\",context:\"formatting\"})||n.day(e,{width:\"narrow\",context:\"formatting\"});default:return n.day(e,{width:\"wide\",context:\"formatting\"})||n.day(e,{width:\"abbreviated\",context:\"formatting\"})||n.day(e,{width:\"short\",context:\"formatting\"})||n.day(e,{width:\"narrow\",context:\"formatting\"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=M(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:[\"y\",\"R\",\"u\",\"q\",\"Q\",\"M\",\"L\",\"I\",\"d\",\"D\",\"E\",\"i\",\"c\",\"t\",\"T\"]},c:{priority:90,parse:function(e,t,n,r){var a=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case\"c\":case\"cc\":return re(t.length,e,a);case\"co\":return n.ordinalNumber(e,{unit:\"day\",valueCallback:a});case\"ccc\":return n.day(e,{width:\"abbreviated\",context:\"standalone\"})||n.day(e,{width:\"short\",context:\"standalone\"})||n.day(e,{width:\"narrow\",context:\"standalone\"});case\"ccccc\":return n.day(e,{width:\"narrow\",context:\"standalone\"});case\"cccccc\":return n.day(e,{width:\"short\",context:\"standalone\"})||n.day(e,{width:\"narrow\",context:\"standalone\"});default:return n.day(e,{width:\"wide\",context:\"standalone\"})||n.day(e,{width:\"abbreviated\",context:\"standalone\"})||n.day(e,{width:\"short\",context:\"standalone\"})||n.day(e,{width:\"narrow\",context:\"standalone\"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,r){return(e=M(e,n,r)).setUTCHours(0,0,0,0),e},incompatibleTokens:[\"y\",\"R\",\"u\",\"q\",\"Q\",\"M\",\"L\",\"I\",\"d\",\"D\",\"E\",\"i\",\"e\",\"t\",\"T\"]},i:{priority:90,parse:function(e,t,n,r){var a=function(e){return 0===e?7:e};switch(t){case\"i\":case\"ii\":return re(t.length,e);case\"io\":return n.ordinalNumber(e,{unit:\"day\"});case\"iii\":return n.day(e,{width:\"abbreviated\",context:\"formatting\",valueCallback:a})||n.day(e,{width:\"short\",context:\"formatting\",valueCallback:a})||n.day(e,{width:\"narrow\",context:\"formatting\",valueCallback:a});case\"iiiii\":return n.day(e,{width:\"narrow\",context:\"formatting\",valueCallback:a});case\"iiiiii\":return n.day(e,{width:\"short\",context:\"formatting\",valueCallback:a})||n.day(e,{width:\"narrow\",context:\"formatting\",valueCallback:a});default:return n.day(e,{width:\"wide\",context:\"formatting\",valueCallback:a})||n.day(e,{width:\"abbreviated\",context:\"formatting\",valueCallback:a})||n.day(e,{width:\"short\",context:\"formatting\",valueCallback:a})||n.day(e,{width:\"narrow\",context:\"formatting\",valueCallback:a})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,o){return e=function(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);n%7==0&&(n-=7);var o=1,l=(0,a.Z)(e),s=l.getUTCDay(),u=((n%7+7)%7<o?7:0)+n-s;return l.setUTCDate(l.getUTCDate()+u),l}(e,n,o),e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"y\",\"Y\",\"u\",\"q\",\"Q\",\"M\",\"L\",\"w\",\"d\",\"D\",\"E\",\"e\",\"c\",\"t\",\"T\"]},a:{priority:80,parse:function(e,t,n,r){switch(t){case\"a\":case\"aa\":case\"aaa\":return n.dayPeriod(e,{width:\"abbreviated\",context:\"formatting\"})||n.dayPeriod(e,{width:\"narrow\",context:\"formatting\"});case\"aaaaa\":return n.dayPeriod(e,{width:\"narrow\",context:\"formatting\"});default:return n.dayPeriod(e,{width:\"wide\",context:\"formatting\"})||n.dayPeriod(e,{width:\"abbreviated\",context:\"formatting\"})||n.dayPeriod(e,{width:\"narrow\",context:\"formatting\"})}},set:function(e,t,n,r){return e.setUTCHours(ie(n),0,0,0),e},incompatibleTokens:[\"b\",\"B\",\"H\",\"k\",\"t\",\"T\"]},b:{priority:80,parse:function(e,t,n,r){switch(t){case\"b\":case\"bb\":case\"bbb\":return n.dayPeriod(e,{width:\"abbreviated\",context:\"formatting\"})||n.dayPeriod(e,{width:\"narrow\",context:\"formatting\"});case\"bbbbb\":return n.dayPeriod(e,{width:\"narrow\",context:\"formatting\"});default:return n.dayPeriod(e,{width:\"wide\",context:\"formatting\"})||n.dayPeriod(e,{width:\"abbreviated\",context:\"formatting\"})||n.dayPeriod(e,{width:\"narrow\",context:\"formatting\"})}},set:function(e,t,n,r){return e.setUTCHours(ie(n),0,0,0),e},incompatibleTokens:[\"a\",\"B\",\"H\",\"k\",\"t\",\"T\"]},B:{priority:80,parse:function(e,t,n,r){switch(t){case\"B\":case\"BB\":case\"BBB\":return n.dayPeriod(e,{width:\"abbreviated\",context:\"formatting\"})||n.dayPeriod(e,{width:\"narrow\",context:\"formatting\"});case\"BBBBB\":return n.dayPeriod(e,{width:\"narrow\",context:\"formatting\"});default:return n.dayPeriod(e,{width:\"wide\",context:\"formatting\"})||n.dayPeriod(e,{width:\"abbreviated\",context:\"formatting\"})||n.dayPeriod(e,{width:\"narrow\",context:\"formatting\"})}},set:function(e,t,n,r){return e.setUTCHours(ie(n),0,0,0),e},incompatibleTokens:[\"a\",\"b\",\"t\",\"T\"]},h:{priority:70,parse:function(e,t,n,r){switch(t){case\"h\":return ee(N,e);case\"ho\":return n.ordinalNumber(e,{unit:\"hour\"});default:return re(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=12},set:function(e,t,n,r){var a=e.getUTCHours()>=12;return a&&n<12?e.setUTCHours(n+12,0,0,0):a||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:[\"H\",\"K\",\"k\",\"t\",\"T\"]},H:{priority:70,parse:function(e,t,n,r){switch(t){case\"H\":return ee(L,e);case\"Ho\":return n.ordinalNumber(e,{unit:\"hour\"});default:return re(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,r){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:[\"a\",\"b\",\"h\",\"K\",\"k\",\"t\",\"T\"]},K:{priority:70,parse:function(e,t,n,r){switch(t){case\"K\":return ee(j,e);case\"Ko\":return n.ordinalNumber(e,{unit:\"hour\"});default:return re(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,r){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:[\"h\",\"H\",\"k\",\"t\",\"T\"]},k:{priority:70,parse:function(e,t,n,r){switch(t){case\"k\":return ee(I,e);case\"ko\":return n.ordinalNumber(e,{unit:\"hour\"});default:return re(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,r){var a=n<=24?n%24:n;return e.setUTCHours(a,0,0,0),e},incompatibleTokens:[\"a\",\"b\",\"h\",\"H\",\"K\",\"t\",\"T\"]},m:{priority:60,parse:function(e,t,n,r){switch(t){case\"m\":return ee(z,e);case\"mo\":return n.ordinalNumber(e,{unit:\"minute\"});default:return re(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:[\"t\",\"T\"]},s:{priority:50,parse:function(e,t,n,r){switch(t){case\"s\":return ee(F,e);case\"so\":return n.ordinalNumber(e,{unit:\"second\"});default:return re(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,r){return e.setUTCSeconds(n,0),e},incompatibleTokens:[\"t\",\"T\"]},S:{priority:30,parse:function(e,t,n,r){return re(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,r){return e.setUTCMilliseconds(n),e},incompatibleTokens:[\"t\",\"T\"]},X:{priority:10,parse:function(e,t,n,r){switch(t){case\"X\":return te($,e);case\"XX\":return te(X,e);case\"XXXX\":return te(K,e);case\"XXXXX\":return te(Q,e);default:return te(J,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:[\"t\",\"T\",\"x\"]},x:{priority:10,parse:function(e,t,n,r){switch(t){case\"x\":return te($,e);case\"xx\":return te(X,e);case\"xxxx\":return te(K,e);case\"xxxxx\":return te(Q,e);default:return te(J,e)}},set:function(e,t,n,r){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:[\"t\",\"T\",\"X\"]},t:{priority:40,parse:function(e,t,n,r){return ne(e)},set:function(e,t,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:\"*\"},T:{priority:20,parse:function(e,t,n,r){return ne(e)},set:function(e,t,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:\"*\"}},fe=ce,de=/[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g,pe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,he=/^'([^]*?)'?$/,me=/''/g,ge=/\\S/,ye=/[a-zA-Z]/;function ve(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}function be(e){return e.match(he)[1].replace(me,\"'\")}function xe(e){(0,i.Z)(1,arguments);var t=(0,a.Z)(e),n=t.getFullYear(),r=t.getMonth(),o=new Date(0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function we(e){(0,i.Z)(1,arguments);var t=(0,a.Z)(e);return t.setDate(1),t.setHours(0,0,0,0),t}function _e(e){(0,i.Z)(1,arguments);var t=(0,a.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function ke(e,t){(0,i.Z)(1,arguments);var n=t||{},o=n.locale,l=o&&o.options&&o.options.weekStartsOn,s=null==l?0:(0,r.Z)(l),u=null==n.weekStartsOn?s:(0,r.Z)(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError(\"weekStartsOn must be between 0 and 6 inclusively\");var c=(0,a.Z)(e),f=c.getDay(),d=(f<u?7:0)+f-u;return c.setDate(c.getDate()-d),c.setHours(0,0,0,0),c}function Te(e){(0,i.Z)(1,arguments);var t=(0,a.Z)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}var Me=function(){function e(e){var t=(void 0===e?{}:e).locale;this.yearFormat=\"yyyy\",this.yearMonthFormat=\"MMMM yyyy\",this.dateTime12hFormat=\"MMMM do hh:mm aaaa\",this.dateTime24hFormat=\"MMMM do HH:mm\",this.time12hFormat=\"hh:mm a\",this.time24hFormat=\"HH:mm\",this.dateFormat=\"MMMM do\",this.locale=t}return e.prototype.addDays=function(e,t){return o(e,t)},e.prototype.isValid=function(e){return(0,y.Z)(this.date(e))},e.prototype.getDiff=function(e,t){return function(e,t){return(0,i.Z)(2,arguments),(0,a.Z)(e).getTime()-(0,a.Z)(t).getTime()}(e,this.date(t))},e.prototype.isAfter=function(e,t){return p(e,t)},e.prototype.isBefore=function(e,t){return h(e,t)},e.prototype.startOfDay=function(e){return m(e)},e.prototype.endOfDay=function(e){return u(e)},e.prototype.getHours=function(e){return function(e){return(0,i.Z)(1,arguments),(0,a.Z)(e).getHours()}(e)},e.prototype.setHours=function(e,t){return function(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),o=(0,r.Z)(t);return n.setHours(o),n}(e,t)},e.prototype.setMinutes=function(e,t){return function(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),o=(0,r.Z)(t);return n.setMinutes(o),n}(e,t)},e.prototype.getSeconds=function(e){return function(e){return(0,i.Z)(1,arguments),(0,a.Z)(e).getSeconds()}(e)},e.prototype.setSeconds=function(e,t){return function(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),o=(0,r.Z)(t);return n.setSeconds(o),n}(e,t)},e.prototype.isSameDay=function(e,t){return function(e,t){(0,i.Z)(2,arguments);var n=m(e),r=m(t);return n.getTime()===r.getTime()}(e,t)},e.prototype.isSameMonth=function(e,t){return function(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),r=(0,a.Z)(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}(e,t)},e.prototype.isSameYear=function(e,t){return function(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),r=(0,a.Z)(t);return n.getFullYear()===r.getFullYear()}(e,t)},e.prototype.isSameHour=function(e,t){return function(e,t){(0,i.Z)(2,arguments);var n=g(e),r=g(t);return n.getTime()===r.getTime()}(e,t)},e.prototype.startOfMonth=function(e){return we(e)},e.prototype.endOfMonth=function(e){return _e(e)},e.prototype.getYear=function(e){return function(e){return(0,i.Z)(1,arguments),(0,a.Z)(e).getFullYear()}(e)},e.prototype.setYear=function(e,t){return function(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),o=(0,r.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(o),n)}(e,t)},e.prototype.date=function(e){return void 0===e?new Date:null===e?null:new Date(e)},e.prototype.parse=function(e,t){return\"\"===e?null:function(e,t,n,o){(0,i.Z)(3,arguments);var l=String(e),s=String(t),u=o||{},c=u.locale||v.Z;if(!c.match)throw new RangeError(\"locale must contain match property\");var f=c.options&&c.options.firstWeekContainsDate,d=null==f?1:(0,r.Z)(f),p=null==u.firstWeekContainsDate?d:(0,r.Z)(u.firstWeekContainsDate);if(!(p>=1&&p<=7))throw new RangeError(\"firstWeekContainsDate must be between 1 and 7 inclusively\");var h=c.options&&c.options.weekStartsOn,m=null==h?0:(0,r.Z)(h),g=null==u.weekStartsOn?m:(0,r.Z)(u.weekStartsOn);if(!(g>=0&&g<=6))throw new RangeError(\"weekStartsOn must be between 0 and 6 inclusively\");if(\"\"===s)return\"\"===l?(0,a.Z)(n):new Date(NaN);var y,T={firstWeekContainsDate:p,weekStartsOn:g,locale:c},M=[{priority:10,subPriority:-1,set:ve,index:0}],S=s.match(pe).map((function(e){var t=e[0];return\"p\"===t||\"P\"===t?(0,w.Z[t])(e,c.formatLong,T):e})).join(\"\").match(de),E=[];for(y=0;y<S.length;y++){var C=S[y];!u.useAdditionalWeekYearTokens&&(0,k.Do)(C)&&(0,k.qp)(C,s,e),!u.useAdditionalDayOfYearTokens&&(0,k.Iu)(C)&&(0,k.qp)(C,s,e);var O=C[0],A=fe[O];if(A){var D=A.incompatibleTokens;if(Array.isArray(D)){for(var P=void 0,R=0;R<E.length;R++){var L=E[R].token;if(-1!==D.indexOf(L)||L===O){P=E[R];break}}if(P)throw new RangeError(\"The format string mustn't contain `\".concat(P.fullToken,\"` and `\").concat(C,\"` at the same time\"))}else if(\"*\"===A.incompatibleTokens&&E.length)throw new RangeError(\"The format string mustn't contain `\".concat(C,\"` and any other token at the same time\"));E.push({token:O,fullToken:C});var I=A.parse(l,C,c.match,T);if(!I)return new Date(NaN);M.push({priority:A.priority,subPriority:A.subPriority||0,set:A.set,validate:A.validate,value:I.value,index:M.length}),l=I.rest}else{if(O.match(ye))throw new RangeError(\"Format string contains an unescaped latin alphabet character `\"+O+\"`\");if(\"''\"===C?C=\"'\":\"'\"===O&&(C=be(C)),0!==l.indexOf(C))return new Date(NaN);l=l.slice(C.length)}}if(l.length>0&&ge.test(l))return new Date(NaN);var j=M.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return M.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),N=(0,a.Z)(n);if(isNaN(N))return new Date(NaN);var z=(0,b.Z)(N,(0,_.Z)(N)),F={};for(y=0;y<j.length;y++){var Z=j[y];if(Z.validate&&!Z.validate(z,Z.value,T))return new Date(NaN);var B=Z.set(z,F,Z.value,T);B[0]?(z=B[0],x(F,B[1])):z=B}return z}(e,t,new Date,{locale:this.locale})},e.prototype.format=function(e,t){return(0,d.default)(e,t,{locale:this.locale})},e.prototype.isEqual=function(e,t){return null===e&&null===t||function(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),r=(0,a.Z)(t);return n.getTime()===r.getTime()}(e,t)},e.prototype.isNull=function(e){return null===e},e.prototype.isAfterDay=function(e,t){return p(e,u(t))},e.prototype.isBeforeDay=function(e,t){return h(e,m(t))},e.prototype.isBeforeYear=function(e,t){return h(e,Te(t))},e.prototype.isAfterYear=function(e,t){return p(e,f(t))},e.prototype.formatNumber=function(e){return e},e.prototype.getMinutes=function(e){return e.getMinutes()},e.prototype.getMonth=function(e){return e.getMonth()},e.prototype.setMonth=function(e,t){return function(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e),o=(0,r.Z)(t),l=n.getFullYear(),s=n.getDate(),u=new Date(0);u.setFullYear(l,o,15),u.setHours(0,0,0,0);var c=xe(u);return n.setMonth(o,Math.min(s,c)),n}(e,t)},e.prototype.getMeridiemText=function(e){return\"am\"===e?\"AM\":\"PM\"},e.prototype.getNextMonth=function(e){return l(e,1)},e.prototype.getPreviousMonth=function(e){return l(e,-1)},e.prototype.getMonthArray=function(e){for(var t=[Te(e)];t.length<12;){var n=t[t.length-1];t.push(this.getNextMonth(n))}return t},e.prototype.mergeDateAndTime=function(e,t){return this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t))},e.prototype.getWeekdays=function(){var e=this,t=new Date;return function(e,t){(0,i.Z)(1,arguments);var n=e||{},r=(0,a.Z)(n.start),o=(0,a.Z)(n.end).getTime();if(!(r.getTime()<=o))throw new RangeError(\"Invalid interval\");var l=[],s=r;s.setHours(0,0,0,0);var u=t&&\"step\"in t?Number(t.step):1;if(u<1||isNaN(u))throw new RangeError(\"`options.step` must be a number greater than 1\");for(;s.getTime()<=o;)l.push((0,a.Z)(s)),s.setDate(s.getDate()+u),s.setHours(0,0,0,0);return l}({start:ke(t,{locale:this.locale}),end:c(t,{locale:this.locale})}).map((function(t){return e.format(t,\"EEEEEE\")}))},e.prototype.getWeekArray=function(e){for(var t=ke(we(e),{locale:this.locale}),n=c(_e(e),{locale:this.locale}),r=0,a=t,i=[];h(a,n);){var l=Math.floor(r/7);i[l]=i[l]||[],i[l].push(a),a=o(a,1),r+=1}return i},e.prototype.getYearRange=function(e,t){for(var n=Te(e),r=f(t),a=[],i=n;h(i,r);)a.push(i),i=s(i,1);return a},e.prototype.getCalendarHeaderText=function(e){return this.format(e,this.yearMonthFormat)},e.prototype.getYearText=function(e){return this.format(e,\"yyyy\")},e.prototype.getDatePickerHeaderText=function(e){return this.format(e,\"EEE, MMM d\")},e.prototype.getDateTimePickerHeaderText=function(e){return this.format(e,\"MMM d\")},e.prototype.getMonthText=function(e){return this.format(e,\"MMMM\")},e.prototype.getDayText=function(e){return this.format(e,\"d\")},e.prototype.getHourText=function(e,t){return this.format(e,t?\"hh\":\"HH\")},e.prototype.getMinuteText=function(e){return this.format(e,\"mm\")},e.prototype.getSecondText=function(e){return this.format(e,\"ss\")},e}(),Se=Me},75309:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(7613)),i=r(n(40521)),o=r(n(71282)),l=r(n(67294));function s(e){var t=e.forwardedRef,n=(0,o.default)(e,[\"forwardedRef\"]);return l.default.createElement(a.default,(0,i.default)({elevation:2},n,{ref:t}))}var u=l.default.forwardRef((function(e,t){return l.default.createElement(s,(0,i.default)({},e,{forwardedRef:t}))}));t.default=u},22376:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(45696)),o=r(n(53681)),l=r(n(67294)),s=r(n(45697)),u=r(n(19152)),c=r(n(1890)),f=r(n(96544));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e){return function(){var t=e.action;if(\"function\"==typeof t&&!(t=t(e.data)))return null;if(t.action&&!(t=t.action(e.data)))return null;if(t.hidden)return null;var n=t.disabled||e.disabled,r=t.handlers||{},i=Object.entries(r).reduce((function(t,n){var r=(0,o.default)(n,2),a=r[0],i=r[1];return t[a]=function(t){return i(t,e.data)},t}),{}),s=\"string\"==typeof t.icon?l.default.createElement(u.default,t.iconProps,t.icon):\"function\"==typeof t.icon?t.icon(p(p({},t.iconProps),{},{disabled:n})):l.default.createElement(t.icon,null),d=l.default.createElement(c.default,(0,a.default)({ref:e.forwardedRef,size:e.size,color:\"inherit\",disabled:n,onClick:function(n){t.onClick&&(t.onClick(n,e.data),n.stopPropagation())}},i),s);return t.tooltip?n?l.default.createElement(f.default,{title:t.tooltip},l.default.createElement(\"span\",null,d)):l.default.createElement(f.default,{title:t.tooltip},d):d}()}h.defaultProps={action:{},data:{}},h.propTypes={action:s.default.oneOfType([s.default.func,s.default.object]).isRequired,data:s.default.oneOfType([s.default.object,s.default.arrayOf(s.default.object)]),disabled:s.default.bool,size:s.default.string};var m=l.default.forwardRef((function(e,t){return l.default.createElement(h,(0,a.default)({},e,{forwardedRef:t}))}));t.default=m},70841:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(67294)),o=r(n(45697));function l(e){var t=e.actions,n=e.components,r=e.data,a=e.size,o=e.disabled,l=e.forwardedRef;return t?i.default.createElement(\"div\",{style:{display:\"flex\"},ref:l},t.map((function(e,t){return i.default.createElement(n.Action,{action:e,key:\"action-\"+t,data:r,size:a,disabled:o})}))):null}l.defaultProps={actions:[],data:{}},l.propTypes={components:o.default.object.isRequired,actions:o.default.array.isRequired,data:o.default.oneOfType([o.default.object,o.default.arrayOf(o.default.object)]),disabled:o.default.bool,size:o.default.string,forwardedRef:o.default.element};var s=i.default.forwardRef((function(e,t){return i.default.createElement(l,(0,a.default)({},e,{forwardedRef:t}))}));t.default=s},35963:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=_;var i=a(n(66490)),o=a(n(69262)),l=a(n(96544)),s=a(n(1890)),u=a(n(49559)),c=a(n(40521)),f=a(n(91281)),d=a(n(45696)),p=a(n(71282)),h=a(n(67294)),m=a(n(45697)),g=n(41073),y=r(n(5061)),v=n(21060),b=n(68451);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){(0,d.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e){e.icons;var t=e.data,n=(e.columns,e.components,e.detailPanel),r=(e.getFieldValue,e.isTreeData,e.onRowSelected,e.onTreeExpandChanged,e.onToggleDetailPanel),a=e.onEditingCanceled,d=e.onEditingApproved,m=(e.options,e.hasAnyEditingRow),x=e.treeDataMaxLevel,_=e.path,k=(e.localization,e.actions,e.errorState,e.cellEditable),T=e.onCellEditStarted,M=e.onCellEditFinished,S=e.persistEvents,E=(e.scrollWidth,e.onRowClick),C=e.onRowDoubleClick,O=(0,p.default)(e,[\"icons\",\"data\",\"columns\",\"components\",\"detailPanel\",\"getFieldValue\",\"isTreeData\",\"onRowSelected\",\"onTreeExpandChanged\",\"onToggleDetailPanel\",\"onEditingCanceled\",\"onEditingApproved\",\"options\",\"hasAnyEditingRow\",\"treeDataMaxLevel\",\"path\",\"localization\",\"actions\",\"errorState\",\"cellEditable\",\"onCellEditStarted\",\"onCellEditFinished\",\"persistEvents\",\"scrollWidth\",\"onRowClick\",\"onRowDoubleClick\"]),A=function(e,a){return a(e,t,(function(e){var a=n;Array.isArray(a)&&(\"function\"==typeof(a=a[e||0])&&(a=a(t)),a=a.render),r(_,a)}))},D=(0,v.useDoubleClick)(E?function(e){return A(e,E)}:void 0,C?function(e){return A(e,C)}:void 0),P=function(t){var n=y.elementSize(e),r=t.length*y.baseIconSize(e);return h.default.createElement(f.default,{size:n,padding:\"none\",key:\"key-actions-column\",style:w({width:r,padding:\"0px 5px\",boxSizing:\"border-box\"},e.options.actionsCellStyle)},h.default.createElement(e.components.Actions,{data:e.data,actions:t,components:e.components,size:n,disabled:e.hasAnyEditingRow}))},R=function(e){return{transform:e?\"rotate(90deg)\":\"none\"}},L=function(){if(!e.options.showDetailPanelIcon)return null;var t=y.elementSize(e);return\"function\"==typeof e.detailPanel?h.default.createElement(f.default,{size:t,padding:\"none\",key:\"key-detail-panel-column\",style:w({width:42,textAlign:\"center\"},e.options.detailPanelColumnStyle)},h.default.createElement(s.default,{\"aria-label\":\"Detail panel visibility toggle\",size:t,style:w({transition:\"all ease 200ms\"},R(e.data.tableData.showDetailPanel)),onClick:function(t){e.onToggleDetailPanel(e.path,e.detailPanel),t.stopPropagation()}},h.default.createElement(e.icons.DetailPanel,null))):h.default.createElement(f.default,{size:t,padding:\"none\",key:\"key-detail-panel-column\"},h.default.createElement(\"div\",{style:w({width:42*e.detailPanel.length,textAlign:\"center\",display:\"flex\"},e.options.detailPanelColumnStyle)},e.detailPanel.map((function(n,r){\"function\"==typeof n&&(n=n(e.data));var a=(e.data.tableData.showDetailPanel||\"\").toString()===n.render.toString(),i=h.default.createElement(e.icons.DetailPanel,null),o=!0;return a?n.openIcon?(i=h.default.createElement(b.MTableCustomIcon,{icon:n.openIcon,iconProps:n.iconProps}),o=!1):n.icon&&(i=h.default.createElement(b.MTableCustomIcon,{icon:n.icon,iconProps:n.iconProps})):n.icon&&(i=h.default.createElement(b.MTableCustomIcon,{icon:n.icon,iconProps:n.iconProps}),o=!1),i=h.default.createElement(s.default,{\"aria-label\":\"Detail panel visibility toggle\",size:t,key:\"key-detail-panel-\"+r,style:w({transition:\"all ease 200ms\"},R(o&&a)),disabled:n.disabled,onClick:function(t){e.onToggleDetailPanel(e.path,n.render),t.stopPropagation()}},i),n.tooltip&&(i=h.default.createElement(l.default,{key:\"key-detail-panel-\"+r,title:n.tooltip},i)),i}))))},I=y.elementSize(e),j=function(){var t=y.elementSize(e);return e.columns.filter((function(e){return!(e.hidden||e.tableData.groupOrder>-1)})).sort((function(e,t){return e.tableData.columnOrder-t.tableData.columnOrder})).map((function(n,r){var a=e.getFieldValue(e.data,n);if(e.data.tableData.editCellList&&e.data.tableData.editCellList.find((function(e){return e.tableData.id===n.tableData.id})))return h.default.createElement(e.components.EditCell,{getFieldValue:e.getFieldValue,components:e.components,icons:e.icons,localization:e.localization,columnDef:n,size:t,key:\"cell-\"+e.data.tableData.id+\"-\"+n.tableData.id,rowData:e.data,cellEditable:e.cellEditable,onCellEditFinished:e.onCellEditFinished,scrollWidth:e.scrollWidth});var i=\"never\"!==n.editable&&!!e.cellEditable;i&&e.cellEditable.isCellEditable&&(i=e.cellEditable.isCellEditable(e.data,n));var o=\"cell-\".concat(e.data.tableData.id,\"-\").concat(n.tableData.id);return h.default.createElement(e.components.Cell,{size:t,errorState:e.errorState,icons:e.icons,columnDef:w({cellStyle:e.options.cellStyle},n),value:a,key:o,rowData:e.data,cellEditable:i,onCellEditStarted:e.onCellEditStarted,scrollWidth:e.scrollWidth})}))}();e.options.selection&&j.splice(0,0,function(){var t=e.options.selectionProps||{};\"function\"==typeof t&&(t=t(e.data));var n=y.elementSize(e),r=y.selectionMaxWidth(e,e.treeDataMaxLevel)||0,a=\"medium\"===n?{marginLeft:9*e.level||0}:{padding:\"4px\",marginLeft:5+9*e.level||0};return h.default.createElement(f.default,{size:n,padding:\"none\",key:\"key-selection-column\",style:{width:r}},h.default.createElement(u.default,(0,c.default)({size:n,checked:!0===e.data.tableData.checked,onClick:function(e){return e.stopPropagation()},value:e.data.tableData.id.toString(),onChange:function(t){e.onRowSelected(t,e.path,e.data)},style:a},t)))}());var N,z,F,Z=y.rowActions(e);if(Z.length>0)if(-1===e.options.actionsColumnIndex)j.push(P(Z));else if(e.options.actionsColumnIndex>=0){var B=0;e.options.selection&&(B=1),j.splice(e.options.actionsColumnIndex+B,0,P(Z))}return e.detailPanel&&(\"right\"===e.options.detailPanelColumnAlignment?j.push(L()):j.splice(0,0,L())),e.isTreeData&&j.splice(0,0,function(){var t=y.elementSize(e);return e.data.tableData.childRows&&e.data.tableData.childRows.length>0?h.default.createElement(f.default,{size:t,padding:\"none\",key:\"key-tree-data-column\",style:{width:48+9*(e.treeDataMaxLevel-2)}},h.default.createElement(s.default,{\"aria-label\":\"Detail panel visibility toggle\",size:t,style:w({transition:\"all ease 200ms\",marginLeft:9*e.level},R(e.data.tableData.isTreeExpanded)),onClick:function(t){e.onTreeExpandChanged(e.path,e.data),t.stopPropagation()}},h.default.createElement(e.icons.DetailPanel,null))):h.default.createElement(f.default,{padding:\"none\",key:\"key-tree-data-column\"})}()),e.columns.filter((function(e){return e.tableData.groupOrder>-1})).forEach((function(e){j.splice(0,0,h.default.createElement(f.default,{size:I,padding:\"none\",key:\"key-group-cell\"+e.tableData.id}))})),h.default.createElement(h.default.Fragment,null,h.default.createElement(o.default,(0,c.default)({selected:m},O,{onClick:function(e){S&&e.persist(),D(e)},hover:!(!E&&!C),style:(N=e.index,z=e.level,F={},\"function\"==typeof e.options.rowStyle?F=w(w({},F),e.options.rowStyle(e.data,N,z,e.hasAnyEditingRow)):e.options.rowStyle&&(F=w(w({},F),e.options.rowStyle)),(E||C)&&(F.cursor=\"pointer\"),e.hasAnyEditingRow&&(F.opacity=F.opacity?F.opacity:.2),F)}),j),h.default.createElement(g.MTableDetailPanel,{options:e.options,data:e.data,detailPanel:e.detailPanel,renderColumns:j,size:I}),e.data.tableData.childRows&&e.data.tableData.isTreeExpanded&&e.data.tableData.childRows.map((function(t,n){return t.tableData.editing?h.default.createElement(e.components.EditRow,{columns:e.columns.filter((function(e){return!e.hidden})),components:e.components,data:t,icons:e.icons,localization:e.localization,getFieldValue:e.getFieldValue,key:n,mode:t.tableData.editing,options:e.options,isTreeData:e.isTreeData,detailPanel:e.detailPanel,onEditingCanceled:a,onEditingApproved:d,errorState:e.errorState}):h.default.createElement(e.components.Row,(0,c.default)({},e,{data:t,index:n,key:n,level:e.level+1,path:[].concat((0,i.default)(e.path),[t.tableData.uuid]),onEditingCanceled:a,onEditingApproved:d,hasAnyEditingRow:e.hasAnyEditingRow,treeDataMaxLevel:x,errorState:e.errorState,cellEditable:k,onCellEditStarted:T,onCellEditFinished:M}))})))}_.defaultProps={actions:[],index:0,data:{},options:{},path:[],persistEvents:!1},_.propTypes={actions:m.default.array,icons:m.default.any.isRequired,index:m.default.number.isRequired,data:m.default.object.isRequired,detailPanel:m.default.oneOfType([m.default.func,m.default.arrayOf(m.default.oneOfType([m.default.object,m.default.func]))]),hasAnyEditingRow:m.default.bool,options:m.default.object.isRequired,onRowSelected:m.default.func,path:m.default.arrayOf(m.default.oneOfType([m.default.string,m.default.number])),persistEvents:m.default.bool,treeDataMaxLevel:m.default.number,getFieldValue:m.default.func.isRequired,columns:m.default.array,onToggleDetailPanel:m.default.func.isRequired,onRowClick:m.default.func,onRowDoubleClick:m.default.func,onEditingApproved:m.default.func,onEditingCanceled:m.default.func,errorState:m.default.oneOfType([m.default.object,m.default.bool])}},27205:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.getEmptyValue=l,t.getCurrencyValue=s,t.getRenderValue=function(e){var t=e.columnDef.dateSetting&&e.columnDef.dateSetting.locale?e.columnDef.dateSetting.locale:void 0;if(void 0!==e.columnDef.emptyValue&&(void 0===e.value||null===e.value))return l(e.columnDef.emptyValue,e);if(e.columnDef.render){if(e.rowData)return e.columnDef.render(e.rowData,\"row\");if(e.value)return e.columnDef.render(e.value,\"group\")}else{if(\"boolean\"===e.columnDef.type){var n={textAlign:\"left\",verticalAlign:\"middle\",width:48};return e.value?a.default.createElement(e.icons.Check,{style:n}):a.default.createElement(e.icons.ThirdStateCheck,{style:n})}if(\"date\"===e.columnDef.type)return e.value instanceof Date?e.value.toLocaleDateString(t):o.exec(e.value)?(0,i.default)(e.value).toLocaleDateString(t):e.value;if(\"time\"===e.columnDef.type)return e.value instanceof Date?e.value.toLocaleTimeString():o.exec(e.value)?(0,i.default)(e.value).toLocaleTimeString(t):e.value;if(\"datetime\"===e.columnDef.type)return e.value instanceof Date?e.value.toLocaleString():o.exec(e.value)?(0,i.default)(e.value).toLocaleString(t):e.value;if(\"currency\"===e.columnDef.type)return s(e.columnDef.currencySetting,e.value);if(\"boolean\"==typeof e.value)return e.value.toString()}return e.value},t.isoDateRegex=void 0;var a=r(n(67294)),i=r(n(12902)),o=/^\\d{4}-(0[1-9]|1[0-2])-([12]\\d|0[1-9]|3[01])([T\\s](([01]\\d|2[0-3])\\:[0-5]\\d|24\\:00)(\\:[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3])\\:?([0-5]\\d)?)?)?$/;function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return\"function\"==typeof e?t.columnDef.emptyValue(t.rowData):e}function s(e,t){return void 0!==e?new Intl.NumberFormat(void 0!==e.locale?e.locale:\"en-US\",{style:\"currency\",currency:void 0!==e.currencyCode?e.currencyCode:\"USD\",minimumFractionDigits:void 0!==e.minimumFractionDigits?e.minimumFractionDigits:2,maximumFractionDigits:void 0!==e.maximumFractionDigits?e.maximumFractionDigits:2}).format(void 0!==t?t:0):new Intl.NumberFormat(\"en-US\",{style:\"currency\",currency:\"USD\"}).format(void 0!==t?t:0)}t.isoDateRegex=o},37345:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(71282)),o=r(n(67294)),l=r(n(91281)),s=r(n(45697)),u=n(27205),c=n(1150);function f(e){var t=e.forwardedRef,n=(e.scrollWidth,e.rowData),r=e.onCellEditStarted,s=e.cellEditable,f=e.columnDef,d=(e.errorState,(0,i.default)(e,[\"forwardedRef\",\"scrollWidth\",\"rowData\",\"onCellEditStarted\",\"cellEditable\",\"columnDef\",\"errorState\"])),p=void 0!==f.align?f.align:-1!==[\"numeric\",\"currency\"].indexOf(f.type)?\"right\":\"left\",h=(0,u.getRenderValue)(e);return s&&(h=o.default.createElement(\"div\",{style:{borderBottom:\"1px dashed grey\",cursor:\"pointer\",marginLeft:\"right\"===p?\"auto\":void 0,width:\"max-content\"},onClick:function(e){e.stopPropagation(),r(n,f)}},h)),o.default.createElement(l.default,(0,a.default)({},d,{size:e.size,value:e.value,style:(0,c.getStyle)(e),align:p,onClick:function(t){e.columnDef.disableClick&&t.stopPropagation()},ref:t,colSpan:e.colSpan}),e.children,h)}f.defaultProps={columnDef:{},value:void 0},f.propTypes={columnDef:s.default.object.isRequired,value:s.default.any,rowData:s.default.object,errorState:s.default.oneOfType([s.default.object,s.default.bool]),forwardedRef:s.default.oneOfType([s.default.func,s.default.object]),size:s.default.string,colSpan:s.default.number,children:s.default.element,cellEditable:s.default.bool,onCellEditStarted:s.default.func};var d=o.default.forwardRef((function(e,t){return o.default.createElement(f,(0,a.default)({},e,{forwardedRef:t}))}));t.default=d},57034:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=u;var a=r(n(45696)),i=r(n(19152)),o=r(n(67294)),l=r(n(45697));function s(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 u(e){var t=e.icon,n=e.iconProps;if(t)return\"string\"==typeof t?o.default.createElement(i.default,n,t):o.default.createElement(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n))}u.defaultProps={iconProps:{}},u.propTypes={icon:l.default.oneOfType([l.default.element,l.default.elementType]).isRequired,iconProps:l.default.object}},31644:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(40521)),o=a(n(71282)),l=a(n(45696)),s=a(n(53681)),u=r(n(67294)),c=a(n(91281)),f=a(n(69262)),d=a(n(80400)),p=a(n(45697)),h=n(1150),m=r(n(5061)),g=n(17425);function y(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e){var t=(0,u.useState)((function(){var t=e.data?JSON.parse(JSON.stringify(e.data)):e.columns.filter((function(e){return\"initialEditValue\"in e&&e.field})).reduce((function(e,t){return(0,h.setObjectByKey)(e,t.field,t.initialEditValue),e}),{});return\"bulk\"===e.mode&&e.bulkEditChangedRows[t.tableData.id]&&(t=e.bulkEditChangedRows[t.tableData.id].newData),{data:t}})),n=(0,s.default)(t,2),r=n[0],a=n[1];var l=e.columns.every((function(e){return(0,g.validateInput)(e,r.data).isValid})),p=function(){l&&(delete r.data.tableData,e.onEditingApproved(e.mode,r.data,e.data))};function y(){if(\"bulk\"!==e.mode){var t=m.elementSize(e),n=v(v({},b.defaultProps.localization),e.localization),r=[{icon:e.icons.Check,tooltip:n.saveTooltip,disabled:!l,onClick:p},{icon:e.icons.Clear,tooltip:n.cancelTooltip,onClick:function(){e.onEditingCanceled(e.mode,e.data)}}];return u.default.createElement(c.default,{size:t,padding:\"none\",key:\"key-actions-column\",style:v({width:42*r.length,padding:\"0px 5px\"},e.options.editCellStyle)},u.default.createElement(e.components.Actions,{data:e.data,actions:r,components:e.components,size:t}))}}var x=function(t){13===t.keyCode&&\"textarea\"!==t.target.type&&\"button\"!==t.target.type||13===t.keyCode&&\"textarea\"===t.target.type&&t.shiftKey?p():27===t.keyCode&&e.onEditingCanceled(e.mode,e.data)};return function(){var t,n=m.elementSize(e),l=v(v({},b.defaultProps.localization),e.localization);if(\"add\"===e.mode||\"update\"===e.mode||\"bulk\"===e.mode)t=function(){var t=m.elementSize(e),n=-1;return e.columns.filter((function(e){return!(e.hidden||e.tableData.groupOrder>-1)})).sort((function(e,t){return e.tableData.columnOrder-t.tableData.columnOrder})).map((function(i,l){var s=e.getFieldValue(r.data,i,!1),f=function(t,n){var r={color:\"inherit\"};return r=\"function\"==typeof t.cellStyle?v(v({},r),t.cellStyle(n,e.data)):v(v({},r),t.cellStyle),t.disableClick&&(r.cursor=\"default\"),v({},r)};0===l&&e.level;var d=!1;if(void 0===i.editable&&(d=!0),\"always\"===i.editable&&(d=!0),\"onAdd\"===i.editable&&\"add\"===e.mode&&(d=!0),\"onUpdate\"===i.editable&&\"update\"===e.mode&&(d=!0),\"function\"==typeof i.editable&&(d=i.editable(i,e.data)),i.field&&d){var p=i.editComponent,m=(0,o.default)(i,[\"editComponent\"]),y=p||e.components.EditField,b=(0,g.validateInput)(i,r.data);return-1===n&&(n=l),u.default.createElement(c.default,{size:t,key:i.tableData.id,align:-1!==[\"numeric\"].indexOf(i.type)?\"right\":\"left\",style:f(i,s)},u.default.createElement(y,{key:i.tableData.id,columnDef:m,autoFocus:n===l,value:s,error:!b.isValid,helperText:b.helperText,locale:e.localization.dateTimePickerLocalization,rowData:r.data,onChange:function(t){var n=v({},r.data);(0,h.setObjectByKey)(n,i.field,t),a({data:n}),e.onBulkEditRowChanged&&e.onBulkEditRowChanged(e.data,n)},onRowDataChange:function(t){a({data:t}),e.onBulkEditRowChanged&&e.onBulkEditRowChanged(e.data,t)}}))}var x=e.getFieldValue(r.data,i);return u.default.createElement(e.components.Cell,{size:t,icons:e.icons,columnDef:i,value:x,key:i.tableData.id,rowData:e.data,style:f(i,s)})}))}();else{var s=e.columns.filter((function(e){return!(e.hidden||e.tableData.groupOrder>-1)})).length;t=[u.default.createElement(c.default,{size:n,padding:0===e.options.actionsColumnIndex?\"none\":void 0,key:\"key-edit-cell\",colSpan:s},u.default.createElement(d.default,{variant:\"h6\"},l.deleteText))]}if(e.options.selection&&t.splice(0,0,u.default.createElement(c.default,{padding:\"none\",key:\"key-selection-cell\"})),e.isTreeData&&t.splice(0,0,u.default.createElement(c.default,{padding:\"none\",key:\"key-tree-data-cell\"})),-1===e.options.actionsColumnIndex)t.push(y());else if(e.options.actionsColumnIndex>=0){var p=0;e.options.selection&&(p=1),e.isTreeData&&(p=1,e.options.selection&&t.splice(1,1)),t.splice(e.options.actionsColumnIndex+p,0,y())}if(e.detailPanel&&!1!==e.options.showDetailPanelIcon&&\"bulk\"!==e.mode){var w=\"left\"===e.options.detailPanelColumnAlignment?0:t.length;t.splice(w,0,u.default.createElement(c.default,{padding:\"none\",key:\"key-detail-panel-cell\"}))}e.columns.filter((function(e){return e.tableData.groupOrder>-1})).forEach((function(e){t.splice(0,0,u.default.createElement(c.default,{padding:\"none\",key:\"key-group-cell\"+e.tableData.id}))})),e.detailPanel,e.isTreeData,e.onRowClick,e.onRowSelected,e.onTreeExpandChanged,e.onToggleDetailPanel,e.onEditingApproved,e.onEditingCanceled,e.getFieldValue,e.components,e.icons,e.columns,e.localization,e.options,e.actions,e.errorState,e.onBulkEditRowChanged,e.bulkEditChangedRows,e.scrollWidth;var _=e.forwardedRef,k=(0,o.default)(e,[\"detailPanel\",\"isTreeData\",\"onRowClick\",\"onRowSelected\",\"onTreeExpandChanged\",\"onToggleDetailPanel\",\"onEditingApproved\",\"onEditingCanceled\",\"getFieldValue\",\"components\",\"icons\",\"columns\",\"localization\",\"options\",\"actions\",\"errorState\",\"onBulkEditRowChanged\",\"bulkEditChangedRows\",\"scrollWidth\",\"forwardedRef\"]);return u.default.createElement(f.default,(0,i.default)({onKeyDown:x},k,{ref:_,style:{borderBottom:\"1px solid red\"}}),t)}()}b.defaultProps={actions:[],index:0,options:{},path:[],localization:{saveTooltip:\"Save\",cancelTooltip:\"Cancel\",deleteText:\"Are you sure you want to delete this row?\"},onBulkEditRowChanged:function(){}},b.propTypes={actions:p.default.array,icons:p.default.any.isRequired,index:p.default.number.isRequired,data:p.default.object,detailPanel:p.default.oneOfType([p.default.func,p.default.arrayOf(p.default.oneOfType([p.default.object,p.default.func]))]),options:p.default.object.isRequired,onRowSelected:p.default.func,path:p.default.arrayOf(p.default.number),columns:p.default.array,onRowClick:p.default.func,onEditingApproved:p.default.func,onEditingCanceled:p.default.func,localization:p.default.object,getFieldValue:p.default.func,errorState:p.default.oneOfType([p.default.object,p.default.bool]),onBulkEditRowChanged:p.default.func};var x=u.default.forwardRef((function(e,t){return u.default.createElement(b,(0,i.default)({},e,{forwardedRef:t}))}));t.default=x},83883:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(49559)),o=r(n(67294));function l(e){var t=e.forwardedRef,n=e.columnDef,r=e.onFilterChanged;return o.default.createElement(i.default,{ref:t,inputProps:{\"aria-label\":\"Filter of \".concat(n.title)},indeterminate:void 0===n.tableData.filterValue,checked:\"checked\"===n.tableData.filterValue,onChange:function(){var e;void 0===n.tableData.filterValue?e=\"checked\":\"checked\"===n.tableData.filterValue&&(e=\"unchecked\"),r(n.tableData.id,e)}})}var s=o.default.forwardRef((function(e,t){return o.default.createElement(l,(0,a.default)({},e,{forwardedRef:t}))}));t.default=s},38943:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(67294)),o=r(n(50999)),l=n(23030),s=n(39633);function u(e){var t=e.columnDef,n=e.onFilterChanged,r=e.localization,u=e.forwardedRef,c={value:t.tableData.filterValue||null,onChange:function(e){return n(t.tableData.id,e)},placeholder:(0,l.getLocalizedFilterPlaceHolder)(t),clearable:!0},f=null;return\"date\"===t.type?f=i.default.createElement(s.DatePicker,(0,a.default)({},c,{ref:u})):\"datetime\"===t.type?f=i.default.createElement(s.DateTimePicker,(0,a.default)({},c,{ref:u})):\"time\"===t.type&&(f=i.default.createElement(s.TimePicker,(0,a.default)({},c,{ref:u}))),i.default.createElement(s.MuiPickersUtilsProvider,{utils:o.default,locale:r.dateTimePickerLocalization},f)}var c=i.default.forwardRef((function(e,t){return i.default.createElement(u,(0,a.default)({},e,{forwardedRef:t}))}));t.default=c},3059:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(85961)),o=r(n(70831)),l=r(n(96544)),s=r(n(67294)),u=n(23030);function c(e){var t=e.columnDef,n=e.icons,r=e.localization,a=e.hideFilterIcons,c=e.onFilterChanged,f=e.forwardedRef,d=(0,u.getLocalizationData)(r),p=n.Filter;return s.default.createElement(i.default,{ref:f,style:\"numeric\"===t.type?{float:\"right\"}:{},type:\"numeric\"===t.type?\"number\":\"search\",value:t.tableData.filterValue||\"\",placeholder:(0,u.getLocalizedFilterPlaceHolder)(t),onChange:function(e){c(t.tableData.id,e.target.value)},inputProps:{\"aria-label\":\"filter data by \".concat(t.title)},InputProps:a||t.hideFilterIcon?void 0:{startAdornment:s.default.createElement(o.default,{position:\"start\"},s.default.createElement(l.default,{title:d.filterTooltip},s.default.createElement(p,null)))}})}var f=s.default.forwardRef((function(e,t){return s.default.createElement(c,(0,a.default)({},e,{forwardedRef:t}))}));t.default=f},43651:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(40521)),o=r(n(67294));function l(e){var t=e.columnDef,n=e.onFilterChanged,r=e.forwardedRef;return(0,o.createElement)(t.filterComponent,{columnDef:t,onFilterChanged:n,forwardedRef:r})}var s=o.default.forwardRef((function(e,t){return o.default.createElement(l,(0,i.default)({},e,{forwardedRef:t}))}));t.default=s},84233:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(40521)),o=a(n(20202)),l=a(n(63141)),s=a(n(4791)),u=a(n(87183)),c=a(n(49559)),f=a(n(80150)),d=a(n(9169)),p=a(n(53681)),h=r(n(67294)),m=n(23030),g={PaperProps:{style:{maxHeight:224,width:250}},variant:\"menu\",getContentAnchorEl:null};function y(e){var t=e.columnDef,n=e.onFilterChanged,r=e.forwardedRef,a=(0,h.useState)(t.tableData.filterValue||[]),i=(0,p.default)(a,2),y=i[0],v=i[1];return(0,h.useEffect)((function(){v(t.tableData.filterValue||[])}),[t.tableData.filterValue]),h.default.createElement(o.default,{style:{width:\"100%\"},ref:r},h.default.createElement(d.default,{htmlFor:\"select-multiple-checkbox\"+t.tableData.id,style:{marginTop:-16}},(0,m.getLocalizedFilterPlaceHolder)(t)),h.default.createElement(l.default,{multiple:!0,value:y,onClose:function(){!0!==t.filterOnItemSelect&&n(t.tableData.id,y)},onChange:function(e){v(e.target.value),!0===t.filterOnItemSelect&&n(t.tableData.id,e.target.value)},input:h.default.createElement(f.default,{id:\"select-multiple-checkbox\"+t.tableData.id}),renderValue:function(e){return e.map((function(e){return t.lookup[e]})).join(\", \")},MenuProps:g,style:{marginTop:0}},Object.keys(t.lookup).map((function(e){return h.default.createElement(s.default,{key:e,value:e},h.default.createElement(c.default,{checked:y.indexOf(e.toString())>-1}),h.default.createElement(u.default,{primary:t.lookup[e]}))}))))}var v=h.default.forwardRef((function(e,t){return h.default.createElement(y,(0,i.default)({},e,{forwardedRef:t}))}));t.default=v},50644:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.MTableFilterRow=y,t.default=void 0;var a=r(n(69262)),i=r(n(91281)),o=r(n(45696)),l=r(n(40521)),s=r(n(67294)),u=r(n(45697)),c=r(n(38943)),f=r(n(84233)),d=r(n(3059)),p=r(n(83883)),h=r(n(43651));function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e){return function(){var t=e.columns.filter((function(e){return!(e.hidden||e.tableData.groupOrder>-1)})).sort((function(e,t){return e.tableData.columnOrder-t.tableData.columnOrder})).map((function(t){return s.default.createElement(i.default,{key:t.tableData.id,style:g(g({},e.filterCellStyle),t.filterCellStyle)},function(t){return!1===t.filtering?null:t.field||t.customFilterAndSearch?t.filterComponent?s.default.createElement(h.default,(0,l.default)({columnDef:t},e)):t.lookup?s.default.createElement(f.default,(0,l.default)({columnDef:t},e)):\"boolean\"===t.type?s.default.createElement(p.default,(0,l.default)({columnDef:t},e)):[\"date\",\"datetime\",\"time\"].includes(t.type)?s.default.createElement(c.default,(0,l.default)({columnDef:t},e)):s.default.createElement(d.default,(0,l.default)({columnDef:t},e)):void 0}(t))}));if(e.selection&&t.splice(0,0,s.default.createElement(i.default,{padding:\"none\",key:\"key-selection-column\"})),e.hasActions)if(-1===e.actionsColumnIndex)t.push(s.default.createElement(i.default,{key:\"key-action-column\"}));else{var n=0;e.selection&&(n=1),t.splice(e.actionsColumnIndex+n,0,s.default.createElement(i.default,{key:\"key-action-column\"}))}if(e.hasDetailPanel&&e.showDetailPanelIcon){var r=\"left\"===e.detailPanelColumnAlignment?0:t.length;t.splice(r,0,s.default.createElement(i.default,{padding:\"none\",key:\"key-detail-panel-column\"}))}return e.isTreeData>0&&t.splice(0,0,s.default.createElement(i.default,{padding:\"none\",key:\"key-tree-data-filter\"})),e.columns.filter((function(e){return e.tableData.groupOrder>-1})).forEach((function(e){t.splice(0,0,s.default.createElement(i.default,{padding:\"checkbox\",key:\"key-group-filter\"+e.tableData.id}))})),s.default.createElement(a.default,{id:\"m--table--filter--row\",ref:e.forwardedRef,style:g({height:10},e.filterRowStyle)},t)}()}y.defaultProps={columns:[],detailPanelColumnAlignment:\"left\",selection:!1,hasActions:!1,localization:{filterTooltip:\"Filter\"},hideFilterIcons:!1},y.propTypes={columns:u.default.array.isRequired,hasDetailPanel:u.default.bool.isRequired,detailPanelColumnAlignment:u.default.string,isTreeData:u.default.bool.isRequired,onFilterChanged:u.default.func.isRequired,filterCellStyle:u.default.object,filterRowStyle:u.default.object,showDetailPanelIcon:u.default.bool,selection:u.default.bool.isRequired,actionsColumnIndex:u.default.number,hasActions:u.default.bool,localization:u.default.object,hideFilterIcons:u.default.bool};var v=s.default.forwardRef((function(e,t){return s.default.createElement(y,(0,l.default)({},e,{forwardedRef:t}))}));t.default=v},23030:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.getLocalizedFilterPlaceHolder=t.getLocalizationData=void 0;var a=r(n(45696)),i=n(50644);function o(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(e){return l(l({},i.MTableFilterRow.defaultProps.localization),e)};t.getLocalizationData=s;t.getLocalizedFilterPlaceHolder=function(e,t){return e.filterPlaceholder||s(t).filterPlaceHolder||\"\"}},55479:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(45696)),o=r(n(53681)),l=r(n(66490)),s=r(n(91281)),u=r(n(69262)),c=r(n(1890)),f=r(n(49559)),d=r(n(45697)),p=r(n(67294));function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e){return function(){var t=e.columns.filter((function(e){return!e.hidden})).length;e.options.selection&&t++,e.detailPanel&&t++,e.actions&&e.actions.length>0&&t++;var n,r=e.groups[e.level];e.groupData.isExpanded&&(n=e.groups.length>e.level+1?e.groupData.groups.map((function(t,n){return p.default.createElement(e.components.GroupRow,{actions:e.actions,key:t.value||\"\"+n,columns:e.columns,components:e.components,detailPanel:e.detailPanel,getFieldValue:e.getFieldValue,groupData:t,groups:e.groups,icons:e.icons,level:e.level+1,path:[].concat((0,l.default)(e.path),[n]),onGroupExpandChanged:e.onGroupExpandChanged,onGroupSelected:e.onGroupSelected,onRowSelected:e.onRowSelected,onRowClick:e.onRowClick,onToggleDetailPanel:e.onToggleDetailPanel,onTreeExpandChanged:e.onTreeExpandChanged,onEditingCanceled:e.onEditingCanceled,onEditingApproved:e.onEditingApproved,options:e.options,hasAnyEditingRow:e.hasAnyEditingRow,isTreeData:e.isTreeData,cellEditable:e.cellEditable,onCellEditStarted:e.onCellEditStarted,onCellEditFinished:e.onCellEditFinished,scrollWidth:e.scrollWidth,treeDataMaxLevel:e.treeDataMaxLevel})})):e.groupData.data.map((function(t,n){return t.tableData.editing?p.default.createElement(e.components.EditRow,{columns:e.columns,components:e.components,data:t,icons:e.icons,path:[].concat((0,l.default)(e.path),[t.tableData.uuid]),localization:e.localization,key:n,mode:t.tableData.editing,options:e.options,isTreeData:e.isTreeData,detailPanel:e.detailPanel,onEditingCanceled:e.onEditingCanceled,onEditingApproved:e.onEditingApproved,getFieldValue:e.getFieldValue,onBulkEditRowChanged:e.onBulkEditRowChanged,scrollWidth:e.scrollWidth}):p.default.createElement(e.components.Row,{actions:e.actions,key:n,columns:e.columns,components:e.components,data:t,detailPanel:e.detailPanel,level:(e.level||0)+1,getFieldValue:e.getFieldValue,icons:e.icons,path:[].concat((0,l.default)(e.path),[t.tableData.uuid]),onRowSelected:e.onRowSelected,onRowClick:e.onRowClick,onToggleDetailPanel:e.onToggleDetailPanel,options:e.options,isTreeData:e.isTreeData,onTreeExpandChanged:e.onTreeExpandChanged,onEditingCanceled:e.onEditingCanceled,onEditingApproved:e.onEditingApproved,hasAnyEditingRow:e.hasAnyEditingRow,cellEditable:e.cellEditable,onCellEditStarted:e.onCellEditStarted,onCellEditFinished:e.onCellEditFinished,scrollWidth:e.scrollWidth,treeDataMaxLevel:e.treeDataMaxLevel})})));for(var a=[],i=0;i<e.level;i++)a.push(p.default.createElement(s.default,{padding:\"checkbox\",key:i}));var d=e.groupData.value;r.lookup&&(d=r.lookup[d]);var h=r.title;\"function\"==typeof e.options.groupTitle?h=e.options.groupTitle(e.groupData):\"string\"!=typeof h&&(h=p.default.cloneElement(h));var g,y=e.options.groupRowSeparator||\": \",v=e.options.selection&&e.options.showSelectGroupCheckbox,b=function e(t){var n=0,r=0;return v&&(t.data.length?(n+=t.data.length,t.data.forEach((function(e){return e.tableData.checked&&r++}))):t.groups.forEach((function(t){var a=e(t),i=(0,o.default)(a,2),l=i[0],s=i[1];n+=l,r+=s}))),[n,r]}(e.groupData),x=(0,o.default)(b,2),w=x[0],_=x[1];return p.default.createElement(p.default.Fragment,null,p.default.createElement(u.default,{ref:e.forwardedRef},a,p.default.createElement(e.components.Cell,{colSpan:t,padding:\"none\",columnDef:r,value:d,icons:e.icons},p.default.createElement(p.default.Fragment,null,p.default.createElement(c.default,{style:m({transition:\"all ease 200ms\"},(g=e.groupData.isExpanded,{transform:g?\"rotate(90deg)\":\"none\"})),onClick:function(t){e.onGroupExpandChanged(e.path)}},p.default.createElement(e.icons.DetailPanel,{row:e,level:e.path.length-1})),v&&p.default.createElement(f.default,{indeterminate:_>0&&w!==_,checked:w===_,onChange:function(t,n){return e.onGroupSelected&&e.onGroupSelected(n,e.groupData.path)},style:{marginRight:8}}),p.default.createElement(\"b\",null,h,y)))),n)}()}g.defaultProps={columns:[],groups:[],level:0,options:{}},g.propTypes={actions:d.default.array,columns:d.default.arrayOf(d.default.object),components:d.default.object,cellEditable:d.default.object,detailPanel:d.default.oneOfType([d.default.func,d.default.arrayOf(d.default.object)]),forwardedRef:d.default.element,getFieldValue:d.default.func,groupData:d.default.object,groups:d.default.arrayOf(d.default.object),hasAnyEditingRow:d.default.bool,icons:d.default.object,isTreeData:d.default.bool.isRequired,level:d.default.number,localization:d.default.object,onBulkEditRowChanged:d.default.func,onCellEditFinished:d.default.func,onCellEditStarted:d.default.func,onEditingApproved:d.default.func,onEditingCanceled:d.default.func,onGroupExpandChanged:d.default.func,onRowClick:d.default.func,onGroupSelected:d.default.func,onRowSelected:d.default.func,onToggleDetailPanel:d.default.func.isRequired,onTreeExpandChanged:d.default.func.isRequired,options:d.default.object,path:d.default.arrayOf(d.default.number),scrollWidth:d.default.number.isRequired,treeDataMaxLevel:d.default.number};var y=p.default.forwardRef((function(e,t){return p.default.createElement(g,(0,a.default)({},e,{forwardedRef:t}))}));t.default=y},12351:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(40521)),o=a(n(45696)),l=a(n(47595)),s=a(n(58116)),u=a(n(80400)),c=a(n(45697)),f=r(n(67294)),d=n(27890);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){var t=function(e,t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({userSelect:\"none\",margin:\"0 \".concat(8,\"px 0 0\")},t)};return(0,f.useEffect)((function(){if(e.persistentGroupingsId){var t=e.groupColumns.map((function(e){return{field:e.field,groupOrder:e.tableData.groupOrder,groupSort:e.tableData.groupSort,columnOrder:e.tableData.columnOrder}})),n=localStorage.getItem(\"material-table-groupings\");n=n?JSON.parse(n):{},0===t.length?(delete n[e.persistentGroupingsId],0===Object.keys(n).length?localStorage.removeItem(\"material-table-groupings\"):localStorage.setItem(\"material-table-groupings\",JSON.stringify(n))):(n[e.persistentGroupingsId]=t,localStorage.setItem(\"material-table-groupings\",JSON.stringify(n)))}}),[e.groupColumns]),f.default.createElement(l.default,{className:e.className,style:{padding:0,minHeight:\"unset\"},ref:e.forwardedRef},f.default.createElement(d.Droppable,{droppableId:\"groups\",direction:\"horizontal\",placeholder:\"Deneme\"},(function(n,r){return f.default.createElement(\"div\",{ref:n.innerRef,style:(r.isDraggingOver,{background:\"#0000000a\",display:\"flex\",width:\"100%\",padding:8,overflow:\"auto\",border:\"1px solid #ccc\",borderStyle:\"dashed\"})},e.groupColumns.length>0&&f.default.createElement(u.default,{variant:\"caption\",style:{padding:8}},e.localization.groupedBy),e.groupColumns.map((function(n,r){return f.default.createElement(d.Draggable,{key:n.tableData.id,draggableId:n.tableData.id.toString(),index:r},(function(a,o){return f.default.createElement(\"div\",(0,i.default)({ref:a.innerRef},a.draggableProps,a.dragHandleProps,{style:t(o.isDragging,a.draggableProps.style)}),f.default.createElement(s.default,(0,i.default)({},a.dragHandleProps,{onClick:function(){return e.onSortChanged(n)},label:f.default.createElement(\"div\",{style:{display:\"flex\",alignItems:\"center\"}},f.default.createElement(\"div\",{style:{float:\"left\"}},n.title),n.tableData.groupSort&&f.default.createElement(e.icons.SortArrow,{style:{transition:\"300ms ease all\",transform:\"asc\"===n.tableData.groupSort?\"rotate(-180deg)\":\"none\",fontSize:18}})),style:{boxShadow:\"none\",textTransform:\"none\"},onDelete:function(){return e.onGroupRemoved(n,r)}})))}))})),0===e.groupColumns.length&&f.default.createElement(u.default,{variant:\"caption\",style:{padding:8}},e.localization.placeholder),n.placeholder)})))}h.defaultProps={},h.propTypes={localization:c.default.shape({groupedBy:c.default.string,placeholder:c.default.string}),forwardedRef:c.default.element,className:c.default.string};var m=f.default.forwardRef((function(e,t){return f.default.createElement(h,(0,i.default)({},e,{forwardedRef:t}))}));t.default=m},11177:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.MTableHeader=_,t.default=t.styles=void 0;var i=a(n(96544)),o=a(n(40521)),l=a(n(45696)),s=a(n(53681)),u=a(n(71282)),c=r(n(67294)),f=a(n(45697)),d=a(n(15705)),p=a(n(69262)),h=a(n(91281)),m=a(n(16905)),g=a(n(49559)),y=n(27890),v=n(54288),b=r(n(5061));function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e){var t=e.onColumnResized,n=(0,u.default)(e,[\"onColumnResized\"]),r=c.default.useState(void 0),a=(0,s.default)(r,2),l=a[0],f=a[1],v=c.default.useState(0),x=(0,s.default)(v,2),T=x[0],M=x[1],S=function(e,t,n){return Math.min(Math.max(e.maxWidth||1e4,t),Math.max(Math.min(e.minWidth||20,t),t+n))-t},E=c.default.useCallback((function(e){if(l){e.preventDefault&&e.preventDefault();var r=e.clientX,a=n.columns[l.colIndex],i=a.tableData.additionalWidth-l.lastColData.additionalWidth,o=S(a,l.lastColData.width+i,r-T);o=Math.round(o);var s=[l.lastColData.width+i];\"full\"===n.tableWidth&&(o=-S(n.columns[l.nextColIndex],l.lastNextColData.width-i,-o),s.push(l.lastNextColData.width-i)),M(r),o&&t(a.tableData.id,o,s,l.initialColWidths)}}),[T,l,t]),C=c.default.useCallback((function(e){l&&T!==l.startX&&t(n.columns[l.colIndex].tableData.id,0,[],[]),f(void 0)}),[f,l,T,t]);(0,c.useEffect)((function(){return document.addEventListener(\"mousemove\",E),document.addEventListener(\"mouseup\",C),function(){document.removeEventListener(\"mousemove\",E),document.removeEventListener(\"mouseup\",C)}}),[E,C]);var O=function(){var e=w(w({},_.defaultProps.localization),n.localization),t=b.actionsColumnWidth(n);return c.default.createElement(h.default,{key:\"key-actions-column\",padding:\"checkbox\",className:n.classes.header,style:w(w({textAlign:\"center\"},n.headerStyle),{},{width:t,boxSizing:\"border-box\"})},c.default.createElement(m.default,{hideSortIcon:!0,disabled:!0},e.actions))},A=function(e){var t=n.options.columnResizable?b.reducePercentsInCalc(e.tableData.width,n.scrollWidth):e.tableData.width,r=w(w(w(w({},n.headerStyle),e.headerStyle),{},{boxSizing:\"border-box\",width:t},\"full\"===n.tableWidth&&e.minWidth&&{minWidth:e.minWidth}),\"full\"===n.tableWidth&&e.maxWidth&&{maxWidth:e.maxWidth});return\"fixed\"===n.options.tableLayout&&n.options.columnResizable&&!1!==e.resizable&&(r.paddingLeft=8,r.paddingRight=2,r.position=\"relative\"),r};function D(){var e=\"default\"===n.options.padding?\"medium\":\"small\";return n.columns.filter((function(e){return!(e.hidden||e.tableData.groupOrder>-1)})).sort((function(e,t){return e.tableData.columnOrder-t.tableData.columnOrder})).map((function(t,r,a){var s=t.title;if(n.draggable&&!1!==t.draggable?s=c.default.createElement(y.Draggable,{key:t.tableData.id,draggableId:t.tableData.id.toString(),index:r},(function(e,r){return c.default.createElement(\"div\",(0,o.default)({ref:e.innerRef},e.draggableProps,e.dragHandleProps,{style:r.isDragging?w(w({},e.draggableProps.style),{},{position:\"static\"}):{position:\"relative\",minWidth:0,display:\"flex\"}}),!1!==t.sorting&&n.sorting?c.default.createElement(k,{columnDef:t,orderBy:n.orderBy,keepSortDirectionOnColumnSwitch:n.keepSortDirectionOnColumnSwitch,orderDirection:n.orderDirection,icon:n.icons.SortArrow,thirdSortClick:n.thirdSortClick,onOrderChange:n.onOrderChange},t.title):t.title)})):!1!==t.sorting&&n.sorting&&(s=c.default.createElement(k,{columnDef:t,orderBy:n.orderBy,keepSortDirectionOnColumnSwitch:n.keepSortDirectionOnColumnSwitch,orderDirection:n.orderDirection,icon:n.icons.SortArrow,thirdSortClick:n.thirdSortClick,onOrderChange:n.onOrderChange},t.title)),t.tooltip&&(s=c.default.createElement(i.default,{title:t.tooltip,placement:\"bottom\"},c.default.createElement(\"span\",null,s))),\"fixed\"===n.options.tableLayout&&n.options.columnResizable&&!1!==t.resizable&&(\"full\"!==n.options.tableWidth||r!==a.length-1)){var u=n.icons.Resize?n.icons.Resize:function(e){return c.default.createElement(\"div\",(0,o.default)({},e,{\"data-test-id\":\"drag_handle\"}))};s=c.default.createElement(\"div\",{className:n.classes.headerWrap},c.default.createElement(\"div\",{className:n.classes.headerContent},s),c.default.createElement(\"div\",null),c.default.createElement(u,{className:n.classes.headerResize,style:{display:\"flex\",justifyContent:\"center\",color:null!=l&&l.col&&l.col.tableData.id===t.tableData.id?n.theme.palette.primary.main:\"inherit\"},onMouseDown:function(e){return function(e,t,r){var a,i,o=e.clientX,s=e.target.closest(\"th\"),u=s&&Math.round(+window.getComputedStyle(s).width.slice(0,-2)),c=null==l?void 0:l.initialColWidths;if(\"full\"===n.tableWidth){var d=s.nextSibling;a=d&&Math.round(+window.getComputedStyle(d).width.slice(0,-2)),i=n.columns.findIndex((function(e){return e.tableData.id===t.tableData.id+1}))}else c||(c=Array.from(s.parentNode.children).map((function(e){return Math.round(+window.getComputedStyle(e).width.slice(0,-2))})));M(o),f(w(w({colIndex:r,nextColIndex:i,lastColData:w(w({},t.tableData),{},{width:u})},i&&{lastNextColData:w(w({},n.columns[i].tableData),{},{width:a})}),{},{initialColWidths:c,startX:o}))}(e,t,r)}}))}var d=void 0!==t.align?t.align:-1!==[\"numeric\",\"currency\"].indexOf(t.type)?\"right\":\"left\";return c.default.createElement(h.default,{key:t.tableData.id,align:d,className:n.classes.header,style:A(t),size:e,\"aria-label\":t.ariaLabel},s)}))}function P(){return c.default.createElement(h.default,{padding:\"none\",key:\"key-detail-panel-column\",className:n.classes.header,style:w({},n.headerStyle)})}return function(){var e,t=D();if(n.hasSelection&&t.splice(0,0,(e=b.selectionMaxWidth(n,n.treeDataMaxLevel),c.default.createElement(h.default,{padding:\"none\",key:\"key-selection-column\",className:n.classes.header,style:w(w({},n.headerStyle),{},{width:e})},n.showSelectAllCheckbox&&c.default.createElement(g.default,(0,o.default)({indeterminate:n.selectedCount>0&&n.selectedCount<n.dataCount,checked:n.dataCount>0&&n.selectedCount===n.dataCount,onChange:function(e,t){return n.onAllSelected&&n.onAllSelected(t)}},n.options.headerSelectionProps))))),n.showActionsColumn)if(n.actionsHeaderIndex>=0){var r=0;n.hasSelection&&(r=1),t.splice(n.actionsHeaderIndex+r,0,O())}else-1===n.actionsHeaderIndex&&t.push(O());return n.hasDetailPanel&&n.options.showDetailPanelIcon&&(\"right\"===n.detailPanelColumnAlignment?t.push(P()):t.splice(0,0,P())),n.isTreeData>0&&t.splice(0,0,c.default.createElement(h.default,{padding:\"none\",key:\"key-tree-data-header\",className:n.classes.header,style:w({},n.headerStyle)})),n.columns.filter((function(e){return e.tableData.groupOrder>-1})).forEach((function(e){t.splice(0,0,c.default.createElement(h.default,{padding:\"checkbox\",key:\"key-group-header\"+e.tableData.id,className:n.classes.header,style:w({},n.headerStyle)}))})),c.default.createElement(d.default,{ref:n.forwardedRef},c.default.createElement(p.default,{className:n.classes.headerRow},t))}()}function k(e){var t=e.columnDef,n=e.orderBy,r=e.keepSortDirectionOnColumnSwitch,a=e.orderDirection,i=e.icon,o=e.thirdSortClick,l=e.onOrderChange,s=e.children,u=n===t.tableData.id,f=(u||r)&&a||\"asc\",d=\"none\";return u&&\"asc\"===f&&(d=t.ariaSortAsc?t.ariaSortAsc:\"Ascendant\"),u&&\"desc\"===f&&(d=t.ariaSortDesc?t.ariaSortDesc:\"Descendant\"),c.default.createElement(m.default,{role:\"\",\"aria-sort\":d,\"aria-label\":t.ariaLabel,IconComponent:i,active:u,\"data-testid\":\"mtableheader-sortlabel\",direction:f,onClick:function(){var e=function(e,t,n,r,a){return n.tableData.id!==e?a&&t||\"asc\":\"asc\"===t?\"desc\":\"desc\"===t&&r?\"\":\"asc\"}(n,a,t,o,r);l(t.tableData.id,e)}},s)}_.defaultProps={dataCount:0,hasSelection:!1,headerStyle:{},selectedCount:0,sorting:!0,keepSortDirectionOnColumnSwitch:!0,localization:{actions:\"Actions\"},orderBy:void 0,orderDirection:\"asc\",actionsHeaderIndex:0,detailPanelColumnAlignment:\"left\",draggable:!0,thirdSortClick:!0},_.propTypes={columns:f.default.array.isRequired,dataCount:f.default.number,hasDetailPanel:f.default.bool.isRequired,detailPanelColumnAlignment:f.default.string,hasSelection:f.default.bool,headerStyle:f.default.object,localization:f.default.object,selectedCount:f.default.number,sorting:f.default.bool,keepSortDirectionOnColumnSwitch:f.default.bool,onAllSelected:f.default.func,onOrderChange:f.default.func,orderBy:f.default.number,orderDirection:f.default.string,actionsHeaderIndex:f.default.number,showActionsColumn:f.default.bool,showSelectAllCheckbox:f.default.bool,draggable:f.default.bool,thirdSortClick:f.default.bool,tooltip:f.default.string};var T=function(e){return{headerRow:{zIndex:10},header:{top:0,backgroundColor:e.palette.background.paper},headerWrap:{display:\"flex\",alignItems:\"center\",position:\"relative\",left:4},headerContent:{minWidth:0,display:\"flex\",flex:\"1 0 100%\",justifyContent:\"flex-start\",alignItems:\"center\",width:\"100%\",position:\"relative\"},headerResize:{flex:1,cursor:\"col-resize\",position:\"absolute\",height:\"100%\",width:16,right:-8,zIndex:20}}};t.styles=T;var M=c.default.forwardRef((function(e,t){return c.default.createElement(_,(0,o.default)({},e,{forwardedRef:t}))})),S=(0,v.withStyles)(T,{name:\"MTableHeader\",withTheme:!0})(M);t.default=S},79862:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(45696)),o=r(n(1890)),l=n(54288),s=r(n(96544)),u=r(n(80400)),c=r(n(45697)),f=r(n(67294));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e){var t,n,r,a,i,l,c,d=function(t){e.onPageChange(t,0)},m=function(t){e.onPageChange(t,e.page-1)},g=function(t){e.onPageChange(t,e.page+1)},y=function(t){e.onPageChange(t,Math.max(0,Math.ceil(e.count/e.rowsPerPage)-1))};return t=e.classes,n=e.count,r=e.page,a=e.rowsPerPage,i=e.theme,l=e.showFirstLastPageButtons,c=p(p({},h.defaultProps.localization),e.localization),f.default.createElement(\"div\",{className:t.root,ref:e.forwardedRef},l&&f.default.createElement(s.default,{title:c.firstTooltip},f.default.createElement(\"span\",null,f.default.createElement(o.default,{onClick:d,disabled:0===r,\"aria-label\":c.firstAriaLabel},\"rtl\"===i.direction?f.default.createElement(e.icons.LastPage,null):f.default.createElement(e.icons.FirstPage,null)))),f.default.createElement(s.default,{title:c.previousTooltip},f.default.createElement(\"span\",null,f.default.createElement(o.default,{onClick:m,disabled:0===r,\"aria-label\":c.previousAriaLabel},\"rtl\"===i.direction?f.default.createElement(e.icons.NextPage,null):f.default.createElement(e.icons.PreviousPage,null)))),f.default.createElement(u.default,{variant:\"caption\",style:{flex:1,textAlign:\"center\",alignSelf:\"center\",flexBasis:\"inherit\"}},c.labelDisplayedRows.replace(\"{from}\",0===e.count?0:e.page*e.rowsPerPage+1).replace(\"{to}\",Math.min((e.page+1)*e.rowsPerPage,e.count)).replace(\"{count}\",e.count)),f.default.createElement(s.default,{title:c.nextTooltip},f.default.createElement(\"span\",null,f.default.createElement(o.default,{onClick:g,disabled:r>=Math.ceil(n/a)-1,\"aria-label\":c.nextAriaLabel},\"rtl\"===i.direction?f.default.createElement(e.icons.PreviousPage,null):f.default.createElement(e.icons.NextPage,null)))),l&&f.default.createElement(s.default,{title:c.lastTooltip},f.default.createElement(\"span\",null,f.default.createElement(o.default,{onClick:y,disabled:r>=Math.ceil(n/a)-1,\"aria-label\":c.lastAriaLabel},\"rtl\"===i.direction?f.default.createElement(e.icons.FirstPage,null):f.default.createElement(e.icons.LastPage,null)))))}h.propTypes={onPageChange:c.default.func,page:c.default.number,count:c.default.number,rowsPerPage:c.default.number,classes:c.default.object,localization:c.default.object,theme:c.default.any,showFirstLastPageButtons:c.default.bool},h.defaultProps={showFirstLastPageButtons:!0,localization:{firstAriaLabel:\"First Page\",firstTooltip:\"First Page\",previousAriaLabel:\"Previous Page\",previousTooltip:\"Previous Page\",nextAriaLabel:\"Next Page\",nextTooltip:\"Next Page\",lastAriaLabel:\"Last Page\",lastTooltip:\"Last Page\",labelDisplayedRows:\"{from}-{to} of {count}\",labelRowsPerPage:\"Rows per page:\"}};var m=f.default.forwardRef((function(e,t){return f.default.createElement(h,(0,a.default)({},e,{forwardedRef:t}))})),g=(0,l.withStyles)((function(e){return{root:{flexShrink:0,color:e.palette.text.secondary,display:\"flex\"}}}),{withTheme:!0})(m);t.default=g},57783:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(67294)),i=n(54288),o=r(n(1301)),l=(0,i.withStyles)((function(){return{horizontalScrollContainer:{\"& ::-webkit-scrollbar\":{\"-webkit-appearance\":\"none\"},\"& ::-webkit-scrollbar:horizontal\":{height:8},\"& ::-webkit-scrollbar-thumb\":{borderRadius:4,border:\"2px solid white\",backgroundColor:\"rgba(0, 0, 0, .3)\"}}}}))((function(e){var t=e.double,n=e.children,r=e.classes;return t?a.default.createElement(o.default,null,n):a.default.createElement(\"div\",{className:r.horizontalScrollContainer,style:{overflowX:\"auto\",position:\"relative\"}},n)}));t.default=l},47307:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(45696)),o=r(n(1890)),l=n(54288),s=r(n(96544)),u=r(n(60207)),c=r(n(28482)),f=r(n(45697)),d=r(n(67294));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){var t,n,r,a,i,l,f,p,g,y,v=function(t){e.onPageChange(t,0)},b=function(t){e.onPageChange(t,e.page-1)},x=function(t){e.onPageChange(t,e.page+1)},w=function(t){return function(n){e.onPageChange(n,t)}},_=function(t){e.onPageChange(t,Math.max(0,Math.ceil(e.count/e.rowsPerPage)-1))};return t=e.classes,n=e.count,r=e.page,a=e.rowsPerPage,i=e.theme,l=e.showFirstLastPageButtons,f=h(h({},m.defaultProps.localization),e.localization),p=Math.ceil(n/a)-1,g=Math.max(r-1,0),y=Math.min(p,r+1),d.default.createElement(\"div\",{className:t.root,ref:e.forwardedRef},l&&d.default.createElement(s.default,{title:f.firstTooltip},d.default.createElement(\"span\",null,d.default.createElement(o.default,{onClick:v,disabled:0===r,\"aria-label\":f.firstAriaLabel},\"rtl\"===i.direction?d.default.createElement(e.icons.LastPage,null):d.default.createElement(e.icons.FirstPage,null)))),d.default.createElement(s.default,{title:f.previousTooltip},d.default.createElement(\"span\",null,d.default.createElement(o.default,{onClick:b,disabled:0===r,\"aria-label\":f.previousAriaLabel},d.default.createElement(e.icons.PreviousPage,null)))),d.default.createElement(u.default,{smDown:!0},function(t,n){for(var r=[],a=t;a<=n;a++){var i=a===e.page?\"contained\":\"text\";r.push(d.default.createElement(c.default,{size:\"small\",style:{boxShadow:\"none\",maxWidth:\"30px\",maxHeight:\"30px\",minWidth:\"30px\",minHeight:\"30px\"},disabled:a===e.page,variant:i,onClick:w(a),key:a},a+1))}return d.default.createElement(\"span\",null,r)}(g,y)),d.default.createElement(s.default,{title:f.nextTooltip},d.default.createElement(\"span\",null,d.default.createElement(o.default,{onClick:x,disabled:r>=p,\"aria-label\":f.nextAriaLabel},d.default.createElement(e.icons.NextPage,null)))),l&&d.default.createElement(s.default,{title:f.lastTooltip},d.default.createElement(\"span\",null,d.default.createElement(o.default,{onClick:_,disabled:r>=Math.ceil(n/a)-1,\"aria-label\":f.lastAriaLabel},\"rtl\"===i.direction?d.default.createElement(e.icons.FirstPage,null):d.default.createElement(e.icons.LastPage,null)))))}m.propTypes={onPageChange:f.default.func,page:f.default.number,count:f.default.number,rowsPerPage:f.default.number,classes:f.default.object,localization:f.default.object,theme:f.default.any,showFirstLastPageButtons:f.default.bool},m.defaultProps={showFirstLastPageButtons:!0,localization:{firstAriaLabel:\"First Page\",firstTooltip:\"First Page\",previousAriaLabel:\"Previous Page\",previousTooltip:\"Previous Page\",nextAriaLabel:\"Next Page\",nextTooltip:\"Next Page\",lastAriaLabel:\"Last Page\",lastTooltip:\"Last Page\",labelDisplayedRows:\"{from}-{to} of {count}\",labelRowsPerPage:\"Rows per page:\"}};var g=d.default.forwardRef((function(e,t){return d.default.createElement(m,(0,a.default)({},e,{forwardedRef:t}))})),y=(0,l.withStyles)((function(e){return{root:{flexShrink:0,color:e.palette.text.secondary,marginLeft:e.spacing(2.5)}}}),{withTheme:!0})(g);t.default=y},40533:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.MTableSummaryRow=p,t.default=t.styles=void 0;var i=a(n(69262)),o=a(n(90271)),l=a(n(91281)),s=r(n(67294)),u=n(54288),c=n(1150),f=r(n(5061)),d=a(n(45697));function p(e){var t=e.data,n=e.columns,r=e.currentData,a=e.rowProps,u=e.renderSummaryRow;if(!u)return null;function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=f.elementSize(a),r=t*f.baseIconSize(a);return s.createElement(l.default,{key:\"placeholder.\".concat(e),size:n,padding:\"none\",style:{width:r,padding:\"0px 5px\",boxSizing:\"border-box\"}})}var p=[],h=[],m=0;if(a.options.selection&&p.push(d(m++)),a.actions&&a.actions.filter((function(e){return\"row\"===e.position||\"function\"==typeof e})).length>0){var g=f.rowActions(a).length;-1===a.options.actionsColumnIndex?h.push(d(m++,g)):a.options.actionsColumnIndex>=0&&p.push(d(m++,g))}return a.detailPanel&&a.options.showDetailPanelIcon&&(\"right\"===a.options.detailPanelColumnAlignment?h.push(d(m++)):p.push(d(m++))),a.isTreeData&&p.push(d(m++)),s.createElement(i.default,null,p,n.map((function(e,a){var i=u({index:a,column:e,data:t,currentData:r,columns:n}),f=void 0!==e.align?e.align:-1!==[\"numeric\",\"currency\"].indexOf(e.type)?\"right\":\"left\",d=\"\",p=(0,c.getStyle)({columnDef:e,scrollWidth:0});return\"object\"===(0,o.default)(i)&&null!==i?(d=i.value,p=i.style):d=i,s.createElement(l.default,{key:a,style:p,align:f},d)})),h)}p.propTypes={data:d.default.array,currentData:d.default.array,columns:d.default.array,renderSummaryRow:d.default.func};var h=function(e){return{}};t.styles=h;var m=(0,u.withStyles)(h)(p);t.default=m},84980:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.MTableToolbar=T,t.default=t.styles=void 0;var i,o=a(n(40521)),l=a(n(45696)),s=a(n(53681)),u=a(n(49559)),c=a(n(70831)),f=a(n(1890)),d=a(n(53537)),p=a(n(4791)),h=a(n(85961)),m=a(n(47595)),g=a(n(96544)),y=a(n(80400)),v=n(54288),b=a(n(94184)),x=a(n(45697)),w=r(n(67294));function _(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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e){var t,n,r,a=(0,w.useState)(e.searchText),o=(0,s.default)(a,2),v=o[0],x=o[1],_=(0,w.useState)(null),M=(0,s.default)(_,2),S=M[0],E=M[1],C=(0,w.useState)(null),O=(0,s.default)(C,2),A=O[0],D=O[1],P=function(t){x(t),e.dataManager.changeSearchText(t),e.isRemoteData?(i&&clearTimeout(i),i=setTimeout((function(){e.onSearchChanged(t),i=null}),e.searchDebounceDelay)):e.onSearchChanged(t)};function R(){var t=k(k({},T.defaultProps.localization),e.localization);return e.search?w.default.createElement(h.default,{autoFocus:e.searchAutoFocus,className:\"left\"===e.searchFieldAlignment&&!1===e.showTitle?null:e.classes.searchField,value:v,onChange:function(e){return P(e.target.value)},placeholder:t.searchPlaceholder,variant:e.searchFieldVariant,InputProps:{startAdornment:w.default.createElement(c.default,{position:\"start\"},w.default.createElement(g.default,{title:t.searchTooltip},w.default.createElement(e.icons.Search,{fontSize:\"small\"}))),endAdornment:w.default.createElement(c.default,{position:\"end\"},w.default.createElement(f.default,{disabled:!v,onClick:function(){return P(\"\")},\"aria-label\":t.clearSearchAriaLabel},w.default.createElement(e.icons.ResetSearch,{fontSize:\"small\",\"aria-label\":\"clear\"}))),style:e.searchFieldStyle,inputProps:{\"aria-label\":t.searchAriaLabel}}}):null}function L(){var t=k(k({},T.defaultProps.localization),e.localization),n=e.classes;return w.default.createElement(\"div\",{style:{display:\"flex\"}},e.columnsButton&&w.default.createElement(\"span\",null,w.default.createElement(g.default,{title:t.showColumnsTitle},w.default.createElement(f.default,{color:\"inherit\",onClick:function(e){return D(e.currentTarget)},\"aria-label\":t.showColumnsAriaLabel},w.default.createElement(e.icons.ViewColumn,null))),w.default.createElement(d.default,{anchorEl:A,open:Boolean(A),onClose:function(){return D(null)}},w.default.createElement(p.default,{key:\"text\",disabled:!0,style:{opacity:1,fontWeight:600,fontSize:12}},t.addRemoveColumns),e.columns.map((function(t){return(void 0!==t.hiddenByColumnsButton?t.hiddenByColumnsButton:e.columnsHiddenInColumnsButton)?null:w.default.createElement(\"li\",{key:t.tableData.id},w.default.createElement(p.default,{className:n.formControlLabel,component:\"label\",htmlFor:\"column-toggle-\".concat(t.tableData.id),disabled:!1===t.removable},w.default.createElement(u.default,{checked:!t.hidden,id:\"column-toggle-\".concat(t.tableData.id),onChange:function(){return e.onColumnsChanged(t,!t.hidden)}}),w.default.createElement(\"span\",null,t.title)))})))),e.exportMenu.length>0&&w.default.createElement(\"span\",null,w.default.createElement(g.default,{title:t.exportTitle},w.default.createElement(f.default,{color:\"inherit\",onClick:function(e){return E(e.currentTarget)},\"aria-label\":t.exportAriaLabel},w.default.createElement(e.icons.Export,null))),w.default.createElement(d.default,{anchorEl:S,open:Boolean(S),onClose:function(){return E(null)}},e.exportMenu.map((function(t,n){var r,a,i=(r=e.columns.filter((function(e){return(!e.hidden||!0===e.export)&&e.field&&!1!==e.export})).sort((function(e,t){return e.tableData.columnOrder>t.tableData.columnOrder?1:-1})),a=(e.exportAllData?e.data:e.renderData).map((function(t){return r.reduce((function(n,r){var a;return a=\"function\"==typeof r.customExport?r.customExport(t):e.getFieldValue(t,r),n[r.field]=a,n}),{})})),[r,a]),o=(0,s.default)(i,2),l=o[0],u=o[1];return w.default.createElement(p.default,{key:\"\".concat(t.label).concat(n),onClick:function(){t.exportFunc(l,u,{searchedData:e.dataManager.searchedData,filteredData:e.dataManager.filteredData,groupedData:e.dataManager.groupedData}),E(null)}},t.label)})))),w.default.createElement(\"span\",null,w.default.createElement(e.components.Actions,{actions:e.actions&&e.actions.filter((function(e){return\"toolbar\"===e.position})),components:e.components})))}function I(){var t=e.classes;return w.default.createElement(\"div\",{className:t.actions},w.default.createElement(\"div\",null,e.selectedRows&&e.selectedRows.length>0?w.default.createElement(w.default.Fragment,null,w.default.createElement(e.components.Actions,{actions:e.actions.filter((function(e){return\"toolbarOnSelect\"===e.position})),data:e.selectedRows,components:e.components})):L()))}return t=e.classes,n=k(k({},T.defaultProps.localization),e.localization),r=e.showTextRowsSelected&&e.selectedRows&&e.selectedRows.length>0?\"function\"==typeof n.nRowsSelected?n.nRowsSelected(e.selectedRows.length):n.nRowsSelected.replace(\"{0}\",e.selectedRows.length):e.showTitle?e.title:null,w.default.createElement(m.default,{ref:e.forwardedRef,className:(0,b.default)(t.root,(0,l.default)({},t.highlight,e.showTextRowsSelected&&e.selectedRows&&e.selectedRows.length>0))},r&&function(t){var n=e.classes,r=\"string\"==typeof t?w.default.createElement(y.default,{variant:\"h6\",style:{whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"}},t):t;return w.default.createElement(\"div\",{className:n.title},r)}(r),\"left\"===e.searchFieldAlignment&&R(),\"left\"===e.toolbarButtonAlignment&&I(),w.default.createElement(\"div\",{className:t.spacer}),\"right\"===e.searchFieldAlignment&&R(),\"right\"===e.toolbarButtonAlignment&&I())}T.defaultProps={actions:[],columns:[],columnsHiddenInColumnsButton:!1,columnsButton:!1,localization:{addRemoveColumns:\"Add or remove columns\",nRowsSelected:\"{0} row(s) selected\",showColumnsTitle:\"Show Columns\",showColumnsAriaLabel:\"Show Columns\",exportTitle:\"Export\",exportAriaLabel:\"Export\",searchTooltip:\"Search\",searchPlaceholder:\"Search\",searchAriaLabel:\"Search\",clearSearchAriaLabel:\"Clear Search\"},search:!0,showTitle:!0,searchText:\"\",showTextRowsSelected:!0,toolbarButtonAlignment:\"right\",searchAutoFocus:!1,searchFieldAlignment:\"right\",searchFieldVariant:\"standard\",selectedRows:[],title:\"No Title!\"},T.propTypes={actions:x.default.array,columns:x.default.array,columnsButton:x.default.bool,components:x.default.object.isRequired,getFieldValue:x.default.func.isRequired,localization:x.default.object.isRequired,onColumnsChanged:x.default.func.isRequired,dataManager:x.default.object.isRequired,searchText:x.default.string,onSearchChanged:x.default.func.isRequired,search:x.default.bool.isRequired,searchFieldStyle:x.default.object,searchFieldVariant:x.default.string,selectedRows:x.default.array,title:x.default.oneOfType([x.default.element,x.default.string]),showTitle:x.default.bool.isRequired,showTextRowsSelected:x.default.bool.isRequired,toolbarButtonAlignment:x.default.string.isRequired,searchFieldAlignment:x.default.string.isRequired,renderData:x.default.array,data:x.default.array,exportAllData:x.default.bool,exportMenu:x.default.arrayOf(x.default.shape({name:x.default.string,handler:x.default.func})),classes:x.default.object,searchAutoFocus:x.default.bool};var M=function(e){return{root:{paddingRight:e.spacing(1),paddingLeft:e.spacing(2)},highlight:\"light\"===e.palette.type?{color:e.palette.secondary.main,backgroundColor:(0,v.lighten)(e.palette.secondary.light,.85)}:{color:e.palette.text.primary,backgroundColor:e.palette.secondary.dark},spacer:{flex:\"1 1 10%\"},actions:{color:e.palette.text.secondary},title:{overflow:\"hidden\"},searchField:{minWidth:150,paddingLeft:e.spacing(2)},formControlLabel:{paddingLeft:e.spacing(1),paddingRight:e.spacing(1)}}};t.styles=M;var S=w.default.forwardRef((function(e,t){return w.default.createElement(T,(0,o.default)({},e,{forwardedRef:t}))})),E=(0,v.withStyles)(M,{name:\"MTableToolbar\"})(S);t.default=E},56010:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(67294)),o=r(n(45697));function l(e){return i.default.createElement(\"div\",{ref:e.forwardedRef,style:{display:\"table\",width:\"100%\",height:\"100%\",backgroundColor:e.theme.palette.background.paper,opacity:.7}},i.default.createElement(\"div\",{style:{display:\"table-cell\",width:\"100%\",height:\"100%\",verticalAlign:\"middle\",textAlign:\"center\"}},i.default.createElement(\"span\",null,e.error.message),\" \",i.default.createElement(e.icon,{onClick:e.retry,style:{cursor:\"pointer\",position:\"relative\",top:5}})))}l.propTypes={error:o.default.oneOfType([o.default.object,o.default.string]),retry:o.default.func,theme:o.default.any,icon:o.default.any};var s=i.default.forwardRef((function(e,t){return i.default.createElement(l,(0,a.default)({},e,{forwardedRef:t}))}));t.default=s},99658:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(50113)),o=r(n(67294)),l=r(n(45697));function s(e){return o.default.createElement(\"div\",{ref:e.forwardedRef,style:{display:\"table\",width:\"100%\",height:\"100%\",backgroundColor:e.theme.palette.background.paper,opacity:.7}},o.default.createElement(\"div\",{style:{display:\"table-cell\",width:\"100%\",height:\"100%\",verticalAlign:\"middle\",textAlign:\"center\"}},o.default.createElement(i.default,null)))}s.propTypes={theme:l.default.any};var u=o.default.forwardRef((function(e,t){return o.default.createElement(s,(0,a.default)({},e,{forwardedRef:t}))}));t.default=u},68451:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),Object.defineProperty(t,\"OverlayLoading\",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,\"OverlayError\",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,\"Container\",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,\"MTableScrollbar\",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,\"MTableBody\",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,\"MTableEditField\",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,\"MTableEditCell\",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,\"MTableAction\",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,\"MTableActions\",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,\"MTableBodyRow\",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,\"MTableCell\",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,\"MTableCustomIcon\",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,\"MTableEditRow\",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,\"MTableFilterRow\",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,\"MTableGroupbar\",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,\"MTableGroupRow\",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,\"MTableHeader\",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,\"MTableSteppedPagination\",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,\"MTablePagination\",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,\"MTableSummaryRow\",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,\"MTableToolbar\",{enumerable:!0,get:function(){return T.default}});var a=r(n(99658)),i=r(n(56010)),o=r(n(75309)),l=r(n(57783)),s=r(n(21462)),u=r(n(40174)),c=r(n(68841)),f=r(n(22376)),d=r(n(70841)),p=r(n(35963)),h=r(n(37345)),m=r(n(57034)),g=r(n(31644)),y=r(n(50644)),v=r(n(12351)),b=r(n(55479)),x=r(n(11177)),w=r(n(47307)),_=r(n(79862)),k=r(n(40533)),T=r(n(84980))},21462:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(51211)),i=r(n(66490)),o=r(n(69262)),l=r(n(91281)),s=r(n(45696)),u=r(n(24452)),c=r(n(10294)),f=r(n(65241)),d=r(n(46275)),p=r(n(2386)),h=r(n(67294)),m=r(n(45697));function g(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 y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,s.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e){var t=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.default)(e);if(t){var a=(0,p.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}var b=function(e){(0,f.default)(n,e);var t=v(n);function n(){return(0,u.default)(this,n),t.apply(this,arguments)}return(0,c.default)(n,[{key:\"renderEmpty\",value:function(e,t){var r=\"default\"===this.props.options.padding?49:36,a=y(y({},n.defaultProps.localization),this.props.localization);if(this.props.options.showEmptyDataSourceMessage&&0===t.length){var s=0;return this.props.options.selection&&s++,this.props.actions&&this.props.actions.filter((function(e){return\"row\"===e.position||\"function\"==typeof e})).length>0&&s++,this.props.hasDetailPanel&&s++,this.props.isTreeData&&s++,h.default.createElement(o.default,{style:{height:r*(this.props.options.paging&&this.props.options.emptyRowsWhenPaging?this.props.pageSize:1)},key:\"empty-0\"},h.default.createElement(l.default,{style:{paddingTop:0,paddingBottom:0,textAlign:\"center\"},colSpan:this.props.columns.reduce((function(e,t){return t.hidden?e:e+1}),s),key:\"empty-\"},a.emptyDataSourceMessage))}if(this.props.options.emptyRowsWhenPaging)return h.default.createElement(h.default.Fragment,null,(0,i.default)(Array(e)).map((function(e,t){return h.default.createElement(o.default,{style:{height:r},key:\"empty-\"+t})})),e>0&&h.default.createElement(o.default,{style:{height:1},key:\"empty-last1\"}))}},{key:\"renderUngroupedRows\",value:function(e){var t=this;return e.map((function(e,r){if(e.tableData.editing||t.props.bulkEditOpen)return h.default.createElement(t.props.components.EditRow,{columns:t.props.columns.filter((function(e){return!e.hidden})),components:t.props.components,data:e,errorState:t.props.errorState,icons:t.props.icons,localization:y(y(y({},n.defaultProps.localization.editRow),t.props.localization.editRow),{},{dateTimePickerLocalization:t.props.localization.dateTimePickerLocalization}),key:\"row-\"+e.tableData.uuid,mode:t.props.bulkEditOpen?\"bulk\":e.tableData.editing,options:t.props.options,isTreeData:t.props.isTreeData,detailPanel:t.props.detailPanel,onEditingCanceled:t.props.onEditingCanceled,onEditingApproved:t.props.onEditingApproved,bulkEditChangedRows:t.props.bulkEditChangedRows,getFieldValue:t.props.getFieldValue,onBulkEditRowChanged:t.props.onBulkEditRowChanged,scrollWidth:t.props.scrollWidth});var a=t.props.isTreeData?[e.tableData.uuid]:[r+t.props.pageSize*t.props.currentPage];return h.default.createElement(t.props.components.Row,{components:t.props.components,icons:t.props.icons,data:e,index:r,errorState:t.props.errorState,key:\"row-\"+e.tableData.uuid,level:0,options:t.props.options,localization:y(y(y({},n.defaultProps.localization.editRow),t.props.localization.editRow),{},{dateTimePickerLocalization:t.props.localization.dateTimePickerLocalization}),onRowSelected:t.props.onRowSelected,actions:t.props.actions,columns:t.props.columns,getFieldValue:t.props.getFieldValue,detailPanel:t.props.detailPanel,path:a,onToggleDetailPanel:t.props.onToggleDetailPanel,onRowClick:t.props.onRowClick,onRowDoubleClick:t.props.onRowDoubleClick,isTreeData:t.props.isTreeData,onTreeExpandChanged:t.props.onTreeExpandChanged,onEditingCanceled:t.props.onEditingCanceled,onEditingApproved:t.props.onEditingApproved,hasAnyEditingRow:t.props.hasAnyEditingRow,treeDataMaxLevel:t.props.treeDataMaxLevel,cellEditable:t.props.cellEditable,onCellEditStarted:t.props.onCellEditStarted,onCellEditFinished:t.props.onCellEditFinished,scrollWidth:t.props.scrollWidth})}))}},{key:\"renderGroupedRows\",value:function(e,t){var r=this;return t.map((function(t,a){return h.default.createElement(r.props.components.GroupRow,{actions:r.props.actions,cellEditable:r.props.cellEditable,columns:r.props.columns,components:r.props.components,detailPanel:r.props.detailPanel,getFieldValue:r.props.getFieldValue,groupData:t,groups:e,hasAnyEditingRow:r.props.hasAnyEditingRow,icons:r.props.icons,isTreeData:r.props.isTreeData,key:null==t.value?\"\"+a:t.value,level:0,localization:y(y(y({},n.defaultProps.localization.editRow),r.props.localization.editRow),{},{dateTimePickerLocalization:r.props.localization.dateTimePickerLocalization}),onBulkEditRowChanged:r.props.onBulkEditRowChanged,onCellEditFinished:r.props.onCellEditFinished,onCellEditStarted:r.props.onCellEditStarted,onEditingApproved:r.props.onEditingApproved,onEditingCanceled:r.props.onEditingCanceled,onGroupExpandChanged:r.props.onGroupExpandChanged,onRowClick:r.props.onRowClick,onGroupSelected:r.props.onGroupSelected,onRowSelected:r.props.onRowSelected,onToggleDetailPanel:r.props.onToggleDetailPanel,onTreeExpandChanged:r.props.onTreeExpandChanged,options:r.props.options,path:[a+r.props.pageSize*r.props.currentPage],scrollWidth:r.props.scrollWidth,treeDataMaxLevel:r.props.treeDataMaxLevel})}))}},{key:\"renderAddRow\",value:function(){return this.props.showAddRow&&h.default.createElement(this.props.components.EditRow,{columns:this.props.columns.filter((function(e){return!e.hidden})),components:this.props.components,data:this.props.initialFormData,detailPanel:this.props.detailPanel,errorState:this.props.errorState,getFieldValue:this.props.getFieldValue,icons:this.props.icons,isTreeData:this.props.isTreeData,key:\"key-add-row\",localization:y(y(y({},n.defaultProps.localization.editRow),this.props.localization.editRow),{},{dateTimePickerLocalization:this.props.localization.dateTimePickerLocalization}),mode:\"add\",onEditingApproved:this.props.onEditingApproved,onEditingCanceled:this.props.onEditingCanceled,options:this.props.options,scrollWidth:this.props.scrollWidth})}},{key:\"render\",value:function(){var e=this.props.renderData,t=this.props.columns.filter((function(e){return e.tableData.groupOrder>-1})).sort((function(e,t){return e.tableData.groupOrder-t.tableData.groupOrder})),r=0;this.props.options.paging&&this.props.pageSize>e.length&&(r=this.props.pageSize-e.length);var i=this.props.columns.filter((function(e){return!e.hidden}));return h.default.createElement(a.default,null,this.props.options.filtering&&h.default.createElement(this.props.components.FilterRow,{columns:i,icons:this.props.icons,showDetailPanelIcon:this.props.options.showDetailPanelIcon,hasActions:this.props.actions.filter((function(e){return\"row\"===e.position||\"function\"==typeof e})).length>0,actionsColumnIndex:this.props.options.actionsColumnIndex,onFilterChanged:this.props.onFilterChanged,selection:this.props.options.selection,localization:y(y(y({},n.defaultProps.localization.filterRow),this.props.localization.filterRow),{},{dateTimePickerLocalization:this.props.localization.dateTimePickerLocalization}),hasDetailPanel:!!this.props.detailPanel,detailPanelColumnAlignment:this.props.options.detailPanelColumnAlignment,isTreeData:this.props.isTreeData,filterCellStyle:this.props.options.filterCellStyle,filterRowStyle:this.props.options.filterRowStyle,hideFilterIcons:this.props.options.hideFilterIcons,scrollWidth:this.props.scrollWidth}),\"first\"===this.props.options.addRowPosition&&this.renderAddRow(),t.length>0?this.renderGroupedRows(t,e):this.renderUngroupedRows(e),\"last\"===this.props.options.addRowPosition&&this.renderAddRow(),h.default.createElement(this.props.components.SummaryRow,{currentData:e,columns:i,data:this.props.data,renderSummaryRow:this.props.renderSummaryRow,rowProps:this.props}),this.renderEmpty(r,e))}}]),n}(h.default.Component);b.defaultProps={actions:[],currentPage:0,data:[],localization:{editRow:{},emptyDataSourceMessage:\"No records to display\",filterRow:{}},pageSize:5,renderData:[],selection:!1},b.propTypes={actions:m.default.array,bulkEditChangedRows:m.default.object,bulkEditOpen:m.default.bool,cellEditable:m.default.object,columns:m.default.array.isRequired,components:m.default.object.isRequired,currentPage:m.default.number,data:m.default.array,detailPanel:m.default.oneOfType([m.default.func,m.default.arrayOf(m.default.oneOfType([m.default.object,m.default.func]))]),errorState:m.default.oneOfType([m.default.object,m.default.bool]),getFieldValue:m.default.func.isRequired,hasAnyEditingRow:m.default.bool,hasDetailPanel:m.default.bool.isRequired,icons:m.default.object.isRequired,initialFormData:m.default.object,isTreeData:m.default.bool.isRequired,localization:m.default.object,onBulkEditRowChanged:m.default.func,onCellEditFinished:m.default.func,onCellEditStarted:m.default.func,onEditingApproved:m.default.func,onEditingCanceled:m.default.func,onFilterChanged:m.default.func,onGroupExpandChanged:m.default.func,onRowClick:m.default.func,onRowDoubleClick:m.default.func,onGroupSelected:m.default.func,onRowSelected:m.default.func,onToggleDetailPanel:m.default.func.isRequired,onTreeExpandChanged:m.default.func.isRequired,options:m.default.object.isRequired,pageSize:m.default.number,renderData:m.default.array,renderSummaryRow:m.default.func,scrollWidth:m.default.number.isRequired,selection:m.default.bool.isRequired,showAddRow:m.default.bool,treeDataMaxLevel:m.default.number};var x=b;t.default=x},41073:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.MTableDetailPanel=function(e){var t,n=s.default.useState(!1),r=(0,l.default)(n,2),u=r[0],c=r[1],f=s.default.useReducer((function(e){return e+1}),0),d=(0,l.default)(f,2)[1],p=s.default.useRef();if(s.default.useEffect((function(){var t=Boolean(e.data.tableData&&e.data.tableData.showDetailPanel);setTimeout((function(){c(t)}),5)}),[e.data.tableData.showDetailPanel]),!e.detailPanel)return s.default.createElement(s.default.Fragment,null);t=\"function\"==typeof e.detailPanel?e.detailPanel:(t=e.detailPanel?e.detailPanel.map((function(t){return\"function\"==typeof t?t(e.data):t})).find((function(t){return t.render.toString()===(e.data.tableData.showDetailPanel||\"\").toString()})):void 0)?t.render:null;if(s.default.useEffect((function(){t&&u&&(p.current=t)})),!p.current&&!e.data.tableData.showDetailPanel)return null;var h=t||p.current;return s.default.createElement(a.default,null,e.options.detailPanelOffset.left>0&&s.default.createElement(o.default,{colSpan:e.options.detailPanelOffset.left}),s.default.createElement(o.default,{size:e.size,colSpan:e.renderColumns.length-e.options.detailPanelOffset.left-e.options.detailPanelOffset.right,padding:\"none\"},s.default.createElement(i.default,{in:u,timeout:\"auto\",unmountOnExit:!0,mountOnEnter:!0,onExited:function(){p.current=void 0,d()}},h({rowData:e.data}))))};var a=r(n(69262)),i=r(n(90503)),o=r(n(91281)),l=r(n(53681)),s=r(n(67294))},68841:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(24452)),i=r(n(10294)),o=r(n(21147)),l=r(n(65241)),s=r(n(46275)),u=r(n(2386)),c=r(n(45696)),f=r(n(67294)),d=r(n(45697)),p=r(n(91281)),h=r(n(50113)),m=n(54288),g=n(17425);function y(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,c.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e){var t=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var a=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var x=function(e){(0,l.default)(n,e);var t=b(n);function n(e){var r;return(0,a.default)(this,n),r=t.call(this,e),(0,c.default)((0,o.default)(r),\"getStyle\",(function(){var e={boxShadow:\"2px 0px 15px rgba(125,147,178,.25)\",color:\"inherit\",width:r.props.columnDef.tableData.width,boxSizing:\"border-box\",fontSize:\"inherit\",fontFamily:\"inherit\",fontWeight:\"inherit\",padding:\"0 16px\"};return e=\"function\"==typeof r.props.columnDef.cellStyle?v(v({},e),r.props.columnDef.cellStyle(r.state.value,r.props.rowData)):v(v({},e),r.props.columnDef.cellStyle),e=\"function\"==typeof r.props.cellEditable.cellStyle?v(v({},e),r.props.cellEditable.cellStyle(r.state.value,r.props.rowData,r.props.columnDef)):v(v({},e),r.props.cellEditable.cellStyle)})),(0,c.default)((0,o.default)(r),\"handleKeyDown\",(function(e){13===e.keyCode?r.onApprove():27===e.keyCode&&r.onCancel()})),(0,c.default)((0,o.default)(r),\"onApprove\",(function(){(0,g.validateInput)(r.props.columnDef,r.state.value).isValid&&r.setState({isLoading:!0},(function(){r.props.cellEditable.onCellEditApproved(r.state.value,r.props.getFieldValue(r.props.rowData,r.props.columnDef),r.props.rowData,r.props.columnDef).then((function(){r.setState({isLoading:!1}),r.props.onCellEditFinished(r.props.rowData,r.props.columnDef)})).catch((function(e){r.setState({isLoading:!1})}))}))})),(0,c.default)((0,o.default)(r),\"onCancel\",(function(){r.props.onCellEditFinished(r.props.rowData,r.props.columnDef)})),r.state={errorState:{isValid:!0,helperText:\"\"},isLoading:!1,value:e.getFieldValue(r.props.rowData,r.props.columnDef,!1)},r}return(0,i.default)(n,[{key:\"renderActions\",value:function(){if(this.state.isLoading)return f.default.createElement(\"div\",{style:{display:\"flex\",justifyContent:\"center\",width:60}},f.default.createElement(h.default,{size:20}));var e=[{icon:this.props.icons.Check,tooltip:this.props.localization.saveTooltip,onClick:this.onApprove,disabled:this.state.isLoading||!this.state.errorState.isValid},{icon:this.props.icons.Clear,tooltip:this.props.localization.cancelTooltip,onClick:this.onCancel,disabled:this.state.isLoading}];return f.default.createElement(this.props.components.Actions,{actions:e,components:this.props.components,size:\"small\"})}},{key:\"handleChange\",value:function(e){var t=(0,g.validateInput)(this.props.columnDef,e);this.setState({errorState:t,value:e})}},{key:\"render\",value:function(){var e=this;return f.default.createElement(p.default,{size:this.props.size,style:this.getStyle(),padding:\"none\"},f.default.createElement(\"div\",{style:{display:\"flex\",alignItems:\"center\"}},f.default.createElement(\"div\",{style:{flex:1,marginRight:4}},f.default.createElement(this.props.components.EditField,{columnDef:this.props.columnDef,value:this.state.value,error:!this.state.errorState.isValid,helperText:this.state.errorState.helperText,onChange:function(t){return e.handleChange(t)},onKeyDown:this.handleKeyDown,disabled:this.state.isLoading,rowData:this.props.rowData,autoFocus:!0})),this.renderActions()))}}]),n}(f.default.Component);x.defaultProps={columnDef:{},localization:{saveTooltip:\"Save\",cancelTooltip:\"Cancel\"}},x.propTypes={cellEditable:d.default.object.isRequired,columnDef:d.default.object.isRequired,components:d.default.object.isRequired,errorState:d.default.oneOfType([d.default.object,d.default.bool]),icons:d.default.object.isRequired,localization:d.default.object.isRequired,onCellEditFinished:d.default.func.isRequired,rowData:d.default.object.isRequired,size:d.default.string,getFieldValue:d.default.func.isRequired};var w=(0,m.withTheme)(x);t.default=w},40174:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(40521)),i=r(n(71282)),o=r(n(24452)),l=r(n(10294)),s=r(n(65241)),u=r(n(46275)),c=r(n(2386)),f=r(n(67294)),d=r(n(85961)),p=r(n(49559)),h=r(n(63141)),m=r(n(4791)),g=r(n(20202)),y=r(n(80933)),v=r(n(55249)),b=r(n(15190)),x=r(n(50999)),w=n(39633),_=r(n(45697));function k(e){var t=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var a=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var T=function(e){(0,s.default)(n,e);var t=k(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,l.default)(n,[{key:\"getProps\",value:function(){var e=this.props;e.columnDef,e.rowData,e.onRowDataChange,e.errorState,e.autoFocus,e.onBulkEditRowChanged,e.scrollWidth;return(0,i.default)(e,[\"columnDef\",\"rowData\",\"onRowDataChange\",\"errorState\",\"autoFocus\",\"onBulkEditRowChanged\",\"scrollWidth\"])}},{key:\"renderLookupField\",value:function(){var e=this,t=this.getProps(),n=t.helperText,r=t.error,o=(0,i.default)(t,[\"helperText\",\"error\"]);return f.default.createElement(g.default,{error:Boolean(r)},f.default.createElement(h.default,(0,a.default)({},o,{value:void 0===this.props.value?\"\":this.props.value,onChange:function(t){return e.props.onChange(t.target.value)},style:{fontSize:13},inputProps:{autoFocus:this.props.autoFocus},SelectDisplayProps:{\"aria-label\":this.props.columnDef.title}}),Object.keys(this.props.columnDef.lookup).map((function(t){return f.default.createElement(m.default,{key:t,value:t},e.props.columnDef.lookup[t])}))),Boolean(n)&&f.default.createElement(y.default,null,n))}},{key:\"renderBooleanField\",value:function(){var e=this,t=this.getProps(),n=t.helperText,r=t.error,o=(0,i.default)(t,[\"helperText\",\"error\"]);return f.default.createElement(g.default,{error:Boolean(r),component:\"fieldset\"},f.default.createElement(v.default,null,f.default.createElement(b.default,{label:\"\",control:f.default.createElement(p.default,(0,a.default)({},o,{value:String(this.props.value),checked:Boolean(this.props.value),onChange:function(t){return e.props.onChange(t.target.checked)},style:{padding:0,width:24,marginLeft:9},inputProps:{autoFocus:this.props.autoFocus,\"aria-label\":this.props.columnDef.title}}))})),f.default.createElement(y.default,null,n))}},{key:\"renderDateField\",value:function(){var e=this.props.columnDef.dateSetting&&this.props.columnDef.dateSetting.format?this.props.columnDef.dateSetting.format:\"dd.MM.yyyy\";return f.default.createElement(w.MuiPickersUtilsProvider,{utils:x.default,locale:this.props.locale},f.default.createElement(w.DatePicker,(0,a.default)({},this.getProps(),{format:e,value:this.props.value||null,onChange:this.props.onChange,clearable:!0,InputProps:{style:{fontSize:13}},inputProps:{autoFocus:this.props.autoFocus,\"aria-label\":\"\".concat(this.props.columnDef.title,\": press space to edit\")}})))}},{key:\"renderTimeField\",value:function(){return f.default.createElement(w.MuiPickersUtilsProvider,{utils:x.default,locale:this.props.locale},f.default.createElement(w.TimePicker,(0,a.default)({},this.getProps(),{format:\"HH:mm:ss\",value:this.props.value||null,onChange:this.props.onChange,clearable:!0,InputProps:{style:{fontSize:13}},inputProps:{autoFocus:this.props.autoFocus,\"aria-label\":\"\".concat(this.props.columnDef.title,\": press space to edit\")}})))}},{key:\"renderDateTimeField\",value:function(){return f.default.createElement(w.MuiPickersUtilsProvider,{utils:x.default,locale:this.props.locale},f.default.createElement(w.DateTimePicker,(0,a.default)({},this.getProps(),{format:\"dd.MM.yyyy HH:mm:ss\",value:this.props.value||null,onChange:this.props.onChange,clearable:!0,InputProps:{style:{fontSize:13}},inputProps:{autoFocus:this.props.autoFocus,\"aria-label\":\"\".concat(this.props.columnDef.title,\": press space to edit\")}})))}},{key:\"renderTextField\",value:function(){var e=this;return f.default.createElement(d.default,(0,a.default)({},this.getProps(),{fullWidth:!0,type:\"numeric\"===this.props.columnDef.type?\"number\":\"text\",placeholder:this.props.columnDef.editPlaceholder||this.props.columnDef.title,value:void 0===this.props.value?\"\":this.props.value,onChange:function(t){return e.props.onChange(\"numeric\"===e.props.columnDef.type?t.target.valueAsNumber:t.target.value)},InputProps:{style:{minWidth:50,fontSize:13}},inputProps:{autoFocus:this.props.autoFocus,\"aria-label\":this.props.columnDef.title,style:\"numeric\"===this.props.columnDef.type?{textAlign:\"right\"}:{}}}))}},{key:\"renderCurrencyField\",value:function(){var e=this;return f.default.createElement(d.default,(0,a.default)({},this.getProps(),{placeholder:this.props.columnDef.editPlaceholder||this.props.columnDef.title,type:\"number\",value:void 0===this.props.value?\"\":this.props.value,onChange:function(t){var n=t.target.valueAsNumber;return n||0===n||(n=void 0),e.props.onChange(n)},InputProps:{style:{fontSize:13,textAlign:\"right\"}},inputProps:{autoFocus:this.props.autoFocus,\"aria-label\":this.props.columnDef.title,style:{textAlign:\"right\"}},onKeyDown:this.props.onKeyDown}))}},{key:\"render\",value:function(){return this.props.columnDef.editComponent?this.props.columnDef.editComponent(this.props):this.props.columnDef.lookup?this.renderLookupField():\"boolean\"===this.props.columnDef.type?this.renderBooleanField():\"date\"===this.props.columnDef.type?this.renderDateField():\"time\"===this.props.columnDef.type?this.renderTimeField():\"datetime\"===this.props.columnDef.type?this.renderDateTimeField():\"currency\"===this.props.columnDef.type?this.renderCurrencyField():this.renderTextField()}}]),n}(f.default.Component);T.propTypes={value:_.default.any,onChange:_.default.func.isRequired,columnDef:_.default.object.isRequired,locale:_.default.object,rowData:_.default.object,onRowDataChange:_.default.func,errorState:_.default.func,autoFocus:_.default.bool,onBulkEditRowChanged:_.default.func,scrollWidth:_.default.number,onKeyDown:_.default.func};var M=T;t.default=M},10499:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.defaultProps=void 0;var a=r(n(20730)),i=r(n(69600)),o=r(n(93875)),l=r(n(98861)),s={actions:[],classes:{},columns:[],components:a.default,data:[],icons:i.default,isLoading:!1,title:\"Table Title\",options:l.default,localization:o.default,style:{}};t.defaultProps=s},20730:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(69358)),i=n(68451),o={Action:i.MTableAction,Actions:i.MTableActions,Body:i.MTableBody,Cell:i.MTableCell,Container:i.Container,EditCell:i.MTableEditCell,EditField:i.MTableEditField,EditRow:i.MTableEditRow,FilterRow:i.MTableFilterRow,Groupbar:i.MTableGroupbar,GroupRow:i.MTableGroupRow,Header:i.MTableHeader,OverlayLoading:i.OverlayLoading,OverlayError:i.OverlayError,Pagination:a.default,Row:i.MTableBodyRow,SummaryRow:i.MTableSummaryRow,Toolbar:i.MTableToolbar};t.default=o},69600:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(51724)),o=a(n(10064)),l=a(n(21673)),s=a(n(88995)),u=a(n(428)),c=a(n(19152)),f=a(n(45696)),d=a(n(89875)),p=a(n(58104)),h=a(n(31514)),m=a(n(85963)),g=a(n(48485)),y=a(n(59067)),v=a(n(66735)),b=a(n(35308)),x=a(n(35996)),w=a(n(41959)),_=a(n(57234)),k=a(n(40521)),T=r(n(67294));function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,f.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E={Add:(0,T.forwardRef)((function(e,t){return T.default.createElement(_.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"add_box\"}))})),Check:(0,T.forwardRef)((function(e,t){return T.default.createElement(w.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"check\"}))})),Clear:(0,T.forwardRef)((function(e,t){return T.default.createElement(x.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"clear\"}))})),Delete:(0,T.forwardRef)((function(e,t){return T.default.createElement(b.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"delete_outline\"}))})),DetailPanel:(0,T.forwardRef)((function(e,t){return T.default.createElement(v.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"chevron_right\"}))})),Edit:(0,T.forwardRef)((function(e,t){return T.default.createElement(y.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"edit\"}))})),Export:(0,T.forwardRef)((function(e,t){return T.default.createElement(g.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"save_alt\"}))})),Filter:(0,T.forwardRef)((function(e,t){return T.default.createElement(m.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"filter_list\"}))})),FirstPage:(0,T.forwardRef)((function(e,t){return T.default.createElement(h.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"first_page\"}))})),LastPage:(0,T.forwardRef)((function(e,t){return T.default.createElement(p.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"last_page\"}))})),NextPage:(0,T.forwardRef)((function(e,t){return T.default.createElement(v.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"chevron_right\"}))})),PreviousPage:(0,T.forwardRef)((function(e,t){return T.default.createElement(d.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"chevron_left\"}))})),ResetSearch:(0,T.forwardRef)((function(e,t){return T.default.createElement(x.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"clear\"}))})),Resize:(0,T.forwardRef)((function(e,t){return T.default.createElement(c.default,(0,k.default)({},e,{ref:t,style:S({},e.style),\"data-testid\":\"drag_handle\"}),\"|\")})),Retry:(0,T.forwardRef)((function(e,t){return T.default.createElement(u.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"replay\"}))})),Search:(0,T.forwardRef)((function(e,t){return T.default.createElement(s.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"search\"}))})),SortArrow:(0,T.forwardRef)((function(e,t){return T.default.createElement(l.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"arrow_downward\"}))})),ThirdStateCheck:(0,T.forwardRef)((function(e,t){return T.default.createElement(o.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"remove\"}))})),ViewColumn:(0,T.forwardRef)((function(e,t){return T.default.createElement(i.default,(0,k.default)({},e,{ref:t,\"data-testid\":\"view_column\"}))}))};t.default=E},93875:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;t.default={error:\"Data could not be retrieved\",grouping:{groupedBy:\"Grouped By:\",placeholder:\"Drag headers here to group by\"},pagination:{labelDisplayedRows:\"{from}-{to} of {count}\",labelRowsPerPage:\"Rows per page:\",labelRowsSelect:\"rows\"},toolbar:{},header:{},body:{filterRow:{},editRow:{saveTooltip:\"Save\",cancelTooltip:\"Cancel\",deleteText:\"Are you sure you want to delete this row?\"},addTooltip:\"Add\",deleteTooltip:\"Delete\",editTooltip:\"Edit\",bulkEditTooltip:\"Edit All\",bulkEditApprove:\"Save all changes\",bulkEditCancel:\"Discard all changes\"}}},98861:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;t.default={idSynonym:\"id\",actionsColumnIndex:0,addRowPosition:\"last\",columnsButton:!1,detailPanelType:\"multiple\",debounceInterval:200,doubleHorizontalScroll:!1,emptyRowsWhenPaging:!0,exportAllData:!1,exportMenu:[],filtering:!1,groupTitle:!1,header:!0,headerSelectionProps:{},hideFilterIcons:!1,loadingType:\"overlay\",padding:\"default\",searchAutoFocus:!1,paging:!0,pageSize:5,pageSizeOptions:[5,10,20],paginationType:\"normal\",paginationPosition:\"bottom\",showEmptyDataSourceMessage:!0,showFirstLastPageButtons:!0,showSelectAllCheckbox:!0,showSelectGroupCheckbox:!0,search:!0,showTitle:!0,showTextRowsSelected:!0,showDetailPanelIcon:!0,tableLayout:\"auto\",tableWidth:\"full\",toolbarButtonAlignment:\"right\",searchFieldAlignment:\"right\",searchFieldStyle:{},searchFieldVariant:\"standard\",selection:!1,selectionProps:{},sorting:!0,keepSortDirectionOnColumnSwitch:!0,toolbar:!0,defaultExpanded:!1,detailPanelColumnAlignment:\"left\",detailPanelOffset:{left:0,right:0},thirdSortClick:!0,overflowY:\"auto\"}},44345:function(e,t,n){\"use strict\";var r=n(31953);t.ZP=void 0;var a=r(n(40521));n(219);var i=r(n(67294)),o=n(10499),l=n(86003),s=r(n(53078)),u=n(54288),c=n(68451);s.default.defaultProps=o.defaultProps,s.default.propTypes=l.propTypes;var f=(0,u.withStyles)((function(e){return{paginationRoot:{width:\"100%\"},paginationToolbar:{padding:0,width:\"100%\"},paginationCaption:{display:\"none\"},paginationSelectRoot:{margin:0}}}),{withTheme:!0})((function(e){return i.default.createElement(s.default,(0,a.default)({},e,{ref:e.tableRef}))}));t.ZP=f},53078:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;a(n(53681));var i=a(n(65758)),o=a(n(30055)),l=a(n(69262)),s=a(n(40521)),u=a(n(66490)),c=a(n(39809)),f=a(n(90271)),d=a(n(24452)),p=a(n(10294)),h=a(n(21147)),m=a(n(65241)),g=a(n(46275)),y=a(n(2386)),v=a(n(45696)),b=a(n(67294)),x=n(20296),w=a(n(38252)),_=n(27890),k=a(n(35200)),T=r(n(5061)),M=n(68451);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,v.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e){var t=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,y.default)(e);if(t){var a=(0,y.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,g.default)(this,n)}}var O=function(e){(0,m.default)(n,e);var t=C(n);function n(e){var r;(0,d.default)(this,n),r=t.call(this,e),(0,v.default)((0,h.default)(r),\"dataManager\",new k.default),(0,v.default)((0,h.default)(r),\"checkedForFunctions\",!1),(0,v.default)((0,h.default)(r),\"isRemoteData\",(function(e){return!Array.isArray((e||r.props).data)})),(0,v.default)((0,h.default)(r),\"isOutsidePageNumbers\",(function(e){return void 0!==e.page&&void 0!==e.totalCount})),(0,v.default)((0,h.default)(r),\"onAllSelected\",(function(e){r.dataManager.changeAllSelected(e,r.props.options.selectionProps),r.setState(r.dataManager.getRenderState(),(function(){return r.onSelectionChange()}))})),(0,v.default)((0,h.default)(r),\"onGroupSelected\",(function(e,t){r.dataManager.changeGroupSelected(e,t),r.setState(r.dataManager.getRenderState(),(function(){return r.onSelectionChange()}))})),(0,v.default)((0,h.default)(r),\"onChangeColumnHidden\",(function(e,t){r.dataManager.changeColumnHidden(e,t),r.setState(r.dataManager.getRenderState(),(function(){r.props.onChangeColumnHidden&&r.props.onChangeColumnHidden(e,t)}))})),(0,v.default)((0,h.default)(r),\"onChangeGroupOrder\",(function(e){r.dataManager.changeGroupOrder(e.tableData.id),r.setState(r.dataManager.getRenderState())})),(0,v.default)((0,h.default)(r),\"onChangeOrder\",(function(e,t){var n=\"\"===t?-1:e;if(r.dataManager.changeOrder(n,t),r.isRemoteData()){var a=E({},r.state.query);a.page=0,a.orderBy=r.state.columns.find((function(e){return e.tableData.id===n})),a.orderDirection=t,r.onQueryChange(a,(function(){r.props.onOrderChange&&r.props.onOrderChange(n,t)}))}else r.setState(r.dataManager.getRenderState(),(function(){r.props.onOrderChange&&r.props.onOrderChange(n,t)}))})),(0,v.default)((0,h.default)(r),\"onPageChange\",(function(e,t){if(r.isRemoteData()){var n=E({},r.state.query);n.page=t,r.onQueryChange(n,(function(){r.props.onPageChange&&r.props.onPageChange(t,n.pageSize)}))}else r.isOutsidePageNumbers(r.props)||r.dataManager.changeCurrentPage(t),r.setState(r.dataManager.getRenderState(),(function(){r.props.onPageChange&&r.props.onPageChange(t,r.state.pageSize)}))})),(0,v.default)((0,h.default)(r),\"onRowsPerPageChange\",(function(e){var t=e.target.value;if(r.dataManager.changePageSize(t),r.props.onPageChange&&r.props.onPageChange(0,t),r.isRemoteData()){var n=E({},r.state.query);n.pageSize=e.target.value,n.page=0,r.onQueryChange(n,(function(){r.props.onRowsPerPageChange&&r.props.onRowsPerPageChange(t)}))}else r.dataManager.changeCurrentPage(0),r.setState(r.dataManager.getRenderState(),(function(){r.props.onRowsPerPageChange&&r.props.onRowsPerPageChange(t)}))})),(0,v.default)((0,h.default)(r),\"onDragEnd\",(function(e){e&&e.source&&e.destination&&(r.dataManager.changeByDrag(e),r.setState(r.dataManager.getRenderState(),(function(){r.props.onColumnDragged&&\"headers\"===e.destination.droppableId&&\"headers\"===e.source.droppableId&&r.props.onColumnDragged(e.source.index,e.destination.index)})))})),(0,v.default)((0,h.default)(r),\"onGroupExpandChanged\",(function(e){r.dataManager.changeGroupExpand(e),r.setState(r.dataManager.getRenderState())})),(0,v.default)((0,h.default)(r),\"onGroupRemoved\",(function(e,t){var n={combine:null,destination:{droppableId:\"headers\",index:0},draggableId:e.tableData.id,mode:\"FLUID\",reason:\"DROP\",source:{index:t,droppableId:\"groups\"},type:\"DEFAULT\"};r.dataManager.changeByDrag(n),r.setState(r.dataManager.getRenderState(),(function(){r.props.onGroupRemoved&&r.props.onGroupRemoved(e,t)}))})),(0,v.default)((0,h.default)(r),\"onEditingApproved\",(function(e,t,n){\"add\"===e&&r.props.editable&&r.props.editable.onRowAdd?r.setState({isLoading:!0},(function(){r.props.editable.onRowAdd(t).then((function(e){r.setState({isLoading:!1,showAddRow:!1},(function(){r.isRemoteData()&&r.onQueryChange(r.state.query)}))})).catch((function(e){var t={message:e,errorCause:\"add\"};r.setState({isLoading:!1,errorState:t})}))})):\"update\"===e&&r.props.editable&&r.props.editable.onRowUpdate?r.setState({isLoading:!0},(function(){r.props.editable.onRowUpdate(t,n).then((function(e){r.dataManager.changeRowEditing(n),r.setState(E({isLoading:!1},r.dataManager.getRenderState()),(function(){r.isRemoteData()&&r.onQueryChange(r.state.query)}))})).catch((function(e){var t={message:e,errorCause:\"update\"};r.setState({isLoading:!1,errorState:t})}))})):\"delete\"===e&&r.props.editable&&r.props.editable.onRowDelete?r.setState({isLoading:!0},(function(){r.props.editable.onRowDelete(n).then((function(e){r.dataManager.changeRowEditing(n),r.setState(E({isLoading:!1},r.dataManager.getRenderState()),(function(){r.isRemoteData()&&r.onQueryChange(r.state.query)}))})).catch((function(e){var t={message:e,errorCause:\"delete\"};r.setState({isLoading:!1,errorState:t})}))})):\"bulk\"===e&&r.props.editable&&r.props.editable.onBulkUpdate&&r.setState({isLoading:!0},(function(){r.props.editable.onBulkUpdate(r.dataManager.bulkEditChangedRows).then((function(e){r.dataManager.changeBulkEditOpen(!1),r.props.onBulkEditOpen&&r.props.onBulkEditOpen(!1),r.dataManager.clearBulkEditChangedRows(),r.setState(E({isLoading:!1},r.dataManager.getRenderState()),(function(){r.isRemoteData()&&r.onQueryChange(r.state.query)}))})).catch((function(e){var t={message:e,errorCause:\"bulk edit\"};r.setState({isLoading:!1,errorState:t})}))}))})),(0,v.default)((0,h.default)(r),\"onEditingCanceled\",(function(e,t){\"add\"===e?(r.props.editable.onRowAddCancelled&&r.props.editable.onRowAddCancelled(),r.setState({showAddRow:!1})):\"update\"===e?(r.props.editable.onRowUpdateCancelled&&r.props.editable.onRowUpdateCancelled(),r.dataManager.changeRowEditing(t),r.setState(r.dataManager.getRenderState())):\"delete\"===e&&(r.dataManager.changeRowEditing(t),r.setState(r.dataManager.getRenderState()))})),(0,v.default)((0,h.default)(r),\"retry\",(function(){r.onQueryChange(r.state.query)})),(0,v.default)((0,h.default)(r),\"onQueryChange\",(function(e,t){e=E(E(E({},r.state.query),e),{},{error:r.state.errorState}),r.setState({isLoading:!0,errorState:void 0},(function(){r.props.data(e).then((function(n){e.totalCount=n.totalCount,e.page=n.page;var a=E(E({},e),{},{totalCount:n.totalCount,page:n.page});r.dataManager.setData(n.data,r.props.options.idSynonym),r.setState(E(E({isLoading:!1,errorState:!1},r.dataManager.getRenderState()),{},{query:a}),(function(){t&&t()}))})).catch((function(e){var t=E(E({},n.defaultProps.localization),r.props.localization),a={message:\"object\"===(0,f.default)(e)?e.message:void 0!==e?e:t.error,errorCause:\"query\"};r.setState(E({isLoading:!1,errorState:a},r.dataManager.getRenderState()))}))}))})),(0,v.default)((0,h.default)(r),\"onRowSelected\",(function(e,t,n){r.dataManager.changeRowSelected(e.target.checked,t),r.setState(r.dataManager.getRenderState(),(function(){return r.onSelectionChange(n)}))})),(0,v.default)((0,h.default)(r),\"onSelectionChange\",(function(e){if(r.props.onSelectionChange){var t=[];r.state.originalData.forEach((function(e){e.tableData.checked&&t.push(e)})),r.props.onSelectionChange(t,e)}})),(0,v.default)((0,h.default)(r),\"onSearchChangeDebounce\",(0,x.debounce)((function(e){if(r.isRemoteData()){var t=E({},r.state.query);t.page=0,t.search=e,r.onQueryChange(t,(function(){r.props.onSearchChange&&r.props.onSearchChange(e)}))}else r.setState(r.dataManager.getRenderState(),(function(){r.props.onSearchChange&&r.props.onSearchChange(e)}))}),r.props.options.debounceInterval)),(0,v.default)((0,h.default)(r),\"onFilterChange\",(function(e,t){r.dataManager.changeFilterValue(e,t),r.setState({},r.onFilterChangeDebounce)})),(0,v.default)((0,h.default)(r),\"onFilterChangeDebounce\",(0,x.debounce)((function(){if(r.isRemoteData()){var e=E({},r.state.query);e.page=0,e.filters=r.state.columns.filter((function(e){return e.tableData.filterValue})).map((function(e){return{column:e,operator:\"=\",value:e.tableData.filterValue}})),r.onQueryChange(e,(function(){r.props.onFilterChange&&r.props.onFilterChange(e.filters)}))}else r.setState(r.dataManager.getRenderState(),(function(){if(r.props.onFilterChange){var e=r.state.columns.filter((function(e){return e.tableData.filterValue})).map((function(e){return{column:e,operator:\"=\",value:e.tableData.filterValue}}));r.props.onFilterChange(e)}}))}),r.props.options.debounceInterval)),(0,v.default)((0,h.default)(r),\"onTreeExpandChanged\",(function(e,t){r.dataManager.changeTreeExpand(e),r.setState(r.dataManager.getRenderState(),(function(){r.props.onTreeExpandChange&&r.props.onTreeExpandChange(t,t.tableData.isTreeExpanded)}))})),(0,v.default)((0,h.default)(r),\"onToggleDetailPanel\",(function(e,t){r.dataManager.changeDetailPanelVisibility(e,t),r.setState(r.dataManager.getRenderState())})),(0,v.default)((0,h.default)(r),\"onCellEditStarted\",(function(e,t){r.dataManager.startCellEditable(e,t),r.setState(r.dataManager.getRenderState())})),(0,v.default)((0,h.default)(r),\"onCellEditFinished\",(function(e,t){r.dataManager.finishCellEditable(e,t),r.setState(r.dataManager.getRenderState())})),(0,v.default)((0,h.default)(r),\"onEditRowDataChanged\",(function(e,t){r.dataManager.setEditRowData(e,t),r.setState(r.dataManager.getRenderState())})),(0,v.default)((0,h.default)(r),\"onColumnResized\",(function(e,t,n,a){var i=function(e){return E(E(E({field:e.field,width:e.tableData.width,widthPx:e.tableData.widthPx},e.id&&{id:e.id}),e.minWidth&&{minWidth:e.minWidth}),e.maxWidth&&{maxWidth:e.maxWidth})},o=r.dataManager.onColumnResized(e,t,n,a);r.setState(r.dataManager.getRenderState(),(function(){0===t&&r.props.onColumnResized&&o.length>0&&r.props.onColumnResized(o.map((function(e){return i(e)})),r.state.columns.map((function(e){return i(e)})))}))})),(0,v.default)((0,h.default)(r),\"renderTable\",(function(e){var t;return b.default.createElement(c.default,{style:E(E({},\"variable\"===e.options.tableWidth&&{width:r.state.tableStyleWidth}),{},{tableLayout:e.options.fixedColumns&&(e.options.fixedColumns.left||e.options.fixedColumns.right)?\"fixed\":e.options.tableLayout})},e.options.header&&b.default.createElement(e.components.Header,{actions:e.actions,localization:E(E({},n.defaultProps.localization.header),r.props.localization.header),columns:r.state.columns,hasSelection:e.options.selection,headerStyle:e.options.headerStyle,icons:e.icons,selectedCount:r.state.selectedCount,dataCount:e.parentChildData?r.state.treefiedDataLength:r.state.columns.filter((function(e){return e.tableData.groupOrder>-1})).length>0?r.state.groupedDataLength:r.state.data.length,hasDetailPanel:!!e.detailPanel,detailPanelColumnAlignment:e.options.detailPanelColumnAlignment,showActionsColumn:!r.dataManager.bulkEditOpen&&e.actions&&e.actions.filter((function(e){return\"row\"===e.position||\"function\"==typeof e})).length>0,showSelectAllCheckbox:e.options.showSelectAllCheckbox,showSelectGroupCheckbox:e.options.showSelectGroupCheckbox,orderBy:r.state.orderBy,orderDirection:r.state.orderDirection,onAllSelected:r.onAllSelected,onOrderChange:r.onChangeOrder,actionsHeaderIndex:e.options.actionsColumnIndex,sorting:e.options.sorting,keepSortDirectionOnColumnSwitch:e.options.keepSortDirectionOnColumnSwitch,grouping:e.options.grouping,isTreeData:void 0!==r.props.parentChildData,draggable:e.options.draggable,thirdSortClick:e.options.thirdSortClick,treeDataMaxLevel:r.state.treeDataMaxLevel,options:e.options,onColumnResized:r.onColumnResized,scrollWidth:r.state.width,tableWidth:null!==(t=e.options.tableWidth)&&void 0!==t?t:\"full\"}),b.default.createElement(e.components.Body,{actions:e.actions,components:e.components,icons:e.icons,renderData:r.state.renderData,data:r.state.data,renderSummaryRow:r.props.renderSummaryRow,currentPage:r.state.currentPage,initialFormData:e.initialFormData,pageSize:r.state.pageSize,columns:r.state.columns,errorState:r.state.errorState,detailPanel:e.detailPanel,options:e.options,getFieldValue:r.dataManager.getFieldValue,isTreeData:void 0!==r.props.parentChildData,onFilterChanged:r.onFilterChange,onRowSelected:r.onRowSelected,onGroupSelected:r.onGroupSelected,onToggleDetailPanel:r.onToggleDetailPanel,onGroupExpandChanged:r.onGroupExpandChanged,onTreeExpandChanged:r.onTreeExpandChanged,onEditingCanceled:r.onEditingCanceled,onEditingApproved:r.onEditingApproved,localization:E(E({},n.defaultProps.localization.body),r.props.localization.body),onRowClick:r.props.onRowClick,onRowDoubleClick:r.props.onRowDoubleClick,showAddRow:r.state.showAddRow,hasAnyEditingRow:!(!r.state.lastEditingRow&&!r.state.showAddRow),hasDetailPanel:!!e.detailPanel,treeDataMaxLevel:r.state.treeDataMaxLevel,cellEditable:e.cellEditable,onCellEditStarted:r.onCellEditStarted,onCellEditFinished:r.onCellEditFinished,bulkEditOpen:r.dataManager.bulkEditOpen,bulkEditChangedRows:r.dataManager.bulkEditChangedRows,onBulkEditRowChanged:r.dataManager.onBulkEditRowChanged,scrollWidth:r.state.width}))})),(0,v.default)((0,h.default)(r),\"getColumnsWidth\",(function(e,t){var n=[],a=T.actionsColumnWidth(e);if(a>0&&(t>0&&e.options.actionsColumnIndex>=0&&e.options.actionsColumnIndex<t||t<0&&e.options.actionsColumnIndex<0&&e.options.actionsColumnIndex>=t)&&n.push(a+\"px\"),e.options.selection&&t>0){var i=T.selectionMaxWidth(e,r.state.treeDataMaxLevel);n.push(i+\"px\")}for(var o=0;o<Math.abs(t)&&o<r.state.columns.length;o++){var l=r.state.columns[t>=0?o:r.state.columns.length-1-o];l.tableData&&(\"number\"==typeof l.tableData.width?n.push(l.tableData.width+\"px\"):n.push(l.tableData.width))}return\"calc(\"+n.join(\" + \")+\")\"}));var a=r.getProps(e);r.setDataManagerFields(a,!0);var i=r.dataManager.getRenderState();return r.state=E(E({data:[],errorState:void 0},i),{},{query:{filters:i.columns.filter((function(e){return e.tableData.filterValue})).map((function(e){return{column:e,operator:\"=\",value:e.tableData.filterValue}})),orderBy:i.columns.find((function(e){return e.tableData.id===i.orderBy})),orderDirection:i.orderDirection,page:0,pageSize:a.options.pageSize,search:i.searchText,totalCount:0},showAddRow:!1,bulkEditOpen:!1,width:0,tableInitialWidthPx:void 0,tableStyleWidth:\"100%\"}),r.tableContainerDiv=b.default.createRef(),r}return(0,p.default)(n,[{key:\"componentDidMount\",value:function(){var e=this;this.setState(E(E({},this.dataManager.getRenderState()),{},{width:this.tableContainerDiv.current.scrollWidth}),(function(){e.isRemoteData()&&e.onQueryChange(E(E({},e.state.query),{},{page:e.props.options.initialPage||0})),void 0!==e.props.onDoubleRowClick&&console.error(\"Property `onDoubleRowClick` has been renamed to `onRowDoubleClick`\")}))}},{key:\"setDataManagerFields\",value:function(e,t,n){var r,a={};if(e.options.persistentGroupingsId){var i=localStorage.getItem(\"material-table-groupings\");i&&(i=JSON.parse(i))[e.options.persistentGroupingsId]&&i[e.options.persistentGroupingsId].forEach((function(e){a[e.field]={groupOrder:e.groupOrder,groupSort:e.groupSort,columnOrder:e.columnOrder}}))}this.dataManager.setTableWidth(null!==(r=e.options.tableWidth)&&void 0!==r?r:\"full\"),this.dataManager.setColumns(e.columns,n,a),this.dataManager.setDefaultExpanded(e.options.defaultExpanded),this.dataManager.changeRowEditing(),this.isRemoteData(e)?(this.dataManager.changeApplySearch(!1),this.dataManager.changeApplyFilters(!1),this.dataManager.changeApplySort(!1)):(this.dataManager.changeApplySearch(!0),this.dataManager.changeApplyFilters(!0),this.dataManager.changeApplySort(!0),this.dataManager.setData(e.data,e.options.idSynonym));var o=-1,l=\"\",s=-1,u=\"\";e&&!1!==e.options.sorting&&(l=(o=e.columns.findIndex((function(e){return e.defaultSort&&!1!==e.sorting})))>-1?e.columns[o].defaultSort:\"\"),n&&(u=(s=n.findIndex((function(e){return e.defaultSort&&!1!==e.sorting})))>-1?e.columns[s].defaultSort:\"\"),(t||!this.isRemoteData()&&l&&(o!==s||l!==u)&&(o!==this.dataManager.orderBy||l!==this.dataManager.orderDirection))&&this.dataManager.changeOrder(o,l),t&&this.dataManager.changeSearchText(e.options.searchText||\"\"),t&&this.dataManager.changeSearchDebounce(e.options.searchDebounceDelay),t&&this.dataManager.changeCurrentPage(e.options.initialPage?e.options.initialPage:0),t&&this.dataManager.changePageSize(e.options.pageSize),this.dataManager.changePaging(!this.isRemoteData()&&e.options.paging),t&&this.dataManager.changeParentFunc(e.parentChildData),this.dataManager.changeDetailPanelType(e.options.detailPanelType)}},{key:\"cleanColumns\",value:function(e){return e.map((function(e){var t=E({},e);return delete t.tableData,t}))}},{key:\"componentDidUpdate\",value:function(e){var t=this.cleanColumns(e.columns),n=this.cleanColumns(this.props.columns),r=!(0,w.default)(t,n)||!(0,w.default)(e.options,this.props.options);if(this.isRemoteData()||(r=r||!(0,w.default)(e.data,this.props.data)),r){var a=this.getProps(this.props);this.setDataManagerFields(a,!1,e.columns),this.setState(this.dataManager.getRenderState())}var i=this.isRemoteData()?this.state.query.totalCount:this.state.data.length,o=this.isRemoteData()?this.state.query.page:this.state.currentPage,l=this.isRemoteData()?this.state.query.pageSize:this.state.pageSize;i<=l*o&&0!==o&&this.onPageChange(null,Math.max(0,Math.ceil(i/l)-1))}},{key:\"getProps\",value:function(e,t){var r=this,a=E({},e||this.props);a.components=E(E({},n.defaultProps.components),a.components),a.icons=E(E({},n.defaultProps.icons),a.icons),a.options=E(E({},n.defaultProps.options),a.options);var i=E(E({},n.defaultProps.localization.body),a.localization.body);return a.actions=(0,u.default)(a.actions||[]),a.options.selection?a.actions=a.actions.filter((function(e){return e})).map((function(e){return\"auto\"===e.position||!1===e.isFreeAction||void 0===e.position&&void 0===e.isFreeAction?\"function\"==typeof e?{action:e,position:\"toolbarOnSelect\"}:E(E({},e),{},{position:\"toolbarOnSelect\"}):e.isFreeAction?\"function\"==typeof e?{action:e,position:\"toolbar\"}:E(E({},e),{},{position:\"toolbar\"}):e})):a.actions=a.actions.filter((function(e){return e})).map((function(e){return\"auto\"===e.position||!1===e.isFreeAction||void 0===e.position&&void 0===e.isFreeAction?\"function\"==typeof e?{action:e,position:\"row\"}:E(E({},e),{},{position:\"row\"}):e.isFreeAction?\"function\"==typeof e?{action:e,position:\"toolbar\"}:E(E({},e),{},{position:\"toolbar\"}):e})),a.editable&&(a.editable.onRowAdd&&a.actions.push({icon:a.icons.Add,tooltip:i.addTooltip,position:\"toolbar\",disabled:!!this.dataManager.lastEditingRow,onClick:function(){r.dataManager.changeRowEditing(),r.state.showAddRow&&r.props.editable.onRowAddCancelled&&r.props.editable.onRowAddCancelled(),r.setState(E(E({},r.dataManager.getRenderState()),{},{showAddRow:!r.state.showAddRow}))}}),a.editable.onRowUpdate&&a.actions.push((function(e){return{icon:a.icons.Edit,tooltip:a.editable.editTooltip?a.editable.editTooltip(e):i.editTooltip,disabled:a.editable.isEditable&&!a.editable.isEditable(e),hidden:a.editable.isEditHidden&&a.editable.isEditHidden(e),onClick:function(e,t){r.dataManager.changeRowEditing(t,\"update\"),r.setState(E(E({},r.dataManager.getRenderState()),{},{showAddRow:!1}))}}})),a.editable.onRowDelete&&a.actions.push((function(e){return{icon:a.icons.Delete,tooltip:a.editable.deleteTooltip?a.editable.deleteTooltip(e):i.deleteTooltip,disabled:a.editable.isDeletable&&!a.editable.isDeletable(e),hidden:a.editable.isDeleteHidden&&a.editable.isDeleteHidden(e),onClick:function(e,t){r.dataManager.changeRowEditing(t,\"delete\"),r.setState(E(E({},r.dataManager.getRenderState()),{},{showAddRow:!1}))}}})),a.editable.onBulkUpdate&&(a.actions.push({icon:a.icons.Edit,tooltip:i.bulkEditTooltip,position:\"toolbar\",hidden:this.dataManager.bulkEditOpen,onClick:function(){r.dataManager.changeBulkEditOpen(!0),r.props.onBulkEditOpen&&r.props.onBulkEditOpen(!0),r.setState(r.dataManager.getRenderState())}}),a.actions.push({icon:a.icons.Check,tooltip:i.bulkEditApprove,position:\"toolbar\",hidden:!this.dataManager.bulkEditOpen,onClick:function(){return r.onEditingApproved(\"bulk\")}}),a.actions.push({icon:a.icons.Clear,tooltip:i.bulkEditCancel,position:\"toolbar\",hidden:!this.dataManager.bulkEditOpen,onClick:function(){r.dataManager.changeBulkEditOpen(!1),r.props.onBulkEditOpen&&r.props.onBulkEditOpen(!1),r.dataManager.clearBulkEditChangedRows(),r.setState(r.dataManager.getRenderState())}}))),a}},{key:\"renderFooter\",value:function(){var e=this.getProps();if(e.options.paging){var t=E(E({},n.defaultProps.localization.pagination),this.props.localization.pagination),r=this.isOutsidePageNumbers(e),a=r?Math.min(e.page,Math.floor(e.totalCount/this.state.pageSize)):this.state.currentPage,i=r?e.totalCount:this.state.data.length;return b.default.createElement(c.default,null,b.default.createElement(o.default,{style:{display:\"grid\"}},b.default.createElement(l.default,null,b.default.createElement(e.components.Pagination,{classes:{root:e.classes.paginationRoot,toolbar:e.classes.paginationToolbar,caption:e.classes.paginationCaption,selectRoot:e.classes.paginationSelectRoot},style:{float:\"rtl\"===e.theme.direction?\"\":\"right\",overflowX:\"auto\"},colSpan:3,count:this.isRemoteData()?this.state.query.totalCount:i,icons:e.icons,rowsPerPage:this.state.pageSize,rowsPerPageOptions:e.options.pageSizeOptions,SelectProps:{renderValue:function(e){return b.default.createElement(\"div\",{style:{padding:\"0px 5px\"}},e+\" \"+t.labelRowsSelect+\" \")}},page:this.isRemoteData()?this.state.query.page:a,onPageChange:this.onPageChange,onRowsPerPageChange:this.onRowsPerPageChange,ActionsComponent:function(n){return\"normal\"===e.options.paginationType?b.default.createElement(M.MTablePagination,(0,s.default)({},n,{icons:e.icons,localization:t,showFirstLastPageButtons:e.options.showFirstLastPageButtons})):b.default.createElement(M.MTableSteppedPagination,(0,s.default)({},n,{icons:e.icons,localization:t,showFirstLastPageButtons:e.options.showFirstLastPageButtons}))},labelDisplayedRows:function(e){return t.labelDisplayedRows.replace(\"{from}\",e.from).replace(\"{to}\",e.to).replace(\"{count}\",e.count)},labelRowsPerPage:t.labelRowsPerPage}))))}}},{key:\"render\",value:function(){var e=this,t=this.getProps();return b.default.createElement(_.DragDropContext,{onDragEnd:this.onDragEnd,nonce:t.options.cspNonce},b.default.createElement(t.components.Container,{style:E({position:\"relative\"},t.style)},\"top\"===t.options.paginationPosition||\"both\"===t.options.paginationPosition?this.renderFooter():null,t.options.toolbar&&b.default.createElement(t.components.Toolbar,{actions:t.actions,components:t.components,selectedRows:this.state.selectedCount>0?this.state.originalData.filter((function(e){return e.tableData.checked})):[],columns:this.state.columns,columnsButton:t.options.columnsButton,icons:t.icons,exportAllData:t.options.exportAllData,exportMenu:t.options.exportMenu,getFieldValue:this.dataManager.getFieldValue,data:this.state.data,renderData:this.state.renderData,search:t.options.search,showTitle:t.options.showTitle,showTextRowsSelected:t.options.showTextRowsSelected,toolbarButtonAlignment:t.options.toolbarButtonAlignment,searchFieldAlignment:t.options.searchFieldAlignment,searchAutoFocus:t.options.searchAutoFocus,searchFieldStyle:t.options.searchFieldStyle,searchFieldVariant:t.options.searchFieldVariant,title:t.title,searchText:this.dataManager.searchText,searchDebounceDelay:this.dataManager.searchDebounceDelay,onSearchChanged:this.onSearchChangeDebounce,isRemoteData:this.isRemoteData(),dataManager:this.dataManager,onColumnsChanged:this.onChangeColumnHidden,localization:E(E({},n.defaultProps.localization.toolbar),this.props.localization.toolbar)}),t.options.grouping&&b.default.createElement(t.components.Groupbar,{icons:t.icons,localization:E(E({},n.defaultProps.localization.grouping),t.localization.grouping),groupColumns:this.state.columns.filter((function(e){return e.tableData.groupOrder>-1})).sort((function(e,t){return e.tableData.groupOrder-t.tableData.groupOrder})),onSortChanged:this.onChangeGroupOrder,onGroupRemoved:this.onGroupRemoved,persistentGroupingsId:t.options.persistentGroupingsId}),b.default.createElement(M.MTableScrollbar,{double:t.options.doubleHorizontalScroll},b.default.createElement(_.Droppable,{droppableId:\"headers\",direction:\"horizontal\"},(function(n,r){var a=e.renderTable(t);return b.default.createElement(\"div\",{ref:n.innerRef},b.default.createElement(\"div\",{ref:e.tableContainerDiv,style:{maxHeight:t.options.maxBodyHeight,minHeight:t.options.minBodyHeight,overflowY:t.options.overflowY}},e.state.width&&t.options.fixedColumns&&t.options.fixedColumns.right?b.default.createElement(\"div\",{style:{width:e.getColumnsWidth(t,-1*t.options.fixedColumns.right),position:\"absolute\",top:0,right:0,boxShadow:\"-2px 0px 15px rgba(125,147,178,.25)\",overflowX:\"clip\",zIndex:11}},b.default.createElement(\"div\",{style:{width:e.state.width,background:\"white\",transform:\"translateX(calc(\".concat(e.getColumnsWidth(t,-1*t.options.fixedColumns.right),\" - 100%))\")}},a)):null,b.default.createElement(\"div\",null,a),e.state.width&&t.options.fixedColumns&&t.options.fixedColumns.left?b.default.createElement(\"div\",{style:{width:e.getColumnsWidth(t,t.options.fixedColumns.left),position:\"absolute\",top:0,left:0,boxShadow:\"2px 0px 15px rgba(125,147,178,.25)\",overflowX:\"hidden\",zIndex:11}},b.default.createElement(\"div\",{style:{width:e.state.width,background:\"white\"},onKeyDown:function(e){\"Tab\"===e.key&&e.preventDefault()}},a)):null),n.placeholder)}))),(this.state.isLoading||t.isLoading)&&\"linear\"===t.options.loadingType&&b.default.createElement(\"div\",{style:{position:\"relative\",width:\"100%\"}},b.default.createElement(\"div\",{style:{position:\"absolute\",top:0,left:0,height:\"100%\",width:\"100%\"}},b.default.createElement(i.default,null))),\"bottom\"===t.options.paginationPosition||\"both\"===t.options.paginationPosition?this.renderFooter():null,(this.state.isLoading||t.isLoading)&&\"overlay\"===t.options.loadingType&&b.default.createElement(\"div\",{style:{position:\"absolute\",top:0,left:0,height:\"100%\",width:\"100%\",zIndex:11}},b.default.createElement(t.components.OverlayLoading,{theme:t.theme})),this.state.errorState&&\"query\"===this.state.errorState.errorCause&&b.default.createElement(\"div\",{style:{position:\"absolute\",top:0,left:0,height:\"100%\",width:\"100%\",zIndex:11}},b.default.createElement(t.components.OverlayError,{error:this.state.errorState,retry:this.retry,theme:t.theme,icon:t.icons.Retry}))))}}]),n}(b.default.Component);t.default=O},86003:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.propTypes=void 0;var a=r(n(45697)),i=a.default.shape({current:a.default.element}),o=a.default.shape({classes:a.default.object,innerRef:i}),l={actions:a.default.arrayOf(a.default.oneOfType([a.default.func,a.default.shape({icon:a.default.oneOfType([a.default.element,a.default.func,a.default.string,i]).isRequired,isFreeAction:a.default.bool,position:a.default.oneOf([\"auto\",\"toolbar\",\"toolbarOnSelect\",\"row\"]),tooltip:a.default.string,onClick:a.default.func.isRequired,onMouseEnter:a.default.func,onMouseLeave:a.default.func,iconProps:a.default.object,disabled:a.default.bool,hidden:a.default.bool}),a.default.shape({action:a.default.func,position:a.default.oneOf([\"auto\",\"toolbar\",\"toolbarOnSelect\",\"row\"])})])),renderSummaryRow:a.default.func,columns:a.default.arrayOf(a.default.shape({cellStyle:a.default.oneOfType([a.default.object,a.default.func]),currencySetting:a.default.shape({locale:a.default.string,currencyCode:a.default.string,minimumFractionDigits:a.default.number,maximumFractionDigits:a.default.number}),ariaLabel:a.default.string,ariaSortAsc:a.default.string,ariaSortDesc:a.default.string,draggable:a.default.bool,customFilterAndSearch:a.default.func,customSort:a.default.func,customExport:a.default.func,defaultFilter:a.default.any,defaultSort:a.default.oneOf([\"asc\",\"desc\"]),editComponent:a.default.oneOfType([a.default.element,a.default.func]),emptyValue:a.default.oneOfType([a.default.string,a.default.node,a.default.func]),export:a.default.bool,field:a.default.string,filtering:a.default.bool,filterCellStyle:a.default.object,filterPlaceholder:a.default.string,filterComponent:a.default.oneOfType([a.default.element,a.default.func]),grouping:a.default.bool,headerStyle:a.default.object,hidden:a.default.bool,hideFilterIcon:a.default.bool,initialEditValue:a.default.any,lookup:a.default.object,editable:a.default.oneOfType([a.default.func,a.default.oneOf([\"always\",\"onUpdate\",\"onAdd\",\"never\"])]),removable:a.default.bool,render:a.default.func,searchable:a.default.bool,sorting:a.default.bool,title:a.default.oneOfType([a.default.element,a.default.string]),type:a.default.oneOf([\"string\",\"boolean\",\"numeric\",\"date\",\"datetime\",\"time\",\"currency\"])})).isRequired,components:a.default.shape({Action:a.default.oneOfType([a.default.element,a.default.func,o]),Actions:a.default.oneOfType([a.default.element,a.default.func,o]),Body:a.default.oneOfType([a.default.element,a.default.func,o]),Cell:a.default.oneOfType([a.default.element,a.default.func,o]),Container:a.default.oneOfType([a.default.element,a.default.func,o]),EditField:a.default.oneOfType([a.default.element,a.default.func,o]),EditRow:a.default.oneOfType([a.default.element,a.default.func,o]),FilterRow:a.default.oneOfType([a.default.element,a.default.func,o]),Groupbar:a.default.oneOfType([a.default.element,a.default.func,o]),GroupRow:a.default.oneOfType([a.default.element,a.default.func,o]),Header:a.default.oneOfType([a.default.element,a.default.func,o]),OverlayLoading:a.default.oneOfType([a.default.element,a.default.func,o]),OverlayError:a.default.oneOfType([a.default.element,a.default.func,o]),Pagination:a.default.oneOfType([a.default.element,a.default.func,o]),Row:a.default.oneOfType([a.default.element,a.default.func,o]),Toolbar:a.default.oneOfType([a.default.element,a.default.func,o])}),data:a.default.oneOfType([a.default.arrayOf(a.default.object),a.default.func]).isRequired,editable:a.default.shape({isEditable:a.default.func,isDeletable:a.default.func,onRowAdd:a.default.func,onRowUpdate:a.default.func,onRowDelete:a.default.func,onRowAddCancelled:a.default.func,onRowUpdateCancelled:a.default.func,isEditHidden:a.default.func,isDeleteHidden:a.default.func}),detailPanel:a.default.oneOfType([a.default.func,a.default.arrayOf(a.default.oneOfType([a.default.func,a.default.shape({disabled:a.default.bool,icon:a.default.oneOfType([a.default.element,a.default.func,a.default.string,i]),openIcon:a.default.oneOfType([a.default.element,a.default.func,a.default.string,i]),tooltip:a.default.string,render:a.default.func.isRequired})]))]),icons:a.default.shape({Add:a.default.oneOfType([a.default.element,a.default.func,i]),Check:a.default.oneOfType([a.default.element,a.default.func,i]),Clear:a.default.oneOfType([a.default.element,a.default.func,i]),Delete:a.default.oneOfType([a.default.element,a.default.func,i]),DetailPanel:a.default.oneOfType([a.default.element,a.default.func,i]),Edit:a.default.oneOfType([a.default.element,a.default.func,i]),Export:a.default.oneOfType([a.default.element,a.default.func,i]),Filter:a.default.oneOfType([a.default.element,a.default.func,i]),FirstPage:a.default.oneOfType([a.default.element,a.default.func,i]),LastPage:a.default.oneOfType([a.default.element,a.default.func,i]),NextPage:a.default.oneOfType([a.default.element,a.default.func,i]),PreviousPage:a.default.oneOfType([a.default.element,a.default.func,i]),Refresh:a.default.oneOfType([a.default.element,a.default.func,i]),ResetSearch:a.default.oneOfType([a.default.element,a.default.func,i]),Search:a.default.oneOfType([a.default.element,a.default.func,i]),SortArrow:a.default.oneOfType([a.default.element,a.default.func,i]),ThirdStateCheck:a.default.oneOfType([a.default.element,a.default.func,i]),ViewColumn:a.default.oneOfType([a.default.element,a.default.func,i])}),isLoading:a.default.bool,title:a.default.oneOfType([a.default.element,a.default.string]),options:a.default.shape({actionsCellStyle:a.default.object,editCellStyle:a.default.object,idSynonym:a.default.string,detailPanelColumnStyle:a.default.object,actionsColumnIndex:a.default.number,addRowPosition:a.default.oneOf([\"first\",\"last\"]),columnsButton:a.default.bool,defaultExpanded:a.default.oneOfType([a.default.bool,a.default.func]),debounceInterval:a.default.number,detailPanelType:a.default.oneOf([\"single\",\"multiple\"]),doubleHorizontalScroll:a.default.bool,emptyRowsWhenPaging:a.default.bool,exportAllData:a.default.bool,exportMenu:a.default.arrayOf(a.default.shape({label:a.default.string,exportFunc:a.default.func})),filtering:a.default.bool,filterCellStyle:a.default.object,filterRowStyle:a.default.object,header:a.default.bool,headerSelectionProps:a.default.object,headerStyle:a.default.object,hideFilterIcons:a.default.bool,initialPage:a.default.number,maxBodyHeight:a.default.oneOfType([a.default.number,a.default.string]),minBodyHeight:a.default.oneOfType([a.default.number,a.default.string]),loadingType:a.default.oneOf([\"overlay\",\"linear\"]),overflowY:a.default.oneOf([\"visible\",\"hidden\",\"scroll\",\"auto\",\"initial\",\"inherit\"]),padding:a.default.oneOf([\"default\",\"dense\"]),paging:a.default.bool,pageSize:a.default.number,pageSizeOptions:a.default.arrayOf(a.default.number),paginationType:a.default.oneOf([\"normal\",\"stepped\"]),paginationPosition:a.default.oneOf([\"bottom\",\"top\",\"both\"]),persistentGroupingsId:a.default.string,rowStyle:a.default.oneOfType([a.default.object,a.default.func]),search:a.default.bool,searchText:a.default.string,searchDebounceDelay:a.default.number,toolbarButtonAlignment:a.default.oneOf([\"left\",\"right\"]),searchFieldAlignment:a.default.oneOf([\"left\",\"right\"]),searchFieldStyle:a.default.object,searchAutoFocus:a.default.bool,searchFieldVariant:a.default.oneOf([\"standard\",\"filled\",\"outlined\"]),selection:a.default.bool,selectionProps:a.default.oneOfType([a.default.object,a.default.func]),showEmptyDataSourceMessage:a.default.bool,showFirstLastPageButtons:a.default.bool,showSelectAllCheckbox:a.default.bool,showSelectGroupCheckbox:a.default.bool,showTitle:a.default.bool,showTextRowsSelected:a.default.bool,sorting:a.default.bool,keepSortDirectionOnColumnSwitch:a.default.bool,toolbar:a.default.bool,thirdSortClick:a.default.bool}),localization:a.default.shape({grouping:a.default.shape({groupedBy:a.default.string,placeholder:a.default.string}),pagination:a.default.object,toolbar:a.default.object,header:a.default.object,body:a.default.object}),initialFormData:a.default.object,onSearchChange:a.default.func,onFilterChange:a.default.func,onColumnDragged:a.default.func,onColumnResized:a.default.func,onGroupRemoved:a.default.func,onSelectionChange:a.default.func,onRowsPerPageChange:a.default.func,onPageChange:a.default.func,onChangeColumnHidden:a.default.func,onOrderChange:a.default.func,onRowClick:a.default.func,onRowDoubleClick:a.default.func,onTreeExpandChange:a.default.func,onQueryChange:a.default.func,onBulkEditOpen:a.default.func,tableRef:a.default.any,style:a.default.object,page:a.default.number,totalCount:a.default.number};t.propTypes=l},5061:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.widthToNumber=t.reducePercentsInCalc=t.selectionMaxWidth=t.actionsColumnWidth=t.rowActions=t.baseIconSize=t.elementSize=void 0;var n=function(e){return\"default\"===e.options.padding?\"medium\":\"small\"};t.elementSize=n;var r=function(e){return\"medium\"===n(e)?48:32};t.baseIconSize=r;var a=function(e){return e.actions?e.actions.filter((function(e){return\"row\"===e.position||\"function\"==typeof e})):[]};t.rowActions=a;t.actionsColumnWidth=function(e){return a(e).length*r(e)};t.selectionMaxWidth=function(e,t){return r(e)+9*t};t.reducePercentsInCalc=function(e,t){var n=e.match(/(\\d*)%/);if(n&&n.length>1){var r=n[1];return e.replace(/\\d*%/,\"\".concat(t*(r/100),\"px\"))}return e.replace(/\\d*%/,\"\".concat(t,\"px\"))};t.widthToNumber=function(e){return\"number\"==typeof e?e:e&&e.match(/^\\s*\\d+(px)?\\s*$/)?Number(e.replace(/px$/,\"\")):NaN}},35200:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=r(n(66490)),i=r(n(24452)),o=r(n(10294)),l=r(n(45696)),s=r(n(49546)),u=r(n(55877)),c=n(1150),f=n(5061);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){function e(){var t=this;(0,i.default)(this,e),(0,l.default)(this,\"checkForId\",!1),(0,l.default)(this,\"applyFilters\",!1),(0,l.default)(this,\"applySearch\",!1),(0,l.default)(this,\"applySort\",!1),(0,l.default)(this,\"currentPage\",0),(0,l.default)(this,\"detailPanelType\",\"multiple\"),(0,l.default)(this,\"lastDetailPanelRow\",void 0),(0,l.default)(this,\"lastEditingRow\",void 0),(0,l.default)(this,\"orderBy\",-1),(0,l.default)(this,\"orderDirection\",\"desc\"),(0,l.default)(this,\"pageSize\",5),(0,l.default)(this,\"paging\",!0),(0,l.default)(this,\"parentFunc\",null),(0,l.default)(this,\"searchText\",\"\"),(0,l.default)(this,\"searchDebounceDelay\",500),(0,l.default)(this,\"selectedCount\",0),(0,l.default)(this,\"treefiedDataLength\",0),(0,l.default)(this,\"treeDataMaxLevel\",0),(0,l.default)(this,\"groupedDataLength\",0),(0,l.default)(this,\"defaultExpanded\",!1),(0,l.default)(this,\"bulkEditOpen\",!1),(0,l.default)(this,\"bulkEditChangedRows\",{}),(0,l.default)(this,\"data\",[]),(0,l.default)(this,\"columns\",[]),(0,l.default)(this,\"filteredData\",[]),(0,l.default)(this,\"searchedData\",[]),(0,l.default)(this,\"groupedData\",[]),(0,l.default)(this,\"treefiedData\",[]),(0,l.default)(this,\"sortedData\",[]),(0,l.default)(this,\"pagedData\",[]),(0,l.default)(this,\"renderData\",[]),(0,l.default)(this,\"filtered\",!1),(0,l.default)(this,\"searched\",!1),(0,l.default)(this,\"grouped\",!1),(0,l.default)(this,\"treefied\",!1),(0,l.default)(this,\"sorted\",!1),(0,l.default)(this,\"paged\",!1),(0,l.default)(this,\"tableWidth\",\"full\"),(0,l.default)(this,\"tableStyleWidth\",\"100%\"),(0,l.default)(this,\"rootGroupsIndex\",{}),(0,l.default)(this,\"changeGroupSelected\",(function(e,n){var r,a=t.groupedData;n.forEach((function(e){r=a.find((function(t){return t.value==e})),a=r.groups}));!function n(r){r.forEach((function(r){r.groups.length>0?n(r.groups):r.data.forEach((function(n){n.tableData.checked!=e&&(n.tableData.checked=!n.tableData.disabled&&e,t.selectedCount=t.selectedCount+(e?1:-1))}))}))}([r])})),(0,l.default)(this,\"startCellEditable\",(function(e,t){e.tableData.editCellList=[].concat((0,a.default)(e.tableData.editCellList||[]),[t])})),(0,l.default)(this,\"finishCellEditable\",(function(e,t){if(e.tableData.editCellList){var n=e.tableData.editCellList.findIndex((function(e){return e.tableData.id===t.tableData.id}));-1!==n&&e.tableData.editCellList.splice(n,1)}})),(0,l.default)(this,\"clearBulkEditChangedRows\",(function(){t.bulkEditChangedRows={}})),(0,l.default)(this,\"onBulkEditRowChanged\",(function(e,n){t.bulkEditChangedRows[e.tableData.id]={oldData:e,newData:n}})),(0,l.default)(this,\"expandTreeForNodes\",(function(e){e.forEach((function(e){for(var n=e;t.parentFunc(n,t.data);){var r=t.parentFunc(n,t.data);r&&(r.tableData.isTreeExpanded=!0),n=r}}))})),(0,l.default)(this,\"findDataByPath\",(function(e,n){if(t.isDataType(\"tree\"))return n.reduce((function(e,t){return e&&e.tableData&&e.tableData.childRows&&e.tableData.childRows.find((function(e){return e&&e.tableData.uuid===t}))}),{tableData:{childRows:e}});var r={groups:e};return n.reduce((function(e,t){return e.groups.length>0?e.groups[t]:e.data?e.data[t]||e.data.find((function(e){var n;return(null===(n=e.tableData)||void 0===n?void 0:n.uuid)===t})):void 0}),r)})),(0,l.default)(this,\"getFieldValue\",(function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=void 0!==e[t.field]?e[t.field]:(0,c.selectFromObject)(e,t.field);return t.lookup&&n&&(r=t.lookup[r]),r})),(0,l.default)(this,\"getRenderState\",(function(){return!1===t.filtered&&t.filterData(),!1===t.searched&&t.searchData(),!1===t.grouped&&t.isDataType(\"group\")&&t.groupData(),!1===t.treefied&&t.isDataType(\"tree\")&&t.treefyData(),!1===t.sorted&&t.sortData(),!1===t.paged&&t.pageData(),{columns:t.columns,currentPage:t.currentPage,data:t.sortedData,lastEditingRow:t.lastEditingRow,orderBy:t.orderBy,orderDirection:t.orderDirection,originalData:t.data,pageSize:t.pageSize,renderData:t.pagedData,searchText:t.searchText,selectedCount:t.selectedCount,treefiedDataLength:t.treefiedDataLength,treeDataMaxLevel:t.treeDataMaxLevel,groupedDataLength:t.groupedDataLength,tableStyleWidth:t.tableStyleWidth}})),(0,l.default)(this,\"filterData\",(function(){t.searched=t.grouped=t.treefied=t.sorted=t.paged=!1,t.filteredData=(0,a.default)(t.data),t.applyFilters&&t.columns.filter((function(e){return e.tableData.filterValue})).forEach((function(e){var n=e.lookup,r=e.type,a=e.tableData;e.customFilterAndSearch?t.filteredData=t.filteredData.filter((function(t){return!!e.customFilterAndSearch(a.filterValue,t,e)})):n?t.filteredData=t.filteredData.filter((function(n){var r=t.getFieldValue(n,e,!1);return!a.filterValue||0===a.filterValue.length||a.filterValue.indexOf(null!=r&&r.toString())>-1})):\"numeric\"===r?t.filteredData=t.filteredData.filter((function(n){return t.getFieldValue(n,e)+\"\"===a.filterValue})):\"boolean\"===r&&a.filterValue?t.filteredData=t.filteredData.filter((function(n){var r=t.getFieldValue(n,e);return r&&\"checked\"===a.filterValue||!r&&\"unchecked\"===a.filterValue})):[\"date\",\"datetime\"].includes(r)?t.filteredData=t.filteredData.filter((function(n){var i=t.getFieldValue(n,e),o=i?new Date(i):null;if(o&&\"Invalid Date\"!==o.toString()){var l=a.filterValue,u=\"\",c=\"\";return\"date\"===r?(u=(0,s.default)(o,\"MM/dd/yyyy\"),c=(0,s.default)(l,\"MM/dd/yyyy\")):\"datetime\"===r&&(u=(0,s.default)(o,\"MM/dd/yyyy - HH:mm\"),c=(0,s.default)(l,\"MM/dd/yyyy - HH:mm\")),u===c}return!0})):t.filteredData=\"time\"===r?t.filteredData.filter((function(n){var r=t.getFieldValue(n,e)||null;if(r){var i=a.filterValue;return r===(0,s.default)(i,\"HH:mm\")}return!0})):t.filteredData.filter((function(n){var r=t.getFieldValue(n,e);return r&&r.toString().toUpperCase().includes(a.filterValue.toUpperCase())}))})),t.filtered=!0})),(0,l.default)(this,\"searchData\",(function(){if(t.grouped=t.treefied=t.sorted=t.paged=!1,t.searchedData=(0,a.default)(t.filteredData),t.searchText&&t.applySearch){var e=t.searchText.trim();t.searchedData=t.searchedData.filter((function(n){return t.columns.filter((function(e){return void 0===e.searchable?!e.hidden:e.searchable})).some((function(r){if(r.customFilterAndSearch)return!!r.customFilterAndSearch(e,n,r);if(r.field){var a=t.getFieldValue(n,r);if(a)return a.toString().toUpperCase().includes(e.toUpperCase())}}))}))}t.searched=!0}))}return(0,o.default)(e,[{key:\"setData\",value:function(e,t){var n=this;this.selectedCount=0;var r={};0!==this.data.length&&void 0!==this.data[0][t]&&(r=this.data.reduce((function(e,t){return e[t.tableData.id]=t.tableData,e}),{})),this.data=e.map((function(e,a){var i=r[e[t]]||{},o=p(p({id:e[t]||a,uuid:e.uuid||u.default.v4()},i),e.tableData);o.checked&&n.selectedCount++;var l=p(p({},e),{},{tableData:o});return n.lastDetailPanelRow&&n.lastDetailPanelRow.tableData===i&&(n.lastDetailPanelRow=l),n.lastEditingRow&&n.lastEditingRow.tableData===i&&(n.lastEditingRow=l),l})),this.filtered=!1}},{key:\"setTableWidth\",value:function(e){this.tableWidth=e}},{key:\"setColumns\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=0,a=[];this.columns=e.map((function(e,i){var o,l=(0,f.widthToNumber)(e.width),s=\"number\"==typeof e.width?e.width+\"px\":e.width;s&&(NaN!==l?r+=l:a.push(s));var u=t.find((function(e){return e.id===i})),c=null!==(o=n[e.field])&&void 0!==o?o:{},d=p(p(p(p({columnOrder:i,filterValue:e.defaultFilter,groupOrder:e.defaultGroupOrder,groupSort:e.defaultGroupSort||\"asc\",width:s,initialWidth:s,widthPx:NaN===l?void 0:l,additionalWidth:0},c),u?u.tableData:{}),e.tableData),{},{id:i});return e.tableData=d,e}));var i=this.columns.filter((function(e){return!e.hidden&&(!(e.columnDef&&e.columnDef.tableData&&e.columnDef.tableData.width)&&void 0===e.width)})),o=(0!==r?\"\".concat(r,\"px\"):\"0px\")+(a.length>0?\" - \"+a.join(\" - \"):\"\");i.forEach((function(e){e.tableData.width=e.tableData.initialWidth=\"calc((100% - \".concat(o,\") / \").concat(i.length,\")\")})),this.tableStyleWidth=\"full\"===this.tableWidth||i.length>0||a.length>0?\"100%\":r}},{key:\"setDefaultExpanded\",value:function(e){this.defaultExpanded=e}},{key:\"changeApplySearch\",value:function(e){this.applySearch=e,this.searched=!1}},{key:\"changeApplyFilters\",value:function(e){this.applyFilters=e,this.filtered=!1}},{key:\"changeApplySort\",value:function(e){this.applySort=e,this.sorted=!1}},{key:\"changePaging\",value:function(e){this.paging=e,this.paged=!1}},{key:\"changeCurrentPage\",value:function(e){this.currentPage=e,this.paged=!1}},{key:\"changePageSize\",value:function(e){this.pageSize=e,this.paged=!1}},{key:\"changeParentFunc\",value:function(e){this.parentFunc=e}},{key:\"changeFilterValue\",value:function(e,t){this.columns[e].tableData.filterValue=t,this.filtered=!1}},{key:\"changeRowSelected\",value:function(e,t){var n=this,r=this.findDataByPath(this.sortedData,t);r.tableData.checked=e,this.selectedCount=this.selectedCount+(e?1:-1);!function t(r){r.tableData.childRows&&r.tableData.childRows.forEach((function(r){r.tableData.checked!==e&&(r.tableData.checked=e,n.selectedCount=n.selectedCount+(e?1:-1)),t(r)}))}(r),this.filtered=!1}},{key:\"changeDetailPanelVisibility\",value:function(e,t){var n=this.findDataByPath(this.sortedData,e);(n.tableData.showDetailPanel||\"\").toString()===t.toString()?n.tableData.showDetailPanel=void 0:n.tableData.showDetailPanel=t,\"single\"===this.detailPanelType&&this.lastDetailPanelRow&&this.lastDetailPanelRow!=n&&(this.lastDetailPanelRow.tableData.showDetailPanel=void 0),this.lastDetailPanelRow=n}},{key:\"changeGroupExpand\",value:function(e){var t=this.findDataByPath(this.sortedData,e);t.isExpanded=!t.isExpanded}},{key:\"changeSearchText\",value:function(e){this.searchText=e,this.searched=!1,this.currentPage=0}},{key:\"changeSearchDebounce\",value:function(e){this.searchDebounceDelay=e}},{key:\"changeRowEditing\",value:function(e,t){e?(e.tableData.editing=t,this.lastEditingRow&&this.lastEditingRow!=e&&(this.lastEditingRow.tableData.editing=void 0),this.lastEditingRow=t?e:void 0):this.lastEditingRow&&(this.lastEditingRow.tableData.editing=void 0,this.lastEditingRow=void 0)}},{key:\"changeBulkEditOpen\",value:function(e){this.bulkEditOpen=e}},{key:\"changeAllSelected\",value:function(e,t){var n=0,r=function(n){var r=t?t(n):{disabled:!1};return!n.tableData.disabled&&!r.disabled&&e};if(this.isDataType(\"group\")){!function e(t){t.forEach((function(t){t.groups.length>0?e(t.groups):t.data.forEach((function(e){e.tableData.checked=r(e),n++}))}))}(this.groupedData)}else this.searchedData.forEach((function(e){e.tableData.checked=r(e)})),n=this.searchedData.length;this.selectedCount=e?n:0}},{key:\"changeOrder\",value:function(e,t){this.orderBy=e,this.orderDirection=t,this.currentPage=0,this.sorted=!1}},{key:\"changeGroupOrder\",value:function(e){var t=this.columns.find((function(t){return t.tableData.id===e}));\"asc\"===t.tableData.groupSort?t.tableData.groupSort=\"desc\":t.tableData.groupSort=\"asc\",this.sorted=!1}},{key:\"changeColumnHidden\",value:function(e,t){e.hidden=t,this.setColumns(this.columns)}},{key:\"changeTreeExpand\",value:function(e){var t=this.findDataByPath(this.sortedData,e);t.tableData.isTreeExpanded=!t.tableData.isTreeExpanded}},{key:\"changeDetailPanelType\",value:function(e){this.detailPanelType=e}},{key:\"changeByDrag\",value:function(e){var t=0,n=this.columns.filter((function(e){return e.tableData.groupOrder>-1})).sort((function(e,t){return e.tableData.groupOrder-t.tableData.groupOrder}));if(\"groups\"===e.destination.droppableId&&\"groups\"===e.source.droppableId){t=Math.min(e.destination.index,e.source.index);var r=Math.max(e.destination.index,e.source.index);if(n=n.slice(t,r+1),e.destination.index<e.source.index){var a=n.pop();n.unshift(a)}else{var i=n.shift();n.push(i)}}else if(\"groups\"===e.destination.droppableId&&\"headers\"===e.source.droppableId){var o=this.columns.find((function(t){return t.tableData.id==e.draggableId}));if(!1===o.grouping||!o.field)return;n.splice(e.destination.index,0,o)}else{if(\"headers\"!==e.destination.droppableId||\"groups\"!==e.source.droppableId){if(\"headers\"===e.destination.droppableId&&\"headers\"===e.source.droppableId){t=Math.min(e.destination.index,e.source.index);for(var l=Math.max(e.destination.index,e.source.index),s=this.columns.sort((function(e,t){return e.tableData.columnOrder-t.tableData.columnOrder})).filter((function(e){return void 0===e.tableData.groupOrder&&!e.hidden})),u=0,c=0,f=0;f<s.length&&c<=t;f++)s[f].hidden?u++:c++;for(var d=t+u,p=d,h=0;h<l-t&&p<s.length;p++)s[p].hidden||h++;var m=s.slice(d,p+1);if(e.destination.index<e.source.index){var g=m.pop();m.unshift(g)}else{var y=m.shift();m.push(y)}for(var v=0;v<m.length;v++)m[v].tableData.columnOrder=d+v;return}return}this.columns.find((function(t){return t.tableData.id==e.draggableId})).tableData.groupOrder=void 0,n.splice(e.source.index,1)}for(var b=0;b<n.length;b++)n[b].tableData.groupOrder=t+b;this.sorted=this.grouped=!1}},{key:\"onColumnResized\",value:function(e,t,n,r){var a=this.columns.find((function(t){return t.tableData.id===e}));if(!a)return[];var i=this.columns.find((function(t){return t.tableData.id===e+1}));if(\"full\"===this.tableWidth&&!i)return[];if(0===t)return\"full\"===this.tableWidth?[a,i]:[a];\"variable\"===this.tableWidth&&\"100%\"===this.tableStyleWidth&&(this.columns.forEach((function(e,t){return p(p({},e),{},{tableData:p(p({},e.tableData),{},{width:\"\".concat(r[t],\"px\"),widthPx:r[t]})})})),this.tableStyleWidth=r.reduce((function(e,t){return e+t})));var o=[a];return a.tableData.widthPx=n[0]+t,a.tableData.additionalWidth+=t,a.tableData.width=\"full\"===this.tableWidth?\"calc(\".concat(a.tableData.initialWidth,\" + \").concat(a.tableData.additionalWidth,\"px)\"):\"\".concat(a.tableData.widthPx,\"px\"),\"full\"===this.tableWidth&&(i.tableData.widthPx=n[1]-t,i.tableData.additionalWidth-=t,i.tableData.width=\"calc(\".concat(i.tableData.initialWidth,\" + \").concat(i.tableData.additionalWidth,\"px)\"),o.push(i)),\"variable\"===this.tableWidth&&(this.tableStyleWidth+=t),o}},{key:\"findGroupByGroupPath\",value:function(e,t){var n={groups:e,groupsIndex:this.rootGroupsIndex};return t.reduce((function(e,t){if(e)return void 0!==e.groupsIndex[t]?e.groups[e.groupsIndex[t]]:void 0}),n)}},{key:\"isDataType\",value:function(e){var t=\"normal\";return this.parentFunc?t=\"tree\":this.columns.find((function(e){return e.tableData.groupOrder>-1}))&&(t=\"group\"),e===t}},{key:\"sort\",value:function(e,t,n){if(\"numeric\"===n)return e-t;if(e!==t){if(!e)return-1;if(!t)return 1}return e<t?-1:e>t?1:0}},{key:\"sortList\",value:function(e){var t=this,n=this.columns.find((function(e){return e.tableData.id===t.orderBy}));n||(n=this.columns[0]);return n.customSort?\"desc\"===this.orderDirection?e.sort((function(e,t){return n.customSort(t,e,\"row\",\"desc\")})):e.sort((function(e,t){return n.customSort(e,t,\"row\")})):e.sort(\"desc\"===this.orderDirection?function(e,r){return t.sort(t.getFieldValue(r,n),t.getFieldValue(e,n),n.type)}:function(e,r){return t.sort(t.getFieldValue(e,n),t.getFieldValue(r,n),n.type)})}},{key:\"groupData\",value:function(){var e=this;this.sorted=this.paged=!1,this.groupedDataLength=0;var t=(0,a.default)(this.searchedData),n=this.columns.filter((function(e){return e.tableData.groupOrder>-1})).sort((function(e,t){return e.tableData.groupOrder-t.tableData.groupOrder})),r=t.reduce((function(t,r){var i=t;return(i=n.reduce((function(t,n){var i,o=r[n.field]||(0,c.selectFromObject)(r,n.field);if(void 0!==t.groupsIndex[o]&&(i=t.groups[t.groupsIndex[o]]),!i){var l=[].concat((0,a.default)(t.path||[]),[o]);i={value:o,groups:[],groupsIndex:{},data:[],isExpanded:(e.findGroupByGroupPath(e.groupedData,l)||{isExpanded:\"boolean\"==typeof e.defaultExpanded&&e.defaultExpanded}).isExpanded,path:l},t.groups.push(i),t.groupsIndex[o]=t.groups.length-1}return i}),i)).data.push(r),e.groupedDataLength++,t}),{groups:[],groupsIndex:{}});this.groupedData=r.groups,this.grouped=!0,this.rootGroupsIndex=r.groupsIndex}},{key:\"treefyData\",value:function(){var e=this;this.sorted=this.paged=!1,this.data.forEach((function(e){return e.tableData.childRows=null})),this.treefiedData=[],this.treefiedDataLength=0,this.treeDataMaxLevel=0,(this.searchText||this.columns.some((function(e){return e.tableData.filterValue})))&&(this.data.forEach((function(e){e.tableData.isTreeExpanded=!1})),this.expandTreeForNodes(this.searchedData));var t=function t(n){n.tableData.markedForTreeRemove=!1;var r=e.parentFunc(n,e.data);r?(r.tableData.childRows=r.tableData.childRows||[],r.tableData.childRows.includes(n)||(r.tableData.childRows.push(n),e.treefiedDataLength++),t(r),n.tableData.path=[].concat((0,a.default)(r.tableData.path),[r.tableData.childRows[r.tableData.childRows.length-1].tableData.uuid]),e.treeDataMaxLevel=Math.max(e.treeDataMaxLevel,n.tableData.path.length)):e.treefiedData.includes(n)||(e.treefiedData.push(n),e.treefiedDataLength++,n.tableData.path=[n.tableData.uuid])};this.data.forEach((function(e){t(e)}));var n=function e(t){t.tableData.childRows&&t.tableData.childRows.forEach((function(t){e(t)})),t.tableData.markedForTreeRemove=!1};this.data.forEach((function(t){if(!e.searchText&&!e.columns.some((function(e){return e.tableData.filterValue}))&&void 0===t.tableData.isTreeExpanded){var n=\"boolean\"==typeof e.defaultExpanded?e.defaultExpanded:e.defaultExpanded(t);t.tableData.isTreeExpanded=n}!t.tableData.isTreeExpanded&&e.searchedData.indexOf(t)<0&&function(t){var n=e.treefiedData;t.tableData.path.forEach((function(e){n.tableData&&n.tableData.childRows&&(n=n.tableData.childRows),Array.isArray(n)&&(n=n.find((function(t){return t.tableData.uuid===e})))})),n.tableData.markedForTreeRemove=!0}(t)})),this.data.forEach((function(t){e.searchedData.indexOf(t)>-1&&n(t)}));!function e(t){for(var n=t.length-1;n>=0;n--){var r=t[n];r.tableData.childRows&&e(r.tableData.childRows),r.tableData.markedForTreeRemove&&t.splice(n,1)}}(this.treefiedData),this.treefied=!0}},{key:\"sortData\",value:function(){var e=this;if(this.paged=!1,this.isDataType(\"group\")){this.sortedData=(0,a.default)(this.groupedData);var t=this.columns.filter((function(e){return e.tableData.groupOrder>-1})).sort((function(e,t){return e.tableData.groupOrder-t.tableData.groupOrder})),n=function(t,n){return n.customSort?t.sort(\"desc\"===n.tableData.groupSort?function(e,t){return n.customSort(t.value,e.value,\"group\")}:function(e,t){return n.customSort(e.value,t.value,\"group\")}):t.sort(\"desc\"===n.tableData.groupSort?function(t,r){return e.sort(r.value,t.value,n.type)}:function(t,r){return e.sort(t.value,r.value,n.type)})};this.sortedData=n(this.sortedData,t[0]);!function r(a,i){a.forEach((function(a){if(a.groups.length>0){var o=t[i];a.groups=n(a.groups,o),a.groupsIndex=function(e){return e.reduce((function(t,n){return t[n.value]=e.findIndex((function(e){return e.value===n.value})),t}),{})}(a.groups),r(a.groups,i+1)}else e.orderBy>=0&&e.orderDirection?a.data=e.sortList(a.data):\"\"===e.orderDirection&&(a.data=a.data.sort((function(t,n){return e.data.findIndex((function(e){return e.tableData.id===t.tableData.id}))-e.data.findIndex((function(e){return e.tableData.id===n.tableData.id}))})))}))}(this.sortedData,1)}else if(this.isDataType(\"tree\")){if(this.sortedData=(0,a.default)(this.treefiedData),-1!=this.orderBy){this.sortedData=this.sortList(this.sortedData);!function t(n){n.forEach((function(n){n.tableData.childRows&&(n.tableData.childRows=e.sortList(n.tableData.childRows),t(n.tableData.childRows))}))}(this.sortedData)}}else this.isDataType(\"normal\")&&(this.sortedData=(0,a.default)(this.searchedData),-1!=this.orderBy&&this.applySort&&(this.sortedData=this.sortList(this.sortedData)));this.sorted=!0}},{key:\"pageData\",value:function(){if(this.pagedData=(0,a.default)(this.sortedData),this.paging){var e=this.currentPage*this.pageSize,t=e+this.pageSize;this.pagedData=this.pagedData.slice(e,t)}this.paged=!0}}]),e}();t.default=h},21060:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.useDoubleClick=function(e,t){var n=a.default.useRef(0),r=a.default.useRef(null),i=a.default.useRef(null),o=a.default.useRef(null);a.default.useEffect((function(){i.current=t,o.current=e}));var l=function(){clearTimeout(r.current),r.current=null,n.current=0};return a.default.useCallback((function(e){var t=n.current+1===2,a=r.current;if(a&&t&&(l(),i.current&&i.current(e)),!a){n.current=n.current+1;var s=function(){l(),o.current&&o.current(e)};if(i.current){var u=setTimeout(s,250);r.current=u}else s()}}),[])};var a=r(n(67294))},1150:function(e,t,n){\"use strict\";var r=n(42212),a=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.getStyle=function(e){var t={color:\"inherit\",width:o.reducePercentsInCalc(e.columnDef.tableData.width,e.scrollWidth),maxWidth:e.columnDef.maxWidth,minWidth:e.columnDef.minWidth,boxSizing:\"border-box\",fontSize:\"inherit\",fontFamily:\"inherit\",fontWeight:\"inherit\"};t=\"function\"==typeof e.columnDef.cellStyle?s(s({},t),e.columnDef.cellStyle(e.value,e.rowData)):s(s({},t),e.columnDef.cellStyle);e.columnDef.disableClick&&(t.cursor=\"default\");return s(s({},e.style),t)},t.setObjectByKey=t.selectFromObject=void 0;var i=a(n(45696)),o=r(n(5061));function l(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.selectFromObject=function(e,t){if(t){for(var n,r=0,a=(n=Array.isArray(t)?t:(t=(t=t.replace(/\\[(\\w+)\\]/g,\".$1\")).replace(/^\\./,\"\")).split(\".\")).length;r<a;++r){var i=n[r];if(!e||!(i in e))return;e=e[i]}return e}};t.setObjectByKey=function(e,t,n){for(var r,a=e,i=(r=Array.isArray(t)?t:(t=(t=t.replace(/\\[(\\w+)\\]/g,\".$1\")).replace(/^\\./,\"\")).split(\".\")).length,o=0;o<i-1;o++){var l=r[o];a[l]||(a[l]={}),a=a[l]}a[r[i-1]]=n}},219:function(){\"use strict\";Array.prototype.find||Object.defineProperty(Array.prototype,\"find\",{value:function(e){if(null==this)throw new TypeError('\"this\" is null or not defined');var t=Object(this),n=t.length>>>0;if(\"function\"!=typeof e)throw new TypeError(\"predicate must be a function\");for(var r=arguments[1],a=0;a<n;){var i=t[a];if(e.call(r,i,a,t))return i;a++}}})},17425:function(e,t,n){\"use strict\";var r=n(31953);Object.defineProperty(t,\"__esModule\",{value:!0}),t.validateInput=function(e,t){if(e.validate){var n=e.validate(t);switch((0,i.default)(n)){case\"object\":return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n);case\"boolean\":return{isValid:n,helperText:\"\"};case\"string\":return{isValid:!1,helperText:n};default:return{isValid:!0,helperText:\"\"}}}return{isValid:!0,helperText:\"\"}};var a=r(n(45696)),i=r(n(90271));function o(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}},61005:function(e){e.exports=function(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},e.exports.__esModule=!0,e.exports.default=e.exports},77725:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},9112:function(e,t,n){var r=n(61005);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},21147:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e},e.exports.__esModule=!0,e.exports.default=e.exports},24452:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")},e.exports.__esModule=!0,e.exports.default=e.exports},10294:function(e){function t(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,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,\"prototype\",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},45696:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},40521:function(e){function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2386:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},65241:function(e,t,n){var r=n(62374);e.exports=function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,\"prototype\",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},31953:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},42212:function(e,t,n){var r=n(90271).default;function a(e){if(\"function\"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||\"object\"!==r(e)&&\"function\"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if(\"default\"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var s=o?Object.getOwnPropertyDescriptor(e,l):null;s&&(s.get||s.set)?Object.defineProperty(i,l,s):i[l]=e[l]}return i.default=e,n&&n.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},95630:function(e){e.exports=function(e){if(\"undefined\"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},34506:function(e){e.exports=function(e,t){var n=null==e?null:\"undefined\"!=typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}},e.exports.__esModule=!0,e.exports.default=e.exports},46406:function(e){e.exports=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.\")},e.exports.__esModule=!0,e.exports.default=e.exports},8029:function(e){e.exports=function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")},e.exports.__esModule=!0,e.exports.default=e.exports},71282:function(e,t,n){var r=n(95717);e.exports=function(e,t){if(null==e)return{};var n,a,i=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},95717:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a},e.exports.__esModule=!0,e.exports.default=e.exports},46275:function(e,t,n){var r=n(90271).default,a=n(21147);e.exports=function(e,t){if(t&&(\"object\"===r(t)||\"function\"==typeof t))return t;if(void 0!==t)throw new TypeError(\"Derived constructors may only return object or undefined\");return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},62374:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},53681:function(e,t,n){var r=n(77725),a=n(34506),i=n(77420),o=n(46406);e.exports=function(e,t){return r(e)||a(e,t)||i(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},66490:function(e,t,n){var r=n(9112),a=n(95630),i=n(77420),o=n(8029);e.exports=function(e){return r(e)||a(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},90271:function(e){function t(n){return e.exports=t=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},77420:function(e,t,n){var r=n(61005);e.exports=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(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},63259:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={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\"};t.default=n},515:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={black:\"#000\",white:\"#fff\"};t.default=n},47559:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={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\"};t.default=n},70167:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={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\"};t.default=n},78768:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={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\"};t.default=n},36594:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={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\"};t.default=n},124:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={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\"};t.default=n},83165:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={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\"};t.default=n},32467:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return b}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(73935)),l=n(86010),s=n(17294),u=n(55192),c=n(52543),f=n(24896),d=n(42982),p=n(94537),h=\"undefined\"==typeof window?i.useEffect:i.useLayoutEffect;var m=function(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,a=e.rippleX,o=e.rippleY,s=e.rippleSize,c=e.in,f=e.onExited,d=void 0===f?function(){}:f,p=e.timeout,m=i.useState(!1),g=m[0],y=m[1],v=(0,l.Z)(t.ripple,t.rippleVisible,r&&t.ripplePulsate),b={width:s,height:s,top:-s/2+o,left:-s/2+a},x=(0,l.Z)(t.child,g&&t.childLeaving,r&&t.childPulsate),w=(0,u.Z)(d);return h((function(){if(!c){y(!0);var e=setTimeout(w,p);return function(){clearTimeout(e)}}}),[w,c,p]),i.createElement(\"span\",{className:v,style:b},i.createElement(\"span\",{className:x}))},g=i.forwardRef((function(e,t){var n=e.center,o=void 0!==n&&n,s=e.classes,u=e.className,c=(0,a.Z)(e,[\"center\",\"classes\",\"className\"]),f=i.useState([]),h=f[0],g=f[1],y=i.useRef(0),v=i.useRef(null);i.useEffect((function(){v.current&&(v.current(),v.current=null)}),[h]);var b=i.useRef(!1),x=i.useRef(null),w=i.useRef(null),_=i.useRef(null);i.useEffect((function(){return function(){clearTimeout(x.current)}}),[]);var k=i.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,a=e.rippleSize,o=e.cb;g((function(e){return[].concat((0,d.Z)(e),[i.createElement(m,{key:y.current,classes:s,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a})])})),y.current+=1,v.current=o}),[s]),T=i.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,a=void 0!==r&&r,i=t.center,l=void 0===i?o||t.pulsate:i,s=t.fakeElement,u=void 0!==s&&s;if(\"mousedown\"===e.type&&b.current)b.current=!1;else{\"touchstart\"===e.type&&(b.current=!0);var c,f,d,p=u?null:_.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(h.width/2),f=Math.round(h.height/2);else{var m=e.touches?e.touches[0]:e,g=m.clientX,y=m.clientY;c=Math.round(g-h.left),f=Math.round(y-h.top)}if(l)(d=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2==0&&(d+=1);else{var v=2*Math.max(Math.abs((p?p.clientWidth:0)-c),c)+2,T=2*Math.max(Math.abs((p?p.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(v,2)+Math.pow(T,2))}e.touches?null===w.current&&(w.current=function(){k({pulsate:a,rippleX:c,rippleY:f,rippleSize:d,cb:n})},x.current=setTimeout((function(){w.current&&(w.current(),w.current=null)}),80)):k({pulsate:a,rippleX:c,rippleY:f,rippleSize:d,cb:n})}}),[o,k]),M=i.useCallback((function(){T({},{pulsate:!0})}),[T]),S=i.useCallback((function(e,t){if(clearTimeout(x.current),\"touchend\"===e.type&&w.current)return e.persist(),w.current(),w.current=null,void(x.current=setTimeout((function(){S(e,t)})));w.current=null,g((function(e){return e.length>0?e.slice(1):e})),v.current=t}),[]);return i.useImperativeHandle(t,(function(){return{pulsate:M,start:T,stop:S}}),[M,T,S]),i.createElement(\"span\",(0,r.Z)({className:(0,l.Z)(s.root,u),ref:_},c),i.createElement(p.Z,{component:null,exit:!0},h))})),y=(0,c.Z)((function(e){return{root:{overflow:\"hidden\",pointerEvents:\"none\",position:\"absolute\",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:\"inherit\"},ripple:{opacity:0,position:\"absolute\"},rippleVisible:{opacity:.3,transform:\"scale(1)\",animation:\"$enter \".concat(550,\"ms \").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:\"\".concat(e.transitions.duration.shorter,\"ms\")},child:{opacity:1,display:\"block\",width:\"100%\",height:\"100%\",borderRadius:\"50%\",backgroundColor:\"currentColor\"},childLeaving:{opacity:0,animation:\"$exit \".concat(550,\"ms \").concat(e.transitions.easing.easeInOut)},childPulsate:{position:\"absolute\",left:0,top:0,animation:\"$pulsate 2500ms \".concat(e.transitions.easing.easeInOut,\" 200ms infinite\")},\"@keyframes enter\":{\"0%\":{transform:\"scale(0)\",opacity:.1},\"100%\":{transform:\"scale(1)\",opacity:.3}},\"@keyframes exit\":{\"0%\":{opacity:1},\"100%\":{opacity:0}},\"@keyframes pulsate\":{\"0%\":{transform:\"scale(1)\"},\"50%\":{transform:\"scale(0.92)\"},\"100%\":{transform:\"scale(1)\"}}}}),{flip:!1,name:\"MuiTouchRipple\"})(i.memo(g)),v=i.forwardRef((function(e,t){var n=e.action,c=e.buttonRef,d=e.centerRipple,p=void 0!==d&&d,h=e.children,m=e.classes,g=e.className,v=e.component,b=void 0===v?\"button\":v,x=e.disabled,w=void 0!==x&&x,_=e.disableRipple,k=void 0!==_&&_,T=e.disableTouchRipple,M=void 0!==T&&T,S=e.focusRipple,E=void 0!==S&&S,C=e.focusVisibleClassName,O=e.onBlur,A=e.onClick,D=e.onFocus,P=e.onFocusVisible,R=e.onKeyDown,L=e.onKeyUp,I=e.onMouseDown,j=e.onMouseLeave,N=e.onMouseUp,z=e.onTouchEnd,F=e.onTouchMove,Z=e.onTouchStart,B=e.onDragLeave,q=e.tabIndex,H=void 0===q?0:q,U=e.TouchRippleProps,W=e.type,V=void 0===W?\"button\":W,Y=(0,a.Z)(e,[\"action\",\"buttonRef\",\"centerRipple\",\"children\",\"classes\",\"className\",\"component\",\"disabled\",\"disableRipple\",\"disableTouchRipple\",\"focusRipple\",\"focusVisibleClassName\",\"onBlur\",\"onClick\",\"onFocus\",\"onFocusVisible\",\"onKeyDown\",\"onKeyUp\",\"onMouseDown\",\"onMouseLeave\",\"onMouseUp\",\"onTouchEnd\",\"onTouchMove\",\"onTouchStart\",\"onDragLeave\",\"tabIndex\",\"TouchRippleProps\",\"type\"]),G=i.useRef(null);var $=i.useRef(null),X=i.useState(!1),K=X[0],J=X[1];w&&K&&J(!1);var Q=(0,f.Z)(),ee=Q.isFocusVisible,te=Q.onBlurVisible,ne=Q.ref;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M;return(0,u.Z)((function(r){return t&&t(r),!n&&$.current&&$.current[e](r),!0}))}i.useImperativeHandle(n,(function(){return{focusVisible:function(){J(!0),G.current.focus()}}}),[]),i.useEffect((function(){K&&E&&!k&&$.current.pulsate()}),[k,E,K]);var ae=re(\"start\",I),ie=re(\"stop\",B),oe=re(\"stop\",N),le=re(\"stop\",(function(e){K&&e.preventDefault(),j&&j(e)})),se=re(\"start\",Z),ue=re(\"stop\",z),ce=re(\"stop\",F),fe=re(\"stop\",(function(e){K&&(te(e),J(!1)),O&&O(e)}),!1),de=(0,u.Z)((function(e){G.current||(G.current=e.currentTarget),ee(e)&&(J(!0),P&&P(e)),D&&D(e)})),pe=function(){var e=o.findDOMNode(G.current);return b&&\"button\"!==b&&!(\"A\"===e.tagName&&e.href)},he=i.useRef(!1),me=(0,u.Z)((function(e){E&&!he.current&&K&&$.current&&\" \"===e.key&&(he.current=!0,e.persist(),$.current.stop(e,(function(){$.current.start(e)}))),e.target===e.currentTarget&&pe()&&\" \"===e.key&&e.preventDefault(),R&&R(e),e.target===e.currentTarget&&pe()&&\"Enter\"===e.key&&!w&&(e.preventDefault(),A&&A(e))})),ge=(0,u.Z)((function(e){E&&\" \"===e.key&&$.current&&K&&!e.defaultPrevented&&(he.current=!1,e.persist(),$.current.stop(e,(function(){$.current.pulsate(e)}))),L&&L(e),A&&e.target===e.currentTarget&&pe()&&\" \"===e.key&&!e.defaultPrevented&&A(e)})),ye=b;\"button\"===ye&&Y.href&&(ye=\"a\");var ve={};\"button\"===ye?(ve.type=V,ve.disabled=w):(\"a\"===ye&&Y.href||(ve.role=\"button\"),ve[\"aria-disabled\"]=w);var be=(0,s.Z)(c,t),xe=(0,s.Z)(ne,G),we=(0,s.Z)(be,xe),_e=i.useState(!1),ke=_e[0],Te=_e[1];i.useEffect((function(){Te(!0)}),[]);var Me=ke&&!k&&!w;return i.createElement(ye,(0,r.Z)({className:(0,l.Z)(m.root,g,K&&[m.focusVisible,C],w&&m.disabled),onBlur:fe,onClick:A,onFocus:de,onKeyDown:me,onKeyUp:ge,onMouseDown:ae,onMouseLeave:le,onMouseUp:oe,onDragLeave:ie,onTouchEnd:ue,onTouchMove:ce,onTouchStart:se,ref:we,tabIndex:w?-1:H},ve,Y),h,Me?i.createElement(y,(0,r.Z)({ref:$,center:p},U)):null)})),b=(0,c.Z)({root:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",position:\"relative\",WebkitTapHighlightColor:\"transparent\",backgroundColor:\"transparent\",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:\"pointer\",userSelect:\"none\",verticalAlign:\"middle\",\"-moz-appearance\":\"none\",\"-webkit-appearance\":\"none\",textDecoration:\"none\",color:\"inherit\",\"&::-moz-focus-inner\":{borderStyle:\"none\"},\"&$disabled\":{pointerEvents:\"none\",cursor:\"default\"},\"@media print\":{colorAdjust:\"exact\"}},disabled:{},focusVisible:{}},{name:\"MuiButtonBase\"})(v)},282:function(e,t,n){\"use strict\";var r=n(45987),a=n(87462),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(59693),u=n(32467),c=n(93871),f=i.forwardRef((function(e,t){var n=e.children,l=e.classes,s=e.className,f=e.color,d=void 0===f?\"default\":f,p=e.component,h=void 0===p?\"button\":p,m=e.disabled,g=void 0!==m&&m,y=e.disableElevation,v=void 0!==y&&y,b=e.disableFocusRipple,x=void 0!==b&&b,w=e.endIcon,_=e.focusVisibleClassName,k=e.fullWidth,T=void 0!==k&&k,M=e.size,S=void 0===M?\"medium\":M,E=e.startIcon,C=e.type,O=void 0===C?\"button\":C,A=e.variant,D=void 0===A?\"text\":A,P=(0,r.Z)(e,[\"children\",\"classes\",\"className\",\"color\",\"component\",\"disabled\",\"disableElevation\",\"disableFocusRipple\",\"endIcon\",\"focusVisibleClassName\",\"fullWidth\",\"size\",\"startIcon\",\"type\",\"variant\"]),R=E&&i.createElement(\"span\",{className:(0,o.Z)(l.startIcon,l[\"iconSize\".concat((0,c.Z)(S))])},E),L=w&&i.createElement(\"span\",{className:(0,o.Z)(l.endIcon,l[\"iconSize\".concat((0,c.Z)(S))])},w);return i.createElement(u.Z,(0,a.Z)({className:(0,o.Z)(l.root,l[D],s,\"inherit\"===d?l.colorInherit:\"default\"!==d&&l[\"\".concat(D).concat((0,c.Z)(d))],\"medium\"!==S&&[l[\"\".concat(D,\"Size\").concat((0,c.Z)(S))],l[\"size\".concat((0,c.Z)(S))]],v&&l.disableElevation,g&&l.disabled,T&&l.fullWidth),component:h,disabled:g,focusRipple:!x,focusVisibleClassName:(0,o.Z)(l.focusVisible,_),ref:t,type:O},P),i.createElement(\"span\",{className:l.label},R,n,L))}));t.Z=(0,l.Z)((function(e){return{root:(0,a.Z)({},e.typography.button,{boxSizing:\"border-box\",minWidth:64,padding:\"6px 16px\",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create([\"background-color\",\"box-shadow\",\"border\"],{duration:e.transitions.duration.short}),\"&:hover\":{textDecoration:\"none\",backgroundColor:(0,s.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"},\"&$disabled\":{backgroundColor:\"transparent\"}},\"&$disabled\":{color:e.palette.action.disabled}}),label:{width:\"100%\",display:\"inherit\",alignItems:\"inherit\",justifyContent:\"inherit\"},text:{padding:\"6px 8px\"},textPrimary:{color:e.palette.primary.main,\"&:hover\":{backgroundColor:(0,s.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"}}},textSecondary:{color:e.palette.secondary.main,\"&:hover\":{backgroundColor:(0,s.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"}}},outlined:{padding:\"5px 15px\",border:\"1px solid \".concat(\"light\"===e.palette.type?\"rgba(0, 0, 0, 0.23)\":\"rgba(255, 255, 255, 0.23)\"),\"&$disabled\":{border:\"1px solid \".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:\"1px solid \".concat((0,s.Fq)(e.palette.primary.main,.5)),\"&:hover\":{border:\"1px solid \".concat(e.palette.primary.main),backgroundColor:(0,s.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"}}},outlinedSecondary:{color:e.palette.secondary.main,border:\"1px solid \".concat((0,s.Fq)(e.palette.secondary.main,.5)),\"&:hover\":{border:\"1px solid \".concat(e.palette.secondary.main),backgroundColor:(0,s.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"}},\"&$disabled\":{border:\"1px solid \".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],\"&:hover\":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],\"@media (hover: none)\":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},\"&$disabled\":{backgroundColor:e.palette.action.disabledBackground}},\"&$focusVisible\":{boxShadow:e.shadows[6]},\"&:active\":{boxShadow:e.shadows[8]},\"&$disabled\":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,\"&:hover\":{backgroundColor:e.palette.primary.dark,\"@media (hover: none)\":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,\"&:hover\":{backgroundColor:e.palette.secondary.dark,\"@media (hover: none)\":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:\"none\",\"&:hover\":{boxShadow:\"none\"},\"&$focusVisible\":{boxShadow:\"none\"},\"&:active\":{boxShadow:\"none\"},\"&$disabled\":{boxShadow:\"none\"}},focusVisible:{},disabled:{},colorInherit:{color:\"inherit\",borderColor:\"currentColor\"},textSizeSmall:{padding:\"4px 5px\",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:\"8px 11px\",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:\"3px 9px\",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:\"7px 21px\",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:\"4px 10px\",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:\"8px 22px\",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:\"100%\"},startIcon:{display:\"inherit\",marginRight:8,marginLeft:-4,\"&$iconSizeSmall\":{marginLeft:-2}},endIcon:{display:\"inherit\",marginRight:-4,marginLeft:8,\"&$iconSizeSmall\":{marginRight:-2}},iconSizeSmall:{\"& > *:first-child\":{fontSize:18}},iconSizeMedium:{\"& > *:first-child\":{fontSize:20}},iconSizeLarge:{\"& > *:first-child\":{fontSize:22}}}}),{name:\"MuiButton\"})(f)},28482:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(282)},49559:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return T}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(70885),s=n(22775),u=n(22601),c=n(52543),f=n(17812),d=i.forwardRef((function(e,t){var n=e.autoFocus,c=e.checked,d=e.checkedIcon,p=e.classes,h=e.className,m=e.defaultChecked,g=e.disabled,y=e.icon,v=e.id,b=e.inputProps,x=e.inputRef,w=e.name,_=e.onBlur,k=e.onChange,T=e.onFocus,M=e.readOnly,S=e.required,E=e.tabIndex,C=e.type,O=e.value,A=(0,a.Z)(e,[\"autoFocus\",\"checked\",\"checkedIcon\",\"classes\",\"className\",\"defaultChecked\",\"disabled\",\"icon\",\"id\",\"inputProps\",\"inputRef\",\"name\",\"onBlur\",\"onChange\",\"onFocus\",\"readOnly\",\"required\",\"tabIndex\",\"type\",\"value\"]),D=(0,s.Z)({controlled:c,default:Boolean(m),name:\"SwitchBase\",state:\"checked\"}),P=(0,l.Z)(D,2),R=P[0],L=P[1],I=(0,u.Z)(),j=g;I&&void 0===j&&(j=I.disabled);var N=\"checkbox\"===C||\"radio\"===C;return i.createElement(f.Z,(0,r.Z)({component:\"span\",className:(0,o.Z)(p.root,h,R&&p.checked,j&&p.disabled),disabled:j,tabIndex:null,role:void 0,onFocus:function(e){T&&T(e),I&&I.onFocus&&I.onFocus(e)},onBlur:function(e){_&&_(e),I&&I.onBlur&&I.onBlur(e)},ref:t},A),i.createElement(\"input\",(0,r.Z)({autoFocus:n,checked:c,defaultChecked:m,className:p.input,disabled:j,id:N&&v,name:w,onChange:function(e){var t=e.target.checked;L(t),k&&k(e,t)},readOnly:M,ref:x,required:S,tabIndex:E,type:C,value:O},b)),R?d:y)})),p=(0,c.Z)({root:{padding:9},checked:{},disabled:{},input:{cursor:\"inherit\",position:\"absolute\",opacity:0,width:\"100%\",height:\"100%\",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:\"PrivateSwitchBase\"})(d),h=n(63786),m=(0,h.Z)(i.createElement(\"path\",{d:\"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"}),\"CheckBoxOutlineBlank\"),g=(0,h.Z)(i.createElement(\"path\",{d:\"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"}),\"CheckBox\"),y=n(59693),v=(0,h.Z)(i.createElement(\"path\",{d:\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z\"}),\"IndeterminateCheckBox\"),b=n(93871),x=i.createElement(g,null),w=i.createElement(m,null),_=i.createElement(v,null),k=i.forwardRef((function(e,t){var n=e.checkedIcon,l=void 0===n?x:n,s=e.classes,u=e.color,c=void 0===u?\"secondary\":u,f=e.icon,d=void 0===f?w:f,h=e.indeterminate,m=void 0!==h&&h,g=e.indeterminateIcon,y=void 0===g?_:g,v=e.inputProps,k=e.size,T=void 0===k?\"medium\":k,M=(0,a.Z)(e,[\"checkedIcon\",\"classes\",\"color\",\"icon\",\"indeterminate\",\"indeterminateIcon\",\"inputProps\",\"size\"]),S=m?y:d,E=m?y:l;return i.createElement(p,(0,r.Z)({type:\"checkbox\",classes:{root:(0,o.Z)(s.root,s[\"color\".concat((0,b.Z)(c))],m&&s.indeterminate),checked:s.checked,disabled:s.disabled},color:c,inputProps:(0,r.Z)({\"data-indeterminate\":m},v),icon:i.cloneElement(S,{fontSize:void 0===S.props.fontSize&&\"small\"===T?T:S.props.fontSize}),checkedIcon:i.cloneElement(E,{fontSize:void 0===E.props.fontSize&&\"small\"===T?T:E.props.fontSize}),ref:t},M))})),T=(0,c.Z)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{\"&$checked\":{color:e.palette.primary.main,\"&:hover\":{backgroundColor:(0,y.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"}}},\"&$disabled\":{color:e.palette.action.disabled}},colorSecondary:{\"&$checked\":{color:e.palette.secondary.main,\"&:hover\":{backgroundColor:(0,y.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"}}},\"&$disabled\":{color:e.palette.action.disabled}}}}),{name:\"MuiCheckbox\"})(k)},58116:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return m}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=(0,n(63786).Z)(i.createElement(\"path\",{d:\"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\"}),\"Cancel\"),s=n(52543),u=n(59693),c=n(17294),f=n(93871),d=n(32467);function p(e){return\"Backspace\"===e.key||\"Delete\"===e.key}var h=i.forwardRef((function(e,t){var n=e.avatar,s=e.classes,u=e.className,h=e.clickable,m=e.color,g=void 0===m?\"default\":m,y=e.component,v=e.deleteIcon,b=e.disabled,x=void 0!==b&&b,w=e.icon,_=e.label,k=e.onClick,T=e.onDelete,M=e.onKeyDown,S=e.onKeyUp,E=e.size,C=void 0===E?\"medium\":E,O=e.variant,A=void 0===O?\"default\":O,D=(0,a.Z)(e,[\"avatar\",\"classes\",\"className\",\"clickable\",\"color\",\"component\",\"deleteIcon\",\"disabled\",\"icon\",\"label\",\"onClick\",\"onDelete\",\"onKeyDown\",\"onKeyUp\",\"size\",\"variant\"]),P=i.useRef(null),R=(0,c.Z)(P,t),L=function(e){e.stopPropagation(),T&&T(e)},I=!(!1===h||!k)||h,j=\"small\"===C,N=y||(I?d.Z:\"div\"),z=N===d.Z?{component:\"div\"}:{},F=null;if(T){var Z=(0,o.Z)(\"default\"!==g&&(\"default\"===A?s[\"deleteIconColor\".concat((0,f.Z)(g))]:s[\"deleteIconOutlinedColor\".concat((0,f.Z)(g))]),j&&s.deleteIconSmall);F=v&&i.isValidElement(v)?i.cloneElement(v,{className:(0,o.Z)(v.props.className,s.deleteIcon,Z),onClick:L}):i.createElement(l,{className:(0,o.Z)(s.deleteIcon,Z),onClick:L})}var B=null;n&&i.isValidElement(n)&&(B=i.cloneElement(n,{className:(0,o.Z)(s.avatar,n.props.className,j&&s.avatarSmall,\"default\"!==g&&s[\"avatarColor\".concat((0,f.Z)(g))])}));var q=null;return w&&i.isValidElement(w)&&(q=i.cloneElement(w,{className:(0,o.Z)(s.icon,w.props.className,j&&s.iconSmall,\"default\"!==g&&s[\"iconColor\".concat((0,f.Z)(g))])})),i.createElement(N,(0,r.Z)({role:I||T?\"button\":void 0,className:(0,o.Z)(s.root,u,\"default\"!==g&&[s[\"color\".concat((0,f.Z)(g))],I&&s[\"clickableColor\".concat((0,f.Z)(g))],T&&s[\"deletableColor\".concat((0,f.Z)(g))]],\"default\"!==A&&[s.outlined,{primary:s.outlinedPrimary,secondary:s.outlinedSecondary}[g]],x&&s.disabled,j&&s.sizeSmall,I&&s.clickable,T&&s.deletable),\"aria-disabled\":!!x||void 0,tabIndex:I||T?0:void 0,onClick:k,onKeyDown:function(e){e.currentTarget===e.target&&p(e)&&e.preventDefault(),M&&M(e)},onKeyUp:function(e){e.currentTarget===e.target&&(T&&p(e)?T(e):\"Escape\"===e.key&&P.current&&P.current.blur()),S&&S(e)},ref:R},z,D),B||q,i.createElement(\"span\",{className:(0,o.Z)(s.label,j&&s.labelSmall)},_),F)})),m=(0,s.Z)((function(e){var t=\"light\"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=(0,u.Fq)(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:\"nowrap\",transition:e.transitions.create([\"background-color\",\"box-shadow\"]),cursor:\"default\",outline:0,textDecoration:\"none\",border:\"none\",padding:0,verticalAlign:\"middle\",boxSizing:\"border-box\",\"&$disabled\":{opacity:.5,pointerEvents:\"none\"},\"& $avatar\":{marginLeft:5,marginRight:-6,width:24,height:24,color:\"light\"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},\"& $avatarColorPrimary\":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},\"& $avatarColorSecondary\":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},\"& $avatarSmall\":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},disabled:{},clickable:{userSelect:\"none\",WebkitTapHighlightColor:\"transparent\",cursor:\"pointer\",\"&:hover, &:focus\":{backgroundColor:(0,u._4)(t,.08)},\"&:active\":{boxShadow:e.shadows[1]}},clickableColorPrimary:{\"&:hover, &:focus\":{backgroundColor:(0,u._4)(e.palette.primary.main,.08)}},clickableColorSecondary:{\"&:hover, &:focus\":{backgroundColor:(0,u._4)(e.palette.secondary.main,.08)}},deletable:{\"&:focus\":{backgroundColor:(0,u._4)(t,.08)}},deletableColorPrimary:{\"&:focus\":{backgroundColor:(0,u._4)(e.palette.primary.main,.2)}},deletableColorSecondary:{\"&:focus\":{backgroundColor:(0,u._4)(e.palette.secondary.main,.2)}},outlined:{backgroundColor:\"transparent\",border:\"1px solid \".concat(\"light\"===e.palette.type?\"rgba(0, 0, 0, 0.23)\":\"rgba(255, 255, 255, 0.23)\"),\"$clickable&:hover, $clickable&:focus, $deletable&:focus\":{backgroundColor:(0,u.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity)},\"& $avatar\":{marginLeft:4},\"& $avatarSmall\":{marginLeft:2},\"& $icon\":{marginLeft:4},\"& $iconSmall\":{marginLeft:2},\"& $deleteIcon\":{marginRight:5},\"& $deleteIconSmall\":{marginRight:3}},outlinedPrimary:{color:e.palette.primary.main,border:\"1px solid \".concat(e.palette.primary.main),\"$clickable&:hover, $clickable&:focus, $deletable&:focus\":{backgroundColor:(0,u.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity)}},outlinedSecondary:{color:e.palette.secondary.main,border:\"1px solid \".concat(e.palette.secondary.main),\"$clickable&:hover, $clickable&:focus, $deletable&:focus\":{backgroundColor:(0,u.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:\"light\"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:\"inherit\"},iconColorSecondary:{color:\"inherit\"},label:{overflow:\"hidden\",textOverflow:\"ellipsis\",paddingLeft:12,paddingRight:12,whiteSpace:\"nowrap\"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:\"transparent\",color:n,height:22,width:22,cursor:\"pointer\",margin:\"0 5px 0 -6px\",\"&:hover\":{color:(0,u.Fq)(n,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:(0,u.Fq)(e.palette.primary.contrastText,.7),\"&:hover, &:active\":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:(0,u.Fq)(e.palette.secondary.contrastText,.7),\"&:hover, &:active\":{color:e.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:(0,u.Fq)(e.palette.primary.main,.7),\"&:hover, &:active\":{color:e.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:(0,u.Fq)(e.palette.secondary.main,.7),\"&:hover, &:active\":{color:e.palette.secondary.main}}}}),{name:\"MuiChip\"})(h)},95477:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(93871),u=44,c=i.forwardRef((function(e,t){var n=e.classes,l=e.className,c=e.color,f=void 0===c?\"primary\":c,d=e.disableShrink,p=void 0!==d&&d,h=e.size,m=void 0===h?40:h,g=e.style,y=e.thickness,v=void 0===y?3.6:y,b=e.value,x=void 0===b?0:b,w=e.variant,_=void 0===w?\"indeterminate\":w,k=(0,a.Z)(e,[\"classes\",\"className\",\"color\",\"disableShrink\",\"size\",\"style\",\"thickness\",\"value\",\"variant\"]),T={},M={},S={};if(\"determinate\"===_||\"static\"===_){var E=2*Math.PI*((u-v)/2);T.strokeDasharray=E.toFixed(3),S[\"aria-valuenow\"]=Math.round(x),T.strokeDashoffset=\"\".concat(((100-x)/100*E).toFixed(3),\"px\"),M.transform=\"rotate(-90deg)\"}return i.createElement(\"div\",(0,r.Z)({className:(0,o.Z)(n.root,l,\"inherit\"!==f&&n[\"color\".concat((0,s.Z)(f))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[_]),style:(0,r.Z)({width:m,height:m},M,g),ref:t,role:\"progressbar\"},S,k),i.createElement(\"svg\",{className:n.svg,viewBox:\"\".concat(22,\" \").concat(22,\" \").concat(u,\" \").concat(u)},i.createElement(\"circle\",{className:(0,o.Z)(n.circle,p&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[_]),style:T,cx:u,cy:u,r:(u-v)/2,fill:\"none\",strokeWidth:v})))}));t.Z=(0,l.Z)((function(e){return{root:{display:\"inline-block\"},static:{transition:e.transitions.create(\"transform\")},indeterminate:{animation:\"$circular-rotate 1.4s linear infinite\"},determinate:{transition:e.transitions.create(\"transform\")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:\"block\"},circle:{stroke:\"currentColor\"},circleStatic:{transition:e.transitions.create(\"stroke-dashoffset\")},circleIndeterminate:{animation:\"$circular-dash 1.4s ease-in-out infinite\",strokeDasharray:\"80px, 200px\",strokeDashoffset:\"0px\"},circleDeterminate:{transition:e.transitions.create(\"stroke-dashoffset\")},\"@keyframes circular-rotate\":{\"0%\":{transformOrigin:\"50% 50%\"},\"100%\":{transform:\"rotate(360deg)\"}},\"@keyframes circular-dash\":{\"0%\":{strokeDasharray:\"1px, 200px\",strokeDashoffset:\"0px\"},\"50%\":{strokeDasharray:\"100px, 200px\",strokeDashoffset:\"-15px\"},\"100%\":{strokeDasharray:\"100px, 200px\",strokeDashoffset:\"-125px\"}},circleDisableShrink:{animation:\"none\"}}}),{name:\"MuiCircularProgress\",flip:!1})(c)},50113:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(95477)},66037:function(e,t,n){\"use strict\";var r=n(87462),a=n(70885),i=n(45987),o=n(67294),l=n(86010),s=(n(45697),n(12666)),u=n(52543),c=n(43366),f=n(5653),d=n(8920),p=n(17294),h=o.forwardRef((function(e,t){var n=e.children,u=e.classes,h=e.className,m=e.collapsedHeight,g=e.collapsedSize,y=void 0===g?\"0px\":g,v=e.component,b=void 0===v?\"div\":v,x=e.disableStrictModeCompat,w=void 0!==x&&x,_=e.in,k=e.onEnter,T=e.onEntered,M=e.onEntering,S=e.onExit,E=e.onExited,C=e.onExiting,O=e.style,A=e.timeout,D=void 0===A?c.x9.standard:A,P=e.TransitionComponent,R=void 0===P?s.ZP:P,L=(0,i.Z)(e,[\"children\",\"classes\",\"className\",\"collapsedHeight\",\"collapsedSize\",\"component\",\"disableStrictModeCompat\",\"in\",\"onEnter\",\"onEntered\",\"onEntering\",\"onExit\",\"onExited\",\"onExiting\",\"style\",\"timeout\",\"TransitionComponent\"]),I=(0,d.Z)(),j=o.useRef(),N=o.useRef(null),z=o.useRef(),F=\"number\"==typeof(m||y)?\"\".concat(m||y,\"px\"):m||y;o.useEffect((function(){return function(){clearTimeout(j.current)}}),[]);var Z=I.unstable_strictMode&&!w,B=o.useRef(null),q=(0,p.Z)(t,Z?B:void 0),H=function(e){return function(t,n){if(e){var r=Z?[B.current,t]:[t,n],i=(0,a.Z)(r,2),o=i[0],l=i[1];void 0===l?e(o):e(o,l)}}},U=H((function(e,t){e.style.height=F,k&&k(e,t)})),W=H((function(e,t){var n=N.current?N.current.clientHeight:0,r=(0,f.C)({style:O,timeout:D},{mode:\"enter\"}).duration;if(\"auto\"===D){var a=I.transitions.getAutoHeightDuration(n);e.style.transitionDuration=\"\".concat(a,\"ms\"),z.current=a}else e.style.transitionDuration=\"string\"==typeof r?r:\"\".concat(r,\"ms\");e.style.height=\"\".concat(n,\"px\"),M&&M(e,t)})),V=H((function(e,t){e.style.height=\"auto\",T&&T(e,t)})),Y=H((function(e){var t=N.current?N.current.clientHeight:0;e.style.height=\"\".concat(t,\"px\"),S&&S(e)})),G=H(E),$=H((function(e){var t=N.current?N.current.clientHeight:0,n=(0,f.C)({style:O,timeout:D},{mode:\"exit\"}).duration;if(\"auto\"===D){var r=I.transitions.getAutoHeightDuration(t);e.style.transitionDuration=\"\".concat(r,\"ms\"),z.current=r}else e.style.transitionDuration=\"string\"==typeof n?n:\"\".concat(n,\"ms\");e.style.height=F,C&&C(e)}));return o.createElement(R,(0,r.Z)({in:_,onEnter:U,onEntered:V,onEntering:W,onExit:Y,onExited:G,onExiting:$,addEndListener:function(e,t){var n=Z?e:t;\"auto\"===D&&(j.current=setTimeout(n,z.current||0))},nodeRef:Z?B:void 0,timeout:\"auto\"===D?null:D},L),(function(e,t){return o.createElement(b,(0,r.Z)({className:(0,l.Z)(u.root,u.container,h,{entered:u.entered,exited:!_&&\"0px\"===F&&u.hidden}[e]),style:(0,r.Z)({minHeight:F},O),ref:q},t),o.createElement(\"div\",{className:u.wrapper,ref:N},o.createElement(\"div\",{className:u.wrapperInner},n)))}))}));h.muiSupportAuto=!0,t.Z=(0,u.Z)((function(e){return{root:{height:0,overflow:\"hidden\",transition:e.transitions.create(\"height\")},entered:{height:\"auto\",overflow:\"visible\"},hidden:{visibility:\"hidden\"},wrapper:{display:\"flex\"},wrapperInner:{width:\"100%\"}}}),{name:\"MuiCollapse\"})(h)},90503:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(66037)},59446:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(14741),s=n(52543),u=i.forwardRef((function(e,t){var n=e.disableUnderline,s=e.classes,u=e.fullWidth,c=void 0!==u&&u,f=e.inputComponent,d=void 0===f?\"input\":f,p=e.multiline,h=void 0!==p&&p,m=e.type,g=void 0===m?\"text\":m,y=(0,a.Z)(e,[\"disableUnderline\",\"classes\",\"fullWidth\",\"inputComponent\",\"multiline\",\"type\"]);return i.createElement(l.Z,(0,r.Z)({classes:(0,r.Z)({},s,{root:(0,o.Z)(s.root,!n&&s.underline),underline:null}),fullWidth:c,inputComponent:d,multiline:h,ref:t,type:g},y))}));u.muiName=\"Input\",t.Z=(0,s.Z)((function(e){var t=\"light\"===e.palette.type,n=t?\"rgba(0, 0, 0, 0.42)\":\"rgba(255, 255, 255, 0.7)\",r=t?\"rgba(0, 0, 0, 0.09)\":\"rgba(255, 255, 255, 0.09)\";return{root:{position:\"relative\",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create(\"background-color\",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),\"&:hover\":{backgroundColor:t?\"rgba(0, 0, 0, 0.13)\":\"rgba(255, 255, 255, 0.13)\",\"@media (hover: none)\":{backgroundColor:r}},\"&$focused\":{backgroundColor:t?\"rgba(0, 0, 0, 0.09)\":\"rgba(255, 255, 255, 0.09)\"},\"&$disabled\":{backgroundColor:t?\"rgba(0, 0, 0, 0.12)\":\"rgba(255, 255, 255, 0.12)\"}},colorSecondary:{\"&$underline:after\":{borderBottomColor:e.palette.secondary.main}},underline:{\"&:after\":{borderBottom:\"2px solid \".concat(e.palette.primary.main),left:0,bottom:0,content:'\"\"',position:\"absolute\",right:0,transform:\"scaleX(0)\",transition:e.transitions.create(\"transform\",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:\"none\"},\"&$focused:after\":{transform:\"scaleX(1)\"},\"&$error:after\":{borderBottomColor:e.palette.error.main,transform:\"scaleX(1)\"},\"&:before\":{borderBottom:\"1px solid \".concat(n),left:0,bottom:0,content:'\"\\\\00a0\"',position:\"absolute\",right:0,transition:e.transitions.create(\"border-bottom-color\",{duration:e.transitions.duration.shorter}),pointerEvents:\"none\"},\"&:hover:before\":{borderBottom:\"1px solid \".concat(e.palette.text.primary)},\"&$disabled:before\":{borderBottomStyle:\"dotted\"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:\"27px 12px 10px\",\"&$marginDense\":{paddingTop:23,paddingBottom:6}},input:{padding:\"27px 12px 10px\",\"&:-webkit-autofill\":{WebkitBoxShadow:\"light\"===e.palette.type?null:\"0 0 0 100px #266798 inset\",WebkitTextFillColor:\"light\"===e.palette.type?null:\"#fff\",caretColor:\"light\"===e.palette.type?null:\"#fff\",borderTopLeftRadius:\"inherit\",borderTopRightRadius:\"inherit\"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,\"&$inputMarginDense\":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:\"MuiFilledInput\"})(u)},15190:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return d}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(22601),s=n(52543),u=n(22318),c=n(93871),f=i.forwardRef((function(e,t){e.checked;var n=e.classes,s=e.className,f=e.control,d=e.disabled,p=(e.inputRef,e.label),h=e.labelPlacement,m=void 0===h?\"end\":h,g=(e.name,e.onChange,e.value,(0,a.Z)(e,[\"checked\",\"classes\",\"className\",\"control\",\"disabled\",\"inputRef\",\"label\",\"labelPlacement\",\"name\",\"onChange\",\"value\"])),y=(0,l.Z)(),v=d;void 0===v&&void 0!==f.props.disabled&&(v=f.props.disabled),void 0===v&&y&&(v=y.disabled);var b={disabled:v};return[\"checked\",\"name\",\"onChange\",\"value\",\"inputRef\"].forEach((function(t){void 0===f.props[t]&&void 0!==e[t]&&(b[t]=e[t])})),i.createElement(\"label\",(0,r.Z)({className:(0,o.Z)(n.root,s,\"end\"!==m&&n[\"labelPlacement\".concat((0,c.Z)(m))],v&&n.disabled),ref:t},g),i.cloneElement(f,b),i.createElement(u.Z,{component:\"span\",className:(0,o.Z)(n.label,v&&n.disabled)},p))})),d=(0,s.Z)((function(e){return{root:{display:\"inline-flex\",alignItems:\"center\",cursor:\"pointer\",verticalAlign:\"middle\",WebkitTapHighlightColor:\"transparent\",marginLeft:-11,marginRight:16,\"&$disabled\":{cursor:\"default\"}},labelPlacementStart:{flexDirection:\"row-reverse\",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:\"column-reverse\",marginLeft:16},labelPlacementBottom:{flexDirection:\"column\",marginLeft:16},disabled:{},label:{\"&$disabled\":{color:e.palette.text.disabled}}}}),{name:\"MuiFormControlLabel\"})(f)},64436:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(36519),s=n(52543),u=n(93871),c=n(83711),f=n(15736),d=i.forwardRef((function(e,t){var n=e.children,s=e.classes,d=e.className,p=e.color,h=void 0===p?\"primary\":p,m=e.component,g=void 0===m?\"div\":m,y=e.disabled,v=void 0!==y&&y,b=e.error,x=void 0!==b&&b,w=e.fullWidth,_=void 0!==w&&w,k=e.focused,T=e.hiddenLabel,M=void 0!==T&&T,S=e.margin,E=void 0===S?\"none\":S,C=e.required,O=void 0!==C&&C,A=e.size,D=e.variant,P=void 0===D?\"standard\":D,R=(0,a.Z)(e,[\"children\",\"classes\",\"className\",\"color\",\"component\",\"disabled\",\"error\",\"fullWidth\",\"focused\",\"hiddenLabel\",\"margin\",\"required\",\"size\",\"variant\"]),L=i.useState((function(){var e=!1;return n&&i.Children.forEach(n,(function(t){if((0,c.Z)(t,[\"Input\",\"Select\"])){var n=(0,c.Z)(t,[\"Select\"])?t.props.input:t;n&&(0,l.B7)(n.props)&&(e=!0)}})),e})),I=L[0],j=L[1],N=i.useState((function(){var e=!1;return n&&i.Children.forEach(n,(function(t){(0,c.Z)(t,[\"Input\",\"Select\"])&&(0,l.vd)(t.props,!0)&&(e=!0)})),e})),z=N[0],F=N[1],Z=i.useState(!1),B=Z[0],q=Z[1],H=void 0!==k?k:B;v&&H&&q(!1);var U=i.useCallback((function(){F(!0)}),[]),W={adornedStart:I,setAdornedStart:j,color:h,disabled:v,error:x,filled:z,focused:H,fullWidth:_,hiddenLabel:M,margin:(\"small\"===A?\"dense\":void 0)||E,onBlur:function(){q(!1)},onEmpty:i.useCallback((function(){F(!1)}),[]),onFilled:U,onFocus:function(){q(!0)},registerEffect:undefined,required:O,variant:P};return i.createElement(f.Z.Provider,{value:W},i.createElement(g,(0,r.Z)({className:(0,o.Z)(s.root,d,\"none\"!==E&&s[\"margin\".concat((0,u.Z)(E))],_&&s.fullWidth),ref:t},R),n))}));t.Z=(0,s.Z)({root:{display:\"inline-flex\",flexDirection:\"column\",position:\"relative\",minWidth:0,padding:0,margin:0,border:0,verticalAlign:\"top\"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:\"100%\"}},{name:\"MuiFormControl\"})(d)},15736:function(e,t,n){\"use strict\";n.d(t,{Y:function(){return i}});var r=n(67294),a=r.createContext();function i(){return r.useContext(a)}t.Z=a},89345:function(e,t,n){\"use strict\";function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}n.d(t,{Z:function(){return r}})},20202:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z},useFormControl:function(){return a.Z}});var r=n(64436),a=n(22601)},22601:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return i}});var r=n(67294),a=n(15736);function i(){return r.useContext(a.Z)}},55249:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return u}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=i.forwardRef((function(e,t){var n=e.classes,l=e.className,s=e.row,u=void 0!==s&&s,c=(0,a.Z)(e,[\"classes\",\"className\",\"row\"]);return i.createElement(\"div\",(0,r.Z)({className:(0,o.Z)(n.root,l,u&&n.row),ref:t},c))})),u=(0,l.Z)({root:{display:\"flex\",flexDirection:\"column\",flexWrap:\"wrap\"},row:{flexDirection:\"row\"}},{name:\"MuiFormGroup\"})(s)},30585:function(e,t,n){\"use strict\";var r=n(45987),a=n(87462),i=n(67294),o=(n(45697),n(86010)),l=n(89345),s=n(22601),u=n(52543),c=i.forwardRef((function(e,t){var n=e.children,u=e.classes,c=e.className,f=e.component,d=void 0===f?\"p\":f,p=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,(0,r.Z)(e,[\"children\",\"classes\",\"className\",\"component\",\"disabled\",\"error\",\"filled\",\"focused\",\"margin\",\"required\",\"variant\"])),h=(0,s.Z)(),m=(0,l.Z)({props:e,muiFormControl:h,states:[\"variant\",\"margin\",\"disabled\",\"error\",\"filled\",\"focused\",\"required\"]});return i.createElement(d,(0,a.Z)({className:(0,o.Z)(u.root,(\"filled\"===m.variant||\"outlined\"===m.variant)&&u.contained,c,m.disabled&&u.disabled,m.error&&u.error,m.filled&&u.filled,m.focused&&u.focused,m.required&&u.required,\"dense\"===m.margin&&u.marginDense),ref:t},p),\" \"===n?i.createElement(\"span\",{dangerouslySetInnerHTML:{__html:\"​\"}}):n)}));t.Z=(0,u.Z)((function(e){return{root:(0,a.Z)({color:e.palette.text.secondary},e.typography.caption,{textAlign:\"left\",marginTop:3,margin:0,\"&$disabled\":{color:e.palette.text.disabled},\"&$error\":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:\"MuiFormHelperText\"})(c)},80933:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(30585)},41749:function(e,t,n){\"use strict\";var r=n(45987),a=n(87462),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=[0,1,2,3,4,5,6,7,8,9,10],u=[\"auto\",!0,1,2,3,4,5,6,7,8,9,10,11,12];function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return\"\".concat(n/t).concat(String(e).replace(String(n),\"\")||\"px\")}var f=i.forwardRef((function(e,t){var n=e.alignContent,l=void 0===n?\"stretch\":n,s=e.alignItems,u=void 0===s?\"stretch\":s,c=e.classes,f=e.className,d=e.component,p=void 0===d?\"div\":d,h=e.container,m=void 0!==h&&h,g=e.direction,y=void 0===g?\"row\":g,v=e.item,b=void 0!==v&&v,x=e.justify,w=e.justifyContent,_=void 0===w?\"flex-start\":w,k=e.lg,T=void 0!==k&&k,M=e.md,S=void 0!==M&&M,E=e.sm,C=void 0!==E&&E,O=e.spacing,A=void 0===O?0:O,D=e.wrap,P=void 0===D?\"wrap\":D,R=e.xl,L=void 0!==R&&R,I=e.xs,j=void 0!==I&&I,N=e.zeroMinWidth,z=void 0!==N&&N,F=(0,r.Z)(e,[\"alignContent\",\"alignItems\",\"classes\",\"className\",\"component\",\"container\",\"direction\",\"item\",\"justify\",\"justifyContent\",\"lg\",\"md\",\"sm\",\"spacing\",\"wrap\",\"xl\",\"xs\",\"zeroMinWidth\"]),Z=(0,o.Z)(c.root,f,m&&[c.container,0!==A&&c[\"spacing-xs-\".concat(String(A))]],b&&c.item,z&&c.zeroMinWidth,\"row\"!==y&&c[\"direction-xs-\".concat(String(y))],\"wrap\"!==P&&c[\"wrap-xs-\".concat(String(P))],\"stretch\"!==u&&c[\"align-items-xs-\".concat(String(u))],\"stretch\"!==l&&c[\"align-content-xs-\".concat(String(l))],\"flex-start\"!==(x||_)&&c[\"justify-content-xs-\".concat(String(x||_))],!1!==j&&c[\"grid-xs-\".concat(String(j))],!1!==C&&c[\"grid-sm-\".concat(String(C))],!1!==S&&c[\"grid-md-\".concat(String(S))],!1!==T&&c[\"grid-lg-\".concat(String(T))],!1!==L&&c[\"grid-xl-\".concat(String(L))]);return i.createElement(p,(0,a.Z)({className:Z,ref:t},F))})),d=(0,l.Z)((function(e){return(0,a.Z)({root:{},container:{boxSizing:\"border-box\",display:\"flex\",flexWrap:\"wrap\",width:\"100%\"},item:{boxSizing:\"border-box\",margin:\"0\"},zeroMinWidth:{minWidth:0},\"direction-xs-column\":{flexDirection:\"column\"},\"direction-xs-column-reverse\":{flexDirection:\"column-reverse\"},\"direction-xs-row-reverse\":{flexDirection:\"row-reverse\"},\"wrap-xs-nowrap\":{flexWrap:\"nowrap\"},\"wrap-xs-wrap-reverse\":{flexWrap:\"wrap-reverse\"},\"align-items-xs-center\":{alignItems:\"center\"},\"align-items-xs-flex-start\":{alignItems:\"flex-start\"},\"align-items-xs-flex-end\":{alignItems:\"flex-end\"},\"align-items-xs-baseline\":{alignItems:\"baseline\"},\"align-content-xs-center\":{alignContent:\"center\"},\"align-content-xs-flex-start\":{alignContent:\"flex-start\"},\"align-content-xs-flex-end\":{alignContent:\"flex-end\"},\"align-content-xs-space-between\":{alignContent:\"space-between\"},\"align-content-xs-space-around\":{alignContent:\"space-around\"},\"justify-content-xs-center\":{justifyContent:\"center\"},\"justify-content-xs-flex-end\":{justifyContent:\"flex-end\"},\"justify-content-xs-space-between\":{justifyContent:\"space-between\"},\"justify-content-xs-space-around\":{justifyContent:\"space-around\"},\"justify-content-xs-space-evenly\":{justifyContent:\"space-evenly\"}},function(e,t){var n={};return s.forEach((function(r){var a=e.spacing(r);0!==a&&(n[\"spacing-\".concat(t,\"-\").concat(r)]={margin:\"-\".concat(c(a,2)),width:\"calc(100% + \".concat(c(a),\")\"),\"& > $item\":{padding:c(a,2)}})})),n}(e,\"xs\"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};u.forEach((function(e){var t=\"grid-\".concat(n,\"-\").concat(e);if(!0!==e)if(\"auto\"!==e){var a=\"\".concat(Math.round(e/12*1e8)/1e6,\"%\");r[t]={flexBasis:a,flexGrow:0,maxWidth:a}}else r[t]={flexBasis:\"auto\",flexGrow:0,maxWidth:\"none\"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:\"100%\"}})),\"xs\"===n?(0,a.Z)(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:\"MuiGrid\"})(f);t.Z=d},20170:function(e,t,n){\"use strict\";var r=n(87462),a=n(70885),i=n(45987),o=n(67294),l=(n(45697),n(12666)),s=n(8920),u=n(5653),c=n(17294);function f(e){return\"scale(\".concat(e,\", \").concat(Math.pow(e,2),\")\")}var d={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:\"none\"}},p=o.forwardRef((function(e,t){var n=e.children,p=e.disableStrictModeCompat,h=void 0!==p&&p,m=e.in,g=e.onEnter,y=e.onEntered,v=e.onEntering,b=e.onExit,x=e.onExited,w=e.onExiting,_=e.style,k=e.timeout,T=void 0===k?\"auto\":k,M=e.TransitionComponent,S=void 0===M?l.ZP:M,E=(0,i.Z)(e,[\"children\",\"disableStrictModeCompat\",\"in\",\"onEnter\",\"onEntered\",\"onEntering\",\"onExit\",\"onExited\",\"onExiting\",\"style\",\"timeout\",\"TransitionComponent\"]),C=o.useRef(),O=o.useRef(),A=(0,s.Z)(),D=A.unstable_strictMode&&!h,P=o.useRef(null),R=(0,c.Z)(n.ref,t),L=(0,c.Z)(D?P:void 0,R),I=function(e){return function(t,n){if(e){var r=D?[P.current,t]:[t,n],i=(0,a.Z)(r,2),o=i[0],l=i[1];void 0===l?e(o):e(o,l)}}},j=I(v),N=I((function(e,t){(0,u.n)(e);var n,r=(0,u.C)({style:_,timeout:T},{mode:\"enter\"}),a=r.duration,i=r.delay;\"auto\"===T?(n=A.transitions.getAutoHeightDuration(e.clientHeight),O.current=n):n=a,e.style.transition=[A.transitions.create(\"opacity\",{duration:n,delay:i}),A.transitions.create(\"transform\",{duration:.666*n,delay:i})].join(\",\"),g&&g(e,t)})),z=I(y),F=I(w),Z=I((function(e){var t,n=(0,u.C)({style:_,timeout:T},{mode:\"exit\"}),r=n.duration,a=n.delay;\"auto\"===T?(t=A.transitions.getAutoHeightDuration(e.clientHeight),O.current=t):t=r,e.style.transition=[A.transitions.create(\"opacity\",{duration:t,delay:a}),A.transitions.create(\"transform\",{duration:.666*t,delay:a||.333*t})].join(\",\"),e.style.opacity=\"0\",e.style.transform=f(.75),b&&b(e)})),B=I(x);return o.useEffect((function(){return function(){clearTimeout(C.current)}}),[]),o.createElement(S,(0,r.Z)({appear:!0,in:m,nodeRef:D?P:void 0,onEnter:N,onEntered:z,onEntering:j,onExit:Z,onExited:B,onExiting:F,addEndListener:function(e,t){var n=D?e:t;\"auto\"===T&&(C.current=setTimeout(n,O.current||0))},timeout:\"auto\"===T?null:T},E),(function(e,t){return o.cloneElement(n,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:f(.75),visibility:\"exited\"!==e||m?void 0:\"hidden\"},d[e],_,n.props.style),ref:L},t))}))}));p.muiSupportAuto=!0,t.Z=p},60207:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return T}});var r=n(87462),a=n(45987),i=n(67294),o=n(45697),l=n.n(o),s=n(93869),u=n(8679),c=n.n(u),f=n(8920),d=n(90157),p=n(159);function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,p.Z)(),a=(0,s.Z)({theme:n,name:\"MuiUseMediaQuery\",props:{}});var o=\"function\"==typeof e?e(n):e;o=o.replace(/^@media( ?)/m,\"\");var l=\"undefined\"!=typeof window&&void 0!==window.matchMedia,u=(0,r.Z)({},a,t),c=u.defaultMatches,f=void 0!==c&&c,d=u.matchMedia,h=void 0===d?l?window.matchMedia:null:d,m=u.noSsr,g=void 0!==m&&m,y=u.ssrMatchMedia,v=void 0===y?null:y,b=i.useState((function(){return g&&l?h(o).matches:v?v(o).matches:f})),x=b[0],w=b[1];return i.useEffect((function(){var e=!0;if(l){var t=h(o),n=function(){e&&w(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[o,h,l]),x}var m=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?d.X.indexOf(e)<=d.X.indexOf(t):d.X.indexOf(e)<d.X.indexOf(t)},g=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?d.X.indexOf(t)<=d.X.indexOf(e):d.X.indexOf(t)<d.X.indexOf(e)},y=\"undefined\"==typeof window?i.useEffect:i.useLayoutEffect,v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,o=void 0!==n&&n,l=e.noSSR,u=void 0!==l&&l,d=e.initialWidth;function p(e){var n=(0,f.Z)(),l=e.theme||n,c=(0,s.Z)({theme:l,name:\"MuiWithWidth\",props:(0,r.Z)({},e)}),p=c.initialWidth,m=c.width,g=(0,a.Z)(c,[\"initialWidth\",\"width\"]),v=i.useState(!1),b=v[0],x=v[1];y((function(){x(!0)}),[]);var w=l.breakpoints.keys.slice().reverse().reduce((function(e,t){var n=h(l.breakpoints.up(t));return!e&&n?t:e}),null),_=(0,r.Z)({width:m||(b||u?w:void 0)||p||d},o?{theme:l}:{},g);return void 0===_.width?null:i.createElement(t,_)}return c()(p,t),p}};function b(e){var t=e.children,n=e.only,r=e.width,a=(0,f.Z)(),i=!0;if(n)if(Array.isArray(n))for(var o=0;o<n.length;o+=1){if(r===n[o]){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(var l=0;l<a.breakpoints.keys.length;l+=1){var s=a.breakpoints.keys[l],u=e[\"\".concat(s,\"Up\")],c=e[\"\".concat(s,\"Down\")];if(u&&m(s,r)||c&&g(s,r)){i=!1;break}}return i?t:null}b.propTypes={children:l().node,className:l().string,implementation:l().oneOf([\"js\",\"css\"]),initialWidth:l().oneOf([\"xs\",\"sm\",\"md\",\"lg\",\"xl\"]),lgDown:l().bool,lgUp:l().bool,mdDown:l().bool,mdUp:l().bool,only:l().oneOfType([l().oneOf([\"xs\",\"sm\",\"md\",\"lg\",\"xl\"]),l().arrayOf(l().oneOf([\"xs\",\"sm\",\"md\",\"lg\",\"xl\"]))]),smDown:l().bool,smUp:l().bool,width:l().string.isRequired,xlDown:l().bool,xlUp:l().bool,xsDown:l().bool,xsUp:l().bool};var x=v()(b),w=n(4942),_=n(93871);var k=(0,n(52543).Z)((function(e){var t={display:\"none\"};return e.breakpoints.keys.reduce((function(n,r){return n[\"only\".concat((0,_.Z)(r))]=(0,w.Z)({},e.breakpoints.only(r),t),n[\"\".concat(r,\"Up\")]=(0,w.Z)({},e.breakpoints.up(r),t),n[\"\".concat(r,\"Down\")]=(0,w.Z)({},e.breakpoints.down(r),t),n}),{})}),{name:\"PrivateHiddenCss\"})((function(e){var t=e.children,n=e.classes,r=e.className,o=e.only,l=((0,a.Z)(e,[\"children\",\"classes\",\"className\",\"only\"]),(0,f.Z)()),s=[];r&&s.push(r);for(var u=0;u<l.breakpoints.keys.length;u+=1){var c=l.breakpoints.keys[u],d=e[\"\".concat(c,\"Up\")],p=e[\"\".concat(c,\"Down\")];d&&s.push(n[\"\".concat(c,\"Up\")]),p&&s.push(n[\"\".concat(c,\"Down\")])}return o&&(Array.isArray(o)?o:[o]).forEach((function(e){s.push(n[\"only\".concat((0,_.Z)(e))])})),i.createElement(\"div\",{className:s.join(\" \")},t)}));var T=function(e){var t=e.implementation,n=void 0===t?\"js\":t,o=e.lgDown,l=void 0!==o&&o,s=e.lgUp,u=void 0!==s&&s,c=e.mdDown,f=void 0!==c&&c,d=e.mdUp,p=void 0!==d&&d,h=e.smDown,m=void 0!==h&&h,g=e.smUp,y=void 0!==g&&g,v=e.xlDown,b=void 0!==v&&v,w=e.xlUp,_=void 0!==w&&w,T=e.xsDown,M=void 0!==T&&T,S=e.xsUp,E=void 0!==S&&S,C=(0,a.Z)(e,[\"implementation\",\"lgDown\",\"lgUp\",\"mdDown\",\"mdUp\",\"smDown\",\"smUp\",\"xlDown\",\"xlUp\",\"xsDown\",\"xsUp\"]);return\"js\"===n?i.createElement(x,(0,r.Z)({lgDown:l,lgUp:u,mdDown:f,mdUp:p,smDown:m,smUp:y,xlDown:b,xlUp:_,xsDown:M,xsUp:E},C)):i.createElement(k,(0,r.Z)({lgDown:l,lgUp:u,mdDown:f,mdUp:p,smDown:m,smUp:y,xlDown:b,xlUp:_,xsDown:M,xsUp:E},C))}},17812:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(59693),u=n(32467),c=n(93871),f=i.forwardRef((function(e,t){var n=e.edge,l=void 0!==n&&n,s=e.children,f=e.classes,d=e.className,p=e.color,h=void 0===p?\"default\":p,m=e.disabled,g=void 0!==m&&m,y=e.disableFocusRipple,v=void 0!==y&&y,b=e.size,x=void 0===b?\"medium\":b,w=(0,a.Z)(e,[\"edge\",\"children\",\"classes\",\"className\",\"color\",\"disabled\",\"disableFocusRipple\",\"size\"]);return i.createElement(u.Z,(0,r.Z)({className:(0,o.Z)(f.root,d,\"default\"!==h&&f[\"color\".concat((0,c.Z)(h))],g&&f.disabled,\"small\"===x&&f[\"size\".concat((0,c.Z)(x))],{start:f.edgeStart,end:f.edgeEnd}[l]),centerRipple:!0,focusRipple:!v,disabled:g,ref:t},w),i.createElement(\"span\",{className:f.label},s))}));t.Z=(0,l.Z)((function(e){return{root:{textAlign:\"center\",flex:\"0 0 auto\",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:\"50%\",overflow:\"visible\",color:e.palette.action.active,transition:e.transitions.create(\"background-color\",{duration:e.transitions.duration.shortest}),\"&:hover\":{backgroundColor:(0,s.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"}},\"&$disabled\":{backgroundColor:\"transparent\",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,\"$sizeSmall&\":{marginLeft:-3}},edgeEnd:{marginRight:-12,\"$sizeSmall&\":{marginRight:-3}},colorInherit:{color:\"inherit\"},colorPrimary:{color:e.palette.primary.main,\"&:hover\":{backgroundColor:(0,s.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"}}},colorSecondary:{color:e.palette.secondary.main,\"&:hover\":{backgroundColor:(0,s.Fq)(e.palette.secondary.main,e.palette.action.hoverOpacity),\"@media (hover: none)\":{backgroundColor:\"transparent\"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:\"100%\",display:\"flex\",alignItems:\"inherit\",justifyContent:\"inherit\"}}}),{name:\"MuiIconButton\"})(f)},1890:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(17812)},19152:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return c}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(93871),u=i.forwardRef((function(e,t){var n=e.classes,l=e.className,u=e.color,c=void 0===u?\"inherit\":u,f=e.component,d=void 0===f?\"span\":f,p=e.fontSize,h=void 0===p?\"medium\":p,m=(0,a.Z)(e,[\"classes\",\"className\",\"color\",\"component\",\"fontSize\"]);return i.createElement(d,(0,r.Z)({className:(0,o.Z)(\"material-icons\",n.root,l,\"inherit\"!==c&&n[\"color\".concat((0,s.Z)(c))],\"default\"!==h&&\"medium\"!==h&&n[\"fontSize\".concat((0,s.Z)(h))]),\"aria-hidden\":!0,ref:t},m))}));u.muiName=\"Icon\";var c=(0,l.Z)((function(e){return{root:{userSelect:\"none\",fontSize:e.typography.pxToRem(24),width:\"1em\",height:\"1em\",overflow:\"hidden\",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:\"inherit\"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(36)}}}),{name:\"MuiIcon\"})(u)},7397:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(22318),s=n(52543),u=n(15736),c=i.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,f=e.component,d=void 0===f?\"div\":f,p=e.disablePointerEvents,h=void 0!==p&&p,m=e.disableTypography,g=void 0!==m&&m,y=e.position,v=e.variant,b=(0,a.Z)(e,[\"children\",\"classes\",\"className\",\"component\",\"disablePointerEvents\",\"disableTypography\",\"position\",\"variant\"]),x=(0,u.Y)()||{},w=v;return v&&x.variant,x&&!w&&(w=x.variant),i.createElement(u.Z.Provider,{value:null},i.createElement(d,(0,r.Z)({className:(0,o.Z)(s.root,c,\"end\"===y?s.positionEnd:s.positionStart,h&&s.disablePointerEvents,x.hiddenLabel&&s.hiddenLabel,\"filled\"===w&&s.filled,\"dense\"===x.margin&&s.marginDense),ref:t},b),\"string\"!=typeof n||g?n:i.createElement(l.Z,{color:\"textSecondary\"},n)))}));t.Z=(0,s.Z)({root:{display:\"flex\",height:\"0.01em\",maxHeight:\"2em\",alignItems:\"center\",whiteSpace:\"nowrap\"},filled:{\"&$positionStart:not($hiddenLabel)\":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:\"none\"},hiddenLabel:{},marginDense:{}},{name:\"MuiInputAdornment\"})(c)},70831:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(7397)},14741:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return w}});var r=n(45987),a=n(87462),i=n(60288),o=n(67294),l=(n(45697),n(86010)),s=n(89345),u=n(15736),c=n(52543),f=n(93871),d=n(17294),p=n(79437);function h(e,t){return parseInt(e[t],10)||0}var m=\"undefined\"!=typeof window?o.useLayoutEffect:o.useEffect,g={visibility:\"hidden\",position:\"absolute\",overflow:\"hidden\",height:0,top:0,left:0,transform:\"translateZ(0)\"},y=o.forwardRef((function(e,t){var n=e.onChange,i=e.rows,l=e.rowsMax,s=e.rowsMin,u=e.maxRows,c=e.minRows,f=void 0===c?1:c,y=e.style,v=e.value,b=(0,r.Z)(e,[\"onChange\",\"rows\",\"rowsMax\",\"rowsMin\",\"maxRows\",\"minRows\",\"style\",\"value\"]),x=u||l,w=i||s||f,_=o.useRef(null!=v).current,k=o.useRef(null),T=(0,d.Z)(t,k),M=o.useRef(null),S=o.useRef(0),E=o.useState({}),C=E[0],O=E[1],A=o.useCallback((function(){var t=k.current,n=window.getComputedStyle(t),r=M.current;r.style.width=n.width,r.value=t.value||e.placeholder||\"x\",\"\\n\"===r.value.slice(-1)&&(r.value+=\" \");var a=n[\"box-sizing\"],i=h(n,\"padding-bottom\")+h(n,\"padding-top\"),o=h(n,\"border-bottom-width\")+h(n,\"border-top-width\"),l=r.scrollHeight-i;r.value=\"x\";var s=r.scrollHeight-i,u=l;w&&(u=Math.max(Number(w)*s,u)),x&&(u=Math.min(Number(x)*s,u));var c=(u=Math.max(u,s))+(\"border-box\"===a?i+o:0),f=Math.abs(u-l)<=1;O((function(e){return S.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==f)?(S.current+=1,{overflow:f,outerHeightStyle:c}):e}))}),[x,w,e.placeholder]);o.useEffect((function(){var e=(0,p.Z)((function(){S.current=0,A()}));return window.addEventListener(\"resize\",e),function(){e.clear(),window.removeEventListener(\"resize\",e)}}),[A]),m((function(){A()})),o.useEffect((function(){S.current=0}),[v]);return o.createElement(o.Fragment,null,o.createElement(\"textarea\",(0,a.Z)({value:v,onChange:function(e){S.current=0,_||A(),n&&n(e)},ref:T,rows:w,style:(0,a.Z)({height:C.outerHeightStyle,overflow:C.overflow?\"hidden\":null},y)},b)),o.createElement(\"textarea\",{\"aria-hidden\":!0,className:e.className,readOnly:!0,ref:M,tabIndex:-1,style:(0,a.Z)({},g,y)}))})),v=n(36519),b=\"undefined\"==typeof window?o.useEffect:o.useLayoutEffect,x=o.forwardRef((function(e,t){var n=e[\"aria-describedby\"],c=e.autoComplete,p=e.autoFocus,h=e.classes,m=e.className,g=(e.color,e.defaultValue),x=e.disabled,w=e.endAdornment,_=(e.error,e.fullWidth),k=void 0!==_&&_,T=e.id,M=e.inputComponent,S=void 0===M?\"input\":M,E=e.inputProps,C=void 0===E?{}:E,O=e.inputRef,A=(e.margin,e.multiline),D=void 0!==A&&A,P=e.name,R=e.onBlur,L=e.onChange,I=e.onClick,j=e.onFocus,N=e.onKeyDown,z=e.onKeyUp,F=e.placeholder,Z=e.readOnly,B=e.renderSuffix,q=e.rows,H=e.rowsMax,U=e.rowsMin,W=e.maxRows,V=e.minRows,Y=e.startAdornment,G=e.type,$=void 0===G?\"text\":G,X=e.value,K=(0,r.Z)(e,[\"aria-describedby\",\"autoComplete\",\"autoFocus\",\"classes\",\"className\",\"color\",\"defaultValue\",\"disabled\",\"endAdornment\",\"error\",\"fullWidth\",\"id\",\"inputComponent\",\"inputProps\",\"inputRef\",\"margin\",\"multiline\",\"name\",\"onBlur\",\"onChange\",\"onClick\",\"onFocus\",\"onKeyDown\",\"onKeyUp\",\"placeholder\",\"readOnly\",\"renderSuffix\",\"rows\",\"rowsMax\",\"rowsMin\",\"maxRows\",\"minRows\",\"startAdornment\",\"type\",\"value\"]),J=null!=C.value?C.value:X,Q=o.useRef(null!=J).current,ee=o.useRef(),te=o.useCallback((function(e){0}),[]),ne=(0,d.Z)(C.ref,te),re=(0,d.Z)(O,ne),ae=(0,d.Z)(ee,re),ie=o.useState(!1),oe=ie[0],le=ie[1],se=(0,u.Y)();var ue=(0,s.Z)({props:e,muiFormControl:se,states:[\"color\",\"disabled\",\"error\",\"hiddenLabel\",\"margin\",\"required\",\"filled\"]});ue.focused=se?se.focused:oe,o.useEffect((function(){!se&&x&&oe&&(le(!1),R&&R())}),[se,x,oe,R]);var ce=se&&se.onFilled,fe=se&&se.onEmpty,de=o.useCallback((function(e){(0,v.vd)(e)?ce&&ce():fe&&fe()}),[ce,fe]);b((function(){Q&&de({value:J})}),[J,de,Q]);o.useEffect((function(){de(ee.current)}),[]);var pe=S,he=(0,a.Z)({},C,{ref:ae});\"string\"!=typeof pe?he=(0,a.Z)({inputRef:ae,type:$},he,{ref:null}):D?!q||W||V||H||U?(he=(0,a.Z)({minRows:q||V,rowsMax:H,maxRows:W},he),pe=y):pe=\"textarea\":he=(0,a.Z)({type:$},he);return o.useEffect((function(){se&&se.setAdornedStart(Boolean(Y))}),[se,Y]),o.createElement(\"div\",(0,a.Z)({className:(0,l.Z)(h.root,h[\"color\".concat((0,f.Z)(ue.color||\"primary\"))],m,ue.disabled&&h.disabled,ue.error&&h.error,k&&h.fullWidth,ue.focused&&h.focused,se&&h.formControl,D&&h.multiline,Y&&h.adornedStart,w&&h.adornedEnd,\"dense\"===ue.margin&&h.marginDense),onClick:function(e){ee.current&&e.currentTarget===e.target&&ee.current.focus(),I&&I(e)},ref:t},K),Y,o.createElement(u.Z.Provider,{value:null},o.createElement(pe,(0,a.Z)({\"aria-invalid\":ue.error,\"aria-describedby\":n,autoComplete:c,autoFocus:p,defaultValue:g,disabled:ue.disabled,id:T,onAnimationStart:function(e){de(\"mui-auto-fill-cancel\"===e.animationName?ee.current:{value:\"x\"})},name:P,placeholder:F,readOnly:Z,required:ue.required,rows:q,value:J,onKeyDown:N,onKeyUp:z},he,{className:(0,l.Z)(h.input,C.className,ue.disabled&&h.disabled,D&&h.inputMultiline,ue.hiddenLabel&&h.inputHiddenLabel,Y&&h.inputAdornedStart,w&&h.inputAdornedEnd,\"search\"===$&&h.inputTypeSearch,\"dense\"===ue.margin&&h.inputMarginDense),onBlur:function(e){R&&R(e),C.onBlur&&C.onBlur(e),se&&se.onBlur?se.onBlur(e):le(!1)},onChange:function(e){if(!Q){var t=e.target||ee.current;if(null==t)throw new Error((0,i.Z)(1));de({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];C.onChange&&C.onChange.apply(C,[e].concat(r)),L&&L.apply(void 0,[e].concat(r))},onFocus:function(e){ue.disabled?e.stopPropagation():(j&&j(e),C.onFocus&&C.onFocus(e),se&&se.onFocus?se.onFocus(e):le(!0))}}))),w,B?B((0,a.Z)({},ue,{startAdornment:Y})):null)})),w=(0,c.Z)((function(e){var t=\"light\"===e.palette.type,n={color:\"currentColor\",opacity:t?.42:.5,transition:e.transitions.create(\"opacity\",{duration:e.transitions.duration.shorter})},r={opacity:\"0 !important\"},i={opacity:t?.42:.5};return{\"@global\":{\"@keyframes mui-auto-fill\":{},\"@keyframes mui-auto-fill-cancel\":{}},root:(0,a.Z)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:\"1.1876em\",boxSizing:\"border-box\",position:\"relative\",cursor:\"text\",display:\"inline-flex\",alignItems:\"center\",\"&$disabled\":{color:e.palette.text.disabled,cursor:\"default\"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:\"\".concat(6,\"px 0 \").concat(7,\"px\"),\"&$marginDense\":{paddingTop:3}},colorSecondary:{},fullWidth:{width:\"100%\"},input:{font:\"inherit\",letterSpacing:\"inherit\",color:\"currentColor\",padding:\"\".concat(6,\"px 0 \").concat(7,\"px\"),border:0,boxSizing:\"content-box\",background:\"none\",height:\"1.1876em\",margin:0,WebkitTapHighlightColor:\"transparent\",display:\"block\",minWidth:0,width:\"100%\",animationName:\"mui-auto-fill-cancel\",animationDuration:\"10ms\",\"&::-webkit-input-placeholder\":n,\"&::-moz-placeholder\":n,\"&:-ms-input-placeholder\":n,\"&::-ms-input-placeholder\":n,\"&:focus\":{outline:0},\"&:invalid\":{boxShadow:\"none\"},\"&::-webkit-search-decoration\":{\"-webkit-appearance\":\"none\"},\"label[data-shrink=false] + $formControl &\":{\"&::-webkit-input-placeholder\":r,\"&::-moz-placeholder\":r,\"&:-ms-input-placeholder\":r,\"&::-ms-input-placeholder\":r,\"&:focus::-webkit-input-placeholder\":i,\"&:focus::-moz-placeholder\":i,\"&:focus:-ms-input-placeholder\":i,\"&:focus::-ms-input-placeholder\":i},\"&$disabled\":{opacity:1},\"&:-webkit-autofill\":{animationDuration:\"5000s\",animationName:\"mui-auto-fill\"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:\"auto\",resize:\"none\",padding:0},inputTypeSearch:{\"-moz-appearance\":\"textfield\",\"-webkit-appearance\":\"textfield\"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:\"MuiInputBase\"})(x)},36519:function(e,t,n){\"use strict\";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&\"\"!==e.value||t&&r(e.defaultValue)&&\"\"!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,{vd:function(){return a},B7:function(){return i}})},43700:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return h}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(89345),s=n(22601),u=n(52543),c=n(93871),f=i.forwardRef((function(e,t){var n=e.children,u=e.classes,f=e.className,d=(e.color,e.component),p=void 0===d?\"label\":d,h=(e.disabled,e.error,e.filled,e.focused,e.required,(0,a.Z)(e,[\"children\",\"classes\",\"className\",\"color\",\"component\",\"disabled\",\"error\",\"filled\",\"focused\",\"required\"])),m=(0,s.Z)(),g=(0,l.Z)({props:e,muiFormControl:m,states:[\"color\",\"required\",\"focused\",\"disabled\",\"error\",\"filled\"]});return i.createElement(p,(0,r.Z)({className:(0,o.Z)(u.root,u[\"color\".concat((0,c.Z)(g.color||\"primary\"))],f,g.disabled&&u.disabled,g.error&&u.error,g.filled&&u.filled,g.focused&&u.focused,g.required&&u.required),ref:t},h),n,g.required&&i.createElement(\"span\",{\"aria-hidden\":!0,className:(0,o.Z)(u.asterisk,g.error&&u.error)},\" \",\"*\"))})),d=(0,u.Z)((function(e){return{root:(0,r.Z)({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),p=i.forwardRef((function(e,t){var n=e.classes,u=e.className,c=e.disableAnimation,f=void 0!==c&&c,p=(e.margin,e.shrink),h=(e.variant,(0,a.Z)(e,[\"classes\",\"className\",\"disableAnimation\",\"margin\",\"shrink\",\"variant\"])),m=(0,s.Z)(),g=p;void 0===g&&m&&(g=m.filled||m.focused||m.adornedStart);var y=(0,l.Z)({props:e,muiFormControl:m,states:[\"margin\",\"variant\"]});return i.createElement(d,(0,r.Z)({\"data-shrink\":g,className:(0,o.Z)(n.root,u,m&&n.formControl,!f&&n.animated,g&&n.shrink,\"dense\"===y.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[y.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},h))})),h=(0,u.Z)((function(e){return{root:{display:\"block\",transformOrigin:\"top left\"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:\"absolute\",left:0,top:0,transform:\"translate(0, 24px) scale(1)\"},marginDense:{transform:\"translate(0, 21px) scale(1)\"},shrink:{transform:\"translate(0, 1.5px) scale(0.75)\",transformOrigin:\"top left\"},animated:{transition:e.transitions.create([\"color\",\"transform\"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:\"none\",transform:\"translate(12px, 20px) scale(1)\",\"&$marginDense\":{transform:\"translate(12px, 17px) scale(1)\"},\"&$shrink\":{transform:\"translate(12px, 10px) scale(0.75)\",\"&$marginDense\":{transform:\"translate(12px, 7px) scale(0.75)\"}}},outlined:{zIndex:1,pointerEvents:\"none\",transform:\"translate(14px, 20px) scale(1)\",\"&$marginDense\":{transform:\"translate(14px, 12px) scale(1)\"},\"&$shrink\":{transform:\"translate(14px, -6px) scale(0.75)\"}}}}),{name:\"MuiInputLabel\"})(p)},9169:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(43700)},38799:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(14741),s=n(52543),u=i.forwardRef((function(e,t){var n=e.disableUnderline,s=e.classes,u=e.fullWidth,c=void 0!==u&&u,f=e.inputComponent,d=void 0===f?\"input\":f,p=e.multiline,h=void 0!==p&&p,m=e.type,g=void 0===m?\"text\":m,y=(0,a.Z)(e,[\"disableUnderline\",\"classes\",\"fullWidth\",\"inputComponent\",\"multiline\",\"type\"]);return i.createElement(l.Z,(0,r.Z)({classes:(0,r.Z)({},s,{root:(0,o.Z)(s.root,!n&&s.underline),underline:null}),fullWidth:c,inputComponent:d,multiline:h,ref:t,type:g},y))}));u.muiName=\"Input\",t.Z=(0,s.Z)((function(e){var t=\"light\"===e.palette.type?\"rgba(0, 0, 0, 0.42)\":\"rgba(255, 255, 255, 0.7)\";return{root:{position:\"relative\"},formControl:{\"label + &\":{marginTop:16}},focused:{},disabled:{},colorSecondary:{\"&$underline:after\":{borderBottomColor:e.palette.secondary.main}},underline:{\"&:after\":{borderBottom:\"2px solid \".concat(e.palette.primary.main),left:0,bottom:0,content:'\"\"',position:\"absolute\",right:0,transform:\"scaleX(0)\",transition:e.transitions.create(\"transform\",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:\"none\"},\"&$focused:after\":{transform:\"scaleX(1)\"},\"&$error:after\":{borderBottomColor:e.palette.error.main,transform:\"scaleX(1)\"},\"&:before\":{borderBottom:\"1px solid \".concat(t),left:0,bottom:0,content:'\"\\\\00a0\"',position:\"absolute\",right:0,transition:e.transitions.create(\"border-bottom-color\",{duration:e.transitions.duration.shorter}),pointerEvents:\"none\"},\"&:hover:not($disabled):before\":{borderBottom:\"2px solid \".concat(e.palette.text.primary),\"@media (hover: none)\":{borderBottom:\"1px solid \".concat(t)}},\"&$disabled:before\":{borderBottomStyle:\"dotted\"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:\"MuiInput\"})(u)},80150:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(38799)},33681:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(93871),s=n(52543),u=n(59693),c=n(8920),f=i.forwardRef((function(e,t){var n=e.classes,s=e.className,u=e.color,f=void 0===u?\"primary\":u,d=e.value,p=e.valueBuffer,h=e.variant,m=void 0===h?\"indeterminate\":h,g=(0,a.Z)(e,[\"classes\",\"className\",\"color\",\"value\",\"valueBuffer\",\"variant\"]),y=(0,c.Z)(),v={},b={bar1:{},bar2:{}};if(\"determinate\"===m||\"buffer\"===m)if(void 0!==d){v[\"aria-valuenow\"]=Math.round(d),v[\"aria-valuemin\"]=0,v[\"aria-valuemax\"]=100;var x=d-100;\"rtl\"===y.direction&&(x=-x),b.bar1.transform=\"translateX(\".concat(x,\"%)\")}else 0;if(\"buffer\"===m)if(void 0!==p){var w=(p||0)-100;\"rtl\"===y.direction&&(w=-w),b.bar2.transform=\"translateX(\".concat(w,\"%)\")}else 0;return i.createElement(\"div\",(0,r.Z)({className:(0,o.Z)(n.root,n[\"color\".concat((0,l.Z)(f))],s,{determinate:n.determinate,indeterminate:n.indeterminate,buffer:n.buffer,query:n.query}[m]),role:\"progressbar\"},v,{ref:t},g),\"buffer\"===m?i.createElement(\"div\",{className:(0,o.Z)(n.dashed,n[\"dashedColor\".concat((0,l.Z)(f))])}):null,i.createElement(\"div\",{className:(0,o.Z)(n.bar,n[\"barColor\".concat((0,l.Z)(f))],(\"indeterminate\"===m||\"query\"===m)&&n.bar1Indeterminate,{determinate:n.bar1Determinate,buffer:n.bar1Buffer}[m]),style:b.bar1}),\"determinate\"===m?null:i.createElement(\"div\",{className:(0,o.Z)(n.bar,(\"indeterminate\"===m||\"query\"===m)&&n.bar2Indeterminate,\"buffer\"===m?[n[\"color\".concat((0,l.Z)(f))],n.bar2Buffer]:n[\"barColor\".concat((0,l.Z)(f))]),style:b.bar2}))}));t.Z=(0,s.Z)((function(e){var t=function(t){return\"light\"===e.palette.type?(0,u.$n)(t,.62):(0,u._j)(t,.5)},n=t(e.palette.primary.main),r=t(e.palette.secondary.main);return{root:{position:\"relative\",overflow:\"hidden\",height:4,\"@media print\":{colorAdjust:\"exact\"}},colorPrimary:{backgroundColor:n},colorSecondary:{backgroundColor:r},determinate:{},indeterminate:{},buffer:{backgroundColor:\"transparent\"},query:{transform:\"rotate(180deg)\"},dashed:{position:\"absolute\",marginTop:0,height:\"100%\",width:\"100%\",animation:\"$buffer 3s infinite linear\"},dashedColorPrimary:{backgroundImage:\"radial-gradient(\".concat(n,\" 0%, \").concat(n,\" 16%, transparent 42%)\"),backgroundSize:\"10px 10px\",backgroundPosition:\"0 -23px\"},dashedColorSecondary:{backgroundImage:\"radial-gradient(\".concat(r,\" 0%, \").concat(r,\" 16%, transparent 42%)\"),backgroundSize:\"10px 10px\",backgroundPosition:\"0 -23px\"},bar:{width:\"100%\",position:\"absolute\",left:0,bottom:0,top:0,transition:\"transform 0.2s linear\",transformOrigin:\"left\"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:\"auto\",animation:\"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite\"},bar1Determinate:{transition:\"transform .\".concat(4,\"s linear\")},bar1Buffer:{zIndex:1,transition:\"transform .\".concat(4,\"s linear\")},bar2Indeterminate:{width:\"auto\",animation:\"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite\"},bar2Buffer:{transition:\"transform .\".concat(4,\"s linear\")},\"@keyframes indeterminate1\":{\"0%\":{left:\"-35%\",right:\"100%\"},\"60%\":{left:\"100%\",right:\"-90%\"},\"100%\":{left:\"100%\",right:\"-90%\"}},\"@keyframes indeterminate2\":{\"0%\":{left:\"-200%\",right:\"100%\"},\"60%\":{left:\"107%\",right:\"-8%\"},\"100%\":{left:\"107%\",right:\"-8%\"}},\"@keyframes buffer\":{\"0%\":{opacity:1,backgroundPosition:\"0 -23px\"},\"50%\":{opacity:0,backgroundPosition:\"0 -23px\"},\"100%\":{opacity:1,backgroundPosition:\"-200px -23px\"}}}}),{name:\"MuiLinearProgress\"})(f)},65758:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(33681)},87183:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return f}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(22318),u=n(66987),c=i.forwardRef((function(e,t){var n=e.children,l=e.classes,c=e.className,f=e.disableTypography,d=void 0!==f&&f,p=e.inset,h=void 0!==p&&p,m=e.primary,g=e.primaryTypographyProps,y=e.secondary,v=e.secondaryTypographyProps,b=(0,a.Z)(e,[\"children\",\"classes\",\"className\",\"disableTypography\",\"inset\",\"primary\",\"primaryTypographyProps\",\"secondary\",\"secondaryTypographyProps\"]),x=i.useContext(u.Z).dense,w=null!=m?m:n;null==w||w.type===s.Z||d||(w=i.createElement(s.Z,(0,r.Z)({variant:x?\"body2\":\"body1\",className:l.primary,component:\"span\",display:\"block\"},g),w));var _=y;return null==_||_.type===s.Z||d||(_=i.createElement(s.Z,(0,r.Z)({variant:\"body2\",className:l.secondary,color:\"textSecondary\",display:\"block\"},v),_)),i.createElement(\"div\",(0,r.Z)({className:(0,o.Z)(l.root,c,x&&l.dense,h&&l.inset,w&&_&&l.multiline),ref:t},b),w,_)})),f=(0,l.Z)({root:{flex:\"1 1 auto\",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:\"MuiListItemText\"})(c)},66987:function(e,t,n){\"use strict\";var r=n(67294).createContext({});t.Z=r},46479:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return v}});var r=n(45987),a=n(4942),i=n(87462),o=n(67294),l=(n(45697),n(86010)),s=n(52543),u=n(32467),c=n(83711),f=n(17294),d=n(66987),p=n(73935),h=\"undefined\"==typeof window?o.useEffect:o.useLayoutEffect,m=o.forwardRef((function(e,t){var n=e.alignItems,a=void 0===n?\"center\":n,s=e.autoFocus,m=void 0!==s&&s,g=e.button,y=void 0!==g&&g,v=e.children,b=e.classes,x=e.className,w=e.component,_=e.ContainerComponent,k=void 0===_?\"li\":_,T=e.ContainerProps,M=(T=void 0===T?{}:T).className,S=(0,r.Z)(T,[\"className\"]),E=e.dense,C=void 0!==E&&E,O=e.disabled,A=void 0!==O&&O,D=e.disableGutters,P=void 0!==D&&D,R=e.divider,L=void 0!==R&&R,I=e.focusVisibleClassName,j=e.selected,N=void 0!==j&&j,z=(0,r.Z)(e,[\"alignItems\",\"autoFocus\",\"button\",\"children\",\"classes\",\"className\",\"component\",\"ContainerComponent\",\"ContainerProps\",\"dense\",\"disabled\",\"disableGutters\",\"divider\",\"focusVisibleClassName\",\"selected\"]),F=o.useContext(d.Z),Z={dense:C||F.dense||!1,alignItems:a},B=o.useRef(null);h((function(){m&&B.current&&B.current.focus()}),[m]);var q=o.Children.toArray(v),H=q.length&&(0,c.Z)(q[q.length-1],[\"ListItemSecondaryAction\"]),U=o.useCallback((function(e){B.current=p.findDOMNode(e)}),[]),W=(0,f.Z)(U,t),V=(0,i.Z)({className:(0,l.Z)(b.root,x,Z.dense&&b.dense,!P&&b.gutters,L&&b.divider,A&&b.disabled,y&&b.button,\"center\"!==a&&b.alignItemsFlexStart,H&&b.secondaryAction,N&&b.selected),disabled:A},z),Y=w||\"li\";return y&&(V.component=w||\"div\",V.focusVisibleClassName=(0,l.Z)(b.focusVisible,I),Y=u.Z),H?(Y=V.component||w?Y:\"div\",\"li\"===k&&(\"li\"===Y?Y=\"div\":\"li\"===V.component&&(V.component=\"div\")),o.createElement(d.Z.Provider,{value:Z},o.createElement(k,(0,i.Z)({className:(0,l.Z)(b.container,M),ref:W},S),o.createElement(Y,V,q),q.pop()))):o.createElement(d.Z.Provider,{value:Z},o.createElement(Y,(0,i.Z)({ref:W},V),q))})),g=(0,s.Z)((function(e){return{root:{display:\"flex\",justifyContent:\"flex-start\",alignItems:\"center\",position:\"relative\",textDecoration:\"none\",width:\"100%\",boxSizing:\"border-box\",textAlign:\"left\",paddingTop:8,paddingBottom:8,\"&$focusVisible\":{backgroundColor:e.palette.action.selected},\"&$selected, &$selected:hover\":{backgroundColor:e.palette.action.selected},\"&$disabled\":{opacity:.5}},container:{position:\"relative\"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:\"flex-start\"},disabled:{},divider:{borderBottom:\"1px solid \".concat(e.palette.divider),backgroundClip:\"padding-box\"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create(\"background-color\",{duration:e.transitions.duration.shortest}),\"&:hover\":{textDecoration:\"none\",backgroundColor:e.palette.action.hover,\"@media (hover: none)\":{backgroundColor:\"transparent\"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:\"MuiListItem\"})(m),y=o.forwardRef((function(e,t){var n,a=e.classes,s=e.className,u=e.component,c=void 0===u?\"li\":u,f=e.disableGutters,d=void 0!==f&&f,p=e.ListItemClasses,h=e.role,m=void 0===h?\"menuitem\":h,y=e.selected,v=e.tabIndex,b=(0,r.Z)(e,[\"classes\",\"className\",\"component\",\"disableGutters\",\"ListItemClasses\",\"role\",\"selected\",\"tabIndex\"]);return e.disabled||(n=void 0!==v?v:-1),o.createElement(g,(0,i.Z)({button:!0,role:m,tabIndex:n,component:c,selected:y,disableGutters:d,classes:(0,i.Z)({dense:a.dense},p),className:(0,l.Z)(a.root,s,y&&a.selected,!d&&a.gutters),ref:t},b))})),v=(0,s.Z)((function(e){return{root:(0,i.Z)({},e.typography.body1,(0,a.Z)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:\"border-box\",width:\"auto\",overflow:\"hidden\",whiteSpace:\"nowrap\"},e.breakpoints.up(\"sm\"),{minHeight:\"auto\"})),gutters:{},selected:{},dense:(0,i.Z)({},e.typography.body2,{minHeight:\"auto\"})}}),{name:\"MuiMenuItem\"})(y)},4791:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(46479)},38380:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return E}});var r=n(87462),a=n(45987),i=n(67294),o=(n(59864),n(45697),n(86010)),l=n(52543),s=n(52387),u=n(73935),c=n(30626),f=n(66987),d=i.forwardRef((function(e,t){var n=e.children,l=e.classes,s=e.className,u=e.component,c=void 0===u?\"ul\":u,d=e.dense,p=void 0!==d&&d,h=e.disablePadding,m=void 0!==h&&h,g=e.subheader,y=(0,a.Z)(e,[\"children\",\"classes\",\"className\",\"component\",\"dense\",\"disablePadding\",\"subheader\"]),v=i.useMemo((function(){return{dense:p}}),[p]);return i.createElement(f.Z.Provider,{value:v},i.createElement(c,(0,r.Z)({className:(0,o.Z)(l.root,s,p&&l.dense,!m&&l.padding,g&&l.subheader),ref:t},y),g,n))})),p=(0,l.Z)({root:{listStyle:\"none\",margin:0,padding:0,position:\"relative\"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:\"MuiList\"})(d),h=n(75840),m=n(17294);function g(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function y(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function v(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join(\"\")))}function b(e,t,n,r,a,i){for(var o=!1,l=a(e,t,!!t&&n);l;){if(l===e.firstChild){if(o)return;o=!0}var s=!r&&(l.disabled||\"true\"===l.getAttribute(\"aria-disabled\"));if(l.hasAttribute(\"tabindex\")&&v(l,i)&&!s)return void l.focus();l=a(e,l,n)}}var x=\"undefined\"==typeof window?i.useEffect:i.useLayoutEffect,w=i.forwardRef((function(e,t){var n=e.actions,o=e.autoFocus,l=void 0!==o&&o,s=e.autoFocusItem,f=void 0!==s&&s,d=e.children,w=e.className,_=e.disabledItemsFocusable,k=void 0!==_&&_,T=e.disableListWrap,M=void 0!==T&&T,S=e.onKeyDown,E=e.variant,C=void 0===E?\"selectedMenu\":E,O=(0,a.Z)(e,[\"actions\",\"autoFocus\",\"autoFocusItem\",\"children\",\"className\",\"disabledItemsFocusable\",\"disableListWrap\",\"onKeyDown\",\"variant\"]),A=i.useRef(null),D=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});x((function(){l&&A.current.focus()}),[l]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!A.current.style.width;if(e.clientHeight<A.current.clientHeight&&n){var r=\"\".concat((0,h.Z)(!0),\"px\");A.current.style[\"rtl\"===t.direction?\"paddingLeft\":\"paddingRight\"]=r,A.current.style.width=\"calc(100% + \".concat(r,\")\")}return A.current}}}),[]);var P=i.useCallback((function(e){A.current=u.findDOMNode(e)}),[]),R=(0,m.Z)(P,t),L=-1;i.Children.forEach(d,(function(e,t){i.isValidElement(e)&&(e.props.disabled||(\"selectedMenu\"===C&&e.props.selected||-1===L)&&(L=t))}));var I=i.Children.map(d,(function(e,t){if(t===L){var n={};return f&&(n.autoFocus=!0),void 0===e.props.tabIndex&&\"selectedMenu\"===C&&(n.tabIndex=0),i.cloneElement(e,n)}return e}));return i.createElement(p,(0,r.Z)({role:\"menu\",ref:R,className:w,onKeyDown:function(e){var t=A.current,n=e.key,r=(0,c.Z)(t).activeElement;if(\"ArrowDown\"===n)e.preventDefault(),b(t,r,M,k,g);else if(\"ArrowUp\"===n)e.preventDefault(),b(t,r,M,k,y);else if(\"Home\"===n)e.preventDefault(),b(t,null,M,k,g);else if(\"End\"===n)e.preventDefault(),b(t,null,M,k,y);else if(1===n.length){var a=D.current,i=n.toLowerCase(),o=performance.now();a.keys.length>0&&(o-a.lastTime>500?(a.keys=[],a.repeating=!0,a.previousKeyMatched=!0):a.repeating&&i!==a.keys[0]&&(a.repeating=!1)),a.lastTime=o,a.keys.push(i);var l=r&&!a.repeating&&v(r,a);a.previousKeyMatched&&(l||b(t,r,!1,k,g,a))?e.preventDefault():a.previousKeyMatched=!1}S&&S(e)},tabIndex:l?0:-1},O),I)})),_=n(34236),k=n(8920),T={vertical:\"top\",horizontal:\"right\"},M={vertical:\"top\",horizontal:\"left\"},S=i.forwardRef((function(e,t){var n=e.autoFocus,l=void 0===n||n,c=e.children,f=e.classes,d=e.disableAutoFocusItem,p=void 0!==d&&d,h=e.MenuListProps,m=void 0===h?{}:h,g=e.onClose,y=e.onEntering,v=e.open,b=e.PaperProps,x=void 0===b?{}:b,S=e.PopoverClasses,E=e.transitionDuration,C=void 0===E?\"auto\":E,O=e.TransitionProps,A=(O=void 0===O?{}:O).onEntering,D=(0,a.Z)(O,[\"onEntering\"]),P=e.variant,R=void 0===P?\"selectedMenu\":P,L=(0,a.Z)(e,[\"autoFocus\",\"children\",\"classes\",\"disableAutoFocusItem\",\"MenuListProps\",\"onClose\",\"onEntering\",\"open\",\"PaperProps\",\"PopoverClasses\",\"transitionDuration\",\"TransitionProps\",\"variant\"]),I=(0,k.Z)(),j=l&&!p&&v,N=i.useRef(null),z=i.useRef(null),F=-1;i.Children.map(c,(function(e,t){i.isValidElement(e)&&(e.props.disabled||(\"menu\"!==R&&e.props.selected||-1===F)&&(F=t))}));var Z=i.Children.map(c,(function(e,t){return t===F?i.cloneElement(e,{ref:function(t){z.current=u.findDOMNode(t),(0,_.Z)(e.ref,t)}}):e}));return i.createElement(s.ZP,(0,r.Z)({getContentAnchorEl:function(){return z.current},classes:S,onClose:g,TransitionProps:(0,r.Z)({onEntering:function(e,t){N.current&&N.current.adjustStyleForScrollbar(e,I),y&&y(e,t),A&&A(e,t)}},D),anchorOrigin:\"rtl\"===I.direction?T:M,transformOrigin:\"rtl\"===I.direction?T:M,PaperProps:(0,r.Z)({},x,{classes:(0,r.Z)({},x.classes,{root:f.paper})}),open:v,ref:t,transitionDuration:C},L),i.createElement(w,(0,r.Z)({onKeyDown:function(e){\"Tab\"===e.key&&(e.preventDefault(),g&&g(e,\"tabKeyDown\"))},actions:N,autoFocus:l&&(-1===F||p),autoFocusItem:j,variant:R},m,{className:(0,o.Z)(f.list,m.className)}),Z))})),E=(0,l.Z)({paper:{maxHeight:\"calc(100% - 96px)\",WebkitOverflowScrolling:\"touch\"},list:{outline:0}},{name:\"MuiMenu\"})(S)},53537:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(38380)},1182:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return A}});var r=n(45987),a=n(87462),i=n(67294),o=n(73935),l=(n(45697),n(159)),s=n(93869),u=n(30626),c=n(76234),f=n(82568),d=n(17294),p=n(55192),h=n(92781),m=n(15671),g=n(43144),y=n(42982),v=n(75840),b=n(80713);function x(e,t){t?e.setAttribute(\"aria-hidden\",\"true\"):e.removeAttribute(\"aria-hidden\")}function w(e){return parseInt(window.getComputedStyle(e)[\"padding-right\"],10)||0}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=arguments.length>4?arguments[4]:void 0,i=[t,n].concat((0,y.Z)(r)),o=[\"TEMPLATE\",\"SCRIPT\",\"STYLE\"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===o.indexOf(e.tagName)&&x(e,a)}))}function k(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function T(e,t){var n,r=[],a=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,u.Z)(e);return t.body===e?(0,b.Z)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var o=(0,v.Z)();r.push({value:i.style.paddingRight,key:\"padding-right\",el:i}),i.style[\"padding-right\"]=\"\".concat(w(i)+o,\"px\"),n=(0,u.Z)(i).querySelectorAll(\".mui-fixed\"),[].forEach.call(n,(function(e){a.push(e.style.paddingRight),e.style.paddingRight=\"\".concat(w(e)+o,\"px\")}))}var l=i.parentElement,s=\"HTML\"===l.nodeName&&\"scroll\"===window.getComputedStyle(l)[\"overflow-y\"]?l:i;r.push({value:s.style.overflow,key:\"overflow\",el:s}),s.style.overflow=\"hidden\"}return function(){n&&[].forEach.call(n,(function(e,t){a[t]?e.style.paddingRight=a[t]:e.style.removeProperty(\"padding-right\")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var M=function(){function e(){(0,m.Z)(this,e),this.modals=[],this.containers=[]}return(0,g.Z)(e,[{key:\"add\",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&x(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&\"true\"===e.getAttribute(\"aria-hidden\")&&t.push(e)})),t}(t);_(t,e.mountNode,e.modalRef,r,!0);var a=k(this.containers,(function(e){return e.container===t}));return-1!==a?(this.containers[a].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:\"mount\",value:function(e,t){var n=k(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=T(r,t))}},{key:\"remove\",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=k(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&x(e.modalRef,!0),_(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var a=r.modals[r.modals.length-1];a.modalRef&&x(a.modalRef,!1)}return t}},{key:\"isTopModal\",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var S=function(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,a=e.disableEnforceFocus,l=void 0!==a&&a,s=e.disableRestoreFocus,c=void 0!==s&&s,f=e.getDoc,p=e.isEnabled,h=e.open,m=i.useRef(),g=i.useRef(null),y=i.useRef(null),v=i.useRef(),b=i.useRef(null),x=i.useCallback((function(e){b.current=o.findDOMNode(e)}),[]),w=(0,d.Z)(t.ref,x),_=i.useRef();return i.useEffect((function(){_.current=h}),[h]),!_.current&&h&&\"undefined\"!=typeof window&&(v.current=f().activeElement),i.useEffect((function(){if(h){var e=(0,u.Z)(b.current);r||!b.current||b.current.contains(e.activeElement)||(b.current.hasAttribute(\"tabIndex\")||b.current.setAttribute(\"tabIndex\",-1),b.current.focus());var t=function(){null!==b.current&&(e.hasFocus()&&!l&&p()&&!m.current?b.current&&!b.current.contains(e.activeElement)&&b.current.focus():m.current=!1)},n=function(t){!l&&p()&&9===t.keyCode&&e.activeElement===b.current&&(m.current=!0,t.shiftKey?y.current.focus():g.current.focus())};e.addEventListener(\"focus\",t,!0),e.addEventListener(\"keydown\",n,!0);var a=setInterval((function(){t()}),50);return function(){clearInterval(a),e.removeEventListener(\"focus\",t,!0),e.removeEventListener(\"keydown\",n,!0),c||(v.current&&v.current.focus&&v.current.focus(),v.current=null)}}}),[r,l,c,p,h]),i.createElement(i.Fragment,null,i.createElement(\"div\",{tabIndex:0,ref:g,\"data-test\":\"sentinelStart\"}),i.cloneElement(t,{ref:w}),i.createElement(\"div\",{tabIndex:0,ref:y,\"data-test\":\"sentinelEnd\"}))},E={root:{zIndex:-1,position:\"fixed\",right:0,bottom:0,top:0,left:0,backgroundColor:\"rgba(0, 0, 0, 0.5)\",WebkitTapHighlightColor:\"transparent\"},invisible:{backgroundColor:\"transparent\"}},C=i.forwardRef((function(e,t){var n=e.invisible,o=void 0!==n&&n,l=e.open,s=(0,r.Z)(e,[\"invisible\",\"open\"]);return l?i.createElement(\"div\",(0,a.Z)({\"aria-hidden\":!0,ref:t},s,{style:(0,a.Z)({},E.root,o?E.invisible:{},s.style)})):null}));var O=new M,A=i.forwardRef((function(e,t){var n=(0,l.Z)(),m=(0,s.Z)({name:\"MuiModal\",props:(0,a.Z)({},e),theme:n}),g=m.BackdropComponent,y=void 0===g?C:g,v=m.BackdropProps,b=m.children,w=m.closeAfterTransition,_=void 0!==w&&w,k=m.container,T=m.disableAutoFocus,M=void 0!==T&&T,E=m.disableBackdropClick,A=void 0!==E&&E,D=m.disableEnforceFocus,P=void 0!==D&&D,R=m.disableEscapeKeyDown,L=void 0!==R&&R,I=m.disablePortal,j=void 0!==I&&I,N=m.disableRestoreFocus,z=void 0!==N&&N,F=m.disableScrollLock,Z=void 0!==F&&F,B=m.hideBackdrop,q=void 0!==B&&B,H=m.keepMounted,U=void 0!==H&&H,W=m.manager,V=void 0===W?O:W,Y=m.onBackdropClick,G=m.onClose,$=m.onEscapeKeyDown,X=m.onRendered,K=m.open,J=(0,r.Z)(m,[\"BackdropComponent\",\"BackdropProps\",\"children\",\"closeAfterTransition\",\"container\",\"disableAutoFocus\",\"disableBackdropClick\",\"disableEnforceFocus\",\"disableEscapeKeyDown\",\"disablePortal\",\"disableRestoreFocus\",\"disableScrollLock\",\"hideBackdrop\",\"keepMounted\",\"manager\",\"onBackdropClick\",\"onClose\",\"onEscapeKeyDown\",\"onRendered\",\"open\"]),Q=i.useState(!0),ee=Q[0],te=Q[1],ne=i.useRef({}),re=i.useRef(null),ae=i.useRef(null),ie=(0,d.Z)(ae,t),oe=function(e){return!!e.children&&e.children.props.hasOwnProperty(\"in\")}(m),le=function(){return(0,u.Z)(re.current)},se=function(){return ne.current.modalRef=ae.current,ne.current.mountNode=re.current,ne.current},ue=function(){V.mount(se(),{disableScrollLock:Z}),ae.current.scrollTop=0},ce=(0,p.Z)((function(){var e=function(e){return e=\"function\"==typeof e?e():e,o.findDOMNode(e)}(k)||le().body;V.add(se(),e),ae.current&&ue()})),fe=i.useCallback((function(){return V.isTopModal(se())}),[V]),de=(0,p.Z)((function(e){re.current=e,e&&(X&&X(),K&&fe()?ue():x(ae.current,!0))})),pe=i.useCallback((function(){V.remove(se())}),[V]);if(i.useEffect((function(){return function(){pe()}}),[pe]),i.useEffect((function(){K?ce():oe&&_||pe()}),[K,pe,oe,_,ce]),!U&&!K&&(!oe||ee))return null;var he=function(e){return{root:{position:\"fixed\",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:\"hidden\"}}}(n||{zIndex:h.Z}),me={};return void 0===b.props.tabIndex&&(me.tabIndex=b.props.tabIndex||\"-1\"),oe&&(me.onEnter=(0,f.Z)((function(){te(!1)}),b.props.onEnter),me.onExited=(0,f.Z)((function(){te(!0),_&&pe()}),b.props.onExited)),i.createElement(c.Z,{ref:de,container:k,disablePortal:j},i.createElement(\"div\",(0,a.Z)({ref:ie,onKeyDown:function(e){\"Escape\"===e.key&&fe()&&($&&$(e),L||(e.stopPropagation(),G&&G(e,\"escapeKeyDown\")))},role:\"presentation\"},J,{style:(0,a.Z)({},he.root,!K&&ee?he.hidden:{},J.style)}),q?null:i.createElement(y,(0,a.Z)({open:K,onClick:function(e){e.target===e.currentTarget&&(Y&&Y(e),!A&&G&&G(e,\"backdropClick\"))}},v)),i.createElement(S,{disableEnforceFocus:P,disableAutoFocus:M,disableRestoreFocus:z,getDoc:le,isEnabled:fe,open:K},i.cloneElement(b,me))))}))},66718:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return m}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(14741),s=n(4942),u=n(52543),c=n(8920),f=n(93871),d=i.forwardRef((function(e,t){e.children;var n=e.classes,l=e.className,u=e.label,d=e.labelWidth,p=e.notched,h=e.style,m=(0,a.Z)(e,[\"children\",\"classes\",\"className\",\"label\",\"labelWidth\",\"notched\",\"style\"]),g=\"rtl\"===(0,c.Z)().direction?\"right\":\"left\";if(void 0!==u)return i.createElement(\"fieldset\",(0,r.Z)({\"aria-hidden\":!0,className:(0,o.Z)(n.root,l),ref:t,style:h},m),i.createElement(\"legend\",{className:(0,o.Z)(n.legendLabelled,p&&n.legendNotched)},u?i.createElement(\"span\",null,u):i.createElement(\"span\",{dangerouslySetInnerHTML:{__html:\"​\"}})));var y=d>0?.75*d+8:.01;return i.createElement(\"fieldset\",(0,r.Z)({\"aria-hidden\":!0,style:(0,r.Z)((0,s.Z)({},\"padding\".concat((0,f.Z)(g)),8),h),className:(0,o.Z)(n.root,l),ref:t},m),i.createElement(\"legend\",{className:n.legend,style:{width:p?y:.01}},i.createElement(\"span\",{dangerouslySetInnerHTML:{__html:\"​\"}})))})),p=(0,u.Z)((function(e){return{root:{position:\"absolute\",bottom:0,right:0,top:-5,left:0,margin:0,padding:\"0 8px\",pointerEvents:\"none\",borderRadius:\"inherit\",borderStyle:\"solid\",borderWidth:1,overflow:\"hidden\"},legend:{textAlign:\"left\",padding:0,lineHeight:\"11px\",transition:e.transitions.create(\"width\",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:\"block\",width:\"auto\",textAlign:\"left\",padding:0,height:11,fontSize:\"0.75em\",visibility:\"hidden\",maxWidth:.01,transition:e.transitions.create(\"max-width\",{duration:50,easing:e.transitions.easing.easeOut}),\"& > span\":{paddingLeft:5,paddingRight:5,display:\"inline-block\"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create(\"max-width\",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:\"PrivateNotchedOutline\"})(d),h=i.forwardRef((function(e,t){var n=e.classes,s=e.fullWidth,u=void 0!==s&&s,c=e.inputComponent,f=void 0===c?\"input\":c,d=e.label,h=e.labelWidth,m=void 0===h?0:h,g=e.multiline,y=void 0!==g&&g,v=e.notched,b=e.type,x=void 0===b?\"text\":b,w=(0,a.Z)(e,[\"classes\",\"fullWidth\",\"inputComponent\",\"label\",\"labelWidth\",\"multiline\",\"notched\",\"type\"]);return i.createElement(l.Z,(0,r.Z)({renderSuffix:function(e){return i.createElement(p,{className:n.notchedOutline,label:d,labelWidth:m,notched:void 0!==v?v:Boolean(e.startAdornment||e.filled||e.focused)})},classes:(0,r.Z)({},n,{root:(0,o.Z)(n.root,n.underline),notchedOutline:null}),fullWidth:u,inputComponent:f,multiline:y,ref:t,type:x},w))}));h.muiName=\"Input\";var m=(0,u.Z)((function(e){var t=\"light\"===e.palette.type?\"rgba(0, 0, 0, 0.23)\":\"rgba(255, 255, 255, 0.23)\";return{root:{position:\"relative\",borderRadius:e.shape.borderRadius,\"&:hover $notchedOutline\":{borderColor:e.palette.text.primary},\"@media (hover: none)\":{\"&:hover $notchedOutline\":{borderColor:t}},\"&$focused $notchedOutline\":{borderColor:e.palette.primary.main,borderWidth:2},\"&$error $notchedOutline\":{borderColor:e.palette.error.main},\"&$disabled $notchedOutline\":{borderColor:e.palette.action.disabled}},colorSecondary:{\"&$focused $notchedOutline\":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:\"18.5px 14px\",\"&$marginDense\":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:\"18.5px 14px\",\"&:-webkit-autofill\":{WebkitBoxShadow:\"light\"===e.palette.type?null:\"0 0 0 100px #266798 inset\",WebkitTextFillColor:\"light\"===e.palette.type?null:\"#fff\",caretColor:\"light\"===e.palette.type?null:\"#fff\",borderRadius:\"inherit\"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:\"MuiOutlinedInput\"})(h)},79895:function(e,t,n){\"use strict\";var r=n(45987),a=n(87462),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=i.forwardRef((function(e,t){var n=e.classes,l=e.className,s=e.component,u=void 0===s?\"div\":s,c=e.square,f=void 0!==c&&c,d=e.elevation,p=void 0===d?1:d,h=e.variant,m=void 0===h?\"elevation\":h,g=(0,r.Z)(e,[\"classes\",\"className\",\"component\",\"square\",\"elevation\",\"variant\"]);return i.createElement(u,(0,a.Z)({className:(0,o.Z)(n.root,l,\"outlined\"===m?n.outlined:n[\"elevation\".concat(p)],!f&&n.rounded),ref:t},g))}));t.Z=(0,l.Z)((function(e){var t={};return e.shadows.forEach((function(e,n){t[\"elevation\".concat(n)]={boxShadow:e}})),(0,a.Z)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create(\"box-shadow\")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:\"1px solid \".concat(e.palette.divider)}},t)}),{name:\"MuiPaper\"})(s)},7613:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(79895)},52387:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(73935)),l=n(79437),s=n(86010),u=n(30626),c=n(80713),f=n(82568),d=n(52543),p=n(1182),h=n(20170),m=n(79895);function g(e,t){var n=0;return\"number\"==typeof t?n=t:\"center\"===t?n=e.height/2:\"bottom\"===t&&(n=e.height),n}function y(e,t){var n=0;return\"number\"==typeof t?n=t:\"center\"===t?n=e.width/2:\"right\"===t&&(n=e.width),n}function v(e){return[e.horizontal,e.vertical].map((function(e){return\"number\"==typeof e?\"\".concat(e,\"px\"):e})).join(\" \")}function b(e){return\"function\"==typeof e?e():e}var x=i.forwardRef((function(e,t){var n=e.action,d=e.anchorEl,x=e.anchorOrigin,w=void 0===x?{vertical:\"top\",horizontal:\"left\"}:x,_=e.anchorPosition,k=e.anchorReference,T=void 0===k?\"anchorEl\":k,M=e.children,S=e.classes,E=e.className,C=e.container,O=e.elevation,A=void 0===O?8:O,D=e.getContentAnchorEl,P=e.marginThreshold,R=void 0===P?16:P,L=e.onEnter,I=e.onEntered,j=e.onEntering,N=e.onExit,z=e.onExited,F=e.onExiting,Z=e.open,B=e.PaperProps,q=void 0===B?{}:B,H=e.transformOrigin,U=void 0===H?{vertical:\"top\",horizontal:\"left\"}:H,W=e.TransitionComponent,V=void 0===W?h.Z:W,Y=e.transitionDuration,G=void 0===Y?\"auto\":Y,$=e.TransitionProps,X=void 0===$?{}:$,K=(0,a.Z)(e,[\"action\",\"anchorEl\",\"anchorOrigin\",\"anchorPosition\",\"anchorReference\",\"children\",\"classes\",\"className\",\"container\",\"elevation\",\"getContentAnchorEl\",\"marginThreshold\",\"onEnter\",\"onEntered\",\"onEntering\",\"onExit\",\"onExited\",\"onExiting\",\"open\",\"PaperProps\",\"transformOrigin\",\"TransitionComponent\",\"transitionDuration\",\"TransitionProps\"]),J=i.useRef(),Q=i.useCallback((function(e){if(\"anchorPosition\"===T)return _;var t=b(d),n=(t&&1===t.nodeType?t:(0,u.Z)(J.current).body).getBoundingClientRect(),r=0===e?w.vertical:\"center\";return{top:n.top+g(n,r),left:n.left+y(n,w.horizontal)}}),[d,w.horizontal,w.vertical,_,T]),ee=i.useCallback((function(e){var t=0;if(D&&\"anchorEl\"===T){var n=D(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[w.vertical,T,D]),te=i.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:g(e,U.vertical)+t,horizontal:y(e,U.horizontal)}}),[U.horizontal,U.vertical]),ne=i.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if(\"none\"===T)return{top:null,left:null,transformOrigin:v(r)};var a=Q(t),i=a.top-r.vertical,o=a.left-r.horizontal,l=i+n.height,s=o+n.width,u=(0,c.Z)(b(d)),f=u.innerHeight-R,p=u.innerWidth-R;if(i<R){var h=i-R;i-=h,r.vertical+=h}else if(l>f){var m=l-f;i-=m,r.vertical+=m}if(o<R){var g=o-R;o-=g,r.horizontal+=g}else if(s>p){var y=s-p;o-=y,r.horizontal+=y}return{top:\"\".concat(Math.round(i),\"px\"),left:\"\".concat(Math.round(o),\"px\"),transformOrigin:v(r)}}),[d,T,Q,ee,te,R]),re=i.useCallback((function(){var e=J.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),ae=i.useCallback((function(e){J.current=o.findDOMNode(e)}),[]);i.useEffect((function(){Z&&re()})),i.useImperativeHandle(n,(function(){return Z?{updatePosition:function(){re()}}:null}),[Z,re]),i.useEffect((function(){if(Z){var e=(0,l.Z)((function(){re()}));return window.addEventListener(\"resize\",e),function(){e.clear(),window.removeEventListener(\"resize\",e)}}}),[Z,re]);var ie=G;\"auto\"!==G||V.muiSupportAuto||(ie=void 0);var oe=C||(d?(0,u.Z)(b(d)).body:void 0);return i.createElement(p.Z,(0,r.Z)({container:oe,open:Z,ref:t,BackdropProps:{invisible:!0},className:(0,s.Z)(S.root,E)},K),i.createElement(V,(0,r.Z)({appear:!0,in:Z,onEnter:L,onEntered:I,onExit:N,onExited:z,onExiting:F,timeout:ie},X,{onEntering:(0,f.Z)((function(e,t){j&&j(e,t),re()}),X.onEntering)}),i.createElement(m.Z,(0,r.Z)({elevation:A,ref:ae},q,{className:(0,s.Z)(S.paper,q.className)}),M)))}));t.ZP=(0,d.Z)({root:{},paper:{position:\"absolute\",overflowY:\"auto\",overflowX:\"hidden\",minWidth:16,minHeight:16,maxWidth:\"calc(100% - 32px)\",maxHeight:\"calc(100% - 32px)\",outline:0}},{name:\"MuiPopover\"})(x)},76234:function(e,t,n){\"use strict\";var r=n(67294),a=n(73935),i=(n(45697),n(34236)),o=n(17294);var l=\"undefined\"!=typeof window?r.useLayoutEffect:r.useEffect,s=r.forwardRef((function(e,t){var n=e.children,s=e.container,u=e.disablePortal,c=void 0!==u&&u,f=e.onRendered,d=r.useState(null),p=d[0],h=d[1],m=(0,o.Z)(r.isValidElement(n)?n.ref:null,t);return l((function(){c||h(function(e){return e=\"function\"==typeof e?e():e,a.findDOMNode(e)}(s)||document.body)}),[s,c]),l((function(){if(p&&!c)return(0,i.Z)(t,p),function(){(0,i.Z)(t,null)}}),[t,p,c]),l((function(){f&&(p||c)&&f()}),[f,p,c]),c?r.isValidElement(n)?r.cloneElement(n,{ref:m}):n:p?a.createPortal(n,p):p}));t.Z=s},26209:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return L}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(65835)),l=n(70885),s=n(71002),u=n(60288),c=(n(59864),n(86010)),f=n(30626),d=n(93871),p=n(38380),h=n(36519),m=n(17294),g=n(22775);function y(e,t){return\"object\"===(0,s.Z)(t)&&null!==t?e===t:String(e)===String(t)}var v=i.forwardRef((function(e,t){var n=e[\"aria-label\"],o=e.autoFocus,s=e.autoWidth,v=e.children,b=e.classes,x=e.className,w=e.defaultValue,_=e.disabled,k=e.displayEmpty,T=e.IconComponent,M=e.inputRef,S=e.labelId,E=e.MenuProps,C=void 0===E?{}:E,O=e.multiple,A=e.name,D=e.onBlur,P=e.onChange,R=e.onClose,L=e.onFocus,I=e.onOpen,j=e.open,N=e.readOnly,z=e.renderValue,F=e.SelectDisplayProps,Z=void 0===F?{}:F,B=e.tabIndex,q=(e.type,e.value),H=e.variant,U=void 0===H?\"standard\":H,W=(0,a.Z)(e,[\"aria-label\",\"autoFocus\",\"autoWidth\",\"children\",\"classes\",\"className\",\"defaultValue\",\"disabled\",\"displayEmpty\",\"IconComponent\",\"inputRef\",\"labelId\",\"MenuProps\",\"multiple\",\"name\",\"onBlur\",\"onChange\",\"onClose\",\"onFocus\",\"onOpen\",\"open\",\"readOnly\",\"renderValue\",\"SelectDisplayProps\",\"tabIndex\",\"type\",\"value\",\"variant\"]),V=(0,g.Z)({controlled:q,default:w,name:\"Select\"}),Y=(0,l.Z)(V,2),G=Y[0],$=Y[1],X=i.useRef(null),K=i.useState(null),J=K[0],Q=K[1],ee=i.useRef(null!=j).current,te=i.useState(),ne=te[0],re=te[1],ae=i.useState(!1),ie=ae[0],oe=ae[1],le=(0,m.Z)(t,M);i.useImperativeHandle(le,(function(){return{focus:function(){J.focus()},node:X.current,value:G}}),[J,G]),i.useEffect((function(){o&&J&&J.focus()}),[o,J]),i.useEffect((function(){if(J){var e=(0,f.Z)(J).getElementById(S);if(e){var t=function(){getSelection().isCollapsed&&J.focus()};return e.addEventListener(\"click\",t),function(){e.removeEventListener(\"click\",t)}}}}),[S,J]);var se,ue,ce=function(e,t){e?I&&I(t):R&&R(t),ee||(re(s?null:J.clientWidth),oe(e))},fe=i.Children.toArray(v),de=function(e){return function(t){var n;if(O||ce(!1,t),O){n=Array.isArray(G)?G.slice():[];var r=G.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),G!==n&&($(n),P&&(t.persist(),Object.defineProperty(t,\"target\",{writable:!0,value:{value:n,name:A}}),P(t,e)))}},pe=null!==J&&(ee?j:ie);delete W[\"aria-invalid\"];var he=[],me=!1;((0,h.vd)({value:G})||k)&&(z?se=z(G):me=!0);var ge=fe.map((function(e){if(!i.isValidElement(e))return null;var t;if(O){if(!Array.isArray(G))throw new Error((0,u.Z)(2));(t=G.some((function(t){return y(t,e.props.value)})))&&me&&he.push(e.props.children)}else(t=y(G,e.props.value))&&me&&(ue=e.props.children);return t&&!0,i.cloneElement(e,{\"aria-selected\":t?\"true\":void 0,onClick:de(e),onKeyUp:function(t){\" \"===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:\"option\",selected:t,value:void 0,\"data-value\":e.props.value})}));me&&(se=O?he.join(\", \"):ue);var ye,ve=ne;!s&&ee&&J&&(ve=J.clientWidth),ye=void 0!==B?B:_?null:0;var be=Z.id||(A?\"mui-component-select-\".concat(A):void 0);return i.createElement(i.Fragment,null,i.createElement(\"div\",(0,r.Z)({className:(0,c.Z)(b.root,b.select,b.selectMenu,b[U],x,_&&b.disabled),ref:Q,tabIndex:ye,role:\"button\",\"aria-disabled\":_?\"true\":void 0,\"aria-expanded\":pe?\"true\":void 0,\"aria-haspopup\":\"listbox\",\"aria-label\":n,\"aria-labelledby\":[S,be].filter(Boolean).join(\" \")||void 0,onKeyDown:function(e){if(!N){-1!==[\" \",\"ArrowUp\",\"ArrowDown\",\"Enter\"].indexOf(e.key)&&(e.preventDefault(),ce(!0,e))}},onMouseDown:_||N?null:function(e){0===e.button&&(e.preventDefault(),J.focus(),ce(!0,e))},onBlur:function(e){!pe&&D&&(e.persist(),Object.defineProperty(e,\"target\",{writable:!0,value:{value:G,name:A}}),D(e))},onFocus:L},Z,{id:be}),function(e){return null==e||\"string\"==typeof e&&!e.trim()}(se)?i.createElement(\"span\",{dangerouslySetInnerHTML:{__html:\"​\"}}):se),i.createElement(\"input\",(0,r.Z)({value:Array.isArray(G)?G.join(\",\"):G,name:A,ref:X,\"aria-hidden\":!0,onChange:function(e){var t=fe.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=fe[t];$(n.props.value),P&&P(e,n)}},tabIndex:-1,className:b.nativeInput,autoFocus:o},W)),i.createElement(T,{className:(0,c.Z)(b.icon,b[\"icon\".concat((0,d.Z)(U))],pe&&b.iconOpen,_&&b.disabled)}),i.createElement(p.Z,(0,r.Z)({id:\"menu-\".concat(A||\"\"),anchorEl:J,open:pe,onClose:function(e){ce(!1,e)}},C,{MenuListProps:(0,r.Z)({\"aria-labelledby\":S,role:\"listbox\",disableListWrap:!0},C.MenuListProps),PaperProps:(0,r.Z)({},C.PaperProps,{style:(0,r.Z)({minWidth:ve},null!=C.PaperProps?C.PaperProps.style:null)})}),ge))})),b=n(89345),x=n(22601),w=n(52543),_=(0,n(63786).Z)(i.createElement(\"path\",{d:\"M7 10l5 5 5-5z\"}),\"ArrowDropDown\"),k=n(38799),T=i.forwardRef((function(e,t){var n=e.classes,o=e.className,l=e.disabled,s=e.IconComponent,u=e.inputRef,f=e.variant,p=void 0===f?\"standard\":f,h=(0,a.Z)(e,[\"classes\",\"className\",\"disabled\",\"IconComponent\",\"inputRef\",\"variant\"]);return i.createElement(i.Fragment,null,i.createElement(\"select\",(0,r.Z)({className:(0,c.Z)(n.root,n.select,n[p],o,l&&n.disabled),disabled:l,ref:u||t},h)),e.multiple?null:i.createElement(s,{className:(0,c.Z)(n.icon,n[\"icon\".concat((0,d.Z)(p))],l&&n.disabled)}))})),M=function(e){return{root:{},select:{\"-moz-appearance\":\"none\",\"-webkit-appearance\":\"none\",userSelect:\"none\",borderRadius:0,minWidth:16,cursor:\"pointer\",\"&:focus\":{backgroundColor:\"light\"===e.palette.type?\"rgba(0, 0, 0, 0.05)\":\"rgba(255, 255, 255, 0.05)\",borderRadius:0},\"&::-ms-expand\":{display:\"none\"},\"&$disabled\":{cursor:\"default\"},\"&[multiple]\":{height:\"auto\"},\"&:not([multiple]) option, &:not([multiple]) optgroup\":{backgroundColor:e.palette.background.paper},\"&&\":{paddingRight:24}},filled:{\"&&\":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,\"&&\":{paddingRight:32}},selectMenu:{height:\"auto\",minHeight:\"1.1876em\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",overflow:\"hidden\"},disabled:{},icon:{position:\"absolute\",right:0,top:\"calc(50% - 12px)\",pointerEvents:\"none\",color:e.palette.action.active,\"&$disabled\":{color:e.palette.action.disabled}},iconOpen:{transform:\"rotate(180deg)\"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:\"absolute\",opacity:0,pointerEvents:\"none\",width:\"100%\"}}},S=i.createElement(k.Z,null),E=i.forwardRef((function(e,t){var n=e.children,o=e.classes,l=e.IconComponent,s=void 0===l?_:l,u=e.input,c=void 0===u?S:u,f=e.inputProps,d=(e.variant,(0,a.Z)(e,[\"children\",\"classes\",\"IconComponent\",\"input\",\"inputProps\",\"variant\"])),p=(0,x.Z)(),h=(0,b.Z)({props:e,muiFormControl:p,states:[\"variant\"]});return i.cloneElement(c,(0,r.Z)({inputComponent:T,inputProps:(0,r.Z)({children:n,classes:o,IconComponent:s,variant:h.variant,type:void 0},f,c?c.props.inputProps:{}),ref:t},d))}));E.muiName=\"Select\";(0,w.Z)(M,{name:\"MuiNativeSelect\"})(E);var C=n(59446),O=n(66718),A=M,D=i.createElement(k.Z,null),P=i.createElement(C.Z,null),R=i.forwardRef((function e(t,n){var l=t.autoWidth,s=void 0!==l&&l,u=t.children,c=t.classes,f=t.displayEmpty,d=void 0!==f&&f,p=t.IconComponent,h=void 0===p?_:p,m=t.id,g=t.input,y=t.inputProps,w=t.label,k=t.labelId,M=t.labelWidth,S=void 0===M?0:M,E=t.MenuProps,C=t.multiple,A=void 0!==C&&C,R=t.native,L=void 0!==R&&R,I=t.onClose,j=t.onOpen,N=t.open,z=t.renderValue,F=t.SelectDisplayProps,Z=t.variant,B=void 0===Z?\"standard\":Z,q=(0,a.Z)(t,[\"autoWidth\",\"children\",\"classes\",\"displayEmpty\",\"IconComponent\",\"id\",\"input\",\"inputProps\",\"label\",\"labelId\",\"labelWidth\",\"MenuProps\",\"multiple\",\"native\",\"onClose\",\"onOpen\",\"open\",\"renderValue\",\"SelectDisplayProps\",\"variant\"]),H=L?T:v,U=(0,x.Z)(),W=(0,b.Z)({props:t,muiFormControl:U,states:[\"variant\"]}).variant||B,V=g||{standard:D,outlined:i.createElement(O.Z,{label:w,labelWidth:S}),filled:P}[W];return i.cloneElement(V,(0,r.Z)({inputComponent:H,inputProps:(0,r.Z)({children:u,IconComponent:h,variant:W,type:void 0,multiple:A},L?{id:m}:{autoWidth:s,displayEmpty:d,labelId:k,MenuProps:E,onClose:I,onOpen:j,open:N,renderValue:z,SelectDisplayProps:(0,r.Z)({id:m},F)},y,{classes:y?(0,o.Z)({baseClasses:c,newClasses:y.classes,Component:e}):c},g?g.props.inputProps:{}),ref:n},q))}));R.muiName=\"Select\";var L=(0,w.Z)(A,{name:\"MuiSelect\"})(R)},63141:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(26209)},62087:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(93871),u=i.forwardRef((function(e,t){var n=e.children,l=e.classes,u=e.className,c=e.color,f=void 0===c?\"inherit\":c,d=e.component,p=void 0===d?\"svg\":d,h=e.fontSize,m=void 0===h?\"medium\":h,g=e.htmlColor,y=e.titleAccess,v=e.viewBox,b=void 0===v?\"0 0 24 24\":v,x=(0,a.Z)(e,[\"children\",\"classes\",\"className\",\"color\",\"component\",\"fontSize\",\"htmlColor\",\"titleAccess\",\"viewBox\"]);return i.createElement(p,(0,r.Z)({className:(0,o.Z)(l.root,u,\"inherit\"!==f&&l[\"color\".concat((0,s.Z)(f))],\"default\"!==m&&\"medium\"!==m&&l[\"fontSize\".concat((0,s.Z)(m))]),focusable:\"false\",viewBox:b,color:g,\"aria-hidden\":!y||void 0,role:y?\"img\":void 0,ref:t},x),n,y?i.createElement(\"title\",null,y):null)}));u.muiName=\"SvgIcon\",t.Z=(0,l.Z)((function(e){return{root:{userSelect:\"none\",width:\"1em\",height:\"1em\",display:\"inline-block\",fill:\"currentColor\",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create(\"fill\",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:\"inherit\"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:\"MuiSvgIcon\"})(u)},41423:function(e,t,n){\"use strict\";var r=n(45987),a=n(4942),i=n(87462),o=n(67294),l=(n(45697),n(86010)),s=n(52543),u=n(32467),c=n(93871),f=o.forwardRef((function(e,t){var n=e.classes,a=e.className,s=e.disabled,f=void 0!==s&&s,d=e.disableFocusRipple,p=void 0!==d&&d,h=e.fullWidth,m=e.icon,g=e.indicator,y=e.label,v=e.onChange,b=e.onClick,x=e.onFocus,w=e.selected,_=e.selectionFollowsFocus,k=e.textColor,T=void 0===k?\"inherit\":k,M=e.value,S=e.wrapped,E=void 0!==S&&S,C=(0,r.Z)(e,[\"classes\",\"className\",\"disabled\",\"disableFocusRipple\",\"fullWidth\",\"icon\",\"indicator\",\"label\",\"onChange\",\"onClick\",\"onFocus\",\"selected\",\"selectionFollowsFocus\",\"textColor\",\"value\",\"wrapped\"]);return o.createElement(u.Z,(0,i.Z)({focusRipple:!p,className:(0,l.Z)(n.root,n[\"textColor\".concat((0,c.Z)(T))],a,f&&n.disabled,w&&n.selected,y&&m&&n.labelIcon,h&&n.fullWidth,E&&n.wrapped),ref:t,role:\"tab\",\"aria-selected\":w,disabled:f,onClick:function(e){v&&v(e,M),b&&b(e)},onFocus:function(e){_&&!w&&v&&v(e,M),x&&x(e)},tabIndex:w?0:-1},C),o.createElement(\"span\",{className:n.wrapper},m,y),g)}));t.Z=(0,s.Z)((function(e){var t;return{root:(0,i.Z)({},e.typography.button,(t={maxWidth:264,minWidth:72,position:\"relative\",boxSizing:\"border-box\",minHeight:48,flexShrink:0,padding:\"6px 12px\"},(0,a.Z)(t,e.breakpoints.up(\"sm\"),{padding:\"6px 24px\"}),(0,a.Z)(t,\"overflow\",\"hidden\"),(0,a.Z)(t,\"whiteSpace\",\"normal\"),(0,a.Z)(t,\"textAlign\",\"center\"),(0,a.Z)(t,e.breakpoints.up(\"sm\"),{minWidth:160}),t)),labelIcon:{minHeight:72,paddingTop:9,\"& $wrapper > *:first-child\":{marginBottom:6}},textColorInherit:{color:\"inherit\",opacity:.7,\"&$selected\":{opacity:1},\"&$disabled\":{opacity:.5}},textColorPrimary:{color:e.palette.text.secondary,\"&$selected\":{color:e.palette.primary.main},\"&$disabled\":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,\"&$selected\":{color:e.palette.secondary.main},\"&$disabled\":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:\"none\"},wrapped:{fontSize:e.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",flexDirection:\"column\"}}}),{name:\"MuiTab\"})(f)},99613:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(10462),u={variant:\"body\"},c=\"tbody\",f=i.forwardRef((function(e,t){var n=e.classes,l=e.className,f=e.component,d=void 0===f?c:f,p=(0,a.Z)(e,[\"classes\",\"className\",\"component\"]);return i.createElement(s.Z.Provider,{value:u},i.createElement(d,(0,r.Z)({className:(0,o.Z)(n.root,l),ref:t,role:d===c?null:\"rowgroup\"},p)))}));t.Z=(0,l.Z)({root:{display:\"table-row-group\"}},{name:\"MuiTableBody\"})(f)},51211:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(99613)},88222:function(e,t,n){\"use strict\";var r=n(45987),a=n(87462),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(93871),u=n(59693),c=n(90106),f=n(10462),d=i.forwardRef((function(e,t){var n,l,u=e.align,d=void 0===u?\"inherit\":u,p=e.classes,h=e.className,m=e.component,g=e.padding,y=e.scope,v=e.size,b=e.sortDirection,x=e.variant,w=(0,r.Z)(e,[\"align\",\"classes\",\"className\",\"component\",\"padding\",\"scope\",\"size\",\"sortDirection\",\"variant\"]),_=i.useContext(c.Z),k=i.useContext(f.Z),T=k&&\"head\"===k.variant;m?(l=m,n=T?\"columnheader\":\"cell\"):l=T?\"th\":\"td\";var M=y;!M&&T&&(M=\"col\");var S=g||(_&&_.padding?_.padding:\"normal\"),E=v||(_&&_.size?_.size:\"medium\"),C=x||k&&k.variant,O=null;return b&&(O=\"asc\"===b?\"ascending\":\"descending\"),i.createElement(l,(0,a.Z)({ref:t,className:(0,o.Z)(p.root,p[C],h,\"inherit\"!==d&&p[\"align\".concat((0,s.Z)(d))],\"normal\"!==S&&p[\"padding\".concat((0,s.Z)(S))],\"medium\"!==E&&p[\"size\".concat((0,s.Z)(E))],\"head\"===C&&_&&_.stickyHeader&&p.stickyHeader),\"aria-sort\":O,role:n,scope:M},w))}));t.Z=(0,l.Z)((function(e){return{root:(0,a.Z)({},e.typography.body2,{display:\"table-cell\",verticalAlign:\"inherit\",borderBottom:\"1px solid\\n \".concat(\"light\"===e.palette.type?(0,u.$n)((0,u.Fq)(e.palette.divider,1),.88):(0,u._j)((0,u.Fq)(e.palette.divider,1),.68)),textAlign:\"left\",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:\"6px 24px 6px 16px\",\"&:last-child\":{paddingRight:16},\"&$paddingCheckbox\":{width:24,padding:\"0 12px 0 16px\",\"&:last-child\":{paddingLeft:12,paddingRight:16},\"& > *\":{padding:0}}},paddingCheckbox:{width:48,padding:\"0 0 0 4px\",\"&:last-child\":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,\"&:last-child\":{padding:0}},alignLeft:{textAlign:\"left\"},alignCenter:{textAlign:\"center\"},alignRight:{textAlign:\"right\",flexDirection:\"row-reverse\"},alignJustify:{textAlign:\"justify\"},stickyHeader:{position:\"sticky\",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:\"MuiTableCell\"})(d)},91281:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(88222)},30055:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return d}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(10462),u={variant:\"footer\"},c=\"tfoot\",f=i.forwardRef((function(e,t){var n=e.classes,l=e.className,f=e.component,d=void 0===f?c:f,p=(0,a.Z)(e,[\"classes\",\"className\",\"component\"]);return i.createElement(s.Z.Provider,{value:u},i.createElement(d,(0,r.Z)({className:(0,o.Z)(n.root,l),ref:t,role:d===c?null:\"rowgroup\"},p)))})),d=(0,l.Z)({root:{display:\"table-footer-group\"}},{name:\"MuiTableFooter\"})(f)},83750:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(10462),u={variant:\"head\"},c=\"thead\",f=i.forwardRef((function(e,t){var n=e.classes,l=e.className,f=e.component,d=void 0===f?c:f,p=(0,a.Z)(e,[\"classes\",\"className\",\"component\"]);return i.createElement(s.Z.Provider,{value:u},i.createElement(d,(0,r.Z)({className:(0,o.Z)(n.root,l),ref:t,role:d===c?null:\"rowgroup\"},p)))}));t.Z=(0,l.Z)({root:{display:\"table-header-group\"}},{name:\"MuiTableHead\"})(f)},15705:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(83750)},69358:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return E}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(14741),u=n(46479),c=n(26209),f=n(88222),d=n(28358),p=n(22318),h=n(64402),m=n(84565),g=n(8920),y=n(17812),v=i.createElement(m.Z,null),b=i.createElement(h.Z,null),x=i.createElement(h.Z,null),w=i.createElement(m.Z,null),_=i.forwardRef((function(e,t){var n=e.backIconButtonProps,o=e.count,l=e.nextIconButtonProps,s=e.onChangePage,u=void 0===s?function(){}:s,c=e.onPageChange,f=void 0===c?function(){}:c,d=e.page,p=e.rowsPerPage,h=(0,a.Z)(e,[\"backIconButtonProps\",\"count\",\"nextIconButtonProps\",\"onChangePage\",\"onPageChange\",\"page\",\"rowsPerPage\"]),m=(0,g.Z)();return i.createElement(\"div\",(0,r.Z)({ref:t},h),i.createElement(y.Z,(0,r.Z)({onClick:function(e){u(e,d-1),f(e,d-1)},disabled:0===d,color:\"inherit\"},n),\"rtl\"===m.direction?v:b),i.createElement(y.Z,(0,r.Z)({onClick:function(e){u(e,d+1),f(e,d+1)},disabled:-1!==o&&d>=Math.ceil(o/p)-1,color:\"inherit\"},l),\"rtl\"===m.direction?x:w))})),k=n(95001),T=function(e){var t=e.from,n=e.to,r=e.count;return\"\".concat(t,\"-\").concat(n,\" of \").concat(-1!==r?r:\"more than \".concat(n))},M=[10,25,50,100],S=i.forwardRef((function(e,t){var n,l=e.ActionsComponent,h=void 0===l?_:l,m=e.backIconButtonProps,g=e.backIconButtonText,y=void 0===g?\"Previous page\":g,v=e.classes,b=e.className,x=e.colSpan,w=e.component,S=void 0===w?f.Z:w,E=e.count,C=e.labelDisplayedRows,O=void 0===C?T:C,A=e.labelRowsPerPage,D=void 0===A?\"Rows per page:\":A,P=e.nextIconButtonProps,R=e.nextIconButtonText,L=void 0===R?\"Next page\":R,I=e.onChangePage,j=e.onPageChange,N=e.onChangeRowsPerPage,z=e.onRowsPerPageChange,F=e.page,Z=e.rowsPerPage,B=e.rowsPerPageOptions,q=void 0===B?M:B,H=e.SelectProps,U=void 0===H?{}:H,W=(0,a.Z)(e,[\"ActionsComponent\",\"backIconButtonProps\",\"backIconButtonText\",\"classes\",\"className\",\"colSpan\",\"component\",\"count\",\"labelDisplayedRows\",\"labelRowsPerPage\",\"nextIconButtonProps\",\"nextIconButtonText\",\"onChangePage\",\"onPageChange\",\"onChangeRowsPerPage\",\"onRowsPerPageChange\",\"page\",\"rowsPerPage\",\"rowsPerPageOptions\",\"SelectProps\"]),V=N||z;S!==f.Z&&\"td\"!==S||(n=x||1e3);var Y=(0,k.Z)(),G=(0,k.Z)(),$=U.native?\"option\":u.Z;return i.createElement(S,(0,r.Z)({className:(0,o.Z)(v.root,b),colSpan:n,ref:t},W),i.createElement(d.Z,{className:v.toolbar},i.createElement(\"div\",{className:v.spacer}),q.length>1&&i.createElement(p.Z,{color:\"inherit\",variant:\"body2\",className:v.caption,id:G},D),q.length>1&&i.createElement(c.Z,(0,r.Z)({classes:{select:v.select,icon:v.selectIcon},input:i.createElement(s.Z,{className:(0,o.Z)(v.input,v.selectRoot)}),value:Z,onChange:V,id:Y,labelId:G},U),q.map((function(e){return i.createElement($,{className:v.menuItem,key:e.value?e.value:e,value:e.value?e.value:e},e.label?e.label:e)}))),i.createElement(p.Z,{color:\"inherit\",variant:\"body2\",className:v.caption},O({from:0===E?0:F*Z+1,to:-1!==E?Math.min(E,(F+1)*Z):(F+1)*Z,count:-1===E?-1:E,page:F})),i.createElement(h,{className:v.actions,backIconButtonProps:(0,r.Z)({title:y,\"aria-label\":y},m),count:E,nextIconButtonProps:(0,r.Z)({title:L,\"aria-label\":L},P),onChangePage:I,onPageChange:j,page:F,rowsPerPage:Z})))})),E=(0,l.Z)((function(e){return{root:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),overflow:\"auto\",\"&:last-child\":{padding:0}},toolbar:{minHeight:52,paddingRight:2},spacer:{flex:\"1 1 100%\"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingLeft:8,paddingRight:24,textAlign:\"right\",textAlignLast:\"right\"},selectIcon:{},input:{color:\"inherit\",fontSize:\"inherit\",flexShrink:0},menuItem:{},actions:{flexShrink:0,marginLeft:20}}}),{name:\"MuiTablePagination\"})(S)},57394:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(10462),u=n(59693),c=i.forwardRef((function(e,t){var n=e.classes,l=e.className,u=e.component,c=void 0===u?\"tr\":u,f=e.hover,d=void 0!==f&&f,p=e.selected,h=void 0!==p&&p,m=(0,a.Z)(e,[\"classes\",\"className\",\"component\",\"hover\",\"selected\"]),g=i.useContext(s.Z);return i.createElement(c,(0,r.Z)({ref:t,className:(0,o.Z)(n.root,l,g&&{head:n.head,footer:n.footer}[g.variant],d&&n.hover,h&&n.selected),role:\"tr\"===c?null:\"row\"},m))}));t.Z=(0,l.Z)((function(e){return{root:{color:\"inherit\",display:\"table-row\",verticalAlign:\"middle\",outline:0,\"&$hover:hover\":{backgroundColor:e.palette.action.hover},\"&$selected, &$selected:hover\":{backgroundColor:(0,u.Fq)(e.palette.secondary.main,e.palette.action.selectedOpacity)}},selected:{},hover:{},head:{},footer:{}}}),{name:\"MuiTableRow\"})(c)},69262:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(57394)},16905:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return d}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=(0,n(63786).Z)(i.createElement(\"path\",{d:\"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z\"}),\"ArrowDownward\"),s=n(52543),u=n(32467),c=n(93871),f=i.forwardRef((function(e,t){var n=e.active,s=void 0!==n&&n,f=e.children,d=e.classes,p=e.className,h=e.direction,m=void 0===h?\"asc\":h,g=e.hideSortIcon,y=void 0!==g&&g,v=e.IconComponent,b=void 0===v?l:v,x=(0,a.Z)(e,[\"active\",\"children\",\"classes\",\"className\",\"direction\",\"hideSortIcon\",\"IconComponent\"]);return i.createElement(u.Z,(0,r.Z)({className:(0,o.Z)(d.root,p,s&&d.active),component:\"span\",disableRipple:!0,ref:t},x),f,y&&!s?null:i.createElement(b,{className:(0,o.Z)(d.icon,d[\"iconDirection\".concat((0,c.Z)(m))])}))})),d=(0,s.Z)((function(e){return{root:{cursor:\"pointer\",display:\"inline-flex\",justifyContent:\"flex-start\",flexDirection:\"inherit\",alignItems:\"center\",\"&:focus\":{color:e.palette.text.secondary},\"&:hover\":{color:e.palette.text.secondary,\"& $icon\":{opacity:.5}},\"&$active\":{color:e.palette.text.primary,\"&& $icon\":{opacity:1,color:e.palette.text.secondary}}},active:{},icon:{fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create([\"opacity\",\"transform\"],{duration:e.transitions.duration.shorter}),userSelect:\"none\"},iconDirectionDesc:{transform:\"rotate(0deg)\"},iconDirectionAsc:{transform:\"rotate(180deg)\"}}}),{name:\"MuiTableSortLabel\"})(f)},82302:function(e,t,n){\"use strict\";var r=n(45987),a=n(87462),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(90106),u=\"table\",c=i.forwardRef((function(e,t){var n=e.classes,l=e.className,c=e.component,f=void 0===c?u:c,d=e.padding,p=void 0===d?\"normal\":d,h=e.size,m=void 0===h?\"medium\":h,g=e.stickyHeader,y=void 0!==g&&g,v=(0,r.Z)(e,[\"classes\",\"className\",\"component\",\"padding\",\"size\",\"stickyHeader\"]),b=i.useMemo((function(){return{padding:p,size:m,stickyHeader:y}}),[p,m,y]);return i.createElement(s.Z.Provider,{value:b},i.createElement(f,(0,a.Z)({role:f===u?null:\"table\",ref:t,className:(0,o.Z)(n.root,l,y&&n.stickyHeader)},v)))}));t.Z=(0,l.Z)((function(e){return{root:{display:\"table\",width:\"100%\",borderCollapse:\"collapse\",borderSpacing:0,\"& caption\":(0,a.Z)({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:\"left\",captionSide:\"bottom\"})},stickyHeader:{borderCollapse:\"separate\"}}}),{name:\"MuiTable\"})(c)},90106:function(e,t,n){\"use strict\";var r=n(67294).createContext();t.Z=r},10462:function(e,t,n){\"use strict\";var r=n(67294).createContext();t.Z=r},39809:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(82302)},14096:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return A}});var r,a=n(87462),i=n(45987),o=n(4942),l=n(67294),s=(n(59864),n(45697),n(86010)),u=n(79437),c=n(80713);function f(){if(r)return r;var e=document.createElement(\"div\"),t=document.createElement(\"div\");return t.style.width=\"10px\",t.style.height=\"1px\",e.appendChild(t),e.dir=\"rtl\",e.style.fontSize=\"14px\",e.style.width=\"4px\",e.style.height=\"1px\",e.style.position=\"absolute\",e.style.top=\"-1000px\",e.style.overflow=\"scroll\",document.body.appendChild(e),r=\"reverse\",e.scrollLeft>0?r=\"default\":(e.scrollLeft=1,0===e.scrollLeft&&(r=\"negative\")),document.body.removeChild(e),r}function d(e,t){var n=e.scrollLeft;if(\"rtl\"!==t)return n;switch(f()){case\"negative\":return e.scrollWidth-e.clientWidth+n;case\"reverse\":return e.scrollWidth-e.clientWidth-n;default:return n}}function p(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var h={width:99,height:99,position:\"absolute\",top:-9999,overflow:\"scroll\"};function m(e){var t=e.onChange,n=(0,i.Z)(e,[\"onChange\"]),r=l.useRef(),o=l.useRef(null),s=function(){r.current=o.current.offsetHeight-o.current.clientHeight};return l.useEffect((function(){var e=(0,u.Z)((function(){var e=r.current;s(),e!==r.current&&t(r.current)}));return window.addEventListener(\"resize\",e),function(){e.clear(),window.removeEventListener(\"resize\",e)}}),[t]),l.useEffect((function(){s(),t(r.current)}),[t]),l.createElement(\"div\",(0,a.Z)({style:h,ref:o},n))}var g=n(52543),y=n(93871),v=l.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.color,u=e.orientation,c=(0,i.Z)(e,[\"classes\",\"className\",\"color\",\"orientation\"]);return l.createElement(\"span\",(0,a.Z)({className:(0,s.Z)(n.root,n[\"color\".concat((0,y.Z)(o))],r,\"vertical\"===u&&n.vertical),ref:t},c))})),b=(0,g.Z)((function(e){return{root:{position:\"absolute\",height:2,bottom:0,width:\"100%\",transition:e.transitions.create()},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main},vertical:{height:\"100%\",width:2,right:0}}}),{name:\"PrivateTabIndicator\"})(v),x=n(64402),w=n(84565),_=n(32467),k=l.createElement(x.Z,{fontSize:\"small\"}),T=l.createElement(w.Z,{fontSize:\"small\"}),M=l.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.direction,u=e.orientation,c=e.disabled,f=(0,i.Z)(e,[\"classes\",\"className\",\"direction\",\"orientation\",\"disabled\"]);return l.createElement(_.Z,(0,a.Z)({component:\"div\",className:(0,s.Z)(n.root,r,c&&n.disabled,\"vertical\"===u&&n.vertical),ref:t,role:null,tabIndex:null},f),\"left\"===o?k:T)})),S=(0,g.Z)({root:{width:40,flexShrink:0,opacity:.8,\"&$disabled\":{opacity:0}},vertical:{width:\"100%\",height:40,\"& svg\":{transform:\"rotate(90deg)\"}},disabled:{}},{name:\"MuiTabScrollButton\"})(M),E=n(55192),C=n(8920),O=l.forwardRef((function(e,t){var n=e[\"aria-label\"],r=e[\"aria-labelledby\"],h=e.action,g=e.centered,y=void 0!==g&&g,v=e.children,x=e.classes,w=e.className,_=e.component,k=void 0===_?\"div\":_,T=e.indicatorColor,M=void 0===T?\"secondary\":T,O=e.onChange,A=e.orientation,D=void 0===A?\"horizontal\":A,P=e.ScrollButtonComponent,R=void 0===P?S:P,L=e.scrollButtons,I=void 0===L?\"auto\":L,j=e.selectionFollowsFocus,N=e.TabIndicatorProps,z=void 0===N?{}:N,F=e.TabScrollButtonProps,Z=e.textColor,B=void 0===Z?\"inherit\":Z,q=e.value,H=e.variant,U=void 0===H?\"standard\":H,W=(0,i.Z)(e,[\"aria-label\",\"aria-labelledby\",\"action\",\"centered\",\"children\",\"classes\",\"className\",\"component\",\"indicatorColor\",\"onChange\",\"orientation\",\"ScrollButtonComponent\",\"scrollButtons\",\"selectionFollowsFocus\",\"TabIndicatorProps\",\"TabScrollButtonProps\",\"textColor\",\"value\",\"variant\"]),V=(0,C.Z)(),Y=\"scrollable\"===U,G=\"rtl\"===V.direction,$=\"vertical\"===D,X=$?\"scrollTop\":\"scrollLeft\",K=$?\"top\":\"left\",J=$?\"bottom\":\"right\",Q=$?\"clientHeight\":\"clientWidth\",ee=$?\"height\":\"width\";var te=l.useState(!1),ne=te[0],re=te[1],ae=l.useState({}),ie=ae[0],oe=ae[1],le=l.useState({start:!1,end:!1}),se=le[0],ue=le[1],ce=l.useState({overflow:\"hidden\",marginBottom:null}),fe=ce[0],de=ce[1],pe=new Map,he=l.useRef(null),me=l.useRef(null),ge=function(){var e,t,n=he.current;if(n){var r=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:d(n,V.direction),scrollWidth:n.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(n&&!1!==q){var a=me.current.children;if(a.length>0){var i=a[pe.get(q)];0,t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},ye=(0,E.Z)((function(){var e,t=ge(),n=t.tabsMeta,r=t.tabMeta,a=0;if(r&&n)if($)a=r.top-n.top+n.scrollTop;else{var i=G?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;a=r.left-n.left+i}var l=(e={},(0,o.Z)(e,K,a),(0,o.Z)(e,ee,r?r[ee]:0),e);if(isNaN(ie[K])||isNaN(ie[ee]))oe(l);else{var s=Math.abs(ie[K]-l[K]),u=Math.abs(ie[ee]-l[ee]);(s>=1||u>=1)&&oe(l)}})),ve=function(e){!function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,o=void 0===i?p:i,l=r.duration,s=void 0===l?300:l,u=null,c=t[e],f=!1,d=function(){f=!0},h=function r(i){if(f)a(new Error(\"Animation cancelled\"));else{null===u&&(u=i);var l=Math.min(1,(i-u)/s);t[e]=o(l)*(n-c)+c,l>=1?requestAnimationFrame((function(){a(null)})):requestAnimationFrame(r)}};c===n?a(new Error(\"Element already at target position\")):requestAnimationFrame(h)}(X,he.current,e)},be=function(e){var t=he.current[X];$?t+=e:(t+=e*(G?-1:1),t*=G&&\"reverse\"===f()?-1:1),ve(t)},xe=function(){be(-he.current[Q])},we=function(){be(he.current[Q])},_e=l.useCallback((function(e){de({overflow:null,marginBottom:-e})}),[]),ke=(0,E.Z)((function(){var e=ge(),t=e.tabsMeta,n=e.tabMeta;if(n&&t)if(n[K]<t[K]){var r=t[X]+(n[K]-t[K]);ve(r)}else if(n[J]>t[J]){var a=t[X]+(n[J]-t[J]);ve(a)}})),Te=(0,E.Z)((function(){if(Y&&\"off\"!==I){var e,t,n=he.current,r=n.scrollTop,a=n.scrollHeight,i=n.clientHeight,o=n.scrollWidth,l=n.clientWidth;if($)e=r>1,t=r<a-i-1;else{var s=d(he.current,V.direction);e=G?s<o-l-1:s>1,t=G?s>1:s<o-l-1}e===se.start&&t===se.end||ue({start:e,end:t})}}));l.useEffect((function(){var e=(0,u.Z)((function(){ye(),Te()})),t=(0,c.Z)(he.current);return t.addEventListener(\"resize\",e),function(){e.clear(),t.removeEventListener(\"resize\",e)}}),[ye,Te]);var Me=l.useCallback((0,u.Z)((function(){Te()})));l.useEffect((function(){return function(){Me.clear()}}),[Me]),l.useEffect((function(){re(!0)}),[]),l.useEffect((function(){ye(),Te()})),l.useEffect((function(){ke()}),[ke,ie]),l.useImperativeHandle(h,(function(){return{updateIndicator:ye,updateScrollButtons:Te}}),[ye,Te]);var Se=l.createElement(b,(0,a.Z)({className:x.indicator,orientation:D,color:M},z,{style:(0,a.Z)({},ie,z.style)})),Ee=0,Ce=l.Children.map(v,(function(e){if(!l.isValidElement(e))return null;var t=void 0===e.props.value?Ee:e.props.value;pe.set(t,Ee);var n=t===q;return Ee+=1,l.cloneElement(e,{fullWidth:\"fullWidth\"===U,indicator:n&&!ne&&Se,selected:n,selectionFollowsFocus:j,onChange:O,textColor:B,value:t})})),Oe=function(){var e={};e.scrollbarSizeListener=Y?l.createElement(m,{className:x.scrollable,onChange:_e}):null;var t=se.start||se.end,n=Y&&(\"auto\"===I&&t||\"desktop\"===I||\"on\"===I);return e.scrollButtonStart=n?l.createElement(R,(0,a.Z)({orientation:D,direction:G?\"right\":\"left\",onClick:xe,disabled:!se.start,className:(0,s.Z)(x.scrollButtons,\"on\"!==I&&x.scrollButtonsDesktop)},F)):null,e.scrollButtonEnd=n?l.createElement(R,(0,a.Z)({orientation:D,direction:G?\"left\":\"right\",onClick:we,disabled:!se.end,className:(0,s.Z)(x.scrollButtons,\"on\"!==I&&x.scrollButtonsDesktop)},F)):null,e}();return l.createElement(k,(0,a.Z)({className:(0,s.Z)(x.root,w,$&&x.vertical),ref:t},W),Oe.scrollButtonStart,Oe.scrollbarSizeListener,l.createElement(\"div\",{className:(0,s.Z)(x.scroller,Y?x.scrollable:x.fixed),style:fe,ref:he,onScroll:Me},l.createElement(\"div\",{\"aria-label\":n,\"aria-labelledby\":r,className:(0,s.Z)(x.flexContainer,$&&x.flexContainerVertical,y&&!Y&&x.centered),onKeyDown:function(e){var t=e.target;if(\"tab\"===t.getAttribute(\"role\")){var n=null,r=\"vertical\"!==D?\"ArrowLeft\":\"ArrowUp\",a=\"vertical\"!==D?\"ArrowRight\":\"ArrowDown\";switch(\"vertical\"!==D&&\"rtl\"===V.direction&&(r=\"ArrowRight\",a=\"ArrowLeft\"),e.key){case r:n=t.previousElementSibling||me.current.lastChild;break;case a:n=t.nextElementSibling||me.current.firstChild;break;case\"Home\":n=me.current.firstChild;break;case\"End\":n=me.current.lastChild}null!==n&&(n.focus(),e.preventDefault())}},ref:me,role:\"tablist\"},Ce),ne&&Se),Oe.scrollButtonEnd)})),A=(0,g.Z)((function(e){return{root:{overflow:\"hidden\",minHeight:48,WebkitOverflowScrolling:\"touch\",display:\"flex\"},vertical:{flexDirection:\"column\"},flexContainer:{display:\"flex\"},flexContainerVertical:{flexDirection:\"column\"},centered:{justifyContent:\"center\"},scroller:{position:\"relative\",display:\"inline-block\",flex:\"1 1 auto\",whiteSpace:\"nowrap\"},fixed:{overflowX:\"hidden\",width:\"100%\"},scrollable:{overflowX:\"scroll\",scrollbarWidth:\"none\",\"&::-webkit-scrollbar\":{display:\"none\"}},scrollButtons:{},scrollButtonsDesktop:(0,o.Z)({},e.breakpoints.down(\"xs\"),{display:\"none\"}),indicator:{}}}),{name:\"MuiTabs\"})(O)},39803:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(38799),s=n(59446),u=n(66718),c=n(43700),f=n(64436),d=n(30585),p=n(26209),h=n(52543),m={standard:l.Z,filled:s.Z,outlined:u.Z},g=i.forwardRef((function(e,t){var n=e.autoComplete,l=e.autoFocus,s=void 0!==l&&l,u=e.children,h=e.classes,g=e.className,y=e.color,v=void 0===y?\"primary\":y,b=e.defaultValue,x=e.disabled,w=void 0!==x&&x,_=e.error,k=void 0!==_&&_,T=e.FormHelperTextProps,M=e.fullWidth,S=void 0!==M&&M,E=e.helperText,C=e.hiddenLabel,O=e.id,A=e.InputLabelProps,D=e.inputProps,P=e.InputProps,R=e.inputRef,L=e.label,I=e.multiline,j=void 0!==I&&I,N=e.name,z=e.onBlur,F=e.onChange,Z=e.onFocus,B=e.placeholder,q=e.required,H=void 0!==q&&q,U=e.rows,W=e.rowsMax,V=e.maxRows,Y=e.minRows,G=e.select,$=void 0!==G&&G,X=e.SelectProps,K=e.type,J=e.value,Q=e.variant,ee=void 0===Q?\"standard\":Q,te=(0,a.Z)(e,[\"autoComplete\",\"autoFocus\",\"children\",\"classes\",\"className\",\"color\",\"defaultValue\",\"disabled\",\"error\",\"FormHelperTextProps\",\"fullWidth\",\"helperText\",\"hiddenLabel\",\"id\",\"InputLabelProps\",\"inputProps\",\"InputProps\",\"inputRef\",\"label\",\"multiline\",\"name\",\"onBlur\",\"onChange\",\"onFocus\",\"placeholder\",\"required\",\"rows\",\"rowsMax\",\"maxRows\",\"minRows\",\"select\",\"SelectProps\",\"type\",\"value\",\"variant\"]);var ne={};if(\"outlined\"===ee&&(A&&void 0!==A.shrink&&(ne.notched=A.shrink),L)){var re,ae=null!==(re=null==A?void 0:A.required)&&void 0!==re?re:H;ne.label=i.createElement(i.Fragment,null,L,ae&&\" *\")}$&&(X&&X.native||(ne.id=void 0),ne[\"aria-describedby\"]=void 0);var ie=E&&O?\"\".concat(O,\"-helper-text\"):void 0,oe=L&&O?\"\".concat(O,\"-label\"):void 0,le=m[ee],se=i.createElement(le,(0,r.Z)({\"aria-describedby\":ie,autoComplete:n,autoFocus:s,defaultValue:b,fullWidth:S,multiline:j,name:N,rows:U,rowsMax:W,maxRows:V,minRows:Y,type:K,value:J,id:O,inputRef:R,onBlur:z,onChange:F,onFocus:Z,placeholder:B,inputProps:D},ne,P));return i.createElement(f.Z,(0,r.Z)({className:(0,o.Z)(h.root,g),disabled:w,error:k,fullWidth:S,hiddenLabel:C,ref:t,required:H,color:v,variant:ee},te),L&&i.createElement(c.Z,(0,r.Z)({htmlFor:O,id:oe},A),L),$?i.createElement(p.Z,(0,r.Z)({\"aria-describedby\":ie,id:O,labelId:oe,value:J,input:se},X),u):se,E&&i.createElement(d.Z,(0,r.Z)({id:ie},T),E))}));t.Z=(0,h.Z)({root:{}},{name:\"MuiTextField\"})(g)},85961:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(39803)},28358:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(4942),o=n(67294),l=(n(45697),n(86010)),s=n(52543),u=o.forwardRef((function(e,t){var n=e.classes,i=e.className,s=e.component,u=void 0===s?\"div\":s,c=e.disableGutters,f=void 0!==c&&c,d=e.variant,p=void 0===d?\"regular\":d,h=(0,a.Z)(e,[\"classes\",\"className\",\"component\",\"disableGutters\",\"variant\"]);return o.createElement(u,(0,r.Z)({className:(0,l.Z)(n.root,n[p],i,!f&&n.gutters),ref:t},h))}));t.Z=(0,s.Z)((function(e){return{root:{position:\"relative\",display:\"flex\",alignItems:\"center\"},gutters:(0,i.Z)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up(\"sm\"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:\"MuiToolbar\"})(u)},47595:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(28358)},96544:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return Be}});var r=n(87462),a=n(70885),i=n(45987),o=n(4942),l=n(67294),s=n(73935),u=(n(45697),n(86010)),c=n(35953),f=n(59693),d=n(52543),p=n(93871),h=n(20170),m=\"undefined\"!=typeof window&&\"undefined\"!=typeof document&&\"undefined\"!=typeof navigator,g=function(){for(var e=[\"Edge\",\"Trident\",\"Firefox\"],t=0;t<e.length;t+=1)if(m&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var y=m&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),g))}};function v(e){return e&&\"[object Function]\"==={}.toString.call(e)}function b(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function x(e){return\"HTML\"===e.nodeName?e:e.parentNode||e.host}function w(e){if(!e)return document.body;switch(e.nodeName){case\"HTML\":case\"BODY\":return e.ownerDocument.body;case\"#document\":return e.body}var t=b(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/(auto|scroll|overlay)/.test(n+a+r)?e:w(x(e))}function _(e){return e&&e.referenceNode?e.referenceNode:e}var k=m&&!(!window.MSInputMethodContext||!document.documentMode),T=m&&/MSIE 10/.test(navigator.userAgent);function M(e){return 11===e?k:10===e?T:k||T}function S(e){if(!e)return document.documentElement;for(var t=M(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&\"BODY\"!==r&&\"HTML\"!==r?-1!==[\"TH\",\"TD\",\"TABLE\"].indexOf(n.nodeName)&&\"static\"===b(n,\"position\")?S(n):n:e?e.ownerDocument.documentElement:document.documentElement}function E(e){return null!==e.parentNode?E(e.parentNode):e}function C(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,a=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(a,0);var o,l,s=i.commonAncestorContainer;if(e!==s&&t!==s||r.contains(a))return\"BODY\"===(l=(o=s).nodeName)||\"HTML\"!==l&&S(o.firstElementChild)!==o?S(s):s;var u=E(e);return u.host?C(u.host,t):C(e,E(t).host)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"top\",n=\"top\"===t?\"scrollTop\":\"scrollLeft\",r=e.nodeName;if(\"BODY\"===r||\"HTML\"===r){var a=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||a;return i[n]}return e[n]}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=O(t,\"top\"),a=O(t,\"left\"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=a*i,e.right+=a*i,e}function D(e,t){var n=\"x\"===t?\"Left\":\"Top\",r=\"Left\"===n?\"Right\":\"Bottom\";return parseFloat(e[\"border\"+n+\"Width\"])+parseFloat(e[\"border\"+r+\"Width\"])}function P(e,t,n,r){return Math.max(t[\"offset\"+e],t[\"scroll\"+e],n[\"client\"+e],n[\"offset\"+e],n[\"scroll\"+e],M(10)?parseInt(n[\"offset\"+e])+parseInt(r[\"margin\"+(\"Height\"===e?\"Top\":\"Left\")])+parseInt(r[\"margin\"+(\"Height\"===e?\"Bottom\":\"Right\")]):0)}function R(e){var t=e.body,n=e.documentElement,r=M(10)&&getComputedStyle(n);return{height:P(\"Height\",t,n,r),width:P(\"Width\",t,n,r)}}var L=function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")},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}}(),j=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},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};function z(e){return N({},e,{right:e.left+e.width,bottom:e.top+e.height})}function F(e){var t={};try{if(M(10)){t=e.getBoundingClientRect();var n=O(e,\"top\"),r=O(e,\"left\");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var a={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i=\"HTML\"===e.nodeName?R(e.ownerDocument):{},o=i.width||e.clientWidth||a.width,l=i.height||e.clientHeight||a.height,s=e.offsetWidth-o,u=e.offsetHeight-l;if(s||u){var c=b(e);s-=D(c,\"x\"),u-=D(c,\"y\"),a.width-=s,a.height-=u}return z(a)}function Z(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=M(10),a=\"HTML\"===t.nodeName,i=F(e),o=F(t),l=w(e),s=b(t),u=parseFloat(s.borderTopWidth),c=parseFloat(s.borderLeftWidth);n&&a&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var f=z({top:i.top-o.top-u,left:i.left-o.left-c,width:i.width,height:i.height});if(f.marginTop=0,f.marginLeft=0,!r&&a){var d=parseFloat(s.marginTop),p=parseFloat(s.marginLeft);f.top-=u-d,f.bottom-=u-d,f.left-=c-p,f.right-=c-p,f.marginTop=d,f.marginLeft=p}return(r&&!n?t.contains(l):t===l&&\"BODY\"!==l.nodeName)&&(f=A(f,t)),f}function B(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=Z(e,n),a=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:O(n),l=t?0:O(n,\"left\"),s={top:o-r.top+r.marginTop,left:l-r.left+r.marginLeft,width:a,height:i};return z(s)}function q(e){var t=e.nodeName;if(\"BODY\"===t||\"HTML\"===t)return!1;if(\"fixed\"===b(e,\"position\"))return!0;var n=x(e);return!!n&&q(n)}function H(e){if(!e||!e.parentElement||M())return document.documentElement;for(var t=e.parentElement;t&&\"none\"===b(t,\"transform\");)t=t.parentElement;return t||document.documentElement}function U(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},o=a?H(e):C(e,_(t));if(\"viewport\"===r)i=B(o,a);else{var l=void 0;\"scrollParent\"===r?\"BODY\"===(l=w(x(t))).nodeName&&(l=e.ownerDocument.documentElement):l=\"window\"===r?e.ownerDocument.documentElement:r;var s=Z(l,o,a);if(\"HTML\"!==l.nodeName||q(o))i=s;else{var u=R(e.ownerDocument),c=u.height,f=u.width;i.top+=s.top-s.marginTop,i.bottom=c+s.top,i.left+=s.left-s.marginLeft,i.right=f+s.left}}var d=\"number\"==typeof(n=n||0);return i.left+=d?n:n.left||0,i.top+=d?n:n.top||0,i.right-=d?n:n.right||0,i.bottom-=d?n:n.bottom||0,i}function W(e){return e.width*e.height}function V(e,t,n,r,a){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf(\"auto\"))return e;var o=U(n,r,i,a),l={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},s=Object.keys(l).map((function(e){return N({key:e},l[e],{area:W(l[e])})})).sort((function(e,t){return t.area-e.area})),u=s.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),c=u.length>0?u[0].key:s[0].key,f=e.split(\"-\")[1];return c+(f?\"-\"+f:\"\")}function Y(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=r?H(t):C(t,_(n));return Z(n,a,r)}function G(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function $(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 X(e,t,n){n=n.split(\"-\")[0];var r=G(e),a={width:r.width,height:r.height},i=-1!==[\"right\",\"left\"].indexOf(n),o=i?\"top\":\"left\",l=i?\"left\":\"top\",s=i?\"height\":\"width\",u=i?\"width\":\"height\";return a[o]=t[o]+t[s]/2-r[s]/2,a[l]=n===l?t[l]-r[u]:t[$(l)],a}function K(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function J(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=K(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,\"name\",n))).forEach((function(e){e.function&&console.warn(\"`modifier.function` is deprecated, use `modifier.fn`!\");var n=e.function||e.fn;e.enabled&&v(n)&&(t.offsets.popper=z(t.offsets.popper),t.offsets.reference=z(t.offsets.reference),t=n(t,e))})),t}function Q(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Y(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=V(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.positionFixed=this.options.positionFixed,e.offsets.popper=X(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?\"fixed\":\"absolute\",e=J(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function ee(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function te(e){for(var t=[!1,\"ms\",\"Webkit\",\"Moz\",\"O\"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var a=t[r],i=a?\"\"+a+n:e;if(void 0!==document.body.style[i])return i}return null}function ne(){return this.state.isDestroyed=!0,ee(this.modifiers,\"applyStyle\")&&(this.popper.removeAttribute(\"x-placement\"),this.popper.style.position=\"\",this.popper.style.top=\"\",this.popper.style.left=\"\",this.popper.style.right=\"\",this.popper.style.bottom=\"\",this.popper.style.willChange=\"\",this.popper.style[te(\"transform\")]=\"\"),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function re(e){var t=e.ownerDocument;return t?t.defaultView:window}function ae(e,t,n,r){var a=\"BODY\"===e.nodeName,i=a?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),a||ae(w(i.parentNode),t,n,r),r.push(i)}function ie(e,t,n,r){n.updateBound=r,re(e).addEventListener(\"resize\",n.updateBound,{passive:!0});var a=w(e);return ae(a,\"scroll\",n.updateBound,n.scrollParents),n.scrollElement=a,n.eventsEnabled=!0,n}function oe(){this.state.eventsEnabled||(this.state=ie(this.reference,this.options,this.state,this.scheduleUpdate))}function le(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,re(e).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 se(e){return\"\"!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ue(e,t){Object.keys(t).forEach((function(n){var r=\"\";-1!==[\"width\",\"height\",\"top\",\"right\",\"bottom\",\"left\"].indexOf(n)&&se(t[n])&&(r=\"px\"),e.style[n]=t[n]+r}))}var ce=m&&/Firefox/i.test(navigator.userAgent);function fe(e,t,n){var r=K(e,(function(e){return e.name===t})),a=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!a){var i=\"`\"+t+\"`\",o=\"`\"+n+\"`\";console.warn(o+\" modifier is required by \"+i+\" modifier in order to work, be sure to include it before \"+i+\"!\")}return a}var 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\"],pe=de.slice(3);function he(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=pe.indexOf(e),r=pe.slice(n+1).concat(pe.slice(0,n));return t?r.reverse():r}var me=\"flip\",ge=\"clockwise\",ye=\"counterclockwise\";function ve(e,t,n,r){var a=[0,0],i=-1!==[\"right\",\"left\"].indexOf(r),o=e.split(/(\\+|\\-)/).map((function(e){return e.trim()})),l=o.indexOf(K(o,(function(e){return-1!==e.search(/,|\\s/)})));o[l]&&-1===o[l].indexOf(\",\")&&console.warn(\"Offsets separated by white space(s) are deprecated, use a comma (,) instead.\");var s=/\\s*,\\s*|\\s+/,u=-1!==l?[o.slice(0,l).concat([o[l].split(s)[0]]),[o[l].split(s)[1]].concat(o.slice(l+1))]:[o];return u=u.map((function(e,r){var a=(1===r?!i:i)?\"height\":\"width\",o=!1;return e.reduce((function(e,t){return\"\"===e[e.length-1]&&-1!==[\"+\",\"-\"].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var a=e.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/),i=+a[1],o=a[2];if(!i)return e;if(0===o.indexOf(\"%\")){return z(\"%p\"===o?n:r)[t]/100*i}if(\"vh\"===o||\"vw\"===o)return(\"vh\"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,a,t,n)}))})),u.forEach((function(e,t){e.forEach((function(n,r){se(n)&&(a[t]+=n*(\"-\"===e[r-1]?-1:1))}))})),a}var be={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split(\"-\")[0],r=t.split(\"-\")[1];if(r){var a=e.offsets,i=a.reference,o=a.popper,l=-1!==[\"bottom\",\"top\"].indexOf(n),s=l?\"left\":\"top\",u=l?\"width\":\"height\",c={start:j({},s,i[s]),end:j({},s,i[s]+i[u]-o[u])};e.offsets.popper=N({},o,c[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,a=e.offsets,i=a.popper,o=a.reference,l=r.split(\"-\")[0],s=void 0;return s=se(+n)?[+n,0]:ve(n,i,o,l),\"left\"===l?(i.top+=s[0],i.left-=s[1]):\"right\"===l?(i.top+=s[0],i.left+=s[1]):\"top\"===l?(i.left+=s[0],i.top-=s[1]):\"bottom\"===l&&(i.left+=s[0],i.top+=s[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||S(e.instance.popper);e.instance.reference===n&&(n=S(n));var r=te(\"transform\"),a=e.instance.popper.style,i=a.top,o=a.left,l=a[r];a.top=\"\",a.left=\"\",a[r]=\"\";var s=U(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);a.top=i,a.left=o,a[r]=l,t.boundaries=s;var u=t.priority,c=e.offsets.popper,f={primary:function(e){var n=c[e];return c[e]<s[e]&&!t.escapeWithReference&&(n=Math.max(c[e],s[e])),j({},e,n)},secondary:function(e){var n=\"right\"===e?\"left\":\"top\",r=c[n];return c[e]>s[e]&&!t.escapeWithReference&&(r=Math.min(c[n],s[e]-(\"right\"===e?c.width:c.height))),j({},n,r)}};return u.forEach((function(e){var t=-1!==[\"left\",\"top\"].indexOf(e)?\"primary\":\"secondary\";c=N({},c,f[t](e))})),e.offsets.popper=c,e},priority:[\"left\",\"right\",\"top\",\"bottom\"],padding:5,boundariesElement:\"scrollParent\"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,a=e.placement.split(\"-\")[0],i=Math.floor,o=-1!==[\"top\",\"bottom\"].indexOf(a),l=o?\"right\":\"bottom\",s=o?\"left\":\"top\",u=o?\"width\":\"height\";return n[l]<i(r[s])&&(e.offsets.popper[s]=i(r[s])-n[u]),n[s]>i(r[l])&&(e.offsets.popper[s]=i(r[l])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!fe(e.instance.modifiers,\"arrow\",\"keepTogether\"))return e;var r=t.element;if(\"string\"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn(\"WARNING: `arrow.element` must be child of its popper element!\"),e;var a=e.placement.split(\"-\")[0],i=e.offsets,o=i.popper,l=i.reference,s=-1!==[\"left\",\"right\"].indexOf(a),u=s?\"height\":\"width\",c=s?\"Top\":\"Left\",f=c.toLowerCase(),d=s?\"left\":\"top\",p=s?\"bottom\":\"right\",h=G(r)[u];l[p]-h<o[f]&&(e.offsets.popper[f]-=o[f]-(l[p]-h)),l[f]+h>o[p]&&(e.offsets.popper[f]+=l[f]+h-o[p]),e.offsets.popper=z(e.offsets.popper);var m=l[f]+l[u]/2-h/2,g=b(e.instance.popper),y=parseFloat(g[\"margin\"+c]),v=parseFloat(g[\"border\"+c+\"Width\"]),x=m-e.offsets.popper[f]-y-v;return x=Math.max(Math.min(o[u]-h,x),0),e.arrowElement=r,e.offsets.arrow=(j(n={},f,Math.round(x)),j(n,d,\"\"),n),e},element:\"[x-arrow]\"},flip:{order:600,enabled:!0,fn:function(e,t){if(ee(e.instance.modifiers,\"inner\"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=U(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split(\"-\")[0],a=$(r),i=e.placement.split(\"-\")[1]||\"\",o=[];switch(t.behavior){case me:o=[r,a];break;case ge:o=he(r);break;case ye:o=he(r,!0);break;default:o=t.behavior}return o.forEach((function(l,s){if(r!==l||o.length===s+1)return e;r=e.placement.split(\"-\")[0],a=$(r);var u=e.offsets.popper,c=e.offsets.reference,f=Math.floor,d=\"left\"===r&&f(u.right)>f(c.left)||\"right\"===r&&f(u.left)<f(c.right)||\"top\"===r&&f(u.bottom)>f(c.top)||\"bottom\"===r&&f(u.top)<f(c.bottom),p=f(u.left)<f(n.left),h=f(u.right)>f(n.right),m=f(u.top)<f(n.top),g=f(u.bottom)>f(n.bottom),y=\"left\"===r&&p||\"right\"===r&&h||\"top\"===r&&m||\"bottom\"===r&&g,v=-1!==[\"top\",\"bottom\"].indexOf(r),b=!!t.flipVariations&&(v&&\"start\"===i&&p||v&&\"end\"===i&&h||!v&&\"start\"===i&&m||!v&&\"end\"===i&&g),x=!!t.flipVariationsByContent&&(v&&\"start\"===i&&h||v&&\"end\"===i&&p||!v&&\"start\"===i&&g||!v&&\"end\"===i&&m),w=b||x;(d||y||w)&&(e.flipped=!0,(d||y)&&(r=o[s+1]),w&&(i=function(e){return\"end\"===e?\"start\":\"start\"===e?\"end\":e}(i)),e.placement=r+(i?\"-\"+i:\"\"),e.offsets.popper=N({},e.offsets.popper,X(e.instance.popper,e.offsets.reference,e.placement)),e=J(e.instance.modifiers,e,\"flip\"))})),e},behavior:\"flip\",padding:5,boundariesElement:\"viewport\",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split(\"-\")[0],r=e.offsets,a=r.popper,i=r.reference,o=-1!==[\"left\",\"right\"].indexOf(n),l=-1===[\"top\",\"left\"].indexOf(n);return a[o?\"left\":\"top\"]=i[n]-(l?a[o?\"width\":\"height\"]:0),e.placement=$(t),e.offsets.popper=z(a),e}},hide:{order:800,enabled:!0,fn:function(e){if(!fe(e.instance.modifiers,\"hide\",\"preventOverflow\"))return e;var t=e.offsets.reference,n=K(e.instance.modifiers,(function(e){return\"preventOverflow\"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.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 n=t.x,r=t.y,a=e.offsets.popper,i=K(e.instance.modifiers,(function(e){return\"applyStyle\"===e.name})).gpuAcceleration;void 0!==i&&console.warn(\"WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!\");var o=void 0!==i?i:t.gpuAcceleration,l=S(e.instance.popper),s=F(l),u={position:a.position},c=function(e,t){var n=e.offsets,r=n.popper,a=n.reference,i=Math.round,o=Math.floor,l=function(e){return e},s=i(a.width),u=i(r.width),c=-1!==[\"left\",\"right\"].indexOf(e.placement),f=-1!==e.placement.indexOf(\"-\"),d=t?c||f||s%2==u%2?i:o:l,p=t?i:l;return{left:d(s%2==1&&u%2==1&&!f&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:d(r.right)}}(e,window.devicePixelRatio<2||!ce),f=\"bottom\"===n?\"top\":\"bottom\",d=\"right\"===r?\"left\":\"right\",p=te(\"transform\"),h=void 0,m=void 0;if(m=\"bottom\"===f?\"HTML\"===l.nodeName?-l.clientHeight+c.bottom:-s.height+c.bottom:c.top,h=\"right\"===d?\"HTML\"===l.nodeName?-l.clientWidth+c.right:-s.width+c.right:c.left,o&&p)u[p]=\"translate3d(\"+h+\"px, \"+m+\"px, 0)\",u[f]=0,u[d]=0,u.willChange=\"transform\";else{var g=\"bottom\"===f?-1:1,y=\"right\"===d?-1:1;u[f]=m*g,u[d]=h*y,u.willChange=f+\", \"+d}var v={\"x-placement\":e.placement};return e.attributes=N({},v,e.attributes),e.styles=N({},u,e.styles),e.arrowStyles=N({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:\"bottom\",y:\"right\"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return ue(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&ue(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,a){var i=Y(a,t,e,n.positionFixed),o=V(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute(\"x-placement\",o),ue(t,{position:n.positionFixed?\"fixed\":\"absolute\"}),n},gpuAcceleration:void 0}},xe={placement:\"bottom\",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:be},we=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};L(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=y(this.update.bind(this)),this.options=N({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(N({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=N({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return N({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&v(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return I(e,[{key:\"update\",value:function(){return Q.call(this)}},{key:\"destroy\",value:function(){return ne.call(this)}},{key:\"enableEventListeners\",value:function(){return oe.call(this)}},{key:\"disableEventListeners\",value:function(){return le.call(this)}}]),e}();we.Utils=(\"undefined\"!=typeof window?window:n.g).PopperUtils,we.placements=de,we.Defaults=xe;var _e=we,ke=n(159),Te=n(76234),Me=n(82568),Se=n(34236),Ee=n(17294);function Ce(e){return\"function\"==typeof e?e():e}var Oe=\"undefined\"!=typeof window?l.useLayoutEffect:l.useEffect,Ae={},De=l.forwardRef((function(e,t){var n=e.anchorEl,a=e.children,o=e.container,s=e.disablePortal,u=void 0!==s&&s,c=e.keepMounted,f=void 0!==c&&c,d=e.modifiers,p=e.open,h=e.placement,m=void 0===h?\"bottom\":h,g=e.popperOptions,y=void 0===g?Ae:g,v=e.popperRef,b=e.style,x=e.transition,w=void 0!==x&&x,_=(0,i.Z)(e,[\"anchorEl\",\"children\",\"container\",\"disablePortal\",\"keepMounted\",\"modifiers\",\"open\",\"placement\",\"popperOptions\",\"popperRef\",\"style\",\"transition\"]),k=l.useRef(null),T=(0,Ee.Z)(k,t),M=l.useRef(null),S=(0,Ee.Z)(M,v),E=l.useRef(S);Oe((function(){E.current=S}),[S]),l.useImperativeHandle(v,(function(){return M.current}),[]);var C=l.useState(!0),O=C[0],A=C[1],D=function(e,t){if(\"ltr\"===(t&&t.direction||\"ltr\"))return e;switch(e){case\"bottom-end\":return\"bottom-start\";case\"bottom-start\":return\"bottom-end\";case\"top-end\":return\"top-start\";case\"top-start\":return\"top-end\";default:return e}}(m,(0,ke.Z)()),P=l.useState(D),R=P[0],L=P[1];l.useEffect((function(){M.current&&M.current.update()}));var I=l.useCallback((function(){if(k.current&&n&&p){M.current&&(M.current.destroy(),E.current(null));var e=function(e){L(e.placement)},t=(Ce(n),new _e(Ce(n),k.current,(0,r.Z)({placement:D},y,{modifiers:(0,r.Z)({},u?{}:{preventOverflow:{boundariesElement:\"window\"}},d,y.modifiers),onCreate:(0,Me.Z)(e,y.onCreate),onUpdate:(0,Me.Z)(e,y.onUpdate)})));E.current(t)}}),[n,u,d,p,D,y]),j=l.useCallback((function(e){(0,Se.Z)(T,e),I()}),[T,I]),N=function(){M.current&&(M.current.destroy(),E.current(null))};if(l.useEffect((function(){return function(){N()}}),[]),l.useEffect((function(){p||w||N()}),[p,w]),!f&&!p&&(!w||O))return null;var z={placement:R};return w&&(z.TransitionProps={in:p,onEnter:function(){A(!1)},onExited:function(){A(!0),N()}}),l.createElement(Te.Z,{disablePortal:u,container:o},l.createElement(\"div\",(0,r.Z)({ref:j,role:\"tooltip\"},_,{style:(0,r.Z)({position:\"fixed\",top:0,left:0,display:p||!f||w?null:\"none\"},b)}),\"function\"==typeof a?a(z):a))})),Pe=De,Re=n(95001),Le=n(24896),Ie=n(22775),je=n(8920);function Ne(e){return Math.round(1e5*e)/1e5}var ze=!1,Fe=null;var Ze=l.forwardRef((function(e,t){var n=e.arrow,o=void 0!==n&&n,f=e.children,d=e.classes,m=e.disableFocusListener,g=void 0!==m&&m,y=e.disableHoverListener,v=void 0!==y&&y,b=e.disableTouchListener,x=void 0!==b&&b,w=e.enterDelay,_=void 0===w?100:w,k=e.enterNextDelay,T=void 0===k?0:k,M=e.enterTouchDelay,S=void 0===M?700:M,E=e.id,C=e.interactive,O=void 0!==C&&C,A=e.leaveDelay,D=void 0===A?0:A,P=e.leaveTouchDelay,R=void 0===P?1500:P,L=e.onClose,I=e.onOpen,j=e.open,N=e.placement,z=void 0===N?\"bottom\":N,F=e.PopperComponent,Z=void 0===F?Pe:F,B=e.PopperProps,q=e.title,H=e.TransitionComponent,U=void 0===H?h.Z:H,W=e.TransitionProps,V=(0,i.Z)(e,[\"arrow\",\"children\",\"classes\",\"disableFocusListener\",\"disableHoverListener\",\"disableTouchListener\",\"enterDelay\",\"enterNextDelay\",\"enterTouchDelay\",\"id\",\"interactive\",\"leaveDelay\",\"leaveTouchDelay\",\"onClose\",\"onOpen\",\"open\",\"placement\",\"PopperComponent\",\"PopperProps\",\"title\",\"TransitionComponent\",\"TransitionProps\"]),Y=(0,je.Z)(),G=l.useState(),$=G[0],X=G[1],K=l.useState(null),J=K[0],Q=K[1],ee=l.useRef(!1),te=l.useRef(),ne=l.useRef(),re=l.useRef(),ae=l.useRef(),ie=(0,Ie.Z)({controlled:j,default:!1,name:\"Tooltip\",state:\"open\"}),oe=(0,a.Z)(ie,2),le=oe[0],se=oe[1],ue=le,ce=(0,Re.Z)(E);l.useEffect((function(){return function(){clearTimeout(te.current),clearTimeout(ne.current),clearTimeout(re.current),clearTimeout(ae.current)}}),[]);var fe=function(e){clearTimeout(Fe),ze=!0,se(!0),I&&I(e)},de=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=f.props;\"mouseover\"===t.type&&n.onMouseOver&&e&&n.onMouseOver(t),ee.current&&\"touchstart\"!==t.type||($&&$.removeAttribute(\"title\"),clearTimeout(ne.current),clearTimeout(re.current),_||ze&&T?(t.persist(),ne.current=setTimeout((function(){fe(t)}),ze?T:_)):fe(t))}},pe=(0,Le.Z)(),he=pe.isFocusVisible,me=pe.onBlurVisible,ge=pe.ref,ye=l.useState(!1),ve=ye[0],be=ye[1],xe=function(){ve&&(be(!1),me())},we=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){$||X(t.currentTarget),he(t)&&(be(!0),de()(t));var n=f.props;n.onFocus&&e&&n.onFocus(t)}},_e=function(e){clearTimeout(Fe),Fe=setTimeout((function(){ze=!1}),800+D),se(!1),L&&L(e),clearTimeout(te.current),te.current=setTimeout((function(){ee.current=!1}),Y.transitions.duration.shortest)},ke=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=f.props;\"blur\"===t.type&&(n.onBlur&&e&&n.onBlur(t),xe()),\"mouseleave\"===t.type&&n.onMouseLeave&&t.currentTarget===$&&n.onMouseLeave(t),clearTimeout(ne.current),clearTimeout(re.current),t.persist(),re.current=setTimeout((function(){_e(t)}),D)}},Te=function(e){ee.current=!0;var t=f.props;t.onTouchStart&&t.onTouchStart(e)},Me=(0,Ee.Z)(X,t),Ce=(0,Ee.Z)(ge,Me),Oe=l.useCallback((function(e){(0,Se.Z)(Ce,s.findDOMNode(e))}),[Ce]),Ae=(0,Ee.Z)(f.ref,Oe);\"\"===q&&(ue=!1);var De=!ue&&!v,Ne=(0,r.Z)({\"aria-describedby\":ue?ce:null,title:De&&\"string\"==typeof q?q:null},V,f.props,{className:(0,u.Z)(V.className,f.props.className),onTouchStart:Te,ref:Ae}),Ze={};x||(Ne.onTouchStart=function(e){Te(e),clearTimeout(re.current),clearTimeout(te.current),clearTimeout(ae.current),e.persist(),ae.current=setTimeout((function(){de()(e)}),S)},Ne.onTouchEnd=function(e){f.props.onTouchEnd&&f.props.onTouchEnd(e),clearTimeout(ae.current),clearTimeout(re.current),e.persist(),re.current=setTimeout((function(){_e(e)}),R)}),v||(Ne.onMouseOver=de(),Ne.onMouseLeave=ke(),O&&(Ze.onMouseOver=de(!1),Ze.onMouseLeave=ke(!1))),g||(Ne.onFocus=we(),Ne.onBlur=ke(),O&&(Ze.onFocus=we(!1),Ze.onBlur=ke(!1)));var Be=l.useMemo((function(){return(0,c.Z)({popperOptions:{modifiers:{arrow:{enabled:Boolean(J),element:J}}}},B)}),[J,B]);return l.createElement(l.Fragment,null,l.cloneElement(f,Ne),l.createElement(Z,(0,r.Z)({className:(0,u.Z)(d.popper,O&&d.popperInteractive,o&&d.popperArrow),placement:z,anchorEl:$,open:!!$&&ue,id:Ne[\"aria-describedby\"],transition:!0},Ze,Be),(function(e){var t=e.placement,n=e.TransitionProps;return l.createElement(U,(0,r.Z)({timeout:Y.transitions.duration.shorter},n,W),l.createElement(\"div\",{className:(0,u.Z)(d.tooltip,d[\"tooltipPlacement\".concat((0,p.Z)(t.split(\"-\")[0]))],ee.current&&d.touch,o&&d.tooltipArrow)},q,o?l.createElement(\"span\",{className:d.arrow,ref:Q}):null))})))})),Be=(0,d.Z)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:\"none\"},popperInteractive:{pointerEvents:\"auto\"},popperArrow:{'&[x-placement*=\"bottom\"] $arrow':{top:0,left:0,marginTop:\"-0.71em\",marginLeft:4,marginRight:4,\"&::before\":{transformOrigin:\"0 100%\"}},'&[x-placement*=\"top\"] $arrow':{bottom:0,left:0,marginBottom:\"-0.71em\",marginLeft:4,marginRight:4,\"&::before\":{transformOrigin:\"100% 0\"}},'&[x-placement*=\"right\"] $arrow':{left:0,marginLeft:\"-0.71em\",height:\"1em\",width:\"0.71em\",marginTop:4,marginBottom:4,\"&::before\":{transformOrigin:\"100% 100%\"}},'&[x-placement*=\"left\"] $arrow':{right:0,marginRight:\"-0.71em\",height:\"1em\",width:\"0.71em\",marginTop:4,marginBottom:4,\"&::before\":{transformOrigin:\"0 0\"}}},tooltip:{backgroundColor:(0,f.Fq)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:\"4px 8px\",fontSize:e.typography.pxToRem(10),lineHeight:\"\".concat(Ne(1.4),\"em\"),maxWidth:300,wordWrap:\"break-word\",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:\"relative\",margin:\"0\"},arrow:{overflow:\"hidden\",position:\"absolute\",width:\"1em\",height:\"0.71em\",boxSizing:\"border-box\",color:(0,f.Fq)(e.palette.grey[700],.9),\"&::before\":{content:'\"\"',margin:\"auto\",display:\"block\",width:\"100%\",height:\"100%\",backgroundColor:\"currentColor\",transform:\"rotate(45deg)\"}},touch:{padding:\"8px 16px\",fontSize:e.typography.pxToRem(14),lineHeight:\"\".concat(Ne(16/14),\"em\"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:(0,o.Z)({transformOrigin:\"right center\",margin:\"0 24px \"},e.breakpoints.up(\"sm\"),{margin:\"0 14px\"}),tooltipPlacementRight:(0,o.Z)({transformOrigin:\"left center\",margin:\"0 24px\"},e.breakpoints.up(\"sm\"),{margin:\"0 14px\"}),tooltipPlacementTop:(0,o.Z)({transformOrigin:\"center bottom\",margin:\"24px 0\"},e.breakpoints.up(\"sm\"),{margin:\"14px 0\"}),tooltipPlacementBottom:(0,o.Z)({transformOrigin:\"center top\",margin:\"24px 0\"},e.breakpoints.up(\"sm\"),{margin:\"14px 0\"})}}),{name:\"MuiTooltip\",flip:!1})(Ze)},22318:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(86010)),l=n(52543),s=n(93871),u={h1:\"h1\",h2:\"h2\",h3:\"h3\",h4:\"h4\",h5:\"h5\",h6:\"h6\",subtitle1:\"h6\",subtitle2:\"h6\",body1:\"p\",body2:\"p\"},c=i.forwardRef((function(e,t){var n=e.align,l=void 0===n?\"inherit\":n,c=e.classes,f=e.className,d=e.color,p=void 0===d?\"initial\":d,h=e.component,m=e.display,g=void 0===m?\"initial\":m,y=e.gutterBottom,v=void 0!==y&&y,b=e.noWrap,x=void 0!==b&&b,w=e.paragraph,_=void 0!==w&&w,k=e.variant,T=void 0===k?\"body1\":k,M=e.variantMapping,S=void 0===M?u:M,E=(0,a.Z)(e,[\"align\",\"classes\",\"className\",\"color\",\"component\",\"display\",\"gutterBottom\",\"noWrap\",\"paragraph\",\"variant\",\"variantMapping\"]),C=h||(_?\"p\":S[T]||u[T])||\"span\";return i.createElement(C,(0,r.Z)({className:(0,o.Z)(c.root,f,\"inherit\"!==T&&c[T],\"initial\"!==p&&c[\"color\".concat((0,s.Z)(p))],x&&c.noWrap,v&&c.gutterBottom,_&&c.paragraph,\"inherit\"!==l&&c[\"align\".concat((0,s.Z)(l))],\"initial\"!==g&&c[\"display\".concat((0,s.Z)(g))]),ref:t},E))}));t.Z=(0,l.Z)((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:\"absolute\",height:1,width:1,overflow:\"hidden\"},alignLeft:{textAlign:\"left\"},alignCenter:{textAlign:\"center\"},alignRight:{textAlign:\"right\"},alignJustify:{textAlign:\"justify\"},noWrap:{overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},gutterBottom:{marginBottom:\"0.35em\"},paragraph:{marginBottom:16},colorInherit:{color:\"inherit\"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:\"inline\"},displayBlock:{display:\"block\"}}}),{name:\"MuiTypography\"})(c)},80400:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(22318)},64402:function(e,t,n){\"use strict\";var r=n(67294),a=n(63786);t.Z=(0,a.Z)(r.createElement(\"path\",{d:\"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z\"}),\"KeyboardArrowLeft\")},84565:function(e,t,n){\"use strict\";var r=n(67294),a=n(63786);t.Z=(0,a.Z)(r.createElement(\"path\",{d:\"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z\"}),\"KeyboardArrowRight\")},59693:function(e,t,n){\"use strict\";n.d(t,{oo:function(){return i},vq:function(){return o},ve:function(){return l},tB:function(){return s},wy:function(){return u},mi:function(){return c},H3:function(){return f},_4:function(){return d},U1:function(){return p},Fq:function(){return h},_j:function(){return m},$n:function(){return g}});var r=n(60288);function a(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){e=e.substr(1);var t=new RegExp(\".{1,\".concat(e.length>=6?2:1,\"}\"),\"g\"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?\"rgb\".concat(4===n.length?\"a\":\"\",\"(\").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(\", \"),\")\"):\"\"}function o(e){if(0===e.indexOf(\"#\"))return e;var t=s(e).values;return\"#\".concat(t.map((function(e){return 1===(t=e.toString(16)).length?\"0\".concat(t):t;var t})).join(\"\"))}function l(e){var t=(e=s(e)).values,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return a-i*Math.max(Math.min(t-3,9-t,1),-1)},l=\"rgb\",c=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return\"hsla\"===e.type&&(l+=\"a\",c.push(t[3])),u({type:l,values:c})}function s(e){if(e.type)return e;if(\"#\"===e.charAt(0))return s(i(e));var t=e.indexOf(\"(\"),n=e.substring(0,t);if(-1===[\"rgb\",\"rgba\",\"hsl\",\"hsla\"].indexOf(n))throw new Error((0,r.Z)(3,e));var a=e.substring(t+1,e.length-1).split(\",\");return{type:n,values:a=a.map((function(e){return parseFloat(e)}))}}function u(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 c(e,t){var n=f(e),r=f(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function f(e){var t=\"hsl\"===(e=s(e)).type?s(l(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 d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return f(e)>.5?m(e,t):g(e,t)}function p(e,t){return h(e,t)}function h(e,t){return e=s(e),t=a(t),\"rgb\"!==e.type&&\"hsl\"!==e.type||(e.type+=\"a\"),e.values[3]=t,u(e)}function m(e,t){if(e=s(e),t=a(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 u(e)}function g(e,t){if(e=s(e),t=a(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 u(e)}},90157:function(e,t,n){\"use strict\";n.d(t,{X:function(){return i},Z:function(){return o}});var r=n(87462),a=n(45987),i=[\"xs\",\"sm\",\"md\",\"lg\",\"xl\"];function o(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,o=e.unit,l=void 0===o?\"px\":o,s=e.step,u=void 0===s?5:s,c=(0,a.Z)(e,[\"values\",\"unit\",\"step\"]);function f(e){var t=\"number\"==typeof n[e]?n[e]:e;return\"@media (min-width:\".concat(t).concat(l,\")\")}function d(e,t){var r=i.indexOf(t);return r===i.length-1?f(e):\"@media (min-width:\".concat(\"number\"==typeof n[e]?n[e]:e).concat(l,\") and \")+\"(max-width:\".concat((-1!==r&&\"number\"==typeof n[i[r+1]]?n[i[r+1]]:t)-u/100).concat(l,\")\")}return(0,r.Z)({keys:i,values:n,up:f,down:function(e){var t=i.indexOf(e)+1,r=n[i[t]];return t===i.length?f(\"xs\"):\"@media (max-width:\".concat((\"number\"==typeof r&&t>0?r:e)-u/100).concat(l,\")\")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},c)}},35117:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(10150);function a(e){return(0,r.Z)(e)}},28225:function(e,t,n){\"use strict\";n.d(t,{A:function(){return j},Z:function(){return N}});var r=n(45987),a=n(35953),i=n(90157),o=n(4942),l=n(87462);function s(e,t,n){var r;return(0,l.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn([\"Material-UI: theme.mixins.gutters() is deprecated.\",\"You can use the source of the mixin directly:\",\"\\n paddingLeft: theme.spacing(2),\\n paddingRight: theme.spacing(2),\\n [theme.breakpoints.up('sm')]: {\\n paddingLeft: theme.spacing(3),\\n paddingRight: theme.spacing(3),\\n },\\n \"].join(\"\\n\")),(0,l.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,o.Z)({},e.up(\"sm\"),(0,l.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up(\"sm\")])))},toolbar:(r={minHeight:56},(0,o.Z)(r,\"\".concat(e.up(\"xs\"),\" and (orientation: landscape)\"),{minHeight:48}),(0,o.Z)(r,e.up(\"sm\"),{minHeight:64}),r)},n)}var u=n(60288),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\"},d={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\"},p={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\"},h={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\"},g={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\"},y={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\"},v=n(59693),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){var a=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:\"light\"===t?e.light=(0,v.$n)(e.main,a):\"dark\"===t&&(e.dark=(0,v._j)(e.main,i)))}function _(e){var t=e.primary,n=void 0===t?{light:d[300],main:d[500],dark:d[700]}:t,i=e.secondary,o=void 0===i?{light:p.A200,main:p.A400,dark:p.A700}:i,s=e.error,_=void 0===s?{light:h[300],main:h[500],dark:h[700]}:s,k=e.warning,T=void 0===k?{light:m[300],main:m[500],dark:m[700]}:k,M=e.info,S=void 0===M?{light:g[300],main:g[500],dark:g[700]}:M,E=e.success,C=void 0===E?{light:y[300],main:y[500],dark:y[700]}:E,O=e.type,A=void 0===O?\"light\":O,D=e.contrastThreshold,P=void 0===D?3:D,R=e.tonalOffset,L=void 0===R?.2:R,I=(0,r.Z)(e,[\"primary\",\"secondary\",\"error\",\"warning\",\"info\",\"success\",\"type\",\"contrastThreshold\",\"tonalOffset\"]);function j(e){return(0,v.mi)(e,x.text.primary)>=P?x.text.primary:b.text.primary}var N=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=(0,l.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,u.Z)(4,t));if(\"string\"!=typeof e.main)throw new Error((0,u.Z)(5,JSON.stringify(e.main)));return w(e,\"light\",n,L),w(e,\"dark\",r,L),e.contrastText||(e.contrastText=j(e.main)),e},z={dark:x,light:b};return(0,a.Z)((0,l.Z)({common:c,type:A,primary:N(n),secondary:N(o,\"A400\",\"A200\",\"A700\"),error:N(_),warning:N(T),info:N(S),success:N(C),grey:f,contrastThreshold:P,getContrastText:j,augmentColor:N,tonalOffset:L},z[A]),I)}function k(e){return Math.round(1e5*e)/1e5}function T(e){return k(e)}var M={textTransform:\"uppercase\"},S='\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';function E(e,t){var n=\"function\"==typeof t?t(e):t,i=n.fontFamily,o=void 0===i?S:i,s=n.fontSize,u=void 0===s?14:s,c=n.fontWeightLight,f=void 0===c?300:c,d=n.fontWeightRegular,p=void 0===d?400:d,h=n.fontWeightMedium,m=void 0===h?500:h,g=n.fontWeightBold,y=void 0===g?700:g,v=n.htmlFontSize,b=void 0===v?16:v,x=n.allVariants,w=n.pxToRem,_=(0,r.Z)(n,[\"fontFamily\",\"fontSize\",\"fontWeightLight\",\"fontWeightRegular\",\"fontWeightMedium\",\"fontWeightBold\",\"htmlFontSize\",\"allVariants\",\"pxToRem\"]);var E=u/14,C=w||function(e){return\"\".concat(e/b*E,\"rem\")},O=function(e,t,n,r,a){return(0,l.Z)({fontFamily:o,fontWeight:e,fontSize:C(t),lineHeight:n},o===S?{letterSpacing:\"\".concat(k(r/t),\"em\")}:{},a,x)},A={h1:O(f,96,1.167,-1.5),h2:O(f,60,1.2,-.5),h3:O(p,48,1.167,0),h4:O(p,34,1.235,.25),h5:O(p,24,1.334,0),h6:O(m,20,1.6,.15),subtitle1:O(p,16,1.75,.15),subtitle2:O(m,14,1.57,.1),body1:O(p,16,1.5,.15),body2:O(p,14,1.43,.15),button:O(m,14,1.75,.4,M),caption:O(p,12,1.66,.4),overline:O(p,12,2.66,1,M)};return(0,a.Z)((0,l.Z)({htmlFontSize:b,pxToRem:C,round:T,fontFamily:o,fontSize:u,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:m,fontWeightBold:y},A),_,{clone:!1})}function C(){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\",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],A={borderRadius:4},D=n(38681);function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,D.h)({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 R=n(43366),L=n(92781);function I(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,o=e.mixins,l=void 0===o?{}:o,u=e.palette,c=void 0===u?{}:u,f=e.spacing,d=e.typography,p=void 0===d?{}:d,h=(0,r.Z)(e,[\"breakpoints\",\"mixins\",\"palette\",\"spacing\",\"typography\"]),m=_(c),g=(0,i.Z)(n),y=P(f),v=(0,a.Z)({breakpoints:g,direction:\"ltr\",mixins:s(g,y,l),overrides:{},palette:m,props:{},shadows:O,typography:E(m,p),spacing:y,shape:A,transitions:R.ZP,zIndex:L.Z},h),b=arguments.length,x=new Array(b>1?b-1:0),w=1;w<b;w++)x[w-1]=arguments[w];return v=x.reduce((function(e,t){return(0,a.Z)(e,t)}),v)}function j(){return I.apply(void 0,arguments)}var N=I},99700:function(e,t,n){\"use strict\";var r=(0,n(28225).Z)();t.Z=r},54288:function(e,t,n){\"use strict\";n.r(t),n.d(t,{MuiThemeProvider:function(){return A.Z},ServerStyleSheets:function(){return C.Z},StylesProvider:function(){return O.ZP},ThemeProvider:function(){return A.Z},alpha:function(){return r.Fq},createGenerateClassName:function(){return S.Z},createMuiTheme:function(){return a.A},createStyles:function(){return l.Z},createTheme:function(){return a.Z},darken:function(){return r._j},decomposeColor:function(){return r.tB},duration:function(){return x.x9},easing:function(){return x.Ui},emphasize:function(){return r._4},fade:function(){return r.U1},getContrastRatio:function(){return r.mi},getLuminance:function(){return r.H3},hexToRgb:function(){return r.oo},hslToRgb:function(){return r.ve},jssPreset:function(){return E.Z},lighten:function(){return r.$n},makeStyles:function(){return s.Z},recomposeColor:function(){return r.wy},responsiveFontSizes:function(){return v},rgbToHex:function(){return r.vq},styled:function(){return b.Z},unstable_createMuiStrictModeTheme:function(){return o},useTheme:function(){return w.Z},withStyles:function(){return _.Z},withTheme:function(){return M}});var r=n(59693),a=n(28225),i=n(35953);function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return a.Z.apply(void 0,[(0,i.Z)({unstable_strictMode:!0},e)].concat(n))}var l=n(35117),s=n(41120),u=n(87462),c=n(60288),f=n(4942);function d(e){return String(parseFloat(e)).length===String(e).length}function p(e){return parseFloat(e)}function h(e){return function(t,n){var r=String(t).match(/[\\d.\\-+]*\\s*(.*)/)[1]||\"\";if(r===n)return t;var a=p(t);if(\"px\"!==r)if(\"em\"===r)a=p(t)*p(e);else if(\"rem\"===r)return a=p(t)*p(e),t;var i=a;if(\"px\"!==n)if(\"em\"===n)i=a/p(e);else{if(\"rem\"!==n)return t;i=a/p(e)}return parseFloat(i.toFixed(5))+n}}function m(e){var t=e.size,n=e.grid,r=t-t%n,a=r+n;return t-r<a-t?r:a}function g(e){var t=e.lineHeight;return e.pixels/(t*e.htmlFontSize)}function y(e){var t=e.cssProperty,n=e.min,r=e.max,a=e.unit,i=void 0===a?\"rem\":a,o=e.breakpoints,l=void 0===o?[600,960,1280]:o,s=e.transform,u=void 0===s?null:s,c=(0,f.Z)({},t,\"\".concat(n).concat(i)),d=(r-n)/l[l.length-1];return l.forEach((function(e){var r=n+d*e;null!==u&&(r=u(r)),c[\"@media (min-width:\".concat(e,\"px)\")]=(0,f.Z)({},t,\"\".concat(Math.round(1e4*r)/1e4).concat(i))})),c}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.breakpoints,r=void 0===n?[\"sm\",\"md\",\"lg\"]:n,a=t.disableAlign,i=void 0!==a&&a,o=t.factor,l=void 0===o?2:o,s=t.variants,f=void 0===s?[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"subtitle1\",\"subtitle2\",\"body1\",\"body2\",\"caption\",\"button\",\"overline\"]:s,p=(0,u.Z)({},e);p.typography=(0,u.Z)({},p.typography);var v=p.typography,b=h(v.htmlFontSize),x=r.map((function(e){return p.breakpoints.values[e]}));return f.forEach((function(e){var t=v[e],n=parseFloat(b(t.fontSize,\"rem\"));if(!(n<=1)){var r=n,a=1+(r-1)/l,o=t.lineHeight;if(!d(o)&&!i)throw new Error((0,c.Z)(6));d(o)||(o=parseFloat(b(o,\"rem\"))/parseFloat(n));var s=null;i||(s=function(e){return m({size:e,grid:g({pixels:4,lineHeight:o,htmlFontSize:v.htmlFontSize})})}),v[e]=(0,u.Z)({},t,y({cssProperty:\"fontSize\",min:a,max:r,unit:\"rem\",breakpoints:x,transform:s}))}})),p}var b=n(11476),x=n(43366),w=n(8920),_=n(52543),k=n(23681),T=n(99700),M=(0,k.r)({defaultTheme:T.Z}),S=n(5034),E=n(60246),C=n(15921),O=n(26975),A=n(13457)},41120:function(e,t,n){\"use strict\";var r=n(87462),a=n(73914),i=n(99700);t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.Z)(e,(0,r.Z)({defaultTheme:i.Z},t))}},11476:function(e,t,n){\"use strict\";var r=n(87462),a=n(49699),i=n(99700);t.Z=function(e){var t=(0,a.Z)(e);return function(e,n){return t(e,(0,r.Z)({defaultTheme:i.Z},n))}}},43366:function(e,t,n){\"use strict\";n.d(t,{Ui:function(){return a},x9:function(){return i}});var r=n(45987),a={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)\"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return\"\".concat(Math.round(e),\"ms\")}t.ZP={easing:a,duration:i,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,l=void 0===n?i.standard:n,s=t.easing,u=void 0===s?a.easeInOut:s,c=t.delay,f=void 0===c?0:c;(0,r.Z)(t,[\"duration\",\"easing\",\"delay\"]);return(Array.isArray(e)?e:[e]).map((function(e){return\"\".concat(e,\" \").concat(\"string\"==typeof l?l:o(l),\" \").concat(u,\" \").concat(\"string\"==typeof f?f:o(f))})).join(\",\")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},8920:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return i}});var r=n(159),a=(n(67294),n(99700));function i(){return(0,r.Z)()||a.Z}},52543:function(e,t,n){\"use strict\";var r=n(87462),a=n(38920),i=n(99700);t.Z=function(e,t){return(0,a.Z)(e,(0,r.Z)({defaultTheme:i.Z},t))}},92781:function(e,t){\"use strict\";t.Z={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},5653:function(e,t,n){\"use strict\";n.d(t,{n:function(){return r},C:function(){return a}});var r=function(e){return e.scrollTop};function a(e,t){var n=e.timeout,r=e.style,a=void 0===r?{}:r;return{duration:a.transitionDuration||\"number\"==typeof n?n:n[t.mode]||0,delay:a.transitionDelay}}},93871:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(60288);function a(e){if(\"string\"!=typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},82568:function(e,t,n){\"use strict\";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},63786:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return o}});var r=n(87462),a=n(67294),i=n(62087);function o(e,t){var n=function(t,n){return a.createElement(i.Z,(0,r.Z)({ref:n},t),e)};return n.muiName=i.Z.muiName,a.memo(a.forwardRef(n))}},79437:function(e,t,n){\"use strict\";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];var o=this,l=function(){e.apply(o,a)};clearTimeout(t),t=setTimeout(l,n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},75840:function(e,t,n){\"use strict\";function r(){var e=document.createElement(\"div\");e.style.width=\"99px\",e.style.height=\"99px\",e.style.position=\"absolute\",e.style.top=\"-9999px\",e.style.overflow=\"scroll\",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}n.d(t,{Z:function(){return r}})},28546:function(e,t,n){\"use strict\";n.r(t),n.d(t,{capitalize:function(){return r.Z},createChainedFunction:function(){return a.Z},createSvgIcon:function(){return i.Z},debounce:function(){return o.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return s.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return c.Z},requirePropFactory:function(){return f},setRef:function(){return d.Z},unstable_useId:function(){return y.Z},unsupportedProp:function(){return p},useControlled:function(){return h.Z},useEventCallback:function(){return m.Z},useForkRef:function(){return g.Z},useIsFocusVisible:function(){return v.Z}});var r=n(93871),a=n(82568),i=n(63786),o=n(79437);function l(e,t){return function(){return null}}var s=n(83711),u=n(30626),c=n(80713);function f(e){return function(){return null}}var d=n(34236);function p(e,t,n,r,a){return null}var h=n(22775),m=n(55192),g=n(17294),y=n(95001),v=n(24896)},83711:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(67294);function a(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},30626:function(e,t,n){\"use strict\";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},80713:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(30626);function a(e){return(0,r.Z)(e).defaultView||window}},34236:function(e,t,n){\"use strict\";function r(e,t){\"function\"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},95001:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(67294);function a(e){var t=r.useState(e),n=t[0],a=t[1],i=e||n;return r.useEffect((function(){null==n&&a(\"mui-\".concat(Math.round(1e5*Math.random())))}),[n]),i}},22775:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(67294);function a(e){var t=e.controlled,n=e.default,a=(e.name,e.state,r.useRef(void 0!==t).current),i=r.useState(n),o=i[0],l=i[1];return[a?t:o,r.useCallback((function(e){a||l(e)}),[])]}},55192:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return i}});var r=n(67294),a=\"undefined\"!=typeof window?r.useLayoutEffect:r.useEffect;function i(e){var t=r.useRef(e);return a((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},17294:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return i}});var r=n(67294),a=n(34236);function i(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,a.Z)(e,n),(0,a.Z)(t,n)}}),[e,t])}},24896:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return h}});var r=n(67294),a=n(73935),i=!0,o=!1,l=null,s={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 u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function f(){\"hidden\"===this.visibilityState&&o&&(i=!0)}function d(e){var t,n,r,a=e.target;try{return a.matches(\":focus-visible\")}catch(e){}return i||(n=(t=a).type,!(\"INPUT\"!==(r=t.tagName)||!s[n]||t.readOnly)||\"TEXTAREA\"===r&&!t.readOnly||!!t.isContentEditable)}function p(){o=!0,window.clearTimeout(l),l=window.setTimeout((function(){o=!1}),100)}function h(){return{isFocusVisible:d,onBlurVisible:p,ref:r.useCallback((function(e){var t,n=a.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener(\"keydown\",u,!0),t.addEventListener(\"mousedown\",c,!0),t.addEventListener(\"pointerdown\",c,!0),t.addEventListener(\"touchstart\",c,!0),t.addEventListener(\"visibilitychange\",f,!0))}),[])}}},59114:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.hexToRgb=i,t.rgbToHex=function(e){if(0===e.indexOf(\"#\"))return e;var t=l(e).values;return\"#\".concat(t.map((function(e){return 1===(t=e.toString(16)).length?\"0\".concat(t):t;var t})).join(\"\"))},t.hslToRgb=o,t.decomposeColor=l,t.recomposeColor=s,t.getContrastRatio=function(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.getLuminance=u,t.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?f(e,t):d(e,t)},t.fade=function(e,t){0;return c(e,t)},t.alpha=c,t.darken=f,t.lighten=d;var r=n(75218);function a(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){e=e.substr(1);var t=new RegExp(\".{1,\".concat(e.length>=6?2:1,\"}\"),\"g\"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?\"rgb\".concat(4===n.length?\"a\":\"\",\"(\").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(\", \"),\")\"):\"\"}function o(e){var t=(e=l(e)).values,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return a-i*Math.max(Math.min(t-3,9-t,1),-1)},u=\"rgb\",c=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return\"hsla\"===e.type&&(u+=\"a\",c.push(t[3])),s({type:u,values:c})}function l(e){if(e.type)return e;if(\"#\"===e.charAt(0))return l(i(e));var t=e.indexOf(\"(\"),n=e.substring(0,t);if(-1===[\"rgb\",\"rgba\",\"hsl\",\"hsla\"].indexOf(n))throw new Error((0,r.formatMuiErrorMessage)(3,e));var a=e.substring(t+1,e.length-1).split(\",\");return{type:n,values:a=a.map((function(e){return parseFloat(e)}))}}function s(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 u(e){var t=\"hsl\"===(e=l(e)).type?l(o(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 c(e,t){return e=l(e),t=a(t),\"rgb\"!==e.type&&\"hsl\"!==e.type||(e.type+=\"a\"),e.values[3]=t,s(e)}function f(e,t){if(e=l(e),t=a(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 s(e)}function d(e,t){if(e=l(e),t=a(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 s(e)}},94811:function(e,t,n){\"use strict\";var r=n(95318);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,l=void 0===r?\"px\":r,s=e.step,u=void 0===s?5:s,c=(0,i.default)(e,[\"values\",\"unit\",\"step\"]);function f(e){var t=\"number\"==typeof n[e]?n[e]:e;return\"@media (min-width:\".concat(t).concat(l,\")\")}function d(e,t){var r=o.indexOf(t);return r===o.length-1?f(e):\"@media (min-width:\".concat(\"number\"==typeof n[e]?n[e]:e).concat(l,\") and \")+\"(max-width:\".concat((-1!==r&&\"number\"==typeof n[o[r+1]]?n[o[r+1]]:t)-u/100).concat(l,\")\")}return(0,a.default)({keys:o,values:n,up:f,down:function(e){var t=o.indexOf(e)+1,r=n[o[t]];return t===o.length?f(\"xs\"):\"@media (max-width:\".concat((\"number\"==typeof r&&t>0?r:e)-u/100).concat(l,\")\")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},c)},t.keys=void 0;var a=r(n(67154)),i=r(n(6479)),o=[\"xs\",\"sm\",\"md\",\"lg\",\"xl\"];t.keys=o},40226:function(e,t,n){\"use strict\";var r=n(95318);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t,n){var r;return(0,i.default)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn([\"Material-UI: theme.mixins.gutters() is deprecated.\",\"You can use the source of the mixin directly:\",\"\\n paddingLeft: theme.spacing(2),\\n paddingRight: theme.spacing(2),\\n [theme.breakpoints.up('sm')]: {\\n paddingLeft: theme.spacing(3),\\n paddingRight: theme.spacing(3),\\n },\\n \"].join(\"\\n\")),(0,i.default)({paddingLeft:t(2),paddingRight:t(2)},n,(0,a.default)({},e.up(\"sm\"),(0,i.default)({paddingLeft:t(3),paddingRight:t(3)},n[e.up(\"sm\")])))},toolbar:(r={minHeight:56},(0,a.default)(r,\"\".concat(e.up(\"xs\"),\" and (orientation: landscape)\"),{minHeight:48}),(0,a.default)(r,e.up(\"sm\"),{minHeight:64}),r)},n)};var a=r(n(59713)),i=r(n(67154))},21091:function(e,t,n){\"use strict\";var r=n(95318);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){var t=e.primary,n=void 0===t?{light:u.default[300],main:u.default[500],dark:u.default[700]}:t,r=e.secondary,b=void 0===r?{light:c.default.A200,main:c.default.A400,dark:c.default.A700}:r,x=e.error,w=void 0===x?{light:f.default[300],main:f.default[500],dark:f.default[700]}:x,_=e.warning,k=void 0===_?{light:d.default[300],main:d.default[500],dark:d.default[700]}:_,T=e.info,M=void 0===T?{light:p.default[300],main:p.default[500],dark:p.default[700]}:T,S=e.success,E=void 0===S?{light:h.default[300],main:h.default[500],dark:h.default[700]}:S,C=e.type,O=void 0===C?\"light\":C,A=e.contrastThreshold,D=void 0===A?3:A,P=e.tonalOffset,R=void 0===P?.2:P,L=(0,i.default)(e,[\"primary\",\"secondary\",\"error\",\"warning\",\"info\",\"success\",\"type\",\"contrastThreshold\",\"tonalOffset\"]);function I(e){return(0,m.getContrastRatio)(e,y.text.primary)>=D?y.text.primary:g.text.primary}var j=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=(0,a.default)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,o.formatMuiErrorMessage)(4,t));if(\"string\"!=typeof e.main)throw new Error(_formatMuiErrorMessage(5,JSON.stringify(e.main)));return v(e,\"light\",n,R),v(e,\"dark\",r,R),e.contrastText||(e.contrastText=I(e.main)),e},N={dark:y,light:g};0;return(0,o.deepmerge)((0,a.default)({common:l.default,type:O,primary:j(n),secondary:j(b,\"A400\",\"A200\",\"A700\"),error:j(w),warning:j(k),info:j(M),success:j(E),grey:s.default,contrastThreshold:D,getContrastText:I,augmentColor:j,tonalOffset:R},N[O]),L)},t.dark=t.light=void 0;var a=r(n(67154)),i=r(n(6479)),o=n(75218),l=r(n(515)),s=r(n(70167)),u=r(n(78768)),c=r(n(124)),f=r(n(83165)),d=r(n(36594)),p=r(n(63259)),h=r(n(47559)),m=n(59114),g={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:l.default.white,default:s.default[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}};t.light=g;var y={text:{primary:l.default.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:s.default[800],default:\"#303030\"},action:{active:l.default.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 v(e,t,n,r){var a=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:\"light\"===t?e.light=(0,m.lighten)(e.main,a):\"dark\"===t&&(e.dark=(0,m.darken)(e.main,i)))}t.dark=y},83498:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,r.createUnarySpacing)({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 r=n(21151)},86002:function(e,t,n){\"use strict\";var r=n(95318);Object.defineProperty(t,\"__esModule\",{value:!0}),t.createMuiTheme=function(){0;return m.apply(void 0,arguments)},t.default=void 0;r(n(59713));var a=r(n(6479)),i=n(75218),o=r(n(94811)),l=r(n(40226)),s=r(n(21091)),u=r(n(45184)),c=r(n(80743)),f=r(n(59591)),d=r(n(83498)),p=r(n(15406)),h=r(n(88676));function m(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,m=void 0===r?{}:r,g=e.palette,y=void 0===g?{}:g,v=e.spacing,b=e.typography,x=void 0===b?{}:b,w=(0,a.default)(e,[\"breakpoints\",\"mixins\",\"palette\",\"spacing\",\"typography\"]),_=(0,s.default)(y),k=(0,o.default)(n),T=(0,d.default)(v),M=(0,i.deepmerge)({breakpoints:k,direction:\"ltr\",mixins:(0,l.default)(k,T,m),overrides:{},palette:_,props:{},shadows:c.default,typography:(0,u.default)(_,x),spacing:T,shape:f.default,transitions:p.default,zIndex:h.default},w),S=arguments.length,E=new Array(S>1?S-1:0),C=1;C<S;C++)E[C-1]=arguments[C];return M=E.reduce((function(e,t){return(0,i.deepmerge)(e,t)}),M)}var g=m;t.default=g},45184:function(e,t,n){\"use strict\";var r=n(95318);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){var n=\"function\"==typeof t?t(e):t,r=n.fontFamily,f=void 0===r?c:r,d=n.fontSize,p=void 0===d?14:d,h=n.fontWeightLight,m=void 0===h?300:h,g=n.fontWeightRegular,y=void 0===g?400:g,v=n.fontWeightMedium,b=void 0===v?500:v,x=n.fontWeightBold,w=void 0===x?700:x,_=n.htmlFontSize,k=void 0===_?16:_,T=n.allVariants,M=n.pxToRem,S=(0,i.default)(n,[\"fontFamily\",\"fontSize\",\"fontWeightLight\",\"fontWeightRegular\",\"fontWeightMedium\",\"fontWeightBold\",\"htmlFontSize\",\"allVariants\",\"pxToRem\"]);0;var E=p/14,C=M||function(e){return\"\".concat(e/k*E,\"rem\")},O=function(e,t,n,r,i){return(0,a.default)({fontFamily:f,fontWeight:e,fontSize:C(t),lineHeight:n},f===c?{letterSpacing:\"\".concat(l(r/t),\"em\")}:{},i,T)},A={h1:O(m,96,1.167,-1.5),h2:O(m,60,1.2,-.5),h3:O(y,48,1.167,0),h4:O(y,34,1.235,.25),h5:O(y,24,1.334,0),h6:O(b,20,1.6,.15),subtitle1:O(y,16,1.75,.15),subtitle2:O(b,14,1.57,.1),body1:O(y,16,1.5,.15),body2:O(y,14,1.43,.15),button:O(b,14,1.75,.4,u),caption:O(y,12,1.66,.4),overline:O(y,12,2.66,1,u)};return(0,o.deepmerge)((0,a.default)({htmlFontSize:k,pxToRem:C,round:s,fontFamily:f,fontSize:p,fontWeightLight:m,fontWeightRegular:y,fontWeightMedium:b,fontWeightBold:w},A),S,{clone:!1})};var a=r(n(67154)),i=r(n(6479)),o=n(75218);function l(e){return Math.round(1e5*e)/1e5}function s(e){return l(e)}var u={textTransform:\"uppercase\"},c='\"Roboto\", \"Helvetica\", \"Arial\", sans-serif'},22719:function(e,t,n){\"use strict\";var r=n(95318);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var a=(0,r(n(86002)).default)();t.default=a},80743:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;function n(){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 r=[\"none\",n(0,2,1,-1,0,1,1,0,0,1,3,0),n(0,3,1,-2,0,2,2,0,0,1,5,0),n(0,3,3,-2,0,3,4,0,0,1,8,0),n(0,2,4,-1,0,4,5,0,0,1,10,0),n(0,3,5,-1,0,5,8,0,0,1,14,0),n(0,3,5,-1,0,6,10,0,0,1,18,0),n(0,4,5,-2,0,7,10,1,0,2,16,1),n(0,5,5,-3,0,8,10,1,0,3,14,2),n(0,5,6,-3,0,9,12,1,0,3,16,2),n(0,6,6,-3,0,10,14,1,0,4,18,3),n(0,6,7,-4,0,11,15,1,0,4,20,3),n(0,7,8,-4,0,12,17,2,0,5,22,4),n(0,7,8,-4,0,13,19,2,0,5,24,4),n(0,7,9,-4,0,14,21,2,0,5,26,4),n(0,8,9,-5,0,15,22,2,0,6,28,5),n(0,8,10,-5,0,16,24,2,0,6,30,5),n(0,8,11,-5,0,17,26,2,0,6,32,5),n(0,9,11,-5,0,18,28,2,0,7,34,6),n(0,9,12,-6,0,19,29,2,0,7,36,6),n(0,10,13,-6,0,20,31,3,0,8,38,7),n(0,10,13,-6,0,21,33,3,0,8,40,7),n(0,10,14,-6,0,22,35,3,0,8,42,7),n(0,11,14,-7,0,23,36,3,0,9,44,8),n(0,11,15,-7,0,24,38,3,0,9,46,8)];t.default=r},59591:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={borderRadius:4};t.default=n},15406:function(e,t,n){\"use strict\";var r=n(95318);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=t.duration=t.easing=void 0;var a=r(n(6479)),i={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)\"};t.easing=i;var o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(e){return\"\".concat(Math.round(e),\"ms\")}t.duration=o;var s={easing:i,duration:o,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?o.standard:n,s=t.easing,u=void 0===s?i.easeInOut:s,c=t.delay,f=void 0===c?0:c;(0,a.default)(t,[\"duration\",\"easing\",\"delay\"]);return(Array.isArray(e)?e:[e]).map((function(e){return\"\".concat(e,\" \").concat(\"string\"==typeof r?r:l(r),\" \").concat(u,\" \").concat(\"string\"==typeof f?f:l(f))})).join(\",\")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};t.default=s},82313:function(e,t,n){\"use strict\";var r=n(95318);t.Z=void 0;var a=n(97865),i=r(n(22719)),o=(0,a.withThemeCreator)({defaultTheme:i.default});t.Z=o},88676:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var n={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};t.default=n},57234:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4v2z\"}),\"AddBox\");t.default=o},21673:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z\"}),\"ArrowDownward\");t.default=o},20947:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);t.Z=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M14 7l-5 5 5 5V7z\"}),\"ArrowLeft\");t.Z=o},52504:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);t.Z=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M10 17l5-5-5-5v10z\"}),\"ArrowRight\");t.Z=o},41959:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z\"}),\"Check\");t.default=o},89875:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"}),\"ChevronLeft\");t.default=o},66735:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"}),\"ChevronRight\");t.default=o},35996:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"}),\"Clear\");t.default=o},35308:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5l-1-1h-5l-1 1H5v2h14V4z\"}),\"DeleteOutline\");t.default=o},59067:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z\"}),\"Edit\");t.default=o},85963:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z\"}),\"FilterList\");t.default=o},31514:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"}),\"FirstPage\");t.default=o},58104:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"}),\"LastPage\");t.default=o},10064:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M19 13H5v-2h14v2z\"}),\"Remove\");t.default=o},428:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z\"}),\"Replay\");t.default=o},48485:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z\"}),\"SaveAlt\");t.default=o},88995:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z\"}),\"Search\");t.default=o},51724:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M10 18h5V5h-5v13zm-6 0h5V5H4v13zM16 5v13h5V5h-5z\"}),\"ViewColumn\");t.default=o},21727:function(e,t,n){\"use strict\";var r=n(95318),a=n(20862);t.Z=void 0;var i=a(n(67294)),o=(0,r(n(2108)).default)(i.createElement(\"path\",{d:\"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"}),\"Warning\");t.Z=o},2108:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),Object.defineProperty(t,\"default\",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(28546)},39633:function(e,t,n){\"use strict\";n.r(t),n.d(t,{Calendar:function(){return Be},Clock:function(){return et},ClockView:function(){return ot},DatePicker:function(){return en},DateTimePicker:function(){return _n},Day:function(){return we},KeyboardDatePicker:function(){return tn},KeyboardDateTimePicker:function(){return kn},KeyboardTimePicker:function(){return cn},MuiPickersContext:function(){return i},MuiPickersUtilsProvider:function(){return o},Picker:function(){return Mt},TimePicker:function(){return un},TimePickerView:function(){return lt},makePickerWithState:function(){return Gt},useKeyboardPickerState:function(){return Yt},usePickerState:function(){return Ut},useStaticState:function(){return Tn},useUtils:function(){return l},validate:function(){return zt}});var r=n(67294),a=n(45697),i=(0,r.createContext)(null),o=function(e){var t=e.utils,n=e.children,a=e.locale,o=e.libInstance,l=(0,r.useMemo)((function(){return new t({locale:a,instance:o})}),[t,o,a]);return(0,r.createElement)(i.Provider,{value:l,children:n})};function l(){var e=(0,r.useContext)(i);return function(e){if(!e)throw new Error(\"Can not find utils in context. You either a) forgot to wrap your component tree in MuiPickersUtilsProvider; or b) mixed named and direct file imports. Recommendation: use named imports from the module index.\")}(e),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=n(86010);function c(){return c=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.apply(this,arguments)}function f(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var d=n(22318),p=n(41120),h=n(59693),m=n(35117),g=n(52543),y=n(282),v=n(28358),b=n(87462),x=n(45987),w=r.forwardRef((function(e,t){var n=e.disableSpacing,a=void 0!==n&&n,i=e.classes,o=e.className,l=(0,x.Z)(e,[\"disableSpacing\",\"classes\",\"className\"]);return r.createElement(\"div\",(0,b.Z)({className:(0,u.Z)(i.root,o,!a&&i.spacing),ref:t},l))})),_=(0,g.Z)({root:{display:\"flex\",alignItems:\"center\",padding:8,justifyContent:\"flex-end\",flex:\"0 0 auto\"},spacing:{\"& > :not(:first-child)\":{marginLeft:8}}},{name:\"MuiDialogActions\"})(w),k=r.forwardRef((function(e,t){var n=e.classes,a=e.className,i=e.dividers,o=void 0!==i&&i,l=(0,x.Z)(e,[\"classes\",\"className\",\"dividers\"]);return r.createElement(\"div\",(0,b.Z)({className:(0,u.Z)(n.root,a,o&&n.dividers),ref:t},l))})),T=(0,g.Z)((function(e){return{root:{flex:\"1 1 auto\",WebkitOverflowScrolling:\"touch\",overflowY:\"auto\",padding:\"8px 24px\",\"&:first-child\":{paddingTop:20}},dividers:{padding:\"16px 24px\",borderTop:\"1px solid \".concat(e.palette.divider),borderBottom:\"1px solid \".concat(e.palette.divider)}}}),{name:\"MuiDialogContent\"})(k),M=n(4942),S=n(93871),E=n(1182),C=n(70885),O=n(12666),A=n(43366),D=n(8920),P=n(5653),R=n(17294),L={entering:{opacity:1},entered:{opacity:1}},I={enter:A.x9.enteringScreen,exit:A.x9.leavingScreen},j=r.forwardRef((function(e,t){var n=e.children,a=e.disableStrictModeCompat,i=void 0!==a&&a,o=e.in,l=e.onEnter,s=e.onEntered,u=e.onEntering,c=e.onExit,f=e.onExited,d=e.onExiting,p=e.style,h=e.TransitionComponent,m=void 0===h?O.ZP:h,g=e.timeout,y=void 0===g?I:g,v=(0,x.Z)(e,[\"children\",\"disableStrictModeCompat\",\"in\",\"onEnter\",\"onEntered\",\"onEntering\",\"onExit\",\"onExited\",\"onExiting\",\"style\",\"TransitionComponent\",\"timeout\"]),w=(0,D.Z)(),_=w.unstable_strictMode&&!i,k=r.useRef(null),T=(0,R.Z)(n.ref,t),M=(0,R.Z)(_?k:void 0,T),S=function(e){return function(t,n){if(e){var r=_?[k.current,t]:[t,n],a=(0,C.Z)(r,2),i=a[0],o=a[1];void 0===o?e(i):e(i,o)}}},E=S(u),A=S((function(e,t){(0,P.n)(e);var n=(0,P.C)({style:p,timeout:y},{mode:\"enter\"});e.style.webkitTransition=w.transitions.create(\"opacity\",n),e.style.transition=w.transitions.create(\"opacity\",n),l&&l(e,t)})),j=S(s),N=S(d),z=S((function(e){var t=(0,P.C)({style:p,timeout:y},{mode:\"exit\"});e.style.webkitTransition=w.transitions.create(\"opacity\",t),e.style.transition=w.transitions.create(\"opacity\",t),c&&c(e)})),F=S(f);return r.createElement(m,(0,b.Z)({appear:!0,in:o,nodeRef:_?k:void 0,onEnter:A,onEntered:j,onEntering:E,onExit:z,onExited:F,onExiting:N,timeout:y},v),(function(e,t){return r.cloneElement(n,(0,b.Z)({style:(0,b.Z)({opacity:0,visibility:\"exited\"!==e||o?void 0:\"hidden\"},L[e],p,n.props.style),ref:M},t))}))})),N=r.forwardRef((function(e,t){var n=e.children,a=e.classes,i=e.className,o=e.invisible,l=void 0!==o&&o,s=e.open,c=e.transitionDuration,f=e.TransitionComponent,d=void 0===f?j:f,p=(0,x.Z)(e,[\"children\",\"classes\",\"className\",\"invisible\",\"open\",\"transitionDuration\",\"TransitionComponent\"]);return r.createElement(d,(0,b.Z)({in:s,timeout:c},p),r.createElement(\"div\",{className:(0,u.Z)(a.root,i,l&&a.invisible),\"aria-hidden\":!0,ref:t},n))})),z=(0,g.Z)({root:{zIndex:-1,position:\"fixed\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",right:0,bottom:0,top:0,left:0,backgroundColor:\"rgba(0, 0, 0, 0.5)\",WebkitTapHighlightColor:\"transparent\"},invisible:{backgroundColor:\"transparent\"}},{name:\"MuiBackdrop\"})(N),F=n(79895),Z={enter:A.x9.enteringScreen,exit:A.x9.leavingScreen},B=r.forwardRef((function(e,t){var n=e.BackdropProps,a=e.children,i=e.classes,o=e.className,l=e.disableBackdropClick,s=void 0!==l&&l,c=e.disableEscapeKeyDown,f=void 0!==c&&c,d=e.fullScreen,p=void 0!==d&&d,h=e.fullWidth,m=void 0!==h&&h,g=e.maxWidth,y=void 0===g?\"sm\":g,v=e.onBackdropClick,w=e.onClose,_=e.onEnter,k=e.onEntered,T=e.onEntering,M=e.onEscapeKeyDown,C=e.onExit,O=e.onExited,A=e.onExiting,D=e.open,P=e.PaperComponent,R=void 0===P?F.Z:P,L=e.PaperProps,I=void 0===L?{}:L,N=e.scroll,B=void 0===N?\"paper\":N,q=e.TransitionComponent,H=void 0===q?j:q,U=e.transitionDuration,W=void 0===U?Z:U,V=e.TransitionProps,Y=e[\"aria-describedby\"],G=e[\"aria-labelledby\"],$=(0,x.Z)(e,[\"BackdropProps\",\"children\",\"classes\",\"className\",\"disableBackdropClick\",\"disableEscapeKeyDown\",\"fullScreen\",\"fullWidth\",\"maxWidth\",\"onBackdropClick\",\"onClose\",\"onEnter\",\"onEntered\",\"onEntering\",\"onEscapeKeyDown\",\"onExit\",\"onExited\",\"onExiting\",\"open\",\"PaperComponent\",\"PaperProps\",\"scroll\",\"TransitionComponent\",\"transitionDuration\",\"TransitionProps\",\"aria-describedby\",\"aria-labelledby\"]),X=r.useRef();return r.createElement(E.Z,(0,b.Z)({className:(0,u.Z)(i.root,o),BackdropComponent:z,BackdropProps:(0,b.Z)({transitionDuration:W},n),closeAfterTransition:!0},s?{disableBackdropClick:s}:{},{disableEscapeKeyDown:f,onEscapeKeyDown:M,onClose:w,open:D,ref:t},$),r.createElement(H,(0,b.Z)({appear:!0,in:D,timeout:W,onEnter:_,onEntering:T,onEntered:k,onExit:C,onExiting:A,onExited:O,role:\"none presentation\"},V),r.createElement(\"div\",{className:(0,u.Z)(i.container,i[\"scroll\".concat((0,S.Z)(B))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===X.current&&(X.current=null,v&&v(e),!s&&w&&w(e,\"backdropClick\"))},onMouseDown:function(e){X.current=e.target}},r.createElement(R,(0,b.Z)({elevation:24,role:\"dialog\",\"aria-describedby\":Y,\"aria-labelledby\":G},I,{className:(0,u.Z)(i.paper,i[\"paperScroll\".concat((0,S.Z)(B))],i[\"paperWidth\".concat((0,S.Z)(String(y)))],I.className,p&&i.paperFullScreen,m&&i.paperFullWidth)}),a))))})),q=(0,g.Z)((function(e){return{root:{\"@media print\":{position:\"absolute !important\"}},scrollPaper:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},scrollBody:{overflowY:\"auto\",overflowX:\"hidden\",textAlign:\"center\",\"&:after\":{content:'\"\"',display:\"inline-block\",verticalAlign:\"middle\",height:\"100%\",width:\"0\"}},container:{height:\"100%\",\"@media print\":{height:\"auto\"},outline:0},paper:{margin:32,position:\"relative\",overflowY:\"auto\",\"@media print\":{overflowY:\"visible\",boxShadow:\"none\"}},paperScrollPaper:{display:\"flex\",flexDirection:\"column\",maxHeight:\"calc(100% - 64px)\"},paperScrollBody:{display:\"inline-block\",verticalAlign:\"middle\",textAlign:\"left\"},paperWidthFalse:{maxWidth:\"calc(100% - 64px)\"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),\"&$paperScrollBody\":(0,M.Z)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:\"calc(100% - 64px)\"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,\"&$paperScrollBody\":(0,M.Z)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:\"calc(100% - 64px)\"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,\"&$paperScrollBody\":(0,M.Z)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:\"calc(100% - 64px)\"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,\"&$paperScrollBody\":(0,M.Z)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:\"calc(100% - 64px)\"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,\"&$paperScrollBody\":(0,M.Z)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:\"calc(100% - 64px)\"})},paperFullWidth:{width:\"calc(100% - 64px)\"},paperFullScreen:{margin:0,width:\"100%\",maxWidth:\"100%\",height:\"100%\",maxHeight:\"none\",borderRadius:0,\"&$paperScrollBody\":{margin:0,maxWidth:\"100%\"}}}}),{name:\"MuiDialog\"})(B),H=n(52387);function U(e,t){return Array.isArray(t)?t.every((function(t){return-1!==e.indexOf(t)})):-1!==e.indexOf(t)}var W=(0,p.Z)((function(e){return{staticWrapperRoot:{overflow:\"hidden\",minWidth:310,display:\"flex\",flexDirection:\"column\",backgroundColor:e.palette.background.paper}}}),{name:\"MuiPickersStaticWrapper\"}),V=function(e){var t=e.children,n=W();return(0,r.createElement)(\"div\",{className:n.staticWrapperRoot,children:t})},Y=function(e){var t=e.children,n=e.classes,a=e.onAccept,i=e.onDismiss,o=e.onClear,l=e.onSetToday,s=e.okLabel,d=e.cancelLabel,p=e.clearLabel,h=e.todayLabel,m=e.clearable,g=e.showTodayButton,v=(e.showTabs,e.wider),b=f(e,[\"children\",\"classes\",\"onAccept\",\"onDismiss\",\"onClear\",\"onSetToday\",\"okLabel\",\"cancelLabel\",\"clearLabel\",\"todayLabel\",\"clearable\",\"showTodayButton\",\"showTabs\",\"wider\"]);return(0,r.createElement)(q,c({role:\"dialog\",onClose:i,classes:{paper:(0,u.Z)(n.dialogRoot,v&&n.dialogRootWider)}},b),(0,r.createElement)(T,{children:t,className:n.dialog}),(0,r.createElement)(_,{classes:{root:(0,u.Z)((m||g)&&n.withAdditionalAction)}},m&&(0,r.createElement)(y.Z,{color:\"primary\",onClick:o},p),g&&(0,r.createElement)(y.Z,{color:\"primary\",onClick:l},h),d&&(0,r.createElement)(y.Z,{color:\"primary\",onClick:i},d),s&&(0,r.createElement)(y.Z,{color:\"primary\",onClick:a},s)))};Y.displayName=\"ModalDialog\";var G=(0,m.Z)({dialogRoot:{minWidth:310},dialogRootWider:{minWidth:325},dialog:{\"&:first-child\":{padding:0}},withAdditionalAction:{justifyContent:\"flex-start\",\"& > *:first-child\":{marginRight:\"auto\"}}}),$=(0,g.Z)(G,{name:\"MuiPickersModal\"})(Y),X=\"undefined\"==typeof window?r.useEffect:r.useLayoutEffect;function K(e,t){var n=t[e.key];n&&(n(),e.preventDefault())}function J(e,t){var n=(0,r.useRef)(t);n.current=t,X((function(){if(e){var t=function(e){K(e,n.current)};return window.addEventListener(\"keydown\",t),function(){window.removeEventListener(\"keydown\",t)}}}),[e])}var Q=function(e){var t=e.open,n=e.children,a=e.okLabel,i=e.cancelLabel,o=e.clearLabel,l=e.todayLabel,s=e.showTodayButton,u=e.clearable,d=e.DialogProps,p=e.showTabs,h=e.wider,m=e.InputComponent,g=e.DateInputProps,y=e.onClear,v=e.onAccept,b=e.onDismiss,x=e.onSetToday,w=f(e,[\"open\",\"children\",\"okLabel\",\"cancelLabel\",\"clearLabel\",\"todayLabel\",\"showTodayButton\",\"clearable\",\"DialogProps\",\"showTabs\",\"wider\",\"InputComponent\",\"DateInputProps\",\"onClear\",\"onAccept\",\"onDismiss\",\"onSetToday\"]);return J(t,{Enter:v}),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(m,c({},w,g)),(0,r.createElement)($,c({wider:h,showTabs:p,open:t,onClear:y,onAccept:v,onDismiss:b,onSetToday:x,clearLabel:o,todayLabel:l,okLabel:a,cancelLabel:i,clearable:u,showTodayButton:s,children:n},d)))};Q.defaultProps={okLabel:\"OK\",cancelLabel:\"Cancel\",clearLabel:\"Clear\",todayLabel:\"Today\",clearable:!1,showTodayButton:!1};var ee=function(e){var t=e.open,n=(e.wider,e.children),a=e.PopoverProps,i=(e.onClear,e.onDismiss),o=(e.onSetToday,e.onAccept),l=(e.showTabs,e.DateInputProps),s=e.InputComponent,u=f(e,[\"open\",\"wider\",\"children\",\"PopoverProps\",\"onClear\",\"onDismiss\",\"onSetToday\",\"onAccept\",\"showTabs\",\"DateInputProps\",\"InputComponent\"]),d=(0,r.useRef)();return J(t,{Enter:o}),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(s,c({},u,l,{inputRef:d})),(0,r.createElement)(H.ZP,c({open:t,onClose:i,anchorEl:d.current,anchorOrigin:{vertical:\"bottom\",horizontal:\"center\"},transformOrigin:{vertical:\"top\",horizontal:\"center\"},children:n},a)))};var te=(0,r.createContext)(null),ne=function(e){var t=e.variant,n=f(e,[\"variant\"]),a=function(e){switch(e){case\"inline\":return ee;case\"static\":return V;default:return Q}}(t);return(0,r.createElement)(te.Provider,{value:t||\"dialog\"},(0,r.createElement)(a,n))},re=n(39803),ae=n(17812),ie=n(7397),oe=n(51721),le=function(e){function t(t){var n;return(n=e.call(this,t)||this)._state=null,n._del=!1,n._handleChange=function(e){var t=n.state.value,r=e.target.value,a=e.target,i=r.length>t.length,o=n._del,l=t===n.props.format(r);n.setState({value:r,local:!0},(function(){var e=a.selectionStart,s=n.props.refuse||/[^\\d]+/g,u=r.substr(0,e).replace(s,\"\");if(n._state={input:a,before:u,op:i,di:o&&l,del:o},n.props.replace&&n.props.replace(t)&&i&&!l){for(var c=-1,f=0;f!==u.length;++f)c=Math.max(c,r.toLowerCase().indexOf(u[f].toLowerCase(),c+1));var d=r.substr(c+1).replace(s,\"\")[0];c=r.indexOf(d,c+1),r=\"\"+r.substr(0,c)+r.substr(c+1)}var p=n.props.format(r);t===p?n.setState({value:r}):n.props.onChange(p)}))},n._hKD=function(e){\"Delete\"===e.code&&(n._del=!0)},n._hKU=function(e){\"Delete\"===e.code&&(n._del=!1)},n.state={value:t.value,local:!0},n}(0,oe.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return{value:t.local?t.value:e.value,local:!1}};var n=t.prototype;return n.render=function(){var e=this._handleChange,t=this.state.value;return(0,this.props.children)({value:t,onChange:e})},n.componentWillUnmount=function(){document.removeEventListener(\"keydown\",this._hKD),document.removeEventListener(\"keyup\",this._hKU)},n.componentDidMount=function(){document.addEventListener(\"keydown\",this._hKD),document.addEventListener(\"keyup\",this._hKU)},n.componentDidUpdate=function(){var e=this._state;if(e){for(var t=this.state.value,n=-1,r=0;r!==e.before.length;++r)n=Math.max(n,t.toLowerCase().indexOf(e.before[r].toLowerCase(),n+1));if(this.props.replace&&(e.op||e.del&&!e.di))for(;t[n+1]&&(this.props.refuse||/[^\\d]+/).test(t[n+1]);)n+=1;e.input.selectionStart=e.input.selectionEnd=n+1+(e.di?1:0)}this._state=null},t}(r.Component),se=n(62087);function ue(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 ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:\"undefined\"!=typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||function(e,t){if(e){if(\"string\"==typeof e)return ue(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(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ue(e,t):void 0}}(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 fe(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function de(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 pe(e,t,n){return t&&de(e.prototype,t),n&&de(e,n),Object.defineProperty(e,\"prototype\",{writable:!1}),e}function he(e){return he=\"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},he(e)}function me(e,t){if(t&&(\"object\"===he(t)||\"function\"==typeof t))return t;if(void 0!==t)throw new TypeError(\"Derived constructors may only return object or undefined\");return function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}(e)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ge(e)}function ye(e,t){return ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ye(e,t)}function ve(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,\"prototype\",{writable:!1}),t&&ye(e,t)}var be=(0,p.Z)((function(e){return{day:{width:36,height:36,fontSize:e.typography.caption.fontSize,margin:\"0 2px\",color:e.palette.text.primary,fontWeight:e.typography.fontWeightMedium,padding:0},hidden:{opacity:0,pointerEvents:\"none\"},current:{color:e.palette.primary.main,fontWeight:600},daySelected:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,fontWeight:e.typography.fontWeightMedium,\"&:hover\":{backgroundColor:e.palette.primary.main}},dayDisabled:{pointerEvents:\"none\",color:e.palette.text.hint}}}),{name:\"MuiPickersDay\"}),xe=function(e){var t=e.children,n=e.disabled,a=e.hidden,i=e.current,o=e.selected,l=f(e,[\"children\",\"disabled\",\"hidden\",\"current\",\"selected\"]),s=be(),p=(0,u.Z)(s.day,a&&s.hidden,i&&s.current,o&&s.daySelected,n&&s.dayDisabled);return(0,r.createElement)(ae.Z,c({className:p,tabIndex:a||n?-1:0},l),(0,r.createElement)(d.Z,{variant:\"body2\",color:\"inherit\"},t))};xe.displayName=\"Day\",xe.defaultProps={disabled:!1,hidden:!1,current:!1,selected:!1};var we=xe,_e=n(94537),ke=n(63366);function Te(e,t){return e.replace(new RegExp(\"(^|\\\\s)\"+t+\"(?:\\\\s|$)\",\"g\"),\"$1\").replace(/\\s+/g,\" \").replace(/^\\s*|\\s*$/g,\"\")}var Me=function(e,t){return e&&t&&t.split(\" \").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):\"string\"==typeof n.className?n.className=Te(n.className,r):n.setAttribute(\"class\",Te(n.className&&n.className.baseVal||\"\",r)));var n,r}))},Se=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),a=r[0],i=r[1];t.removeClasses(a,\"exit\"),t.addClass(a,i?\"appear\":\"enter\",\"base\"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),a=r[0],i=r[1]?\"appear\":\"enter\";t.addClass(a,i,\"active\"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),a=r[0],i=r[1]?\"appear\":\"enter\";t.removeClasses(a,i),t.addClass(a,i,\"done\"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,\"appear\"),t.removeClasses(n,\"enter\"),t.addClass(n,\"exit\",\"base\"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,\"exit\",\"active\"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,\"exit\"),t.addClass(n,\"exit\",\"done\"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r=\"string\"==typeof n,a=r?\"\"+(r&&n?n+\"-\":\"\")+e:n[e];return{baseClassName:a,activeClassName:r?a+\"-active\":n[e+\"Active\"],doneClassName:r?a+\"-done\":n[e+\"Done\"]}},t}(0,oe.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+\"ClassName\"],a=this.getClassNames(\"enter\").doneClassName;\"appear\"===t&&\"done\"===n&&a&&(r+=\" \"+a),\"active\"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(\" \").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(\" \"+(e.className.baseVal||e.className)+\" \").indexOf(\" \"+t+\" \")}(n,r)||(\"string\"==typeof n.className?n.className=n.className+\" \"+r:n.setAttribute(\"class\",(n.className&&n.className.baseVal||\"\")+\" \"+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,a=n.active,i=n.done;this.appliedClasses[t]={},r&&Me(e,r),a&&Me(e,a),i&&Me(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,ke.Z)(e,[\"classNames\"]));return r.createElement(O.ZP,(0,b.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(r.Component);Se.defaultProps={classNames:\"\"},Se.propTypes={};var Ee=Se,Ce=n(95477),Oe=function(e){return 1===e.length&&\"year\"===e[0]},Ae=function(e){return 2===e.length&&U(e,\"month\")&&U(e,\"year\")},De=function(e){var t=e.children,n=e.value,a=e.disabled,i=e.onSelect,o=e.dayInCurrentMonth,l=f(e,[\"children\",\"value\",\"disabled\",\"onSelect\",\"dayInCurrentMonth\"]),s=(0,r.useCallback)((function(){return i(n)}),[i,n]);return(0,r.createElement)(\"div\",c({role:\"presentation\",onClick:o&&!a?s:void 0,onKeyPress:o&&!a?s:void 0},l),t)},Pe=(0,p.Z)((function(e){var t=e.transitions.create(\"transform\",{duration:350,easing:\"cubic-bezier(0.35, 0.8, 0.4, 1)\"});return{transitionContainer:{display:\"block\",position:\"relative\",\"& > *\":{position:\"absolute\",top:0,right:0,left:0}},\"slideEnter-left\":{willChange:\"transform\",transform:\"translate(100%)\"},\"slideEnter-right\":{willChange:\"transform\",transform:\"translate(-100%)\"},slideEnterActive:{transform:\"translate(0%)\",transition:t},slideExit:{transform:\"translate(0%)\"},\"slideExitActiveLeft-left\":{willChange:\"transform\",transform:\"translate(-200%)\",transition:t},\"slideExitActiveLeft-right\":{willChange:\"transform\",transform:\"translate(200%)\",transition:t}}}),{name:\"MuiPickersSlideTransition\"}),Re=function(e){var t=e.children,n=e.transKey,a=e.slideDirection,i=e.className,o=void 0===i?null:i,l=Pe(),s={exit:l.slideExit,enterActive:l.slideEnterActive,enter:l[\"slideEnter-\"+a],exitActive:l[\"slideExitActiveLeft-\"+a]};return(0,r.createElement)(_e.Z,{className:(0,u.Z)(l.transitionContainer,o),childFactory:function(e){return(0,r.cloneElement)(e,{classNames:s})}},(0,r.createElement)(Ee,{mountOnEnter:!0,unmountOnExit:!0,key:n+a,timeout:350,classNames:s,children:t}))},Le=(0,p.Z)((function(e){return{switchHeader:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",marginTop:e.spacing(.5),marginBottom:e.spacing(1)},transitionContainer:{width:\"100%\",overflow:\"hidden\",height:23},iconButton:{zIndex:1,backgroundColor:e.palette.background.paper},daysHeader:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",maxHeight:16},dayLabel:{width:36,margin:\"0 2px\",textAlign:\"center\",color:e.palette.text.hint}}}),{name:\"MuiPickersCalendarHeader\"}),Ie=function(e){var t=e.currentMonth,n=e.onMonthChange,a=e.leftArrowIcon,i=e.rightArrowIcon,o=e.leftArrowButtonProps,s=e.rightArrowButtonProps,u=e.disablePrevMonth,f=e.disableNextMonth,p=e.slideDirection,h=l(),m=Le(),g=\"rtl\"===(0,D.Z)().direction;return(0,r.createElement)(\"div\",null,(0,r.createElement)(\"div\",{className:m.switchHeader},(0,r.createElement)(ae.Z,c({},o,{disabled:u,onClick:function(){return n(h.getPreviousMonth(t),\"right\")},className:m.iconButton}),g?i:a),(0,r.createElement)(Re,{slideDirection:p,transKey:t.toString(),className:m.transitionContainer},(0,r.createElement)(d.Z,{align:\"center\",variant:\"body1\"},h.getCalendarHeaderText(t))),(0,r.createElement)(ae.Z,c({},s,{disabled:f,onClick:function(){return n(h.getNextMonth(t),\"left\")},className:m.iconButton}),g?a:i)),(0,r.createElement)(\"div\",{className:m.daysHeader},h.getWeekdays().map((function(e,t){return(0,r.createElement)(d.Z,{key:t,variant:\"caption\",className:m.dayLabel},e)}))))};Ie.displayName=\"CalendarHeader\",Ie.defaultProps={leftArrowIcon:(0,r.createElement)((function(e){return r.createElement(se.Z,e,r.createElement(\"path\",{d:\"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z\"}),r.createElement(\"path\",{fill:\"none\",d:\"M0 0h24v24H0V0z\"}))}),null),rightArrowIcon:(0,r.createElement)((function(e){return r.createElement(se.Z,e,r.createElement(\"path\",{d:\"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z\"}),r.createElement(\"path\",{fill:\"none\",d:\"M0 0h24v24H0V0z\"}))}),null),disablePrevMonth:!1,disableNextMonth:!1};var je=function(e){var t=e.onKeyDown;return(0,r.useEffect)((function(){return window.addEventListener(\"keydown\",t),function(){window.removeEventListener(\"keydown\",t)}}),[t]),null},Ne=function(e){function t(){var e,n;fe(this,t);for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return(n=me(this,(e=ge(t)).call.apply(e,[this].concat(i)))).state={slideDirection:\"left\",currentMonth:n.props.utils.startOfMonth(n.props.date),loadingQueue:0},n.pushToLoadingQueue=function(){var e=n.state.loadingQueue+1;n.setState({loadingQueue:e})},n.popFromLoadingQueue=function(){var e=n.state.loadingQueue;e=e<=0?0:e-1,n.setState({loadingQueue:e})},n.handleChangeMonth=function(e,t){if(n.setState({currentMonth:e,slideDirection:t}),n.props.onMonthChange){var r=n.props.onMonthChange(e);r&&(n.pushToLoadingQueue(),r.then((function(){n.popFromLoadingQueue()})))}},n.validateMinMaxDate=function(e){var t=n.props,r=t.minDate,a=t.maxDate,i=t.utils,o=t.disableFuture,l=t.disablePast,s=i.date();return Boolean(o&&i.isAfterDay(e,s)||l&&i.isBeforeDay(e,s)||r&&i.isBeforeDay(e,i.date(r))||a&&i.isAfterDay(e,i.date(a)))},n.shouldDisablePrevMonth=function(){var e=n.props,t=e.utils,r=e.disablePast,a=e.minDate,i=t.date(),o=t.startOfMonth(r&&t.isAfter(i,t.date(a))?i:t.date(a));return!t.isBefore(o,n.state.currentMonth)},n.shouldDisableNextMonth=function(){var e=n.props,t=e.utils,r=e.disableFuture,a=e.maxDate,i=t.date(),o=t.startOfMonth(r&&t.isBefore(i,t.date(a))?i:t.date(a));return!t.isAfter(o,n.state.currentMonth)},n.shouldDisableDate=function(e){var t=n.props.shouldDisableDate;return n.validateMinMaxDate(e)||Boolean(t&&t(e))},n.handleDaySelect=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=n.props,a=r.date,i=r.utils;n.props.onChange(i.mergeDateAndTime(e,a),t)},n.moveToDay=function(e){var t=n.props.utils;e&&!n.shouldDisableDate(e)&&(t.getMonth(e)!==t.getMonth(n.state.currentMonth)&&n.handleChangeMonth(t.startOfMonth(e),\"left\"),n.handleDaySelect(e,!1))},n.handleKeyDown=function(e){var t=n.props,r=t.theme,a=t.date,i=t.utils;K(e,{ArrowUp:function(){return n.moveToDay(i.addDays(a,-7))},ArrowDown:function(){return n.moveToDay(i.addDays(a,7))},ArrowLeft:function(){return n.moveToDay(i.addDays(a,\"ltr\"===r.direction?-1:1))},ArrowRight:function(){return n.moveToDay(i.addDays(a,\"ltr\"===r.direction?1:-1))}})},n.renderWeeks=function(){var e=n.props,t=e.utils,a=e.classes;return t.getWeekArray(n.state.currentMonth).map((function(e){return(0,r.createElement)(\"div\",{key:\"week-\".concat(e[0].toString()),className:a.week},n.renderDays(e))}))},n.renderDays=function(e){var t=n.props,a=t.date,i=t.renderDay,o=t.utils,l=o.date(),s=o.startOfDay(a),u=o.getMonth(n.state.currentMonth);return e.map((function(e){var t=n.shouldDisableDate(e),a=o.getMonth(e)===u,c=(0,r.createElement)(we,{disabled:t,current:o.isSameDay(e,l),hidden:!a,selected:o.isSameDay(s,e)},o.getDayText(e));return i&&(c=i(e,s,a,c)),(0,r.createElement)(De,{value:e,key:e.toString(),disabled:t,dayInCurrentMonth:a,onSelect:n.handleDaySelect},c)}))},n}return ve(t,e),pe(t,[{key:\"componentDidMount\",value:function(){var e=this.props,t=e.date,n=e.minDate,r=e.maxDate,a=e.utils,i=e.disablePast,o=e.disableFuture;if(this.shouldDisableDate(t)){var l=function(e){var t=e.date,n=e.utils,r=e.minDate,a=e.maxDate,i=e.disableFuture,o=e.disablePast,l=e.shouldDisableDate,s=n.startOfDay(n.date());o&&n.isBefore(r,s)&&(r=s),i&&n.isAfter(a,s)&&(a=s);var u=t,c=t;for(n.isBefore(t,r)&&(u=n.date(r),c=null),n.isAfter(t,a)&&(c&&(c=n.date(a)),u=null);u||c;){if(u&&n.isAfter(u,a)&&(u=null),c&&n.isBefore(c,r)&&(c=null),u){if(!l(u))return u;u=n.addDays(u,1)}if(c){if(!l(c))return c;c=n.addDays(c,-1)}}return n.date()}({date:t,utils:a,minDate:a.date(n),maxDate:a.date(r),disablePast:Boolean(i),disableFuture:Boolean(o),shouldDisableDate:this.shouldDisableDate});this.handleDaySelect(l,!1)}}},{key:\"render\",value:function(){var e=this.state,t=e.currentMonth,n=e.slideDirection,a=this.props,i=a.classes,o=a.allowKeyboardControl,l=a.leftArrowButtonProps,s=a.leftArrowIcon,u=a.rightArrowButtonProps,c=a.rightArrowIcon,f=a.loadingIndicator,d=f||(0,r.createElement)(Ce.Z,null);return(0,r.createElement)(r.Fragment,null,o&&\"static\"!==this.context&&(0,r.createElement)(je,{onKeyDown:this.handleKeyDown}),(0,r.createElement)(Ie,{currentMonth:t,slideDirection:n,onMonthChange:this.handleChangeMonth,leftArrowIcon:s,leftArrowButtonProps:l,rightArrowIcon:c,rightArrowButtonProps:u,disablePrevMonth:this.shouldDisablePrevMonth(),disableNextMonth:this.shouldDisableNextMonth()}),(0,r.createElement)(Re,{slideDirection:n,transKey:t.toString(),className:i.transitionContainer},(0,r.createElement)(r.Fragment,null,this.state.loadingQueue>0&&(0,r.createElement)(\"div\",{className:i.progressContainer},d)||(0,r.createElement)(\"div\",null,this.renderWeeks()))))}}],[{key:\"getDerivedStateFromProps\",value:function(e,t){var n=e.utils,r=e.date;if(!n.isEqual(r,t.lastDate)){var a=n.getMonth(r),i=t.lastDate||r,o=n.getMonth(i);return{lastDate:r,currentMonth:e.utils.startOfMonth(r),slideDirection:a===o?t.slideDirection:n.isAfterDay(r,i)?\"left\":\"right\"}}return null}}]),t}(r.Component);Ne.contextType=te,Ne.defaultProps={minDate:new Date(\"1900-01-01\"),maxDate:new Date(\"2100-01-01\"),disablePast:!1,disableFuture:!1,allowKeyboardControl:!0};var ze,Fe,Ze,Be=(0,g.Z)((function(e){return{transitionContainer:{minHeight:216,marginTop:e.spacing(1.5)},progressContainer:{width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},week:{display:\"flex\",justifyContent:\"center\"}}}),{name:\"MuiPickersCalendar\",withTheme:!0})((Fe=function(e){var t=l();return(0,r.createElement)(ze,c({utils:t},e))},Fe.displayName=\"WithUtils(\".concat((ze=Ne).displayName||ze.name,\")\"),Fe));!function(e){e.HOURS=\"hours\",e.MINUTES=\"minutes\",e.SECONDS=\"seconds\"}(Ze||(Ze={}));var qe=Ze,He=function(e){function t(){var e,n;fe(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=me(this,(e=ge(t)).call.apply(e,[this].concat(a)))).state={toAnimateTransform:!1,previousType:void 0},n.getAngleStyle=function(){var e=n.props,t=e.value,r=e.isInner,a=e.type,i=360/(a===qe.HOURS?12:60)*t;return a===qe.HOURS&&t>12&&(i-=360),{height:r?\"26%\":\"40%\",transform:\"rotateZ(\".concat(i,\"deg)\")}},n}return ve(t,e),pe(t,[{key:\"render\",value:function(){var e=this.props,t=e.classes,n=e.hasSelected;return(0,r.createElement)(\"div\",{style:this.getAngleStyle(),className:(0,u.Z)(t.pointer,this.state.toAnimateTransform&&t.animateTransform)},(0,r.createElement)(\"div\",{className:(0,u.Z)(t.thumb,n&&t.noPoint)}))}}]),t}(r.Component);He.getDerivedStateFromProps=function(e,t){return e.type!==t.previousType?{toAnimateTransform:!0,previousType:e.type}:{toAnimateTransform:!1,previousType:e.type}};var Ue=(0,g.Z)((function(e){return(0,m.Z)({pointer:{width:2,backgroundColor:e.palette.primary.main,position:\"absolute\",left:\"calc(50% - 1px)\",bottom:\"50%\",transformOrigin:\"center bottom 0px\"},animateTransform:{transition:e.transitions.create([\"transform\",\"height\"])},thumb:{width:4,height:4,backgroundColor:e.palette.primary.contrastText,borderRadius:\"100%\",position:\"absolute\",top:-21,left:-15,border:\"14px solid \".concat(e.palette.primary.main),boxSizing:\"content-box\"},noPoint:{backgroundColor:e.palette.primary.main}})}),{name:\"MuiPickersClockPointer\"})(He),We={x:130,y:130},Ve=We.x-We.x,Ye=0-We.y,Ge=function(e,t,n){var r=t-We.x,a=n-We.y,i=Math.atan2(Ve,Ye)-Math.atan2(r,a),o=57.29577951308232*i;o=Math.round(o/e)*e,o%=360;var l=Math.floor(o/e)||0,s=Math.pow(r,2)+Math.pow(a,2);return{value:l,distance:Math.sqrt(s)}},$e=function(e,t,n){var r=Ge(30,e,t),a=r.value,i=r.distance;return a=a||12,n?a%=12:i<90&&(a+=12,a%=24),a},Xe=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=6*n,a=Ge(r,e,t),i=a.value;return i=i*n%60},Ke=function(e,t){return t.getHours(e)>=12?\"pm\":\"am\"},Je=function(e,t,n,r){if(n&&(r.getHours(e)>=12?\"pm\":\"am\")!==t){var a=\"am\"===t?r.getHours(e)-12:r.getHours(e)+12;return r.setHours(e,a)}return e},Qe=function(e){function t(){var e,n;fe(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=me(this,(e=ge(t)).call.apply(e,[this].concat(a)))).isMoving=!1,n.handleTouchMove=function(e){n.isMoving=!0,n.setTime(e)},n.handleTouchEnd=function(e){n.isMoving&&(n.setTime(e,!0),n.isMoving=!1)},n.handleMove=function(e){e.preventDefault(),e.stopPropagation(),(void 0===e.buttons?1===e.nativeEvent.which:1===e.buttons)&&n.setTime(e.nativeEvent,!1)},n.handleMouseUp=function(e){n.isMoving&&(n.isMoving=!1),n.setTime(e.nativeEvent,!0)},n.hasSelected=function(){var e=n.props,t=e.type,r=e.value;return t===qe.HOURS||r%5==0},n}return ve(t,e),pe(t,[{key:\"setTime\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.offsetX,r=e.offsetY;if(void 0===n){var a=e.target.getBoundingClientRect();n=e.changedTouches[0].clientX-a.left,r=e.changedTouches[0].clientY-a.top}var i=this.props.type===qe.SECONDS||this.props.type===qe.MINUTES?Xe(n,r,this.props.minutesStep):$e(n,r,Boolean(this.props.ampm));this.props.onChange(i,t)}},{key:\"render\",value:function(){var e=this.props,t=e.classes,n=e.value,a=e.children,i=e.type,o=!e.ampm&&i===qe.HOURS&&(n<1||n>12);return(0,r.createElement)(\"div\",{className:t.container},(0,r.createElement)(\"div\",{className:t.clock},(0,r.createElement)(\"div\",{role:\"menu\",tabIndex:-1,className:t.squareMask,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,onMouseUp:this.handleMouseUp,onMouseMove:this.handleMove}),(0,r.createElement)(\"div\",{className:t.pin}),(0,r.createElement)(Ue,{type:i,value:n,isInner:o,hasSelected:this.hasSelected()}),a))}}]),t}(r.Component);Qe.defaultProps={ampm:!1,minutesStep:1};var et=(0,g.Z)((function(e){return(0,m.Z)({container:{display:\"flex\",justifyContent:\"center\",alignItems:\"flex-end\",margin:\"\".concat(e.spacing(2),\"px 0 \").concat(e.spacing(1),\"px\")},clock:{backgroundColor:\"rgba(0,0,0,.07)\",borderRadius:\"50%\",height:260,width:260,position:\"relative\",pointerEvents:\"none\"},squareMask:{width:\"100%\",height:\"100%\",position:\"absolute\",pointerEvents:\"auto\",outline:\"none\",touchActions:\"none\",userSelect:\"none\",\"&:active\":{cursor:\"move\"}},pin:{width:6,height:6,borderRadius:\"50%\",backgroundColor:e.palette.primary.main,position:\"absolute\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%)\"}})}),{name:\"MuiPickersClock\"})(Qe),tt={0:[0,40],1:[55,19.6],2:[94.4,59.5],3:[109,114],4:[94.4,168.5],5:[54.5,208.4],6:[0,223],7:[-54.5,208.4],8:[-94.4,168.5],9:[-109,114],10:[-94.4,59.5],11:[-54.5,19.6],12:[0,5],13:[36.9,49.9],14:[64,77],15:[74,114],16:[64,151],17:[37,178],18:[0,188],19:[-37,178],20:[-64,151],21:[-74,114],22:[-64,77],23:[-37,50]},nt=(0,p.Z)((function(e){var t=e.spacing(4);return{clockNumber:{width:t,height:32,userSelect:\"none\",position:\"absolute\",left:\"calc((100% - \".concat(\"number\"==typeof t?\"\".concat(t,\"px\"):t,\") / 2)\"),display:\"inline-flex\",justifyContent:\"center\",alignItems:\"center\",borderRadius:\"50%\",color:\"light\"===e.palette.type?e.palette.text.primary:e.palette.text.hint},clockNumberSelected:{color:e.palette.primary.contrastText}}}),{name:\"MuiPickersClockNumber\"}),rt=function(e){var t=e.selected,n=e.label,a=e.index,i=e.isInner,o=nt(),l=(0,u.Z)(o.clockNumber,t&&o.clockNumberSelected),s=(0,r.useMemo)((function(){var e=tt[a];return{transform:\"translate(\".concat(e[0],\"px, \").concat(e[1],\"px\")}}),[a]);return(0,r.createElement)(d.Z,{component:\"span\",className:l,variant:i?\"body2\":\"body1\",style:s,children:n})},at=function(e){for(var t=e.ampm,n=e.utils,a=e.date,i=n.getHours(a),o=[],l=t?12:23,s=function(e){return t?12===e?12===i||0===i:i===e||i-12===e:i===e},u=t?1:0;u<=l;u+=1){var f=u.toString();0===u&&(f=\"00\");var d={index:u,label:n.formatNumber(f),selected:s(u),isInner:!t&&(0===u||u>12)};o.push((0,r.createElement)(rt,c({key:u},d)))}return o},it=function(e){var t=e.value,n=e.utils.formatNumber;return[(0,r.createElement)(rt,{label:n(\"00\"),selected:0===t,index:12,key:12}),(0,r.createElement)(rt,{label:n(\"05\"),selected:5===t,index:1,key:1}),(0,r.createElement)(rt,{label:n(\"10\"),selected:10===t,index:2,key:2}),(0,r.createElement)(rt,{label:n(\"15\"),selected:15===t,index:3,key:3}),(0,r.createElement)(rt,{label:n(\"20\"),selected:20===t,index:4,key:4}),(0,r.createElement)(rt,{label:n(\"25\"),selected:25===t,index:5,key:5}),(0,r.createElement)(rt,{label:n(\"30\"),selected:30===t,index:6,key:6}),(0,r.createElement)(rt,{label:n(\"35\"),selected:35===t,index:7,key:7}),(0,r.createElement)(rt,{label:n(\"40\"),selected:40===t,index:8,key:8}),(0,r.createElement)(rt,{label:n(\"45\"),selected:45===t,index:9,key:9}),(0,r.createElement)(rt,{label:n(\"50\"),selected:50===t,index:10,key:10}),(0,r.createElement)(rt,{label:n(\"55\"),selected:55===t,index:11,key:11})]},ot=function(e){var t=e.type,n=e.onHourChange,a=e.onMinutesChange,i=e.onSecondsChange,o=e.ampm,s=e.date,u=e.minutesStep,f=l(),d=(0,r.useMemo)((function(){switch(t){case qe.HOURS:return{value:f.getHours(s),children:at({date:s,utils:f,ampm:Boolean(o)}),onChange:function(e,t){var r=Ke(s,f),a=Je(f.setHours(s,e),r,Boolean(o),f);n(a,t)}};case qe.MINUTES:var e=f.getMinutes(s);return{value:e,children:it({value:e,utils:f}),onChange:function(e,t){var n=f.setMinutes(s,e);a(n,t)}};case qe.SECONDS:var r=f.getSeconds(s);return{value:r,children:it({value:r,utils:f}),onChange:function(e,t){var n=f.setSeconds(s,e);i(n,t)}};default:throw new Error(\"You must provide the type for TimePickerView\")}}),[o,s,n,a,i,t,f]);return(0,r.createElement)(et,c({type:t,ampm:o,minutesStep:u},d))};ot.displayName=\"TimePickerView\",ot.defaultProps={ampm:!0,minutesStep:1};var lt=(0,r.memo)(ot);function st(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}(0,a.oneOfType)([a.object,a.string,a.number,(0,a.instanceOf)(Date)]),(0,a.oneOf)([\"year\",\"month\",\"day\"]);var ut={ampm:!0,invalidDateMessage:\"Invalid Time Format\"},ct={minDate:new Date(\"1900-01-01\"),maxDate:new Date(\"2100-01-01\"),invalidDateMessage:\"Invalid Date Format\",minDateMessage:\"Date should not be before minimal date\",maxDateMessage:\"Date should not be after maximal date\",allowKeyboardControl:!0},ft=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?st(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):st(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ut,{},ct,{showTabs:!0});var dt=(0,p.Z)((function(e){return{root:{height:40,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",outline:\"none\",\"&:focus\":{color:e.palette.primary.main,fontWeight:e.typography.fontWeightMedium}},yearSelected:{margin:\"10px 0\",fontWeight:e.typography.fontWeightMedium},yearDisabled:{pointerEvents:\"none\",color:e.palette.text.hint}}}),{name:\"MuiPickersYear\"}),pt=function(e){var t=e.onSelect,n=e.forwardedRef,a=e.value,i=e.selected,o=e.disabled,l=e.children,s=f(e,[\"onSelect\",\"forwardedRef\",\"value\",\"selected\",\"disabled\",\"children\"]),p=dt(),h=(0,r.useCallback)((function(){return t(a)}),[t,a]);return(0,r.createElement)(d.Z,c({role:\"button\",component:\"div\",tabIndex:o?-1:0,onClick:h,onKeyPress:h,color:i?\"primary\":void 0,variant:i?\"h5\":\"subtitle1\",children:l,ref:n,className:(0,u.Z)(p.root,i&&p.yearSelected,o&&p.yearDisabled)},s))};pt.displayName=\"Year\";var ht=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(pt,c({},e,{forwardedRef:t}))})),mt=(0,p.Z)({container:{height:300,overflowY:\"auto\"}},{name:\"MuiPickersYearSelection\"}),gt=function(e){var t=e.date,n=e.onChange,a=e.onYearChange,i=e.minDate,o=e.maxDate,s=e.disablePast,u=e.disableFuture,c=e.animateYearScrolling,f=l(),d=mt(),p=(0,r.useContext)(te),h=(0,r.useRef)(null);(0,r.useEffect)((function(){if(h.current&&h.current.scrollIntoView)try{h.current.scrollIntoView({block:\"static\"===p?\"nearest\":\"center\",behavior:c?\"smooth\":\"auto\"})}catch(e){h.current.scrollIntoView()}}),[]);var m=f.getYear(t),g=(0,r.useCallback)((function(e){var r=f.setYear(t,e);a&&a(r),n(r,!0)}),[t,n,a,f]);return(0,r.createElement)(\"div\",{className:d.container},f.getYearRange(i,o).map((function(e){var t=f.getYear(e),n=t===m;return(0,r.createElement)(ht,{key:f.getYearText(e),selected:n,value:t,onSelect:g,ref:n?h:void 0,disabled:Boolean(s&&f.isBeforeYear(e,f.date())||u&&f.isAfterYear(e,f.date()))},f.getYearText(e))})))},yt=(0,p.Z)((function(e){return{root:{flex:\"1 0 33.33%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",outline:\"none\",height:75,transition:e.transitions.create(\"font-size\",{duration:\"100ms\"}),\"&:focus\":{color:e.palette.primary.main,fontWeight:e.typography.fontWeightMedium}},monthSelected:{color:e.palette.primary.main,fontWeight:e.typography.fontWeightMedium},monthDisabled:{pointerEvents:\"none\",color:e.palette.text.hint}}}),{name:\"MuiPickersMonth\"}),vt=function(e){var t=e.selected,n=e.onSelect,a=e.disabled,i=e.value,o=e.children,l=f(e,[\"selected\",\"onSelect\",\"disabled\",\"value\",\"children\"]),s=yt(),p=(0,r.useCallback)((function(){n(i)}),[n,i]);return(0,r.createElement)(d.Z,c({role:\"button\",component:\"div\",className:(0,u.Z)(s.root,t&&s.monthSelected,a&&s.monthDisabled),tabIndex:a?-1:0,onClick:p,onKeyPress:p,color:t?\"primary\":void 0,variant:t?\"h5\":\"subtitle1\",children:o},l))};vt.displayName=\"Month\";var bt=(0,p.Z)({container:{width:310,display:\"flex\",flexWrap:\"wrap\",alignContent:\"stretch\"}},{name:\"MuiPickersMonthSelection\"}),xt=function(e){var t=e.disablePast,n=e.disableFuture,a=e.minDate,i=e.maxDate,o=e.date,s=e.onMonthChange,u=e.onChange,c=l(),f=bt(),d=c.getMonth(o),p=function(e){var r=c.date(),o=c.date(a),l=c.date(i),s=c.startOfMonth(t&&c.isAfter(r,o)?r:o),u=c.startOfMonth(n&&c.isBefore(r,l)?r:l),f=c.isBefore(e,s),d=c.isAfter(e,u);return f||d},h=(0,r.useCallback)((function(e){var t=c.setMonth(o,e);u(t,!0),s&&s(t)}),[o,u,s,c]);return(0,r.createElement)(\"div\",{className:f.container},c.getMonthArray(o).map((function(e){var t=c.getMonth(e),n=c.format(e,\"MMM\");return(0,r.createElement)(vt,{key:n,value:t,selected:t===d,onSelect:h,disabled:p(e)},n)})))},wt=function(){return\"undefined\"==typeof window?\"portrait\":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?\"landscape\":\"portrait\":window.orientation&&90===Math.abs(Number(window.orientation))?\"landscape\":\"portrait\"};function _t(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}var kt={year:gt,month:xt,date:Be,hours:ot,minutes:ot,seconds:ot},Tt=(0,p.Z)({container:{display:\"flex\",flexDirection:\"column\"},containerLandscape:{flexDirection:\"row\"},pickerView:{overflowX:\"hidden\",minHeight:305,minWidth:310,maxWidth:325,display:\"flex\",flexDirection:\"column\",justifyContent:\"center\"},pickerViewLandscape:{padding:\"0 8px\"}},{name:\"MuiPickersBasePicker\"}),Mt=function(e){var t=e.date,n=e.views,a=e.disableToolbar,i=e.onChange,o=e.openTo,s=e.minDate,d=e.maxDate,p=e.ToolbarComponent,h=e.orientation,m=f(e,[\"date\",\"views\",\"disableToolbar\",\"onChange\",\"openTo\",\"minDate\",\"maxDate\",\"ToolbarComponent\",\"orientation\"]),g=l(),y=Tt(),v=function(e){var t=ce((0,r.useState)(wt()),2),n=t[0],a=t[1],i=(0,r.useCallback)((function(){return a(wt())}),[]);return X((function(){return window.addEventListener(\"orientationchange\",i),function(){return window.removeEventListener(\"orientationchange\",i)}}),[i]),\"landscape\"===(e||n)}(h),b=function(e,t,n){var a=ce((0,r.useState)(t&&U(e,t)?t:e[0]),2),i=a[0],o=a[1],l=(0,r.useCallback)((function(t,r){var a=e[e.indexOf(i)+1];if(r&&a)return n(t,!1),void o(a);n(t,Boolean(r))}),[n,i,e]);return{handleChangeAndOpenNext:l,openView:i,setOpenView:o}}(n,o,i),x=b.openView,w=b.setOpenView,_=b.handleChangeAndOpenNext,k=(0,r.useMemo)((function(){return g.date(s)}),[s,g]),T=(0,r.useMemo)((function(){return g.date(d)}),[d,g]);return(0,r.createElement)(\"div\",{className:(0,u.Z)(y.container,v&&y.containerLandscape)},!a&&(0,r.createElement)(p,c({},m,{views:n,isLandscape:v,date:t,onChange:i,setOpenView:w,openView:x})),(0,r.createElement)(\"div\",{className:(0,u.Z)(y.pickerView,v&&y.pickerViewLandscape)},\"year\"===x&&(0,r.createElement)(gt,c({},m,{date:t,onChange:_,minDate:k,maxDate:T})),\"month\"===x&&(0,r.createElement)(xt,c({},m,{date:t,onChange:_,minDate:k,maxDate:T})),\"date\"===x&&(0,r.createElement)(Be,c({},m,{date:t,onChange:_,minDate:k,maxDate:T})),(\"hours\"===x||\"minutes\"===x||\"seconds\"===x)&&(0,r.createElement)(ot,c({},m,{date:t,type:x,onHourChange:_,onMinutesChange:_,onSecondsChange:_}))))};Mt.defaultProps=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_t(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_t(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ct,{views:Object.keys(kt)});var St=(0,p.Z)((function(e){var t=\"light\"===e.palette.type?e.palette.primary.contrastText:e.palette.getContrastText(e.palette.background.default);return{toolbarTxt:{color:(0,h.U1)(t,.54)},toolbarBtnSelected:{color:t}}}),{name:\"MuiPickersToolbarText\"}),Et=function(e){var t=e.selected,n=e.label,a=e.className,i=void 0===a?null:a,o=f(e,[\"selected\",\"label\",\"className\"]),l=St();return(0,r.createElement)(d.Z,c({children:n,className:(0,u.Z)(l.toolbarTxt,i,t&&l.toolbarBtnSelected)},o))},Ct=function(e){var t=e.classes,n=e.className,a=void 0===n?null:n,i=e.label,o=e.selected,l=e.variant,s=e.align,d=e.typographyClassName,p=f(e,[\"classes\",\"className\",\"label\",\"selected\",\"variant\",\"align\",\"typographyClassName\"]);return(0,r.createElement)(y.Z,c({variant:\"text\",className:(0,u.Z)(t.toolbarBtn,a)},p),(0,r.createElement)(Et,{align:s,className:d,variant:l,label:i,selected:o}))};Ct.defaultProps={className:\"\"};var Ot=(0,m.Z)({toolbarBtn:{padding:0,minWidth:\"16px\",textTransform:\"none\"}}),At=(0,g.Z)(Ot,{name:\"MuiPickersToolbarButton\"})(Ct),Dt=(0,p.Z)((function(e){return{toolbar:{display:\"flex\",flexDirection:\"row\",alignItems:\"center\",justifyContent:\"center\",height:100,backgroundColor:\"light\"===e.palette.type?e.palette.primary.main:e.palette.background.default},toolbarLandscape:{height:\"auto\",maxWidth:150,padding:8,justifyContent:\"flex-start\"}}}),{name:\"MuiPickersToolbar\"}),Pt=function(e){var t=e.children,n=e.isLandscape,a=e.className,i=void 0===a?null:a,o=f(e,[\"children\",\"isLandscape\",\"className\"]),l=Dt();return(0,r.createElement)(v.Z,c({className:(0,u.Z)(l.toolbar,i,n&&l.toolbarLandscape)},o),t)};function Rt(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}var Lt=function(e){var t=e.inputValue,n=e.inputVariant,a=e.validationError,i=e.InputProps,o=e.openPicker,l=e.TextFieldComponent,u=void 0===l?re.Z:l,d=f(e,[\"inputValue\",\"inputVariant\",\"validationError\",\"InputProps\",\"openPicker\",\"TextFieldComponent\"]),p=(0,r.useMemo)((function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},i,{readOnly:!0})}),[i]);return(0,r.createElement)(u,c({error:Boolean(a),helperText:a},d,{onClick:o,value:t,variant:n,InputProps:p,onKeyDown:function(e){32===e.keyCode&&(e.stopPropagation(),o())}}))};Lt.displayName=\"PureDateInput\";var It=function(e,t,n,r,a){var i=a.invalidLabel,o=a.emptyLabel,l=a.labelFunc,s=n.date(e);return l?l(r?null:s,i):r?o||\"\":n.isValid(s)?n.format(s,t):i},jt=function(e,t,n){return t?n:e.endOfDay(n)},Nt=function(e,t,n){return t?n:e.startOfDay(n)},zt=function(e,t,n){var r=n.maxDate,a=n.minDate,i=n.disablePast,o=n.disableFuture,l=n.maxDateMessage,s=n.minDateMessage,u=n.invalidDateMessage,c=n.strictCompareDates,f=t.date(e);return null===e?\"\":t.isValid(e)?r&&t.isAfter(f,jt(t,!!c,t.date(r)))||o&&t.isAfter(f,jt(t,!!c,t.date()))?l:a&&t.isBefore(f,Nt(t,!!c,t.date(a)))||i&&t.isBefore(f,Nt(t,!!c,t.date()))?s:\"\":u};function Ft(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;return e||(t?n[\"12h\"]:n[\"24h\"])}function Zt(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 Bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qt=function(e){var t=e.inputValue,n=e.inputVariant,a=e.validationError,i=e.KeyboardButtonProps,o=e.InputAdornmentProps,l=e.openPicker,u=e.onChange,d=e.InputProps,p=e.mask,h=e.maskChar,m=void 0===h?\"_\":h,g=e.refuse,y=void 0===g?/[^\\d]+/gi:g,v=e.format,b=e.keyboardIcon,x=e.disabled,w=e.rifmFormatter,_=e.TextFieldComponent,k=void 0===_?re.Z:_,T=f(e,[\"inputValue\",\"inputVariant\",\"validationError\",\"KeyboardButtonProps\",\"InputAdornmentProps\",\"openPicker\",\"onChange\",\"InputProps\",\"mask\",\"maskChar\",\"refuse\",\"format\",\"keyboardIcon\",\"disabled\",\"rifmFormatter\",\"TextFieldComponent\"]),M=p||function(e,t){return e.replace(/[a-z]/gi,t)}(v,m),S=(0,r.useMemo)((function(){return function(e,t,n){return function(r){var a=\"\",i=r.replace(n,\"\");if(\"\"===i)return i;for(var o=0,l=0;o<e.length;){var s=e[o];s===t&&l<i.length?(a+=i[l],l+=1):a+=s,o+=1}return a}}(M,m,y)}),[M,m,y]),E=o&&o.position?o.position:\"end\";return(0,r.createElement)(le,{key:M,value:t,onChange:function(e){u(\"\"===e||e===M?null:e)},refuse:y,format:w||S},(function(e){var t=e.onChange,u=e.value;return(0,r.createElement)(k,c({disabled:x,error:Boolean(a),helperText:a},T,{value:u,onChange:t,variant:n,InputProps:Bt({},d,s({},\"\".concat(E,\"Adornment\"),(0,r.createElement)(ie.Z,c({position:E},o),(0,r.createElement)(ae.Z,c({disabled:x},i,{onClick:l}),b))))}))}))};qt.defaultProps={keyboardIcon:(0,r.createElement)((function(e){return r.createElement(se.Z,e,r.createElement(\"path\",{d:\"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z\"}),r.createElement(\"path\",{fill:\"none\",d:\"M0 0h24v24H0z\"}))}),null)};function Ht(e,t){var n=function(e,t){var n=t.value,a=t.initialFocusedDate,i=(0,r.useRef)(e.date()),o=e.date(n||a||i.current);return o&&e.isValid(o)?o:i.current}(l(),e);return{date:n,format:e.format||t.getDefaultFormat()}}function Ut(e,t){var n=e.autoOk,a=e.disabled,i=e.readOnly,o=e.onAccept,s=e.onChange,u=e.onError,c=e.value,f=e.variant,d=l(),p=function(e){var t=e.open,n=e.onOpen,a=e.onClose,i=null;if(null==t){var o=ce((0,r.useState)(!1),2);t=o[0],i=o[1]}return{isOpen:t,setIsOpen:(0,r.useCallback)((function(e){return i&&i(e),e?n&&n():a&&a()}),[n,a,i])}}(e),h=p.isOpen,m=p.setIsOpen,g=Ht(e,t),y=g.date,v=g.format,b=ce((0,r.useState)(y),2),x=b[0],w=b[1];(0,r.useEffect)((function(){h||d.isEqual(x,y)||w(y)}),[y,h,x,d]);var _=(0,r.useCallback)((function(e){s(e),o&&o(e),m(!1)}),[o,s,m]),k=(0,r.useMemo)((function(){return{format:v,open:h,onClear:function(){return _(null)},onAccept:function(){return _(x)},onSetToday:function(){return w(d.date())},onDismiss:function(){m(!1)}}}),[_,v,h,x,m,d]),T=(0,r.useMemo)((function(){return{date:x,onChange:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];w(e),t&&n?_(e):\"inline\"!==f&&\"static\"!==f||(s(e),o&&o(e))}}}),[_,n,o,s,x,f]),M=zt(c,d,e);(0,r.useEffect)((function(){u&&u(M,c)}),[u,M,c]);var S=It(y,v,d,null===c,e),E={pickerProps:T,inputProps:(0,r.useMemo)((function(){return{inputValue:S,validationError:M,openPicker:function(){return!i&&!a&&m(!0)}}}),[a,S,i,m,M]),wrapperProps:k};return(0,r.useDebugValue)(E),E}function Wt(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 Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wt(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yt(e,t){var n=e.format,a=void 0===n?t.getDefaultFormat():n,i=e.inputValue,o=e.onChange,s=e.value,u=l(),c=It(s,a,u,null===s,e),f=ce((0,r.useState)(c),2),d=f[0],p=f[1],h=i?function(e,t,n){try{return t.parse(e,n)}catch(e){return null}}(i,u,a):s;(0,r.useEffect)((function(){(null===s||u.isValid(s))&&p(c)}),[c,p,u,s]);var m=(0,r.useCallback)((function(e){o(e,null===e?null:u.format(e,a))}),[a,o,u]),g=Ut(Vt({},e,{value:h,onChange:m}),t),y=g.inputProps,v=g.wrapperProps,b=g.pickerProps,x=(0,r.useMemo)((function(){return Vt({},y,{format:v.format,inputValue:i||d,onChange:function(e){p(e||\"\");var t=null===e?null:u.parse(e,v.format);o(t,e)}})}),[y,d,i,o,u,v.format]);return{inputProps:x,wrapperProps:v,pickerProps:b}}function Gt(e){var t=e.Input,n=e.useState,a=e.useOptions,i=e.getCustomProps,o=e.DefaultToolbarComponent;return function(e){var l=e.allowKeyboardControl,s=e.ampm,u=e.animateYearScrolling,d=(e.autoOk,e.dateRangeIcon),p=e.disableFuture,h=e.disablePast,m=e.disableToolbar,g=(e.emptyLabel,e.format,e.forwardedRef,e.hideTabs),y=(e.initialFocusedDate,e.invalidDateMessage,e.invalidLabel,e.labelFunc,e.leftArrowButtonProps),v=e.leftArrowIcon,b=e.loadingIndicator,x=e.maxDate,w=(e.maxDateMessage,e.minDate),_=(e.minDateMessage,e.minutesStep),k=(e.onAccept,e.onChange,e.onClose,e.onMonthChange),T=(e.onOpen,e.onYearChange),M=e.openTo,S=e.orientation,E=e.renderDay,C=e.rightArrowButtonProps,O=e.rightArrowIcon,A=e.shouldDisableDate,D=e.strictCompareDates,P=e.timeIcon,R=e.ToolbarComponent,L=void 0===R?o:R,I=(e.value,e.variant),j=e.views,N=f(e,[\"allowKeyboardControl\",\"ampm\",\"animateYearScrolling\",\"autoOk\",\"dateRangeIcon\",\"disableFuture\",\"disablePast\",\"disableToolbar\",\"emptyLabel\",\"format\",\"forwardedRef\",\"hideTabs\",\"initialFocusedDate\",\"invalidDateMessage\",\"invalidLabel\",\"labelFunc\",\"leftArrowButtonProps\",\"leftArrowIcon\",\"loadingIndicator\",\"maxDate\",\"maxDateMessage\",\"minDate\",\"minDateMessage\",\"minutesStep\",\"onAccept\",\"onChange\",\"onClose\",\"onMonthChange\",\"onOpen\",\"onYearChange\",\"openTo\",\"orientation\",\"renderDay\",\"rightArrowButtonProps\",\"rightArrowIcon\",\"shouldDisableDate\",\"strictCompareDates\",\"timeIcon\",\"ToolbarComponent\",\"value\",\"variant\",\"views\"]),z=i?i(e):{},F=a(e),Z=n(e,F),B=Z.pickerProps,q=Z.inputProps,H=Z.wrapperProps;return(0,r.createElement)(ne,c({variant:I,InputComponent:t,DateInputProps:q},z,H,N),(0,r.createElement)(Mt,c({},B,{allowKeyboardControl:l,ampm:s,animateYearScrolling:u,dateRangeIcon:d,disableFuture:p,disablePast:h,disableToolbar:m,hideTabs:g,leftArrowButtonProps:y,leftArrowIcon:v,loadingIndicator:b,maxDate:x,minDate:w,minutesStep:_,onMonthChange:k,onYearChange:T,openTo:M,orientation:S,renderDay:E,rightArrowButtonProps:C,rightArrowIcon:O,shouldDisableDate:A,strictCompareDates:D,timeIcon:P,ToolbarComponent:L,views:j})))}}var $t=(0,p.Z)({toolbar:{flexDirection:\"column\",alignItems:\"flex-start\"},toolbarLandscape:{padding:16},dateLandscape:{marginRight:16}},{name:\"MuiPickersDatePickerRoot\"}),Xt=function(e){var t=e.date,n=e.views,a=e.setOpenView,i=e.isLandscape,o=e.openView,s=l(),c=$t(),f=(0,r.useMemo)((function(){return Oe(n)}),[n]),d=(0,r.useMemo)((function(){return Ae(n)}),[n]);return(0,r.createElement)(Pt,{isLandscape:i,className:(0,u.Z)(!f&&c.toolbar,i&&c.toolbarLandscape)},(0,r.createElement)(At,{variant:f?\"h3\":\"subtitle1\",onClick:function(){return a(\"year\")},selected:\"year\"===o,label:s.getYearText(t)}),!f&&!d&&(0,r.createElement)(At,{variant:\"h4\",selected:\"date\"===o,onClick:function(){return a(\"date\")},align:i?\"left\":\"center\",label:s.getDatePickerHeaderText(t),className:(0,u.Z)(i&&c.dateLandscape)}),d&&(0,r.createElement)(At,{variant:\"h4\",onClick:function(){return a(\"month\")},selected:\"month\"===o,label:s.getMonthText(t)}))};function Kt(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}var Jt=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kt(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ct,{openTo:\"date\",views:[\"year\",\"date\"]});function Qt(e){var t=l();return{getDefaultFormat:function(){return function(e,t){return Oe(e)?t.yearFormat:Ae(e)?t.yearMonthFormat:t.dateFormat}(e.views,t)}}}var en=Gt({useOptions:Qt,Input:Lt,useState:Ut,DefaultToolbarComponent:Xt}),tn=Gt({useOptions:Qt,Input:qt,useState:Yt,DefaultToolbarComponent:Xt});en.defaultProps=Jt,tn.defaultProps=Jt;var nn=(0,p.Z)({toolbarLandscape:{flexWrap:\"wrap\"},toolbarAmpmLeftPadding:{paddingLeft:50},separator:{margin:\"0 4px 0 2px\",cursor:\"default\"},hourMinuteLabel:{display:\"flex\",justifyContent:\"flex-end\",alignItems:\"flex-end\"},hourMinuteLabelAmpmLandscape:{marginTop:\"auto\"},hourMinuteLabelReverse:{flexDirection:\"row-reverse\"},ampmSelection:{marginLeft:20,marginRight:-20,display:\"flex\",flexDirection:\"column\"},ampmLandscape:{margin:\"4px 0 auto\",flexDirection:\"row\",justifyContent:\"space-around\",flexBasis:\"100%\"},ampmSelectionWithSeconds:{marginLeft:15,marginRight:10},ampmLabel:{fontSize:18}},{name:\"MuiPickersTimePickerToolbar\"});function rn(e,t,n){var a=l();return{meridiemMode:Ke(e,a),handleMeridiemChange:(0,r.useCallback)((function(r){var i=Je(e,r,Boolean(t),a);n(i,!1)}),[t,e,n,a])}}var an=function(e){var t=e.date,n=e.views,a=e.ampm,i=e.openView,o=e.onChange,s=e.isLandscape,c=e.setOpenView,f=l(),d=(0,D.Z)(),p=nn(),h=rn(t,a,o),m=h.meridiemMode,g=h.handleMeridiemChange,y=s?\"h3\":\"h2\";return(0,r.createElement)(Pt,{isLandscape:s,className:(0,u.Z)(s?p.toolbarLandscape:a&&p.toolbarAmpmLeftPadding)},(0,r.createElement)(\"div\",{className:(0,u.Z)(p.hourMinuteLabel,a&&s&&p.hourMinuteLabelAmpmLandscape,{rtl:p.hourMinuteLabelReverse}[d.direction])},U(n,\"hours\")&&(0,r.createElement)(At,{variant:y,onClick:function(){return c(qe.HOURS)},selected:i===qe.HOURS,label:f.getHourText(t,Boolean(a))}),U(n,[\"hours\",\"minutes\"])&&(0,r.createElement)(Et,{label:\":\",variant:y,selected:!1,className:p.separator}),U(n,\"minutes\")&&(0,r.createElement)(At,{variant:y,onClick:function(){return c(qe.MINUTES)},selected:i===qe.MINUTES,label:f.getMinuteText(t)}),U(n,[\"minutes\",\"seconds\"])&&(0,r.createElement)(Et,{variant:\"h2\",label:\":\",selected:!1,className:p.separator}),U(n,\"seconds\")&&(0,r.createElement)(At,{variant:\"h2\",onClick:function(){return c(qe.SECONDS)},selected:i===qe.SECONDS,label:f.getSecondText(t)})),a&&(0,r.createElement)(\"div\",{className:(0,u.Z)(p.ampmSelection,s&&p.ampmLandscape,U(n,\"seconds\")&&p.ampmSelectionWithSeconds)},(0,r.createElement)(At,{disableRipple:!0,variant:\"subtitle1\",selected:\"am\"===m,typographyClassName:p.ampmLabel,label:f.getMeridiemText(\"am\"),onClick:function(){return g(\"am\")}}),(0,r.createElement)(At,{disableRipple:!0,variant:\"subtitle1\",selected:\"pm\"===m,typographyClassName:p.ampmLabel,label:f.getMeridiemText(\"pm\"),onClick:function(){return g(\"pm\")}})))};function on(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}var ln=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ut,{openTo:\"hours\",views:[\"hours\",\"minutes\"]});function sn(e){var t=l();return{getDefaultFormat:function(){return Ft(e.format,e.ampm,{\"12h\":t.time12hFormat,\"24h\":t.time24hFormat})}}}var un=Gt({useOptions:sn,Input:Lt,useState:Ut,DefaultToolbarComponent:an}),cn=Gt({useOptions:sn,Input:qt,useState:Yt,DefaultToolbarComponent:an,getCustomProps:function(e){return{refuse:e.ampm?/[^\\dap]+/gi:/[^\\d]+/gi}}});un.defaultProps=ln,cn.defaultProps=ln;var fn=n(41749),dn=n(41423),pn=n(14096),hn=function(e){return\"date\"===e||\"year\"===e?\"date\":\"time\"},mn=(0,p.Z)((function(e){var t=\"light\"===e.palette.type?e.palette.primary.main:e.palette.background.default;return{tabs:{color:e.palette.getContrastText(t),backgroundColor:t}}}),{name:\"MuiPickerDTTabs\"}),gn=function(e){var t=e.view,n=e.onChange,a=e.dateRangeIcon,i=e.timeIcon,o=mn(),l=\"light\"===(0,D.Z)().palette.type?\"secondary\":\"primary\";return(0,r.createElement)(F.Z,null,(0,r.createElement)(pn.Z,{variant:\"fullWidth\",value:hn(t),onChange:function(e,r){r!==hn(t)&&n(\"date\"===r?\"date\":\"hours\")},className:o.tabs,indicatorColor:l},(0,r.createElement)(dn.Z,{value:\"date\",icon:(0,r.createElement)(r.Fragment,null,a)}),(0,r.createElement)(dn.Z,{value:\"time\",icon:(0,r.createElement)(r.Fragment,null,i)})))};gn.defaultProps={dateRangeIcon:(0,r.createElement)((function(e){return r.createElement(se.Z,e,r.createElement(\"path\",{d:\"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z\"}),r.createElement(\"path\",{fill:\"none\",d:\"M0 0h24v24H0z\"}))}),null),timeIcon:(0,r.createElement)((function(e){return r.createElement(se.Z,e,r.createElement(\"path\",{d:\"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"}),r.createElement(\"path\",{fill:\"none\",d:\"M0 0h24v24H0z\"}),r.createElement(\"path\",{d:\"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z\"}))}),null)};var yn=(0,p.Z)((function(e){return{toolbar:{paddingLeft:16,paddingRight:16,justifyContent:\"space-around\"},separator:{margin:\"0 4px 0 2px\",cursor:\"default\"}}}),{name:\"MuiPickerDTToolbar\"}),vn=function(e){var t=e.date,n=e.openView,a=e.setOpenView,i=e.ampm,o=e.hideTabs,s=e.dateRangeIcon,u=e.timeIcon,c=e.onChange,f=l(),d=yn(),p=!o&&\"undefined\"!=typeof window&&window.innerHeight>667,h=rn(t,i,c),m=h.meridiemMode,g=h.handleMeridiemChange,y=\"rtl\"===(0,D.Z)().direction;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(Pt,{isLandscape:!1,className:d.toolbar},(0,r.createElement)(fn.Z,{container:!0,justify:\"center\",wrap:\"nowrap\"},(0,r.createElement)(fn.Z,{item:!0,container:!0,xs:5,justify:\"flex-start\",direction:\"column\"},(0,r.createElement)(\"div\",null,(0,r.createElement)(At,{variant:\"subtitle1\",onClick:function(){return a(\"year\")},selected:\"year\"===n,label:f.getYearText(t)})),(0,r.createElement)(\"div\",null,(0,r.createElement)(At,{variant:\"h4\",onClick:function(){return a(\"date\")},selected:\"date\"===n,label:f.getDateTimePickerHeaderText(t)}))),(0,r.createElement)(fn.Z,{item:!0,container:!0,xs:6,justify:\"center\",alignItems:\"flex-end\",direction:y?\"row-reverse\":\"row\"},(0,r.createElement)(At,{variant:\"h3\",onClick:function(){return a(\"hours\")},selected:\"hours\"===n,label:f.getHourText(t,i)}),(0,r.createElement)(Et,{variant:\"h3\",label:\":\",className:d.separator}),(0,r.createElement)(At,{variant:\"h3\",onClick:function(){return a(\"minutes\")},selected:\"minutes\"===n,label:f.getMinuteText(t)})),i&&(0,r.createElement)(fn.Z,{item:!0,container:!0,xs:1,direction:\"column\",justify:\"flex-end\"},(0,r.createElement)(At,{variant:\"subtitle1\",selected:\"am\"===m,label:f.getMeridiemText(\"am\"),onClick:function(){return g(\"am\")}}),(0,r.createElement)(At,{variant:\"subtitle1\",selected:\"pm\"===m,label:f.getMeridiemText(\"pm\"),onClick:function(){return g(\"pm\")}})))),p&&(0,r.createElement)(gn,{dateRangeIcon:s,timeIcon:u,view:n,onChange:a}))};function bn(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}var xn=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bn(n,!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bn(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ft,{wider:!0,orientation:\"portrait\",openTo:\"date\",views:[\"year\",\"date\",\"hours\",\"minutes\"]});function wn(e){var t=l();if(\"portrait\"!==e.orientation)throw new Error(\"We are not supporting custom orientation for DateTimePicker yet :(\");return{getDefaultFormat:function(){return Ft(e.format,e.ampm,{\"12h\":t.dateTime12hFormat,\"24h\":t.dateTime24hFormat})}}}var _n=Gt({useOptions:wn,Input:Lt,useState:Ut,DefaultToolbarComponent:vn}),kn=Gt({useOptions:wn,Input:qt,useState:Yt,DefaultToolbarComponent:vn,getCustomProps:function(e){return{refuse:e.ampm?/[^\\dap]+/gi:/[^\\d]+/gi}}});function Tn(e){var t=e.value,n=e.autoOk,r=void 0===n||n,a=e.onChange,i=e.defaultFormat,o=Ut({value:t,onChange:a,autoOk:r},{getDefaultFormat:function(){return i||\"MM/dd/yyyy\"}});return{pickerProps:o.pickerProps,wrapperProps:o.wrapperProps,inputProps:o.inputProps}}_n.defaultProps=xn,kn.defaultProps=xn},15921:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return c}});var r=n(87462),a=n(15671),i=n(43144),o=n(67294),l=n(54013),s=n(26975),u=n(5034),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.Z)(this,e),this.options=t}return(0,i.Z)(e,[{key:\"collect\",value:function(e){var t=new Map;this.sheetsRegistry=new l.xE;var n=(0,u.Z)();return o.createElement(s.ZP,(0,r.Z)({sheetsManager:t,serverGenerateClassName:n,sheetsRegistry:this.sheetsRegistry},this.options),e)}},{key:\"toString\",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():\"\"}},{key:\"getStyleElement\",value:function(e){return o.createElement(\"style\",(0,r.Z)({id:\"jss-server-side\",key:\"jss-server-side\",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}]),e}()},26975:function(e,t,n){\"use strict\";n.d(t,{tP:function(){return d},NU:function(){return h},ZP:function(){return m}});var r,a=n(87462),i=n(45987),o=n(67294),l=(n(45697),n(5034)),s=n(54013),u=n(60246),c=(0,s.Ue)((0,u.Z)()),f=(0,l.Z)(),d=new Map,p={disableGeneration:!1,generateClassName:f,jss:c,sheetsCache:null,sheetsManager:d,sheetsRegistry:null},h=o.createContext(p);function m(e){var t=e.children,n=e.injectFirst,l=void 0!==n&&n,c=e.disableGeneration,f=void 0!==c&&c,d=(0,i.Z)(e,[\"children\",\"injectFirst\",\"disableGeneration\"]),p=o.useContext(h),m=(0,a.Z)({},p,{disableGeneration:f},d);if(!m.jss.options.insertionPoint&&l&&\"undefined\"!=typeof window){if(!r){var g=document.head;r=document.createComment(\"mui-inject-first\"),g.insertBefore(r,g.firstChild)}m.jss=(0,s.Ue)({plugins:(0,u.Z)().plugins,insertionPoint:r})}return o.createElement(h.Provider,{value:m},t)}},13457:function(e,t,n){\"use strict\";var r=n(87462),a=n(67294),i=(n(45697),n(83800)),o=n(159),l=n(17076);t.Z=function(e){var t=e.children,n=e.theme,s=(0,o.Z)(),u=a.useMemo((function(){var e=null===s?n:function(e,t){return\"function\"==typeof t?t(e):(0,r.Z)({},e,t)}(s,n);return null!=e&&(e[l.Z]=null!==s),e}),[n,s]);return a.createElement(i.Z.Provider,{value:u},t)}},17076:function(e,t){\"use strict\";var n=\"function\"==typeof Symbol&&Symbol.for;t.Z=n?Symbol.for(\"mui.nested\"):\"__THEME_NESTED__\"},5034:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return i}});var r=n(17076),a=[\"checked\",\"disabled\",\"error\",\"focused\",\"focusVisible\",\"required\",\"expanded\",\"selected\"];function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,i=e.productionPrefix,o=void 0===i?\"jss\":i,l=e.seed,s=void 0===l?\"\":l,u=\"\"===s?\"\":\"\".concat(s,\"-\"),c=0,f=function(){return c+=1};return function(e,t){var i=t.options.name;if(i&&0===i.indexOf(\"Mui\")&&!t.options.link&&!n){if(-1!==a.indexOf(e.key))return\"Mui-\".concat(e.key);var l=\"\".concat(u).concat(i,\"-\").concat(e.key);return t.options.theme[r.Z]&&\"\"===s?\"\".concat(l,\"-\").concat(f()):l}return\"\".concat(u).concat(o).concat(f())}}},10150:function(e,t,n){\"use strict\";function r(e){return e}n.d(t,{Z:function(){return r}})},93869:function(e,t,n){\"use strict\";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var a,i=t.props[n];for(a in i)void 0===r[a]&&(r[a]=i[a]);return r}n.d(t,{Z:function(){return r}})},97865:function(e,t,n){\"use strict\";n.r(t),n.d(t,{ServerStyleSheets:function(){return u.Z},StylesContext:function(){return f.NU},StylesProvider:function(){return f.ZP},ThemeProvider:function(){return d.Z},createGenerateClassName:function(){return r.Z},createStyles:function(){return a.Z},getThemeProps:function(){return i.Z},jssPreset:function(){return o.Z},makeStyles:function(){return l.Z},mergeClasses:function(){return s.Z},sheetsManager:function(){return f.tP},styled:function(){return c.Z},useTheme:function(){return p.Z},withStyles:function(){return h.Z},withTheme:function(){return m.Z},withThemeCreator:function(){return m.r}});var r=n(5034),a=n(10150),i=n(93869),o=n(60246),l=n(73914),s=n(65835),u=n(15921),c=n(49699),f=n(26975),d=n(13457),p=n(159),h=n(38920),m=n(23681)},60246:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return Ie}});var r=n(54013),a=Date.now(),i=\"fnValues\"+a,o=\"fnStyle\"+ ++a,l=function(){return{onCreateRule:function(e,t,n){if(\"function\"!=typeof t)return null;var a=(0,r.JH)(e,{},n);return a[o]=t,a},onProcessStyle:function(e,t){if(i in t||o in t)return e;var n={};for(var r in e){var a=e[r];\"function\"==typeof a&&(delete e[r],n[r]=a)}return t[i]=n,e},onUpdate:function(e,t,n,r){var a=t,l=a[o];l&&(a.style=l(e)||{});var s=a[i];if(s)for(var u in s)a.prop(u,s[u](e),r)}}},s=n(87462),u=\"@global\",c=\"@global \",f=function(){function e(e,t,n){for(var a in this.type=\"global\",this.at=u,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new r.RB((0,s.Z)({},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.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),d=function(){function e(e,t,n){this.type=\"global\",this.at=u,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr(c.length);this.rule=n.jss.createRule(r,t,(0,s.Z)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):\"\"},e}(),p=/\\s*,\\s*/g;function h(e,t){for(var n=e.split(p),r=\"\",a=0;a<n.length;a++)r+=t+\" \"+n[a].trim(),n[a+1]&&(r+=\", \");return r}var m=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===u)return new f(e,t,n);if(\"@\"===e[0]&&e.substr(0,c.length)===c)return new d(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,t){\"style\"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,a=r?r[u]:null;if(a){for(var i in a)t.addRule(i,a[i],(0,s.Z)({},n,{selector:h(i,e.selector)}));delete r[u]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var a in r)if(\"@\"===a[0]&&a.substr(0,u.length)===u){var i=h(a.substr(u.length),e.selector);t.addRule(i,r[a],(0,s.Z)({},n,{selector:i})),delete r[a]}}(e,t))}}},g=/\\s*,\\s*/g,y=/&/g,v=/\\$([\\w-]+)/g;var b=function(){function e(e,t){return function(n,r){var a=e.getRule(r)||t&&t.getRule(r);return a?(a=a).selector:r}}function t(e,t){for(var n=t.split(g),r=e.split(g),a=\"\",i=0;i<n.length;i++)for(var o=n[i],l=0;l<r.length;l++){var s=r[l];a&&(a+=\", \"),a+=-1!==s.indexOf(\"&\")?s.replace(y,o):o+\" \"+s}return a}function n(e,t,n){if(n)return(0,s.Z)({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var a=(0,s.Z)({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete a.name,a}return{onProcessStyle:function(r,a,i){if(\"style\"!==a.type)return r;var o,l,u=a,c=u.options.parent;for(var f in r){var d=-1!==f.indexOf(\"&\"),p=\"@\"===f[0];if(d||p){if(o=n(u,c,o),d){var h=t(f,u.selector);l||(l=e(c,i)),h=h.replace(v,l),c.addRule(h,r[f],(0,s.Z)({},o,{selector:h}))}else p&&c.addRule(f,{},o).addRule(u.key,r[f],{selector:u.selector});delete r[f]}}return r}}},x=/[A-Z]/g,w=/^ms-/,_={};function k(e){return\"-\"+e.toLowerCase()}var T=function(e){if(_.hasOwnProperty(e))return _[e];var t=e.replace(x,k);return _[e]=w.test(t)?\"-\"+t:t};function M(e){var t={};for(var n in e){t[0===n.indexOf(\"--\")?n:T(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(M):t.fallbacks=M(e.fallbacks)),t}var S=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=M(e[t]);return e}return M(e)},onChangeValue:function(e,t,n){if(0===t.indexOf(\"--\"))return e;var r=T(t);return t===r?e:(n.prop(r,e),null)}}},E=r.HZ&&CSS?CSS.px:\"px\",C=r.HZ&&CSS?CSS.ms:\"ms\",O=r.HZ&&CSS?CSS.percent:\"%\";function A(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var a in e)r[a]=e[a],r[a.replace(t,n)]=e[a];return r}var D=A({\"animation-delay\":C,\"animation-duration\":C,\"background-position\":E,\"background-position-x\":E,\"background-position-y\":E,\"background-size\":E,border:E,\"border-bottom\":E,\"border-bottom-left-radius\":E,\"border-bottom-right-radius\":E,\"border-bottom-width\":E,\"border-left\":E,\"border-left-width\":E,\"border-radius\":E,\"border-right\":E,\"border-right-width\":E,\"border-top\":E,\"border-top-left-radius\":E,\"border-top-right-radius\":E,\"border-top-width\":E,\"border-width\":E,\"border-block\":E,\"border-block-end\":E,\"border-block-end-width\":E,\"border-block-start\":E,\"border-block-start-width\":E,\"border-block-width\":E,\"border-inline\":E,\"border-inline-end\":E,\"border-inline-end-width\":E,\"border-inline-start\":E,\"border-inline-start-width\":E,\"border-inline-width\":E,\"border-start-start-radius\":E,\"border-start-end-radius\":E,\"border-end-start-radius\":E,\"border-end-end-radius\":E,margin:E,\"margin-bottom\":E,\"margin-left\":E,\"margin-right\":E,\"margin-top\":E,\"margin-block\":E,\"margin-block-end\":E,\"margin-block-start\":E,\"margin-inline\":E,\"margin-inline-end\":E,\"margin-inline-start\":E,padding:E,\"padding-bottom\":E,\"padding-left\":E,\"padding-right\":E,\"padding-top\":E,\"padding-block\":E,\"padding-block-end\":E,\"padding-block-start\":E,\"padding-inline\":E,\"padding-inline-end\":E,\"padding-inline-start\":E,\"mask-position-x\":E,\"mask-position-y\":E,\"mask-size\":E,height:E,width:E,\"min-height\":E,\"max-height\":E,\"min-width\":E,\"max-width\":E,bottom:E,left:E,top:E,right:E,inset:E,\"inset-block\":E,\"inset-block-end\":E,\"inset-block-start\":E,\"inset-inline\":E,\"inset-inline-end\":E,\"inset-inline-start\":E,\"box-shadow\":E,\"text-shadow\":E,\"column-gap\":E,\"column-rule\":E,\"column-rule-width\":E,\"column-width\":E,\"font-size\":E,\"font-size-delta\":E,\"letter-spacing\":E,\"text-decoration-thickness\":E,\"text-indent\":E,\"text-stroke\":E,\"text-stroke-width\":E,\"word-spacing\":E,motion:E,\"motion-offset\":E,outline:E,\"outline-offset\":E,\"outline-width\":E,perspective:E,\"perspective-origin-x\":O,\"perspective-origin-y\":O,\"transform-origin\":O,\"transform-origin-x\":O,\"transform-origin-y\":O,\"transform-origin-z\":O,\"transition-delay\":C,\"transition-duration\":C,\"vertical-align\":E,\"flex-basis\":E,\"shape-margin\":E,size:E,gap:E,grid:E,\"grid-gap\":E,\"row-gap\":E,\"grid-row-gap\":E,\"grid-column-gap\":E,\"grid-template-rows\":E,\"grid-template-columns\":E,\"grid-auto-rows\":E,\"grid-auto-columns\":E,\"box-shadow-x\":E,\"box-shadow-y\":E,\"box-shadow-blur\":E,\"box-shadow-spread\":E,\"font-line-height\":E,\"text-shadow-x\":E,\"text-shadow-y\":E,\"text-shadow-blur\":E});function P(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=P(e,t[r],n);else if(\"object\"==typeof t)if(\"fallbacks\"===e)for(var a in t)t[a]=P(a,t[a],n);else for(var i in t)t[i]=P(e+\"-\"+i,t[i],n);else if(\"number\"==typeof t&&!1===isNaN(t)){var o=n[e]||D[e];return!o||0===t&&o===E?t.toString():\"function\"==typeof o?o(t).toString():\"\"+t+o}return t}var R=function(e){void 0===e&&(e={});var t=A(e);return{onProcessStyle:function(e,n){if(\"style\"!==n.type)return e;for(var r in e)e[r]=P(r,e[r],t);return e},onChangeValue:function(e,n){return P(n,e,t)}}},L=n(33827),I=n(42982),j=\"\",N=\"\",z=\"\",F=\"\",Z=L.Z&&\"ontouchstart\"in document.documentElement;if(L.Z){var B={Moz:\"-moz-\",ms:\"-ms-\",O:\"-o-\",Webkit:\"-webkit-\"},q=document.createElement(\"p\").style;for(var H in B)if(H+\"Transform\"in q){j=H,N=B[H];break}\"Webkit\"===j&&\"msHyphens\"in q&&(j=\"ms\",N=B.ms,F=\"edge\"),\"Webkit\"===j&&\"-apple-trailing-word\"in q&&(z=\"apple\")}var U=j,W=N,V=z,Y=F,G=Z;var $={noPrefill:[\"appearance\"],supportedProperty:function(e){return\"appearance\"===e&&(\"ms\"===U?\"-webkit-\"+e:W+e)}},X={noPrefill:[\"color-adjust\"],supportedProperty:function(e){return\"color-adjust\"===e&&(\"Webkit\"===U?W+\"print-\"+e:e)}},K=/[-\\s]+(.)?/g;function J(e,t){return t?t.toUpperCase():\"\"}function Q(e){return e.replace(K,J)}function ee(e){return Q(\"-\"+e)}var te,ne={noPrefill:[\"mask\"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if(\"Webkit\"===U){var n=\"mask-image\";if(Q(n)in t)return e;if(U+ee(n)in t)return W+e}return e}},re={noPrefill:[\"text-orientation\"],supportedProperty:function(e){return\"text-orientation\"===e&&(\"apple\"!==V||G?e:W+e)}},ae={noPrefill:[\"transform\"],supportedProperty:function(e,t,n){return\"transform\"===e&&(n.transform?e:W+e)}},ie={noPrefill:[\"transition\"],supportedProperty:function(e,t,n){return\"transition\"===e&&(n.transition?e:W+e)}},oe={noPrefill:[\"writing-mode\"],supportedProperty:function(e){return\"writing-mode\"===e&&(\"Webkit\"===U||\"ms\"===U&&\"edge\"!==Y?W+e:e)}},le={noPrefill:[\"user-select\"],supportedProperty:function(e){return\"user-select\"===e&&(\"Moz\"===U||\"ms\"===U||\"apple\"===V?W+e:e)}},se={supportedProperty:function(e,t){return!!/^break-/.test(e)&&(\"Webkit\"===U?\"WebkitColumn\"+ee(e)in t&&W+\"column-\"+e:\"Moz\"===U&&(\"page\"+ee(e)in t&&\"page-\"+e))}},ue={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if(\"Moz\"===U)return e;var n=e.replace(\"-inline\",\"\");return U+ee(n)in t&&W+n}},ce={supportedProperty:function(e,t){return Q(e)in t&&e}},fe={supportedProperty:function(e,t){var n=ee(e);return\"-\"===e[0]||\"-\"===e[0]&&\"-\"===e[1]?e:U+n in t?W+e:\"Webkit\"!==U&&\"Webkit\"+n in t&&\"-webkit-\"+e}},de={supportedProperty:function(e){return\"scroll-snap\"===e.substring(0,11)&&(\"ms\"===U?\"\"+W+e:e)}},pe={supportedProperty:function(e){return\"overscroll-behavior\"===e&&(\"ms\"===U?W+\"scroll-chaining\":e)}},he={\"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\"},me={supportedProperty:function(e,t){var n=he[e];return!!n&&(U+ee(n)in t&&W+n)}},ge={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\"},ye=Object.keys(ge),ve=function(e){return W+e},be={supportedProperty:function(e,t,n){var r=n.multiple;if(ye.indexOf(e)>-1){var a=ge[e];if(!Array.isArray(a))return U+ee(a)in t&&W+a;if(!r)return!1;for(var i=0;i<a.length;i++)if(!(U+ee(a[0])in t))return!1;return a.map(ve)}return!1}},xe=[$,X,ne,re,ae,ie,oe,le,se,ue,ce,fe,de,pe,me,be],we=xe.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),_e=xe.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,I.Z)(t.noPrefill)),e}),[]),ke={};if(L.Z){te=document.createElement(\"p\");var Te=window.getComputedStyle(document.documentElement,\"\");for(var Me in Te)isNaN(Me)||(ke[Te[Me]]=Te[Me]);_e.forEach((function(e){return delete ke[e]}))}function Se(e,t){if(void 0===t&&(t={}),!te)return e;if(null!=ke[e])return ke[e];\"transition\"!==e&&\"transform\"!==e||(t[e]=e in te.style);for(var n=0;n<we.length&&(ke[e]=we[n](e,te.style,t),!ke[e]);n++);try{te.style[e]=\"\"}catch(e){return!1}return ke[e]}var Ee,Ce={},Oe={transition:1,\"transition-property\":1,\"-webkit-transition\":1,\"-webkit-transition-property\":1},Ae=/(^\\s*[\\w-]+)|, (\\s*[\\w-]+)(?![^()]*\\))/g;function De(e,t,n){if(\"var\"===t)return\"var\";if(\"all\"===t)return\"all\";if(\"all\"===n)return\", all\";var r=t?Se(t):\", \"+Se(n);return r||(t||n)}function Pe(e,t){var n=t;if(!Ee||\"content\"===e)return t;if(\"string\"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Ce[r])return Ce[r];try{Ee.style[e]=n}catch(e){return Ce[r]=!1,!1}if(Oe[e])n=n.replace(Ae,De);else if(\"\"===Ee.style[e]&&(\"-ms-flex\"===(n=W+n)&&(Ee.style[e]=\"-ms-flexbox\"),Ee.style[e]=n,\"\"===Ee.style[e]))return Ce[r]=!1,!1;return Ee.style[e]=\"\",Ce[r]=n,Ce[r]}L.Z&&(Ee=document.createElement(\"p\"));var Re=function(){function e(t){for(var n in t){var a=t[n];if(\"fallbacks\"===n&&Array.isArray(a))t[n]=a.map(e);else{var i=!1,o=Se(n);o&&o!==n&&(i=!0);var l=!1,s=Pe(o,(0,r.EK)(a));s&&s!==a&&(l=!0),(i||l)&&(i&&delete t[n],t[o||n]=s||a)}}return t}return{onProcessRule:function(e){if(\"keyframes\"===e.type){var t=e;t.at=function(e){return\"-\"===e[1]||\"ms\"===U?e:\"@\"+W+\"keyframes\"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return\"style\"!==n.type?t:e(t)},onChangeValue:function(e,t){return Pe(t,(0,r.EK)(e))||e}}};var Le=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={},a=Object.keys(t).sort(e),i=0;i<a.length;i++)r[a[i]]=t[a[i]];return r}}};function Ie(){return{plugins:[l(),m(),b(),S(),R(),\"undefined\"==typeof window?null:Re(),Le()]}}},73914:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return w}});var r=n(45987),a=n(87462),i=n(67294),o=n(54013),l=n(65835),s={set:function(e,t,n,r){var a=e.get(t);a||(a=new Map,e.set(t,a)),a.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)}},u=n(159),c=n(26975),f=-1e9;function d(){return f+=1}var p=n(35953);function h(e){var t=\"function\"==typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return i;var o=n.overrides[r],l=(0,a.Z)({},i);return Object.keys(o).forEach((function(e){l[e]=(0,p.Z)(l[e],o[e])})),l},options:{}}}var m={};function g(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var a=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,a=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,a=!0),a&&(r.cacheClasses.value=(0,l.Z)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function y(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,u=e.stylesCreator,c=e.name;if(!i.disableGeneration){var f=s.get(i.sheetsManager,u,r);f||(f={refs:0,staticSheet:null,dynamicStyles:null},s.set(i.sheetsManager,u,r,f));var d=(0,a.Z)({},u.options,i,{theme:r,flip:\"boolean\"==typeof i.flip?i.flip:\"rtl\"===r.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;var p=i.sheetsRegistry;if(0===f.refs){var h;i.sheetsCache&&(h=s.get(i.sheetsCache,u,r));var m=u.create(r,c);h||((h=i.jss.createStyleSheet(m,(0,a.Z)({link:!1},d))).attach(),i.sheetsCache&&s.set(i.sheetsCache,u,r,h)),p&&p.add(h),f.staticSheet=h,f.dynamicStyles=(0,o._$)(m)}if(f.dynamicStyles){var g=i.jss.createStyleSheet(f.dynamicStyles,(0,a.Z)({link:!0},d));g.update(t),g.attach(),n.dynamicSheet=g,n.classes=(0,l.Z)({baseClasses:f.staticSheet.classes,newClasses:g.classes}),p&&p.add(g)}else n.classes=f.staticSheet.classes;f.refs+=1}}function v(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function b(e){var t=e.state,n=e.theme,r=e.stylesOptions,a=e.stylesCreator;if(!r.disableGeneration){var i=s.get(r.sheetsManager,a,n);i.refs-=1;var o=r.sheetsRegistry;0===i.refs&&(s.delete(r.sheetsManager,a,n),r.jss.removeStyleSheet(i.staticSheet),o&&o.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),o&&o.remove(t.dynamicSheet))}}function x(e,t){var n,r=i.useRef([]),a=i.useMemo((function(){return{}}),t);r.current!==a&&(r.current=a,n=e()),i.useEffect((function(){return function(){n&&n()}}),[a])}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,l=t.Component,s=t.defaultTheme,f=void 0===s?m:s,p=(0,r.Z)(t,[\"name\",\"classNamePrefix\",\"Component\",\"defaultTheme\"]),w=h(e),_=n||o||\"makeStyles\";w.options={index:d(),name:n,meta:_,classNamePrefix:_};var k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,u.Z)()||f,r=(0,a.Z)({},i.useContext(c.NU),p),o=i.useRef(),s=i.useRef();x((function(){var a={name:n,state:{},stylesCreator:w,stylesOptions:r,theme:t};return y(a,e),s.current=!1,o.current=a,function(){b(a)}}),[t,w]),i.useEffect((function(){s.current&&v(o.current,e),s.current=!0}));var d=g(o.current,e.classes,l);return d};return k}},65835:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(87462);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var a=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(a[e]=\"\".concat(t[e],\" \").concat(n[e]))})),a}},49699:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return f}});var r=n(87462),a=n(45987),i=n(67294),o=n(86010),l=(n(45697),n(8679)),s=n.n(l),u=n(73914);function c(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function f(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=n.name,f=(0,a.Z)(n,[\"name\"]);var d,p=l,h=\"function\"==typeof t?function(e){return{root:function(n){return t((0,r.Z)({theme:e},n))}}}:{root:t},m=(0,u.Z)(h,(0,r.Z)({Component:e,name:l||e.displayName,classNamePrefix:p},f));t.filterProps&&(d=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var g=i.forwardRef((function(t,n){var l=t.children,s=t.className,u=t.clone,f=t.component,p=(0,a.Z)(t,[\"children\",\"className\",\"clone\",\"component\"]),h=m(t),g=(0,o.Z)(h.root,s),y=p;if(d&&(y=c(y,d)),u)return i.cloneElement(l,(0,r.Z)({className:(0,o.Z)(l.props.className,g)},y));if(\"function\"==typeof l)return l((0,r.Z)({className:g},y));var v=f||e;return i.createElement(v,(0,r.Z)({ref:n,className:g},y),l)}));return s()(g,e),g}}},83800:function(e,t,n){\"use strict\";var r=n(67294).createContext(null);t.Z=r},159:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return i}});var r=n(67294),a=n(83800);function i(){return r.useContext(a.Z)}},38920:function(e,t,n){\"use strict\";var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(8679)),l=n.n(o),s=n(73914),u=n(93869),c=n(159);t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=t.defaultTheme,f=t.withTheme,d=void 0!==f&&f,p=t.name,h=(0,a.Z)(t,[\"defaultTheme\",\"withTheme\",\"name\"]);var m=p,g=(0,s.Z)(e,(0,r.Z)({defaultTheme:o,Component:n,name:p||n.displayName,classNamePrefix:m},h)),y=i.forwardRef((function(e,t){e.classes;var l,s=e.innerRef,f=(0,a.Z)(e,[\"classes\",\"innerRef\"]),h=g((0,r.Z)({},n.defaultProps,e)),m=f;return(\"string\"==typeof p||d)&&(l=(0,c.Z)()||o,p&&(m=(0,u.Z)({theme:l,name:p,props:f})),d&&!m.theme&&(m.theme=l)),i.createElement(n,(0,r.Z)({ref:s||t,classes:h},m))}));return l()(y,n),y}}},23681:function(e,t,n){\"use strict\";n.d(t,{r:function(){return u}});var r=n(87462),a=n(45987),i=n(67294),o=(n(45697),n(8679)),l=n.n(o),s=n(159);function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=function(e){var n=i.forwardRef((function(n,o){var l=n.innerRef,u=(0,a.Z)(n,[\"innerRef\"]),c=(0,s.Z)()||t;return i.createElement(e,(0,r.Z)({theme:c,ref:l||o},u))}));return l()(n,e),n};return n}var c=u();t.Z=c},99424:function(e,t,n){\"use strict\";n.d(t,{Cg:function(){return o},j1:function(){return l},vQ:function(){return s},h$:function(){return u},sc:function(){return c},tv:function(){return f},E0:function(){return d}});var r=n(8245),a=n(85680);function i(e){return\"number\"!=typeof e?e:\"\".concat(e,\"px solid\")}var o=(0,r.Z)({prop:\"border\",themeKey:\"borders\",transform:i}),l=(0,r.Z)({prop:\"borderTop\",themeKey:\"borders\",transform:i}),s=(0,r.Z)({prop:\"borderRight\",themeKey:\"borders\",transform:i}),u=(0,r.Z)({prop:\"borderBottom\",themeKey:\"borders\",transform:i}),c=(0,r.Z)({prop:\"borderLeft\",themeKey:\"borders\",transform:i}),f=(0,r.Z)({prop:\"borderColor\",themeKey:\"palette\"}),d=(0,r.Z)({prop:\"borderRadius\",themeKey:\"shape\"}),p=(0,a.Z)(o,l,s,u,c,f,d);t.ZP=p},71410:function(e,t,n){\"use strict\";n.d(t,{k:function(){return u}});var r=n(42982),a=n(87462),i=n(71002),o=(n(45697),n(19668)),l={xs:0,sm:600,md:960,lg:1280,xl:1920},s={keys:[\"xs\",\"sm\",\"md\",\"lg\",\"xl\"],up:function(e){return\"@media (min-width:\".concat(l[e],\"px)\")}};function u(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||s;return t.reduce((function(e,a,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if(\"object\"===(0,i.Z)(t)){var a=e.theme.breakpoints||s;return Object.keys(t).reduce((function(e,r){return e[a.up(r)]=n(t[r]),e}),{})}return n(t)}t.Z=function(e){var t=function(t){var n=e(t),r=t.theme.breakpoints||s,i=r.keys.reduce((function(n,i){return t[i]&&((n=n||{})[r.up(i)]=e((0,a.Z)({theme:t.theme},t[i]))),n}),null);return(0,o.Z)(n,i)};return t.propTypes={},t.filterProps=[\"xs\",\"sm\",\"md\",\"lg\",\"xl\"].concat((0,r.Z)(e.filterProps)),t}},85680:function(e,t,n){\"use strict\";var r=n(19668);t.Z=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=function(e){return t.reduce((function(t,n){var a=n(e);return a?(0,r.Z)(t,a):t}),{})};return a.propTypes={},a.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),a}},50962:function(e,t,n){\"use strict\";var r=n(8245),a=n(85680),i=(0,r.Z)({prop:\"displayPrint\",cssProperty:!1,transform:function(e){return{\"@media print\":{display:e}}}}),o=(0,r.Z)({prop:\"display\"}),l=(0,r.Z)({prop:\"overflow\"}),s=(0,r.Z)({prop:\"textOverflow\"}),u=(0,r.Z)({prop:\"visibility\"}),c=(0,r.Z)({prop:\"whiteSpace\"});t.ZP=(0,a.Z)(i,o,l,s,u,c)},23633:function(e,t,n){\"use strict\";n.d(t,{P_:function(){return i},Me:function(){return o},WO:function(){return l},Kl:function(){return s},cq:function(){return u},Kv:function(){return c},vm:function(){return f},fU:function(){return d},H7:function(){return p},i4:function(){return h},uk:function(){return m},eY:function(){return g},zo:function(){return y}});var r=n(8245),a=n(85680),i=(0,r.Z)({prop:\"flexBasis\"}),o=(0,r.Z)({prop:\"flexDirection\"}),l=(0,r.Z)({prop:\"flexWrap\"}),s=(0,r.Z)({prop:\"justifyContent\"}),u=(0,r.Z)({prop:\"alignItems\"}),c=(0,r.Z)({prop:\"alignContent\"}),f=(0,r.Z)({prop:\"order\"}),d=(0,r.Z)({prop:\"flex\"}),p=(0,r.Z)({prop:\"flexGrow\"}),h=(0,r.Z)({prop:\"flexShrink\"}),m=(0,r.Z)({prop:\"alignSelf\"}),g=(0,r.Z)({prop:\"justifyItems\"}),y=(0,r.Z)({prop:\"justifySelf\"}),v=(0,a.Z)(i,o,l,s,u,c,f,d,p,h,m,g,y);t.ZP=v},46427:function(e,t,n){\"use strict\";n.d(t,{Cc:function(){return i},W3:function(){return o},Ub:function(){return l},t4:function(){return s},oI:function(){return u},B:function(){return c},aN:function(){return f},FW:function(){return d},K$:function(){return p},RG:function(){return h},zI:function(){return m},fD:function(){return g}});var r=n(8245),a=n(85680),i=(0,r.Z)({prop:\"gridGap\"}),o=(0,r.Z)({prop:\"gridColumnGap\"}),l=(0,r.Z)({prop:\"gridRowGap\"}),s=(0,r.Z)({prop:\"gridColumn\"}),u=(0,r.Z)({prop:\"gridRow\"}),c=(0,r.Z)({prop:\"gridAutoFlow\"}),f=(0,r.Z)({prop:\"gridAutoColumns\"}),d=(0,r.Z)({prop:\"gridAutoRows\"}),p=(0,r.Z)({prop:\"gridTemplateColumns\"}),h=(0,r.Z)({prop:\"gridTemplateRows\"}),m=(0,r.Z)({prop:\"gridTemplateAreas\"}),g=(0,r.Z)({prop:\"gridArea\"}),y=(0,a.Z)(i,o,l,s,u,c,f,d,p,h,m,g);t.ZP=y},21151:function(e,t,n){\"use strict\";n.r(t),n.d(t,{borders:function(){return r.ZP},border:function(){return r.Cg},borderBottom:function(){return r.h$},borderColor:function(){return r.tv},borderLeft:function(){return r.sc},borderRadius:function(){return r.E0},borderRight:function(){return r.vQ},borderTop:function(){return r.j1},breakpoints:function(){return a.Z},compose:function(){return i.Z},styleFunctionSx:function(){return o.Z},css:function(){return o.i},display:function(){return l.ZP},flexbox:function(){return s.ZP},alignContent:function(){return s.Kv},alignItems:function(){return s.cq},alignSelf:function(){return s.uk},flex:function(){return s.fU},flexBasis:function(){return s.P_},flexDirection:function(){return s.Me},flexGrow:function(){return s.H7},flexShrink:function(){return s.i4},flexWrap:function(){return s.WO},justifyContent:function(){return s.Kl},justifyItems:function(){return s.eY},justifySelf:function(){return s.zo},order:function(){return s.vm},grid:function(){return u.ZP},gridArea:function(){return u.fD},gridAutoColumns:function(){return u.aN},gridAutoFlow:function(){return u.B},gridAutoRows:function(){return u.FW},gridColumn:function(){return u.t4},gridColumnGap:function(){return u.W3},gridGap:function(){return u.Cc},gridRow:function(){return u.oI},gridRowGap:function(){return u.Ub},gridTemplateAreas:function(){return u.zI},gridTemplateColumns:function(){return u.K$},gridTemplateRows:function(){return u.RG},palette:function(){return c.ZP},bgcolor:function(){return c.n9},color:function(){return c.$_},positions:function(){return f.ZP},bottom:function(){return f.I},left:function(){return f.t$},position:function(){return f.FK},right:function(){return f.F2},top:function(){return f.we},zIndex:function(){return f.W5},shadows:function(){return d.Z},sizing:function(){return p.ZP},boxSizing:function(){return p.ix},height:function(){return p.Cb},maxHeight:function(){return p.kC},maxWidth:function(){return p.kk},minHeight:function(){return p.jw},minWidth:function(){return p.ih},sizeHeight:function(){return p.Vs},sizeWidth:function(){return p.lO},width:function(){return p.bf},spacing:function(){return h.Z},createUnarySpacing:function(){return h.h},style:function(){return m.Z},typography:function(){return g.ZP},fontFamily:function(){return g.I8},fontSize:function(){return g.JB},fontStyle:function(){return g.p_},fontWeight:function(){return g.Ue},letterSpacing:function(){return g.rX},lineHeight:function(){return g.Nv},textAlign:function(){return g.yd}});var r=n(99424),a=n(71410),i=n(85680),o=n(75222),l=n(50962),s=n(23633),u=n(46427),c=n(5164),f=n(43939),d=n(70958),p=n(86801),h=n(38681),m=n(8245),g=n(29560)},19668:function(e,t,n){\"use strict\";var r=n(35953);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},5164:function(e,t,n){\"use strict\";n.d(t,{$_:function(){return i},n9:function(){return o}});var r=n(8245),a=n(85680),i=(0,r.Z)({prop:\"color\",themeKey:\"palette\"}),o=(0,r.Z)({prop:\"bgcolor\",cssProperty:\"backgroundColor\",themeKey:\"palette\"}),l=(0,a.Z)(i,o);t.ZP=l},43939:function(e,t,n){\"use strict\";n.d(t,{FK:function(){return i},W5:function(){return o},we:function(){return l},F2:function(){return s},I:function(){return u},t$:function(){return c}});var r=n(8245),a=n(85680),i=(0,r.Z)({prop:\"position\"}),o=(0,r.Z)({prop:\"zIndex\",themeKey:\"zIndex\"}),l=(0,r.Z)({prop:\"top\"}),s=(0,r.Z)({prop:\"right\"}),u=(0,r.Z)({prop:\"bottom\"}),c=(0,r.Z)({prop:\"left\"});t.ZP=(0,a.Z)(i,o,l,s,u,c)},70958:function(e,t,n){\"use strict\";var r=(0,n(8245).Z)({prop:\"boxShadow\",themeKey:\"shadows\"});t.Z=r},86801:function(e,t,n){\"use strict\";n.d(t,{bf:function(){return o},kk:function(){return l},ih:function(){return s},Cb:function(){return u},kC:function(){return c},jw:function(){return f},lO:function(){return d},Vs:function(){return p},ix:function(){return h}});var r=n(8245),a=n(85680);function i(e){return e<=1?\"\".concat(100*e,\"%\"):e}var o=(0,r.Z)({prop:\"width\",transform:i}),l=(0,r.Z)({prop:\"maxWidth\",transform:i}),s=(0,r.Z)({prop:\"minWidth\",transform:i}),u=(0,r.Z)({prop:\"height\",transform:i}),c=(0,r.Z)({prop:\"maxHeight\",transform:i}),f=(0,r.Z)({prop:\"minHeight\",transform:i}),d=(0,r.Z)({prop:\"size\",cssProperty:\"width\",transform:i}),p=(0,r.Z)({prop:\"size\",cssProperty:\"height\",transform:i}),h=(0,r.Z)({prop:\"boxSizing\"}),m=(0,a.Z)(o,l,s,u,c,f,h);t.ZP=m},38681:function(e,t,n){\"use strict\";n.d(t,{h:function(){return p},Z:function(){return g}});var r=n(70885),a=n(71410),i=n(19668);var o,l,s={m:\"margin\",p:\"padding\"},u={t:\"Top\",r:\"Right\",b:\"Bottom\",l:\"Left\",x:[\"Left\",\"Right\"],y:[\"Top\",\"Bottom\"]},c={marginX:\"mx\",marginY:\"my\",paddingX:\"px\",paddingY:\"py\"},f=(o=function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(\"\"),n=(0,r.Z)(t,2),a=n[0],i=n[1],o=s[a],l=u[i]||\"\";return Array.isArray(l)?l.map((function(e){return o+e})):[o+l]},l={},function(e){return void 0===l[e]&&(l[e]=o(e)),l[e]}),d=[\"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 p(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 h(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if(\"string\"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:\"number\"==typeof n?-n:\"-\".concat(n)}(t,n),e}),{})}}function m(e){var t=p(e.theme);return Object.keys(e).map((function(n){if(-1===d.indexOf(n))return null;var r=h(f(n),t),i=e[n];return(0,a.k)(e,i,r)})).reduce(i.Z,{})}m.propTypes={},m.filterProps=d;var g=m},8245:function(e,t,n){\"use strict\";var r=n(4942),a=n(71410);function i(e,t){return t&&\"string\"==typeof t?t.split(\".\").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}t.Z=function(e){var t=e.prop,n=e.cssProperty,o=void 0===n?e.prop:n,l=e.themeKey,s=e.transform,u=function(e){if(null==e[t])return null;var n=e[t],u=i(e.theme,l)||{};return(0,a.k)(e,n,(function(e){var t;return\"function\"==typeof u?t=u(e):Array.isArray(u)?t=u[e]||e:(t=i(u,e)||e,s&&(t=s(t))),!1===o?t:(0,r.Z)({},o,t)}))};return u.propTypes={},u.filterProps=[t],u}},75222:function(e,t,n){\"use strict\";n.d(t,{i:function(){return s}});var r=n(42982),a=n(87462),i=(n(45697),n(19668));function o(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function l(e){var t=function(t){var n=e(t);return t.css?(0,a.Z)({},(0,i.Z)(n,e((0,a.Z)({theme:t.theme},t.css))),o(t.css,[e.filterProps])):t.sx?(0,a.Z)({},(0,i.Z)(n,e((0,a.Z)({theme:t.theme},t.sx))),o(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=[\"css\",\"sx\"].concat((0,r.Z)(e.filterProps)),t}function s(e){return l(e)}t.Z=l},29560:function(e,t,n){\"use strict\";n.d(t,{I8:function(){return i},JB:function(){return o},p_:function(){return l},Ue:function(){return s},rX:function(){return u},Nv:function(){return c},yd:function(){return f}});var r=n(8245),a=n(85680),i=(0,r.Z)({prop:\"fontFamily\",themeKey:\"typography\"}),o=(0,r.Z)({prop:\"fontSize\",themeKey:\"typography\"}),l=(0,r.Z)({prop:\"fontStyle\",themeKey:\"typography\"}),s=(0,r.Z)({prop:\"fontWeight\",themeKey:\"typography\"}),u=(0,r.Z)({prop:\"letterSpacing\"}),c=(0,r.Z)({prop:\"lineHeight\"}),f=(0,r.Z)({prop:\"textAlign\"}),d=(0,a.Z)(i,o,l,s,u,c,f);t.ZP=d},35953:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return o}});var r=n(87462),a=n(71002);function i(e){return e&&\"object\"===(0,a.Z)(e)&&e.constructor===Object}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=n.clone?(0,r.Z)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){\"__proto__\"!==r&&(i(t[r])&&r in e?a[r]=o(e[r],t[r],n):a[r]=t[r])})),a}},60288:function(e,t,n){\"use strict\";function r(e){for(var t=\"https://material-ui.com/production-error/?code=\"+e,n=1;n<arguments.length;n+=1)t+=\"&args[]=\"+encodeURIComponent(arguments[n]);return\"Minified Material-UI error #\"+e+\"; visit \"+t+\" for the full message.\"}n.d(t,{Z:function(){return r}})},75218:function(e,t,n){\"use strict\";function r(e,t){return function(){return null}}n.r(t),n.d(t,{HTMLElementType:function(){return b},chainPropTypes:function(){return r},deepmerge:function(){return a.Z},elementAcceptingRef:function(){return s},elementTypeAcceptingRef:function(){return u},exactProp:function(){return c},formatMuiErrorMessage:function(){return f.Z},getDisplayName:function(){return v},ponyfillGlobal:function(){return x},refType:function(){return w}});var a=n(35953),i=n(45697),o=n.n(i);var l=(o().element,function(){return null});l.isRequired=(o().element.isRequired,function(){return null});var s=l;var u=(i.elementType,function(){return null});n(4942),n(87462);function c(e){return e}var f=n(60288),d=n(71002),p=n(59864),h=/^\\s*function(?:\\s|\\s*\\/\\*.*\\*\\/\\s*)+([^(\\s/]*)\\s*/;function m(e){var t=\"\".concat(e).match(h);return t&&t[1]||\"\"}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return e.displayName||e.name||m(e)||t}function y(e,t,n){var r=g(t);return e.displayName||(\"\"!==r?\"\".concat(n,\"(\").concat(r,\")\"):n)}function v(e){if(null!=e){if(\"string\"==typeof e)return e;if(\"function\"==typeof e)return g(e,\"Component\");if(\"object\"===(0,d.Z)(e))switch(e.$$typeof){case p.ForwardRef:return y(e,e.render,\"ForwardRef\");case p.Memo:return y(e,e.type,\"memo\");default:return}}}function b(e,t,n,r,a){return null}var x=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")(),w=o().oneOfType([o().func,o().object])},94184:function(e,t){var n;!function(){\"use strict\";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if(\"string\"===i||\"number\"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var o=a.apply(null,n);o&&e.push(o)}}else if(\"object\"===i)if(n.toString===Object.prototype.toString)for(var l in n)r.call(n,l)&&n[l]&&e.push(l);else e.push(n.toString())}}return e.join(\" \")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},86010:function(e,t,n){\"use strict\";function r(e){var t,n,a=\"\";if(\"string\"==typeof e||\"number\"==typeof e)a+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=\" \"),a+=n);else for(t in e)e[t]&&(a&&(a+=\" \"),a+=t);return a}function a(){for(var e,t,n=0,a=\"\";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=\" \"),a+=t);return a}n.d(t,{Z:function(){return a}})},97621:function(e,t){\"use strict\";function n(e,t){switch(e){case\"P\":return t.date({width:\"short\"});case\"PP\":return t.date({width:\"medium\"});case\"PPP\":return t.date({width:\"long\"});default:return t.date({width:\"full\"})}}function r(e,t){switch(e){case\"p\":return t.time({width:\"short\"});case\"pp\":return t.time({width:\"medium\"});case\"ppp\":return t.time({width:\"long\"});default:return t.time({width:\"full\"})}}var a={p:r,P:function(e,t){var a,i=e.match(/(P+)(p+)?/)||[],o=i[1],l=i[2];if(!l)return n(e,t);switch(o){case\"P\":a=t.dateTime({width:\"short\"});break;case\"PP\":a=t.dateTime({width:\"medium\"});break;case\"PPP\":a=t.dateTime({width:\"long\"});break;default:a=t.dateTime({width:\"full\"})}return a.replace(\"{{date}}\",n(o,t)).replace(\"{{time}}\",r(l,t))}};t.Z=a},24262:function(e,t,n){\"use strict\";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{Z:function(){return r}})},7032:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return o}});var r=n(19013),a=n(13882),i=n(66979);function o(e){(0,a.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(n+1,0,4),o.setUTCHours(0,0,0,0);var l=(0,i.Z)(o),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var u=(0,i.Z)(s);return t.getTime()>=l.getTime()?n+1:t.getTime()>=u.getTime()?n:n-1}},49702:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return u}});var r=n(19013),a=n(66979),i=n(7032),o=n(13882);function l(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=(0,a.Z)(n);return r}var s=6048e5;function u(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e),n=(0,a.Z)(t).getTime()-l(t).getTime();return Math.round(n/s)+1}},7651:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return l}});var r=n(19013),a=n(13882),i=n(59025),o=n(83946);function l(e,t){(0,a.Z)(1,arguments);var n=(0,r.Z)(e),l=n.getUTCFullYear(),s=t||{},u=s.locale,c=u&&u.options&&u.options.firstWeekContainsDate,f=null==c?1:(0,o.Z)(c),d=null==s.firstWeekContainsDate?f:(0,o.Z)(s.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError(\"firstWeekContainsDate must be between 1 and 7 inclusively\");var p=new Date(0);p.setUTCFullYear(l+1,0,d),p.setUTCHours(0,0,0,0);var h=(0,i.Z)(p,t),m=new Date(0);m.setUTCFullYear(l,0,d),m.setUTCHours(0,0,0,0);var g=(0,i.Z)(m,t);return n.getTime()>=h.getTime()?l+1:n.getTime()>=g.getTime()?l:l-1}},23324:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return c}});var r=n(19013),a=n(59025),i=n(7651),o=n(13882),l=n(83946);function s(e,t){(0,o.Z)(1,arguments);var n=t||{},r=n.locale,s=r&&r.options&&r.options.firstWeekContainsDate,u=null==s?1:(0,l.Z)(s),c=null==n.firstWeekContainsDate?u:(0,l.Z)(n.firstWeekContainsDate),f=(0,i.Z)(e,t),d=new Date(0);d.setUTCFullYear(f,0,c),d.setUTCHours(0,0,0,0);var p=(0,a.Z)(d,t);return p}var u=6048e5;function c(e,t){(0,o.Z)(1,arguments);var n=(0,r.Z)(e),i=(0,a.Z)(n,t).getTime()-s(n,t).getTime();return Math.round(i/u)+1}},5267:function(e,t,n){\"use strict\";n.d(t,{Iu:function(){return i},Do:function(){return o},qp:function(){return l}});var r=[\"D\",\"DD\"],a=[\"YY\",\"YYYY\"];function i(e){return-1!==r.indexOf(e)}function o(e){return-1!==a.indexOf(e)}function l(e,t,n){if(\"YYYY\"===e)throw new RangeError(\"Use `yyyy` instead of `YYYY` (in `\".concat(t,\"`) for formatting years to the input `\").concat(n,\"`; see: https://git.io/fxCyr\"));if(\"YY\"===e)throw new RangeError(\"Use `yy` instead of `YY` (in `\".concat(t,\"`) for formatting years to the input `\").concat(n,\"`; see: https://git.io/fxCyr\"));if(\"D\"===e)throw new RangeError(\"Use `d` instead of `D` (in `\".concat(t,\"`) for formatting days of the month to the input `\").concat(n,\"`; see: https://git.io/fxCyr\"));if(\"DD\"===e)throw new RangeError(\"Use `dd` instead of `DD` (in `\".concat(t,\"`) for formatting days of the month to the input `\").concat(n,\"`; see: https://git.io/fxCyr\"))}},13882:function(e,t,n){\"use strict\";function r(e,t){if(t.length<e)throw new TypeError(e+\" argument\"+(e>1?\"s\":\"\")+\" required, but only \"+t.length+\" present\")}n.d(t,{Z:function(){return r}})},66979:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return i}});var r=n(19013),a=n(13882);function i(e){(0,a.Z)(1,arguments);var t=1,n=(0,r.Z)(e),i=n.getUTCDay(),o=(i<t?7:0)+i-t;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}},59025:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return o}});var r=n(19013),a=n(13882),i=n(83946);function o(e,t){(0,a.Z)(1,arguments);var n=t||{},o=n.locale,l=o&&o.options&&o.options.weekStartsOn,s=null==l?0:(0,i.Z)(l),u=null==n.weekStartsOn?s:(0,i.Z)(n.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError(\"weekStartsOn must be between 0 and 6 inclusively\");var c=(0,r.Z)(e),f=c.getUTCDay(),d=(f<u?7:0)+f-u;return c.setUTCDate(c.getUTCDate()-d),c.setUTCHours(0,0,0,0),c}},83946:function(e,t,n){\"use strict\";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:function(){return r}})},49546:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return I}});var r=n(49599),a=n(4958),i=n(29558),o=n(19013),l=n(13882),s=864e5;var u=n(49702),c=n(7032),f=n(23324),d=n(7651);function p(e,t){for(var n=e<0?\"-\":\"\",r=Math.abs(e).toString();r.length<t;)r=\"0\"+r;return n+r}var h={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return p(\"yy\"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return\"M\"===t?String(n+1):p(n+1,2)},d:function(e,t){return p(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?\"pm\":\"am\";switch(t){case\"a\":case\"aa\":return n.toUpperCase();case\"aaa\":return n;case\"aaaaa\":return n[0];default:return\"am\"===n?\"a.m.\":\"p.m.\"}},h:function(e,t){return p(e.getUTCHours()%12||12,t.length)},H:function(e,t){return p(e.getUTCHours(),t.length)},m:function(e,t){return p(e.getUTCMinutes(),t.length)},s:function(e,t){return p(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return p(Math.floor(r*Math.pow(10,n-3)),t.length)}},m=\"midnight\",g=\"noon\",y=\"morning\",v=\"afternoon\",b=\"evening\",x=\"night\",w={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case\"G\":case\"GG\":case\"GGG\":return n.era(r,{width:\"abbreviated\"});case\"GGGGG\":return n.era(r,{width:\"narrow\"});default:return n.era(r,{width:\"wide\"})}},y:function(e,t,n){if(\"yo\"===t){var r=e.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:\"year\"})}return h.y(e,t)},Y:function(e,t,n,r){var a=(0,d.Z)(e,r),i=a>0?a:1-a;return\"YY\"===t?p(i%100,2):\"Yo\"===t?n.ordinalNumber(i,{unit:\"year\"}):p(i,t.length)},R:function(e,t){return p((0,c.Z)(e),t.length)},u:function(e,t){return p(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case\"Q\":return String(r);case\"QQ\":return p(r,2);case\"Qo\":return n.ordinalNumber(r,{unit:\"quarter\"});case\"QQQ\":return n.quarter(r,{width:\"abbreviated\",context:\"formatting\"});case\"QQQQQ\":return n.quarter(r,{width:\"narrow\",context:\"formatting\"});default:return n.quarter(r,{width:\"wide\",context:\"formatting\"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case\"q\":return String(r);case\"qq\":return p(r,2);case\"qo\":return n.ordinalNumber(r,{unit:\"quarter\"});case\"qqq\":return n.quarter(r,{width:\"abbreviated\",context:\"standalone\"});case\"qqqqq\":return n.quarter(r,{width:\"narrow\",context:\"standalone\"});default:return n.quarter(r,{width:\"wide\",context:\"standalone\"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case\"M\":case\"MM\":return h.M(e,t);case\"Mo\":return n.ordinalNumber(r+1,{unit:\"month\"});case\"MMM\":return n.month(r,{width:\"abbreviated\",context:\"formatting\"});case\"MMMMM\":return n.month(r,{width:\"narrow\",context:\"formatting\"});default:return n.month(r,{width:\"wide\",context:\"formatting\"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case\"L\":return String(r+1);case\"LL\":return p(r+1,2);case\"Lo\":return n.ordinalNumber(r+1,{unit:\"month\"});case\"LLL\":return n.month(r,{width:\"abbreviated\",context:\"standalone\"});case\"LLLLL\":return n.month(r,{width:\"narrow\",context:\"standalone\"});default:return n.month(r,{width:\"wide\",context:\"standalone\"})}},w:function(e,t,n,r){var a=(0,f.Z)(e,r);return\"wo\"===t?n.ordinalNumber(a,{unit:\"week\"}):p(a,t.length)},I:function(e,t,n){var r=(0,u.Z)(e);return\"Io\"===t?n.ordinalNumber(r,{unit:\"week\"}):p(r,t.length)},d:function(e,t,n){return\"do\"===t?n.ordinalNumber(e.getUTCDate(),{unit:\"date\"}):h.d(e,t)},D:function(e,t,n){var r=function(e){(0,l.Z)(1,arguments);var t=(0,o.Z)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),a=n-r;return Math.floor(a/s)+1}(e);return\"Do\"===t?n.ordinalNumber(r,{unit:\"dayOfYear\"}):p(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case\"E\":case\"EE\":case\"EEE\":return n.day(r,{width:\"abbreviated\",context:\"formatting\"});case\"EEEEE\":return n.day(r,{width:\"narrow\",context:\"formatting\"});case\"EEEEEE\":return n.day(r,{width:\"short\",context:\"formatting\"});default:return n.day(r,{width:\"wide\",context:\"formatting\"})}},e:function(e,t,n,r){var a=e.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case\"e\":return String(i);case\"ee\":return p(i,2);case\"eo\":return n.ordinalNumber(i,{unit:\"day\"});case\"eee\":return n.day(a,{width:\"abbreviated\",context:\"formatting\"});case\"eeeee\":return n.day(a,{width:\"narrow\",context:\"formatting\"});case\"eeeeee\":return n.day(a,{width:\"short\",context:\"formatting\"});default:return n.day(a,{width:\"wide\",context:\"formatting\"})}},c:function(e,t,n,r){var a=e.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case\"c\":return String(i);case\"cc\":return p(i,t.length);case\"co\":return n.ordinalNumber(i,{unit:\"day\"});case\"ccc\":return n.day(a,{width:\"abbreviated\",context:\"standalone\"});case\"ccccc\":return n.day(a,{width:\"narrow\",context:\"standalone\"});case\"cccccc\":return n.day(a,{width:\"short\",context:\"standalone\"});default:return n.day(a,{width:\"wide\",context:\"standalone\"})}},i:function(e,t,n){var r=e.getUTCDay(),a=0===r?7:r;switch(t){case\"i\":return String(a);case\"ii\":return p(a,t.length);case\"io\":return n.ordinalNumber(a,{unit:\"day\"});case\"iii\":return n.day(r,{width:\"abbreviated\",context:\"formatting\"});case\"iiiii\":return n.day(r,{width:\"narrow\",context:\"formatting\"});case\"iiiiii\":return n.day(r,{width:\"short\",context:\"formatting\"});default:return n.day(r,{width:\"wide\",context:\"formatting\"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?\"pm\":\"am\";switch(t){case\"a\":case\"aa\":return n.dayPeriod(r,{width:\"abbreviated\",context:\"formatting\"});case\"aaa\":return n.dayPeriod(r,{width:\"abbreviated\",context:\"formatting\"}).toLowerCase();case\"aaaaa\":return n.dayPeriod(r,{width:\"narrow\",context:\"formatting\"});default:return n.dayPeriod(r,{width:\"wide\",context:\"formatting\"})}},b:function(e,t,n){var r,a=e.getUTCHours();switch(r=12===a?g:0===a?m:a/12>=1?\"pm\":\"am\",t){case\"b\":case\"bb\":return n.dayPeriod(r,{width:\"abbreviated\",context:\"formatting\"});case\"bbb\":return n.dayPeriod(r,{width:\"abbreviated\",context:\"formatting\"}).toLowerCase();case\"bbbbb\":return n.dayPeriod(r,{width:\"narrow\",context:\"formatting\"});default:return n.dayPeriod(r,{width:\"wide\",context:\"formatting\"})}},B:function(e,t,n){var r,a=e.getUTCHours();switch(r=a>=17?b:a>=12?v:a>=4?y:x,t){case\"B\":case\"BB\":case\"BBB\":return n.dayPeriod(r,{width:\"abbreviated\",context:\"formatting\"});case\"BBBBB\":return n.dayPeriod(r,{width:\"narrow\",context:\"formatting\"});default:return n.dayPeriod(r,{width:\"wide\",context:\"formatting\"})}},h:function(e,t,n){if(\"ho\"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:\"hour\"})}return h.h(e,t)},H:function(e,t,n){return\"Ho\"===t?n.ordinalNumber(e.getUTCHours(),{unit:\"hour\"}):h.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return\"Ko\"===t?n.ordinalNumber(r,{unit:\"hour\"}):p(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),\"ko\"===t?n.ordinalNumber(r,{unit:\"hour\"}):p(r,t.length)},m:function(e,t,n){return\"mo\"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:\"minute\"}):h.m(e,t)},s:function(e,t,n){return\"so\"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:\"second\"}):h.s(e,t)},S:function(e,t){return h.S(e,t)},X:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();if(0===a)return\"Z\";switch(t){case\"X\":return k(a);case\"XXXX\":case\"XX\":return T(a);default:return T(a,\":\")}},x:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case\"x\":return k(a);case\"xxxx\":case\"xx\":return T(a);default:return T(a,\":\")}},O:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case\"O\":case\"OO\":case\"OOO\":return\"GMT\"+_(a,\":\");default:return\"GMT\"+T(a,\":\")}},z:function(e,t,n,r){var a=(r._originalDate||e).getTimezoneOffset();switch(t){case\"z\":case\"zz\":case\"zzz\":return\"GMT\"+_(a,\":\");default:return\"GMT\"+T(a,\":\")}},t:function(e,t,n,r){var a=r._originalDate||e;return p(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,n,r){return p((r._originalDate||e).getTime(),t.length)}};function _(e,t){var n=e>0?\"-\":\"+\",r=Math.abs(e),a=Math.floor(r/60),i=r%60;if(0===i)return n+String(a);var o=t||\"\";return n+String(a)+o+p(i,2)}function k(e,t){return e%60==0?(e>0?\"-\":\"+\")+p(Math.abs(e)/60,2):T(e,t)}function T(e,t){var n=t||\"\",r=e>0?\"-\":\"+\",a=Math.abs(e);return r+p(Math.floor(a/60),2)+n+p(a%60,2)}var M=w,S=n(97621),E=n(24262),C=n(5267),O=n(83946),A=/[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g,D=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,P=/^'([^]*?)'?$/,R=/''/g,L=/[a-zA-Z]/;function I(e,t,n){(0,l.Z)(2,arguments);var s=String(t),u=n||{},c=u.locale||a.Z,f=c.options&&c.options.firstWeekContainsDate,d=null==f?1:(0,O.Z)(f),p=null==u.firstWeekContainsDate?d:(0,O.Z)(u.firstWeekContainsDate);if(!(p>=1&&p<=7))throw new RangeError(\"firstWeekContainsDate must be between 1 and 7 inclusively\");var h=c.options&&c.options.weekStartsOn,m=null==h?0:(0,O.Z)(h),g=null==u.weekStartsOn?m:(0,O.Z)(u.weekStartsOn);if(!(g>=0&&g<=6))throw new RangeError(\"weekStartsOn must be between 0 and 6 inclusively\");if(!c.localize)throw new RangeError(\"locale must contain localize property\");if(!c.formatLong)throw new RangeError(\"locale must contain formatLong property\");var y=(0,o.Z)(e);if(!(0,r.Z)(y))throw new RangeError(\"Invalid time value\");var v=(0,E.Z)(y),b=(0,i.Z)(y,v),x={firstWeekContainsDate:p,weekStartsOn:g,locale:c,_originalDate:y},w=s.match(D).map((function(e){var t=e[0];return\"p\"===t||\"P\"===t?(0,S.Z[t])(e,c.formatLong,x):e})).join(\"\").match(A).map((function(n){if(\"''\"===n)return\"'\";var r=n[0];if(\"'\"===r)return j(n);var a=M[r];if(a)return!u.useAdditionalWeekYearTokens&&(0,C.Do)(n)&&(0,C.qp)(n,t,e),!u.useAdditionalDayOfYearTokens&&(0,C.Iu)(n)&&(0,C.qp)(n,t,e),a(b,n,c.localize,x);if(r.match(L))throw new RangeError(\"Format string contains an unescaped latin alphabet character `\"+r+\"`\");return n})).join(\"\");return w}function j(e){return e.match(P)[1].replace(R,\"'\")}},49599:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return o}});var r=n(13882);function a(e){return(0,r.Z)(1,arguments),e instanceof Date||\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)}var i=n(19013);function o(e){if((0,r.Z)(1,arguments),!a(e)&&\"number\"!=typeof e)return!1;var t=(0,i.Z)(e);return!isNaN(Number(t))}},4958:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return g}});var r={lessThanXSeconds:{one:\"less than a second\",other:\"less than {{count}} seconds\"},xSeconds:{one:\"1 second\",other:\"{{count}} seconds\"},halfAMinute:\"half a minute\",lessThanXMinutes:{one:\"less than a minute\",other:\"less than {{count}} minutes\"},xMinutes:{one:\"1 minute\",other:\"{{count}} minutes\"},aboutXHours:{one:\"about 1 hour\",other:\"about {{count}} hours\"},xHours:{one:\"1 hour\",other:\"{{count}} hours\"},xDays:{one:\"1 day\",other:\"{{count}} days\"},aboutXWeeks:{one:\"about 1 week\",other:\"about {{count}} weeks\"},xWeeks:{one:\"1 week\",other:\"{{count}} weeks\"},aboutXMonths:{one:\"about 1 month\",other:\"about {{count}} months\"},xMonths:{one:\"1 month\",other:\"{{count}} months\"},aboutXYears:{one:\"about 1 year\",other:\"about {{count}} years\"},xYears:{one:\"1 year\",other:\"{{count}} years\"},overXYears:{one:\"over 1 year\",other:\"over {{count}} years\"},almostXYears:{one:\"almost 1 year\",other:\"almost {{count}} years\"}},a=function(e,t,n){var a,i=r[e];return a=\"string\"==typeof i?i:1===t?i.one:i.other.replace(\"{{count}}\",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?\"in \"+a:a+\" ago\":a};function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var o={date:i({formats:{full:\"EEEE, MMMM do, y\",long:\"MMMM do, y\",medium:\"MMM d, y\",short:\"MM/dd/yyyy\"},defaultWidth:\"full\"}),time:i({formats:{full:\"h:mm:ss a zzzz\",long:\"h:mm:ss a z\",medium:\"h:mm:ss a\",short:\"h:mm a\"},defaultWidth:\"full\"}),dateTime:i({formats:{full:\"{{date}} 'at' {{time}}\",long:\"{{date}} 'at' {{time}}\",medium:\"{{date}}, {{time}}\",short:\"{{date}}, {{time}}\"},defaultWidth:\"full\"})},l={lastWeek:\"'last' eeee 'at' p\",yesterday:\"'yesterday at' p\",today:\"'today at' p\",tomorrow:\"'tomorrow at' p\",nextWeek:\"eeee 'at' p\",other:\"P\"},s=function(e,t,n,r){return l[e]};function u(e){return function(t,n){var r,a=n||{};if(\"formatting\"===(a.context?String(a.context):\"standalone\")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=a.width?String(a.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{var l=e.defaultWidth,s=a.width?String(a.width):e.defaultWidth;r=e.values[s]||e.values[l]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var c={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+\"st\";case 2:return n+\"nd\";case 3:return n+\"rd\"}return n+\"th\"},era:u({values:{narrow:[\"B\",\"A\"],abbreviated:[\"BC\",\"AD\"],wide:[\"Before Christ\",\"Anno Domini\"]},defaultWidth:\"wide\"}),quarter:u({values:{narrow:[\"1\",\"2\",\"3\",\"4\"],abbreviated:[\"Q1\",\"Q2\",\"Q3\",\"Q4\"],wide:[\"1st quarter\",\"2nd quarter\",\"3rd quarter\",\"4th quarter\"]},defaultWidth:\"wide\",argumentCallback:function(e){return e-1}}),month:u({values:{narrow:[\"J\",\"F\",\"M\",\"A\",\"M\",\"J\",\"J\",\"A\",\"S\",\"O\",\"N\",\"D\"],abbreviated:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],wide:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]},defaultWidth:\"wide\"}),day:u({values:{narrow:[\"S\",\"M\",\"T\",\"W\",\"T\",\"F\",\"S\"],short:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],abbreviated:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],wide:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]},defaultWidth:\"wide\"}),dayPeriod:u({values:{narrow:{am:\"a\",pm:\"p\",midnight:\"mi\",noon:\"n\",morning:\"morning\",afternoon:\"afternoon\",evening:\"evening\",night:\"night\"},abbreviated:{am:\"AM\",pm:\"PM\",midnight:\"midnight\",noon:\"noon\",morning:\"morning\",afternoon:\"afternoon\",evening:\"evening\",night:\"night\"},wide:{am:\"a.m.\",pm:\"p.m.\",midnight:\"midnight\",noon:\"noon\",morning:\"morning\",afternoon:\"afternoon\",evening:\"evening\",night:\"night\"}},defaultWidth:\"wide\",formattingValues:{narrow:{am:\"a\",pm:\"p\",midnight:\"mi\",noon:\"n\",morning:\"in the morning\",afternoon:\"in the afternoon\",evening:\"in the evening\",night:\"at night\"},abbreviated:{am:\"AM\",pm:\"PM\",midnight:\"midnight\",noon:\"noon\",morning:\"in the morning\",afternoon:\"in the afternoon\",evening:\"in the evening\",night:\"at night\"},wide:{am:\"a.m.\",pm:\"p.m.\",midnight:\"midnight\",noon:\"noon\",morning:\"in the morning\",afternoon:\"in the afternoon\",evening:\"in the evening\",night:\"at night\"}},defaultFormattingWidth:\"wide\"})};function f(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;var o,l=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?p(s,(function(e){return e.test(l)})):d(s,(function(e){return e.test(l)}));o=e.valueCallback?e.valueCallback(u):u,o=n.valueCallback?n.valueCallback(o):o;var c=t.slice(l.length);return{value:o,rest:c}}}function d(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function p(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var h,m={ordinalNumber:(h={matchPattern:/^(\\d+)(th|st|nd|rd)?/i,parsePattern:/\\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(h.matchPattern);if(!n)return null;var r=n[0],a=e.match(h.parsePattern);if(!a)return null;var i=h.valueCallback?h.valueCallback(a[0]):a[0];i=t.valueCallback?t.valueCallback(i):i;var o=e.slice(r.length);return{value:i,rest:o}}),era:f({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:\"wide\",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:\"any\"}),quarter:f({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:\"wide\",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:\"any\",valueCallback:function(e){return e+1}}),month:f({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:\"wide\",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:\"any\"}),day:f({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:\"wide\",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:\"any\"}),dayPeriod:f({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:\"any\",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:\"any\"})},g={code:\"en-US\",formatDistance:a,formatLong:o,formatRelative:s,localize:c,match:m,options:{weekStartsOn:0,firstWeekContainsDate:1}}},12902:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return o}});Math.pow(10,8);var r=36e5,a=n(13882),i=n(83946);function o(e,t){(0,a.Z)(1,arguments);var n=t||{},r=null==n.additionalDigits?2:(0,i.Z)(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError(\"additionalDigits must be 0, 1 or 2\");if(\"string\"!=typeof e&&\"[object String]\"!==Object.prototype.toString.call(e))return new Date(NaN);var o,l=f(e);if(l.date){var s=d(l.date,r);o=p(s.restDateString,s.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var u,c=o.getTime(),h=0;if(l.time&&(h=m(l.time),isNaN(h)))return new Date(NaN);if(!l.timezone){var g=new Date(c+h),v=new Date(0);return v.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),v.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),v}return u=y(l.timezone),isNaN(u)?new Date(NaN):new Date(c+h+u)}var l={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},s=/^-?(?:(\\d{3})|(\\d{2})(?:-?(\\d{2}))?|W(\\d{2})(?:-?(\\d{1}))?|)$/,u=/^(\\d{2}(?:[.,]\\d*)?)(?::?(\\d{2}(?:[.,]\\d*)?))?(?::?(\\d{2}(?:[.,]\\d*)?))?$/,c=/^([+-])(\\d{2})(?::?(\\d{2}))?$/;function f(e){var t,n={},r=e.split(l.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],l.timeZoneDelimiter.test(n.date)&&(n.date=e.split(l.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var a=l.timezone.exec(t);a?(n.time=t.replace(a[1],\"\"),n.timezone=a[1]):n.time=t}return n}function d(e,t){var n=new RegExp(\"^(?:(\\\\d{4}|[+-]\\\\d{\"+(4+t)+\"})|(\\\\d{2}|[+-]\\\\d{\"+(2+t)+\"})$)\"),r=e.match(n);if(!r)return{year:NaN,restDateString:\"\"};var a=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?a:100*i,restDateString:e.slice((r[1]||r[2]).length)}}function p(e,t){if(null===t)return new Date(NaN);var n=e.match(s);if(!n)return new Date(NaN);var r=!!n[4],a=h(n[1]),i=h(n[2])-1,o=h(n[3]),l=h(n[4]),u=h(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,l,u)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var a=r.getUTCDay()||7,i=7*(t-1)+n+1-a;return r.setUTCDate(r.getUTCDate()+i),r}(t,l,u):new Date(NaN);var c=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(v[t]||(b(e)?29:28))}(t,i,o)&&function(e,t){return t>=1&&t<=(b(e)?366:365)}(t,a)?(c.setUTCFullYear(t,i,Math.max(a,o)),c):new Date(NaN)}function h(e){return e?parseInt(e):1}function m(e){var t=e.match(u);if(!t)return NaN;var n=g(t[1]),a=g(t[2]),i=g(t[3]);return function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,a,i)?n*r+6e4*a+1e3*i:NaN}function g(e){return e&&parseFloat(e.replace(\",\",\".\"))||0}function y(e){if(\"Z\"===e)return 0;var t=e.match(c);if(!t)return 0;var n=\"+\"===t[1]?-1:1,a=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,i)?n*(a*r+6e4*i):NaN}var v=[31,null,31,30,31,30,31,31,30,31,30,31];function b(e){return e%400==0||e%4==0&&e%100!=0}},29558:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return l}});var r=n(83946),a=n(19013),i=n(13882);function o(e,t){(0,i.Z)(2,arguments);var n=(0,a.Z)(e).getTime(),o=(0,r.Z)(t);return new Date(n+o)}function l(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return o(e,-n)}},19013:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(13882);function a(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||\"object\"==typeof e&&\"[object Date]\"===t?new Date(e.getTime()):\"number\"==typeof e||\"[object Number]\"===t?new Date(e):(\"string\"!=typeof e&&\"[object String]\"!==t||\"undefined\"==typeof console||(console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule\"),console.warn((new Error).stack)),new Date(NaN))}},20296:function(e){function t(e,t,n){var r,a,i,o,l;function s(){var u=Date.now()-o;u<t&&u>=0?r=setTimeout(s,t-u):(r=null,n||(l=e.apply(i,a),i=a=null))}null==t&&(t=100);var u=function(){i=this,a=arguments,o=Date.now();var u=n&&!r;return r||(r=setTimeout(s,t)),u&&(l=e.apply(i,a),i=a=null),l};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(l=e.apply(i,a),i=a=null,clearTimeout(r),r=null)},u}t.debounce=t,e.exports=t},94470:function(e){\"use strict\";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=function(e){return\"function\"==typeof Array.isArray?Array.isArray(e):\"[object Array]\"===n.call(e)},o=function(e){if(!e||\"[object Object]\"!==n.call(e))return!1;var r,a=t.call(e,\"constructor\"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,\"isPrototypeOf\");if(e.constructor&&!a&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&\"__proto__\"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if(\"__proto__\"===n){if(!t.call(e,n))return;if(a)return a(e,n).value}return e[n]};e.exports=function e(){var t,n,r,a,u,c,f=arguments[0],d=1,p=arguments.length,h=!1;for(\"boolean\"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||\"object\"!=typeof f&&\"function\"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=s(f,n),f!==(a=s(t,n))&&(h&&a&&(o(a)||(u=i(a)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&o(r)?r:{},l(f,{name:n,newValue:e(h,c,a)})):void 0!==a&&l(f,{name:n,newValue:a}));return f}},38252:function(e){\"use strict\";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&\"object\"==typeof t&&\"object\"==typeof n){if(t.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(a=r;0!=a--;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;0!=a--;){var o=i[a];if((\"_owner\"!==o||!t.$$typeof)&&!e(t[o],n[o]))return!1}return!0}return t!=t&&n!=n}},19303:function(e){\"use strict\";var t=Object.prototype.hasOwnProperty;function n(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,r){if(n(e,r))return!0;if(\"object\"!=typeof e||null===e||\"object\"!=typeof r||null===r)return!1;var a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;for(var o=0;o<a.length;o++)if(!t.call(r,a[o])||!n(e[a[o]],r[a[o]]))return!1;return!0}},8679:function(e,t,n){\"use strict\";var r=n(21296),a={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},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?o:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=o;var u=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 a=p(n);a&&a!==h&&e(t,a,r)}var o=c(n);f&&(o=o.concat(f(n)));for(var l=s(t),m=s(n),g=0;g<o.length;++g){var y=o[g];if(!(i[y]||r&&r[y]||m&&m[y]||l&&l[y])){var v=d(n,y);try{u(t,y,v)}catch(e){}}}}return t}},96103:function(e,t){\"use strict\";var n=\"function\"==typeof Symbol&&Symbol.for,r=n?Symbol.for(\"react.element\"):60103,a=n?Symbol.for(\"react.portal\"):60106,i=n?Symbol.for(\"react.fragment\"):60107,o=n?Symbol.for(\"react.strict_mode\"):60108,l=n?Symbol.for(\"react.profiler\"):60114,s=n?Symbol.for(\"react.provider\"):60109,u=n?Symbol.for(\"react.context\"):60110,c=n?Symbol.for(\"react.async_mode\"):60111,f=n?Symbol.for(\"react.concurrent_mode\"):60111,d=n?Symbol.for(\"react.forward_ref\"):60112,p=n?Symbol.for(\"react.suspense\"):60113,h=n?Symbol.for(\"react.suspense_list\"):60120,m=n?Symbol.for(\"react.memo\"):60115,g=n?Symbol.for(\"react.lazy\"):60116,y=n?Symbol.for(\"react.block\"):60121,v=n?Symbol.for(\"react.fundamental\"):60117,b=n?Symbol.for(\"react.responder\"):60118,x=n?Symbol.for(\"react.scope\"):60119;function w(e){if(\"object\"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case i:case l:case o:case p:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case m:case s:return e;default:return t}}case a:return t}}}function _(e){return w(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=l,t.StrictMode=o,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||w(e)===c},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return\"object\"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return\"string\"==typeof e||\"function\"==typeof e||e===i||e===f||e===l||e===o||e===p||e===h||\"object\"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},21296:function(e,t,n){\"use strict\";e.exports=n(96103)},18139:function(e){var t=/\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g,n=/\\n/g,r=/^\\s*/,a=/^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/,i=/^:\\s*/,o=/^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/,l=/^[;\\s]*/,s=/^\\s+|\\s+$/g,u=\"\";function c(e){return e?e.replace(s,u):u}e.exports=function(e,s){if(\"string\"!=typeof e)throw new TypeError(\"First argument must be a string\");if(!e)return[];s=s||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf(\"\\n\");d=~r?e.length-r:d+e.length}function h(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=s.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(s.source+\":\"+f+\":\"+d+\": \"+t);if(n.reason=t,n.filename=s.source,n.line=f,n.column=d,n.source=e,!s.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){v(r)}function x(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=h();if(\"/\"==e.charAt(0)&&\"*\"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&(\"*\"!=e.charAt(n)||\"/\"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return y(\"End of comment missing\");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:\"comment\",comment:r})}}function _(){var e=h(),n=v(a);if(n){if(w(),!v(i))return y(\"property missing ':'\");var r=v(o),s=e({type:\"declaration\",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return v(l),s}}return b(),function(){var e,t=[];for(x(t);e=_();)!1!==e&&(t.push(e),x(t));return t}()}},33827:function(e,t,n){\"use strict\";var 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},a=\"object\"===(\"undefined\"==typeof window?\"undefined\":r(window))&&\"object\"===(\"undefined\"==typeof document?\"undefined\":r(document))&&9===document.nodeType;t.Z=a},54013:function(e,t,n){\"use strict\";n.d(t,{RB:function(){return Y},xE:function(){return X},Ue:function(){return ye},JH:function(){return f},_$:function(){return me},HZ:function(){return ge},EK:function(){return p}});var r=n(87462),a=n(33827),i=n(43144),o=n(51721),l=n(97326),s=n(63366),u={}.constructor;function c(e){if(null==e||\"object\"!=typeof e)return e;if(Array.isArray(e))return e.map(c);if(e.constructor!==u)return e;var t={};for(var n in e)t[n]=c(e[n]);return t}function f(e,t,n){void 0===e&&(e=\"unnamed\");var r=n.jss,a=c(t),i=r.plugins.onCreateRule(e,a,n);return i||(e[0],null)}var d=function(e,t){for(var n=\"\",r=0;r<e.length&&\"!important\"!==e[r];r++)n&&(n+=t),n+=e[r];return n},p=function(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+=d(e[r],\" \");else n=d(e,\", \");return t||\"!important\"!==e[e.length-1]||(n+=\" !important\"),n};function h(e,t){for(var n=\"\",r=0;r<t;r++)n+=\" \";return n+e}function m(e,t,n){void 0===n&&(n={});var r=\"\";if(!t)return r;var a=n.indent,i=void 0===a?0:a,o=t.fallbacks;if(e&&i++,o)if(Array.isArray(o))for(var l=0;l<o.length;l++){var s=o[l];for(var u in s){var c=s[u];null!=c&&(r&&(r+=\"\\n\"),r+=h(u+\": \"+p(c)+\";\",i))}}else for(var f in o){var d=o[f];null!=d&&(r&&(r+=\"\\n\"),r+=h(f+\": \"+p(d)+\";\",i))}for(var m in t){var g=t[m];null!=g&&\"fallbacks\"!==m&&(r&&(r+=\"\\n\"),r+=h(m+\": \"+p(g)+\";\",i))}return(r||n.allowEmpty)&&e?(r&&(r=\"\\n\"+r+\"\\n\"),h(e+\" {\"+r,--i)+h(\"}\",i)):r}var g=/([[\\].#*$><+~=|^:(),\"'`\\s])/g,y=\"undefined\"!=typeof CSS&&CSS.escape,v=function(e){return y?y(e):e.replace(g,\"\\\\$1\")},b=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,a=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:a&&(this.renderer=new a)}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 a=t;n&&!1===n.process||(a=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==a||!1===a,o=e in this.style;if(i&&!o&&!r)return this;var l=i&&o;if(l?delete this.style[e]:this.style[e]=a,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,a),this;var s=this.options.sheet;return s&&s.attached,this},e}(),x=function(e){function t(t,n,r){var a;(a=e.call(this,t,n,r)||this).selectorText=void 0,a.id=void 0,a.renderable=void 0;var i=r.selector,o=r.scoped,s=r.sheet,u=r.generateId;return i?a.selectorText=i:!1!==o&&(a.id=u((0,l.Z)((0,l.Z)(a)),s),a.selectorText=\".\"+v(a.id)),a}(0,o.Z)(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]=p(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return m(this.selectorText,this.style,n)},(0,i.Z)(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}(b),w={onCreateRule:function(e,t,n){return\"@\"===e[0]||n.parent&&\"keyframes\"===n.parent.type?null:new x(e,t,n)}},_={indent:1,children:!0},k=/@([\\w-]+)/,T=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;var a=e.match(k);for(var i in this.at=a?a[1]:\"unknown\",this.query=n.name||\"@\"+this.at,this.options=n,this.rules=new Y((0,r.Z)({},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.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=_),null==e.indent&&(e.indent=_.indent),null==e.children&&(e.children=_.children),!1===e.children)return this.query+\" {}\";var t=this.rules.toString(e);return t?this.query+\" {\\n\"+t+\"\\n}\":\"\"},e}(),M=/@media|@supports\\s+/,S={onCreateRule:function(e,t,n){return M.test(e)?new T(e,t,n):null}},E={indent:1,children:!0},C=/@keyframes\\s+([\\w-]+)/,O=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 a=e.match(C);a&&a[1]?this.name=a[1]:this.name=\"noname\",this.key=this.type+\"-\"+this.name,this.options=n;var i=n.scoped,o=n.sheet,l=n.generateId;for(var s in this.id=!1===i?this.name:v(l(this,o)),this.rules=new Y((0,r.Z)({},n,{parent:this})),t)this.rules.add(s,t[s],(0,r.Z)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=E),null==e.indent&&(e.indent=E.indent),null==e.children&&(e.children=E.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}(),A=/@keyframes\\s+/,D=/\\$([\\w-]+)/g,P=function(e,t){return\"string\"==typeof e?e.replace(D,(function(e,n){return n in t?t[n]:e})):e},R=function(e,t,n){var r=e[t],a=P(r,n);a!==r&&(e[t]=a)},L={onCreateRule:function(e,t,n){return\"string\"==typeof e&&A.test(e)?new O(e,t,n):null},onProcessStyle:function(e,t,n){return\"style\"===t.type&&n?(\"animation-name\"in e&&R(e,\"animation-name\",n.keyframes),\"animation\"in e&&R(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 P(e,r.keyframes);default:return e}}},I=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return(0,o.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,r.Z)({},e,{allowEmpty:!0}):e;return m(this.key,this.style,n)},t}(b),j={onCreateRule:function(e,t,n){return n.parent&&\"keyframes\"===n.parent.type?new I(e,t,n):null}},N=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+=m(this.at,this.style[n]),this.style[n+1]&&(t+=\"\\n\");return t}return m(this.at,this.style,e)},e}(),z=/@font-face/,F={onCreateRule:function(e,t,n){return z.test(e)?new N(e,t,n):null}},Z=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 m(this.key,this.style,e)},e}(),B={onCreateRule:function(e,t,n){return\"@viewport\"===e||\"@-ms-viewport\"===e?new Z(e,t,n):null}},q=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}(),H={\"@charset\":!0,\"@import\":!0,\"@namespace\":!0},U=[w,S,L,j,F,B,{onCreateRule:function(e,t,n){return e in H?new q(e,t,n):null}}],W={process:!0},V={force:!0,process:!0},Y=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 a=this.options,i=a.parent,o=a.sheet,l=a.jss,s=a.Renderer,u=a.generateId,c=a.scoped,d=(0,r.Z)({classes:this.classes,parent:i,sheet:o,jss:l,Renderer:s,generateId:u,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),p=e;e in this.raw&&(p=e+\"-d\"+this.counter++),this.raw[p]=t,p in this.classes&&(d.selector=\".\"+v(this.classes[p]));var h=f(p,t,d);if(!h)return null;this.register(h);var m=void 0===d.index?this.index.length:d.index;return this.index.splice(m,0,h),h},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 x?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof O&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof x?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof O&&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=W);var a=this.options,i=a.jss.plugins,o=a.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var l=t,s=l.style;if(i.onUpdate(n,t,o,r),r.process&&s&&s!==l.style){for(var u in i.onProcessStyle(l.style,l,o),l.style){var c=l.style[u];c!==s[u]&&l.prop(u,c,V)}for(var f in s){var d=l.style[f],p=s[f];null==d&&d!==p&&l.prop(f,null,V)}}}},t.toString=function(e){for(var t=\"\",n=this.options.sheet,r=!!n&&n.options.link,a=0;a<this.index.length;a++){var i=this.index[a].toString(e);(i||r)&&(t&&(t+=\"\\n\"),t+=i)}return t},e}(),G=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=(0,r.Z)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Y(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 a=this.rules.add(e,t,n);return a?(this.options.jss.plugins.onProcessRule(a),this.attached?this.deployed?(r?r.push(a):(this.insertRule(a),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),a):a:(this.deployed=!1,a)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var a=this.addRule(r,e[r],t);a&&n.push(a)}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.attached&&!t.renderable)&&(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}(),$=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 a=this.registry.onCreateRule[r](e,t,n);if(a)return a}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 a=0;a<this.registry.onUpdate.length;a++)this.registry.onUpdate[a](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,a=0;a<this.registry.onChangeValue.length;a++)r=this.registry.onChangeValue[a](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}(),X=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=(0,s.Z)(t,[\"attached\"]),a=\"\",i=0;i<this.registry.length;i++){var o=this.registry[i];null!=n&&o.attached!==n||(a&&(a+=\"\\n\"),a+=o.toString(r))}return a},(0,i.Z)(e,[{key:\"index\",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),K=new X,J=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window&&window.Math===Math?window:\"undefined\"!=typeof self&&self.Math===Math?self:Function(\"return this\")(),Q=\"2f1acc6c3a606b082e5eef5e54414ffb\";null==J[Q]&&(J[Q]=0);var ee=J[Q]++,te=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var a=\"\",i=\"\";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(a=String(r.options.jss.id))),e.minify?\"\"+(i||\"c\")+ee+a+t:i+n.key+\"-\"+ee+(a?\"-\"+a:\"\")+\"-\"+t}},ne=function(e){var t;return function(){return t||(t=e()),t}},re=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return\"\"}},ae=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=p(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(e){return!1}return!0},ie=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},oe=function(e,t){return e.selectorText=t,e.selectorText===t},le=ne((function(){return document.querySelector(\"head\")}));function se(e){var t=K.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&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&\"string\"==typeof r){var a=function(e){for(var t=le(),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(a)return{parent:a.parentNode,node:a.nextSibling}}return!1}var ue=ne((function(){var e=document.querySelector('meta[property=\"csp-nonce\"]');return e?e.getAttribute(\"content\"):null})),ce=function(e,t,n){try{if(\"insertRule\"in e)e.insertRule(t,n);else if(\"appendRule\"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},fe=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},de=function(){function e(e){this.getPropertyValue=re,this.setProperty=ae,this.removeProperty=ie,this.setSelector=oe,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&K.add(e),this.sheet=e;var t,n=this.sheet?this.sheet.options:{},r=n.media,a=n.meta,i=n.element;this.element=i||((t=document.createElement(\"style\")).textContent=\"\\n\",t),this.element.setAttribute(\"data-jss\",\"\"),r&&this.element.setAttribute(\"media\",r),a&&this.element.setAttribute(\"data-meta\",a);var o=ue();o&&this.element.setAttribute(\"nonce\",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=se(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&\"number\"==typeof n.nodeType){var a=n,i=a.parentNode;i&&i.insertBefore(e,a.nextSibling)}else le().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(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=\"\\n\")}},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,a=n;if(\"conditional\"===e.type||\"keyframes\"===e.type){var i=fe(n,t);if(!1===(a=ce(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,a)}return this.insertRules(r.rules,a),a}var o=e.toString();if(!o)return!1;var l=fe(n,t),s=ce(n,o,l);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,l,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof G&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),pe=0,he=function(){function e(e){this.id=pe++,this.version=\"10.7.1\",this.plugins=new $,this.options={id:{minify:!1},createGenerateId:te,Renderer:a.Z?de:null,plugins:[]},this.generateId=te({minify:!1});for(var t=0;t<U.length;t++)this.plugins.use(U[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=(0,r.Z)({},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===K.index?0:K.index+1);var a=new G(e,(0,r.Z)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(a),a},t.removeStyleSheet=function(e){return e.detach(),K.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 a=(0,r.Z)({},n,{name:e,jss:this,Renderer:this.options.Renderer});a.generateId||(a.generateId=this.generateId),a.classes||(a.classes={}),a.keyframes||(a.keyframes={});var i=f(e,t,a);return i&&this.plugins.onProcessRule(i),i},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}();function me(e){var t=null;for(var n in e){var r=e[n],a=typeof r;if(\"function\"===a)t||(t={}),t[n]=r;else if(\"object\"===a&&null!==r&&!Array.isArray(r)){var i=me(r);i&&(t||(t={}),t[n]=i)}}return t}var ge=\"object\"==typeof CSS&&null!=CSS&&\"number\"in CSS,ye=function(e){return new he(e)};ye()},29208:function(e,t,n){var r=\"__lodash_hash_undefined__\",a=\"[object Function]\",i=\"[object GeneratorFunction]\",o=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,l=/^\\w*$/,s=/^\\./,u=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,c=/\\\\(\\\\)?/g,f=/^\\[object .+?Constructor\\]$/,d=\"object\"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p=\"object\"==typeof self&&self&&self.Object===Object&&self,h=d||p||Function(\"return this\")();var m,g=Array.prototype,y=Function.prototype,v=Object.prototype,b=h[\"__core-js_shared__\"],x=(m=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+m:\"\",w=y.toString,_=v.hasOwnProperty,k=v.toString,T=RegExp(\"^\"+w.call(_).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),M=h.Symbol,S=g.splice,E=z(h,\"Map\"),C=z(Object,\"create\"),O=M?M.prototype:void 0,A=O?O.toString:void 0;function D(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function P(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function R(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function L(e,t){for(var n,r,a=e.length;a--;)if((n=e[a][0])===(r=t)||n!=n&&r!=r)return a;return-1}function I(e,t){var n;t=function(e,t){if(q(e))return!1;var n=typeof e;if(\"number\"==n||\"symbol\"==n||\"boolean\"==n||null==e||U(e))return!0;return l.test(e)||!o.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:q(n=t)?n:F(n);for(var r=0,a=t.length;null!=e&&r<a;)e=e[Z(t[r++])];return r&&r==a?e:void 0}function j(e){if(!H(e)||(t=e,x&&x in t))return!1;var t,n=function(e){var t=H(e)?k.call(e):\"\";return t==a||t==i}(e)||function(e){var t=!1;if(null!=e&&\"function\"!=typeof e.toString)try{t=!!(e+\"\")}catch(e){}return t}(e)?T:f;return n.test(function(e){if(null!=e){try{return w.call(e)}catch(e){}try{return e+\"\"}catch(e){}}return\"\"}(e))}function N(e,t){var n,r,a=e.__data__;return(\"string\"==(r=typeof(n=t))||\"number\"==r||\"symbol\"==r||\"boolean\"==r?\"__proto__\"!==n:null===n)?a[\"string\"==typeof t?\"string\":\"hash\"]:a.map}function z(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return j(n)?n:void 0}D.prototype.clear=function(){this.__data__=C?C(null):{}},D.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},D.prototype.get=function(e){var t=this.__data__;if(C){var n=t[e];return n===r?void 0:n}return _.call(t,e)?t[e]:void 0},D.prototype.has=function(e){var t=this.__data__;return C?void 0!==t[e]:_.call(t,e)},D.prototype.set=function(e,t){return this.__data__[e]=C&&void 0===t?r:t,this},P.prototype.clear=function(){this.__data__=[]},P.prototype.delete=function(e){var t=this.__data__,n=L(t,e);return!(n<0)&&(n==t.length-1?t.pop():S.call(t,n,1),!0)},P.prototype.get=function(e){var t=this.__data__,n=L(t,e);return n<0?void 0:t[n][1]},P.prototype.has=function(e){return L(this.__data__,e)>-1},P.prototype.set=function(e,t){var n=this.__data__,r=L(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},R.prototype.clear=function(){this.__data__={hash:new D,map:new(E||P),string:new D}},R.prototype.delete=function(e){return N(this,e).delete(e)},R.prototype.get=function(e){return N(this,e).get(e)},R.prototype.has=function(e){return N(this,e).has(e)},R.prototype.set=function(e,t){return N(this,e).set(e,t),this};var F=B((function(e){var t;e=null==(t=e)?\"\":function(e){if(\"string\"==typeof e)return e;if(U(e))return A?A.call(e):\"\";var t=e+\"\";return\"0\"==t&&1/e==-1/0?\"-0\":t}(t);var n=[];return s.test(e)&&n.push(\"\"),e.replace(u,(function(e,t,r,a){n.push(r?a.replace(c,\"$1\"):t||e)})),n}));function Z(e){if(\"string\"==typeof e||U(e))return e;var t=e+\"\";return\"0\"==t&&1/e==-1/0?\"-0\":t}function B(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new TypeError(\"Expected a function\");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o),o};return n.cache=new(B.Cache||R),n}B.Cache=R;var q=Array.isArray;function H(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function U(e){return\"symbol\"==typeof e||function(e){return!!e&&\"object\"==typeof e}(e)&&\"[object Symbol]\"==k.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:I(e,t);return void 0===r?n:r}},8146:function(e){var t,n,r=Function.prototype,a=Object.prototype,i=r.toString,o=a.hasOwnProperty,l=i.call(Object),s=a.toString,u=(t=Object.getPrototypeOf,n=Object,function(e){return t(n(e))});e.exports=function(e){if(!function(e){return!!e&&\"object\"==typeof e}(e)||\"[object Object]\"!=s.call(e)||function(e){var t=!1;if(null!=e&&\"function\"!=typeof e.toString)try{t=!!(e+\"\")}catch(e){}return t}(e))return!1;var t=u(e);if(null===t)return!0;var n=o.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&i.call(n)==l}},18552:function(e,t,n){var r=n(10852)(n(55639),\"DataView\");e.exports=r},1989:function(e,t,n){var r=n(51789),a=n(80401),i=n(57667),o=n(21327),l=n(81866);function s(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])}}s.prototype.clear=r,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=o,s.prototype.set=l,e.exports=s},96425:function(e,t,n){var r=n(3118),a=n(9435);function i(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}i.prototype=r(a.prototype),i.prototype.constructor=i,e.exports=i},38407:function(e,t,n){var r=n(27040),a=n(14125),i=n(82117),o=n(67518),l=n(54705);function s(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])}}s.prototype.clear=r,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=o,s.prototype.set=l,e.exports=s},7548:function(e,t,n){var r=n(3118),a=n(9435);function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}i.prototype=r(a.prototype),i.prototype.constructor=i,e.exports=i},57071:function(e,t,n){var r=n(10852)(n(55639),\"Map\");e.exports=r},83369:function(e,t,n){var r=n(24785),a=n(11285),i=n(96e3),o=n(49916),l=n(95265);function s(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])}}s.prototype.clear=r,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=o,s.prototype.set=l,e.exports=s},53818:function(e,t,n){var r=n(10852)(n(55639),\"Promise\");e.exports=r},58525:function(e,t,n){var r=n(10852)(n(55639),\"Set\");e.exports=r},88668:function(e,t,n){var r=n(83369),a=n(90619),i=n(72385);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=a,o.prototype.has=i,e.exports=o},46384:function(e,t,n){var r=n(38407),a=n(37465),i=n(63779),o=n(67599),l=n(44758),s=n(34309);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=a,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=l,u.prototype.set=s,e.exports=u},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},11149:function(e,t,n){var r=n(55639).Uint8Array;e.exports=r},70577:function(e,t,n){var r=n(10852)(n(55639),\"WeakMap\");e.exports=r},96874:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},77412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},34963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}},47443:function(e,t,n){var r=n(42118);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},1196:function(e){e.exports=function(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}},14636:function(e,t,n){var r=n(22545),a=n(35694),i=n(1469),o=n(44144),l=n(65776),s=n(36719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&a(e),f=!n&&!c&&o(e),d=!n&&!c&&!f&&s(e),p=n||c||f||d,h=p?r(e.length,String):[],m=h.length;for(var g in e)!t&&!u.call(e,g)||p&&(\"length\"==g||f&&(\"offset\"==g||\"parent\"==g)||d&&(\"buffer\"==g||\"byteLength\"==g||\"byteOffset\"==g)||l(g,m))||h.push(g);return h}},29932:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},62488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},82908:function(e){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}},86556:function(e,t,n){var r=n(89465),a=n(77813);e.exports=function(e,t,n){(void 0!==n&&!a(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},34865:function(e,t,n){var r=n(89465),a=n(77813),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];i.call(e,t)&&a(o,n)&&(void 0!==n||t in e)||r(e,t,n)}},18470:function(e,t,n){var r=n(77813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},44037:function(e,t,n){var r=n(98363),a=n(3674);e.exports=function(e,t){return e&&r(t,a(t),e)}},63886:function(e,t,n){var r=n(98363),a=n(81704);e.exports=function(e,t){return e&&r(t,a(t),e)}},89465:function(e,t,n){var r=n(38777);e.exports=function(e,t,n){\"__proto__\"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},85990:function(e,t,n){var r=n(46384),a=n(77412),i=n(34865),o=n(44037),l=n(63886),s=n(64626),u=n(278),c=n(18805),f=n(1911),d=n(58234),p=n(46904),h=n(64160),m=n(43824),g=n(29148),y=n(38517),v=n(1469),b=n(44144),x=n(56688),w=n(13218),_=n(72928),k=n(3674),T=n(81704),M=\"[object Arguments]\",S=\"[object Function]\",E=\"[object Object]\",C={};C[M]=C[\"[object Array]\"]=C[\"[object ArrayBuffer]\"]=C[\"[object DataView]\"]=C[\"[object Boolean]\"]=C[\"[object Date]\"]=C[\"[object Float32Array]\"]=C[\"[object Float64Array]\"]=C[\"[object Int8Array]\"]=C[\"[object Int16Array]\"]=C[\"[object Int32Array]\"]=C[\"[object Map]\"]=C[\"[object Number]\"]=C[E]=C[\"[object RegExp]\"]=C[\"[object Set]\"]=C[\"[object String]\"]=C[\"[object Symbol]\"]=C[\"[object Uint8Array]\"]=C[\"[object Uint8ClampedArray]\"]=C[\"[object Uint16Array]\"]=C[\"[object Uint32Array]\"]=!0,C[\"[object Error]\"]=C[S]=C[\"[object WeakMap]\"]=!1,e.exports=function e(t,n,O,A,D,P){var R,L=1&n,I=2&n,j=4&n;if(O&&(R=D?O(t,A,D,P):O(t)),void 0!==R)return R;if(!w(t))return t;var N=v(t);if(N){if(R=m(t),!L)return u(t,R)}else{var z=h(t),F=z==S||\"[object GeneratorFunction]\"==z;if(b(t))return s(t,L);if(z==E||z==M||F&&!D){if(R=I||F?{}:y(t),!L)return I?f(t,l(R,t)):c(t,o(R,t))}else{if(!C[z])return D?t:{};R=g(t,z,L)}}P||(P=new r);var Z=P.get(t);if(Z)return Z;P.set(t,R),_(t)?t.forEach((function(r){R.add(e(r,n,O,r,t,P))})):x(t)&&t.forEach((function(r,a){R.set(a,e(r,n,O,a,t,P))}));var B=N?void 0:(j?I?p:d:I?T:k)(t);return a(B||t,(function(r,a){B&&(r=t[a=r]),i(R,a,e(r,n,O,a,t,P))})),R}},3118:function(e,t,n){var r=n(13218),a=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(a)return a(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},20731:function(e,t,n){var r=n(88668),a=n(47443),i=n(1196),o=n(29932),l=n(7518),s=n(74757);e.exports=function(e,t,n,u){var c=-1,f=a,d=!0,p=e.length,h=[],m=t.length;if(!p)return h;n&&(t=o(t,l(n))),u?(f=i,d=!1):t.length>=200&&(f=s,d=!1,t=new r(t));e:for(;++c<p;){var g=e[c],y=null==n?g:n(g);if(g=u||0!==g?g:0,d&&y==y){for(var v=m;v--;)if(t[v]===y)continue e;h.push(g)}else f(t,y,u)||h.push(g)}return h}},89881:function(e,t,n){var r=n(47816),a=n(99291)(r);e.exports=a},56029:function(e,t,n){var r=n(33448);e.exports=function(e,t,n){for(var a=-1,i=e.length;++a<i;){var o=e[a],l=t(o);if(null!=l&&(void 0===s?l==l&&!r(l):n(l,s)))var s=l,u=o}return u}},80760:function(e,t,n){var r=n(89881);e.exports=function(e,t){var n=[];return r(e,(function(e,r,a){t(e,r,a)&&n.push(e)})),n}},41848:function(e){e.exports=function(e,t,n,r){for(var a=e.length,i=n+(r?1:-1);r?i--:++i<a;)if(t(e[i],i,e))return i;return-1}},21078:function(e,t,n){var r=n(62488),a=n(37285);e.exports=function e(t,n,i,o,l){var s=-1,u=t.length;for(i||(i=a),l||(l=[]);++s<u;){var c=t[s];n>0&&i(c)?n>1?e(c,n-1,i,o,l):r(l,c):o||(l[l.length]=c)}return l}},28483:function(e,t,n){var r=n(25063)();e.exports=r},47816:function(e,t,n){var r=n(28483),a=n(3674);e.exports=function(e,t){return e&&r(e,t,a)}},97786:function(e,t,n){var r=n(71811),a=n(40327);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[a(t[n++])];return n&&n==i?e:void 0}},68866:function(e,t,n){var r=n(62488),a=n(1469);e.exports=function(e,t,n){var i=t(e);return a(e)?i:r(i,n(e))}},44239:function(e,t,n){var r=n(62705),a=n(89607),i=n(2333),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)?a(e):i(e)}},53325:function(e){e.exports=function(e,t){return e>t}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},42118:function(e,t,n){var r=n(41848),a=n(62722),i=n(42351);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,a,n)}},9454:function(e,t,n){var r=n(44239),a=n(37005);e.exports=function(e){return a(e)&&\"[object Arguments]\"==r(e)}},41761:function(e,t,n){var r=n(44239),a=n(37005);e.exports=function(e){return a(e)&&\"[object Date]\"==r(e)}},90939:function(e,t,n){var r=n(2492),a=n(37005);e.exports=function e(t,n,i,o,l){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,i,o,e,l))}},2492:function(e,t,n){var r=n(46384),a=n(67114),i=n(18351),o=n(16096),l=n(64160),s=n(1469),u=n(44144),c=n(36719),f=\"[object Arguments]\",d=\"[object Array]\",p=\"[object Object]\",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,y){var v=s(e),b=s(t),x=v?d:l(e),w=b?d:l(t),_=(x=x==f?p:x)==p,k=(w=w==f?p:w)==p,T=x==w;if(T&&u(e)){if(!u(t))return!1;v=!0,_=!1}if(T&&!_)return y||(y=new r),v||c(e)?a(e,t,n,m,g,y):i(e,t,x,n,m,g,y);if(!(1&n)){var M=_&&h.call(e,\"__wrapped__\"),S=k&&h.call(t,\"__wrapped__\");if(M||S){var E=M?e.value():e,C=S?t.value():t;return y||(y=new r),g(E,C,n,m,y)}}return!!T&&(y||(y=new r),o(e,t,n,m,g,y))}},25588:function(e,t,n){var r=n(64160),a=n(37005);e.exports=function(e){return a(e)&&\"[object Map]\"==r(e)}},2958:function(e,t,n){var r=n(46384),a=n(90939);e.exports=function(e,t,n,i){var o=n.length,l=o,s=!i;if(null==e)return!l;for(e=Object(e);o--;){var u=n[o];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<l;){var c=(u=n[o])[0],f=e[c],d=u[1];if(s&&u[2]){if(void 0===f&&!(c in e))return!1}else{var p=new r;if(i)var h=i(f,d,c,e,t,p);if(!(void 0===h?a(d,f,3,i,p):h))return!1}}return!0}},62722:function(e){e.exports=function(e){return e!=e}},28458:function(e,t,n){var r=n(23560),a=n(15346),i=n(13218),o=n(80346),l=/^\\[object .+?Constructor\\]$/,s=Function.prototype,u=Object.prototype,c=s.toString,f=u.hasOwnProperty,d=RegExp(\"^\"+c.call(f).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");e.exports=function(e){return!(!i(e)||a(e))&&(r(e)?d:l).test(o(e))}},29221:function(e,t,n){var r=n(64160),a=n(37005);e.exports=function(e){return a(e)&&\"[object Set]\"==r(e)}},38749:function(e,t,n){var r=n(44239),a=n(41780),i=n(37005),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 i(e)&&a(e.length)&&!!o[r(e)]}},67206:function(e,t,n){var r=n(91573),a=n(16432),i=n(6557),o=n(1469),l=n(39601);e.exports=function(e){return\"function\"==typeof e?e:null==e?i:\"object\"==typeof e?o(e)?a(e[0],e[1]):r(e):l(e)}},280:function(e,t,n){var r=n(25726),a=n(86916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))i.call(e,n)&&\"constructor\"!=n&&t.push(n);return t}},10313:function(e,t,n){var r=n(13218),a=n(25726),i=n(33498),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=a(e),n=[];for(var l in e)(\"constructor\"!=l||!t&&o.call(e,l))&&n.push(l);return n}},9435:function(e){e.exports=function(){}},70433:function(e){e.exports=function(e,t){return e<t}},69199:function(e,t,n){var r=n(89881),a=n(98612);e.exports=function(e,t){var n=-1,i=a(e)?Array(e.length):[];return r(e,(function(e,r,a){i[++n]=t(e,r,a)})),i}},91573:function(e,t,n){var r=n(2958),a=n(1499),i=n(42634);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:function(e,t,n){var r=n(90939),a=n(27361),i=n(79095),o=n(15403),l=n(89162),s=n(42634),u=n(40327);e.exports=function(e,t){return o(e)&&l(t)?s(u(e),t):function(n){var o=a(n,e);return void 0===o&&o===t?i(n,e):r(t,o,3)}}},42980:function(e,t,n){var r=n(46384),a=n(86556),i=n(28483),o=n(59783),l=n(13218),s=n(81704),u=n(36390);e.exports=function e(t,n,c,f,d){t!==n&&i(n,(function(i,s){if(d||(d=new r),l(i))o(t,n,s,c,e,f,d);else{var p=f?f(u(t,s),i,s+\"\",t,n,d):void 0;void 0===p&&(p=i),a(t,s,p)}}),s)}},59783:function(e,t,n){var r=n(86556),a=n(64626),i=n(77133),o=n(278),l=n(38517),s=n(35694),u=n(1469),c=n(29246),f=n(44144),d=n(23560),p=n(13218),h=n(68630),m=n(36719),g=n(36390),y=n(59881);e.exports=function(e,t,n,v,b,x,w){var _=g(e,n),k=g(t,n),T=w.get(k);if(T)r(e,n,T);else{var M=x?x(_,k,n+\"\",e,t,w):void 0,S=void 0===M;if(S){var E=u(k),C=!E&&f(k),O=!E&&!C&&m(k);M=k,E||C||O?u(_)?M=_:c(_)?M=o(_):C?(S=!1,M=a(k,!0)):O?(S=!1,M=i(k,!0)):M=[]:h(k)||s(k)?(M=_,s(_)?M=y(_):p(_)&&!d(_)||(M=l(k))):S=!1}S&&(w.set(k,M),b(M,k,v,x,w),w.delete(k)),r(e,n,M)}}},82689:function(e,t,n){var r=n(29932),a=n(97786),i=n(67206),o=n(69199),l=n(71131),s=n(7518),u=n(85022),c=n(6557),f=n(1469);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return f(e)?function(t){return a(t,1===e.length?e[0]:e)}:e})):[c];var d=-1;t=r(t,s(i));var p=o(e,(function(e,n,a){return{criteria:r(t,(function(t){return t(e)})),index:++d,value:e}}));return l(p,(function(e,t){return u(e,t,n)}))}},25970:function(e,t,n){var r=n(63012),a=n(79095);e.exports=function(e,t){return r(e,t,(function(t,n){return a(e,n)}))}},63012:function(e,t,n){var r=n(97786),a=n(10611),i=n(71811);e.exports=function(e,t,n){for(var o=-1,l=t.length,s={};++o<l;){var u=t[o],c=r(e,u);n(c,u)&&a(s,i(u,e),c)}return s}},40371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:function(e,t,n){var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},40098:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,a,i){for(var o=-1,l=n(t((r-e)/(a||1)),0),s=Array(l);l--;)s[i?l:++o]=e,e+=a;return s}},5976:function(e,t,n){var r=n(6557),a=n(45357),i=n(30061);e.exports=function(e,t){return i(a(e,t,r),e+\"\")}},10611:function(e,t,n){var r=n(34865),a=n(71811),i=n(65776),o=n(13218),l=n(40327);e.exports=function(e,t,n,s){if(!o(e))return e;for(var u=-1,c=(t=a(t,e)).length,f=c-1,d=e;null!=d&&++u<c;){var p=l(t[u]),h=n;if(\"__proto__\"===p||\"constructor\"===p||\"prototype\"===p)return e;if(u!=f){var m=d[p];void 0===(h=s?s(m,p,d):void 0)&&(h=o(m)?m:i(t[u+1])?[]:{})}r(d,p,h),d=d[p]}return e}},28045:function(e,t,n){var r=n(6557),a=n(89250),i=a?function(e,t){return a.set(e,t),e}:r;e.exports=i},56560:function(e,t,n){var r=n(75703),a=n(38777),i=n(6557),o=a?function(e,t){return a(e,\"toString\",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=o},14259:function(e){e.exports=function(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(a);++r<a;)i[r]=e[r+t];return i}},71131:function(e){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},22545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},80531:function(e,t,n){var r=n(62705),a=n(29932),i=n(1469),o=n(33448),l=r?r.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if(\"string\"==typeof t)return t;if(i(t))return a(t,e)+\"\";if(o(t))return s?s.call(t):\"\";var n=t+\"\";return\"0\"==n&&1/t==-Infinity?\"-0\":n}},27561:function(e,t,n){var r=n(67990),a=/^\\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,\"\"):e}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},45652:function(e,t,n){var r=n(88668),a=n(47443),i=n(1196),o=n(74757),l=n(23593),s=n(21814);e.exports=function(e,t,n){var u=-1,c=a,f=e.length,d=!0,p=[],h=p;if(n)d=!1,c=i;else if(f>=200){var m=t?null:l(e);if(m)return s(m);d=!1,c=o,h=new r}else h=t?[]:p;e:for(;++u<f;){var g=e[u],y=t?t(g):g;if(g=n||0!==g?g:0,d&&y==y){for(var v=h.length;v--;)if(h[v]===y)continue e;t&&h.push(y),p.push(g)}else c(h,y,n)||(h!==p&&h.push(y),p.push(g))}return p}},57406:function(e,t,n){var r=n(71811),a=n(10928),i=n(40292),o=n(40327);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[o(a(t))]}},74757:function(e){e.exports=function(e,t){return e.has(t)}},71811:function(e,t,n){var r=n(1469),a=n(15403),i=n(55514),o=n(79833);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:i(o(e))}},74318:function(e,t,n){var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:function(e,t,n){e=n.nmd(e);var r=n(55639),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,o=i&&i.exports===a?r.Buffer:void 0,l=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}},57157:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},93147:function(e){var t=/\\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},40419:function(e,t,n){var r=n(62705),a=r?r.prototype:void 0,i=a?a.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},77133:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},26393:function(e,t,n){var r=n(33448);e.exports=function(e,t){if(e!==t){var n=void 0!==e,a=null===e,i=e==e,o=r(e),l=void 0!==t,s=null===t,u=t==t,c=r(t);if(!s&&!c&&!o&&e>t||o&&l&&u&&!s&&!c||a&&l&&u||!n&&u||!i)return 1;if(!a&&!o&&!c&&e<t||c&&n&&i&&!a&&!o||s&&n&&i||!l&&i||!u)return-1}return 0}},85022:function(e,t,n){var r=n(26393);e.exports=function(e,t,n){for(var a=-1,i=e.criteria,o=t.criteria,l=i.length,s=n.length;++a<l;){var u=r(i[a],o[a]);if(u)return a>=s?u:u*(\"desc\"==n[a]?-1:1)}return e.index-t.index}},52157:function(e){var t=Math.max;e.exports=function(e,n,r,a){for(var i=-1,o=e.length,l=r.length,s=-1,u=n.length,c=t(o-l,0),f=Array(u+c),d=!a;++s<u;)f[s]=n[s];for(;++i<l;)(d||i<o)&&(f[r[i]]=e[i]);for(;c--;)f[s++]=e[i++];return f}},14054:function(e){var t=Math.max;e.exports=function(e,n,r,a){for(var i=-1,o=e.length,l=-1,s=r.length,u=-1,c=n.length,f=t(o-s,0),d=Array(f+c),p=!a;++i<f;)d[i]=e[i];for(var h=i;++u<c;)d[h+u]=n[u];for(;++l<s;)(p||i<o)&&(d[h+r[l]]=e[i++]);return d}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},98363:function(e,t,n){var r=n(34865),a=n(89465);e.exports=function(e,t,n,i){var o=!n;n||(n={});for(var l=-1,s=t.length;++l<s;){var u=t[l],c=i?i(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),o?a(n,u,c):r(n,u,c)}return n}},18805:function(e,t,n){var r=n(98363),a=n(99551);e.exports=function(e,t){return r(e,a(e),t)}},1911:function(e,t,n){var r=n(98363),a=n(51442);e.exports=function(e,t){return r(e,a(e),t)}},14429:function(e,t,n){var r=n(55639)[\"__core-js_shared__\"];e.exports=r},97991:function(e){e.exports=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}},21463:function(e,t,n){var r=n(5976),a=n(16612);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,l=i>2?n[2]:void 0;for(o=e.length>3&&\"function\"==typeof o?(i--,o):void 0,l&&a(n[0],n[1],l)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t}))}},99291:function(e,t,n){var r=n(98612);e.exports=function(e,t){return function(n,a){if(null==n)return n;if(!r(n))return e(n,a);for(var i=n.length,o=t?i:-1,l=Object(n);(t?o--:++o<i)&&!1!==a(l[o],o,l););return n}}},25063:function(e){e.exports=function(e){return function(t,n,r){for(var a=-1,i=Object(t),o=r(t),l=o.length;l--;){var s=o[e?l:++a];if(!1===n(i[s],s,i))break}return t}}},22402:function(e,t,n){var r=n(71774),a=n(55639);e.exports=function(e,t,n){var i=1&t,o=r(e);return function t(){var r=this&&this!==a&&this instanceof t?o:e;return r.apply(i?n:this,arguments)}}},71774:function(e,t,n){var r=n(3118),a=n(13218);e.exports=function(e){return function(){var t=arguments;switch(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]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=r(e.prototype),i=e.apply(n,t);return a(i)?i:n}}},46347:function(e,t,n){var r=n(96874),a=n(71774),i=n(86935),o=n(94487),l=n(20893),s=n(46460),u=n(55639);e.exports=function(e,t,n){var c=a(e);return function a(){for(var f=arguments.length,d=Array(f),p=f,h=l(a);p--;)d[p]=arguments[p];var m=f<3&&d[0]!==h&&d[f-1]!==h?[]:s(d,h);if((f-=m.length)<n)return o(e,t,i,a.placeholder,void 0,d,m,void 0,void 0,n-f);var g=this&&this!==u&&this instanceof a?c:e;return r(g,this,d)}}},86935:function(e,t,n){var r=n(52157),a=n(14054),i=n(97991),o=n(71774),l=n(94487),s=n(20893),u=n(90451),c=n(46460),f=n(55639);e.exports=function e(t,n,d,p,h,m,g,y,v,b){var x=128&n,w=1&n,_=2&n,k=24&n,T=512&n,M=_?void 0:o(t);return function S(){for(var E=arguments.length,C=Array(E),O=E;O--;)C[O]=arguments[O];if(k)var A=s(S),D=i(C,A);if(p&&(C=r(C,p,h,k)),m&&(C=a(C,m,g,k)),E-=D,k&&E<b){var P=c(C,A);return l(t,n,e,S.placeholder,d,C,P,y,v,b-E)}var R=w?d:this,L=_?R[t]:t;return E=C.length,y?C=u(C,y):T&&E>1&&C.reverse(),x&&v<E&&(C.length=v),this&&this!==f&&this instanceof S&&(L=M||o(L)),L.apply(R,C)}}},84375:function(e,t,n){var r=n(96874),a=n(71774),i=n(55639);e.exports=function(e,t,n,o){var l=1&t,s=a(e);return function t(){for(var a=-1,u=arguments.length,c=-1,f=o.length,d=Array(f+u),p=this&&this!==i&&this instanceof t?s:e;++c<f;)d[c]=o[c];for(;u--;)d[c++]=arguments[++a];return r(p,l?n:this,d)}}},47445:function(e,t,n){var r=n(40098),a=n(16612),i=n(18601);e.exports=function(e){return function(t,n,o){return o&&\"number\"!=typeof o&&a(t,n,o)&&(n=o=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),o=void 0===o?t<n?1:-1:i(o),r(t,n,o,e)}}},94487:function(e,t,n){var r=n(86528),a=n(258),i=n(69255);e.exports=function(e,t,n,o,l,s,u,c,f,d){var p=8&t;t|=p?32:64,4&(t&=~(p?64:32))||(t&=-4);var h=[e,t,l,p?s:void 0,p?u:void 0,p?void 0:s,p?void 0:u,c,f,d],m=n.apply(void 0,h);return r(e)&&a(m,h),m.placeholder=o,i(m,e,t)}},23593:function(e,t,n){var r=n(58525),a=n(50308),i=n(21814),o=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:a;e.exports=o},97727:function(e,t,n){var r=n(28045),a=n(22402),i=n(46347),o=n(86935),l=n(84375),s=n(66833),u=n(63833),c=n(258),f=n(69255),d=n(40554),p=Math.max;e.exports=function(e,t,n,h,m,g,y,v){var b=2&t;if(!b&&\"function\"!=typeof e)throw new TypeError(\"Expected a function\");var x=h?h.length:0;if(x||(t&=-97,h=m=void 0),y=void 0===y?y:p(d(y),0),v=void 0===v?v:d(v),x-=m?m.length:0,64&t){var w=h,_=m;h=m=void 0}var k=b?void 0:s(e),T=[e,t,n,h,m,w,_,g,y,v];if(k&&u(T,k),e=T[0],t=T[1],n=T[2],h=T[3],m=T[4],!(v=T[9]=void 0===T[9]?b?0:e.length:p(T[9]-x,0))&&24&t&&(t&=-25),t&&1!=t)M=8==t||16==t?i(e,t,v):32!=t&&33!=t||m.length?o.apply(void 0,T):l(e,t,n,h);else var M=a(e,t,n);return f((k?r:c)(M,T),e,t)}},60696:function(e,t,n){var r=n(68630);e.exports=function(e){return r(e)?void 0:e}},38777:function(e,t,n){var r=n(10852),a=function(){try{var e=r(Object,\"defineProperty\");return e({},\"\",{}),e}catch(e){}}();e.exports=a},67114:function(e,t,n){var r=n(88668),a=n(82908),i=n(74757);e.exports=function(e,t,n,o,l,s){var u=1&n,c=e.length,f=t.length;if(c!=f&&!(u&&f>c))return!1;var d=s.get(e),p=s.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,g=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++h<c;){var y=e[h],v=t[h];if(o)var b=u?o(v,y,h,t,e,s):o(y,v,h,e,t,s);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!a(t,(function(e,t){if(!i(g,t)&&(y===e||l(y,e,n,o,s)))return g.push(t)}))){m=!1;break}}else if(y!==v&&!l(y,v,n,o,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},18351:function(e,t,n){var r=n(62705),a=n(11149),i=n(77813),o=n(67114),l=n(68776),s=n(21814),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,f,d){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 a(e),new a(t)));case\"[object Boolean]\":case\"[object Date]\":case\"[object Number]\":return i(+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 p=l;case\"[object Set]\":var h=1&r;if(p||(p=s),e.size!=t.size&&!h)return!1;var m=d.get(e);if(m)return m==t;r|=2,d.set(e,t);var g=o(p(e),p(t),r,u,f,d);return d.delete(e),g;case\"[object Symbol]\":if(c)return c.call(e)==c.call(t)}return!1}},16096:function(e,t,n){var r=n(58234),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,l){var s=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!s)return!1;for(var f=c;f--;){var d=u[f];if(!(s?d in t:a.call(t,d)))return!1}var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var m=!0;l.set(e,t),l.set(t,e);for(var g=s;++f<c;){var y=e[d=u[f]],v=t[d];if(i)var b=s?i(v,y,d,t,e,l):i(y,v,d,e,t,l);if(!(void 0===b?y===v||o(y,v,n,i,l):b)){m=!1;break}g||(g=\"constructor\"==d)}if(m&&!g){var x=e.constructor,w=t.constructor;x==w||!(\"constructor\"in e)||!(\"constructor\"in t)||\"function\"==typeof x&&x instanceof x&&\"function\"==typeof w&&w instanceof w||(m=!1)}return l.delete(e),l.delete(t),m}},99021:function(e,t,n){var r=n(85564),a=n(45357),i=n(30061);e.exports=function(e){return i(a(e,void 0,r),e+\"\")}},31957:function(e,t,n){var r=\"object\"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},58234:function(e,t,n){var r=n(68866),a=n(99551),i=n(3674);e.exports=function(e){return r(e,i,a)}},46904:function(e,t,n){var r=n(68866),a=n(51442),i=n(81704);e.exports=function(e){return r(e,i,a)}},66833:function(e,t,n){var r=n(89250),a=n(50308),i=r?function(e){return r.get(e)}:a;e.exports=i},97658:function(e,t,n){var r=n(52060),a=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+\"\",n=r[t],i=a.call(r,t)?n.length:0;i--;){var o=n[i],l=o.func;if(null==l||l==e)return o.name}return t}},20893:function(e){e.exports=function(e){return e.placeholder}},45050:function(e,t,n){var r=n(37019);e.exports=function(e,t){var n=e.__data__;return r(t)?n[\"string\"==typeof t?\"string\":\"hash\"]:n.map}},1499:function(e,t,n){var r=n(89162),a=n(3674);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var i=t[n],o=e[i];t[n]=[i,o,r(o)]}return t}},10852:function(e,t,n){var r=n(28458),a=n(47801);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},85924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},89607:function(e,t,n){var r=n(62705),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[l]=n:delete e[l]),a}},99551:function(e,t,n){var r=n(34963),a=n(70479),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,l=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:a;e.exports=l},51442:function(e,t,n){var r=n(62488),a=n(85924),i=n(99551),o=n(70479),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=a(e);return t}:o;e.exports=l},64160:function(e,t,n){var r=n(18552),a=n(57071),i=n(53818),o=n(58525),l=n(70577),s=n(44239),u=n(80346),c=\"[object Map]\",f=\"[object Promise]\",d=\"[object Set]\",p=\"[object WeakMap]\",h=\"[object DataView]\",m=u(r),g=u(a),y=u(i),v=u(o),b=u(l),x=s;(r&&x(new r(new ArrayBuffer(1)))!=h||a&&x(new a)!=c||i&&x(i.resolve())!=f||o&&x(new o)!=d||l&&x(new l)!=p)&&(x=function(e){var t=s(e),n=\"[object Object]\"==t?e.constructor:void 0,r=n?u(n):\"\";if(r)switch(r){case m:return h;case g:return c;case y:return f;case v:return d;case b:return p}return t}),e.exports=x},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},58775:function(e){var t=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,n=/,? & /;e.exports=function(e){var r=e.match(t);return r?r[1].split(n):[]}},222:function(e,t,n){var r=n(71811),a=n(35694),i=n(1469),o=n(65776),l=n(41780),s=n(40327);e.exports=function(e,t,n){for(var u=-1,c=(t=r(t,e)).length,f=!1;++u<c;){var d=s(t[u]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++u!=c?f:!!(c=null==e?0:e.length)&&l(c)&&o(d,c)&&(i(e)||a(e))}},51789:function(e,t,n){var r=n(94536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},80401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:function(e,t,n){var r=n(94536),a=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 a.call(t,e)?t[e]:void 0}},21327:function(e,t,n){var r=n(94536),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},81866:function(e,t,n){var r=n(94536);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}},43824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&\"string\"==typeof e[0]&&t.call(e,\"index\")&&(r.index=e.index,r.input=e.input),r}},29148:function(e,t,n){var r=n(74318),a=n(57157),i=n(93147),o=n(40419),l=n(77133);e.exports=function(e,t,n){var s=e.constructor;switch(t){case\"[object ArrayBuffer]\":return r(e);case\"[object Boolean]\":case\"[object Date]\":return new s(+e);case\"[object DataView]\":return a(e,n);case\"[object Float32Array]\":case\"[object Float64Array]\":case\"[object Int8Array]\":case\"[object Int16Array]\":case\"[object Int32Array]\":case\"[object Uint8Array]\":case\"[object Uint8ClampedArray]\":case\"[object Uint16Array]\":case\"[object Uint32Array]\":return l(e,n);case\"[object Map]\":return new s;case\"[object Number]\":case\"[object String]\":return new s(e);case\"[object RegExp]\":return i(e);case\"[object Set]\":return new s;case\"[object Symbol]\":return o(e)}}},38517:function(e,t,n){var r=n(3118),a=n(85924),i=n(25726);e.exports=function(e){return\"function\"!=typeof e.constructor||i(e)?{}:r(a(e))}},83112:function(e){var t=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/;e.exports=function(e,n){var r=n.length;if(!r)return e;var a=r-1;return n[a]=(r>1?\"& \":\"\")+n[a],n=n.join(r>2?\", \":\" \"),e.replace(t,\"{\\n/* [wrapped with \"+n+\"] */\\n\")}},37285:function(e,t,n){var r=n(62705),a=n(35694),i=n(1469),o=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||a(e)||!!(o&&e&&e[o])}},65776:function(e){var t=/^(?:0|[1-9]\\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&(\"number\"==r||\"symbol\"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},16612:function(e,t,n){var r=n(77813),a=n(98612),i=n(65776),o=n(13218);e.exports=function(e,t,n){if(!o(n))return!1;var l=typeof t;return!!(\"number\"==l?a(n)&&i(t,n.length):\"string\"==l&&t in n)&&r(n[t],e)}},15403:function(e,t,n){var r=n(1469),a=n(33448),i=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\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&&!a(e))||(o.test(e)||!i.test(e)||null!=t&&e in Object(t))}},37019:function(e){e.exports=function(e){var t=typeof e;return\"string\"==t||\"number\"==t||\"symbol\"==t||\"boolean\"==t?\"__proto__\"!==e:null===e}},86528:function(e,t,n){var r=n(96425),a=n(66833),i=n(97658),o=n(8111);e.exports=function(e){var t=i(e),n=o[t];if(\"function\"!=typeof n||!(t in r.prototype))return!1;if(e===n)return!0;var l=a(n);return!!l&&e===l[0]}},15346:function(e,t,n){var r,a=n(14429),i=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+r:\"\";e.exports=function(e){return!!i&&i in e}},25726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===(\"function\"==typeof n&&n.prototype||t)}},89162:function(e,t,n){var r=n(13218);e.exports=function(e){return e==e&&!r(e)}},27040:function(e){e.exports=function(){this.__data__=[],this.size=0}},14125:function(e,t,n){var r=n(18470),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},82117:function(e,t,n){var r=n(18470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},67518:function(e,t,n){var r=n(18470);e.exports=function(e){return r(this.__data__,e)>-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},24785:function(e,t,n){var r=n(1989),a=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||a),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},24523:function(e,t,n){var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},63833:function(e,t,n){var r=n(52157),a=n(14054),i=n(46460),o=\"__lodash_placeholder__\",l=128,s=Math.min;e.exports=function(e,t){var n=e[1],u=t[1],c=n|u,f=c<131,d=u==l&&8==n||u==l&&256==n&&e[7].length<=t[8]||384==u&&t[7].length<=t[8]&&8==n;if(!f&&!d)return e;1&u&&(e[2]=t[2],c|=1&n?0:4);var p=t[3];if(p){var h=e[3];e[3]=h?r(h,p,t[4]):p,e[4]=h?i(e[3],o):t[4]}return(p=t[5])&&(h=e[5],e[5]=h?a(h,p,t[6]):p,e[6]=h?i(e[5],o):t[6]),(p=t[7])&&(e[7]=p),u&l&&(e[8]=null==e[8]?t[8]:s(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}},89250:function(e,t,n){var r=n(70577),a=r&&new r;e.exports=a},94536:function(e,t,n){var r=n(10852)(Object,\"create\");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,o=i&&i.exports===a&&r.process,l=function(){try{var e=i&&i.require&&i.require(\"util\").types;return e||o&&o.binding&&o.binding(\"util\")}catch(e){}}();e.exports=l},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},45357:function(e,t,n){var r=n(96874),a=Math.max;e.exports=function(e,t,n){return t=a(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,l=a(i.length-t,0),s=Array(l);++o<l;)s[o]=i[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=i[o];return u[t]=n(s),r(e,this,u)}}},40292:function(e,t,n){var r=n(97786),a=n(14259);e.exports=function(e,t){return t.length<2?e:r(e,a(t,0,-1))}},52060:function(e){e.exports={}},90451:function(e,t,n){var r=n(278),a=n(65776),i=Math.min;e.exports=function(e,t){for(var n=e.length,o=i(t.length,n),l=r(e);o--;){var s=t[o];e[o]=a(s,n)?l[s]:void 0}return e}},46460:function(e){var t=\"__lodash_placeholder__\";e.exports=function(e,n){for(var r=-1,a=e.length,i=0,o=[];++r<a;){var l=e[r];l!==n&&l!==t||(e[r]=t,o[i++]=r)}return o}},55639:function(e,t,n){var r=n(31957),a=\"object\"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function(\"return this\")();e.exports=i},36390:function(e){e.exports=function(e,t){if((\"constructor\"!==t||\"function\"!=typeof e[t])&&\"__proto__\"!=t)return e[t]}},90619:function(e){e.exports=function(e){return this.__data__.set(e,\"__lodash_hash_undefined__\"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},258:function(e,t,n){var r=n(28045),a=n(21275)(r);e.exports=a},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},30061:function(e,t,n){var r=n(56560),a=n(21275)(r);e.exports=a},69255:function(e,t,n){var r=n(58775),a=n(83112),i=n(30061),o=n(87241);e.exports=function(e,t,n){var l=t+\"\";return i(e,a(l,o(r(l),n)))}},21275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var a=t(),i=16-(a-r);if(r=a,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),a=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!a||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},42351:function(e){e.exports=function(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}},55514:function(e,t,n){var r=n(24523),a=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,i=/\\\\(\\\\)?/g,o=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(\"\"),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(i,\"$1\"):n||e)})),t}));e.exports=o},40327:function(e,t,n){var r=n(33448);e.exports=function(e){if(\"string\"==typeof e||r(e))return e;var t=e+\"\";return\"0\"==t&&1/e==-Infinity?\"-0\":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+\"\"}catch(e){}}return\"\"}},67990:function(e){var t=/\\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},87241:function(e,t,n){var r=n(77412),a=n(47443),i=[[\"ary\",128],[\"bind\",1],[\"bindKey\",2],[\"curry\",8],[\"curryRight\",16],[\"flip\",512],[\"partial\",32],[\"partialRight\",64],[\"rearg\",256]];e.exports=function(e,t){return r(i,(function(n){var r=\"_.\"+n[0];t&n[1]&&!a(e,r)&&e.push(r)})),e.sort()}},21913:function(e,t,n){var r=n(96425),a=n(7548),i=n(278);e.exports=function(e){if(e instanceof r)return e.clone();var t=new a(e.__wrapped__,e.__chain__);return t.__actions__=i(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},75703:function(e){e.exports=function(e){return function(){return e}}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},63105:function(e,t,n){var r=n(34963),a=n(80760),i=n(67206),o=n(1469);e.exports=function(e,t){return(o(e)?r:a)(e,i(t,3))}},85564:function(e,t,n){var r=n(21078);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},16693:function(e,t,n){var r=n(21078),a=n(40554);e.exports=function(e,t){return(null==e?0:e.length)?(t=void 0===t?1:a(t),r(e,t)):[]}},27361:function(e,t,n){var r=n(97786);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},79095:function(e,t,n){var r=n(13),a=n(222);e.exports=function(e,t){return null!=e&&a(e,t,r)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var r=n(9454),a=n(37005),i=Object.prototype,o=i.hasOwnProperty,l=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,\"callee\")&&!l.call(e,\"callee\")};e.exports=s},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),a=n(41780);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},29246:function(e,t,n){var r=n(98612),a=n(37005);e.exports=function(e){return a(e)&&r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),a=n(95062),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,l=o&&o.exports===i?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||a;e.exports=s},47960:function(e,t,n){var r=n(41761),a=n(7518),i=n(31167),o=i&&i.isDate,l=o?a(o):r;e.exports=l},18446:function(e,t,n){var r=n(90939);e.exports=function(e,t){return r(e,t)}},23560:function(e,t,n){var r=n(44239),a=n(13218);e.exports=function(e){if(!a(e))return!1;var t=r(e);return\"[object Function]\"==t||\"[object GeneratorFunction]\"==t||\"[object AsyncFunction]\"==t||\"[object Proxy]\"==t}},41780:function(e){e.exports=function(e){return\"number\"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56688:function(e,t,n){var r=n(25588),a=n(7518),i=n(31167),o=i&&i.isMap,l=o?a(o):r;e.exports=l},81763:function(e,t,n){var r=n(44239),a=n(37005);e.exports=function(e){return\"number\"==typeof e||a(e)&&\"[object Number]\"==r(e)}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&(\"object\"==t||\"function\"==t)}},37005:function(e){e.exports=function(e){return null!=e&&\"object\"==typeof e}},68630:function(e,t,n){var r=n(44239),a=n(85924),i=n(37005),o=Function.prototype,l=Object.prototype,s=o.toString,u=l.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!i(e)||\"[object Object]\"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=u.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&s.call(n)==c}},72928:function(e,t,n){var r=n(29221),a=n(7518),i=n(31167),o=i&&i.isSet,l=o?a(o):r;e.exports=l},47037:function(e,t,n){var r=n(44239),a=n(1469),i=n(37005);e.exports=function(e){return\"string\"==typeof e||!a(e)&&i(e)&&\"[object String]\"==r(e)}},33448:function(e,t,n){var r=n(44239),a=n(37005);e.exports=function(e){return\"symbol\"==typeof e||a(e)&&\"[object Symbol]\"==r(e)}},36719:function(e,t,n){var r=n(38749),a=n(7518),i=n(31167),o=i&&i.isTypedArray,l=o?a(o):r;e.exports=l},3674:function(e,t,n){var r=n(14636),a=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):a(e)}},81704:function(e,t,n){var r=n(14636),a=n(10313),i=n(98612);e.exports=function(e){return i(e)?r(e,!0):a(e)}},10928:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},6162:function(e,t,n){var r=n(56029),a=n(53325),i=n(6557);e.exports=function(e){return e&&e.length?r(e,i,a):void 0}},88306:function(e,t,n){var r=n(83369);function a(e,t){if(\"function\"!=typeof e||null!=t&&\"function\"!=typeof t)throw new TypeError(\"Expected a function\");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},82492:function(e,t,n){var r=n(42980),a=n(21463)((function(e,t,n){r(e,t,n)}));e.exports=a},53632:function(e,t,n){var r=n(56029),a=n(70433),i=n(6557);e.exports=function(e){return e&&e.length?r(e,i,a):void 0}},50308:function(e){e.exports=function(){}},57557:function(e,t,n){var r=n(29932),a=n(85990),i=n(57406),o=n(71811),l=n(98363),s=n(60696),u=n(99021),c=n(46904),f=u((function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,(function(t){return t=o(t,e),u||(u=t.length>1),t})),l(e,c(e),n),u&&(n=a(n,7,s));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},65544:function(e,t,n){var r=n(5976),a=n(97727),i=n(20893),o=n(46460),l=r((function(e,t){var n=o(t,i(l));return a(e,64,void 0,t,n)}));l.placeholder={},e.exports=l},78718:function(e,t,n){var r=n(25970),a=n(99021)((function(e,t){return null==e?{}:r(e,t)}));e.exports=a},39601:function(e,t,n){var r=n(40371),a=n(79152),i=n(15403),o=n(40327);e.exports=function(e){return i(e)?r(o(e)):a(e)}},96026:function(e,t,n){var r=n(47445)();e.exports=r},36968:function(e,t,n){var r=n(10611);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},89734:function(e,t,n){var r=n(21078),a=n(82689),i=n(5976),o=n(16612),l=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&o(e,t[0],t[1])?t=[]:n>2&&o(t[0],t[1],t[2])&&(t=[t[0]]),a(e,r(t,1),[])}));e.exports=l},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},18601:function(e,t,n){var r=n(14841),a=1/0;e.exports=function(e){return e?(e=r(e))===a||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},40554:function(e,t,n){var r=n(18601);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},14841:function(e,t,n){var r=n(27561),a=n(13218),i=n(33448),o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if(\"number\"==typeof e)return e;if(i(e))return NaN;if(a(e)){var t=\"function\"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):o.test(e)?NaN:+e}},59881:function(e,t,n){var r=n(98363),a=n(81704);e.exports=function(e){return r(e,a(e))}},79833:function(e,t,n){var r=n(80531);e.exports=function(e){return null==e?\"\":r(e)}},44908:function(e,t,n){var r=n(45652);e.exports=function(e){return e&&e.length?r(e):[]}},45578:function(e,t,n){var r=n(67206),a=n(45652);e.exports=function(e,t){return e&&e.length?a(e,r(t,2)):[]}},82569:function(e,t,n){var r=n(20731),a=n(5976),i=n(29246),o=a((function(e,t){return i(e)?r(e,t):[]}));e.exports=o},8111:function(e,t,n){var r=n(96425),a=n(7548),i=n(9435),o=n(1469),l=n(37005),s=n(21913),u=Object.prototype.hasOwnProperty;function c(e){if(l(e)&&!o(e)&&!(e instanceof r)){if(e instanceof a)return e;if(u.call(e,\"__wrapped__\"))return s(e)}return new a(e)}c.prototype=i.prototype,c.prototype.constructor=c,e.exports=c},70729:function(e){\"use strict\";var t={};function n(e,r,a){var i,o,l,s,u,c=\"\";for(\"string\"!=typeof r&&(a=r,r=n.defaultChars),void 0===a&&(a=!0),u=function(e){var n,r,a=t[e];if(a)return a;for(a=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push(\"%\"+(\"0\"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)a[e.charCodeAt(n)]=e[n];return a}(r),i=0,o=e.length;i<o;i++)if(l=e.charCodeAt(i),a&&37===l&&i+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))c+=e.slice(i,i+3),i+=2;else if(l<128)c+=u[l];else if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&i+1<o&&(s=e.charCodeAt(i+1))>=56320&&s<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+=\"%EF%BF%BD\"}else c+=encodeURIComponent(e[i]);return c}n.defaultChars=\";/?:@&=+$,-_.!~*'()#\",n.componentChars=\"-_.!~*'()\",e.exports=n},27418:function(e){\"use strict\";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",\"5\"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},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(e){return!1}}()?Object.assign:function(e,i){for(var o,l,s=a(e),u=1;u<arguments.length;u++){for(var c in o=Object(arguments[u]))n.call(o,c)&&(s[c]=o[c]);if(t){l=t(o);for(var f=0;f<l.length;f++)r.call(o,l[f])&&(s[l[f]]=o[l[f]])}}return s}},75:function(e){(function(){var t,n,r,a,i,o;\"undefined\"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:\"undefined\"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-i)/1e6},n=process.hrtime,a=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),o=1e9*process.uptime(),i=a-o):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},68548:function(e,t,n){e.exports=function e(t,n,r){function a(o,l){if(!n[o]){if(!t[o]){if(i)return i(o,!0);var s=new Error(\"Cannot find module '\"+o+\"'\");throw s.code=\"MODULE_NOT_FOUND\",s}var u=n[o]={exports:{}};t[o][0].call(u.exports,(function(e){return a(t[o][1][e]||e)}),u,u.exports,e,t,n,r)}return n[o].exports}for(var i=void 0,o=0;o<r.length;o++)a(r[o]);return a}({1:[function(e,t,n){\"use strict\";var r=e(\"../src/lib\"),a={\"X,X div\":'direction:ltr;font-family:\"Open Sans\",verdana,arial,sans-serif;margin:0;padding:0;',\"X input,X button\":'font-family:\"Open Sans\",verdana,arial,sans-serif;',\"X input:focus,X button:focus\":\"outline:none;\",\"X a\":\"text-decoration:none;\",\"X a:hover\":\"text-decoration:none;\",\"X .crisp\":\"shape-rendering:crispEdges;\",\"X .user-select-none\":\"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;\",\"X svg\":\"overflow:hidden;\",\"X svg a\":\"fill:#447adb;\",\"X svg a:hover\":\"fill:#3c6dc5;\",\"X .main-svg\":\"position:absolute;top:0;left:0;pointer-events:none;\",\"X .main-svg .draglayer\":\"pointer-events:all;\",\"X .cursor-default\":\"cursor:default;\",\"X .cursor-pointer\":\"cursor:pointer;\",\"X .cursor-crosshair\":\"cursor:crosshair;\",\"X .cursor-move\":\"cursor:move;\",\"X .cursor-col-resize\":\"cursor:col-resize;\",\"X .cursor-row-resize\":\"cursor:row-resize;\",\"X .cursor-ns-resize\":\"cursor:ns-resize;\",\"X .cursor-ew-resize\":\"cursor:ew-resize;\",\"X .cursor-sw-resize\":\"cursor:sw-resize;\",\"X .cursor-s-resize\":\"cursor:s-resize;\",\"X .cursor-se-resize\":\"cursor:se-resize;\",\"X .cursor-w-resize\":\"cursor:w-resize;\",\"X .cursor-e-resize\":\"cursor:e-resize;\",\"X .cursor-nw-resize\":\"cursor:nw-resize;\",\"X .cursor-n-resize\":\"cursor:n-resize;\",\"X .cursor-ne-resize\":\"cursor:ne-resize;\",\"X .cursor-grab\":\"cursor:-webkit-grab;cursor:grab;\",\"X .modebar\":\"position:absolute;top:2px;right:2px;\",\"X .ease-bg\":\"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;\",\"X .modebar--hover>:not(.watermark)\":\"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;\",\"X:hover .modebar--hover .modebar-group\":\"opacity:1;\",\"X .modebar-group\":\"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;\",\"X .modebar-btn\":\"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;\",\"X .modebar-btn svg\":\"position:relative;top:2px;\",\"X .modebar.vertical\":\"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;\",\"X .modebar.vertical svg\":\"top:-1px;\",\"X .modebar.vertical .modebar-group\":\"display:block;float:none;padding-left:0px;padding-bottom:8px;\",\"X .modebar.vertical .modebar-group .modebar-btn\":\"display:block;text-align:center;\",\"X [data-title]:before,X [data-title]:after\":\"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;\",\"X [data-title]:hover:before,X [data-title]:hover:after\":\"display:block;opacity:1;\",\"X [data-title]:before\":'content:\"\";position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',\"X [data-title]:after\":\"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;\",\"X .vertical [data-title]:before,X .vertical [data-title]:after\":\"top:0%;right:200%;\",\"X .vertical [data-title]:before\":\"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;\",\"X .select-outline\":\"fill:none;stroke-width:1;shape-rendering:crispEdges;\",\"X .select-outline-1\":\"stroke:#fff;\",\"X .select-outline-2\":\"stroke:#000;stroke-dasharray:2px 2px;\",Y:'font-family:\"Open Sans\",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',\"Y p\":\"margin:0;\",\"Y .notifier-note\":\"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;\",\"Y .notifier-close\":\"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;\",\"Y .notifier-close:hover\":\"color:#444;text-decoration:none;cursor:pointer;\"};for(var i in a){var o=i.replace(/^,/,\" ,\").replace(/X/g,\".js-plotly-plot .plotly\").replace(/Y/g,\".plotly-notifier\");r.addStyleRule(o,a[i])}},{\"../src/lib\":287}],2:[function(e,t,n){\"use strict\";t.exports=e(\"../src/transforms/aggregate\")},{\"../src/transforms/aggregate\":547}],3:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/bar\")},{\"../src/traces/bar\":396}],4:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/box\")},{\"../src/traces/box\":411}],5:[function(e,t,n){\"use strict\";t.exports=e(\"../src/components/calendars\")},{\"../src/components/calendars\":155}],6:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/contour\")},{\"../src/traces/contour\":431}],7:[function(e,t,n){\"use strict\";t.exports=e(\"../src/core\")},{\"../src/core\":269}],8:[function(e,t,n){\"use strict\";t.exports=e(\"../src/transforms/filter\")},{\"../src/transforms/filter\":548}],9:[function(e,t,n){\"use strict\";t.exports=e(\"../src/transforms/groupby\")},{\"../src/transforms/groupby\":549}],10:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/heatmap\")},{\"../src/traces/heatmap\":447}],11:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/histogram\")},{\"../src/traces/histogram\":466}],12:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/histogram2d\")},{\"../src/traces/histogram2d\":472}],13:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/histogram2dcontour\")},{\"../src/traces/histogram2dcontour\":476}],14:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/image\")},{\"../src/traces/image\":484}],15:[function(e,t,n){\"use strict\";var r=e(\"./core\");r.register([e(\"./bar\"),e(\"./box\"),e(\"./heatmap\"),e(\"./histogram\"),e(\"./histogram2d\"),e(\"./histogram2dcontour\"),e(\"./contour\"),e(\"./scatterternary\"),e(\"./violin\"),e(\"./image\"),e(\"./pie\"),e(\"./aggregate\"),e(\"./filter\"),e(\"./groupby\"),e(\"./sort\"),e(\"./calendars\")]),t.exports=r},{\"./aggregate\":2,\"./bar\":3,\"./box\":4,\"./calendars\":5,\"./contour\":6,\"./core\":7,\"./filter\":8,\"./groupby\":9,\"./heatmap\":10,\"./histogram\":11,\"./histogram2d\":12,\"./histogram2dcontour\":13,\"./image\":14,\"./pie\":16,\"./scatterternary\":17,\"./sort\":18,\"./violin\":19}],16:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/pie\")},{\"../src/traces/pie\":493}],17:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/scatterternary\")},{\"../src/traces/scatterternary\":534}],18:[function(e,t,n){\"use strict\";t.exports=e(\"../src/transforms/sort\")},{\"../src/transforms/sort\":551}],19:[function(e,t,n){\"use strict\";t.exports=e(\"../src/traces/violin\")},{\"../src/traces/violin\":542}],20:[function(e,t,n){(function(){var e={version:\"3.8.0\"},n=[].slice,r=function(e){return n.call(e)},a=self.document;function i(e){return e&&(e.ownerDocument||e.document||e).documentElement}function o(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(a)try{r(a.documentElement.childNodes)[0].nodeType}catch(e){r=function(e){for(var t=e.length,n=new Array(t);t--;)n[t]=e[t];return n}}if(Date.now||(Date.now=function(){return+new Date}),a)try{a.createElement(\"DIV\").style.setProperty(\"opacity\",0,\"\")}catch(e){var l=this.Element.prototype,s=l.setAttribute,u=l.setAttributeNS,c=this.CSSStyleDeclaration.prototype,f=c.setProperty;l.setAttribute=function(e,t){s.call(this,e,t+\"\")},l.setAttributeNS=function(e,t,n){u.call(this,e,t,n+\"\")},c.setProperty=function(e,t,n){f.call(this,e,t+\"\",n)}}function d(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function p(e){return null===e?NaN:+e}function h(e){return!isNaN(e)}function m(e){return{left:function(t,n,r,a){for(arguments.length<3&&(r=0),arguments.length<4&&(a=t.length);r<a;){var i=r+a>>>1;e(t[i],n)<0?r=i+1:a=i}return r},right:function(t,n,r,a){for(arguments.length<3&&(r=0),arguments.length<4&&(a=t.length);r<a;){var i=r+a>>>1;e(t[i],n)>0?a=i:r=i+1}return r}}}e.ascending=d,e.descending=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},e.min=function(e,t){var n,r,a=-1,i=e.length;if(1===arguments.length){for(;++a<i;)if(null!=(r=e[a])&&r>=r){n=r;break}for(;++a<i;)null!=(r=e[a])&&n>r&&(n=r)}else{for(;++a<i;)if(null!=(r=t.call(e,e[a],a))&&r>=r){n=r;break}for(;++a<i;)null!=(r=t.call(e,e[a],a))&&n>r&&(n=r)}return n},e.max=function(e,t){var n,r,a=-1,i=e.length;if(1===arguments.length){for(;++a<i;)if(null!=(r=e[a])&&r>=r){n=r;break}for(;++a<i;)null!=(r=e[a])&&r>n&&(n=r)}else{for(;++a<i;)if(null!=(r=t.call(e,e[a],a))&&r>=r){n=r;break}for(;++a<i;)null!=(r=t.call(e,e[a],a))&&r>n&&(n=r)}return n},e.extent=function(e,t){var n,r,a,i=-1,o=e.length;if(1===arguments.length){for(;++i<o;)if(null!=(r=e[i])&&r>=r){n=a=r;break}for(;++i<o;)null!=(r=e[i])&&(n>r&&(n=r),a<r&&(a=r))}else{for(;++i<o;)if(null!=(r=t.call(e,e[i],i))&&r>=r){n=a=r;break}for(;++i<o;)null!=(r=t.call(e,e[i],i))&&(n>r&&(n=r),a<r&&(a=r))}return[n,a]},e.sum=function(e,t){var n,r=0,a=e.length,i=-1;if(1===arguments.length)for(;++i<a;)h(n=+e[i])&&(r+=n);else for(;++i<a;)h(n=+t.call(e,e[i],i))&&(r+=n);return r},e.mean=function(e,t){var n,r=0,a=e.length,i=-1,o=a;if(1===arguments.length)for(;++i<a;)h(n=p(e[i]))?r+=n:--o;else for(;++i<a;)h(n=p(t.call(e,e[i],i)))?r+=n:--o;if(o)return r/o},e.quantile=function(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),a=+e[r-1],i=n-r;return i?a+i*(e[r]-a):a},e.median=function(t,n){var r,a=[],i=t.length,o=-1;if(1===arguments.length)for(;++o<i;)h(r=p(t[o]))&&a.push(r);else for(;++o<i;)h(r=p(n.call(t,t[o],o)))&&a.push(r);if(a.length)return e.quantile(a.sort(d),.5)},e.variance=function(e,t){var n,r,a=e.length,i=0,o=0,l=-1,s=0;if(1===arguments.length)for(;++l<a;)h(n=p(e[l]))&&(o+=(r=n-i)*(n-(i+=r/++s)));else for(;++l<a;)h(n=p(t.call(e,e[l],l)))&&(o+=(r=n-i)*(n-(i+=r/++s)));if(s>1)return o/(s-1)},e.deviation=function(){var t=e.variance.apply(this,arguments);return t?Math.sqrt(t):t};var g=m(d);function y(e){return e.length}e.bisectLeft=g.left,e.bisect=e.bisectRight=g.right,e.bisector=function(e){return m(1===e.length?function(t,n){return d(e(t),n)}:e)},e.shuffle=function(e,t,n){(i=arguments.length)<3&&(n=e.length,i<2&&(t=0));for(var r,a,i=n-t;i;)a=Math.random()*i--|0,r=e[i+t],e[i+t]=e[a+t],e[a+t]=r;return e},e.permute=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},e.pairs=function(e){for(var t=0,n=e.length-1,r=e[0],a=new Array(n<0?0:n);t<n;)a[t]=[r,r=e[++t]];return a},e.transpose=function(t){if(!(i=t.length))return[];for(var n=-1,r=e.min(t,y),a=new Array(r);++n<r;)for(var i,o=-1,l=a[n]=new Array(i);++o<i;)l[o]=t[o][n];return a},e.zip=function(){return e.transpose(arguments)},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t},e.values=function(e){var t=[];for(var n in e)t.push(e[n]);return t},e.entries=function(e){var t=[];for(var n in e)t.push({key:n,value:e[n]});return t},e.merge=function(e){for(var t,n,r,a=e.length,i=-1,o=0;++i<a;)o+=e[i].length;for(n=new Array(o);--a>=0;)for(t=(r=e[a]).length;--t>=0;)n[--o]=r[t];return n};var v=Math.abs;function b(e){for(var t=1;e*t%1;)t*=10;return t}function x(e,t){for(var n in t)Object.defineProperty(e.prototype,n,{value:t[n],enumerable:!1})}function w(){this._=Object.create(null)}function _(e){return\"__proto__\"==(e+=\"\")||\"\\0\"===e[0]?\"\\0\"+e:e}function k(e){return\"\\0\"===(e+=\"\")[0]?e.slice(1):e}function T(e){return _(e)in this._}function M(e){return(e=_(e))in this._&&delete this._[e]}function S(){var e=[];for(var t in this._)e.push(k(t));return e}function E(){var e=0;for(var t in this._)++e;return e}function C(){for(var e in this._)return!1;return!0}function O(){this._=Object.create(null)}function A(e){return e}function D(e,t,n){return function(){var r=n.apply(t,arguments);return r===t?e:r}}function P(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var n=0,r=R.length;n<r;++n){var a=R[n]+t;if(a in e)return a}}e.range=function(e,t,n){if(arguments.length<3&&(n=1,arguments.length<2&&(t=e,e=0)),(t-e)/n==1/0)throw new Error(\"infinite range\");var r,a=[],i=b(v(n)),o=-1;if(e*=i,t*=i,(n*=i)<0)for(;(r=e+n*++o)>t;)a.push(r/i);else for(;(r=e+n*++o)<t;)a.push(r/i);return a},e.map=function(e,t){var n=new w;if(e instanceof w)e.forEach((function(e,t){n.set(e,t)}));else if(Array.isArray(e)){var r,a=-1,i=e.length;if(1===arguments.length)for(;++a<i;)n.set(a,e[a]);else for(;++a<i;)n.set(t.call(e,r=e[a],a),r)}else for(var o in e)n.set(o,e[o]);return n},x(w,{has:T,get:function(e){return this._[_(e)]},set:function(e,t){return this._[_(e)]=t},remove:M,keys:S,values:function(){var e=[];for(var t in this._)e.push(this._[t]);return e},entries:function(){var e=[];for(var t in this._)e.push({key:k(t),value:this._[t]});return e},size:E,empty:C,forEach:function(e){for(var t in this._)e.call(this,k(t),this._[t])}}),e.nest=function(){var t,n,r={},a=[],i=[];function o(e,i,l){if(l>=a.length)return n?n.call(r,i):t?i.sort(t):i;for(var s,u,c,f,d=-1,p=i.length,h=a[l++],m=new w;++d<p;)(f=m.get(s=h(u=i[d])))?f.push(u):m.set(s,[u]);return e?(u=e(),c=function(t,n){u.set(t,o(e,n,l))}):(u={},c=function(t,n){u[t]=o(e,n,l)}),m.forEach(c),u}return r.map=function(e,t){return o(t,e,0)},r.entries=function(t){return function e(t,n){if(n>=a.length)return t;var r=[],o=i[n++];return t.forEach((function(t,a){r.push({key:t,values:e(a,n)})})),o?r.sort((function(e,t){return o(e.key,t.key)})):r}(o(e.map,t,0),0)},r.key=function(e){return a.push(e),r},r.sortKeys=function(e){return i[a.length-1]=e,r},r.sortValues=function(e){return t=e,r},r.rollup=function(e){return n=e,r},r},e.set=function(e){var t=new O;if(e)for(var n=0,r=e.length;n<r;++n)t.add(e[n]);return t},x(O,{has:T,add:function(e){return this._[_(e+=\"\")]=!0,e},remove:M,values:S,size:E,empty:C,forEach:function(e){for(var t in this._)e.call(this,k(t))}}),e.behavior={},e.rebind=function(e,t){for(var n,r=1,a=arguments.length;++r<a;)e[n=arguments[r]]=D(e,t,t[n]);return e};var R=[\"webkit\",\"ms\",\"moz\",\"Moz\",\"o\",\"O\"];function L(){}function I(){}function j(e){var t=[],n=new w;function r(){for(var n,r=t,a=-1,i=r.length;++a<i;)(n=r[a].on)&&n.apply(this,arguments);return e}return r.on=function(r,a){var i,o=n.get(r);return arguments.length<2?o&&o.on:(o&&(o.on=null,t=t.slice(0,i=t.indexOf(o)).concat(t.slice(i+1)),n.remove(r)),a&&t.push(n.set(r,{on:a})),e)},r}function N(){e.event.preventDefault()}function z(){for(var t,n=e.event;t=n.sourceEvent;)n=t;return n}function F(t){for(var n=new I,r=0,a=arguments.length;++r<a;)n[arguments[r]]=j(n);return n.of=function(r,a){return function(i){try{var o=i.sourceEvent=e.event;i.target=t,e.event=i,n[i.type].apply(r,a)}finally{e.event=o}}},n}e.dispatch=function(){for(var e=new I,t=-1,n=arguments.length;++t<n;)e[arguments[t]]=j(e);return e},I.prototype.on=function(e,t){var n=e.indexOf(\".\"),r=\"\";if(n>=0&&(r=e.slice(n+1),e=e.slice(0,n)),e)return arguments.length<2?this[e].on(r):this[e].on(r,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(r,null);return this}},e.event=null,e.requote=function(e){return e.replace(Z,\"\\\\$&\")};var Z=/[\\\\\\^\\$\\*\\+\\?\\|\\[\\]\\(\\)\\.\\{\\}]/g,B={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)e[n]=t[n]};function q(e){return B(e,V),e}var H=function(e,t){return t.querySelector(e)},U=function(e,t){return t.querySelectorAll(e)},W=function(e,t){var n=e.matches||e[P(e,\"matchesSelector\")];return(W=function(e,t){return n.call(e,t)})(e,t)};\"function\"==typeof Sizzle&&(H=function(e,t){return Sizzle(e,t)[0]||null},U=Sizzle,W=Sizzle.matchesSelector),e.selection=function(){return e.select(a.documentElement)};var V=e.selection.prototype=[];function Y(e){return\"function\"==typeof e?e:function(){return H(e,this)}}function G(e){return\"function\"==typeof e?e:function(){return U(e,this)}}V.select=function(e){var t,n,r,a,i=[];e=Y(e);for(var o=-1,l=this.length;++o<l;){i.push(t=[]),t.parentNode=(r=this[o]).parentNode;for(var s=-1,u=r.length;++s<u;)(a=r[s])?(t.push(n=e.call(a,a.__data__,s,o)),n&&\"__data__\"in a&&(n.__data__=a.__data__)):t.push(null)}return q(i)},V.selectAll=function(e){var t,n,a=[];e=G(e);for(var i=-1,o=this.length;++i<o;)for(var l=this[i],s=-1,u=l.length;++s<u;)(n=l[s])&&(a.push(t=r(e.call(n,n.__data__,s,i))),t.parentNode=n);return q(a)};var $=\"http://www.w3.org/1999/xhtml\",X={svg:\"http://www.w3.org/2000/svg\",xhtml:$,xlink:\"http://www.w3.org/1999/xlink\",xml:\"http://www.w3.org/XML/1998/namespace\",xmlns:\"http://www.w3.org/2000/xmlns/\"};function K(t,n){return t=e.ns.qualify(t),null==n?t.local?function(){this.removeAttributeNS(t.space,t.local)}:function(){this.removeAttribute(t)}:\"function\"==typeof n?t.local?function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}:function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}:t.local?function(){this.setAttributeNS(t.space,t.local,n)}:function(){this.setAttribute(t,n)}}function J(e){return e.trim().replace(/\\s+/g,\" \")}function Q(t){return new RegExp(\"(?:^|\\\\s+)\"+e.requote(t)+\"(?:\\\\s+|$)\",\"g\")}function ee(e){return(e+\"\").trim().split(/^|\\s+/)}function te(e,t){var n=(e=ee(e).map(ne)).length;return\"function\"==typeof t?function(){for(var r=-1,a=t.apply(this,arguments);++r<n;)e[r](this,a)}:function(){for(var r=-1;++r<n;)e[r](this,t)}}function ne(e){var t=Q(e);return function(n,r){if(a=n.classList)return r?a.add(e):a.remove(e);var a=n.getAttribute(\"class\")||\"\";r?(t.lastIndex=0,t.test(a)||n.setAttribute(\"class\",J(a+\" \"+e))):n.setAttribute(\"class\",J(a.replace(t,\" \")))}}function re(e,t,n){return null==t?function(){this.style.removeProperty(e)}:\"function\"==typeof t?function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}:function(){this.style.setProperty(e,t,n)}}function ae(e,t){return null==t?function(){delete this[e]}:\"function\"==typeof t?function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}:function(){this[e]=t}}function ie(t){return\"function\"==typeof t?t:(t=e.ns.qualify(t)).local?function(){return this.ownerDocument.createElementNS(t.space,t.local)}:function(){var e=this.ownerDocument,n=this.namespaceURI;return n===$&&e.documentElement.namespaceURI===$?e.createElement(t):e.createElementNS(n,t)}}function oe(){var e=this.parentNode;e&&e.removeChild(this)}function le(e){return{__data__:e}}function se(e){return function(){return W(this,e)}}function ue(e){return arguments.length||(e=d),function(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}}function ce(e,t){for(var n=0,r=e.length;n<r;n++)for(var a,i=e[n],o=0,l=i.length;o<l;o++)(a=i[o])&&t(a,o,n);return e}function fe(e){return B(e,de),e}e.ns={prefix:X,qualify:function(e){var t=e.indexOf(\":\"),n=e;return t>=0&&\"xmlns\"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),X.hasOwnProperty(n)?{space:X[n],local:e}:e}},V.attr=function(t,n){if(arguments.length<2){if(\"string\"==typeof t){var r=this.node();return(t=e.ns.qualify(t)).local?r.getAttributeNS(t.space,t.local):r.getAttribute(t)}for(n in t)this.each(K(n,t[n]));return this}return this.each(K(t,n))},V.classed=function(e,t){if(arguments.length<2){if(\"string\"==typeof e){var n=this.node(),r=(e=ee(e)).length,a=-1;if(t=n.classList){for(;++a<r;)if(!t.contains(e[a]))return!1}else for(t=n.getAttribute(\"class\");++a<r;)if(!Q(e[a]).test(t))return!1;return!0}for(t in e)this.each(te(t,e[t]));return this}return this.each(te(e,t))},V.style=function(e,t,n){var r=arguments.length;if(r<3){if(\"string\"!=typeof e){for(n in r<2&&(t=\"\"),e)this.each(re(n,e[n],t));return this}if(r<2){var a=this.node();return o(a).getComputedStyle(a,null).getPropertyValue(e)}n=\"\"}return this.each(re(e,t,n))},V.property=function(e,t){if(arguments.length<2){if(\"string\"==typeof e)return this.node()[e];for(t in e)this.each(ae(t,e[t]));return this}return this.each(ae(e,t))},V.text=function(e){return arguments.length?this.each(\"function\"==typeof e?function(){var t=e.apply(this,arguments);this.textContent=null==t?\"\":t}:null==e?function(){this.textContent=\"\"}:function(){this.textContent=e}):this.node().textContent},V.html=function(e){return arguments.length?this.each(\"function\"==typeof e?function(){var t=e.apply(this,arguments);this.innerHTML=null==t?\"\":t}:null==e?function(){this.innerHTML=\"\"}:function(){this.innerHTML=e}):this.node().innerHTML},V.append=function(e){return e=ie(e),this.select((function(){return this.appendChild(e.apply(this,arguments))}))},V.insert=function(e,t){return e=ie(e),t=Y(t),this.select((function(){return this.insertBefore(e.apply(this,arguments),t.apply(this,arguments)||null)}))},V.remove=function(){return this.each(oe)},V.data=function(e,t){var n,r,a=-1,i=this.length;if(!arguments.length){for(e=new Array(i=(n=this[0]).length);++a<i;)(r=n[a])&&(e[a]=r.__data__);return e}function o(e,n){var r,a,i,o=e.length,c=n.length,f=Math.min(o,c),d=new Array(c),p=new Array(c),h=new Array(o);if(t){var m,g=new w,y=new Array(o);for(r=-1;++r<o;)(a=e[r])&&(g.has(m=t.call(a,a.__data__,r))?h[r]=a:g.set(m,a),y[r]=m);for(r=-1;++r<c;)(a=g.get(m=t.call(n,i=n[r],r)))?!0!==a&&(d[r]=a,a.__data__=i):p[r]=le(i),g.set(m,!0);for(r=-1;++r<o;)r in y&&!0!==g.get(y[r])&&(h[r]=e[r])}else{for(r=-1;++r<f;)a=e[r],i=n[r],a?(a.__data__=i,d[r]=a):p[r]=le(i);for(;r<c;++r)p[r]=le(n[r]);for(;r<o;++r)h[r]=e[r]}p.update=d,p.parentNode=d.parentNode=h.parentNode=e.parentNode,l.push(p),s.push(d),u.push(h)}var l=fe([]),s=q([]),u=q([]);if(\"function\"==typeof e)for(;++a<i;)o(n=this[a],e.call(n,n.parentNode.__data__,a));else for(;++a<i;)o(n=this[a],e);return s.enter=function(){return l},s.exit=function(){return u},s},V.datum=function(e){return arguments.length?this.property(\"__data__\",e):this.property(\"__data__\")},V.filter=function(e){var t,n,r,a=[];\"function\"!=typeof e&&(e=se(e));for(var i=0,o=this.length;i<o;i++){a.push(t=[]),t.parentNode=(n=this[i]).parentNode;for(var l=0,s=n.length;l<s;l++)(r=n[l])&&e.call(r,r.__data__,l,i)&&t.push(r)}return q(a)},V.order=function(){for(var e=-1,t=this.length;++e<t;)for(var n,r=this[e],a=r.length-1,i=r[a];--a>=0;)(n=r[a])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},V.sort=function(e){e=ue.apply(this,arguments);for(var t=-1,n=this.length;++t<n;)this[t].sort(e);return this.order()},V.each=function(e){return ce(this,(function(t,n,r){e.call(t,t.__data__,n,r)}))},V.call=function(e){var t=r(arguments);return e.apply(t[0]=this,t),this},V.empty=function(){return!this.node()},V.node=function(){for(var e=0,t=this.length;e<t;e++)for(var n=this[e],r=0,a=n.length;r<a;r++){var i=n[r];if(i)return i}return null},V.size=function(){var e=0;return ce(this,(function(){++e})),e};var de=[];function pe(e){var t,n;return function(r,a,i){var o,l=e[i].update,s=l.length;for(i!=n&&(n=i,t=0),a>=t&&(t=a+1);!(o=l[t])&&++t<s;);return o}}function he(t,n,a){var i=\"__on\"+t,o=t.indexOf(\".\"),l=ge;o>0&&(t=t.slice(0,o));var s=me.get(t);function u(){var e=this[i];e&&(this.removeEventListener(t,e,e.$),delete this[i])}return s&&(t=s,l=ye),o?n?function(){var e=l(n,r(arguments));u.call(this),this.addEventListener(t,this[i]=e,e.$=a),e._=n}:u:n?L:function(){var n,r=new RegExp(\"^__on([^.]+)\"+e.requote(t)+\"$\");for(var a in this)if(n=a.match(r)){var i=this[a];this.removeEventListener(n[1],i,i.$),delete this[a]}}}e.selection.enter=fe,e.selection.enter.prototype=de,de.append=V.append,de.empty=V.empty,de.node=V.node,de.call=V.call,de.size=V.size,de.select=function(e){for(var t,n,r,a,i,o=[],l=-1,s=this.length;++l<s;){r=(a=this[l]).update,o.push(t=[]),t.parentNode=a.parentNode;for(var u=-1,c=a.length;++u<c;)(i=a[u])?(t.push(r[u]=n=e.call(a.parentNode,i.__data__,u,l)),n.__data__=i.__data__):t.push(null)}return q(o)},de.insert=function(e,t){return arguments.length<2&&(t=pe(this)),V.insert.call(this,e,t)},e.select=function(e){var t;return\"string\"==typeof e?(t=[H(e,a)]).parentNode=a.documentElement:(t=[e]).parentNode=i(e),q([t])},e.selectAll=function(e){var t;return\"string\"==typeof e?(t=r(U(e,a))).parentNode=a.documentElement:(t=r(e)).parentNode=null,q([t])},V.on=function(e,t,n){var r=arguments.length;if(r<3){if(\"string\"!=typeof e){for(n in r<2&&(t=!1),e)this.each(he(n,e[n],t));return this}if(r<2)return(r=this.node()[\"__on\"+e])&&r._;n=!1}return this.each(he(e,t,n))};var me=e.map({mouseenter:\"mouseover\",mouseleave:\"mouseout\"});function ge(t,n){return function(r){var a=e.event;e.event=r,n[0]=this.__data__;try{t.apply(this,n)}finally{e.event=a}}}function ye(e,t){var n=ge(e,t);return function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||n.call(this,e)}}a&&me.forEach((function(e){\"on\"+e in a&&me.remove(e)}));var ve,be=0;function xe(t){var n=\".dragsuppress-\"+ ++be,r=\"click\"+n,a=e.select(o(t)).on(\"touchmove\"+n,N).on(\"dragstart\"+n,N).on(\"selectstart\"+n,N);if(null==ve&&(ve=!(\"onselectstart\"in t)&&P(t.style,\"userSelect\")),ve){var l=i(t).style,s=l[ve];l[ve]=\"none\"}return function(e){if(a.on(n,null),ve&&(l[ve]=s),e){var t=function(){a.on(r,null)};a.on(r,(function(){N(),t()}),!0),setTimeout(t,0)}}}e.mouse=function(e){return _e(e,z())};var we=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function _e(t,n){n.changedTouches&&(n=n.changedTouches[0]);var r=t.ownerSVGElement||t;if(r.createSVGPoint){var a=r.createSVGPoint();if(we<0){var i=o(t);if(i.scrollX||i.scrollY){var l=(r=e.select(\"body\").append(\"svg\").style({position:\"absolute\",top:0,left:0,margin:0,padding:0,border:\"none\"},\"important\"))[0][0].getScreenCTM();we=!(l.f||l.e),r.remove()}}return we?(a.x=n.pageX,a.y=n.pageY):(a.x=n.clientX,a.y=n.clientY),[(a=a.matrixTransform(t.getScreenCTM().inverse())).x,a.y]}var s=t.getBoundingClientRect();return[n.clientX-s.left-t.clientLeft,n.clientY-s.top-t.clientTop]}function ke(){return e.event.changedTouches[0].identifier}e.touch=function(e,t,n){if(arguments.length<3&&(n=t,t=z().changedTouches),t)for(var r,a=0,i=t.length;a<i;++a)if((r=t[a]).identifier===n)return _e(e,r)},e.behavior.drag=function(){var t=F(i,\"drag\",\"dragstart\",\"dragend\"),n=null,r=l(L,e.mouse,o,\"mousemove\",\"mouseup\"),a=l(ke,e.touch,A,\"touchmove\",\"touchend\");function i(){this.on(\"mousedown.drag\",r).on(\"touchstart.drag\",a)}function l(r,a,i,o,l){return function(){var s,u=this,c=e.event.target.correspondingElement||e.event.target,f=u.parentNode,d=t.of(u,arguments),p=0,h=r(),m=\".drag\"+(null==h?\"\":\"-\"+h),g=e.select(i(c)).on(o+m,b).on(l+m,x),y=xe(c),v=a(f,h);function b(){var e,t,n=a(f,h);n&&(e=n[0]-v[0],t=n[1]-v[1],p|=e|t,v=n,d({type:\"drag\",x:n[0]+s[0],y:n[1]+s[1],dx:e,dy:t}))}function x(){a(f,h)&&(g.on(o+m,null).on(l+m,null),y(p),d({type:\"dragend\"}))}s=n?[(s=n.apply(u,arguments)).x-v[0],s.y-v[1]]:[0,0],d({type:\"dragstart\"})}}return i.origin=function(e){return arguments.length?(n=e,i):n},e.rebind(i,t,\"on\")},e.touches=function(e,t){return arguments.length<2&&(t=z().touches),t?r(t).map((function(t){var n=_e(e,t);return n.identifier=t.identifier,n})):[]};var Te=1e-6,Me=Math.PI,Se=2*Me,Ee=Se-Te,Ce=Me/2,Oe=Me/180,Ae=180/Me;function De(e){return e>1?Ce:e<-1?-Ce:Math.asin(e)}function Pe(e){return((e=Math.exp(e))+1/e)/2}var Re=Math.SQRT2;e.interpolateZoom=function(e,t){var n,r,a=e[0],i=e[1],o=e[2],l=t[0],s=t[1],u=t[2],c=l-a,f=s-i,d=c*c+f*f;if(d<1e-12)r=Math.log(u/o)/Re,n=function(e){return[a+e*c,i+e*f,o*Math.exp(Re*e*r)]};else{var p=Math.sqrt(d),h=(u*u-o*o+4*d)/(2*o*2*p),m=(u*u-o*o-4*d)/(2*u*2*p),g=Math.log(Math.sqrt(h*h+1)-h),y=Math.log(Math.sqrt(m*m+1)-m);r=(y-g)/Re,n=function(e){var t,n=e*r,l=Pe(g),s=o/(2*p)*(l*(t=Re*n+g,((t=Math.exp(2*t))-1)/(t+1))-function(e){return((e=Math.exp(e))-1/e)/2}(g));return[a+s*c,i+s*f,o*l/Pe(Re*n+g)]}}return n.duration=1e3*r,n},e.behavior.zoom=function(){var t,n,r,i,l,s,u,c,f,d={x:0,y:0,k:1},p=[960,500],h=je,m=250,g=0,y=\"mousedown.zoom\",v=\"mousemove.zoom\",b=\"mouseup.zoom\",x=\"touchstart.zoom\",w=F(_,\"zoomstart\",\"zoom\",\"zoomend\");function _(e){e.on(y,D).on(Ie+\".zoom\",R).on(\"dblclick.zoom\",L).on(x,P)}function k(e){return[(e[0]-d.x)/d.k,(e[1]-d.y)/d.k]}function T(e){d.k=Math.max(h[0],Math.min(h[1],e))}function M(e,t){t=function(e){return[e[0]*d.k+d.x,e[1]*d.k+d.y]}(t),d.x+=e[0]-t[0],d.y+=e[1]-t[1]}function S(t,r,a,i){t.__chart__={x:d.x,y:d.y,k:d.k},T(Math.pow(2,i)),M(n=r,a),t=e.select(t),m>0&&(t=t.transition().duration(m)),t.call(_.event)}function E(){u&&u.domain(s.range().map((function(e){return(e-d.x)/d.k})).map(s.invert)),f&&f.domain(c.range().map((function(e){return(e-d.y)/d.k})).map(c.invert))}function C(e){g++||e({type:\"zoomstart\"})}function O(e){E(),e({type:\"zoom\",scale:d.k,translate:[d.x,d.y]})}function A(e){--g||(e({type:\"zoomend\"}),n=null)}function D(){var t=this,n=w.of(t,arguments),r=0,a=e.select(o(t)).on(v,s).on(b,u),i=k(e.mouse(t)),l=xe(t);function s(){r=1,M(e.mouse(t),i),O(n)}function u(){a.on(v,null).on(b,null),l(r),A(n)}Ia.call(t),C(n)}function P(){var t,n=this,r=w.of(n,arguments),a={},i=0,o=\".zoom-\"+e.event.changedTouches[0].identifier,s=\"touchmove\"+o,u=\"touchend\"+o,c=[],f=e.select(n),p=xe(n);function h(){var r=e.touches(n);return t=d.k,r.forEach((function(e){e.identifier in a&&(a[e.identifier]=k(e))})),r}function m(){var t=e.event.target;e.select(t).on(s,g).on(u,v),c.push(t);for(var r=e.event.changedTouches,o=0,f=r.length;o<f;++o)a[r[o].identifier]=null;var p=h(),m=Date.now();if(1===p.length){if(m-l<500){var y=p[0];S(n,y,a[y.identifier],Math.floor(Math.log(d.k)/Math.LN2)+1),N()}l=m}else if(p.length>1){y=p[0];var b=p[1],x=y[0]-b[0],w=y[1]-b[1];i=x*x+w*w}}function g(){var o,s,u,c,f=e.touches(n);Ia.call(n);for(var d=0,p=f.length;d<p;++d,c=null)if(u=f[d],c=a[u.identifier]){if(s)break;o=u,s=c}if(c){var h=(h=u[0]-o[0])*h+(h=u[1]-o[1])*h,m=i&&Math.sqrt(h/i);o=[(o[0]+u[0])/2,(o[1]+u[1])/2],s=[(s[0]+c[0])/2,(s[1]+c[1])/2],T(m*t)}l=null,M(o,s),O(r)}function v(){if(e.event.touches.length){for(var t=e.event.changedTouches,n=0,i=t.length;n<i;++n)delete a[t[n].identifier];for(var l in a)return void h()}e.selectAll(c).on(o,null),f.on(y,D).on(x,P),p(),A(r)}m(),C(r),f.on(y,null).on(x,m)}function R(){var a=w.of(this,arguments);i?clearTimeout(i):(Ia.call(this),t=k(n=r||e.mouse(this)),C(a)),i=setTimeout((function(){i=null,A(a)}),50),N(),T(Math.pow(2,.002*Le())*d.k),M(n,t),O(a)}function L(){var t=e.mouse(this),n=Math.log(d.k)/Math.LN2;S(this,t,k(t),e.event.shiftKey?Math.ceil(n)-1:Math.floor(n)+1)}return Ie||(Ie=\"onwheel\"in a?(Le=function(){return-e.event.deltaY*(e.event.deltaMode?120:1)},\"wheel\"):\"onmousewheel\"in a?(Le=function(){return e.event.wheelDelta},\"mousewheel\"):(Le=function(){return-e.event.detail},\"MozMousePixelScroll\")),_.event=function(t){t.each((function(){var t=w.of(this,arguments),r=d;za?e.select(this).transition().each(\"start.zoom\",(function(){d=this.__chart__||{x:0,y:0,k:1},C(t)})).tween(\"zoom:zoom\",(function(){var a=p[0],i=p[1],o=n?n[0]:a/2,l=n?n[1]:i/2,s=e.interpolateZoom([(o-d.x)/d.k,(l-d.y)/d.k,a/d.k],[(o-r.x)/r.k,(l-r.y)/r.k,a/r.k]);return function(e){var n=s(e),r=a/n[2];this.__chart__=d={x:o-n[0]*r,y:l-n[1]*r,k:r},O(t)}})).each(\"interrupt.zoom\",(function(){A(t)})).each(\"end.zoom\",(function(){A(t)})):(this.__chart__=d,C(t),O(t),A(t))}))},_.translate=function(e){return arguments.length?(d={x:+e[0],y:+e[1],k:d.k},E(),_):[d.x,d.y]},_.scale=function(e){return arguments.length?(d={x:d.x,y:d.y,k:null},T(+e),E(),_):d.k},_.scaleExtent=function(e){return arguments.length?(h=null==e?je:[+e[0],+e[1]],_):h},_.center=function(e){return arguments.length?(r=e&&[+e[0],+e[1]],_):r},_.size=function(e){return arguments.length?(p=e&&[+e[0],+e[1]],_):p},_.duration=function(e){return arguments.length?(m=+e,_):m},_.x=function(e){return arguments.length?(u=e,s=e.copy(),d={x:0,y:0,k:1},_):u},_.y=function(e){return arguments.length?(f=e,c=e.copy(),d={x:0,y:0,k:1},_):f},e.rebind(_,w,\"on\")};var Le,Ie,je=[0,1/0];function Ne(){}function ze(e,t,n){return this instanceof ze?(this.h=+e,this.s=+t,void(this.l=+n)):arguments.length<2?e instanceof ze?new ze(e.h,e.s,e.l):rt(\"\"+e,at,ze):new ze(e,t,n)}e.color=Ne,Ne.prototype.toString=function(){return this.rgb()+\"\"},e.hsl=ze;var Fe=ze.prototype=new Ne;function Ze(e,t,n){var r,a;function i(e){return Math.round(255*function(e){return e>360?e-=360:e<0&&(e+=360),e<60?r+(a-r)*e/60:e<180?a:e<240?r+(a-r)*(240-e)/60:r}(e))}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,r=2*(n=n<0?0:n>1?1:n)-(a=n<=.5?n*(1+t):n+t-n*t),new Je(i(e+120),i(e),i(e-120))}function Be(t,n,r){return this instanceof Be?(this.h=+t,this.c=+n,void(this.l=+r)):arguments.length<2?t instanceof Be?new Be(t.h,t.c,t.l):Ge(t instanceof Ue?t.l:(t=it((t=e.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new Be(t,n,r)}Fe.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new ze(this.h,this.s,this.l/e)},Fe.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new ze(this.h,this.s,e*this.l)},Fe.rgb=function(){return Ze(this.h,this.s,this.l)},e.hcl=Be;var qe=Be.prototype=new Ne;function He(e,t,n){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Ue(n,Math.cos(e*=Oe)*t,Math.sin(e)*t)}function Ue(e,t,n){return this instanceof Ue?(this.l=+e,this.a=+t,void(this.b=+n)):arguments.length<2?e instanceof Ue?new Ue(e.l,e.a,e.b):e instanceof Be?He(e.h,e.c,e.l):it((e=Je(e)).r,e.g,e.b):new Ue(e,t,n)}qe.brighter=function(e){return new Be(this.h,this.c,Math.min(100,this.l+We*(arguments.length?e:1)))},qe.darker=function(e){return new Be(this.h,this.c,Math.max(0,this.l-We*(arguments.length?e:1)))},qe.rgb=function(){return He(this.h,this.c,this.l).rgb()},e.lab=Ue;var We=18,Ve=Ue.prototype=new Ne;function Ye(e,t,n){var r=(e+16)/116,a=r+t/500,i=r-n/200;return new Je(Ke(3.2404542*(a=.95047*$e(a))-1.5371385*(r=1*$e(r))-.4985314*(i=1.08883*$e(i))),Ke(-.969266*a+1.8760108*r+.041556*i),Ke(.0556434*a-.2040259*r+1.0572252*i))}function Ge(e,t,n){return e>0?new Be(Math.atan2(n,t)*Ae,Math.sqrt(t*t+n*n),e):new Be(NaN,NaN,e)}function $e(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function Xe(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function Ke(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function Je(e,t,n){return this instanceof Je?(this.r=~~e,this.g=~~t,void(this.b=~~n)):arguments.length<2?e instanceof Je?new Je(e.r,e.g,e.b):rt(\"\"+e,Je,Ze):new Je(e,t,n)}function Qe(e){return new Je(e>>16,e>>8&255,255&e)}function et(e){return Qe(e)+\"\"}Ve.brighter=function(e){return new Ue(Math.min(100,this.l+We*(arguments.length?e:1)),this.a,this.b)},Ve.darker=function(e){return new Ue(Math.max(0,this.l-We*(arguments.length?e:1)),this.a,this.b)},Ve.rgb=function(){return Ye(this.l,this.a,this.b)},e.rgb=Je;var tt=Je.prototype=new Ne;function nt(e){return e<16?\"0\"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function rt(e,t,n){var r,a,i,o=0,l=0,s=0;if(r=/([a-z]+)\\((.*)\\)/.exec(e=e.toLowerCase()))switch(a=r[2].split(\",\"),r[1]){case\"hsl\":return n(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case\"rgb\":return t(lt(a[0]),lt(a[1]),lt(a[2]))}return(i=st.get(e))?t(i.r,i.g,i.b):(null==e||\"#\"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(o=(3840&i)>>4,o|=o>>4,l=240&i,l|=l>>4,s=15&i,s|=s<<4):7===e.length&&(o=(16711680&i)>>16,l=(65280&i)>>8,s=255&i)),t(o,l,s))}function at(e,t,n){var r,a,i=Math.min(e/=255,t/=255,n/=255),o=Math.max(e,t,n),l=o-i,s=(o+i)/2;return l?(a=s<.5?l/(o+i):l/(2-o-i),r=e==o?(t-n)/l+(t<n?6:0):t==o?(n-e)/l+2:(e-t)/l+4,r*=60):(r=NaN,a=s>0&&s<1?0:r),new ze(r,a,s)}function it(e,t,n){var r=Xe((.4124564*(e=ot(e))+.3575761*(t=ot(t))+.1804375*(n=ot(n)))/.95047),a=Xe((.2126729*e+.7151522*t+.072175*n)/1);return Ue(116*a-16,500*(r-a),200*(a-Xe((.0193339*e+.119192*t+.9503041*n)/1.08883)))}function ot(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function lt(e){var t=parseFloat(e);return\"%\"===e.charAt(e.length-1)?Math.round(2.55*t):t}tt.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,n=this.g,r=this.b,a=30;return t||n||r?(t&&t<a&&(t=a),n&&n<a&&(n=a),r&&r<a&&(r=a),new Je(Math.min(255,t/e),Math.min(255,n/e),Math.min(255,r/e))):new Je(a,a,a)},tt.darker=function(e){return new Je((e=Math.pow(.7,arguments.length?e:1))*this.r,e*this.g,e*this.b)},tt.hsl=function(){return at(this.r,this.g,this.b)},tt.toString=function(){return\"#\"+nt(this.r)+nt(this.g)+nt(this.b)};var st=e.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});function ut(e){return\"function\"==typeof e?e:function(){return e}}function ct(e){return function(t,n,r){return 2===arguments.length&&\"function\"==typeof n&&(r=n,n=null),ft(t,n,e,r)}}function ft(t,n,a,i){var o={},l=e.dispatch(\"beforesend\",\"progress\",\"load\",\"error\"),s={},u=new XMLHttpRequest,c=null;function f(){var e,t=u.status;if(!t&&function(e){var t=e.responseType;return t&&\"text\"!==t?e.response:e.responseText}(u)||t>=200&&t<300||304===t){try{e=a.call(o,u)}catch(e){return void l.error.call(o,e)}l.load.call(o,e)}else l.error.call(o,u)}return self.XDomainRequest&&!(\"withCredentials\"in u)&&/^(http(s)?:)?\\/\\//.test(t)&&(u=new XDomainRequest),\"onload\"in u?u.onload=u.onerror=f:u.onreadystatechange=function(){u.readyState>3&&f()},u.onprogress=function(t){var n=e.event;e.event=t;try{l.progress.call(o,u)}finally{e.event=n}},o.header=function(e,t){return e=(e+\"\").toLowerCase(),arguments.length<2?s[e]:(null==t?delete s[e]:s[e]=t+\"\",o)},o.mimeType=function(e){return arguments.length?(n=null==e?null:e+\"\",o):n},o.responseType=function(e){return arguments.length?(c=e,o):c},o.response=function(e){return a=e,o},[\"get\",\"post\"].forEach((function(e){o[e]=function(){return o.send.apply(o,[e].concat(r(arguments)))}})),o.send=function(e,r,a){if(2===arguments.length&&\"function\"==typeof r&&(a=r,r=null),u.open(e,t,!0),null==n||\"accept\"in s||(s.accept=n+\",*/*\"),u.setRequestHeader)for(var i in s)u.setRequestHeader(i,s[i]);return null!=n&&u.overrideMimeType&&u.overrideMimeType(n),null!=c&&(u.responseType=c),null!=a&&o.on(\"error\",a).on(\"load\",(function(e){a(null,e)})),l.beforesend.call(o,u),u.send(null==r?null:r),o},o.abort=function(){return u.abort(),o},e.rebind(o,l,\"on\"),null==i?o:o.get(function(e){return 1===e.length?function(t,n){e(null==t?n:null)}:e}(i))}st.forEach((function(e,t){st.set(e,Qe(t))})),e.functor=ut,e.xhr=ct(A),e.dsv=function(e,t){var n=new RegExp('[\"'+e+\"\\n]\"),r=e.charCodeAt(0);function a(e,n,r){arguments.length<3&&(r=n,n=null);var a=ft(e,t,null==n?i:o(n),r);return a.row=function(e){return arguments.length?a.response(null==(n=e)?i:o(e)):n},a}function i(e){return a.parse(e.responseText)}function o(e){return function(t){return a.parse(t.responseText,e)}}function l(t){return t.map(s).join(e)}function s(e){return n.test(e)?'\"'+e.replace(/\\\"/g,'\"\"')+'\"':e}return a.parse=function(e,t){var n;return a.parseRows(e,(function(e,r){if(n)return n(e,r-1);var a=function(t){for(var n={},r=e.length,a=0;a<r;++a)n[e[a]]=t[a];return n};n=t?function(e,n){return t(a(e),n)}:a}))},a.parseRows=function(e,t){var n,a,i={},o={},l=[],s=e.length,u=0,c=0;function f(){if(u>=s)return o;if(a)return a=!1,i;var t=u;if(34===e.charCodeAt(t)){for(var n=t;n++<s;)if(34===e.charCodeAt(n)){if(34!==e.charCodeAt(n+1))break;++n}return u=n+2,13===(l=e.charCodeAt(n+1))?(a=!0,10===e.charCodeAt(n+2)&&++u):10===l&&(a=!0),e.slice(t+1,n).replace(/\"\"/g,'\"')}for(;u<s;){var l,c=1;if(10===(l=e.charCodeAt(u++)))a=!0;else if(13===l)a=!0,10===e.charCodeAt(u)&&(++u,++c);else if(l!==r)continue;return e.slice(t,u-c)}return e.slice(t)}for(;(n=f())!==o;){for(var d=[];n!==i&&n!==o;)d.push(n),n=f();t&&null==(d=t(d,c++))||l.push(d)}return l},a.format=function(t){if(Array.isArray(t[0]))return a.formatRows(t);var n=new O,r=[];return t.forEach((function(e){for(var t in e)n.has(t)||r.push(n.add(t))})),[r.map(s).join(e)].concat(t.map((function(t){return r.map((function(e){return s(t[e])})).join(e)}))).join(\"\\n\")},a.formatRows=function(e){return e.map(l).join(\"\\n\")},a},e.csv=e.dsv(\",\",\"text/csv\"),e.tsv=e.dsv(\"\\t\",\"text/tab-separated-values\");var dt,pt,ht,mt,gt=this[P(this,\"requestAnimationFrame\")]||function(e){setTimeout(e,17)};function yt(e,t,n){var r=arguments.length;r<2&&(t=0),r<3&&(n=Date.now());var a={c:e,t:n+t,n:null};return pt?pt.n=a:dt=a,pt=a,ht||(mt=clearTimeout(mt),ht=1,gt(vt)),a}function vt(){var e=bt(),t=xt()-e;t>24?(isFinite(t)&&(clearTimeout(mt),mt=setTimeout(vt,t)),ht=0):(ht=1,gt(vt))}function bt(){for(var e=Date.now(),t=dt;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function xt(){for(var e,t=dt,n=1/0;t;)t.c?(t.t<n&&(n=t.t),t=(e=t).n):t=e?e.n=t.n:dt=t.n;return pt=e,n}function wt(e){return e[0]}function _t(e){return e[1]}function kt(e){for(var t,n,r,a=e.length,i=[0,1],o=2,l=2;l<a;l++){for(;o>1&&(t=e[i[o-2]],n=e[i[o-1]],r=e[l],(n[0]-t[0])*(r[1]-t[1])-(n[1]-t[1])*(r[0]-t[0])<=0);)--o;i[o++]=l}return i.slice(0,o)}function Tt(e,t){return e[0]-t[0]||e[1]-t[1]}e.timer=function(){yt.apply(this,arguments)},e.timer.flush=function(){bt(),xt()},e.round=function(e,t){return t?Math.round(e*(t=Math.pow(10,t)))/t:Math.round(e)},e.geom={},e.geom.hull=function(e){var t=wt,n=_t;if(arguments.length)return r(e);function r(e){if(e.length<3)return[];var r,a=ut(t),i=ut(n),o=e.length,l=[],s=[];for(r=0;r<o;r++)l.push([+a.call(this,e[r],r),+i.call(this,e[r],r),r]);for(l.sort(Tt),r=0;r<o;r++)s.push([l[r][0],-l[r][1]]);var u=kt(l),c=kt(s),f=c[0]===u[0],d=c[c.length-1]===u[u.length-1],p=[];for(r=u.length-1;r>=0;--r)p.push(e[l[u[r]][2]]);for(r=+f;r<c.length-d;++r)p.push(e[l[c[r]][2]]);return p}return r.x=function(e){return arguments.length?(t=e,r):t},r.y=function(e){return arguments.length?(n=e,r):n},r},e.geom.polygon=function(e){return B(e,Mt),e};var Mt=e.geom.polygon.prototype=[];function St(e,t,n){return(n[0]-t[0])*(e[1]-t[1])<(n[1]-t[1])*(e[0]-t[0])}function Et(e,t,n,r){var a=e[0],i=n[0],o=t[0]-a,l=r[0]-i,s=e[1],u=n[1],c=t[1]-s,f=r[1]-u,d=(l*(s-u)-f*(a-i))/(f*o-l*c);return[a+d*o,s+d*c]}function Ct(e){var t=e[0],n=e[e.length-1];return!(t[0]-n[0]||t[1]-n[1])}Mt.area=function(){for(var e,t=-1,n=this.length,r=this[n-1],a=0;++t<n;)e=r,r=this[t],a+=e[1]*r[0]-e[0]*r[1];return.5*a},Mt.centroid=function(e){var t,n,r=-1,a=this.length,i=0,o=0,l=this[a-1];for(arguments.length||(e=-1/(6*this.area()));++r<a;)t=l,l=this[r],n=t[0]*l[1]-l[0]*t[1],i+=(t[0]+l[0])*n,o+=(t[1]+l[1])*n;return[i*e,o*e]},Mt.clip=function(e){for(var t,n,r,a,i,o,l=Ct(e),s=-1,u=this.length-Ct(this),c=this[u-1];++s<u;){for(t=e.slice(),e.length=0,a=this[s],i=t[(r=t.length-l)-1],n=-1;++n<r;)St(o=t[n],c,a)?(St(i,c,a)||e.push(Et(i,o,c,a)),e.push(o)):St(i,c,a)&&e.push(Et(i,o,c,a)),i=o;l&&e.push(e[0]),c=a}return e};var Ot,At,Dt,Pt,Rt,Lt=[],It=[];function jt(){tn(this),this.edge=this.site=this.circle=null}function Nt(e){var t=Lt.pop()||new jt;return t.site=e,t}function zt(e){Yt(e),Dt.remove(e),Lt.push(e),tn(e)}function Ft(e){var t=e.circle,n=t.x,r=t.cy,a={x:n,y:r},i=e.P,o=e.N,l=[e];zt(e);for(var s=i;s.circle&&v(n-s.circle.x)<Te&&v(r-s.circle.cy)<Te;)i=s.P,l.unshift(s),zt(s),s=i;l.unshift(s),Yt(s);for(var u=o;u.circle&&v(n-u.circle.x)<Te&&v(r-u.circle.cy)<Te;)o=u.N,l.push(u),zt(u),u=o;l.push(u),Yt(u);var c,f=l.length;for(c=1;c<f;++c)u=l[c],s=l[c-1],Jt(u.edge,s.site,u.site,a);s=l[0],(u=l[f-1]).edge=Xt(s.site,u.site,null,a),Vt(s),Vt(u)}function Zt(e){for(var t,n,r,a,i=e.x,o=e.y,l=Dt._;l;)if((r=Bt(l,o)-i)>Te)l=l.L;else{if(!((a=i-qt(l,o))>Te)){r>-Te?(t=l.P,n=l):a>-Te?(t=l,n=l.N):t=n=l;break}if(!l.R){t=l;break}l=l.R}var s=Nt(e);if(Dt.insert(t,s),t||n){if(t===n)return Yt(t),n=Nt(t.site),Dt.insert(s,n),s.edge=n.edge=Xt(t.site,s.site),Vt(t),void Vt(n);if(n){Yt(t),Yt(n);var u=t.site,c=u.x,f=u.y,d=e.x-c,p=e.y-f,h=n.site,m=h.x-c,g=h.y-f,y=2*(d*g-p*m),v=d*d+p*p,b=m*m+g*g,x={x:(g*v-p*b)/y+c,y:(d*b-m*v)/y+f};Jt(n.edge,u,h,x),s.edge=Xt(u,e,null,x),n.edge=Xt(e,h,null,x),Vt(t),Vt(n)}else s.edge=Xt(t.site,s.site)}}function Bt(e,t){var n=e.site,r=n.x,a=n.y,i=a-t;if(!i)return r;var o=e.P;if(!o)return-1/0;var l=(n=o.site).x,s=n.y,u=s-t;if(!u)return l;var c=l-r,f=1/i-1/u,d=c/u;return f?(-d+Math.sqrt(d*d-2*f*(c*c/(-2*u)-s+u/2+a-i/2)))/f+r:(r+l)/2}function qt(e,t){var n=e.N;if(n)return Bt(n,t);var r=e.site;return r.y===t?r.x:1/0}function Ht(e){this.site=e,this.edges=[]}function Ut(e,t){return t.angle-e.angle}function Wt(){tn(this),this.x=this.y=this.arc=this.site=this.cy=null}function Vt(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,a=e.site,i=n.site;if(r!==i){var o=a.x,l=a.y,s=r.x-o,u=r.y-l,c=i.x-o,f=2*(s*(g=i.y-l)-u*c);if(!(f>=-1e-12)){var d=s*s+u*u,p=c*c+g*g,h=(g*d-u*p)/f,m=(s*p-c*d)/f,g=m+l,y=It.pop()||new Wt;y.arc=e,y.site=a,y.x=h+o,y.y=g+Math.sqrt(h*h+m*m),y.cy=g,e.circle=y;for(var v=null,b=Rt._;b;)if(y.y<b.y||y.y===b.y&&y.x<=b.x){if(!b.L){v=b.P;break}b=b.L}else{if(!b.R){v=b;break}b=b.R}Rt.insert(v,y),v||(Pt=y)}}}}function Yt(e){var t=e.circle;t&&(t.P||(Pt=t.N),Rt.remove(t),It.push(t),tn(t),e.circle=null)}function Gt(e,t){var n=e.b;if(n)return!0;var r,a,i=e.a,o=t[0][0],l=t[1][0],s=t[0][1],u=t[1][1],c=e.l,f=e.r,d=c.x,p=c.y,h=f.x,m=f.y,g=(d+h)/2,y=(p+m)/2;if(m===p){if(g<o||g>=l)return;if(d>h){if(i){if(i.y>=u)return}else i={x:g,y:s};n={x:g,y:u}}else{if(i){if(i.y<s)return}else i={x:g,y:u};n={x:g,y:s}}}else if(a=y-(r=(d-h)/(m-p))*g,r<-1||r>1)if(d>h){if(i){if(i.y>=u)return}else i={x:(s-a)/r,y:s};n={x:(u-a)/r,y:u}}else{if(i){if(i.y<s)return}else i={x:(u-a)/r,y:u};n={x:(s-a)/r,y:s}}else if(p<m){if(i){if(i.x>=l)return}else i={x:o,y:r*o+a};n={x:l,y:r*l+a}}else{if(i){if(i.x<o)return}else i={x:l,y:r*l+a};n={x:o,y:r*o+a}}return e.a=i,e.b=n,!0}function $t(e,t){this.l=e,this.r=t,this.a=this.b=null}function Xt(e,t,n,r){var a=new $t(e,t);return Ot.push(a),n&&Jt(a,e,t,n),r&&Jt(a,t,e,r),At[e.i].edges.push(new Qt(a,e,t)),At[t.i].edges.push(new Qt(a,t,e)),a}function Kt(e,t,n){var r=new $t(e,null);return r.a=t,r.b=n,Ot.push(r),r}function Jt(e,t,n,r){e.a||e.b?e.l===n?e.b=r:e.a=r:(e.a=r,e.l=t,e.r=n)}function Qt(e,t,n){var r=e.a,a=e.b;this.edge=e,this.site=t,this.angle=n?Math.atan2(n.y-t.y,n.x-t.x):e.l===t?Math.atan2(a.x-r.x,r.y-a.y):Math.atan2(r.x-a.x,a.y-r.y)}function en(){this._=null}function tn(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function nn(e,t){var n=t,r=t.R,a=n.U;a?a.L===n?a.L=r:a.R=r:e._=r,r.U=a,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function rn(e,t){var n=t,r=t.L,a=n.U;a?a.L===n?a.L=r:a.R=r:e._=r,r.U=a,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function an(e){for(;e.L;)e=e.L;return e}function on(e,t){var n,r,a,i=e.sort(ln).pop();for(Ot=[],At=new Array(e.length),Dt=new en,Rt=new en;;)if(a=Pt,i&&(!a||i.y<a.y||i.y===a.y&&i.x<a.x))i.x===n&&i.y===r||(At[i.i]=new Ht(i),Zt(i),n=i.x,r=i.y),i=e.pop();else{if(!a)break;Ft(a.arc)}t&&(function(e){for(var t,n,r,a,i,o=Ot,l=(n=e[0][0],r=e[0][1],a=e[1][0],i=e[1][1],function(e){var t,o=e.a,l=e.b,s=o.x,u=o.y,c=0,f=1,d=l.x-s,p=l.y-u;if(t=n-s,d||!(t>0)){if(t/=d,d<0){if(t<c)return;t<f&&(f=t)}else if(d>0){if(t>f)return;t>c&&(c=t)}if(t=a-s,d||!(t<0)){if(t/=d,d<0){if(t>f)return;t>c&&(c=t)}else if(d>0){if(t<c)return;t<f&&(f=t)}if(t=r-u,p||!(t>0)){if(t/=p,p<0){if(t<c)return;t<f&&(f=t)}else if(p>0){if(t>f)return;t>c&&(c=t)}if(t=i-u,p||!(t<0)){if(t/=p,p<0){if(t>f)return;t>c&&(c=t)}else if(p>0){if(t<c)return;t<f&&(f=t)}return c>0&&(e.a={x:s+c*d,y:u+c*p}),f<1&&(e.b={x:s+f*d,y:u+f*p}),e}}}}}),s=o.length;s--;)(!Gt(t=o[s],e)||!l(t)||v(t.a.x-t.b.x)<Te&&v(t.a.y-t.b.y)<Te)&&(t.a=t.b=null,o.splice(s,1))}(t),function(e){for(var t,n,r,a,i,o,l,s,u,c,f=e[0][0],d=e[1][0],p=e[0][1],h=e[1][1],m=At,g=m.length;g--;)if((i=m[g])&&i.prepare())for(s=(l=i.edges).length,o=0;o<s;)r=(c=l[o].end()).x,a=c.y,t=(u=l[++o%s].start()).x,n=u.y,(v(r-t)>Te||v(a-n)>Te)&&(l.splice(o,0,new Qt(Kt(i.site,c,v(r-f)<Te&&h-a>Te?{x:f,y:v(t-f)<Te?n:h}:v(a-h)<Te&&d-r>Te?{x:v(n-h)<Te?t:d,y:h}:v(r-d)<Te&&a-p>Te?{x:d,y:v(t-d)<Te?n:p}:v(a-p)<Te&&r-f>Te?{x:v(n-p)<Te?t:f,y:p}:null),i.site,null)),++s)}(t));var o={cells:At,edges:Ot};return Dt=Rt=Ot=At=null,o}function ln(e,t){return t.y-e.y||t.x-e.x}Ht.prototype.prepare=function(){for(var e,t=this.edges,n=t.length;n--;)(e=t[n].edge).b&&e.a||t.splice(n,1);return t.sort(Ut),t.length},Qt.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},en.prototype={insert:function(e,t){var n,r,a;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=an(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(a=r.R)&&a.C?(n.C=a.C=!1,r.C=!0,e=r):(e===n.R&&(nn(this,n),n=(e=n).U),n.C=!1,r.C=!0,rn(this,r)):(a=r.L)&&a.C?(n.C=a.C=!1,r.C=!0,e=r):(e===n.L&&(rn(this,n),n=(e=n).U),n.C=!1,r.C=!0,nn(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,a=e.U,i=e.L,o=e.R;if(n=i?o?an(o):i:o,a?a.L===e?a.L=n:a.R=n:this._=n,i&&o?(r=n.C,n.C=e.C,n.L=i,i.U=n,n!==o?(a=n.U,n.U=e.U,e=n.R,a.L=e,n.R=o,o.U=n):(n.U=a,a=n,e=n.R)):(r=e.C,e=n),e&&(e.U=a),!r)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===a.L){if((t=a.R).C&&(t.C=!1,a.C=!0,nn(this,a),t=a.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,rn(this,t),t=a.R),t.C=a.C,a.C=t.R.C=!1,nn(this,a),e=this._;break}}else if((t=a.L).C&&(t.C=!1,a.C=!0,rn(this,a),t=a.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,nn(this,t),t=a.L),t.C=a.C,a.C=t.L.C=!1,rn(this,a),e=this._;break}t.C=!0,e=a,a=a.U}while(!e.C);e&&(e.C=!1)}}},e.geom.voronoi=function(e){var t=wt,n=_t,r=t,a=n,i=sn;if(e)return o(e);function o(e){var t=new Array(e.length),n=i[0][0],r=i[0][1],a=i[1][0],o=i[1][1];return on(l(e),i).cells.forEach((function(i,l){var s=i.edges,u=i.site;(t[l]=s.length?s.map((function(e){var t=e.start();return[t.x,t.y]})):u.x>=n&&u.x<=a&&u.y>=r&&u.y<=o?[[n,o],[a,o],[a,r],[n,r]]:[]).point=e[l]})),t}function l(e){return e.map((function(e,t){return{x:Math.round(r(e,t)/Te)*Te,y:Math.round(a(e,t)/Te)*Te,i:t}}))}return o.links=function(e){return on(l(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},o.triangles=function(e){var t=[];return on(l(e)).cells.forEach((function(n,r){for(var a,i,o,l,s=n.site,u=n.edges.sort(Ut),c=-1,f=u.length,d=u[f-1].edge,p=d.l===s?d.r:d.l;++c<f;)a=p,p=(d=u[c].edge).l===s?d.r:d.l,r<a.i&&r<p.i&&(o=a,l=p,((i=s).x-l.x)*(o.y-i.y)-(i.x-o.x)*(l.y-i.y)<0)&&t.push([e[r],e[a.i],e[p.i]])})),t},o.x=function(e){return arguments.length?(r=ut(t=e),o):t},o.y=function(e){return arguments.length?(a=ut(n=e),o):n},o.clipExtent=function(e){return arguments.length?(i=null==e?sn:e,o):i===sn?null:i},o.size=function(e){return arguments.length?o.clipExtent(e&&[[0,0],e]):i===sn?null:i&&i[1]},o};var sn=[[-1e6,-1e6],[1e6,1e6]];function un(e){return e.x}function cn(e){return e.y}function fn(e,t,n,r,a,i){if(!e(t,n,r,a,i)){var o=.5*(n+a),l=.5*(r+i),s=t.nodes;s[0]&&fn(e,s[0],n,r,o,l),s[1]&&fn(e,s[1],o,r,a,l),s[2]&&fn(e,s[2],n,l,o,i),s[3]&&fn(e,s[3],o,l,a,i)}}function dn(e,t,n,r,a,i,o){var l,s=1/0;return function e(u,c,f,d,p){if(!(c>i||f>o||d<r||p<a)){if(h=u.point){var h,m=t-u.x,g=n-u.y,y=m*m+g*g;if(y<s){var v=Math.sqrt(s=y);r=t-v,a=n-v,i=t+v,o=n+v,l=h}}for(var b=u.nodes,x=.5*(c+d),w=.5*(f+p),_=(n>=w)<<1|t>=x,k=_+4;_<k;++_)if(u=b[3&_])switch(3&_){case 0:e(u,c,f,x,w);break;case 1:e(u,x,f,d,w);break;case 2:e(u,c,w,x,p);break;case 3:e(u,x,w,d,p)}}}(e,r,a,i,o),l}function pn(t,n){t=e.rgb(t),n=e.rgb(n);var r=t.r,a=t.g,i=t.b,o=n.r-r,l=n.g-a,s=n.b-i;return function(e){return\"#\"+nt(Math.round(r+o*e))+nt(Math.round(a+l*e))+nt(Math.round(i+s*e))}}function hn(e,t){var n,r={},a={};for(n in e)n in t?r[n]=bn(e[n],t[n]):a[n]=e[n];for(n in t)n in e||(a[n]=t[n]);return function(e){for(n in r)a[n]=r[n](e);return a}}function mn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function gn(e,t){var n,r,a,i=yn.lastIndex=vn.lastIndex=0,o=-1,l=[],s=[];for(e+=\"\",t+=\"\";(n=yn.exec(e))&&(r=vn.exec(t));)(a=r.index)>i&&(a=t.slice(i,a),l[o]?l[o]+=a:l[++o]=a),(n=n[0])===(r=r[0])?l[o]?l[o]+=r:l[++o]=r:(l[++o]=null,s.push({i:o,x:mn(n,r)})),i=vn.lastIndex;return i<t.length&&(a=t.slice(i),l[o]?l[o]+=a:l[++o]=a),l.length<2?s[0]?(t=s[0].x,function(e){return t(e)+\"\"}):function(){return t}:(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join(\"\")})}e.geom.delaunay=function(t){return e.geom.voronoi().triangles(t)},e.geom.quadtree=function(e,t,n,r,a){var i,o=wt,l=_t;if(i=arguments.length)return o=un,l=cn,3===i&&(a=n,r=t,n=t=0),s(e);function s(e){var s,u,c,f,d,p,h,m,g,y=ut(o),b=ut(l);if(null!=t)p=t,h=n,m=r,g=a;else if(m=g=-(p=h=1/0),u=[],c=[],d=e.length,i)for(f=0;f<d;++f)(s=e[f]).x<p&&(p=s.x),s.y<h&&(h=s.y),s.x>m&&(m=s.x),s.y>g&&(g=s.y),u.push(s.x),c.push(s.y);else for(f=0;f<d;++f){var x=+y(s=e[f],f),w=+b(s,f);x<p&&(p=x),w<h&&(h=w),x>m&&(m=x),w>g&&(g=w),u.push(x),c.push(w)}var _=m-p,k=g-h;function T(e,t,n,r,a,i,o,l){if(!isNaN(n)&&!isNaN(r))if(e.leaf){var s=e.x,u=e.y;if(null!=s)if(v(s-n)+v(u-r)<.01)M(e,t,n,r,a,i,o,l);else{var c=e.point;e.x=e.y=e.point=null,M(e,c,s,u,a,i,o,l),M(e,t,n,r,a,i,o,l)}else e.x=n,e.y=r,e.point=t}else M(e,t,n,r,a,i,o,l)}function M(e,t,n,r,a,i,o,l){var s=.5*(a+o),u=.5*(i+l),c=n>=s,f=r>=u,d=f<<1|c;e.leaf=!1,c?a=s:o=s,f?i=u:l=u,T(e=e.nodes[d]||(e.nodes[d]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,n,r,a,i,o,l)}_>k?g=h+_:m=p+k;var S={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){T(S,e,+y(e,++f),+b(e,f),p,h,m,g)},visit:function(e){fn(e,S,p,h,m,g)},find:function(e){return dn(S,e[0],e[1],p,h,m,g)}};if(f=-1,null==t){for(;++f<d;)T(S,e[f],u[f],c[f],p,h,m,g);--f}else e.forEach(S.add);return u=c=e=s=null,S}return s.x=function(e){return arguments.length?(o=e,s):o},s.y=function(e){return arguments.length?(l=e,s):l},s.extent=function(e){return arguments.length?(null==e?t=n=r=a=null:(t=+e[0][0],n=+e[0][1],r=+e[1][0],a=+e[1][1]),s):null==t?null:[[t,n],[r,a]]},s.size=function(e){return arguments.length?(null==e?t=n=r=a=null:(t=n=0,r=+e[0],a=+e[1]),s):null==t?null:[r-t,a-n]},s},e.interpolateRgb=pn,e.interpolateObject=hn,e.interpolateNumber=mn,e.interpolateString=gn;var yn=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,vn=new RegExp(yn.source,\"g\");function bn(t,n){for(var r,a=e.interpolators.length;--a>=0&&!(r=e.interpolators[a](t,n)););return r}function xn(e,t){var n,r=[],a=[],i=e.length,o=t.length,l=Math.min(e.length,t.length);for(n=0;n<l;++n)r.push(bn(e[n],t[n]));for(;n<i;++n)a[n]=e[n];for(;n<o;++n)a[n]=t[n];return function(e){for(n=0;n<l;++n)a[n]=r[n](e);return a}}e.interpolate=bn,e.interpolators=[function(e,t){var n=typeof t;return(\"string\"===n?st.has(t.toLowerCase())||/^(#|rgb\\(|hsl\\()/i.test(t)?pn:gn:t instanceof Ne?pn:Array.isArray(t)?xn:\"object\"===n&&isNaN(t)?hn:mn)(e,t)}],e.interpolateArray=xn;var wn=function(){return A},_n=e.map({linear:wn,poly:function(e){return function(t){return Math.pow(t,e)}},quad:function(){return En},cubic:function(){return Cn},sin:function(){return An},exp:function(){return Dn},circle:function(){return Pn},elastic:function(e,t){var n;return arguments.length<2&&(t=.45),arguments.length?n=t/Se*Math.asin(1/e):(e=1,n=t/4),function(r){return 1+e*Math.pow(2,-10*r)*Math.sin((r-n)*Se/t)}},back:function(e){return e||(e=1.70158),function(t){return t*t*((e+1)*t-e)}},bounce:function(){return Rn}}),kn=e.map({in:A,out:Mn,\"in-out\":Sn,\"out-in\":function(e){return Sn(Mn(e))}});function Tn(e){return function(t){return t<=0?0:t>=1?1:e(t)}}function Mn(e){return function(t){return 1-e(1-t)}}function Sn(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function En(e){return e*e}function Cn(e){return e*e*e}function On(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}function An(e){return 1-Math.cos(e*Ce)}function Dn(e){return Math.pow(2,10*(e-1))}function Pn(e){return 1-Math.sqrt(1-e*e)}function Rn(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}function Ln(e,t){return t-=e,function(n){return Math.round(e+t*n)}}function In(e){var t,n,r,a=[e.a,e.b],i=[e.c,e.d],o=Nn(a),l=jn(a,i),s=Nn(((t=i)[0]+=(r=-l)*(n=a)[0],t[1]+=r*n[1],t))||0;a[0]*i[1]<i[0]*a[1]&&(a[0]*=-1,a[1]*=-1,o*=-1,l*=-1),this.rotate=(o?Math.atan2(a[1],a[0]):Math.atan2(-i[0],i[1]))*Ae,this.translate=[e.e,e.f],this.scale=[o,s],this.skew=s?Math.atan2(l,s)*Ae:0}function jn(e,t){return e[0]*t[0]+e[1]*t[1]}function Nn(e){var t=Math.sqrt(jn(e,e));return t&&(e[0]/=t,e[1]/=t),t}e.ease=function(e){var t=e.indexOf(\"-\"),r=t>=0?e.slice(0,t):e,a=t>=0?e.slice(t+1):\"in\";return r=_n.get(r)||wn,Tn((a=kn.get(a)||A)(r.apply(null,n.call(arguments,1))))},e.interpolateHcl=function(t,n){t=e.hcl(t),n=e.hcl(n);var r=t.h,a=t.c,i=t.l,o=n.h-r,l=n.c-a,s=n.l-i;return isNaN(l)&&(l=0,a=isNaN(a)?n.c:a),isNaN(o)?(o=0,r=isNaN(r)?n.h:r):o>180?o-=360:o<-180&&(o+=360),function(e){return He(r+o*e,a+l*e,i+s*e)+\"\"}},e.interpolateHsl=function(t,n){t=e.hsl(t),n=e.hsl(n);var r=t.h,a=t.s,i=t.l,o=n.h-r,l=n.s-a,s=n.l-i;return isNaN(l)&&(l=0,a=isNaN(a)?n.s:a),isNaN(o)?(o=0,r=isNaN(r)?n.h:r):o>180?o-=360:o<-180&&(o+=360),function(e){return Ze(r+o*e,a+l*e,i+s*e)+\"\"}},e.interpolateLab=function(t,n){t=e.lab(t),n=e.lab(n);var r=t.l,a=t.a,i=t.b,o=n.l-r,l=n.a-a,s=n.b-i;return function(e){return Ye(r+o*e,a+l*e,i+s*e)+\"\"}},e.interpolateRound=Ln,e.transform=function(t){var n=a.createElementNS(e.ns.prefix.svg,\"g\");return(e.transform=function(e){if(null!=e){n.setAttribute(\"transform\",e);var t=n.transform.baseVal.consolidate()}return new In(t?t.matrix:zn)})(t)},In.prototype.toString=function(){return\"translate(\"+this.translate+\")rotate(\"+this.rotate+\")skewX(\"+this.skew+\")scale(\"+this.scale+\")\"};var zn={a:1,b:0,c:0,d:1,e:0,f:0};function Fn(e){return e.length?e.pop()+\",\":\"\"}function Zn(t,n){var r=[],a=[];return t=e.transform(t),n=e.transform(n),function(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var a=n.push(\"translate(\",null,\",\",null,\")\");r.push({i:a-4,x:mn(e[0],t[0])},{i:a-2,x:mn(e[1],t[1])})}else(t[0]||t[1])&&n.push(\"translate(\"+t+\")\")}(t.translate,n.translate,r,a),function(e,t,n,r){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),r.push({i:n.push(Fn(n)+\"rotate(\",null,\")\")-2,x:mn(e,t)})):t&&n.push(Fn(n)+\"rotate(\"+t+\")\")}(t.rotate,n.rotate,r,a),function(e,t,n,r){e!==t?r.push({i:n.push(Fn(n)+\"skewX(\",null,\")\")-2,x:mn(e,t)}):t&&n.push(Fn(n)+\"skewX(\"+t+\")\")}(t.skew,n.skew,r,a),function(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var a=n.push(Fn(n)+\"scale(\",null,\",\",null,\")\");r.push({i:a-4,x:mn(e[0],t[0])},{i:a-2,x:mn(e[1],t[1])})}else 1===t[0]&&1===t[1]||n.push(Fn(n)+\"scale(\"+t+\")\")}(t.scale,n.scale,r,a),t=n=null,function(e){for(var t,n=-1,i=a.length;++n<i;)r[(t=a[n]).i]=t.x(e);return r.join(\"\")}}function Bn(e,t){return t=(t-=e=+e)||1/t,function(n){return(n-e)/t}}function qn(e,t){return t=(t-=e=+e)||1/t,function(n){return Math.max(0,Math.min(1,(n-e)/t))}}function Hn(e){for(var t=e.source,n=e.target,r=function(e,t){if(e===t)return e;for(var n=Un(e),r=Un(t),a=n.pop(),i=r.pop(),o=null;a===i;)o=a,a=n.pop(),i=r.pop();return o}(t,n),a=[t];t!==r;)t=t.parent,a.push(t);for(var i=a.length;n!==r;)a.splice(i,0,n),n=n.parent;return a}function Un(e){for(var t=[],n=e.parent;null!=n;)t.push(e),e=n,n=n.parent;return t.push(e),t}function Wn(e){e.fixed|=2}function Vn(e){e.fixed&=-7}function Yn(e){e.fixed|=4,e.px=e.x,e.py=e.y}function Gn(e){e.fixed&=-5}e.interpolateTransform=Zn,e.layout={},e.layout.bundle=function(){return function(e){for(var t=[],n=-1,r=e.length;++n<r;)t.push(Hn(e[n]));return t}},e.layout.chord=function(){var t,n,r,a,i,o,l,s={},u=0;function c(){var s,c,d,p,h,m={},g=[],y=e.range(a),v=[];for(t=[],n=[],s=0,p=-1;++p<a;){for(c=0,h=-1;++h<a;)c+=r[p][h];g.push(c),v.push(e.range(a)),s+=c}for(i&&y.sort((function(e,t){return i(g[e],g[t])})),o&&v.forEach((function(e,t){e.sort((function(e,n){return o(r[t][e],r[t][n])}))})),s=(Se-u*a)/s,c=0,p=-1;++p<a;){for(d=c,h=-1;++h<a;){var b=y[p],x=v[b][h],w=r[b][x],_=c,k=c+=w*s;m[b+\"-\"+x]={index:b,subindex:x,startAngle:_,endAngle:k,value:w}}n[b]={index:b,startAngle:d,endAngle:c,value:g[b]},c+=u}for(p=-1;++p<a;)for(h=p-1;++h<a;){var T=m[p+\"-\"+h],M=m[h+\"-\"+p];(T.value||M.value)&&t.push(T.value<M.value?{source:M,target:T}:{source:T,target:M})}l&&f()}function f(){t.sort((function(e,t){return l((e.source.value+e.target.value)/2,(t.source.value+t.target.value)/2)}))}return s.matrix=function(e){return arguments.length?(a=(r=e)&&r.length,t=n=null,s):r},s.padding=function(e){return arguments.length?(u=e,t=n=null,s):u},s.sortGroups=function(e){return arguments.length?(i=e,t=n=null,s):i},s.sortSubgroups=function(e){return arguments.length?(o=e,t=null,s):o},s.sortChords=function(e){return arguments.length?(l=e,t&&f(),s):l},s.chords=function(){return t||c(),t},s.groups=function(){return n||c(),n},s},e.layout.force=function(){var t,n,r,a,i,o,l={},s=e.dispatch(\"start\",\"tick\",\"end\"),u=[1,1],c=.9,f=$n,d=Xn,p=-30,h=Kn,m=.1,g=.64,y=[],v=[];function b(e){return function(t,n,r,a){if(t.point!==e){var i=t.cx-e.x,o=t.cy-e.y,l=a-n,s=i*i+o*o;if(l*l/g<s){if(s<h){var u=t.charge/s;e.px-=i*u,e.py-=o*u}return!0}t.point&&s&&s<h&&(u=t.pointCharge/s,e.px-=i*u,e.py-=o*u)}return!t.charge}}function x(t){t.px=e.event.x,t.py=e.event.y,l.resume()}return l.tick=function(){if((r*=.99)<.005)return t=null,s.end({type:\"end\",alpha:r=0}),!0;var n,l,f,d,h,g,x,w,_,k=y.length,T=v.length;for(l=0;l<T;++l)d=(f=v[l]).source,(g=(w=(h=f.target).x-d.x)*w+(_=h.y-d.y)*_)&&(w*=g=r*i[l]*((g=Math.sqrt(g))-a[l])/g,_*=g,h.x-=w*(x=d.weight+h.weight?d.weight/(d.weight+h.weight):.5),h.y-=_*x,d.x+=w*(x=1-x),d.y+=_*x);if((x=r*m)&&(w=u[0]/2,_=u[1]/2,l=-1,x))for(;++l<k;)(f=y[l]).x+=(w-f.x)*x,f.y+=(_-f.y)*x;if(p)for(function e(t,n,r){var a=0,i=0;if(t.charge=0,!t.leaf)for(var o,l=t.nodes,s=l.length,u=-1;++u<s;)null!=(o=l[u])&&(e(o,n,r),t.charge+=o.charge,a+=o.charge*o.cx,i+=o.charge*o.cy);if(t.point){t.leaf||(t.point.x+=Math.random()-.5,t.point.y+=Math.random()-.5);var c=n*r[t.point.index];t.charge+=t.pointCharge=c,a+=c*t.point.x,i+=c*t.point.y}t.cx=a/t.charge,t.cy=i/t.charge}(n=e.geom.quadtree(y),r,o),l=-1;++l<k;)(f=y[l]).fixed||n.visit(b(f));for(l=-1;++l<k;)(f=y[l]).fixed?(f.x=f.px,f.y=f.py):(f.x-=(f.px-(f.px=f.x))*c,f.y-=(f.py-(f.py=f.y))*c);s.tick({type:\"tick\",alpha:r})},l.nodes=function(e){return arguments.length?(y=e,l):y},l.links=function(e){return arguments.length?(v=e,l):v},l.size=function(e){return arguments.length?(u=e,l):u},l.linkDistance=function(e){return arguments.length?(f=\"function\"==typeof e?e:+e,l):f},l.distance=l.linkDistance,l.linkStrength=function(e){return arguments.length?(d=\"function\"==typeof e?e:+e,l):d},l.friction=function(e){return arguments.length?(c=+e,l):c},l.charge=function(e){return arguments.length?(p=\"function\"==typeof e?e:+e,l):p},l.chargeDistance=function(e){return arguments.length?(h=e*e,l):Math.sqrt(h)},l.gravity=function(e){return arguments.length?(m=+e,l):m},l.theta=function(e){return arguments.length?(g=e*e,l):Math.sqrt(g)},l.alpha=function(e){return arguments.length?(e=+e,r?e>0?r=e:(t.c=null,t.t=NaN,t=null,s.end({type:\"end\",alpha:r=0})):e>0&&(s.start({type:\"start\",alpha:r=e}),t=yt(l.tick)),l):r},l.start=function(){var e,t,n,r=y.length,s=v.length,c=u[0],h=u[1];for(e=0;e<r;++e)(n=y[e]).index=e,n.weight=0;for(e=0;e<s;++e)\"number\"==typeof(n=v[e]).source&&(n.source=y[n.source]),\"number\"==typeof n.target&&(n.target=y[n.target]),++n.source.weight,++n.target.weight;for(e=0;e<r;++e)n=y[e],isNaN(n.x)&&(n.x=m(\"x\",c)),isNaN(n.y)&&(n.y=m(\"y\",h)),isNaN(n.px)&&(n.px=n.x),isNaN(n.py)&&(n.py=n.y);if(a=[],\"function\"==typeof f)for(e=0;e<s;++e)a[e]=+f.call(this,v[e],e);else for(e=0;e<s;++e)a[e]=f;if(i=[],\"function\"==typeof d)for(e=0;e<s;++e)i[e]=+d.call(this,v[e],e);else for(e=0;e<s;++e)i[e]=d;if(o=[],\"function\"==typeof p)for(e=0;e<r;++e)o[e]=+p.call(this,y[e],e);else for(e=0;e<r;++e)o[e]=p;function m(n,a){if(!t){for(t=new Array(r),u=0;u<r;++u)t[u]=[];for(u=0;u<s;++u){var i=v[u];t[i.source.index].push(i.target),t[i.target.index].push(i.source)}}for(var o,l=t[e],u=-1,c=l.length;++u<c;)if(!isNaN(o=l[u][n]))return o;return Math.random()*a}return l.resume()},l.resume=function(){return l.alpha(.1)},l.stop=function(){return l.alpha(0)},l.drag=function(){if(n||(n=e.behavior.drag().origin(A).on(\"dragstart.force\",Wn).on(\"drag.force\",x).on(\"dragend.force\",Vn)),!arguments.length)return n;this.on(\"mouseover.force\",Yn).on(\"mouseout.force\",Gn).call(n)},e.rebind(l,s,\"on\")};var $n=20,Xn=1,Kn=1/0;function Jn(t,n){return e.rebind(t,n,\"sort\",\"children\",\"value\"),t.nodes=t,t.links=ar,t}function Qn(e,t){for(var n=[e];null!=(e=n.pop());)if(t(e),(a=e.children)&&(r=a.length))for(var r,a;--r>=0;)n.push(a[r])}function er(e,t){for(var n=[e],r=[];null!=(e=n.pop());)if(r.push(e),(i=e.children)&&(a=i.length))for(var a,i,o=-1;++o<a;)n.push(i[o]);for(;null!=(e=r.pop());)t(e)}function tr(e){return e.children}function nr(e){return e.value}function rr(e,t){return t.value-e.value}function ar(t){return e.merge(t.map((function(e){return(e.children||[]).map((function(t){return{source:e,target:t}}))})))}e.layout.hierarchy=function(){var e=rr,t=tr,n=nr;function r(a){var i,o=[a],l=[];for(a.depth=0;null!=(i=o.pop());)if(l.push(i),(u=t.call(r,i,i.depth))&&(s=u.length)){for(var s,u,c;--s>=0;)o.push(c=u[s]),c.parent=i,c.depth=i.depth+1;n&&(i.value=0),i.children=u}else n&&(i.value=+n.call(r,i,i.depth)||0),delete i.children;return er(a,(function(t){var r,a;e&&(r=t.children)&&r.sort(e),n&&(a=t.parent)&&(a.value+=t.value)})),l}return r.sort=function(t){return arguments.length?(e=t,r):e},r.children=function(e){return arguments.length?(t=e,r):t},r.value=function(e){return arguments.length?(n=e,r):n},r.revalue=function(e){return n&&(Qn(e,(function(e){e.children&&(e.value=0)})),er(e,(function(e){var t;e.children||(e.value=+n.call(r,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},r},e.layout.partition=function(){var t=e.layout.hierarchy(),n=[1,1];function r(e,r){var a=t.call(this,e,r);return function e(t,n,r,a){var i=t.children;if(t.x=n,t.y=t.depth*a,t.dx=r,t.dy=a,i&&(o=i.length)){var o,l,s,u=-1;for(r=t.value?r/t.value:0;++u<o;)e(l=i[u],n,s=l.value*r,a),n+=s}}(a[0],0,n[0],n[1]/function e(t){var n=t.children,r=0;if(n&&(a=n.length))for(var a,i=-1;++i<a;)r=Math.max(r,e(n[i]));return 1+r}(a[0])),a}return r.size=function(e){return arguments.length?(n=e,r):n},Jn(r,t)},e.layout.pie=function(){var t=Number,n=ir,r=0,a=Se,i=0;function o(l){var s,u=l.length,c=l.map((function(e,n){return+t.call(o,e,n)})),f=+(\"function\"==typeof r?r.apply(this,arguments):r),d=(\"function\"==typeof a?a.apply(this,arguments):a)-f,p=Math.min(Math.abs(d)/u,+(\"function\"==typeof i?i.apply(this,arguments):i)),h=p*(d<0?-1:1),m=e.sum(c),g=m?(d-u*h)/m:0,y=e.range(u),v=[];return null!=n&&y.sort(n===ir?function(e,t){return c[t]-c[e]}:function(e,t){return n(l[e],l[t])}),y.forEach((function(e){v[e]={data:l[e],value:s=c[e],startAngle:f,endAngle:f+=s*g+h,padAngle:p}})),v}return o.value=function(e){return arguments.length?(t=e,o):t},o.sort=function(e){return arguments.length?(n=e,o):n},o.startAngle=function(e){return arguments.length?(r=e,o):r},o.endAngle=function(e){return arguments.length?(a=e,o):a},o.padAngle=function(e){return arguments.length?(i=e,o):i},o};var ir={};function or(e){return e.x}function lr(e){return e.y}function sr(e,t,n){e.y0=t,e.y=n}e.layout.stack=function(){var t=A,n=fr,r=dr,a=sr,i=or,o=lr;function l(s,u){if(!(p=s.length))return s;var c=s.map((function(e,n){return t.call(l,e,n)})),f=c.map((function(e){return e.map((function(e,t){return[i.call(l,e,t),o.call(l,e,t)]}))})),d=n.call(l,f,u);c=e.permute(c,d),f=e.permute(f,d);var p,h,m,g,y=r.call(l,f,u),v=c[0].length;for(m=0;m<v;++m)for(a.call(l,c[0][m],g=y[m],f[0][m][1]),h=1;h<p;++h)a.call(l,c[h][m],g+=f[h-1][m][1],f[h][m][1]);return s}return l.values=function(e){return arguments.length?(t=e,l):t},l.order=function(e){return arguments.length?(n=\"function\"==typeof e?e:ur.get(e)||fr,l):n},l.offset=function(e){return arguments.length?(r=\"function\"==typeof e?e:cr.get(e)||dr,l):r},l.x=function(e){return arguments.length?(i=e,l):i},l.y=function(e){return arguments.length?(o=e,l):o},l.out=function(e){return arguments.length?(a=e,l):a},l};var ur=e.map({\"inside-out\":function(t){var n,r,a=t.length,i=t.map(pr),o=t.map(hr),l=e.range(a).sort((function(e,t){return i[e]-i[t]})),s=0,u=0,c=[],f=[];for(n=0;n<a;++n)r=l[n],s<u?(s+=o[r],c.push(r)):(u+=o[r],f.push(r));return f.reverse().concat(c)},reverse:function(t){return e.range(t.length).reverse()},default:fr}),cr=e.map({silhouette:function(e){var t,n,r,a=e.length,i=e[0].length,o=[],l=0,s=[];for(n=0;n<i;++n){for(t=0,r=0;t<a;t++)r+=e[t][n][1];r>l&&(l=r),o.push(r)}for(n=0;n<i;++n)s[n]=(l-o[n])/2;return s},wiggle:function(e){var t,n,r,a,i,o,l,s,u,c=e.length,f=e[0],d=f.length,p=[];for(p[0]=s=u=0,n=1;n<d;++n){for(t=0,a=0;t<c;++t)a+=e[t][n][1];for(t=0,i=0,l=f[n][0]-f[n-1][0];t<c;++t){for(r=0,o=(e[t][n][1]-e[t][n-1][1])/(2*l);r<t;++r)o+=(e[r][n][1]-e[r][n-1][1])/l;i+=o*e[t][n][1]}p[n]=s-=a?i/a*l:0,s<u&&(u=s)}for(n=0;n<d;++n)p[n]-=u;return p},expand:function(e){var t,n,r,a=e.length,i=e[0].length,o=1/a,l=[];for(n=0;n<i;++n){for(t=0,r=0;t<a;t++)r+=e[t][n][1];if(r)for(t=0;t<a;t++)e[t][n][1]/=r;else for(t=0;t<a;t++)e[t][n][1]=o}for(n=0;n<i;++n)l[n]=0;return l},zero:dr});function fr(t){return e.range(t.length)}function dr(e){for(var t=-1,n=e[0].length,r=[];++t<n;)r[t]=0;return r}function pr(e){for(var t,n=1,r=0,a=e[0][1],i=e.length;n<i;++n)(t=e[n][1])>a&&(r=n,a=t);return r}function hr(e){return e.reduce(mr,0)}function mr(e,t){return e+t[1]}function gr(e,t){return yr(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function yr(e,t){for(var n=-1,r=+e[0],a=(e[1]-r)/t,i=[];++n<=t;)i[n]=a*n+r;return i}function vr(t){return[e.min(t),e.max(t)]}function br(e,t){return e.value-t.value}function xr(e,t){var n=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=n,n._pack_prev=t}function wr(e,t){e._pack_next=t,t._pack_prev=e}function _r(e,t){var n=t.x-e.x,r=t.y-e.y,a=e.r+t.r;return.999*a*a>n*n+r*r}function kr(e){if((t=e.children)&&(s=t.length)){var t,n,r,a,i,o,l,s,u=1/0,c=-1/0,f=1/0,d=-1/0;if(t.forEach(Tr),(n=t[0]).x=-n.r,n.y=0,b(n),s>1&&((r=t[1]).x=r.r,r.y=0,b(r),s>2))for(Sr(n,r,a=t[2]),b(a),xr(n,a),n._pack_prev=a,xr(a,r),r=n._pack_next,i=3;i<s;i++){Sr(n,r,a=t[i]);var p=0,h=1,m=1;for(o=r._pack_next;o!==r;o=o._pack_next,h++)if(_r(o,a)){p=1;break}if(1==p)for(l=n._pack_prev;l!==o._pack_prev&&!_r(l,a);l=l._pack_prev,m++);p?(h<m||h==m&&r.r<n.r?wr(n,r=o):wr(n=l,r),i--):(xr(n,a),r=a,b(a))}var g=(u+c)/2,y=(f+d)/2,v=0;for(i=0;i<s;i++)(a=t[i]).x-=g,a.y-=y,v=Math.max(v,a.r+Math.sqrt(a.x*a.x+a.y*a.y));e.r=v,t.forEach(Mr)}function b(e){u=Math.min(e.x-e.r,u),c=Math.max(e.x+e.r,c),f=Math.min(e.y-e.r,f),d=Math.max(e.y+e.r,d)}}function Tr(e){e._pack_next=e._pack_prev=e}function Mr(e){delete e._pack_next,delete e._pack_prev}function Sr(e,t,n){var r=e.r+n.r,a=t.x-e.x,i=t.y-e.y;if(r&&(a||i)){var o=t.r+n.r,l=a*a+i*i,s=.5+((r*=r)-(o*=o))/(2*l),u=Math.sqrt(Math.max(0,2*o*(r+l)-(r-=l)*r-o*o))/(2*l);n.x=e.x+s*a+u*i,n.y=e.y+s*i-u*a}else n.x=e.x+r,n.y=e.y}function Er(e,t){return e.parent==t.parent?1:2}function Cr(e){var t=e.children;return t.length?t[0]:e.t}function Or(e){var t,n=e.children;return(t=n.length)?n[t-1]:e.t}function Ar(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function Dr(e,t,n){return e.a.parent===t.parent?e.a:n}function Pr(e){return{x:e.x,y:e.y,dx:e.dx,dy:e.dy}}function Rr(e,t){var n=e.x+t[3],r=e.y+t[0],a=e.dx-t[1]-t[3],i=e.dy-t[0]-t[2];return a<0&&(n+=a/2,a=0),i<0&&(r+=i/2,i=0),{x:n,y:r,dx:a,dy:i}}function Lr(e){var t=e[0],n=e[e.length-1];return t<n?[t,n]:[n,t]}function Ir(e){return e.rangeExtent?e.rangeExtent():Lr(e.range())}function jr(e,t,n,r){var a=n(e[0],e[1]),i=r(t[0],t[1]);return function(e){return i(a(e))}}function Nr(e,t){var n,r=0,a=e.length-1,i=e[r],o=e[a];return o<i&&(n=r,r=a,a=n,n=i,i=o,o=n),e[r]=t.floor(i),e[a]=t.ceil(o),e}function zr(e){return e?{floor:function(t){return Math.floor(t/e)*e},ceil:function(t){return Math.ceil(t/e)*e}}:Fr}e.layout.histogram=function(){var t=!0,n=Number,r=vr,a=gr;function i(i,o){for(var l,s,u=[],c=i.map(n,this),f=r.call(this,c,o),d=a.call(this,f,c,o),p=(o=-1,c.length),h=d.length-1,m=t?1:1/p;++o<h;)(l=u[o]=[]).dx=d[o+1]-(l.x=d[o]),l.y=0;if(h>0)for(o=-1;++o<p;)(s=c[o])>=f[0]&&s<=f[1]&&((l=u[e.bisect(d,s,1,h)-1]).y+=m,l.push(i[o]));return u}return i.value=function(e){return arguments.length?(n=e,i):n},i.range=function(e){return arguments.length?(r=ut(e),i):r},i.bins=function(e){return arguments.length?(a=\"number\"==typeof e?function(t){return yr(t,e)}:ut(e),i):a},i.frequency=function(e){return arguments.length?(t=!!e,i):t},i},e.layout.pack=function(){var t,n=e.layout.hierarchy().sort(br),r=0,a=[1,1];function i(e,i){var o=n.call(this,e,i),l=o[0],s=a[0],u=a[1],c=null==t?Math.sqrt:\"function\"==typeof t?t:function(){return t};if(l.x=l.y=0,er(l,(function(e){e.r=+c(e.value)})),er(l,kr),r){var f=r*(t?1:Math.max(2*l.r/s,2*l.r/u))/2;er(l,(function(e){e.r+=f})),er(l,kr),er(l,(function(e){e.r-=f}))}return function e(t,n,r,a){var i=t.children;if(t.x=n+=a*t.x,t.y=r+=a*t.y,t.r*=a,i)for(var o=-1,l=i.length;++o<l;)e(i[o],n,r,a)}(l,s/2,u/2,t?1:1/Math.max(2*l.r/s,2*l.r/u)),o}return i.size=function(e){return arguments.length?(a=e,i):a},i.radius=function(e){return arguments.length?(t=null==e||\"function\"==typeof e?e:+e,i):t},i.padding=function(e){return arguments.length?(r=+e,i):r},Jn(i,n)},e.layout.tree=function(){var t=e.layout.hierarchy().sort(null).value(null),n=Er,r=[1,1],a=null;function i(e,i){var u=t.call(this,e,i),c=u[0],f=function(e){for(var t,n={A:null,children:[e]},r=[n];null!=(t=r.pop());)for(var a,i=t.children,o=0,l=i.length;o<l;++o)r.push((i[o]=a={_:i[o],parent:t,children:(a=i[o].children)&&a.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=a);return n.children[0]}(c);if(er(f,o),f.parent.m=-f.z,Qn(f,l),a)Qn(c,s);else{var d=c,p=c,h=c;Qn(c,(function(e){e.x<d.x&&(d=e),e.x>p.x&&(p=e),e.depth>h.depth&&(h=e)}));var m=n(d,p)/2-d.x,g=r[0]/(p.x+n(p,d)/2+m),y=r[1]/(h.depth||1);Qn(c,(function(e){e.x=(e.x+m)*g,e.y=e.depth*y}))}return u}function o(e){var t=e.children,r=e.parent.children,a=e.i?r[e.i-1]:null;if(t.length){!function(e){for(var t,n=0,r=0,a=e.children,i=a.length;--i>=0;)(t=a[i]).z+=n,t.m+=n,n+=t.s+(r+=t.c)}(e);var i=(t[0].z+t[t.length-1].z)/2;a?(e.z=a.z+n(e._,a._),e.m=e.z-i):e.z=i}else a&&(e.z=a.z+n(e._,a._));e.parent.A=function(e,t,r){if(t){for(var a,i=e,o=e,l=t,s=i.parent.children[0],u=i.m,c=o.m,f=l.m,d=s.m;l=Or(l),i=Cr(i),l&&i;)s=Cr(s),(o=Or(o)).a=e,(a=l.z+f-i.z-u+n(l._,i._))>0&&(Ar(Dr(l,e,r),e,a),u+=a,c+=a),f+=l.m,u+=i.m,d+=s.m,c+=o.m;l&&!Or(o)&&(o.t=l,o.m+=f-c),i&&!Cr(s)&&(s.t=i,s.m+=u-d,r=e)}return r}(e,a,e.parent.A||r[0])}function l(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=r[0],e.y=e.depth*r[1]}return i.separation=function(e){return arguments.length?(n=e,i):n},i.size=function(e){return arguments.length?(a=null==(r=e)?s:null,i):a?null:r},i.nodeSize=function(e){return arguments.length?(a=null==(r=e)?null:s,i):a?r:null},Jn(i,t)},e.layout.cluster=function(){var t=e.layout.hierarchy().sort(null).value(null),n=Er,r=[1,1],a=!1;function i(i,o){var l,s=t.call(this,i,o),u=s[0],c=0;er(u,(function(t){var r=t.children;r&&r.length?(t.x=function(e){return e.reduce((function(e,t){return e+t.x}),0)/e.length}(r),t.y=function(t){return 1+e.max(t,(function(e){return e.y}))}(r)):(t.x=l?c+=n(t,l):0,t.y=0,l=t)}));var f=function e(t){var n=t.children;return n&&n.length?e(n[0]):t}(u),d=function e(t){var n,r=t.children;return r&&(n=r.length)?e(r[n-1]):t}(u),p=f.x-n(f,d)/2,h=d.x+n(d,f)/2;return er(u,a?function(e){e.x=(e.x-u.x)*r[0],e.y=(u.y-e.y)*r[1]}:function(e){e.x=(e.x-p)/(h-p)*r[0],e.y=(1-(u.y?e.y/u.y:1))*r[1]}),s}return i.separation=function(e){return arguments.length?(n=e,i):n},i.size=function(e){return arguments.length?(a=null==(r=e),i):a?null:r},i.nodeSize=function(e){return arguments.length?(a=null!=(r=e),i):a?r:null},Jn(i,t)},e.layout.treemap=function(){var t,n=e.layout.hierarchy(),r=Math.round,a=[1,1],i=null,o=Pr,l=!1,s=\"squarify\",u=.5*(1+Math.sqrt(5));function c(e,t){for(var n,r,a=-1,i=e.length;++a<i;)r=(n=e[a]).value*(t<0?0:t),n.area=isNaN(r)||r<=0?0:r}function f(e){var t=e.children;if(t&&t.length){var n,r,a,i=o(e),l=[],u=t.slice(),d=1/0,m=\"slice\"===s?i.dx:\"dice\"===s?i.dy:\"slice-dice\"===s?1&e.depth?i.dy:i.dx:Math.min(i.dx,i.dy);for(c(u,i.dx*i.dy/e.value),l.area=0;(a=u.length)>0;)l.push(n=u[a-1]),l.area+=n.area,\"squarify\"!==s||(r=p(l,m))<=d?(u.pop(),d=r):(l.area-=l.pop().area,h(l,m,i,!1),m=Math.min(i.dx,i.dy),l.length=l.area=0,d=1/0);l.length&&(h(l,m,i,!0),l.length=l.area=0),t.forEach(f)}}function d(e){var t=e.children;if(t&&t.length){var n,r=o(e),a=t.slice(),i=[];for(c(a,r.dx*r.dy/e.value),i.area=0;n=a.pop();)i.push(n),i.area+=n.area,null!=n.z&&(h(i,n.z?r.dx:r.dy,r,!a.length),i.length=i.area=0);t.forEach(d)}}function p(e,t){for(var n,r=e.area,a=0,i=1/0,o=-1,l=e.length;++o<l;)(n=e[o].area)&&(n<i&&(i=n),n>a&&(a=n));return t*=t,(r*=r)?Math.max(t*a*u/r,r/(t*i*u)):1/0}function h(e,t,n,a){var i,o=-1,l=e.length,s=n.x,u=n.y,c=t?r(e.area/t):0;if(t==n.dx){for((a||c>n.dy)&&(c=n.dy);++o<l;)(i=e[o]).x=s,i.y=u,i.dy=c,s+=i.dx=Math.min(n.x+n.dx-s,c?r(i.area/c):0);i.z=!0,i.dx+=n.x+n.dx-s,n.y+=c,n.dy-=c}else{for((a||c>n.dx)&&(c=n.dx);++o<l;)(i=e[o]).x=s,i.y=u,i.dx=c,u+=i.dy=Math.min(n.y+n.dy-u,c?r(i.area/c):0);i.z=!1,i.dy+=n.y+n.dy-u,n.x+=c,n.dx-=c}}function m(e){var r=t||n(e),i=r[0];return i.x=i.y=0,i.value?(i.dx=a[0],i.dy=a[1]):i.dx=i.dy=0,t&&n.revalue(i),c([i],i.dx*i.dy/i.value),(t?d:f)(i),l&&(t=r),r}return m.size=function(e){return arguments.length?(a=e,m):a},m.padding=function(e){if(!arguments.length)return i;function t(t){var n=e.call(m,t,t.depth);return null==n?Pr(t):Rr(t,\"number\"==typeof n?[n,n,n,n]:n)}function n(t){return Rr(t,e)}var r;return o=null==(i=e)?Pr:\"function\"==(r=typeof e)?t:\"number\"===r?(e=[e,e,e,e],n):n,m},m.round=function(e){return arguments.length?(r=e?Math.round:Number,m):r!=Number},m.sticky=function(e){return arguments.length?(l=e,t=null,m):l},m.ratio=function(e){return arguments.length?(u=e,m):u},m.mode=function(e){return arguments.length?(s=e+\"\",m):s},Jn(m,n)},e.random={normal:function(e,t){var n=arguments.length;return n<2&&(t=1),n<1&&(e=0),function(){var n,r,a;do{a=(n=2*Math.random()-1)*n+(r=2*Math.random()-1)*r}while(!a||a>1);return e+t*n*Math.sqrt(-2*Math.log(a)/a)}},logNormal:function(){var t=e.random.normal.apply(e,arguments);return function(){return Math.exp(t())}},bates:function(t){var n=e.random.irwinHall(t);return function(){return n()/t}},irwinHall:function(e){return function(){for(var t=0,n=0;n<e;n++)t+=Math.random();return t}}},e.scale={};var Fr={floor:A,ceil:A};function Zr(t,n,r,a){var i=[],o=[],l=0,s=Math.min(t.length,n.length)-1;for(t[s]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++l<=s;)i.push(r(t[l-1],t[l])),o.push(a(n[l-1],n[l]));return function(n){var r=e.bisect(t,n,1,s)-1;return o[r](i[r](n))}}function Br(t,n){return e.rebind(t,n,\"range\",\"rangeRound\",\"interpolate\",\"clamp\")}function qr(e,t){return Nr(e,zr(Hr(e,t)[2])),Nr(e,zr(Hr(e,t)[2])),e}function Hr(e,t){null==t&&(t=10);var n=Lr(e),r=n[1]-n[0],a=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),i=t/r*a;return i<=.15?a*=10:i<=.35?a*=5:i<=.75&&(a*=2),n[0]=Math.ceil(n[0]/a)*a,n[1]=Math.floor(n[1]/a)*a+.5*a,n[2]=a,n}function Ur(t,n){return e.range.apply(e,Hr(t,n))}e.scale.linear=function(){return function e(t,n,r,a){var i,o;function l(){var e=Math.min(t.length,n.length)>2?Zr:jr,l=a?qn:Bn;return i=e(t,n,l,r),o=e(n,t,l,bn),s}function s(e){return i(e)}return s.invert=function(e){return o(e)},s.domain=function(e){return arguments.length?(t=e.map(Number),l()):t},s.range=function(e){return arguments.length?(n=e,l()):n},s.rangeRound=function(e){return s.range(e).interpolate(Ln)},s.clamp=function(e){return arguments.length?(a=e,l()):a},s.interpolate=function(e){return arguments.length?(r=e,l()):r},s.ticks=function(e){return Ur(t,e)},s.tickFormat=function(e,n){return d3_scale_linearTickFormat(t,e,n)},s.nice=function(e){return qr(t,e),l()},s.copy=function(){return e(t,n,r,a)},l()}([0,1],[0,1],bn,!1)},e.scale.log=function(){return function e(t,n,r,a){function i(e){return(r?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(n)}function o(e){return r?Math.pow(n,e):-Math.pow(n,-e)}function l(e){return t(i(e))}return l.invert=function(e){return o(t.invert(e))},l.domain=function(e){return arguments.length?(r=e[0]>=0,t.domain((a=e.map(Number)).map(i)),l):a},l.base=function(e){return arguments.length?(n=+e,t.domain(a.map(i)),l):n},l.nice=function(){var e=Nr(a.map(i),r?Math:Wr);return t.domain(e),a=e.map(o),l},l.ticks=function(){var e=Lr(a),t=[],l=e[0],s=e[1],u=Math.floor(i(l)),c=Math.ceil(i(s)),f=n%1?2:n;if(isFinite(c-u)){if(r){for(;u<c;u++)for(var d=1;d<f;d++)t.push(o(u)*d);t.push(o(u))}else for(t.push(o(u));u++<c;)for(d=f-1;d>0;d--)t.push(o(u)*d);for(u=0;t[u]<l;u++);for(c=t.length;t[c-1]>s;c--);t=t.slice(u,c)}return t},l.copy=function(){return e(t.copy(),n,r,a)},Br(l,t)}(e.scale.linear().domain([0,1]),10,!0,[1,10])};var Wr={floor:function(e){return-Math.ceil(-e)},ceil:function(e){return-Math.floor(-e)}};function Vr(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}e.scale.pow=function(){return function e(t,n,r){var a=Vr(n),i=Vr(1/n);function o(e){return t(a(e))}return o.invert=function(e){return i(t.invert(e))},o.domain=function(e){return arguments.length?(t.domain((r=e.map(Number)).map(a)),o):r},o.ticks=function(e){return Ur(r,e)},o.tickFormat=function(e,t){return d3_scale_linearTickFormat(r,e,t)},o.nice=function(e){return o.domain(qr(r,e))},o.exponent=function(e){return arguments.length?(a=Vr(n=e),i=Vr(1/n),t.domain(r.map(a)),o):n},o.copy=function(){return e(t.copy(),n,r)},Br(o,t)}(e.scale.linear(),1,[0,1])},e.scale.sqrt=function(){return e.scale.pow().exponent(.5)},e.scale.ordinal=function(){return function t(n,r){var a,i,o;function l(e){return i[((a.get(e)||(\"range\"===r.t?a.set(e,n.push(e)):NaN))-1)%i.length]}function s(t,r){return e.range(n.length).map((function(e){return t+r*e}))}return l.domain=function(e){if(!arguments.length)return n;n=[],a=new w;for(var t,i=-1,o=e.length;++i<o;)a.has(t=e[i])||a.set(t,n.push(t));return l[r.t].apply(l,r.a)},l.range=function(e){return arguments.length?(i=e,o=0,r={t:\"range\",a:arguments},l):i},l.rangePoints=function(e,t){arguments.length<2&&(t=0);var a=e[0],u=e[1],c=n.length<2?(a=(a+u)/2,0):(u-a)/(n.length-1+t);return i=s(a+c*t/2,c),o=0,r={t:\"rangePoints\",a:arguments},l},l.rangeRoundPoints=function(e,t){arguments.length<2&&(t=0);var a=e[0],u=e[1],c=n.length<2?(a=u=Math.round((a+u)/2),0):(u-a)/(n.length-1+t)|0;return i=s(a+Math.round(c*t/2+(u-a-(n.length-1+t)*c)/2),c),o=0,r={t:\"rangeRoundPoints\",a:arguments},l},l.rangeBands=function(e,t,a){arguments.length<2&&(t=0),arguments.length<3&&(a=t);var u=e[1]<e[0],c=e[u-0],f=(e[1-u]-c)/(n.length-t+2*a);return i=s(c+f*a,f),u&&i.reverse(),o=f*(1-t),r={t:\"rangeBands\",a:arguments},l},l.rangeRoundBands=function(e,t,a){arguments.length<2&&(t=0),arguments.length<3&&(a=t);var u=e[1]<e[0],c=e[u-0],f=e[1-u],d=Math.floor((f-c)/(n.length-t+2*a));return i=s(c+Math.round((f-c-(n.length-t)*d)/2),d),u&&i.reverse(),o=Math.round(d*(1-t)),r={t:\"rangeRoundBands\",a:arguments},l},l.rangeBand=function(){return o},l.rangeExtent=function(){return Lr(r.a[0])},l.copy=function(){return t(n,r)},l.domain(n)}([],{t:\"range\",a:[[]]})},e.scale.category10=function(){return e.scale.ordinal().range(Yr)},e.scale.category20=function(){return e.scale.ordinal().range(Gr)},e.scale.category20b=function(){return e.scale.ordinal().range($r)},e.scale.category20c=function(){return e.scale.ordinal().range(Xr)};var Yr=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(et),Gr=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(et),$r=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(et),Xr=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(et);function Kr(){return 0}e.scale.quantile=function(){return function t(n,r){var a;function i(){var t=0,i=r.length;for(a=[];++t<i;)a[t-1]=e.quantile(n,t/i);return o}function o(t){if(!isNaN(t=+t))return r[e.bisect(a,t)]}return o.domain=function(e){return arguments.length?(n=e.map(p).filter(h).sort(d),i()):n},o.range=function(e){return arguments.length?(r=e,i()):r},o.quantiles=function(){return a},o.invertExtent=function(e){return(e=r.indexOf(e))<0?[NaN,NaN]:[e>0?a[e-1]:n[0],e<a.length?a[e]:n[n.length-1]]},o.copy=function(){return t(n,r)},i()}([],[])},e.scale.quantize=function(){return function e(t,n,r){var a,i;function o(e){return r[Math.max(0,Math.min(i,Math.floor(a*(e-t))))]}function l(){return a=r.length/(n-t),i=r.length-1,o}return o.domain=function(e){return arguments.length?(t=+e[0],n=+e[e.length-1],l()):[t,n]},o.range=function(e){return arguments.length?(r=e,l()):r},o.invertExtent=function(e){return[e=(e=r.indexOf(e))<0?NaN:e/a+t,e+1/a]},o.copy=function(){return e(t,n,r)},l()}(0,1,[0,1])},e.scale.threshold=function(){return function t(n,r){function a(t){if(t<=t)return r[e.bisect(n,t)]}return a.domain=function(e){return arguments.length?(n=e,a):n},a.range=function(e){return arguments.length?(r=e,a):r},a.invertExtent=function(e){return e=r.indexOf(e),[n[e-1],n[e]]},a.copy=function(){return t(n,r)},a}([.5],[0,1])},e.scale.identity=function(){return function e(t){function n(e){return+e}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=e.map(n),n):t},n.ticks=function(e){return Ur(t,e)},n.tickFormat=function(e,n){return d3_scale_linearTickFormat(t,e,n)},n.copy=function(){return e(t)},n}([0,1])},e.svg={},e.svg.arc=function(){var e=Qr,t=ea,n=Kr,r=Jr,a=ta,i=na,o=ra;function l(){var l=Math.max(0,+e.apply(this,arguments)),u=Math.max(0,+t.apply(this,arguments)),c=a.apply(this,arguments)-Ce,f=i.apply(this,arguments)-Ce,d=Math.abs(f-c),p=c>f?0:1;if(u<l&&(h=u,u=l,l=h),d>=Ee)return s(u,p)+(l?s(l,1-p):\"\")+\"Z\";var h,m,g,y,v,b,x,w,_,k,T,M,S=0,E=0,C=[];if((y=(+o.apply(this,arguments)||0)/2)&&(g=r===Jr?Math.sqrt(l*l+u*u):+r.apply(this,arguments),p||(E*=-1),u&&(E=De(g/u*Math.sin(y))),l&&(S=De(g/l*Math.sin(y)))),u){v=u*Math.cos(c+E),b=u*Math.sin(c+E),x=u*Math.cos(f-E),w=u*Math.sin(f-E);var O=Math.abs(f-c-2*E)<=Me?0:1;if(E&&aa(v,b,x,w)===p^O){var A=(c+f)/2;v=u*Math.cos(A),b=u*Math.sin(A),x=w=null}}else v=b=0;if(l){_=l*Math.cos(f-S),k=l*Math.sin(f-S),T=l*Math.cos(c+S),M=l*Math.sin(c+S);var D=Math.abs(c-f+2*S)<=Me?0:1;if(S&&aa(_,k,T,M)===1-p^D){var P=(c+f)/2;_=l*Math.cos(P),k=l*Math.sin(P),T=M=null}}else _=k=0;if(d>Te&&(h=Math.min(Math.abs(u-l)/2,+n.apply(this,arguments)))>.001){m=l<u^p?0:1;var R=h,L=h;if(d<Me){var I=null==T?[_,k]:null==x?[v,b]:Et([v,b],[T,M],[x,w],[_,k]),j=v-I[0],N=b-I[1],z=x-I[0],F=w-I[1],Z=1/Math.sin(Math.acos((j*z+N*F)/(Math.sqrt(j*j+N*N)*Math.sqrt(z*z+F*F)))/2),B=Math.sqrt(I[0]*I[0]+I[1]*I[1]);L=Math.min(h,(l-B)/(Z-1)),R=Math.min(h,(u-B)/(Z+1))}if(null!=x){var q=ia(null==T?[_,k]:[T,M],[v,b],u,R,p),H=ia([x,w],[_,k],u,R,p);h===R?C.push(\"M\",q[0],\"A\",R,\",\",R,\" 0 0,\",m,\" \",q[1],\"A\",u,\",\",u,\" 0 \",1-p^aa(q[1][0],q[1][1],H[1][0],H[1][1]),\",\",p,\" \",H[1],\"A\",R,\",\",R,\" 0 0,\",m,\" \",H[0]):C.push(\"M\",q[0],\"A\",R,\",\",R,\" 0 1,\",m,\" \",H[0])}else C.push(\"M\",v,\",\",b);if(null!=T){var U=ia([v,b],[T,M],l,-L,p),W=ia([_,k],null==x?[v,b]:[x,w],l,-L,p);h===L?C.push(\"L\",W[0],\"A\",L,\",\",L,\" 0 0,\",m,\" \",W[1],\"A\",l,\",\",l,\" 0 \",p^aa(W[1][0],W[1][1],U[1][0],U[1][1]),\",\",1-p,\" \",U[1],\"A\",L,\",\",L,\" 0 0,\",m,\" \",U[0]):C.push(\"L\",W[0],\"A\",L,\",\",L,\" 0 0,\",m,\" \",U[0])}else C.push(\"L\",_,\",\",k)}else C.push(\"M\",v,\",\",b),null!=x&&C.push(\"A\",u,\",\",u,\" 0 \",O,\",\",p,\" \",x,\",\",w),C.push(\"L\",_,\",\",k),null!=T&&C.push(\"A\",l,\",\",l,\" 0 \",D,\",\",1-p,\" \",T,\",\",M);return C.push(\"Z\"),C.join(\"\")}function s(e,t){return\"M0,\"+e+\"A\"+e+\",\"+e+\" 0 1,\"+t+\" 0,\"+-e+\"A\"+e+\",\"+e+\" 0 1,\"+t+\" 0,\"+e}return l.innerRadius=function(t){return arguments.length?(e=ut(t),l):e},l.outerRadius=function(e){return arguments.length?(t=ut(e),l):t},l.cornerRadius=function(e){return arguments.length?(n=ut(e),l):n},l.padRadius=function(e){return arguments.length?(r=e==Jr?Jr:ut(e),l):r},l.startAngle=function(e){return arguments.length?(a=ut(e),l):a},l.endAngle=function(e){return arguments.length?(i=ut(e),l):i},l.padAngle=function(e){return arguments.length?(o=ut(e),l):o},l.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+a.apply(this,arguments)+ +i.apply(this,arguments))/2-Ce;return[Math.cos(r)*n,Math.sin(r)*n]},l};var Jr=\"auto\";function Qr(e){return e.innerRadius}function ea(e){return e.outerRadius}function ta(e){return e.startAngle}function na(e){return e.endAngle}function ra(e){return e&&e.padAngle}function aa(e,t,n,r){return(e-n)*t-(t-r)*e>0?0:1}function ia(e,t,n,r,a){var i=e[0]-t[0],o=e[1]-t[1],l=(a?r:-r)/Math.sqrt(i*i+o*o),s=l*o,u=-l*i,c=e[0]+s,f=e[1]+u,d=t[0]+s,p=t[1]+u,h=(c+d)/2,m=(f+p)/2,g=d-c,y=p-f,v=g*g+y*y,b=n-r,x=c*p-d*f,w=(y<0?-1:1)*Math.sqrt(Math.max(0,b*b*v-x*x)),_=(x*y-g*w)/v,k=(-x*g-y*w)/v,T=(x*y+g*w)/v,M=(-x*g+y*w)/v,S=_-h,E=k-m,C=T-h,O=M-m;return S*S+E*E>C*C+O*O&&(_=T,k=M),[[_-s,k-u],[_*n/b,k*n/b]]}function oa(){return!0}function la(e){var t=wt,n=_t,r=oa,a=ua,i=a.key,o=.7;function l(i){var l,s=[],u=[],c=-1,f=i.length,d=ut(t),p=ut(n);function h(){s.push(\"M\",a(e(u),o))}for(;++c<f;)r.call(this,l=i[c],c)?u.push([+d.call(this,l,c),+p.call(this,l,c)]):u.length&&(h(),u=[]);return u.length&&h(),s.length?s.join(\"\"):null}return l.x=function(e){return arguments.length?(t=e,l):t},l.y=function(e){return arguments.length?(n=e,l):n},l.defined=function(e){return arguments.length?(r=e,l):r},l.interpolate=function(e){return arguments.length?(i=\"function\"==typeof e?a=e:(a=sa.get(e)||ua).key,l):i},l.tension=function(e){return arguments.length?(o=e,l):o},l}e.svg.line=function(){return la(A)};var sa=e.map({linear:ua,\"linear-closed\":ca,step:function(e){for(var t=0,n=e.length,r=e[0],a=[r[0],\",\",r[1]];++t<n;)a.push(\"H\",(r[0]+(r=e[t])[0])/2,\"V\",r[1]);return n>1&&a.push(\"H\",r[0]),a.join(\"\")},\"step-before\":fa,\"step-after\":da,basis:ma,\"basis-open\":function(e){if(e.length<4)return ua(e);for(var t,n=[],r=-1,a=e.length,i=[0],o=[0];++r<3;)t=e[r],i.push(t[0]),o.push(t[1]);for(n.push(ga(ba,i)+\",\"+ga(ba,o)),--r;++r<a;)t=e[r],i.shift(),i.push(t[0]),o.shift(),o.push(t[1]),xa(n,i,o);return n.join(\"\")},\"basis-closed\":function(e){for(var t,n,r=-1,a=e.length,i=a+4,o=[],l=[];++r<4;)n=e[r%a],o.push(n[0]),l.push(n[1]);for(t=[ga(ba,o),\",\",ga(ba,l)],--r;++r<i;)n=e[r%a],o.shift(),o.push(n[0]),l.shift(),l.push(n[1]),xa(t,o,l);return t.join(\"\")},bundle:function(e,t){var n=e.length-1;if(n)for(var r,a,i=e[0][0],o=e[0][1],l=e[n][0]-i,s=e[n][1]-o,u=-1;++u<=n;)a=u/n,(r=e[u])[0]=t*r[0]+(1-t)*(i+a*l),r[1]=t*r[1]+(1-t)*(o+a*s);return ma(e)},cardinal:function(e,t){return e.length<3?ua(e):e[0]+pa(e,ha(e,t))},\"cardinal-open\":function(e,t){return e.length<4?ua(e):e[1]+pa(e.slice(1,-1),ha(e,t))},\"cardinal-closed\":function(e,t){return e.length<3?ca(e):e[0]+pa((e.push(e[0]),e),ha([e[e.length-2]].concat(e,[e[1]]),t))},monotone:function(e){return e.length<3?ua(e):e[0]+pa(e,function(e){for(var t,n,r,a,i=[],o=function(e){for(var t=0,n=e.length-1,r=[],a=e[0],i=e[1],o=r[0]=wa(a,i);++t<n;)r[t]=(o+(o=wa(a=i,i=e[t+1])))/2;return r[t]=o,r}(e),l=-1,s=e.length-1;++l<s;)t=wa(e[l],e[l+1]),v(t)<Te?o[l]=o[l+1]=0:(a=(n=o[l]/t)*n+(r=o[l+1]/t)*r)>9&&(a=3*t/Math.sqrt(a),o[l]=a*n,o[l+1]=a*r);for(l=-1;++l<=s;)a=(e[Math.min(s,l+1)][0]-e[Math.max(0,l-1)][0])/(6*(1+o[l]*o[l])),i.push([a||0,o[l]*a||0]);return i}(e))}});function ua(e){return e.length>1?e.join(\"L\"):e+\"Z\"}function ca(e){return e.join(\"L\")+\"Z\"}function fa(e){for(var t=0,n=e.length,r=e[0],a=[r[0],\",\",r[1]];++t<n;)a.push(\"V\",(r=e[t])[1],\"H\",r[0]);return a.join(\"\")}function da(e){for(var t=0,n=e.length,r=e[0],a=[r[0],\",\",r[1]];++t<n;)a.push(\"H\",(r=e[t])[0],\"V\",r[1]);return a.join(\"\")}function pa(e,t){if(t.length<1||e.length!=t.length&&e.length!=t.length+2)return ua(e);var n=e.length!=t.length,r=\"\",a=e[0],i=e[1],o=t[0],l=o,s=1;if(n&&(r+=\"Q\"+(i[0]-2*o[0]/3)+\",\"+(i[1]-2*o[1]/3)+\",\"+i[0]+\",\"+i[1],a=e[1],s=2),t.length>1){l=t[1],i=e[s],s++,r+=\"C\"+(a[0]+o[0])+\",\"+(a[1]+o[1])+\",\"+(i[0]-l[0])+\",\"+(i[1]-l[1])+\",\"+i[0]+\",\"+i[1];for(var u=2;u<t.length;u++,s++)i=e[s],l=t[u],r+=\"S\"+(i[0]-l[0])+\",\"+(i[1]-l[1])+\",\"+i[0]+\",\"+i[1]}if(n){var c=e[s];r+=\"Q\"+(i[0]+2*l[0]/3)+\",\"+(i[1]+2*l[1]/3)+\",\"+c[0]+\",\"+c[1]}return r}function ha(e,t){for(var n,r=[],a=(1-t)/2,i=e[0],o=e[1],l=1,s=e.length;++l<s;)n=i,i=o,o=e[l],r.push([a*(o[0]-n[0]),a*(o[1]-n[1])]);return r}function ma(e){if(e.length<3)return ua(e);var t=1,n=e.length,r=e[0],a=r[0],i=r[1],o=[a,a,a,(r=e[1])[0]],l=[i,i,i,r[1]],s=[a,\",\",i,\"L\",ga(ba,o),\",\",ga(ba,l)];for(e.push(e[n-1]);++t<=n;)r=e[t],o.shift(),o.push(r[0]),l.shift(),l.push(r[1]),xa(s,o,l);return e.pop(),s.push(\"L\",r),s.join(\"\")}function ga(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}sa.forEach((function(e,t){t.key=e,t.closed=/-closed$/.test(e)}));var ya=[0,2/3,1/3,0],va=[0,1/3,2/3,0],ba=[0,1/6,2/3,1/6];function xa(e,t,n){e.push(\"C\",ga(ya,t),\",\",ga(ya,n),\",\",ga(va,t),\",\",ga(va,n),\",\",ga(ba,t),\",\",ga(ba,n))}function wa(e,t){return(t[1]-e[1])/(t[0]-e[0])}function _a(e){for(var t,n,r,a=-1,i=e.length;++a<i;)n=(t=e[a])[0],r=t[1]-Ce,t[0]=n*Math.cos(r),t[1]=n*Math.sin(r);return e}function ka(e){var t=wt,n=wt,r=0,a=_t,i=oa,o=ua,l=o.key,s=o,u=\"L\",c=.7;function f(l){var f,d,p,h=[],m=[],g=[],y=-1,v=l.length,b=ut(t),x=ut(r),w=t===n?function(){return d}:ut(n),_=r===a?function(){return p}:ut(a);function k(){h.push(\"M\",o(e(g),c),u,s(e(m.reverse()),c),\"Z\")}for(;++y<v;)i.call(this,f=l[y],y)?(m.push([d=+b.call(this,f,y),p=+x.call(this,f,y)]),g.push([+w.call(this,f,y),+_.call(this,f,y)])):m.length&&(k(),m=[],g=[]);return m.length&&k(),h.length?h.join(\"\"):null}return f.x=function(e){return arguments.length?(t=n=e,f):n},f.x0=function(e){return arguments.length?(t=e,f):t},f.x1=function(e){return arguments.length?(n=e,f):n},f.y=function(e){return arguments.length?(r=a=e,f):a},f.y0=function(e){return arguments.length?(r=e,f):r},f.y1=function(e){return arguments.length?(a=e,f):a},f.defined=function(e){return arguments.length?(i=e,f):i},f.interpolate=function(e){return arguments.length?(l=\"function\"==typeof e?o=e:(o=sa.get(e)||ua).key,s=o.reverse||o,u=o.closed?\"M\":\"L\",f):l},f.tension=function(e){return arguments.length?(c=e,f):c},f}function Ta(e){return e.source}function Ma(e){return e.target}function Sa(e){return e.radius}function Ea(e){return[e.x,e.y]}function Ca(e){return function(){var t=e.apply(this,arguments),n=t[0],r=t[1]-Ce;return[n*Math.cos(r),n*Math.sin(r)]}}function Oa(){return 64}function Aa(){return\"circle\"}function Da(e){var t=Math.sqrt(e/Me);return\"M0,\"+t+\"A\"+t+\",\"+t+\" 0 1,1 0,\"+-t+\"A\"+t+\",\"+t+\" 0 1,1 0,\"+t+\"Z\"}e.svg.line.radial=function(){var e=la(_a);return e.radius=e.x,delete e.x,e.angle=e.y,delete e.y,e},fa.reverse=da,da.reverse=fa,e.svg.area=function(){return ka(A)},e.svg.area.radial=function(){var e=ka(_a);return e.radius=e.x,delete e.x,e.innerRadius=e.x0,delete e.x0,e.outerRadius=e.x1,delete e.x1,e.angle=e.y,delete e.y,e.startAngle=e.y0,delete e.y0,e.endAngle=e.y1,delete e.y1,e},e.svg.chord=function(){var e=Ta,t=Ma,n=Sa,r=ta,a=na;function i(n,r){var a,i,u=o(this,e,n,r),c=o(this,t,n,r);return\"M\"+u.p0+l(u.r,u.p1,u.a1-u.a0)+(i=c,((a=u).a0==i.a0&&a.a1==i.a1?s(u.r,u.p1,u.r,u.p0):s(u.r,u.p1,c.r,c.p0)+l(c.r,c.p1,c.a1-c.a0)+s(c.r,c.p1,u.r,u.p0))+\"Z\")}function o(e,t,i,o){var l=t.call(e,i,o),s=n.call(e,l,o),u=r.call(e,l,o)-Ce,c=a.call(e,l,o)-Ce;return{r:s,a0:u,a1:c,p0:[s*Math.cos(u),s*Math.sin(u)],p1:[s*Math.cos(c),s*Math.sin(c)]}}function l(e,t,n){return\"A\"+e+\",\"+e+\" 0 \"+ +(n>Me)+\",1 \"+t}function s(e,t,n,r){return\"Q 0,0 \"+r}return i.radius=function(e){return arguments.length?(n=ut(e),i):n},i.source=function(t){return arguments.length?(e=ut(t),i):e},i.target=function(e){return arguments.length?(t=ut(e),i):t},i.startAngle=function(e){return arguments.length?(r=ut(e),i):r},i.endAngle=function(e){return arguments.length?(a=ut(e),i):a},i},e.svg.diagonal=function(){var e=Ta,t=Ma,n=Ea;function r(r,a){var i=e.call(this,r,a),o=t.call(this,r,a),l=(i.y+o.y)/2,s=[i,{x:i.x,y:l},{x:o.x,y:l},o];return\"M\"+(s=s.map(n))[0]+\"C\"+s[1]+\" \"+s[2]+\" \"+s[3]}return r.source=function(t){return arguments.length?(e=ut(t),r):e},r.target=function(e){return arguments.length?(t=ut(e),r):t},r.projection=function(e){return arguments.length?(n=e,r):n},r},e.svg.diagonal.radial=function(){var t=e.svg.diagonal(),n=Ea,r=t.projection;return t.projection=function(e){return arguments.length?r(Ca(n=e)):n},t},e.svg.symbol=function(){var e=Aa,t=Oa;function n(n,r){return(Pa.get(e.call(this,n,r))||Da)(t.call(this,n,r))}return n.type=function(t){return arguments.length?(e=ut(t),n):e},n.size=function(e){return arguments.length?(t=ut(e),n):t},n};var Pa=e.map({circle:Da,cross:function(e){var t=Math.sqrt(e/5)/2;return\"M\"+-3*t+\",\"+-t+\"H\"+-t+\"V\"+-3*t+\"H\"+t+\"V\"+-t+\"H\"+3*t+\"V\"+t+\"H\"+t+\"V\"+3*t+\"H\"+-t+\"V\"+t+\"H\"+-3*t+\"Z\"},diamond:function(e){var t=Math.sqrt(e/(2*La)),n=t*La;return\"M0,\"+-t+\"L\"+n+\",0 0,\"+t+\" \"+-n+\",0Z\"},square:function(e){var t=Math.sqrt(e)/2;return\"M\"+-t+\",\"+-t+\"L\"+t+\",\"+-t+\" \"+t+\",\"+t+\" \"+-t+\",\"+t+\"Z\"},\"triangle-down\":function(e){var t=Math.sqrt(e/Ra),n=t*Ra/2;return\"M0,\"+n+\"L\"+t+\",\"+-n+\" \"+-t+\",\"+-n+\"Z\"},\"triangle-up\":function(e){var t=Math.sqrt(e/Ra),n=t*Ra/2;return\"M0,\"+-n+\"L\"+t+\",\"+n+\" \"+-t+\",\"+n+\"Z\"}});e.svg.symbolTypes=Pa.keys();var Ra=Math.sqrt(3),La=Math.tan(30*Oe);V.transition=function(e){for(var t,n,r=za||++Ba,a=Ua(e),i=[],o=Fa||{time:Date.now(),ease:On,delay:0,duration:250},l=-1,s=this.length;++l<s;){i.push(t=[]);for(var u=this[l],c=-1,f=u.length;++c<f;)(n=u[c])&&Wa(n,c,a,r,o),t.push(n)}return Na(i,a,r)},V.interrupt=function(e){return this.each(null==e?Ia:ja(Ua(e)))};var Ia=ja(Ua());function ja(e){return function(){var t,n,r;(t=this[e])&&(r=t[n=t.active])&&(r.timer.c=null,r.timer.t=NaN,--t.count?delete t[n]:delete this[e],t.active+=.5,r.event&&r.event.interrupt.call(this,this.__data__,r.index))}}function Na(e,t,n){return B(e,Za),e.namespace=t,e.id=n,e}var za,Fa,Za=[],Ba=0;function qa(e,t,n,r){var a=e.id,i=e.namespace;return ce(e,\"function\"==typeof n?function(e,o,l){e[i][a].tween.set(t,r(n.call(e,e.__data__,o,l)))}:(n=r(n),function(e){e[i][a].tween.set(t,n)}))}function Ha(e){return null==e&&(e=\"\"),function(){this.textContent=e}}function Ua(e){return null==e?\"__transition__\":\"__transition_\"+e+\"__\"}function Wa(e,t,n,r,a){var i,o,l,s,u,c=e[n]||(e[n]={active:0,count:0}),f=c[r];function d(n){var a=c.active,d=c[a];for(var h in d&&(d.timer.c=null,d.timer.t=NaN,--c.count,delete c[a],d.event&&d.event.interrupt.call(e,e.__data__,d.index)),c)if(+h<r){var m=c[h];m.timer.c=null,m.timer.t=NaN,--c.count,delete c[h]}o.c=p,yt((function(){return o.c&&p(n||1)&&(o.c=null,o.t=NaN),1}),0,i),c.active=r,f.event&&f.event.start.call(e,e.__data__,t),u=[],f.tween.forEach((function(n,r){(r=r.call(e,e.__data__,t))&&u.push(r)})),s=f.ease,l=f.duration}function p(a){for(var i=a/l,o=s(i),d=u.length;d>0;)u[--d].call(e,o);if(i>=1)return f.event&&f.event.end.call(e,e.__data__,t),--c.count?delete c[r]:delete e[n],1}f||(i=a.time,o=yt((function(e){var t=f.delay;if(o.t=t+i,t<=e)return d(e-t);o.c=d}),0,i),f=c[r]={tween:new w,time:i,timer:o,delay:a.delay,duration:a.duration,ease:a.ease,index:t},a=null,++c.count)}Za.call=V.call,Za.empty=V.empty,Za.node=V.node,Za.size=V.size,e.transition=function(t,n){return t&&t.transition?za?t.transition(n):t:e.selection().transition(t)},e.transition.prototype=Za,Za.select=function(e){var t,n,r,a=this.id,i=this.namespace,o=[];e=Y(e);for(var l=-1,s=this.length;++l<s;){o.push(t=[]);for(var u=this[l],c=-1,f=u.length;++c<f;)(r=u[c])&&(n=e.call(r,r.__data__,c,l))?(\"__data__\"in r&&(n.__data__=r.__data__),Wa(n,c,i,a,r[i][a]),t.push(n)):t.push(null)}return Na(o,i,a)},Za.selectAll=function(e){var t,n,r,a,i,o=this.id,l=this.namespace,s=[];e=G(e);for(var u=-1,c=this.length;++u<c;)for(var f=this[u],d=-1,p=f.length;++d<p;)if(r=f[d]){i=r[l][o],n=e.call(r,r.__data__,d,u),s.push(t=[]);for(var h=-1,m=n.length;++h<m;)(a=n[h])&&Wa(a,h,l,o,i),t.push(a)}return Na(s,l,o)},Za.filter=function(e){var t,n,r=[];\"function\"!=typeof e&&(e=se(e));for(var a=0,i=this.length;a<i;a++){r.push(t=[]);for(var o,l=0,s=(o=this[a]).length;l<s;l++)(n=o[l])&&e.call(n,n.__data__,l,a)&&t.push(n)}return Na(r,this.namespace,this.id)},Za.tween=function(e,t){var n=this.id,r=this.namespace;return arguments.length<2?this.node()[r][n].tween.get(e):ce(this,null==t?function(t){t[r][n].tween.remove(e)}:function(a){a[r][n].tween.set(e,t)})},Za.attr=function(t,n){if(arguments.length<2){for(n in t)this.attr(n,t[n]);return this}var r=\"transform\"==t?Zn:bn,a=e.ns.qualify(t);function i(){this.removeAttribute(a)}function o(){this.removeAttributeNS(a.space,a.local)}function l(e){return null==e?i:(e+=\"\",function(){var t,n=this.getAttribute(a);return n!==e&&(t=r(n,e),function(e){this.setAttribute(a,t(e))})})}function s(e){return null==e?o:(e+=\"\",function(){var t,n=this.getAttributeNS(a.space,a.local);return n!==e&&(t=r(n,e),function(e){this.setAttributeNS(a.space,a.local,t(e))})})}return qa(this,\"attr.\"+t,n,a.local?s:l)},Za.attrTween=function(t,n){var r=e.ns.qualify(t);return this.tween(\"attr.\"+t,r.local?function(e,t){var a=n.call(this,e,t,this.getAttributeNS(r.space,r.local));return a&&function(e){this.setAttributeNS(r.space,r.local,a(e))}}:function(e,t){var a=n.call(this,e,t,this.getAttribute(r));return a&&function(e){this.setAttribute(r,a(e))}})},Za.style=function(e,t,n){var r=arguments.length;if(r<3){if(\"string\"!=typeof e){for(n in r<2&&(t=\"\"),e)this.style(n,e[n],t);return this}n=\"\"}function a(){this.style.removeProperty(e)}function i(t){return null==t?a:(t+=\"\",function(){var r,a=o(this).getComputedStyle(this,null).getPropertyValue(e);return a!==t&&(r=bn(a,t),function(t){this.style.setProperty(e,r(t),n)})})}return qa(this,\"style.\"+e,t,i)},Za.styleTween=function(e,t,n){function r(r,a){var i=t.call(this,r,a,o(this).getComputedStyle(this,null).getPropertyValue(e));return i&&function(t){this.style.setProperty(e,i(t),n)}}return arguments.length<3&&(n=\"\"),this.tween(\"style.\"+e,r)},Za.text=function(e){return qa(this,\"text\",e,Ha)},Za.remove=function(){var e=this.namespace;return this.each(\"end.transition\",(function(){var t;this[e].count<2&&(t=this.parentNode)&&t.removeChild(this)}))},Za.ease=function(t){var n=this.id,r=this.namespace;return arguments.length<1?this.node()[r][n].ease:(\"function\"!=typeof t&&(t=e.ease.apply(e,arguments)),ce(this,(function(e){e[r][n].ease=t})))},Za.delay=function(e){var t=this.id,n=this.namespace;return arguments.length<1?this.node()[n][t].delay:ce(this,\"function\"==typeof e?function(r,a,i){r[n][t].delay=+e.call(r,r.__data__,a,i)}:(e=+e,function(r){r[n][t].delay=e}))},Za.duration=function(e){var t=this.id,n=this.namespace;return arguments.length<1?this.node()[n][t].duration:ce(this,\"function\"==typeof e?function(r,a,i){r[n][t].duration=Math.max(1,e.call(r,r.__data__,a,i))}:(e=Math.max(1,e),function(r){r[n][t].duration=e}))},Za.each=function(t,n){var r=this.id,a=this.namespace;if(arguments.length<2){var i=Fa,o=za;try{za=r,ce(this,(function(e,n,i){Fa=e[a][r],t.call(e,e.__data__,n,i)}))}finally{Fa=i,za=o}}else ce(this,(function(i){var o=i[a][r];(o.event||(o.event=e.dispatch(\"start\",\"end\",\"interrupt\"))).on(t,n)}));return this},Za.transition=function(){for(var e,t,n,r=this.id,a=++Ba,i=this.namespace,o=[],l=0,s=this.length;l<s;l++){o.push(e=[]);for(var u,c=0,f=(u=this[l]).length;c<f;c++)(t=u[c])&&Wa(t,c,i,a,{time:(n=t[i][r]).time,ease:n.ease,delay:n.delay+n.duration,duration:n.duration}),e.push(t)}return Na(o,i,a)},e.svg.axis=function(){var t,n=e.scale.linear(),a=Va,i=6,o=6,l=3,s=[10],u=null;function c(r){r.each((function(){var r,c=e.select(this),f=this.__chart__||n,d=this.__chart__=n.copy(),p=null==u?d.ticks?d.ticks.apply(d,s):d.domain():u,h=null==t?d.tickFormat?d.tickFormat.apply(d,s):A:t,m=c.selectAll(\".tick\").data(p,d),g=m.enter().insert(\"g\",\".domain\").attr(\"class\",\"tick\").style(\"opacity\",Te),y=e.transition(m.exit()).style(\"opacity\",Te).remove(),v=e.transition(m.order()).style(\"opacity\",1),b=Math.max(i,0)+l,x=Ir(d),w=c.selectAll(\".domain\").data([0]),_=(w.enter().append(\"path\").attr(\"class\",\"domain\"),e.transition(w));g.append(\"line\"),g.append(\"text\");var k,T,M,S,E=g.select(\"line\"),C=v.select(\"line\"),O=m.select(\"text\").text(h),D=g.select(\"text\"),P=v.select(\"text\"),R=\"top\"===a||\"left\"===a?-1:1;if(\"bottom\"===a||\"top\"===a?(r=Ga,k=\"x\",M=\"y\",T=\"x2\",S=\"y2\",O.attr(\"dy\",R<0?\"0em\":\".71em\").style(\"text-anchor\",\"middle\"),_.attr(\"d\",\"M\"+x[0]+\",\"+R*o+\"V0H\"+x[1]+\"V\"+R*o)):(r=$a,k=\"y\",M=\"x\",T=\"y2\",S=\"x2\",O.attr(\"dy\",\".32em\").style(\"text-anchor\",R<0?\"end\":\"start\"),_.attr(\"d\",\"M\"+R*o+\",\"+x[0]+\"H0V\"+x[1]+\"H\"+R*o)),E.attr(S,R*i),D.attr(M,R*b),C.attr(T,0).attr(S,R*i),P.attr(k,0).attr(M,R*b),d.rangeBand){var L=d,I=L.rangeBand()/2;f=d=function(e){return L(e)+I}}else f.rangeBand?f=d:y.call(r,d,f);g.call(r,f,d),v.call(r,d,d)}))}return c.scale=function(e){return arguments.length?(n=e,c):n},c.orient=function(e){return arguments.length?(a=e in Ya?e+\"\":Va,c):a},c.ticks=function(){return arguments.length?(s=r(arguments),c):s},c.tickValues=function(e){return arguments.length?(u=e,c):u},c.tickFormat=function(e){return arguments.length?(t=e,c):t},c.tickSize=function(e){var t=arguments.length;return t?(i=+e,o=+arguments[t-1],c):i},c.innerTickSize=function(e){return arguments.length?(i=+e,c):i},c.outerTickSize=function(e){return arguments.length?(o=+e,c):o},c.tickPadding=function(e){return arguments.length?(l=+e,c):l},c.tickSubdivide=function(){return arguments.length&&c},c};var Va=\"bottom\",Ya={top:1,right:1,bottom:1,left:1};function Ga(e,t,n){e.attr(\"transform\",(function(e){var r=t(e);return\"translate(\"+(isFinite(r)?r:n(e))+\",0)\"}))}function $a(e,t,n){e.attr(\"transform\",(function(e){var r=t(e);return\"translate(0,\"+(isFinite(r)?r:n(e))+\")\"}))}e.svg.brush=function(){var t,n,r=F(d,\"brushstart\",\"brush\",\"brushend\"),a=null,i=null,l=[0,0],s=[0,0],u=!0,c=!0,f=Ka[0];function d(t){t.each((function(){var t=e.select(this).style(\"pointer-events\",\"all\").style(\"-webkit-tap-highlight-color\",\"rgba(0,0,0,0)\").on(\"mousedown.brush\",g).on(\"touchstart.brush\",g),n=t.selectAll(\".background\").data([0]);n.enter().append(\"rect\").attr(\"class\",\"background\").style(\"visibility\",\"hidden\").style(\"cursor\",\"crosshair\"),t.selectAll(\".extent\").data([0]).enter().append(\"rect\").attr(\"class\",\"extent\").style(\"cursor\",\"move\");var r=t.selectAll(\".resize\").data(f,A);r.exit().remove(),r.enter().append(\"g\").attr(\"class\",(function(e){return\"resize \"+e})).style(\"cursor\",(function(e){return Xa[e]})).append(\"rect\").attr(\"x\",(function(e){return/[ew]$/.test(e)?-3:null})).attr(\"y\",(function(e){return/^[ns]/.test(e)?-3:null})).attr(\"width\",6).attr(\"height\",6).style(\"visibility\",\"hidden\"),r.style(\"display\",d.empty()?\"none\":null);var o,l=e.transition(t),s=e.transition(n);a&&(o=Ir(a),s.attr(\"x\",o[0]).attr(\"width\",o[1]-o[0]),h(l)),i&&(o=Ir(i),s.attr(\"y\",o[0]).attr(\"height\",o[1]-o[0]),m(l)),p(l)}))}function p(e){e.selectAll(\".resize\").attr(\"transform\",(function(e){return\"translate(\"+l[+/e$/.test(e)]+\",\"+s[+/^s/.test(e)]+\")\"}))}function h(e){e.select(\".extent\").attr(\"x\",l[0]),e.selectAll(\".extent,.n>rect,.s>rect\").attr(\"width\",l[1]-l[0])}function m(e){e.select(\".extent\").attr(\"y\",s[0]),e.selectAll(\".extent,.e>rect,.w>rect\").attr(\"height\",s[1]-s[0])}function g(){var f,g,y=this,v=e.select(e.event.target),b=r.of(y,arguments),x=e.select(y),w=v.datum(),_=!/^(n|s)$/.test(w)&&a,k=!/^(e|w)$/.test(w)&&i,T=v.classed(\"extent\"),M=xe(y),S=e.mouse(y),E=e.select(o(y)).on(\"keydown.brush\",A).on(\"keyup.brush\",D);if(e.event.changedTouches?E.on(\"touchmove.brush\",P).on(\"touchend.brush\",L):E.on(\"mousemove.brush\",P).on(\"mouseup.brush\",L),x.interrupt().selectAll(\"*\").interrupt(),T)S[0]=l[0]-S[0],S[1]=s[0]-S[1];else if(w){var C=+/w$/.test(w),O=+/^n/.test(w);g=[l[1-C]-S[0],s[1-O]-S[1]],S[0]=l[C],S[1]=s[O]}else e.event.altKey&&(f=S.slice());function A(){32==e.event.keyCode&&(T||(f=null,S[0]-=l[1],S[1]-=s[1],T=2),N())}function D(){32==e.event.keyCode&&2==T&&(S[0]+=l[1],S[1]+=s[1],T=0,N())}function P(){var t=e.mouse(y),n=!1;g&&(t[0]+=g[0],t[1]+=g[1]),T||(e.event.altKey?(f||(f=[(l[0]+l[1])/2,(s[0]+s[1])/2]),S[0]=l[+(t[0]<f[0])],S[1]=s[+(t[1]<f[1])]):f=null),_&&R(t,a,0)&&(h(x),n=!0),k&&R(t,i,1)&&(m(x),n=!0),n&&(p(x),b({type:\"brush\",mode:T?\"move\":\"resize\"}))}function R(e,r,a){var i,o,d=Ir(r),p=d[0],h=d[1],m=S[a],g=a?s:l,y=g[1]-g[0];if(T&&(p-=m,h-=y+m),i=(a?c:u)?Math.max(p,Math.min(h,e[a])):e[a],T?o=(i+=m)+y:(f&&(m=Math.max(p,Math.min(h,2*f[a]-i))),m<i?(o=i,i=m):o=m),g[0]!=i||g[1]!=o)return a?n=null:t=null,g[0]=i,g[1]=o,!0}function L(){P(),x.style(\"pointer-events\",\"all\").selectAll(\".resize\").style(\"display\",d.empty()?\"none\":null),e.select(\"body\").style(\"cursor\",null),E.on(\"mousemove.brush\",null).on(\"mouseup.brush\",null).on(\"touchmove.brush\",null).on(\"touchend.brush\",null).on(\"keydown.brush\",null).on(\"keyup.brush\",null),M(),b({type:\"brushend\"})}x.style(\"pointer-events\",\"none\").selectAll(\".resize\").style(\"display\",null),e.select(\"body\").style(\"cursor\",v.style(\"cursor\")),b({type:\"brushstart\"}),P()}return d.event=function(a){a.each((function(){var a=r.of(this,arguments),i={x:l,y:s,i:t,j:n},o=this.__chart__||i;this.__chart__=i,za?e.select(this).transition().each(\"start.brush\",(function(){t=o.i,n=o.j,l=o.x,s=o.y,a({type:\"brushstart\"})})).tween(\"brush:brush\",(function(){var e=xn(l,i.x),r=xn(s,i.y);return t=n=null,function(t){l=i.x=e(t),s=i.y=r(t),a({type:\"brush\",mode:\"resize\"})}})).each(\"end.brush\",(function(){t=i.i,n=i.j,a({type:\"brush\",mode:\"resize\"}),a({type:\"brushend\"})})):(a({type:\"brushstart\"}),a({type:\"brush\",mode:\"resize\"}),a({type:\"brushend\"}))}))},d.x=function(e){return arguments.length?(f=Ka[!(a=e)<<1|!i],d):a},d.y=function(e){return arguments.length?(f=Ka[!a<<1|!(i=e)],d):i},d.clamp=function(e){return arguments.length?(a&&i?(u=!!e[0],c=!!e[1]):a?u=!!e:i&&(c=!!e),d):a&&i?[u,c]:a?u:i?c:null},d.extent=function(e){var r,o,u,c,f;return arguments.length?(a&&(r=e[0],o=e[1],i&&(r=r[0],o=o[0]),t=[r,o],a.invert&&(r=a(r),o=a(o)),o<r&&(f=r,r=o,o=f),r==l[0]&&o==l[1]||(l=[r,o])),i&&(u=e[0],c=e[1],a&&(u=u[1],c=c[1]),n=[u,c],i.invert&&(u=i(u),c=i(c)),c<u&&(f=u,u=c,c=f),u==s[0]&&c==s[1]||(s=[u,c])),d):(a&&(t?(r=t[0],o=t[1]):(r=l[0],o=l[1],a.invert&&(r=a.invert(r),o=a.invert(o)),o<r&&(f=r,r=o,o=f))),i&&(n?(u=n[0],c=n[1]):(u=s[0],c=s[1],i.invert&&(u=i.invert(u),c=i.invert(c)),c<u&&(f=u,u=c,c=f))),a&&i?[[r,u],[o,c]]:a?[r,o]:i&&[u,c])},d.clear=function(){return d.empty()||(l=[0,0],s=[0,0],t=n=null),d},d.empty=function(){return!!a&&l[0]==l[1]||!!i&&s[0]==s[1]},e.rebind(d,r,\"on\")};var Xa={n:\"ns-resize\",e:\"ew-resize\",s:\"ns-resize\",w:\"ew-resize\",nw:\"nwse-resize\",ne:\"nesw-resize\",se:\"nwse-resize\",sw:\"nesw-resize\"},Ka=[[\"n\",\"e\",\"s\",\"w\",\"nw\",\"ne\",\"se\",\"sw\"],[\"e\",\"w\"],[\"n\",\"s\"],[]];function Ja(e){return JSON.parse(e.responseText)}function Qa(e){var t=a.createRange();return t.selectNode(a.body),t.createContextualFragment(e.responseText)}e.text=ct((function(e){return e.responseText})),e.json=function(e,t){return ft(e,\"application/json\",Ja,t)},e.html=function(e,t){return ft(e,\"text/html\",Qa,t)},e.xml=ct((function(e){return e.responseXML})),\"object\"==typeof t&&t.exports?t.exports=e:this.d3=e}).apply(self)},{}],21:[function(e,t,r){(function(n){(function(){\"use strict\";var r=e(\"object-assign\");function a(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,a=0,i=Math.min(n,r);a<i;++a)if(e[a]!==t[a]){n=e[a],r=t[a];break}return n<r?-1:r<n?1:0}function i(e){return n.Buffer&&\"function\"==typeof n.Buffer.isBuffer?n.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var o=e(\"util/\"),l=Object.prototype.hasOwnProperty,s=Array.prototype.slice,u=\"foo\"===function(){}.name;function c(e){return Object.prototype.toString.call(e)}function f(e){return!i(e)&&\"function\"==typeof n.ArrayBuffer&&(\"function\"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}var d=t.exports=v,p=/\\s*function\\s+([^\\(\\s]*)\\s*/;function h(e){if(o.isFunction(e)){if(u)return e.name;var t=e.toString().match(p);return t&&t[1]}}function m(e,t){return\"string\"==typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(u||!o.isFunction(e))return o.inspect(e);var t=h(e);return\"[Function\"+(t?\": \"+t:\"\")+\"]\"}function y(e,t,n,r,a){throw new d.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:a})}function v(e,t){e||y(e,!0,t,\"==\",d.ok)}function b(e,t,n,r){if(e===t)return!0;if(i(e)&&i(t))return 0===a(e,t);if(o.isDate(e)&&o.isDate(t))return e.getTime()===t.getTime();if(o.isRegExp(e)&&o.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&\"object\"==typeof e||null!==t&&\"object\"==typeof t){if(f(e)&&f(t)&&c(e)===c(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===a(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var l=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==l&&l===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null==e||null==t)return!1;if(o.isPrimitive(e)||o.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var a=x(e),i=x(t);if(a&&!i||!a&&i)return!1;if(a)return b(e=s.call(e),t=s.call(t),n);var l,u,c=k(e),f=k(t);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),u=c.length-1;u>=0;u--)if(c[u]!==f[u])return!1;for(u=c.length-1;u>=0;u--)if(!b(e[l=c[u]],t[l],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function x(e){return\"[object Arguments]\"==Object.prototype.toString.call(e)}function w(e,t){if(!e||!t)return!1;if(\"[object RegExp]\"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function _(e,t,n,r){var a;if(\"function\"!=typeof t)throw new TypeError('\"block\" argument must be a function');\"string\"==typeof n&&(r=n,n=null),a=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?\" (\"+n.name+\").\":\".\")+(r?\" \"+r:\".\"),e&&!a&&y(a,n,\"Missing expected exception\"+r);var i=\"string\"==typeof r,l=!e&&a&&!n;if((!e&&o.isError(a)&&i&&w(a,n)||l)&&y(a,n,\"Got unwanted exception\"+r),e&&a&&n&&!w(a,n)||!e&&a)throw a}d.AssertionError=function(e){this.name=\"AssertionError\",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return m(g(e.actual),128)+\" \"+e.operator+\" \"+m(g(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,a=h(t),i=r.indexOf(\"\\n\"+a);if(i>=0){var o=r.indexOf(\"\\n\",i+1);r=r.substring(o+1)}this.stack=r}}},o.inherits(d.AssertionError,Error),d.fail=y,d.ok=v,d.equal=function(e,t,n){e!=t&&y(e,t,n,\"==\",d.equal)},d.notEqual=function(e,t,n){e==t&&y(e,t,n,\"!=\",d.notEqual)},d.deepEqual=function(e,t,n){b(e,t,!1)||y(e,t,n,\"deepEqual\",d.deepEqual)},d.deepStrictEqual=function(e,t,n){b(e,t,!0)||y(e,t,n,\"deepStrictEqual\",d.deepStrictEqual)},d.notDeepEqual=function(e,t,n){b(e,t,!1)&&y(e,t,n,\"notDeepEqual\",d.notDeepEqual)},d.notDeepStrictEqual=function e(t,n,r){b(t,n,!0)&&y(t,n,r,\"notDeepStrictEqual\",e)},d.strictEqual=function(e,t,n){e!==t&&y(e,t,n,\"===\",d.strictEqual)},d.notStrictEqual=function(e,t,n){e===t&&y(e,t,n,\"!==\",d.notStrictEqual)},d.throws=function(e,t,n){_(!0,e,t,n)},d.doesNotThrow=function(e,t,n){_(!1,e,t,n)},d.ifError=function(e){if(e)throw e},d.strict=r((function e(t,n){t||y(t,!0,n,\"==\",e)}),d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var k=Object.keys||function(e){var t=[];for(var n in e)l.call(e,n)&&t.push(n);return t}}).call(this)}).call(this,void 0!==n.g?n.g:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"object-assign\":73,\"util/\":24}],22:[function(e,t,n){\"function\"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],23:[function(e,t,n){t.exports=function(e){return e&&\"object\"==typeof e&&\"function\"==typeof e.copy&&\"function\"==typeof e.fill&&\"function\"==typeof e.readUInt8}},{}],24:[function(e,t,r){(function(t,n){(function(){var a=/%[sdj%]/g;r.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(\" \")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(a,(function(e){if(\"%%\"===e)return\"%\";if(n>=i)return e;switch(e){case\"%s\":return String(r[n++]);case\"%d\":return Number(r[n++]);case\"%j\":try{return JSON.stringify(r[n++])}catch(e){return\"[Circular]\"}default:return e}})),s=r[n];n<i;s=r[++n])m(s)||!x(s)?o+=\" \"+s:o+=\" \"+l(s);return o},r.deprecate=function(e,a){if(v(n.process))return function(){return r.deprecate(e,a).apply(this,arguments)};if(!0===t.noDeprecation)return e;var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(a);t.traceDeprecation?console.trace(a):console.error(a),i=!0}return e.apply(this,arguments)}};var i,o={};function l(e,t){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(t)?n.showHidden=t:t&&r._extend(n,t),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=s),c(n,e,n.depth)}function s(e,t){var n=l.styles[t];return n?\"\u001b[\"+l.colors[n][0]+\"m\"+e+\"\u001b[\"+l.colors[n][1]+\"m\":e}function u(e,t){return e}function c(e,t,n){if(e.customInspect&&t&&k(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var a=t.inspect(n,e);return y(a)||(a=c(e,a,n)),a}var i=function(e,t){if(v(t))return e.stylize(\"undefined\",\"undefined\");if(y(t)){var n=\"'\"+JSON.stringify(t).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return e.stylize(n,\"string\")}return g(t)?e.stylize(\"\"+t,\"number\"):h(t)?e.stylize(\"\"+t,\"boolean\"):m(t)?e.stylize(\"null\",\"null\"):void 0}(e,t);if(i)return i;var o=Object.keys(t),l=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),_(t)&&(o.indexOf(\"message\")>=0||o.indexOf(\"description\")>=0))return f(t);if(0===o.length){if(k(t)){var s=t.name?\": \"+t.name:\"\";return e.stylize(\"[Function\"+s+\"]\",\"special\")}if(b(t))return e.stylize(RegExp.prototype.toString.call(t),\"regexp\");if(w(t))return e.stylize(Date.prototype.toString.call(t),\"date\");if(_(t))return f(t)}var u,x=\"\",T=!1,M=[\"{\",\"}\"];return p(t)&&(T=!0,M=[\"[\",\"]\"]),k(t)&&(x=\" [Function\"+(t.name?\": \"+t.name:\"\")+\"]\"),b(t)&&(x=\" \"+RegExp.prototype.toString.call(t)),w(t)&&(x=\" \"+Date.prototype.toUTCString.call(t)),_(t)&&(x=\" \"+f(t)),0!==o.length||T&&0!=t.length?n<0?b(t)?e.stylize(RegExp.prototype.toString.call(t),\"regexp\"):e.stylize(\"[Object]\",\"special\"):(e.seen.push(t),u=T?function(e,t,n,r,a){for(var i=[],o=0,l=t.length;o<l;++o)C(t,String(o))?i.push(d(e,t,n,r,String(o),!0)):i.push(\"\");return a.forEach((function(a){a.match(/^\\d+$/)||i.push(d(e,t,n,r,a,!0))})),i}(e,t,n,l,o):o.map((function(r){return d(e,t,n,l,r,T)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf(\"\\n\"),e+t.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1}),0)>60?n[0]+(\"\"===t?\"\":t+\"\\n \")+\" \"+e.join(\",\\n \")+\" \"+n[1]:n[0]+t+\" \"+e.join(\", \")+\" \"+n[1]}(u,x,M)):M[0]+x+M[1]}function f(e){return\"[\"+Error.prototype.toString.call(e)+\"]\"}function d(e,t,n,r,a,i){var o,l,s;if((s=Object.getOwnPropertyDescriptor(t,a)||{value:t[a]}).get?l=s.set?e.stylize(\"[Getter/Setter]\",\"special\"):e.stylize(\"[Getter]\",\"special\"):s.set&&(l=e.stylize(\"[Setter]\",\"special\")),C(r,a)||(o=\"[\"+a+\"]\"),l||(e.seen.indexOf(s.value)<0?(l=m(n)?c(e,s.value,null):c(e,s.value,n-1)).indexOf(\"\\n\")>-1&&(l=i?l.split(\"\\n\").map((function(e){return\" \"+e})).join(\"\\n\").substr(2):\"\\n\"+l.split(\"\\n\").map((function(e){return\" \"+e})).join(\"\\n\")):l=e.stylize(\"[Circular]\",\"special\")),v(o)){if(i&&a.match(/^\\d+$/))return l;(o=JSON.stringify(\"\"+a)).match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,\"name\")):(o=o.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),o=e.stylize(o,\"string\"))}return o+\": \"+l}function p(e){return Array.isArray(e)}function h(e){return\"boolean\"==typeof e}function m(e){return null===e}function g(e){return\"number\"==typeof e}function y(e){return\"string\"==typeof e}function v(e){return void 0===e}function b(e){return x(e)&&\"[object RegExp]\"===T(e)}function x(e){return\"object\"==typeof e&&null!==e}function w(e){return x(e)&&\"[object Date]\"===T(e)}function _(e){return x(e)&&(\"[object Error]\"===T(e)||e instanceof Error)}function k(e){return\"function\"==typeof e}function T(e){return Object.prototype.toString.call(e)}function M(e){return e<10?\"0\"+e.toString(10):e.toString(10)}r.debuglog=function(e){if(v(i)&&(i=t.env.NODE_DEBUG||\"\"),e=e.toUpperCase(),!o[e])if(new RegExp(\"\\\\b\"+e+\"\\\\b\",\"i\").test(i)){var n=t.pid;o[e]=function(){var t=r.format.apply(r,arguments);console.error(\"%s %d: %s\",e,n,t)}}else o[e]=function(){};return o[e]},r.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"},r.isArray=p,r.isBoolean=h,r.isNull=m,r.isNullOrUndefined=function(e){return null==e},r.isNumber=g,r.isString=y,r.isSymbol=function(e){return\"symbol\"==typeof e},r.isUndefined=v,r.isRegExp=b,r.isObject=x,r.isDate=w,r.isError=_,r.isFunction=k,r.isPrimitive=function(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||void 0===e},r.isBuffer=e(\"./support/isBuffer\");var S=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function E(){var e=new Date,t=[M(e.getHours()),M(e.getMinutes()),M(e.getSeconds())].join(\":\");return[e.getDate(),S[e.getMonth()],t].join(\" \")}function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.log=function(){console.log(\"%s - %s\",E(),r.format.apply(r,arguments))},r.inherits=e(\"inherits\"),r._extend=function(e,t){if(!t||!x(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this)}).call(this,e(\"_process\"),void 0!==n.g?n.g:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./support/isBuffer\":23,_process:98,inherits:22}],25:[function(e,t,n){\"use strict\";n.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},n.toByteArray=function(e){var t,n,r=u(e),o=r[0],l=r[1],s=new i(function(e,t,n){return 3*(t+n)/4-n}(0,o,l)),c=0,f=l>0?o-4:o;for(n=0;n<f;n+=4)t=a[e.charCodeAt(n)]<<18|a[e.charCodeAt(n+1)]<<12|a[e.charCodeAt(n+2)]<<6|a[e.charCodeAt(n+3)],s[c++]=t>>16&255,s[c++]=t>>8&255,s[c++]=255&t;return 2===l&&(t=a[e.charCodeAt(n)]<<2|a[e.charCodeAt(n+1)]>>4,s[c++]=255&t),1===l&&(t=a[e.charCodeAt(n)]<<10|a[e.charCodeAt(n+1)]<<4|a[e.charCodeAt(n+2)]>>2,s[c++]=t>>8&255,s[c++]=255&t),s},n.fromByteArray=function(e){for(var t,n=e.length,a=n%3,i=[],o=0,l=n-a;o<l;o+=16383)i.push(c(e,o,o+16383>l?l:o+16383));return 1===a?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+\"==\")):2===a&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+\"=\")),i.join(\"\")};for(var r=[],a=[],i=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,o=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",l=0,s=o.length;l<s;++l)r[l]=o[l],a[o.charCodeAt(l)]=l;function u(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var n=e.indexOf(\"=\");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,n){for(var a,i,o=[],l=t;l<n;l+=3)a=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(255&e[l+2]),o.push(r[(i=a)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join(\"\")}a[\"-\".charCodeAt(0)]=62,a[\"_\".charCodeAt(0)]=63},{}],26:[function(e,t,n){},{}],27:[function(e,t,n){\"use strict\";var r,a=\"object\"==typeof Reflect?Reflect:null,i=a&&\"function\"==typeof a.apply?a.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=a&&\"function\"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function l(){l.init.call(this)}t.exports=l,t.exports.once=function(e,t){return new Promise((function(n,r){function a(){void 0!==i&&e.removeListener(\"error\",i),n([].slice.call(arguments))}var i;\"error\"!==t&&(i=function(n){e.removeListener(t,a),r(n)},e.once(\"error\",i)),e.once(t,a)}))},l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var s=10;function u(e){if(\"function\"!=typeof e)throw new TypeError('The \"listener\" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var a,i,o,l;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit(\"newListener\",t,n.listener?n.listener:n),i=e._events),o=i[t]),void 0===o)o=i[t]=n,++e._eventsCount;else if(\"function\"==typeof o?o=i[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(a=c(e))>0&&o.length>a&&!o.warned){o.warned=!0;var s=new Error(\"Possible EventEmitter memory leak detected. \"+o.length+\" \"+String(t)+\" listeners added. Use emitter.setMaxListeners() to increase limit\");s.name=\"MaxListenersExceededWarning\",s.emitter=e,s.type=t,s.count=o.length,l=s,console&&console.warn&&console.warn(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},a=d.bind(r);return a.listener=n,r.wrapFn=a,a}function h(e,t,n){var r=e._events;if(void 0===r)return[];var a=r[t];return void 0===a?[]:\"function\"==typeof a?n?[a.listener||a]:[a]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):g(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if(\"function\"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(l,\"defaultMaxListeners\",{enumerable:!0,get:function(){return s},set:function(e){if(\"number\"!=typeof e||e<0||o(e))throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received '+e+\".\");s=e}}),l.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},l.prototype.setMaxListeners=function(e){if(\"number\"!=typeof e||e<0||o(e))throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received '+e+\".\");return this._maxListeners=e,this},l.prototype.getMaxListeners=function(){return c(this)},l.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r=\"error\"===e,a=this._events;if(void 0!==a)r=r&&void 0===a.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var l=new Error(\"Unhandled error.\"+(o?\" (\"+o.message+\")\":\"\"));throw l.context=o,l}var s=a[e];if(void 0===s)return!1;if(\"function\"==typeof s)i(s,this,t);else{var u=s.length,c=g(s,u);for(n=0;n<u;++n)i(c[n],this,t)}return!0},l.prototype.addListener=function(e,t){return f(this,e,t,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(e,t){return f(this,e,t,!0)},l.prototype.once=function(e,t){return u(t),this.on(e,p(this,e,t)),this},l.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,p(this,e,t)),this},l.prototype.removeListener=function(e,t){var n,r,a,i,o;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit(\"removeListener\",e,n.listener||t));else if(\"function\"!=typeof n){for(a=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){o=n[i].listener,a=i;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit(\"removeListener\",e,o||t)}return this},l.prototype.off=l.prototype.removeListener,l.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,i=Object.keys(n);for(r=0;r<i.length;++r)\"removeListener\"!==(a=i[r])&&this.removeAllListeners(a);return this.removeAllListeners(\"removeListener\"),this._events=Object.create(null),this._eventsCount=0,this}if(\"function\"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return h(this,e,!0)},l.prototype.rawListeners=function(e){return h(this,e,!1)},l.listenerCount=function(e,t){return\"function\"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},l.prototype.listenerCount=m,l.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},{}],28:[function(e,t,n){(function(t){(function(){\"use strict\";var t=e(\"base64-js\"),r=e(\"ieee754\");function a(e){if(e>2147483647)throw new RangeError('The value \"'+e+'\" is invalid for option \"size\"');var t=new Uint8Array(e);return t.__proto__=i.prototype,t}function i(e,t,n){if(\"number\"==typeof e){if(\"string\"==typeof t)throw new TypeError('The \"string\" argument must be of type string. Received type number');return s(e)}return o(e,t,n)}function o(e,t,n){if(\"string\"==typeof e)return function(e,t){if(\"string\"==typeof t&&\"\"!==t||(t=\"utf8\"),!i.isEncoding(t))throw new TypeError(\"Unknown encoding: \"+t);var n=0|f(e,t),r=a(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return u(e);if(null==e)throw TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof e);if(z(e,ArrayBuffer)||e&&z(e.buffer,ArrayBuffer))return function(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('\"offset\" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('\"length\" is outside of buffer bounds');var r;return(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n)).__proto__=i.prototype,r}(e,t,n);if(\"number\"==typeof e)throw new TypeError('The \"value\" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return i.from(r,t,n);var o=function(e){if(i.isBuffer(e)){var t=0|c(e.length),n=a(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?\"number\"!=typeof e.length||F(e.length)?a(0):u(e):\"Buffer\"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(o)return o;if(\"undefined\"!=typeof Symbol&&null!=Symbol.toPrimitive&&\"function\"==typeof e[Symbol.toPrimitive])return i.from(e[Symbol.toPrimitive](\"string\"),t,n);throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof e)}function l(e){if(\"number\"!=typeof e)throw new TypeError('\"size\" argument must be of type number');if(e<0)throw new RangeError('The value \"'+e+'\" is invalid for option \"size\"')}function s(e){return l(e),a(e<0?0:0|c(e))}function u(e){for(var t=e.length<0?0:0|c(e.length),n=a(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function c(e){if(e>=2147483647)throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+2147483647..toString(16)+\" bytes\");return 0|e}function f(e,t){if(i.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||z(e,ArrayBuffer))return e.byteLength;if(\"string\"!=typeof e)throw new TypeError('The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var a=!1;;)switch(t){case\"ascii\":case\"latin1\":case\"binary\":return n;case\"utf8\":case\"utf-8\":return I(e).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*n;case\"hex\":return n>>>1;case\"base64\":return j(e).length;default:if(a)return r?-1:I(e).length;t=(\"\"+t).toLowerCase(),a=!0}}function d(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return\"\";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return\"\";if((n>>>=0)<=(t>>>=0))return\"\";for(e||(e=\"utf8\");;)switch(e){case\"hex\":return S(this,t,n);case\"utf8\":case\"utf-8\":return k(this,t,n);case\"ascii\":return T(this,t,n);case\"latin1\":case\"binary\":return M(this,t,n);case\"base64\":return _(this,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return E(this,t,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),r=!0}}function p(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function h(e,t,n,r,a){if(0===e.length)return-1;if(\"string\"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),F(n=+n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if(\"string\"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,a);if(\"number\"==typeof t)return t&=255,\"function\"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,r,a);throw new TypeError(\"val must be string, number or Buffer\")}function m(e,t,n,r,a){var i,o=1,l=e.length,s=t.length;if(void 0!==r&&(\"ucs2\"===(r=String(r).toLowerCase())||\"ucs-2\"===r||\"utf16le\"===r||\"utf-16le\"===r)){if(e.length<2||t.length<2)return-1;o=2,l/=2,s/=2,n/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a){var c=-1;for(i=n;i<l;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===s)return c*o}else-1!==c&&(i-=i-c),c=-1}else for(n+s>l&&(n=l-s),i=n;i>=0;i--){for(var f=!0,d=0;d<s;d++)if(u(e,i+d)!==u(t,d)){f=!1;break}if(f)return i}return-1}function g(e,t,n,r){n=Number(n)||0;var a=e.length-n;r?(r=Number(r))>a&&(r=a):r=a;var i=t.length;r>i/2&&(r=i/2);for(var o=0;o<r;++o){var l=parseInt(t.substr(2*o,2),16);if(F(l))return o;e[n+o]=l}return o}function y(e,t,n,r){return N(I(t,e.length-n),e,n,r)}function v(e,t,n,r){return N(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function b(e,t,n,r){return v(e,t,n,r)}function x(e,t,n,r){return N(j(t),e,n,r)}function w(e,t,n,r){return N(function(e,t){for(var n,r,a,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,a=n%256,i.push(a),i.push(r);return i}(t,e.length-n),e,n,r)}function _(e,n,r){return 0===n&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],a=t;a<n;){var i,o,l,s,u=e[a],c=null,f=u>239?4:u>223?3:u>191?2:1;if(a+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[a+1]))&&(s=(31&u)<<6|63&i)>127&&(c=s);break;case 3:i=e[a+1],o=e[a+2],128==(192&i)&&128==(192&o)&&(s=(15&u)<<12|(63&i)<<6|63&o)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:i=e[a+1],o=e[a+2],l=e[a+3],128==(192&i)&&128==(192&o)&&128==(192&l)&&(s=(15&u)<<18|(63&i)<<12|(63&o)<<6|63&l)>65535&&s<1114112&&(c=s)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),a+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n=\"\",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function T(e,t,n){var r=\"\";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(127&e[a]);return r}function M(e,t,n){var r=\"\";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(e[a]);return r}function S(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var a=\"\",i=t;i<n;++i)a+=L(e[i]);return a}function E(e,t,n){for(var r=e.slice(t,n),a=\"\",i=0;i<r.length;i+=2)a+=String.fromCharCode(r[i]+256*r[i+1]);return a}function C(e,t,n){if(e%1!=0||e<0)throw new RangeError(\"offset is not uint\");if(e+t>n)throw new RangeError(\"Trying to access beyond buffer length\")}function O(e,t,n,r,a,o){if(!i.isBuffer(e))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(t>a||t<o)throw new RangeError('\"value\" argument is out of bounds');if(n+r>e.length)throw new RangeError(\"Index out of range\")}function A(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"Index out of range\")}function D(e,t,n,a,i){return t=+t,n>>>=0,i||A(e,0,n,4),r.write(e,t,n,a,23,4),n+4}function P(e,t,n,a,i){return t=+t,n>>>=0,i||A(e,0,n,8),r.write(e,t,n,a,52,8),n+8}n.Buffer=i,n.SlowBuffer=function(e){return+e!=e&&(e=0),i.alloc(+e)},n.INSPECT_MAX_BYTES=50,n.kMaxLength=2147483647,i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),i.TYPED_ARRAY_SUPPORT||\"undefined\"==typeof console||\"function\"!=typeof console.error||console.error(\"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.\"),Object.defineProperty(i.prototype,\"parent\",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,\"offset\",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}}),\"undefined\"!=typeof Symbol&&null!=Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(e,t,n){return o(e,t,n)},i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,i.alloc=function(e,t,n){return function(e,t,n){return l(e),e<=0?a(e):void 0!==t?\"string\"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)}(e,t,n)},i.allocUnsafe=function(e){return s(e)},i.allocUnsafeSlow=function(e){return s(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==i.prototype},i.compare=function(e,t){if(z(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),z(t,Uint8Array)&&(t=i.from(t,t.offset,t.byteLength)),!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError('The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,a=0,o=Math.min(n,r);a<o;++a)if(e[a]!==t[a]){n=e[a],r=t[a];break}return n<r?-1:r<n?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"latin1\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return!0;default:return!1}},i.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('\"list\" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=i.allocUnsafe(t),a=0;for(n=0;n<e.length;++n){var o=e[n];if(z(o,Uint8Array)&&(o=i.from(o)),!i.isBuffer(o))throw new TypeError('\"list\" argument must be an Array of Buffers');o.copy(r,a),a+=o.length}return r},i.byteLength=f,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(var t=0;t<e;t+=2)p(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError(\"Buffer size must be a multiple of 32-bits\");for(var t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError(\"Buffer size must be a multiple of 64-bits\");for(var t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},i.prototype.toString=function(){var e=this.length;return 0===e?\"\":0===arguments.length?k(this,0,e):d.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e=\"\",t=n.INSPECT_MAX_BYTES;return e=this.toString(\"hex\",0,t).replace(/(.{2})/g,\"$1 \").trim(),this.length>t&&(e+=\" ... \"),\"<Buffer \"+e+\">\"},i.prototype.compare=function(e,t,n,r,a){if(z(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),!i.isBuffer(e))throw new TypeError('The \"target\" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError(\"out of range index\");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(a>>>=0)-(r>>>=0),l=(n>>>=0)-(t>>>=0),s=Math.min(o,l),u=this.slice(r,a),c=e.slice(t,n),f=0;f<s;++f)if(u[f]!==c[f]){o=u[f],l=c[f];break}return o<l?-1:l<o?1:0},i.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},i.prototype.indexOf=function(e,t,n){return h(this,e,t,n,!0)},i.prototype.lastIndexOf=function(e,t,n){return h(this,e,t,n,!1)},i.prototype.write=function(e,t,n,r){if(void 0===t)r=\"utf8\",n=this.length,t=0;else if(void 0===n&&\"string\"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r=\"utf8\")):(r=n,n=void 0)}var a=this.length-t;if((void 0===n||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");r||(r=\"utf8\");for(var i=!1;;)switch(r){case\"hex\":return g(this,e,t,n);case\"utf8\":case\"utf-8\":return y(this,e,t,n);case\"ascii\":return v(this,e,t,n);case\"latin1\":case\"binary\":return b(this,e,t,n);case\"base64\":return x(this,e,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return w(this,e,t,n);default:if(i)throw new TypeError(\"Unknown encoding: \"+r);r=(\"\"+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return r.__proto__=i.prototype,r},i.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||C(e,t,this.length);for(var r=this[e],a=1,i=0;++i<t&&(a*=256);)r+=this[e+i]*a;return r},i.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||C(e,t,this.length);for(var r=this[e+--t],a=1;t>0&&(a*=256);)r+=this[e+--t]*a;return r},i.prototype.readUInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||C(e,t,this.length);for(var r=this[e],a=1,i=0;++i<t&&(a*=256);)r+=this[e+i]*a;return r>=(a*=128)&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||C(e,t,this.length);for(var r=t,a=1,i=this[e+--r];r>0&&(a*=256);)i+=this[e+--r]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),r.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),r.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),r.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),r.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||O(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,i=0;for(this[t]=255&e;++i<n&&(a*=256);)this[t+i]=e/a&255;return t+n},i.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||O(this,e,t,n,Math.pow(2,8*n)-1,0);var a=n-1,i=1;for(this[t+a]=255&e;--a>=0&&(i*=256);)this[t+a]=e/i&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var a=Math.pow(2,8*n-1);O(this,e,t,n,a-1,-a)}var i=0,o=1,l=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===l&&0!==this[t+i-1]&&(l=1),this[t+i]=(e/o>>0)-l&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var a=Math.pow(2,8*n-1);O(this,e,t,n,a-1,-a)}var i=n-1,o=1,l=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/o>>0)-l&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return P(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return P(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(!i.isBuffer(e))throw new TypeError(\"argument should be a Buffer\");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError(\"targetStart out of bounds\");if(n<0||n>=this.length)throw new RangeError(\"Index out of range\");if(r<0)throw new RangeError(\"sourceEnd out of bounds\");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var a=r-n;if(this===e&&\"function\"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var o=a-1;o>=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return a},i.prototype.fill=function(e,t,n,r){if(\"string\"==typeof e){if(\"string\"==typeof t?(r=t,t=0,n=this.length):\"string\"==typeof n&&(r=n,n=this.length),void 0!==r&&\"string\"!=typeof r)throw new TypeError(\"encoding must be a string\");if(\"string\"==typeof r&&!i.isEncoding(r))throw new TypeError(\"Unknown encoding: \"+r);if(1===e.length){var a=e.charCodeAt(0);(\"utf8\"===r&&a<128||\"latin1\"===r)&&(e=a)}}else\"number\"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError(\"Out of range index\");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),\"number\"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var l=i.isBuffer(e)?e:i.from(e,r),s=l.length;if(0===s)throw new TypeError('The value \"'+e+'\" is invalid for argument \"value\"');for(o=0;o<n-t;++o)this[o+t]=l[o%s]}return this};var R=/[^+/0-9A-Za-z-_]/g;function L(e){return e<16?\"0\"+e.toString(16):e.toString(16)}function I(e,t){var n;t=t||1/0;for(var r=e.length,a=null,i=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error(\"Invalid code point\");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function j(e){return t.toByteArray(function(e){if((e=(e=e.split(\"=\")[0]).trim().replace(R,\"\")).length<2)return\"\";for(;e.length%4!=0;)e+=\"=\";return e}(e))}function N(e,t,n,r){for(var a=0;a<r&&!(a+n>=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function F(e){return e!=e}}).call(this)}).call(this,e(\"buffer\").Buffer)},{\"base64-js\":25,buffer:28,ieee754:66}],29:[function(e,t,n){!function(e,r){r(\"object\"==typeof n&&void 0!==t?n:(e=\"undefined\"!=typeof globalThis?globalThis:e||self).d3=e.d3||{})}(this,(function(e){\"use strict\";function t(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(\"e\"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function n(e){return(e=t(Math.abs(e)))?e[1]:NaN}var r,a=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;function i(e){if(!(t=a.exec(e)))throw new Error(\"invalid format: \"+e);var t;return new o({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function o(e){this.fill=void 0===e.fill?\" \":e.fill+\"\",this.align=void 0===e.align?\">\":e.align+\"\",this.sign=void 0===e.sign?\"-\":e.sign+\"\",this.symbol=void 0===e.symbol?\"\":e.symbol+\"\",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?\"\":e.type+\"\"}function l(e,n){var r=t(e,n);if(!r)return e+\"\";var a=r[0],i=r[1];return i<0?\"0.\"+new Array(-i).join(\"0\")+a:a.length>i+1?a.slice(0,i+1)+\".\"+a.slice(i+1):a+new Array(i-a.length+2).join(\"0\")}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?\"0\":\"\")+(void 0===this.width?\"\":Math.max(1,0|this.width))+(this.comma?\",\":\"\")+(void 0===this.precision?\"\":\".\"+Math.max(0,0|this.precision))+(this.trim?\"~\":\"\")+this.type};var s={\"%\":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+\"\"},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(\"en\").replace(/,/g,\"\"):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return l(100*e,t)},r:l,s:function(e,n){var a=t(e,n);if(!a)return e+\"\";var i=a[0],o=a[1],l=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=i.length;return l===s?i:l>s?i+new Array(l-s+1).join(\"0\"):l>0?i.slice(0,l)+\".\"+i.slice(l):\"0.\"+new Array(1-l).join(\"0\")+t(e,Math.max(0,n+l-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function u(e){return e}var c,f=Array.prototype.map,d=[\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"µ\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];function p(e){var t,a,o=void 0===e.grouping||void 0===e.thousands?u:(t=f.call(e.grouping,Number),a=e.thousands+\"\",function(e,n){for(var r=e.length,i=[],o=0,l=t[0],s=0;r>0&&l>0&&(s+l+1>n&&(l=Math.max(1,n-s)),i.push(e.substring(r-=l,r+l)),!((s+=l+1)>n));)l=t[o=(o+1)%t.length];return i.reverse().join(a)}),l=void 0===e.currency?\"\":e.currency[0]+\"\",c=void 0===e.currency?\"\":e.currency[1]+\"\",p=void 0===e.decimal?\".\":e.decimal+\"\",h=void 0===e.numerals?u:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(f.call(e.numerals,String)),m=void 0===e.percent?\"%\":e.percent+\"\",g=void 0===e.minus?\"-\":e.minus+\"\",y=void 0===e.nan?\"NaN\":e.nan+\"\";function v(e){var t=(e=i(e)).fill,n=e.align,a=e.sign,u=e.symbol,f=e.zero,v=e.width,b=e.comma,x=e.precision,w=e.trim,_=e.type;\"n\"===_?(b=!0,_=\"g\"):s[_]||(void 0===x&&(x=12),w=!0,_=\"g\"),(f||\"0\"===t&&\"=\"===n)&&(f=!0,t=\"0\",n=\"=\");var k=\"$\"===u?l:\"#\"===u&&/[boxX]/.test(_)?\"0\"+_.toLowerCase():\"\",T=\"$\"===u?c:/[%p]/.test(_)?m:\"\",M=s[_],S=/[defgprs%]/.test(_);function E(e){var i,l,s,u=k,c=T;if(\"c\"===_)c=M(e)+c,e=\"\";else{var m=(e=+e)<0||1/e<0;if(e=isNaN(e)?y:M(Math.abs(e),x),w&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case\".\":a=t=r;break;case\"0\":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),m&&0==+e&&\"+\"!==a&&(m=!1),u=(m?\"(\"===a?a:g:\"-\"===a||\"(\"===a?\"\":a)+u,c=(\"s\"===_?d[8+r/3]:\"\")+c+(m&&\"(\"===a?\")\":\"\"),S)for(i=-1,l=e.length;++i<l;)if(48>(s=e.charCodeAt(i))||s>57){c=(46===s?p+e.slice(i+1):e.slice(i))+c,e=e.slice(0,i);break}}b&&!f&&(e=o(e,1/0));var E=u.length+e.length+c.length,C=E<v?new Array(v-E+1).join(t):\"\";switch(b&&f&&(e=o(C+e,C.length?v-c.length:1/0),C=\"\"),n){case\"<\":e=u+e+c+C;break;case\"=\":e=u+C+e+c;break;case\"^\":e=C.slice(0,E=C.length>>1)+u+e+c+C.slice(E);break;default:e=C+u+e+c}return h(e)}return x=void 0===x?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x)),E.toString=function(){return e+\"\"},E}return{format:v,formatPrefix:function(e,t){var r=v(((e=i(e)).type=\"f\",e)),a=3*Math.max(-8,Math.min(8,Math.floor(n(t)/3))),o=Math.pow(10,-a),l=d[8+a/3];return function(e){return r(o*e)+l}}}}function h(t){return c=p(t),e.format=c.format,e.formatPrefix=c.formatPrefix,c}h({decimal:\".\",thousands:\",\",grouping:[3],currency:[\"$\",\"\"],minus:\"-\"}),e.FormatSpecifier=o,e.formatDefaultLocale=h,e.formatLocale=p,e.formatSpecifier=i,e.precisionFixed=function(e){return Math.max(0,-n(Math.abs(e)))},e.precisionPrefix=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(n(t)/3)))-n(Math.abs(e)))},e.precisionRound=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,n(t)-n(e))+1},Object.defineProperty(e,\"__esModule\",{value:!0})}))},{}],30:[function(e,t,n){var r,a;r=this,a=function(e,t){\"use strict\";function n(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function r(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function a(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function i(e){var i=e.dateTime,o=e.date,s=e.time,u=e.periods,c=e.days,f=e.shortDays,d=e.months,ve=e.shortMonths,be=p(u),xe=h(u),we=p(c),_e=h(c),ke=p(f),Te=h(f),Me=p(d),Se=h(d),Ee=p(ve),Ce=h(ve),Oe={a:function(e){return f[e.getDay()]},A:function(e){return c[e.getDay()]},b:function(e){return ve[e.getMonth()]},B:function(e){return d[e.getMonth()]},c:null,d:I,e:I,f:Z,H:j,I:N,j:z,L:F,m:B,M:q,p:function(e){return u[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:ge,s:ye,S:H,u:U,U:W,V:V,w:Y,W:G,x:null,X:null,y:$,Y:X,Z:K,\"%\":me},Ae={a:function(e){return f[e.getUTCDay()]},A:function(e){return c[e.getUTCDay()]},b:function(e){return ve[e.getUTCMonth()]},B:function(e){return d[e.getUTCMonth()]},c:null,d:J,e:J,f:re,H:Q,I:ee,j:te,L:ne,m:ae,M:ie,p:function(e){return u[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:ge,s:ye,S:oe,u:le,U:se,V:ue,w:ce,W:fe,x:null,X:null,y:de,Y:pe,Z:he,\"%\":me},De={a:function(e,t,n){var r=ke.exec(t.slice(n));return r?(e.w=Te[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=we.exec(t.slice(n));return r?(e.w=_e[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=Ee.exec(t.slice(n));return r?(e.m=Ce[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=Me.exec(t.slice(n));return r?(e.m=Se[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,t,n){return Le(e,i,t,n)},d:M,e:M,f:D,H:E,I:E,j:S,L:A,m:T,M:C,p:function(e,t,n){var r=be.exec(t.slice(n));return r?(e.p=xe[r[0].toLowerCase()],n+r[0].length):-1},q:k,Q:R,s:L,S:O,u:g,U:y,V:v,w:m,W:b,x:function(e,t,n){return Le(e,o,t,n)},X:function(e,t,n){return Le(e,s,t,n)},y:w,Y:x,Z:_,\"%\":P};function Pe(e,t){return function(n){var r,a,i,o=[],s=-1,u=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(o.push(e.slice(u,s)),null!=(a=l[r=e.charAt(++s)])?r=e.charAt(++s):a=\"e\"===r?\" \":\"0\",(i=t[r])&&(r=i(n,a)),o.push(r),u=s+1);return o.push(e.slice(u,s)),o.join(\"\")}}function Re(e,i){return function(o){var l,s,u=a(1900,void 0,1);if(Le(u,e,o+=\"\",0)!=o.length)return null;if(\"Q\"in u)return new Date(u.Q);if(\"s\"in u)return new Date(1e3*u.s+(\"L\"in u?u.L:0));if(i&&!(\"Z\"in u)&&(u.Z=0),\"p\"in u&&(u.H=u.H%12+12*u.p),void 0===u.m&&(u.m=\"q\"in u?u.q:0),\"V\"in u){if(u.V<1||u.V>53)return null;\"w\"in u||(u.w=1),\"Z\"in u?(s=(l=r(a(u.y,0,1))).getUTCDay(),l=s>4||0===s?t.utcMonday.ceil(l):t.utcMonday(l),l=t.utcDay.offset(l,7*(u.V-1)),u.y=l.getUTCFullYear(),u.m=l.getUTCMonth(),u.d=l.getUTCDate()+(u.w+6)%7):(s=(l=n(a(u.y,0,1))).getDay(),l=s>4||0===s?t.timeMonday.ceil(l):t.timeMonday(l),l=t.timeDay.offset(l,7*(u.V-1)),u.y=l.getFullYear(),u.m=l.getMonth(),u.d=l.getDate()+(u.w+6)%7)}else(\"W\"in u||\"U\"in u)&&(\"w\"in u||(u.w=\"u\"in u?u.u%7:\"W\"in u?1:0),s=\"Z\"in u?r(a(u.y,0,1)).getUTCDay():n(a(u.y,0,1)).getDay(),u.m=0,u.d=\"W\"in u?(u.w+6)%7+7*u.W-(s+5)%7:u.w+7*u.U-(s+6)%7);return\"Z\"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,r(u)):n(u)}}function Le(e,t,n,r){for(var a,i,o=0,s=t.length,u=n.length;o<s;){if(r>=u)return-1;if(37===(a=t.charCodeAt(o++))){if(a=t.charAt(o++),!(i=De[a in l?t.charAt(o++):a])||(r=i(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}return Oe.x=Pe(o,Oe),Oe.X=Pe(s,Oe),Oe.c=Pe(i,Oe),Ae.x=Pe(o,Ae),Ae.X=Pe(s,Ae),Ae.c=Pe(i,Ae),{format:function(e){var t=Pe(e+=\"\",Oe);return t.toString=function(){return e},t},parse:function(e){var t=Re(e+=\"\",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=Pe(e+=\"\",Ae);return t.toString=function(){return e},t},utcParse:function(e){var t=Re(e+=\"\",!0);return t.toString=function(){return e},t}}}var o,l={\"-\":\"\",_:\" \",0:\"0\"},s=/^\\s*\\d+/,u=/^%/,c=/[\\\\^$*+?|[\\]().{}]/g;function f(e,t,n){var r=e<0?\"-\":\"\",a=(r?-e:e)+\"\",i=a.length;return r+(i<n?new Array(n-i+1).join(t)+a:a)}function d(e){return e.replace(c,\"\\\\$&\")}function p(e){return new RegExp(\"^(?:\"+e.map(d).join(\"|\")+\")\",\"i\")}function h(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function m(e,t,n){var r=s.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function g(e,t,n){var r=s.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function y(e,t,n){var r=s.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function v(e,t,n){var r=s.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function b(e,t,n){var r=s.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function x(e,t,n){var r=s.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function w(e,t,n){var r=s.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function _(e,t,n){var r=/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||\"00\")),n+r[0].length):-1}function k(e,t,n){var r=s.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function T(e,t,n){var r=s.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function M(e,t,n){var r=s.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function S(e,t,n){var r=s.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function E(e,t,n){var r=s.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function C(e,t,n){var r=s.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function O(e,t,n){var r=s.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function A(e,t,n){var r=s.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function D(e,t,n){var r=s.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function P(e,t,n){var r=u.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function R(e,t,n){var r=s.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function L(e,t,n){var r=s.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function I(e,t){return f(e.getDate(),t,2)}function j(e,t){return f(e.getHours(),t,2)}function N(e,t){return f(e.getHours()%12||12,t,2)}function z(e,n){return f(1+t.timeDay.count(t.timeYear(e),e),n,3)}function F(e,t){return f(e.getMilliseconds(),t,3)}function Z(e,t){return F(e,t)+\"000\"}function B(e,t){return f(e.getMonth()+1,t,2)}function q(e,t){return f(e.getMinutes(),t,2)}function H(e,t){return f(e.getSeconds(),t,2)}function U(e){var t=e.getDay();return 0===t?7:t}function W(e,n){return f(t.timeSunday.count(t.timeYear(e)-1,e),n,2)}function V(e,n){var r=e.getDay();return e=r>=4||0===r?t.timeThursday(e):t.timeThursday.ceil(e),f(t.timeThursday.count(t.timeYear(e),e)+(4===t.timeYear(e).getDay()),n,2)}function Y(e){return e.getDay()}function G(e,n){return f(t.timeMonday.count(t.timeYear(e)-1,e),n,2)}function $(e,t){return f(e.getFullYear()%100,t,2)}function X(e,t){return f(e.getFullYear()%1e4,t,4)}function K(e){var t=e.getTimezoneOffset();return(t>0?\"-\":(t*=-1,\"+\"))+f(t/60|0,\"0\",2)+f(t%60,\"0\",2)}function J(e,t){return f(e.getUTCDate(),t,2)}function Q(e,t){return f(e.getUTCHours(),t,2)}function ee(e,t){return f(e.getUTCHours()%12||12,t,2)}function te(e,n){return f(1+t.utcDay.count(t.utcYear(e),e),n,3)}function ne(e,t){return f(e.getUTCMilliseconds(),t,3)}function re(e,t){return ne(e,t)+\"000\"}function ae(e,t){return f(e.getUTCMonth()+1,t,2)}function ie(e,t){return f(e.getUTCMinutes(),t,2)}function oe(e,t){return f(e.getUTCSeconds(),t,2)}function le(e){var t=e.getUTCDay();return 0===t?7:t}function se(e,n){return f(t.utcSunday.count(t.utcYear(e)-1,e),n,2)}function ue(e,n){var r=e.getUTCDay();return e=r>=4||0===r?t.utcThursday(e):t.utcThursday.ceil(e),f(t.utcThursday.count(t.utcYear(e),e)+(4===t.utcYear(e).getUTCDay()),n,2)}function ce(e){return e.getUTCDay()}function fe(e,n){return f(t.utcMonday.count(t.utcYear(e)-1,e),n,2)}function de(e,t){return f(e.getUTCFullYear()%100,t,2)}function pe(e,t){return f(e.getUTCFullYear()%1e4,t,4)}function he(){return\"+0000\"}function me(){return\"%\"}function ge(e){return+e}function ye(e){return Math.floor(+e/1e3)}function ve(t){return o=i(t),e.timeFormat=o.format,e.timeParse=o.parse,e.utcFormat=o.utcFormat,e.utcParse=o.utcParse,o}ve({dateTime:\"%x, %X\",date:\"%-m/%-d/%Y\",time:\"%-I:%M:%S %p\",periods:[\"AM\",\"PM\"],days:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],shortDays:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],months:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],shortMonths:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]});var be=Date.prototype.toISOString?function(e){return e.toISOString()}:e.utcFormat(\"%Y-%m-%dT%H:%M:%S.%LZ\"),xe=+new Date(\"2000-01-01T00:00:00.000Z\")?function(e){var t=new Date(e);return isNaN(t)?null:t}:e.utcParse(\"%Y-%m-%dT%H:%M:%S.%LZ\");e.isoFormat=be,e.isoParse=xe,e.timeFormatDefaultLocale=ve,e.timeFormatLocale=i,Object.defineProperty(e,\"__esModule\",{value:!0})},\"object\"==typeof n&&void 0!==t?a(n,e(\"d3-time\")):a((r=r||self).d3=r.d3||{},r.d3)},{\"d3-time\":31}],31:[function(e,t,n){!function(e,r){r(\"object\"==typeof n&&void 0!==t?n:(e=e||self).d3=e.d3||{})}(this,(function(e){\"use strict\";var t=new Date,n=new Date;function r(e,a,i,o){function l(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return l.floor=function(t){return e(t=new Date(+t)),t},l.ceil=function(t){return e(t=new Date(t-1)),a(t,1),e(t),t},l.round=function(e){var t=l(e),n=l.ceil(e);return e-t<n-e?t:n},l.offset=function(e,t){return a(e=new Date(+e),null==t?1:Math.floor(t)),e},l.range=function(t,n,r){var i,o=[];if(t=l.ceil(t),r=null==r?1:Math.floor(r),!(t<n&&r>0))return o;do{o.push(i=new Date(+t)),a(t,r),e(t)}while(i<t&&t<n);return o},l.filter=function(t){return r((function(n){if(n>=n)for(;e(n),!t(n);)n.setTime(n-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;a(e,-1),!t(e););else for(;--n>=0;)for(;a(e,1),!t(e););}))},i&&(l.count=function(r,a){return t.setTime(+r),n.setTime(+a),e(t),e(n),Math.floor(i(t,n))},l.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?l.filter(o?function(t){return o(t)%e==0}:function(t){return l.count(0,t)%e==0}):l:null}),l}var a=r((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?r((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):a:null};var i=a.range,o=r((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+1e3*t)}),(function(e,t){return(t-e)/1e3}),(function(e){return e.getUTCSeconds()})),l=o.range,s=r((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())}),(function(e,t){e.setTime(+e+6e4*t)}),(function(e,t){return(t-e)/6e4}),(function(e){return e.getMinutes()})),u=s.range,c=r((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getHours()})),f=c.range,d=r((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5}),(function(e){return e.getDate()-1})),p=d.range;function h(e){return r((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/6048e5}))}var m=h(0),g=h(1),y=h(2),v=h(3),b=h(4),x=h(5),w=h(6),_=m.range,k=g.range,T=y.range,M=v.range,S=b.range,E=x.range,C=w.range,O=r((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})),A=O.range,D=r((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));D.every=function(e){return isFinite(e=Math.floor(e))&&e>0?r((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var P=D.range,R=r((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+6e4*t)}),(function(e,t){return(t-e)/6e4}),(function(e){return e.getUTCMinutes()})),L=R.range,I=r((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getUTCHours()})),j=I.range,N=r((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/864e5}),(function(e){return e.getUTCDate()-1})),z=N.range;function F(e){return r((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/6048e5}))}var Z=F(0),B=F(1),q=F(2),H=F(3),U=F(4),W=F(5),V=F(6),Y=Z.range,G=B.range,$=q.range,X=H.range,K=U.range,J=W.range,Q=V.range,ee=r((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})),te=ee.range,ne=r((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));ne.every=function(e){return isFinite(e=Math.floor(e))&&e>0?r((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var re=ne.range;e.timeDay=d,e.timeDays=p,e.timeFriday=x,e.timeFridays=E,e.timeHour=c,e.timeHours=f,e.timeInterval=r,e.timeMillisecond=a,e.timeMilliseconds=i,e.timeMinute=s,e.timeMinutes=u,e.timeMonday=g,e.timeMondays=k,e.timeMonth=O,e.timeMonths=A,e.timeSaturday=w,e.timeSaturdays=C,e.timeSecond=o,e.timeSeconds=l,e.timeSunday=m,e.timeSundays=_,e.timeThursday=b,e.timeThursdays=S,e.timeTuesday=y,e.timeTuesdays=T,e.timeWednesday=v,e.timeWednesdays=M,e.timeWeek=m,e.timeWeeks=_,e.timeYear=D,e.timeYears=P,e.utcDay=N,e.utcDays=z,e.utcFriday=W,e.utcFridays=J,e.utcHour=I,e.utcHours=j,e.utcMillisecond=a,e.utcMilliseconds=i,e.utcMinute=R,e.utcMinutes=L,e.utcMonday=B,e.utcMondays=G,e.utcMonth=ee,e.utcMonths=te,e.utcSaturday=V,e.utcSaturdays=Q,e.utcSecond=o,e.utcSeconds=l,e.utcSunday=Z,e.utcSundays=Y,e.utcThursday=U,e.utcThursdays=K,e.utcTuesday=q,e.utcTuesdays=$,e.utcWednesday=H,e.utcWednesdays=X,e.utcWeek=Z,e.utcWeeks=Y,e.utcYear=ne,e.utcYears=re,Object.defineProperty(e,\"__esModule\",{value:!0})}))},{}],32:[function(e,t,n){arguments[4][31][0].apply(n,arguments)},{dup:31}],33:[function(e,t,n){\"use strict\";var r=e(\"is-string-blank\");t.exports=function(e){var t=typeof e;if(\"string\"===t){var n=e;if(0==(e=+e)&&r(n))return!1}else if(\"number\"!==t)return!1;return e-e<1}},{\"is-string-blank\":70}],34:[function(e,t,n){t.exports=function(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=t[4],l=t[5],s=t[6],u=t[7],c=t[8],f=t[9],d=t[10],p=t[11],h=t[12],m=t[13],g=t[14],y=t[15];return e[0]=l*(d*y-p*g)-f*(s*y-u*g)+m*(s*p-u*d),e[1]=-(r*(d*y-p*g)-f*(a*y-i*g)+m*(a*p-i*d)),e[2]=r*(s*y-u*g)-l*(a*y-i*g)+m*(a*u-i*s),e[3]=-(r*(s*p-u*d)-l*(a*p-i*d)+f*(a*u-i*s)),e[4]=-(o*(d*y-p*g)-c*(s*y-u*g)+h*(s*p-u*d)),e[5]=n*(d*y-p*g)-c*(a*y-i*g)+h*(a*p-i*d),e[6]=-(n*(s*y-u*g)-o*(a*y-i*g)+h*(a*u-i*s)),e[7]=n*(s*p-u*d)-o*(a*p-i*d)+c*(a*u-i*s),e[8]=o*(f*y-p*m)-c*(l*y-u*m)+h*(l*p-u*f),e[9]=-(n*(f*y-p*m)-c*(r*y-i*m)+h*(r*p-i*f)),e[10]=n*(l*y-u*m)-o*(r*y-i*m)+h*(r*u-i*l),e[11]=-(n*(l*p-u*f)-o*(r*p-i*f)+c*(r*u-i*l)),e[12]=-(o*(f*g-d*m)-c*(l*g-s*m)+h*(l*d-s*f)),e[13]=n*(f*g-d*m)-c*(r*g-a*m)+h*(r*d-a*f),e[14]=-(n*(l*g-s*m)-o*(r*g-a*m)+h*(r*s-a*l)),e[15]=n*(l*d-s*f)-o*(r*d-a*f)+c*(r*s-a*l),e}},{}],35:[function(e,t,n){t.exports=function(e){var t=new Float32Array(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}},{}],36:[function(e,t,n){t.exports=function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}},{}],37:[function(e,t,n){t.exports=function(){var e=new Float32Array(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},{}],38:[function(e,t,n){t.exports=function(e){var t=e[0],n=e[1],r=e[2],a=e[3],i=e[4],o=e[5],l=e[6],s=e[7],u=e[8],c=e[9],f=e[10],d=e[11],p=e[12],h=e[13],m=e[14],g=e[15];return(t*o-n*i)*(f*g-d*m)-(t*l-r*i)*(c*g-d*h)+(t*s-a*i)*(c*m-f*h)+(n*l-r*o)*(u*g-d*p)-(n*s-a*o)*(u*m-f*p)+(r*s-a*l)*(u*h-c*p)}},{}],39:[function(e,t,n){t.exports=function(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=n+n,l=r+r,s=a+a,u=n*o,c=r*o,f=r*l,d=a*o,p=a*l,h=a*s,m=i*o,g=i*l,y=i*s;return e[0]=1-f-h,e[1]=c+y,e[2]=d-g,e[3]=0,e[4]=c-y,e[5]=1-u-h,e[6]=p+m,e[7]=0,e[8]=d+g,e[9]=p-m,e[10]=1-u-f,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},{}],40:[function(e,t,n){t.exports=function(e,t,n){var r,a,i,o=n[0],l=n[1],s=n[2],u=Math.sqrt(o*o+l*l+s*s);return Math.abs(u)<1e-6?null:(o*=u=1/u,l*=u,s*=u,r=Math.sin(t),i=1-(a=Math.cos(t)),e[0]=o*o*i+a,e[1]=l*o*i+s*r,e[2]=s*o*i-l*r,e[3]=0,e[4]=o*l*i-s*r,e[5]=l*l*i+a,e[6]=s*l*i+o*r,e[7]=0,e[8]=o*s*i+l*r,e[9]=l*s*i-o*r,e[10]=s*s*i+a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}},{}],41:[function(e,t,n){t.exports=function(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],l=r+r,s=a+a,u=i+i,c=r*l,f=r*s,d=r*u,p=a*s,h=a*u,m=i*u,g=o*l,y=o*s,v=o*u;return e[0]=1-(p+m),e[1]=f+v,e[2]=d-y,e[3]=0,e[4]=f-v,e[5]=1-(c+m),e[6]=h+g,e[7]=0,e[8]=d+y,e[9]=h-g,e[10]=1-(c+p),e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}},{}],42:[function(e,t,n){t.exports=function(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},{}],43:[function(e,t,n){t.exports=function(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}},{}],44:[function(e,t,n){t.exports=function(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=r,e[6]=n,e[7]=0,e[8]=0,e[9]=-n,e[10]=r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},{}],45:[function(e,t,n){t.exports=function(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=0,e[2]=-n,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=n,e[9]=0,e[10]=r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},{}],46:[function(e,t,n){t.exports=function(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=0,e[4]=-n,e[5]=r,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},{}],47:[function(e,t,n){t.exports=function(e,t,n,r,a,i,o){var l=1/(n-t),s=1/(a-r),u=1/(i-o);return e[0]=2*i*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*i*s,e[6]=0,e[7]=0,e[8]=(n+t)*l,e[9]=(a+r)*s,e[10]=(o+i)*u,e[11]=-1,e[12]=0,e[13]=0,e[14]=o*i*2*u,e[15]=0,e}},{}],48:[function(e,t,n){t.exports=function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},{}],49:[function(e,t,n){t.exports={create:e(\"./create\"),clone:e(\"./clone\"),copy:e(\"./copy\"),identity:e(\"./identity\"),transpose:e(\"./transpose\"),invert:e(\"./invert\"),adjoint:e(\"./adjoint\"),determinant:e(\"./determinant\"),multiply:e(\"./multiply\"),translate:e(\"./translate\"),scale:e(\"./scale\"),rotate:e(\"./rotate\"),rotateX:e(\"./rotateX\"),rotateY:e(\"./rotateY\"),rotateZ:e(\"./rotateZ\"),fromRotation:e(\"./fromRotation\"),fromRotationTranslation:e(\"./fromRotationTranslation\"),fromScaling:e(\"./fromScaling\"),fromTranslation:e(\"./fromTranslation\"),fromXRotation:e(\"./fromXRotation\"),fromYRotation:e(\"./fromYRotation\"),fromZRotation:e(\"./fromZRotation\"),fromQuat:e(\"./fromQuat\"),frustum:e(\"./frustum\"),perspective:e(\"./perspective\"),perspectiveFromFieldOfView:e(\"./perspectiveFromFieldOfView\"),ortho:e(\"./ortho\"),lookAt:e(\"./lookAt\"),str:e(\"./str\")}},{\"./adjoint\":34,\"./clone\":35,\"./copy\":36,\"./create\":37,\"./determinant\":38,\"./fromQuat\":39,\"./fromRotation\":40,\"./fromRotationTranslation\":41,\"./fromScaling\":42,\"./fromTranslation\":43,\"./fromXRotation\":44,\"./fromYRotation\":45,\"./fromZRotation\":46,\"./frustum\":47,\"./identity\":48,\"./invert\":50,\"./lookAt\":51,\"./multiply\":52,\"./ortho\":53,\"./perspective\":54,\"./perspectiveFromFieldOfView\":55,\"./rotate\":56,\"./rotateX\":57,\"./rotateY\":58,\"./rotateZ\":59,\"./scale\":60,\"./str\":61,\"./translate\":62,\"./transpose\":63}],50:[function(e,t,n){t.exports=function(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=t[4],l=t[5],s=t[6],u=t[7],c=t[8],f=t[9],d=t[10],p=t[11],h=t[12],m=t[13],g=t[14],y=t[15],v=n*l-r*o,b=n*s-a*o,x=n*u-i*o,w=r*s-a*l,_=r*u-i*l,k=a*u-i*s,T=c*m-f*h,M=c*g-d*h,S=c*y-p*h,E=f*g-d*m,C=f*y-p*m,O=d*y-p*g,A=v*O-b*C+x*E+w*S-_*M+k*T;return A?(A=1/A,e[0]=(l*O-s*C+u*E)*A,e[1]=(a*C-r*O-i*E)*A,e[2]=(m*k-g*_+y*w)*A,e[3]=(d*_-f*k-p*w)*A,e[4]=(s*S-o*O-u*M)*A,e[5]=(n*O-a*S+i*M)*A,e[6]=(g*x-h*k-y*b)*A,e[7]=(c*k-d*x+p*b)*A,e[8]=(o*C-l*S+u*T)*A,e[9]=(r*S-n*C-i*T)*A,e[10]=(h*_-m*x+y*v)*A,e[11]=(f*x-c*_-p*v)*A,e[12]=(l*M-o*E-s*T)*A,e[13]=(n*E-r*M+a*T)*A,e[14]=(m*b-h*w-g*v)*A,e[15]=(c*w-f*b+d*v)*A,e):null}},{}],51:[function(e,t,n){var r=e(\"./identity\");t.exports=function(e,t,n,a){var i,o,l,s,u,c,f,d,p,h,m=t[0],g=t[1],y=t[2],v=a[0],b=a[1],x=a[2],w=n[0],_=n[1],k=n[2];return Math.abs(m-w)<1e-6&&Math.abs(g-_)<1e-6&&Math.abs(y-k)<1e-6?r(e):(f=m-w,d=g-_,p=y-k,i=b*(p*=h=1/Math.sqrt(f*f+d*d+p*p))-x*(d*=h),o=x*(f*=h)-v*p,l=v*d-b*f,(h=Math.sqrt(i*i+o*o+l*l))?(i*=h=1/h,o*=h,l*=h):(i=0,o=0,l=0),s=d*l-p*o,u=p*i-f*l,c=f*o-d*i,(h=Math.sqrt(s*s+u*u+c*c))?(s*=h=1/h,u*=h,c*=h):(s=0,u=0,c=0),e[0]=i,e[1]=s,e[2]=f,e[3]=0,e[4]=o,e[5]=u,e[6]=d,e[7]=0,e[8]=l,e[9]=c,e[10]=p,e[11]=0,e[12]=-(i*m+o*g+l*y),e[13]=-(s*m+u*g+c*y),e[14]=-(f*m+d*g+p*y),e[15]=1,e)}},{\"./identity\":48}],52:[function(e,t,n){t.exports=function(e,t,n){var r=t[0],a=t[1],i=t[2],o=t[3],l=t[4],s=t[5],u=t[6],c=t[7],f=t[8],d=t[9],p=t[10],h=t[11],m=t[12],g=t[13],y=t[14],v=t[15],b=n[0],x=n[1],w=n[2],_=n[3];return e[0]=b*r+x*l+w*f+_*m,e[1]=b*a+x*s+w*d+_*g,e[2]=b*i+x*u+w*p+_*y,e[3]=b*o+x*c+w*h+_*v,b=n[4],x=n[5],w=n[6],_=n[7],e[4]=b*r+x*l+w*f+_*m,e[5]=b*a+x*s+w*d+_*g,e[6]=b*i+x*u+w*p+_*y,e[7]=b*o+x*c+w*h+_*v,b=n[8],x=n[9],w=n[10],_=n[11],e[8]=b*r+x*l+w*f+_*m,e[9]=b*a+x*s+w*d+_*g,e[10]=b*i+x*u+w*p+_*y,e[11]=b*o+x*c+w*h+_*v,b=n[12],x=n[13],w=n[14],_=n[15],e[12]=b*r+x*l+w*f+_*m,e[13]=b*a+x*s+w*d+_*g,e[14]=b*i+x*u+w*p+_*y,e[15]=b*o+x*c+w*h+_*v,e}},{}],53:[function(e,t,n){t.exports=function(e,t,n,r,a,i,o){var l=1/(t-n),s=1/(r-a),u=1/(i-o);return e[0]=-2*l,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(t+n)*l,e[13]=(a+r)*s,e[14]=(o+i)*u,e[15]=1,e}},{}],54:[function(e,t,n){t.exports=function(e,t,n,r,a){var i=1/Math.tan(t/2),o=1/(r-a);return e[0]=i/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=i,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(a+r)*o,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*a*r*o,e[15]=0,e}},{}],55:[function(e,t,n){t.exports=function(e,t,n,r){var a=Math.tan(t.upDegrees*Math.PI/180),i=Math.tan(t.downDegrees*Math.PI/180),o=Math.tan(t.leftDegrees*Math.PI/180),l=Math.tan(t.rightDegrees*Math.PI/180),s=2/(o+l),u=2/(a+i);return e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=-(o-l)*s*.5,e[9]=(a-i)*u*.5,e[10]=r/(n-r),e[11]=-1,e[12]=0,e[13]=0,e[14]=r*n/(n-r),e[15]=0,e}},{}],56:[function(e,t,n){t.exports=function(e,t,n,r){var a,i,o,l,s,u,c,f,d,p,h,m,g,y,v,b,x,w,_,k,T,M,S,E,C=r[0],O=r[1],A=r[2],D=Math.sqrt(C*C+O*O+A*A);return Math.abs(D)<1e-6?null:(C*=D=1/D,O*=D,A*=D,a=Math.sin(n),o=1-(i=Math.cos(n)),l=t[0],s=t[1],u=t[2],c=t[3],f=t[4],d=t[5],p=t[6],h=t[7],m=t[8],g=t[9],y=t[10],v=t[11],b=C*C*o+i,x=O*C*o+A*a,w=A*C*o-O*a,_=C*O*o-A*a,k=O*O*o+i,T=A*O*o+C*a,M=C*A*o+O*a,S=O*A*o-C*a,E=A*A*o+i,e[0]=l*b+f*x+m*w,e[1]=s*b+d*x+g*w,e[2]=u*b+p*x+y*w,e[3]=c*b+h*x+v*w,e[4]=l*_+f*k+m*T,e[5]=s*_+d*k+g*T,e[6]=u*_+p*k+y*T,e[7]=c*_+h*k+v*T,e[8]=l*M+f*S+m*E,e[9]=s*M+d*S+g*E,e[10]=u*M+p*S+y*E,e[11]=c*M+h*S+v*E,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)}},{}],57:[function(e,t,n){t.exports=function(e,t,n){var r=Math.sin(n),a=Math.cos(n),i=t[4],o=t[5],l=t[6],s=t[7],u=t[8],c=t[9],f=t[10],d=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=i*a+u*r,e[5]=o*a+c*r,e[6]=l*a+f*r,e[7]=s*a+d*r,e[8]=u*a-i*r,e[9]=c*a-o*r,e[10]=f*a-l*r,e[11]=d*a-s*r,e}},{}],58:[function(e,t,n){t.exports=function(e,t,n){var r=Math.sin(n),a=Math.cos(n),i=t[0],o=t[1],l=t[2],s=t[3],u=t[8],c=t[9],f=t[10],d=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=i*a-u*r,e[1]=o*a-c*r,e[2]=l*a-f*r,e[3]=s*a-d*r,e[8]=i*r+u*a,e[9]=o*r+c*a,e[10]=l*r+f*a,e[11]=s*r+d*a,e}},{}],59:[function(e,t,n){t.exports=function(e,t,n){var r=Math.sin(n),a=Math.cos(n),i=t[0],o=t[1],l=t[2],s=t[3],u=t[4],c=t[5],f=t[6],d=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=i*a+u*r,e[1]=o*a+c*r,e[2]=l*a+f*r,e[3]=s*a+d*r,e[4]=u*a-i*r,e[5]=c*a-o*r,e[6]=f*a-l*r,e[7]=d*a-s*r,e}},{}],60:[function(e,t,n){t.exports=function(e,t,n){var r=n[0],a=n[1],i=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*a,e[5]=t[5]*a,e[6]=t[6]*a,e[7]=t[7]*a,e[8]=t[8]*i,e[9]=t[9]*i,e[10]=t[10]*i,e[11]=t[11]*i,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}},{}],61:[function(e,t,n){t.exports=function(e){return\"mat4(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\", \"+e[3]+\", \"+e[4]+\", \"+e[5]+\", \"+e[6]+\", \"+e[7]+\", \"+e[8]+\", \"+e[9]+\", \"+e[10]+\", \"+e[11]+\", \"+e[12]+\", \"+e[13]+\", \"+e[14]+\", \"+e[15]+\")\"}},{}],62:[function(e,t,n){t.exports=function(e,t,n){var r,a,i,o,l,s,u,c,f,d,p,h,m=n[0],g=n[1],y=n[2];return t===e?(e[12]=t[0]*m+t[4]*g+t[8]*y+t[12],e[13]=t[1]*m+t[5]*g+t[9]*y+t[13],e[14]=t[2]*m+t[6]*g+t[10]*y+t[14],e[15]=t[3]*m+t[7]*g+t[11]*y+t[15]):(r=t[0],a=t[1],i=t[2],o=t[3],l=t[4],s=t[5],u=t[6],c=t[7],f=t[8],d=t[9],p=t[10],h=t[11],e[0]=r,e[1]=a,e[2]=i,e[3]=o,e[4]=l,e[5]=s,e[6]=u,e[7]=c,e[8]=f,e[9]=d,e[10]=p,e[11]=h,e[12]=r*m+l*g+f*y+t[12],e[13]=a*m+s*g+d*y+t[13],e[14]=i*m+u*g+p*y+t[14],e[15]=o*m+c*g+h*y+t[15]),e}},{}],63:[function(e,t,n){t.exports=function(e,t){if(e===t){var n=t[1],r=t[2],a=t[3],i=t[6],o=t[7],l=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=r,e[9]=i,e[11]=t[14],e[12]=a,e[13]=o,e[14]=l}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}},{}],64:[function(e,t,r){(function(n){(function(){\"use strict\";var r,a=e(\"is-browser\");r=\"function\"==typeof n.matchMedia?!n.matchMedia(\"(hover: none)\").matches:a,t.exports=r}).call(this)}).call(this,void 0!==n.g?n.g:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"is-browser\":68}],65:[function(e,t,n){\"use strict\";var r=e(\"is-browser\");t.exports=r&&function(){var e=!1;try{var t=Object.defineProperty({},\"passive\",{get:function(){e=!0}});window.addEventListener(\"test\",null,t),window.removeEventListener(\"test\",null,t)}catch(t){e=!1}return e}()},{\"is-browser\":68}],66:[function(e,t,n){n.read=function(e,t,n,r,a){var i,o,l=8*a-r-1,s=(1<<l)-1,u=s>>1,c=-7,f=n?a-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-c)-1,p>>=-c,c+=l;c>0;i=256*i+e[t+f],f+=d,c-=8);for(o=i&(1<<-c)-1,i>>=-c,c+=r;c>0;o=256*o+e[t+f],f+=d,c-=8);if(0===i)i=1-u;else{if(i===s)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),i-=u}return(p?-1:1)*o*Math.pow(2,i-r)},n.write=function(e,t,n,r,a,i){var o,l,s,u=8*i-a-1,c=(1<<u)-1,f=c>>1,d=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+f>=1?d/s:d*Math.pow(2,1-f))*s>=2&&(o++,s/=2),o+f>=c?(l=0,o=c):o+f>=1?(l=(t*s-1)*Math.pow(2,a),o+=f):(l=t*Math.pow(2,f-1)*Math.pow(2,a),o=0));a>=8;e[n+p]=255&l,p+=h,l/=256,a-=8);for(o=o<<a|l,u+=a;u>0;e[n+p]=255&o,p+=h,o/=256,u-=8);e[n+p-h]|=128*m}},{}],67:[function(e,t,n){\"function\"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},{}],68:[function(e,t,n){t.exports=!0},{}],69:[function(e,t,n){\"use strict\";t.exports=i,t.exports.isMobile=i,t.exports.default=i;var r=/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series[46]0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series[46]0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function i(e){e||(e={});var t=e.ua;if(t||\"undefined\"==typeof navigator||(t=navigator.userAgent),t&&t.headers&&\"string\"==typeof t.headers[\"user-agent\"]&&(t=t.headers[\"user-agent\"]),\"string\"!=typeof t)return!1;var n=e.tablet?a.test(t):r.test(t);return!n&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==t.indexOf(\"Macintosh\")&&-1!==t.indexOf(\"Safari\")&&(n=!0),n}},{}],70:[function(e,t,n){\"use strict\";t.exports=function(e){for(var t,n=e.length,r=0;r<n;r++)if(((t=e.charCodeAt(r))<9||t>13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}},{}],71:[function(e,t,n){var r={left:0,top:0};t.exports=function(e,t,n){t=t||e.currentTarget||e.srcElement,Array.isArray(n)||(n=[0,0]);var a,i=e.clientX||0,o=e.clientY||0,l=(a=t)===window||a===document||a===document.body?r:a.getBoundingClientRect();return n[0]=i-l.left,n[1]=o-l.top,n}},{}],72:[function(e,t,r){(function(e,n){(function(){var r,a,i;i=function(){\"use strict\";var e,t,r,a=Object.prototype.toString,i=void 0!==n?function(e){return n(e)}:setTimeout;try{Object.defineProperty({},\"x\",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(t){e=function(e,t,n){return e[t]=n,e}}function o(e,n){r.add(e,n),t||(t=i(r.drain))}function l(e){var t,n=typeof e;return null==e||\"object\"!=n&&\"function\"!=n||(t=e.then),\"function\"==typeof t&&t}function s(){for(var e=0;e<this.chain.length;e++)u(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function u(e,t,n){var r,a;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError(\"Promise-chain cycle\")):(a=l(r))?a.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.reject(e)}}function c(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=l(e))?o((function(){var r=new p(n);try{t.call(e,(function(){c.apply(r,arguments)}),(function(){f.apply(r,arguments)}))}catch(e){f.call(r,e)}})):(n.msg=e,n.state=1,n.chain.length>0&&o(s,n))}catch(e){f.call(new p(n),e)}}}function f(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&o(s,t))}function d(e,t,n,r){for(var a=0;a<t.length;a++)!function(a){e.resolve(t[a]).then((function(e){n(a,e)}),r)}(a)}function p(e){this.def=e,this.triggered=!1}function h(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function m(e){if(\"function\"!=typeof e)throw TypeError(\"Not a function\");if(0!==this.__NPO__)throw TypeError(\"Not a promise\");this.__NPO__=1;var t=new h(this);this.then=function(e,n){var r={success:\"function\"!=typeof e||e,failure:\"function\"==typeof n&&n};return r.promise=new this.constructor((function(e,t){if(\"function\"!=typeof e||\"function\"!=typeof t)throw TypeError(\"Not a function\");r.resolve=e,r.reject=t})),t.chain.push(r),0!==t.state&&o(s,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,(function(e){c.call(t,e)}),(function(e){f.call(t,e)}))}catch(e){f.call(t,e)}}r=function(){var e,n,r;function a(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,i){r=new a(t,i),n?n.next=r:e=r,n=r,r=void 0},drain:function(){var r=e;for(e=n=t=void 0;r;)r.fn.call(r.self),r=r.next}}}();var g=e({},\"constructor\",m,!1);return m.prototype=g,e(g,\"__NPO__\",0,!1),e(m,\"resolve\",(function(e){return e&&\"object\"==typeof e&&1===e.__NPO__?e:new this((function(t,n){if(\"function\"!=typeof t||\"function\"!=typeof n)throw TypeError(\"Not a function\");t(e)}))})),e(m,\"reject\",(function(e){return new this((function(t,n){if(\"function\"!=typeof t||\"function\"!=typeof n)throw TypeError(\"Not a function\");n(e)}))})),e(m,\"all\",(function(e){var t=this;return\"[object Array]\"!=a.call(e)?t.reject(TypeError(\"Not an array\")):0===e.length?t.resolve([]):new t((function(n,r){if(\"function\"!=typeof n||\"function\"!=typeof r)throw TypeError(\"Not a function\");var a=e.length,i=Array(a),o=0;d(t,e,(function(e,t){i[e]=t,++o===a&&n(i)}),r)}))})),e(m,\"race\",(function(e){var t=this;return\"[object Array]\"!=a.call(e)?t.reject(TypeError(\"Not an array\")):new t((function(n,r){if(\"function\"!=typeof n||\"function\"!=typeof r)throw TypeError(\"Not a function\");d(t,e,(function(e,t){n(t)}),r)}))})),m},(a=void 0!==e?e:this)[r=\"Promise\"]=a[r]||i(),void 0!==t&&t.exports&&(t.exports=a[r])}).call(this)}).call(this,void 0!==n.g?n.g:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{},e(\"timers\").setImmediate)},{timers:120}],73:[function(e,t,n){\"use strict\";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}t.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(e){return!1}}()?Object.assign:function(e,t){for(var n,l,s=o(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))a.call(n,c)&&(s[c]=n[c]);if(r){l=r(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(s[l[f]]=n[l[f]])}}return s}},{}],74:[function(e,t,n){t.exports=function(e){var t=[];return e.replace(a,(function(e,n,a){var o=n.toLowerCase();for(a=function(e){var t=e.match(i);return t?t.map(Number):[]}(a),\"m\"==o&&a.length>2&&(t.push([n].concat(a.splice(0,2))),o=\"l\",n=\"m\"==n?\"l\":\"L\");;){if(a.length==r[o])return a.unshift(n),t.push(a);if(a.length<r[o])throw new Error(\"malformed path data\");t.push([n].concat(a.splice(0,r[o])))}})),t};var r={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},a=/([astvzqmhlc])([^astvzqmhlc]*)/gi,i=/-?[0-9]*\\.?[0-9]+(?:e[-+]?\\d+)?/gi},{}],75:[function(e,t,n){var r,a=e(\"./lib/build-log\"),i=e(\"./lib/epsilon\"),o=e(\"./lib/intersecter\"),l=e(\"./lib/segment-chainer\"),s=e(\"./lib/segment-selector\"),u=e(\"./lib/geojson\"),c=!1,f=i();function d(e,t,n){var a=r.segments(e),i=r.segments(t),o=n(r.combine(a,i));return r.polygon(o)}r={buildLog:function(e){return!0===e?c=a():!1===e&&(c=!1),!1!==c&&c.list},epsilon:function(e){return f.epsilon(e)},segments:function(e){var t=o(!0,f,c);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){return{combined:o(!1,f,c).calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:s.union(e.combined,c),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:s.intersect(e.combined,c),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:s.difference(e.combined,c),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:s.differenceRev(e.combined,c),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:s.xor(e.combined,c),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:l(e.segments,f,c),inverted:e.inverted}},polygonFromGeoJSON:function(e){return u.toPolygon(r,e)},polygonToGeoJSON:function(e){return u.fromPolygon(r,f,e)},union:function(e,t){return d(e,t,r.selectUnion)},intersect:function(e,t){return d(e,t,r.selectIntersect)},difference:function(e,t){return d(e,t,r.selectDifference)},differenceRev:function(e,t){return d(e,t,r.selectDifferenceRev)},xor:function(e,t){return d(e,t,r.selectXor)}},\"object\"==typeof window&&(window.PolyBool=r),t.exports=r},{\"./lib/build-log\":76,\"./lib/epsilon\":77,\"./lib/geojson\":78,\"./lib/intersecter\":79,\"./lib/segment-chainer\":81,\"./lib/segment-selector\":82}],76:[function(e,t,n){t.exports=function(){var e,t=0,n=!1;function r(t,n){return e.list.push({type:t,data:n?JSON.parse(JSON.stringify(n)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(e,t){return r(\"check\",{seg1:e,seg2:t})},segmentChop:function(e,t){return r(\"div_seg\",{seg:e,pt:t}),r(\"chop\",{seg:e,pt:t})},statusRemove:function(e){return r(\"pop_seg\",{seg:e})},segmentUpdate:function(e){return r(\"seg_update\",{seg:e})},segmentNew:function(e,t){return r(\"new_seg\",{seg:e,primary:t})},segmentRemove:function(e){return r(\"rem_seg\",{seg:e})},tempStatus:function(e,t,n){return r(\"temp_status\",{seg:e,above:t,below:n})},rewind:function(e){return r(\"rewind\",{seg:e})},status:function(e,t,n){return r(\"status\",{seg:e,above:t,below:n})},vert:function(t){return t===n?e:(n=t,r(\"vert\",{x:t}))},log:function(e){return\"string\"!=typeof e&&(e=JSON.stringify(e,!1,\" \")),r(\"log\",{txt:e})},reset:function(){return r(\"reset\")},selected:function(e){return r(\"selected\",{segs:e})},chainStart:function(e){return r(\"chain_start\",{seg:e})},chainRemoveHead:function(e,t){return r(\"chain_rem_head\",{index:e,pt:t})},chainRemoveTail:function(e,t){return r(\"chain_rem_tail\",{index:e,pt:t})},chainNew:function(e,t){return r(\"chain_new\",{pt1:e,pt2:t})},chainMatch:function(e){return r(\"chain_match\",{index:e})},chainClose:function(e){return r(\"chain_close\",{index:e})},chainAddHead:function(e,t){return r(\"chain_add_head\",{index:e,pt:t})},chainAddTail:function(e,t){return r(\"chain_add_tail\",{index:e,pt:t})},chainConnect:function(e,t){return r(\"chain_con\",{index1:e,index2:t})},chainReverse:function(e){return r(\"chain_rev\",{index:e})},chainJoin:function(e,t){return r(\"chain_join\",{index1:e,index2:t})},done:function(){return r(\"done\")}}}},{}],77:[function(e,t,n){t.exports=function(e){\"number\"!=typeof e&&(e=1e-10);var t={epsilon:function(t){return\"number\"==typeof t&&(e=t),e},pointAboveOrOnLine:function(t,n,r){var a=n[0],i=n[1],o=r[0],l=r[1],s=t[0];return(o-a)*(t[1]-i)-(l-i)*(s-a)>=-e},pointBetween:function(t,n,r){var a=t[1]-n[1],i=r[0]-n[0],o=t[0]-n[0],l=r[1]-n[1],s=o*i+a*l;return!(s<e||s-(i*i+l*l)>-e)},pointsSameX:function(t,n){return Math.abs(t[0]-n[0])<e},pointsSameY:function(t,n){return Math.abs(t[1]-n[1])<e},pointsSame:function(e,n){return t.pointsSameX(e,n)&&t.pointsSameY(e,n)},pointsCompare:function(e,n){return t.pointsSameX(e,n)?t.pointsSameY(e,n)?0:e[1]<n[1]?-1:1:e[0]<n[0]?-1:1},pointsCollinear:function(t,n,r){var a=t[0]-n[0],i=t[1]-n[1],o=n[0]-r[0],l=n[1]-r[1];return Math.abs(a*l-o*i)<e},linesIntersect:function(t,n,r,a){var i=n[0]-t[0],o=n[1]-t[1],l=a[0]-r[0],s=a[1]-r[1],u=i*s-o*l;if(Math.abs(u)<e)return!1;var c=t[0]-r[0],f=t[1]-r[1],d=(l*f-s*c)/u,p=(i*f-o*c)/u,h={alongA:0,alongB:0,pt:[t[0]+d*i,t[1]+d*o]};return h.alongA=d<=-e?-2:d<e?-1:d-1<=-e?0:d-1<e?1:2,h.alongB=p<=-e?-2:p<e?-1:p-1<=-e?0:p-1<e?1:2,h},pointInsideRegion:function(t,n){for(var r=t[0],a=t[1],i=n[n.length-1][0],o=n[n.length-1][1],l=!1,s=0;s<n.length;s++){var u=n[s][0],c=n[s][1];c-a>e!=o-a>e&&(i-u)*(a-c)/(o-c)+u-r>e&&(l=!l),i=u,o=c}return l}};return t}},{}],78:[function(e,t,n){var r={toPolygon:function(e,t){function n(t){if(t.length<=0)return e.segments({inverted:!1,regions:[]});function n(t){var n=t.slice(0,t.length-1);return e.segments({inverted:!1,regions:[n]})}for(var r=n(t[0]),a=1;a<t.length;a++)r=e.selectDifference(e.combine(r,n(t[a])));return r}if(\"Polygon\"===t.type)return e.polygon(n(t.coordinates));if(\"MultiPolygon\"===t.type){for(var r=e.segments({inverted:!1,regions:[]}),a=0;a<t.coordinates.length;a++)r=e.selectUnion(e.combine(r,n(t.coordinates[a])));return e.polygon(r)}throw new Error(\"PolyBool: Cannot convert GeoJSON object to PolyBool polygon\")},fromPolygon:function(e,t,n){function r(e,n){return t.pointInsideRegion([.5*(e[0][0]+e[1][0]),.5*(e[0][1]+e[1][1])],n)}function a(e){return{region:e,children:[]}}n=e.polygon(e.segments(n));var i=a(null);function o(e,t){for(var n=0;n<e.children.length;n++)if(r(t,(l=e.children[n]).region))return void o(l,t);var i=a(t);for(n=0;n<e.children.length;n++){var l;r((l=e.children[n]).region,t)&&(i.children.push(l),e.children.splice(n,1),n--)}e.children.push(i)}for(var l=0;l<n.regions.length;l++){var s=n.regions[l];s.length<3||o(i,s)}function u(e,t){for(var n=0,r=e[e.length-1][0],a=e[e.length-1][1],i=[],o=0;o<e.length;o++){var l=e[o][0],s=e[o][1];i.push([l,s]),n+=s*r-l*a,r=l,a=s}return n<0!==t&&i.reverse(),i.push([i[0][0],i[0][1]]),i}var c=[];function f(e){var t=[u(e.region,!1)];c.push(t);for(var n=0;n<e.children.length;n++)t.push(d(e.children[n]))}function d(e){for(var t=0;t<e.children.length;t++)f(e.children[t]);return u(e.region,!0)}for(l=0;l<i.children.length;l++)f(i.children[l]);return c.length<=0?{type:\"Polygon\",coordinates:[]}:1==c.length?{type:\"Polygon\",coordinates:c[0]}:{type:\"MultiPolygon\",coordinates:c}}};t.exports=r},{}],79:[function(e,t,n){var r=e(\"./linked-list\");t.exports=function(e,t,n){function a(e,t,r){return{id:n?n.segmentId():-1,start:e,end:t,myFill:{above:r.myFill.above,below:r.myFill.below},otherFill:null}}var i=r.create();function o(e,n){i.insertBefore(e,(function(r){return function(e,n,r,a,i,o){var l=t.pointsCompare(n,i);return 0!==l?l:t.pointsSame(r,o)?0:e!==a?e?1:-1:t.pointAboveOrOnLine(r,a?i:o,a?o:i)?1:-1}(e.isStart,e.pt,n,r.isStart,r.pt,r.other.pt)<0}))}function l(e,t){var n=function(e,t){var n=r.node({isStart:!0,pt:e.start,seg:e,primary:t,other:null,status:null});return o(n,e.end),n}(e,t);return function(e,t,n){var a=r.node({isStart:!1,pt:t.end,seg:t,primary:n,other:e,status:null});e.other=a,o(a,e.pt)}(n,e,t),n}function s(e,t){var r=a(t,e.seg.end,e.seg);return function(e,t){n&&n.segmentChop(e.seg,t),e.other.remove(),e.seg.end=t,e.other.pt=t,o(e.other,e.pt)}(e,t),l(r,e.primary)}function u(a,o){var l=r.create();function u(e){return l.findTransition((function(n){var r,a,i,o,l,s;return r=e,a=n.ev,i=r.seg.start,o=r.seg.end,l=a.seg.start,s=a.seg.end,(t.pointsCollinear(i,l,s)?t.pointsCollinear(o,l,s)||t.pointAboveOrOnLine(o,l,s)?1:-1:t.pointAboveOrOnLine(i,l,s)?1:-1)>0}))}function c(e,r){var a=e.seg,i=r.seg,o=a.start,l=a.end,u=i.start,c=i.end;n&&n.checkIntersection(a,i);var f=t.linesIntersect(o,l,u,c);if(!1===f){if(!t.pointsCollinear(o,l,u))return!1;if(t.pointsSame(o,c)||t.pointsSame(l,u))return!1;var d=t.pointsSame(o,u),p=t.pointsSame(l,c);if(d&&p)return r;var h=!d&&t.pointBetween(o,u,c),m=!p&&t.pointBetween(l,u,c);if(d)return m?s(r,l):s(e,c),r;h&&(p||(m?s(r,l):s(e,c)),s(r,o))}else 0===f.alongA&&(-1===f.alongB?s(e,u):0===f.alongB?s(e,f.pt):1===f.alongB&&s(e,c)),0===f.alongB&&(-1===f.alongA?s(r,o):0===f.alongA?s(r,f.pt):1===f.alongA&&s(r,l));return!1}for(var f=[];!i.isEmpty();){var d=i.getHead();if(n&&n.vert(d.pt[0]),d.isStart){n&&n.segmentNew(d.seg,d.primary);var p=u(d),h=p.before?p.before.ev:null,m=p.after?p.after.ev:null;function g(){if(h){var e=c(d,h);if(e)return e}return!!m&&c(d,m)}n&&n.tempStatus(d.seg,!!h&&h.seg,!!m&&m.seg);var y,v,b=g();if(b&&(e?(v=null===d.seg.myFill.below||d.seg.myFill.above!==d.seg.myFill.below)&&(b.seg.myFill.above=!b.seg.myFill.above):b.seg.otherFill=d.seg.myFill,n&&n.segmentUpdate(b.seg),d.other.remove(),d.remove()),i.getHead()!==d){n&&n.rewind(d.seg);continue}e?(v=null===d.seg.myFill.below||d.seg.myFill.above!==d.seg.myFill.below,d.seg.myFill.below=m?m.seg.myFill.above:a,d.seg.myFill.above=v?!d.seg.myFill.below:d.seg.myFill.below):null===d.seg.otherFill&&(y=m?d.primary===m.primary?m.seg.otherFill.above:m.seg.myFill.above:d.primary?o:a,d.seg.otherFill={above:y,below:y}),n&&n.status(d.seg,!!h&&h.seg,!!m&&m.seg),d.other.status=p.insert(r.node({ev:d}))}else{var x=d.status;if(null===x)throw new Error(\"PolyBool: Zero-length segment detected; your epsilon is probably too small or too large\");if(l.exists(x.prev)&&l.exists(x.next)&&c(x.prev.ev,x.next.ev),n&&n.statusRemove(x.ev.seg),x.remove(),!d.primary){var w=d.seg.myFill;d.seg.myFill=d.seg.otherFill,d.seg.otherFill=w}f.push(d.seg)}i.getHead().remove()}return n&&n.done(),f}return e?{addRegion:function(e){for(var r,a,i,o=e[e.length-1],s=0;s<e.length;s++){r=o,o=e[s];var u=t.pointsCompare(r,o);0!==u&&l((a=u<0?r:o,i=u<0?o:r,{id:n?n.segmentId():-1,start:a,end:i,myFill:{above:null,below:null},otherFill:null}),!0)}},calculate:function(e){return u(e,!1)}}:{calculate:function(e,t,n,r){return e.forEach((function(e){l(a(e.start,e.end,e),!0)})),n.forEach((function(e){l(a(e.start,e.end,e),!1)})),u(t,r)}}}},{\"./linked-list\":80}],80:[function(e,t,n){t.exports={create:function(){var e={root:{root:!0,next:null},exists:function(t){return null!==t&&t!==e.root},isEmpty:function(){return null===e.root.next},getHead:function(){return e.root.next},insertBefore:function(t,n){for(var r=e.root,a=e.root.next;null!==a;){if(n(a))return t.prev=a.prev,t.next=a,a.prev.next=t,void(a.prev=t);r=a,a=a.next}r.next=t,t.prev=r,t.next=null},findTransition:function(t){for(var n=e.root,r=e.root.next;null!==r&&!t(r);)n=r,r=r.next;return{before:n===e.root?null:n,after:r,insert:function(e){return e.prev=n,e.next=r,n.next=e,null!==r&&(r.prev=e),e}}}};return e},node:function(e){return e.prev=null,e.next=null,e.remove=function(){e.prev.next=e.next,e.next&&(e.next.prev=e.prev),e.prev=null,e.next=null},e}}},{}],81:[function(e,t,n){t.exports=function(e,t,n){var r=[],a=[];return e.forEach((function(e){var i=e.start,o=e.end;if(t.pointsSame(i,o))console.warn(\"PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large\");else{n&&n.chainStart(e);for(var l={index:0,matches_head:!1,matches_pt1:!1},s={index:0,matches_head:!1,matches_pt1:!1},u=l,c=0;c<r.length;c++){var f=(g=r[c])[0],d=(g[1],g[g.length-1]);if(g[g.length-2],t.pointsSame(f,i)){if(T(c,!0,!0))break}else if(t.pointsSame(f,o)){if(T(c,!0,!1))break}else if(t.pointsSame(d,i)){if(T(c,!1,!0))break}else if(t.pointsSame(d,o)&&T(c,!1,!1))break}if(u===l)return r.push([i,o]),void(n&&n.chainNew(i,o));if(u===s){n&&n.chainMatch(l.index);var p=l.index,h=l.matches_pt1?o:i,m=l.matches_head,g=r[p],y=m?g[0]:g[g.length-1],v=m?g[1]:g[g.length-2],b=m?g[g.length-1]:g[0],x=m?g[g.length-2]:g[1];return t.pointsCollinear(v,y,h)&&(m?(n&&n.chainRemoveHead(l.index,h),g.shift()):(n&&n.chainRemoveTail(l.index,h),g.pop()),y=v),t.pointsSame(b,h)?(r.splice(p,1),t.pointsCollinear(x,b,y)&&(m?(n&&n.chainRemoveTail(l.index,y),g.pop()):(n&&n.chainRemoveHead(l.index,y),g.shift())),n&&n.chainClose(l.index),void a.push(g)):void(m?(n&&n.chainAddHead(l.index,h),g.unshift(h)):(n&&n.chainAddTail(l.index,h),g.push(h)))}var w=l.index,_=s.index;n&&n.chainConnect(w,_);var k=r[w].length<r[_].length;l.matches_head?s.matches_head?k?(M(w),S(w,_)):(M(_),S(_,w)):S(_,w):s.matches_head?S(w,_):k?(M(w),S(_,w)):(M(_),S(w,_))}function T(e,t,n){return u.index=e,u.matches_head=t,u.matches_pt1=n,u===l?(u=s,!1):(u=null,!0)}function M(e){n&&n.chainReverse(e),r[e].reverse()}function S(e,a){var i=r[e],o=r[a],l=i[i.length-1],s=i[i.length-2],u=o[0],c=o[1];t.pointsCollinear(s,l,u)&&(n&&n.chainRemoveTail(e,l),i.pop(),l=s),t.pointsCollinear(l,u,c)&&(n&&n.chainRemoveHead(a,u),o.shift()),n&&n.chainJoin(e,a),r[e]=i.concat(o),r.splice(a,1)}})),a}},{}],82:[function(e,t,n){function r(e,t,n){var r=[];return e.forEach((function(e){var a=(e.myFill.above?8:0)+(e.myFill.below?4:0)+(e.otherFill&&e.otherFill.above?2:0)+(e.otherFill&&e.otherFill.below?1:0);0!==t[a]&&r.push({id:n?n.segmentId():-1,start:e.start,end:e.end,myFill:{above:1===t[a],below:2===t[a]},otherFill:null})})),n&&n.selected(r),r}var a={union:function(e,t){return r(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],t)},intersect:function(e,t){return r(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],t)},difference:function(e,t){return r(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],t)},differenceRev:function(e,t){return r(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],t)},xor:function(e,t){return r(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],t)}};t.exports=a},{}],83:[function(e,t,n){\"use strict\";var r=e(\"stream\").Transform,a=e(\"stream-parser\");function i(){r.call(this,{readableObjectMode:!0})}function o(e,t,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||\"\",this.name=this.constructor.name,this.message=e,t&&(this.code=t),n&&(this.statusCode=n)}i.prototype=Object.create(r.prototype),i.prototype.constructor=i,a(i.prototype),n.ParserStream=i,n.sliceEq=function(e,t,n){for(var r=t,a=0;a<n.length;)if(e[r++]!==n[a++])return!1;return!0},n.str2arr=function(e,t){var n=[],r=0;if(t&&\"hex\"===t)for(;r<e.length;)n.push(parseInt(e.slice(r,r+2),16)),r+=2;else for(;r<e.length;r++)n.push(255&e.charCodeAt(r));return n},n.readUInt16LE=function(e,t){return e[t]|e[t+1]<<8},n.readUInt16BE=function(e,t){return e[t+1]|e[t]<<8},n.readUInt32LE=function(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|16777216*e[t+3]},n.readUInt32BE=function(e,t){return e[t+3]|e[t+2]<<8|e[t+1]<<16|16777216*e[t]},o.prototype=Object.create(Error.prototype),o.prototype.constructor=o,n.ProbeError=o},{stream:100,\"stream-parser\":116}],84:[function(e,t,n){\"use strict\";function r(e,t){var n=new Error(e);return n.code=t,n}function a(e){try{return decodeURIComponent(escape(e))}catch(t){return e}}function i(e,t,n){this.input=e.subarray(t,n),this.start=t;var a=String.fromCharCode.apply(null,this.input.subarray(0,4));if(\"II*\\0\"!==a&&\"MM\\0*\"!==a)throw r(\"invalid TIFF signature\",\"EBADDATA\");this.big_endian=\"M\"===a[0]}i.prototype.each=function(e){this.aborted=!1;var t=this.read_uint32(4);for(this.ifds_to_read=[{id:0,offset:t}];this.ifds_to_read.length>0&&!this.aborted;){var n=this.ifds_to_read.shift();n.offset&&this.scan_ifd(n.id,n.offset,e)}},i.prototype.read_uint16=function(e){var t=this.input;if(e+2>t.length)throw r(\"unexpected EOF\",\"EBADDATA\");return this.big_endian?256*t[e]+t[e+1]:t[e]+256*t[e+1]},i.prototype.read_uint32=function(e){var t=this.input;if(e+4>t.length)throw r(\"unexpected EOF\",\"EBADDATA\");return this.big_endian?16777216*t[e]+65536*t[e+1]+256*t[e+2]+t[e+3]:t[e]+256*t[e+1]+65536*t[e+2]+16777216*t[e+3]},i.prototype.is_subifd_link=function(e,t){return 0===e&&34665===t||0===e&&34853===t||34665===e&&40965===t},i.prototype.exif_format_length=function(e){switch(e){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},i.prototype.exif_format_read=function(e,t){var n;switch(e){case 1:case 2:return this.input[t];case 6:return(n=this.input[t])|33554430*(128&n);case 3:return this.read_uint16(t);case 8:return(n=this.read_uint16(t))|131070*(32768&n);case 4:return this.read_uint32(t);case 9:return 0|this.read_uint32(t);default:return null}},i.prototype.scan_ifd=function(e,t,n){var i=this.read_uint16(t);t+=2;for(var o=0;o<i;o++){var l=this.read_uint16(t),s=this.read_uint16(t+2),u=this.read_uint32(t+4),c=this.exif_format_length(s),f=u*c,d=f<=4?t+8:this.read_uint32(t+8),p=!1;if(d+f>this.input.length)throw r(\"unexpected EOF\",\"EBADDATA\");for(var h=[],m=d,g=0;g<u;g++,m+=c){var y=this.exif_format_read(s,m);if(null===y){h=null;break}h.push(y)}if(Array.isArray(h)&&2===s&&(h=a(String.fromCharCode.apply(null,h)))&&\"\\0\"===h[h.length-1]&&(h=h.slice(0,-1)),this.is_subifd_link(e,l)&&Array.isArray(h)&&Number.isInteger(h[0])&&h[0]>0&&(this.ifds_to_read.push({id:l,offset:h[0]}),p=!0),!1===n({is_big_endian:this.big_endian,ifd:e,tag:l,format:s,count:u,entry_offset:t+this.start,data_length:f,data_offset:d+this.start,value:h,is_subifd_link:p}))return void(this.aborted=!0);t+=12}0===e&&this.ifds_to_read.push({id:1,offset:this.read_uint32(t)})},t.exports.ExifParser=i,t.exports.get_orientation=function(e){var t=0;try{return new i(e,0,e.length).each((function(e){if(0===e.ifd&&274===e.tag&&Array.isArray(e.value))return t=e.value[0],!1})),t}catch(e){return-1}}},{}],85:[function(e,t,n){\"use strict\";var r=e(\"./common\").readUInt16BE,a=e(\"./common\").readUInt32BE;function i(e,t){if(e.length<4+t)return null;var n=a(e,t);return e.length<n+t||n<8?null:{boxtype:String.fromCharCode.apply(null,e.slice(t+4,t+8)),data:e.slice(t+8,t+n),end:t+n}}function o(e,t){for(var n=0;;){var r=i(e,n);if(!r)break;switch(r.boxtype){case\"ispe\":t.sizes.push({width:a(r.data,4),height:a(r.data,8)});break;case\"irot\":t.transforms.push({type:\"irot\",value:3&r.data[0]});break;case\"imir\":t.transforms.push({type:\"imir\",value:1&r.data[0]})}n=r.end}}function l(e,t,n){for(var r=0,a=0;a<n;a++)r=256*r+(e[t+a]||0);return r}function s(e,t){for(var n=e[4]>>4&15,a=15&e[4],i=e[5]>>4&15,o=r(e,6),s=8,u=0;u<o;u++){var c=r(e,s),f=r(e,s+=2),d=l(e,s+=2,i),p=r(e,s+=i);if(s+=2,0===f&&1===p){var h=l(e,s,n),m=l(e,s+n,a);t.item_loc[c]={length:m,offset:h+d}}s+=p*(n+a)}}function u(e,t){for(var n=r(e,4),a=6,o=0;o<n;o++){var l=i(e,a);if(!l)break;if(\"infe\"===l.boxtype){for(var s=r(l.data,4),u=\"\",c=8;c<l.data.length&&l.data[c];c++)u+=String.fromCharCode(l.data[c]);t.item_inf[u]=s}a=l.end}}function c(e,t){for(var n=0;;){var r=i(e,n);if(!r)break;\"ipco\"===r.boxtype&&o(r.data,t),n=r.end}}t.exports.unbox=i,t.exports.readSizeFromMeta=function(e){var t={sizes:[],transforms:[],item_inf:{},item_loc:{}};if(function(e,t){for(var n=4;;){var r=i(e,n);if(!r)break;\"iprp\"===r.boxtype&&c(r.data,t),\"iloc\"===r.boxtype&&s(r.data,t),\"iinf\"===r.boxtype&&u(r.data,t),n=r.end}}(e,t),t.sizes.length){var n,r,a,o=(r=(n=t.sizes).reduce((function(e,t){return e.width>t.width||e.width===t.width&&e.height>t.height?e:t})),a=n.reduce((function(e,t){return e.height>t.height||e.height===t.height&&e.width>t.width?e:t})),r.width>a.height||r.width===a.height&&r.height>a.width?r:a),l=1;t.transforms.forEach((function(e){var t={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},n={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(\"imir\"===e.type&&(l=0===e.value?n[l]:t[l=t[l=n[l]]]),\"irot\"===e.type)for(var r=0;r<e.value;r++)l=t[l]}));var f=null;return t.item_inf.Exif&&(f=t.item_loc[t.item_inf.Exif]),{width:o.width,height:o.height,orientation:t.transforms.length?l:null,variants:t.sizes,exif_location:f}}},t.exports.getMimeType=function(e){var t=String.fromCharCode.apply(null,e.slice(0,4)),n={};n[t]=!0;for(var r=8;r<e.length;r+=4)n[String.fromCharCode.apply(null,e.slice(r,r+4))]=!0;if(n.mif1||n.msf1||n.miaf)return\"avif\"===t||\"avis\"===t||\"avio\"===t?{type:\"avif\",mime:\"image/avif\"}:\"heic\"===t||\"heix\"===t?{type:\"heic\",mime:\"image/heic\"}:\"hevc\"===t||\"hevx\"===t?{type:\"heic\",mime:\"image/heic-sequence\"}:n.avif||n.avis?{type:\"avif\",mime:\"image/avif\"}:n.heic||n.heix||n.hevc||n.hevx||n.heis?n.msf1?{type:\"heif\",mime:\"image/heif-sequence\"}:{type:\"heif\",mime:\"image/heif\"}:{type:\"avif\",mime:\"image/avif\"}}},{\"./common\":83}],86:[function(e,t,n){\"use strict\";var r=e(\"../common\").str2arr,a=e(\"../common\").sliceEq,i=e(\"../common\").readUInt32BE,o=e(\"../miaf_utils\"),l=e(\"../exif_utils\"),s=r(\"ftyp\");t.exports=function(e){if(a(e,4,s)){var t=o.unbox(e,0);if(t){var n=o.getMimeType(t.data);if(n){for(var r,u=t.end;;){var c=o.unbox(e,u);if(!c)break;if(u=c.end,\"mdat\"===c.boxtype)return;if(\"meta\"===c.boxtype){r=c.data;break}}if(r){var f=o.readSizeFromMeta(r);if(f){var d={width:f.width,height:f.height,type:n.type,mime:n.mime,wUnits:\"px\",hUnits:\"px\"};if(f.variants.length>1&&(d.variants=f.variants),f.orientation&&(d.orientation=f.orientation),f.exif_location&&f.exif_location.offset+f.exif_location.length<=e.length){var p=i(e,f.exif_location.offset),h=e.slice(f.exif_location.offset+p+4,f.exif_location.offset+f.exif_location.length),m=l.get_orientation(h);m>0&&(d.orientation=m)}return d}}}}}}},{\"../common\":83,\"../exif_utils\":84,\"../miaf_utils\":85}],87:[function(e,t,n){\"use strict\";var r=e(\"../common\").str2arr,a=e(\"../common\").sliceEq,i=e(\"../common\").readUInt16LE,o=r(\"BM\");t.exports=function(e){if(!(e.length<26)&&a(e,0,o))return{width:i(e,18),height:i(e,22),type:\"bmp\",mime:\"image/bmp\",wUnits:\"px\",hUnits:\"px\"}}},{\"../common\":83}],88:[function(e,t,n){\"use strict\";var r=e(\"../common\").str2arr,a=e(\"../common\").sliceEq,i=e(\"../common\").readUInt16LE,o=r(\"GIF87a\"),l=r(\"GIF89a\");t.exports=function(e){if(!(e.length<10)&&(a(e,0,o)||a(e,0,l)))return{width:i(e,6),height:i(e,8),type:\"gif\",mime:\"image/gif\",wUnits:\"px\",hUnits:\"px\"}}},{\"../common\":83}],89:[function(e,t,n){\"use strict\";var r=e(\"../common\").readUInt16LE;t.exports=function(e){var t=r(e,0),n=r(e,2),a=r(e,4);if(0===t&&1===n&&a){for(var i=[],o={width:0,height:0},l=0;l<a;l++){var s=e[6+16*l]||256,u=e[6+16*l+1]||256,c={width:s,height:u};i.push(c),(s>o.width||u>o.height)&&(o=c)}return{width:o.width,height:o.height,variants:i,type:\"ico\",mime:\"image/x-icon\",wUnits:\"px\",hUnits:\"px\"}}}},{\"../common\":83}],90:[function(e,t,n){\"use strict\";var r=e(\"../common\").readUInt16BE,a=e(\"../common\").str2arr,i=e(\"../common\").sliceEq,o=e(\"../exif_utils\"),l=a(\"Exif\\0\\0\");t.exports=function(e){if(!(e.length<2)&&255===e[0]&&216===e[1]&&255===e[2])for(var t=2;;){for(;;){if(e.length-t<2)return;if(255===e[t++])break}for(var n,a,s=e[t++];255===s;)s=e[t++];if(208<=s&&s<=217||1===s)n=0;else{if(!(192<=s&&s<=254))return;if(e.length-t<2)return;n=r(e,t)-2,t+=2}if(217===s||218===s)return;if(225===s&&n>=10&&i(e,t,l)&&(a=o.get_orientation(e.slice(t+6,t+n))),n>=5&&192<=s&&s<=207&&196!==s&&200!==s&&204!==s){if(e.length-t<n)return;var u={width:r(e,t+3),height:r(e,t+1),type:\"jpg\",mime:\"image/jpeg\",wUnits:\"px\",hUnits:\"px\"};return a>0&&(u.orientation=a),u}t+=n}}},{\"../common\":83,\"../exif_utils\":84}],91:[function(e,t,n){\"use strict\";var r=e(\"../common\").str2arr,a=e(\"../common\").sliceEq,i=e(\"../common\").readUInt32BE,o=r(\"PNG\\r\\n\u001a\\n\"),l=r(\"IHDR\");t.exports=function(e){if(!(e.length<24)&&a(e,0,o)&&a(e,12,l))return{width:i(e,16),height:i(e,20),type:\"png\",mime:\"image/png\",wUnits:\"px\",hUnits:\"px\"}}},{\"../common\":83}],92:[function(e,t,n){\"use strict\";var r=e(\"../common\").str2arr,a=e(\"../common\").sliceEq,i=e(\"../common\").readUInt32BE,o=r(\"8BPS\\0\u0001\");t.exports=function(e){if(!(e.length<22)&&a(e,0,o))return{width:i(e,18),height:i(e,14),type:\"psd\",mime:\"image/vnd.adobe.photoshop\",wUnits:\"px\",hUnits:\"px\"}}},{\"../common\":83}],93:[function(e,t,n){\"use strict\";function r(e){return\"number\"==typeof e&&isFinite(e)&&e>0}var a=/<[-_.:a-zA-Z0-9][^>]*>/,i=/^<([-_.:a-zA-Z0-9]+:)?svg\\s/,o=/[^-]\\bwidth=\"([^%]+?)\"|[^-]\\bwidth='([^%]+?)'/,l=/\\bheight=\"([^%]+?)\"|\\bheight='([^%]+?)'/,s=/\\bview[bB]ox=\"(.+?)\"|\\bview[bB]ox='(.+?)'/,u=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function c(e){return u.test(e)?e.match(u)[0]:\"px\"}t.exports=function(e){if(function(e){var t,n=0,r=e.length;for(239===e[0]&&187===e[1]&&191===e[2]&&(n=3);n<r&&(32===(t=e[n])||9===t||13===t||10===t);)n++;return n!==r&&60===e[n]}(e)){for(var t=\"\",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);var u=(t.match(a)||[\"\"])[0];if(i.test(u)){var f=function(e){var t=e.match(o),n=e.match(l),r=e.match(s);return{width:t&&(t[1]||t[2]),height:n&&(n[1]||n[2]),viewbox:r&&(r[1]||r[2])}}(u),d=parseFloat(f.width),p=parseFloat(f.height);if(f.width&&f.height){if(!r(d)||!r(p))return;return{width:d,height:p,type:\"svg\",mime:\"image/svg+xml\",wUnits:c(f.width),hUnits:c(f.height)}}var h=(f.viewbox||\"\").split(\" \"),m={width:h[2],height:h[3]},g=parseFloat(m.width),y=parseFloat(m.height);if(r(g)&&r(y)&&c(m.width)===c(m.height)){var v=g/y;if(f.width){if(!r(d))return;return{width:d,height:d/v,type:\"svg\",mime:\"image/svg+xml\",wUnits:c(f.width),hUnits:c(f.width)}}if(f.height){if(!r(p))return;return{width:p*v,height:p,type:\"svg\",mime:\"image/svg+xml\",wUnits:c(f.height),hUnits:c(f.height)}}return{width:g,height:y,type:\"svg\",mime:\"image/svg+xml\",wUnits:c(m.width),hUnits:c(m.height)}}}}}},{}],94:[function(e,t,n){\"use strict\";var r=e(\"../common\").str2arr,a=e(\"../common\").sliceEq,i=e(\"../common\").readUInt16LE,o=e(\"../common\").readUInt16BE,l=e(\"../common\").readUInt32LE,s=e(\"../common\").readUInt32BE,u=r(\"II*\\0\"),c=r(\"MM\\0*\");function f(e,t,n){return n?o(e,t):i(e,t)}function d(e,t,n){return n?s(e,t):l(e,t)}function p(e,t,n){var r=f(e,t+2,n);return 1!==d(e,t+4,n)||3!==r&&4!==r?null:3===r?f(e,t+8,n):d(e,t+8,n)}t.exports=function(e){if(!(e.length<8)&&(a(e,0,u)||a(e,0,c))){var t=77===e[0],n=d(e,4,t)-8;if(!(n<0)){var r=n+8;if(!(e.length-r<2)){var i=12*f(e,r+0,t);if(!(i<=0||(r+=2,e.length-r<i))){var o,l,s,h;for(o=0;o<i;o+=12)256===(h=f(e,r+o,t))?l=p(e,r+o,t):257===h&&(s=p(e,r+o,t));return l&&s?{width:l,height:s,type:\"tiff\",mime:\"image/tiff\",wUnits:\"px\",hUnits:\"px\"}:void 0}}}}}},{\"../common\":83}],95:[function(e,t,n){\"use strict\";var r=e(\"../common\").str2arr,a=e(\"../common\").sliceEq,i=e(\"../common\").readUInt16LE,o=e(\"../common\").readUInt32LE,l=e(\"../exif_utils\"),s=r(\"RIFF\"),u=r(\"WEBP\");function c(e,t){if(157===e[t+3]&&1===e[t+4]&&42===e[t+5])return{width:16383&i(e,t+6),height:16383&i(e,t+8),type:\"webp\",mime:\"image/webp\",wUnits:\"px\",hUnits:\"px\"}}function f(e,t){if(47===e[t]){var n=o(e,t+1);return{width:1+(16383&n),height:1+(n>>14&16383),type:\"webp\",mime:\"image/webp\",wUnits:\"px\",hUnits:\"px\"}}}function d(e,t){return{width:1+(e[t+6]<<16|e[t+5]<<8|e[t+4]),height:1+(e[t+9]<<t|e[t+8]<<8|e[t+7]),type:\"webp\",mime:\"image/webp\",wUnits:\"px\",hUnits:\"px\"}}t.exports=function(e){if(!(e.length<16)&&(a(e,0,s)||a(e,8,u))){var t=12,n=null,r=0,i=o(e,4)+8;if(!(i>e.length)){for(;t+8<i;)if(0!==e[t]){var p=String.fromCharCode.apply(null,e.slice(t,t+4)),h=o(e,t+4);\"VP8 \"===p&&h>=10?n=n||c(e,t+8):\"VP8L\"===p&&h>=9?n=n||f(e,t+8):\"VP8X\"===p&&h>=10?n=n||d(e,t+8):\"EXIF\"===p&&(r=l.get_orientation(e.slice(t+8,t+8+h)),t=1/0),t+=8+h}else t++;if(n)return r>0&&(n.orientation=r),n}}}},{\"../common\":83,\"../exif_utils\":84}],96:[function(e,t,n){\"use strict\";t.exports={avif:e(\"./parse_sync/avif\"),bmp:e(\"./parse_sync/bmp\"),gif:e(\"./parse_sync/gif\"),ico:e(\"./parse_sync/ico\"),jpeg:e(\"./parse_sync/jpeg\"),png:e(\"./parse_sync/png\"),psd:e(\"./parse_sync/psd\"),svg:e(\"./parse_sync/svg\"),tiff:e(\"./parse_sync/tiff\"),webp:e(\"./parse_sync/webp\")}},{\"./parse_sync/avif\":86,\"./parse_sync/bmp\":87,\"./parse_sync/gif\":88,\"./parse_sync/ico\":89,\"./parse_sync/jpeg\":90,\"./parse_sync/png\":91,\"./parse_sync/psd\":92,\"./parse_sync/svg\":93,\"./parse_sync/tiff\":94,\"./parse_sync/webp\":95}],97:[function(e,t,n){\"use strict\";var r=e(\"./lib/parsers_sync\");t.exports=function(e){return function(e){for(var t=Object.keys(r),n=0;n<t.length;n++){var a=r[t[n]](e);if(a)return a}return null}(e)},t.exports.parsers=r},{\"./lib/parsers_sync\":96}],98:[function(e,t,n){var r,a,i=t.exports={};function o(){throw new Error(\"setTimeout has not been defined\")}function l(){throw new Error(\"clearTimeout has not been defined\")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r=\"function\"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{a=\"function\"==typeof clearTimeout?clearTimeout:l}catch(e){a=l}}();var u,c=[],f=!1,d=-1;function p(){f&&u&&(f=!1,u.length?c=u.concat(c):d=-1,c.length&&h())}function h(){if(!f){var e=s(p);f=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,f=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===l||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}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];c.push(new m(e,t)),1!==c.length||f||s(h)},m.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=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,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}},{}],99:[function(e,t,n){var r=e(\"buffer\"),a=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return a(e,t,n)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=r:(i(r,n),n.Buffer=o),o.prototype=Object.create(a.prototype),i(a,o),o.from=function(e,t,n){if(\"number\"==typeof e)throw new TypeError(\"Argument must not be a number\");return a(e,t,n)},o.alloc=function(e,t,n){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");var r=a(e);return void 0!==t?\"string\"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return a(e)},o.allocUnsafeSlow=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return r.SlowBuffer(e)}},{buffer:28}],100:[function(e,t,n){t.exports=a;var r=e(\"events\").EventEmitter;function a(){r.call(this)}e(\"inherits\")(a,r),a.Readable=e(\"readable-stream/lib/_stream_readable.js\"),a.Writable=e(\"readable-stream/lib/_stream_writable.js\"),a.Duplex=e(\"readable-stream/lib/_stream_duplex.js\"),a.Transform=e(\"readable-stream/lib/_stream_transform.js\"),a.PassThrough=e(\"readable-stream/lib/_stream_passthrough.js\"),a.finished=e(\"readable-stream/lib/internal/streams/end-of-stream.js\"),a.pipeline=e(\"readable-stream/lib/internal/streams/pipeline.js\"),a.Stream=a,a.prototype.pipe=function(e,t){var n=this;function a(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on(\"data\",a),e.on(\"drain\",i),e._isStdio||t&&!1===t.end||(n.on(\"end\",l),n.on(\"close\",s));var o=!1;function l(){o||(o=!0,e.end())}function s(){o||(o=!0,\"function\"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===r.listenerCount(this,\"error\"))throw e}function c(){n.removeListener(\"data\",a),e.removeListener(\"drain\",i),n.removeListener(\"end\",l),n.removeListener(\"close\",s),n.removeListener(\"error\",u),e.removeListener(\"error\",u),n.removeListener(\"end\",c),n.removeListener(\"close\",c),e.removeListener(\"close\",c)}return n.on(\"error\",u),e.on(\"error\",u),n.on(\"end\",c),n.on(\"close\",c),e.on(\"close\",c),e.emit(\"pipe\",n),e}},{events:27,inherits:67,\"readable-stream/lib/_stream_duplex.js\":102,\"readable-stream/lib/_stream_passthrough.js\":103,\"readable-stream/lib/_stream_readable.js\":104,\"readable-stream/lib/_stream_transform.js\":105,\"readable-stream/lib/_stream_writable.js\":106,\"readable-stream/lib/internal/streams/end-of-stream.js\":110,\"readable-stream/lib/internal/streams/pipeline.js\":112}],101:[function(e,t,n){\"use strict\";var r={};function a(e,t,n){n||(n=Error);var a=function(e){var n,r;function a(n,r,a){return e.call(this,function(e,n,r){return\"string\"==typeof t?t:t(e,n,r)}(n,r,a))||this}return r=e,(n=a).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,a}(n);a.prototype.name=n.name,a.prototype.code=e,r[e]=a}function i(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?\"one of \".concat(t,\" \").concat(e.slice(0,n-1).join(\", \"),\", or \")+e[n-1]:2===n?\"one of \".concat(t,\" \").concat(e[0],\" or \").concat(e[1]):\"of \".concat(t,\" \").concat(e[0])}return\"of \".concat(t,\" \").concat(String(e))}a(\"ERR_INVALID_OPT_VALUE\",(function(e,t){return'The value \"'+t+'\" is invalid for option \"'+e+'\"'}),TypeError),a(\"ERR_INVALID_ARG_TYPE\",(function(e,t,n){var r,a,o,l;if(\"string\"==typeof t&&(a=\"not \",t.substr(!o||o<0?0:+o,a.length)===a)?(r=\"must not be\",t=t.replace(/^not /,\"\")):r=\"must be\",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e,\" argument\"))l=\"The \".concat(e,\" \").concat(r,\" \").concat(i(t,\"type\"));else{var s=function(e,t,n){return\"number\"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,\".\")?\"property\":\"argument\";l='The \"'.concat(e,'\" ').concat(s,\" \").concat(r,\" \").concat(i(t,\"type\"))}return l+\". Received type \".concat(typeof n)}),TypeError),a(\"ERR_STREAM_PUSH_AFTER_EOF\",\"stream.push() after EOF\"),a(\"ERR_METHOD_NOT_IMPLEMENTED\",(function(e){return\"The \"+e+\" method is not implemented\"})),a(\"ERR_STREAM_PREMATURE_CLOSE\",\"Premature close\"),a(\"ERR_STREAM_DESTROYED\",(function(e){return\"Cannot call \"+e+\" after a stream was destroyed\"})),a(\"ERR_MULTIPLE_CALLBACK\",\"Callback called multiple times\"),a(\"ERR_STREAM_CANNOT_PIPE\",\"Cannot pipe, not readable\"),a(\"ERR_STREAM_WRITE_AFTER_END\",\"write after end\"),a(\"ERR_STREAM_NULL_VALUES\",\"May not write null values to stream\",TypeError),a(\"ERR_UNKNOWN_ENCODING\",(function(e){return\"Unknown encoding: \"+e}),TypeError),a(\"ERR_STREAM_UNSHIFT_AFTER_END_EVENT\",\"stream.unshift() after end event\"),t.exports.codes=r},{}],102:[function(e,t,n){(function(n){(function(){\"use strict\";var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=u;var a=e(\"./_stream_readable\"),i=e(\"./_stream_writable\");e(\"inherits\")(u,a);for(var o=r(i.prototype),l=0;l<o.length;l++){var s=o[l];u.prototype[s]||(u.prototype[s]=i.prototype[s])}function u(e){if(!(this instanceof u))return new u(e);a.call(this,e),i.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once(\"end\",c)))}function c(){this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(u.prototype,\"writableHighWaterMark\",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,\"writableBuffer\",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,\"writableLength\",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,\"destroyed\",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this)}).call(this,e(\"_process\"))},{\"./_stream_readable\":104,\"./_stream_writable\":106,_process:98,inherits:67}],103:[function(e,t,n){\"use strict\";t.exports=a;var r=e(\"./_stream_transform\");function a(e){if(!(this instanceof a))return new a(e);r.call(this,e)}e(\"inherits\")(a,r),a.prototype._transform=function(e,t,n){n(null,e)}},{\"./_stream_transform\":105,inherits:67}],104:[function(e,t,r){(function(n,r){(function(){\"use strict\";var a;t.exports=M,M.ReadableState=T,e(\"events\").EventEmitter;var i,o=function(e,t){return e.listeners(t).length},l=e(\"./internal/streams/stream\"),s=e(\"buffer\").Buffer,u=r.Uint8Array||function(){},c=e(\"util\");i=c&&c.debuglog?c.debuglog(\"stream\"):function(){};var f,d,p,h=e(\"./internal/streams/buffer_list\"),m=e(\"./internal/streams/destroy\"),g=e(\"./internal/streams/state\").getHighWaterMark,y=e(\"../errors\").codes,v=y.ERR_INVALID_ARG_TYPE,b=y.ERR_STREAM_PUSH_AFTER_EOF,x=y.ERR_METHOD_NOT_IMPLEMENTED,w=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;e(\"inherits\")(M,l);var _=m.errorOrDestroy,k=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];function T(t,n,r){a=a||e(\"./_stream_duplex\"),t=t||{},\"boolean\"!=typeof r&&(r=n instanceof a),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,\"readableHighWaterMark\",r),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=e(\"string_decoder/\").StringDecoder),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function M(t){if(a=a||e(\"./_stream_duplex\"),!(this instanceof M))return new M(t);var n=this instanceof a;this._readableState=new T(t,this,n),this.readable=!0,t&&(\"function\"==typeof t.read&&(this._read=t.read),\"function\"==typeof t.destroy&&(this._destroy=t.destroy)),l.call(this)}function S(e,t,n,r,a){i(\"readableAddChunk\",t);var o,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(i(\"onEofChunk\"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?O(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,A(e)))}}(e,l);else if(a||(o=function(e,t){var n,r;return r=t,s.isBuffer(r)||r instanceof u||\"string\"==typeof t||void 0===t||e.objectMode||(n=new v(\"chunk\",[\"string\",\"Buffer\",\"Uint8Array\"],t)),n}(l,t)),o)_(e,o);else if(l.objectMode||t&&t.length>0)if(\"string\"==typeof t||l.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)l.endEmitted?_(e,new w):E(e,l,t,!0);else if(l.ended)_(e,new b);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(t=l.decoder.write(t),l.objectMode||0!==t.length?E(e,l,t,!1):D(e,l)):E(e,l,t,!1)}else r||(l.reading=!1,D(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function E(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit(\"data\",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&O(e)),D(e,t)}function C(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;i(\"emitReadable\",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i(\"emitReadable\",t.flowing),t.emittedReadable=!0,n.nextTick(A,e))}function A(e){var t=e._readableState;i(\"emitReadable_\",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit(\"readable\"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,j(e)}function D(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(P,e,t))}function P(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(i(\"maybeReadMore read 0\"),e.read(0),n===t.length)break}t.readingMore=!1}function R(e){var t=e._readableState;t.readableListening=e.listenerCount(\"readable\")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount(\"data\")>0&&e.resume()}function L(e){i(\"readable nexttick read 0\"),e.read(0)}function I(e,t){i(\"resume\",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit(\"resume\"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(i(\"flow\",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(\"\"):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function z(e){var t=e._readableState;i(\"endReadable\",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(F,t,e))}function F(e,t){if(i(\"endReadableNT\",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Z(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}Object.defineProperty(M.prototype,\"destroyed\",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),M.prototype.destroy=m.destroy,M.prototype._undestroy=m.undestroy,M.prototype._destroy=function(e,t){t(e)},M.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:\"string\"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=s.from(e,t),t=\"\"),n=!0),S(this,e,t,!1,n)},M.prototype.unshift=function(e){return S(this,e,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(t){f||(f=e(\"string_decoder/\").StringDecoder);var n=new f(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,a=\"\";null!==r;)a+=n.write(r.data),r=r.next;return this._readableState.buffer.clear(),\"\"!==a&&this._readableState.buffer.push(a),this._readableState.length=a.length,this},M.prototype.read=function(e){i(\"read\",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return i(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?z(this):O(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&z(this),null;var r,a=t.needReadable;return i(\"need readable\",a),(0===t.length||t.length-e<t.highWaterMark)&&i(\"length less than watermark\",a=!0),t.ended||t.reading?i(\"reading or ended\",a=!1):a&&(i(\"do read\"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=C(n,t))),null===(r=e>0?N(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&z(this)),null!==r&&this.emit(\"data\",r),r},M.prototype._read=function(e){_(this,new x(\"_read()\"))},M.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,i(\"pipe count=%d opts=%j\",a.pipesCount,t);var l=t&&!1===t.end||e===n.stdout||e===n.stderr?g:u;function s(t,n){i(\"onunpipe\"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,i(\"cleanup\"),e.removeListener(\"close\",h),e.removeListener(\"finish\",m),e.removeListener(\"drain\",c),e.removeListener(\"error\",p),e.removeListener(\"unpipe\",s),r.removeListener(\"end\",u),r.removeListener(\"end\",g),r.removeListener(\"data\",d),f=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){i(\"onend\"),e.end()}a.endEmitted?n.nextTick(l):r.once(\"end\",l),e.on(\"unpipe\",s);var c=function(e){return function(){var t=e._readableState;i(\"pipeOnDrain\",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,\"data\")&&(t.flowing=!0,j(e))}}(r);e.on(\"drain\",c);var f=!1;function d(t){i(\"ondata\");var n=e.write(t);i(\"dest.write\",n),!1===n&&((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==Z(a.pipes,e))&&!f&&(i(\"false write response, pause\",a.awaitDrain),a.awaitDrain++),r.pause())}function p(t){i(\"onerror\",t),g(),e.removeListener(\"error\",p),0===o(e,\"error\")&&_(e,t)}function h(){e.removeListener(\"finish\",m),g()}function m(){i(\"onfinish\"),e.removeListener(\"close\",h),g()}function g(){i(\"unpipe\"),r.unpipe(e)}return r.on(\"data\",d),function(e,t,n){if(\"function\"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,\"error\",p),e.once(\"close\",h),e.once(\"finish\",m),e.emit(\"pipe\",r),a.flowing||(i(\"pipe resume\"),r.resume()),e},M.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this,n)),this;if(!e){var r=t.pipes,a=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<a;i++)r[i].emit(\"unpipe\",this,{hasUnpiped:!1});return this}var o=Z(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this,n)),this},M.prototype.on=function(e,t){var r=l.prototype.on.call(this,e,t),a=this._readableState;return\"data\"===e?(a.readableListening=this.listenerCount(\"readable\")>0,!1!==a.flowing&&this.resume()):\"readable\"===e&&(a.endEmitted||a.readableListening||(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,i(\"on readable\",a.length,a.reading),a.length?O(this):a.reading||n.nextTick(L,this))),r},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(e,t){var r=l.prototype.removeListener.call(this,e,t);return\"readable\"===e&&n.nextTick(R,this),r},M.prototype.removeAllListeners=function(e){var t=l.prototype.removeAllListeners.apply(this,arguments);return\"readable\"!==e&&void 0!==e||n.nextTick(R,this),t},M.prototype.resume=function(){var e=this._readableState;return e.flowing||(i(\"resume\"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(I,e,t))}(this,e)),e.paused=!1,this},M.prototype.pause=function(){return i(\"call pause flowing=%j\",this._readableState.flowing),!1!==this._readableState.flowing&&(i(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this._readableState.paused=!0,this},M.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var a in e.on(\"end\",(function(){if(i(\"wrapped end\"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on(\"data\",(function(a){i(\"wrapped data\"),n.decoder&&(a=n.decoder.write(a)),n.objectMode&&null==a||(n.objectMode||a&&a.length)&&(t.push(a)||(r=!0,e.pause()))})),e)void 0===this[a]&&\"function\"==typeof e[a]&&(this[a]=function(t){return function(){return e[t].apply(e,arguments)}}(a));for(var o=0;o<k.length;o++)e.on(k[o],this.emit.bind(this,k[o]));return this._read=function(t){i(\"wrapped _read\",t),r&&(r=!1,e.resume())},this},\"function\"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=e(\"./internal/streams/async_iterator\")),d(this)}),Object.defineProperty(M.prototype,\"readableHighWaterMark\",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,\"readableBuffer\",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,\"readableFlowing\",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),M._fromList=N,Object.defineProperty(M.prototype,\"readableLength\",{enumerable:!1,get:function(){return this._readableState.length}}),\"function\"==typeof Symbol&&(M.from=function(t,n){return void 0===p&&(p=e(\"./internal/streams/from\")),p(M,t,n)})}).call(this)}).call(this,e(\"_process\"),void 0!==n.g?n.g:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../errors\":101,\"./_stream_duplex\":102,\"./internal/streams/async_iterator\":107,\"./internal/streams/buffer_list\":108,\"./internal/streams/destroy\":109,\"./internal/streams/from\":111,\"./internal/streams/state\":113,\"./internal/streams/stream\":114,_process:98,buffer:28,events:27,inherits:67,\"string_decoder/\":115,util:26}],105:[function(e,t,n){\"use strict\";t.exports=c;var r=e(\"../errors\").codes,a=r.ERR_METHOD_NOT_IMPLEMENTED,i=r.ERR_MULTIPLE_CALLBACK,o=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=r.ERR_TRANSFORM_WITH_LENGTH_0,s=e(\"./_stream_duplex\");function u(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit(\"error\",new i);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);s.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(\"function\"==typeof e.transform&&(this._transform=e.transform),\"function\"==typeof e.flush&&(this._flush=e.flush)),this.on(\"prefinish\",f)}function f(){var e=this;\"function\"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,n){d(e,t,n)}))}function d(e,t,n){if(t)return e.emit(\"error\",t);if(null!=n&&e.push(n),e._writableState.length)throw new l;if(e._transformState.transforming)throw new o;return e.push(null)}e(\"inherits\")(c,s),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){n(new a(\"_transform()\"))},c.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var a=this._readableState;(r.needTransform||a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){s.prototype._destroy.call(this,e,(function(e){t(e)}))}},{\"../errors\":101,\"./_stream_duplex\":102,inherits:67}],106:[function(e,t,r){(function(n,r){(function(){\"use strict\";function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;for(e.entry=null;r;){var a=r.callback;t.pendingcb--,a(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var i;t.exports=M,M.WritableState=T;var o,l={deprecate:e(\"util-deprecate\")},s=e(\"./internal/streams/stream\"),u=e(\"buffer\").Buffer,c=r.Uint8Array||function(){},f=e(\"./internal/streams/destroy\"),d=e(\"./internal/streams/state\").getHighWaterMark,p=e(\"../errors\").codes,h=p.ERR_INVALID_ARG_TYPE,m=p.ERR_METHOD_NOT_IMPLEMENTED,g=p.ERR_MULTIPLE_CALLBACK,y=p.ERR_STREAM_CANNOT_PIPE,v=p.ERR_STREAM_DESTROYED,b=p.ERR_STREAM_NULL_VALUES,x=p.ERR_STREAM_WRITE_AFTER_END,w=p.ERR_UNKNOWN_ENCODING,_=f.errorOrDestroy;function k(){}function T(t,r,o){i=i||e(\"./_stream_duplex\"),t=t||{},\"boolean\"!=typeof o&&(o=r instanceof i),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=d(this,t,\"writableHighWaterMark\",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===t.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,a=r.sync,i=r.writecb;if(\"function\"!=typeof i)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,a,i){--t.pendingcb,r?(n.nextTick(i,a),n.nextTick(D,e,t),e._writableState.errorEmitted=!0,_(e,a)):(i(a),e._writableState.errorEmitted=!0,_(e,a),D(e,t))}(e,r,a,t,i);else{var o=O(r)||e.destroyed;o||r.corked||r.bufferProcessing||!r.bufferedRequest||C(e,r),a?n.nextTick(E,e,r,o,i):E(e,r,o,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function M(t){var n=this instanceof(i=i||e(\"./_stream_duplex\"));if(!n&&!o.call(M,this))return new M(t);this._writableState=new T(t,this,n),this.writable=!0,t&&(\"function\"==typeof t.write&&(this._write=t.write),\"function\"==typeof t.writev&&(this._writev=t.writev),\"function\"==typeof t.destroy&&(this._destroy=t.destroy),\"function\"==typeof t.final&&(this._final=t.final)),s.call(this)}function S(e,t,n,r,a,i,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v(\"write\")):n?e._writev(a,t.onwrite):e._write(a,i,t.onwrite),t.sync=!1}function E(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}(e,t),t.pendingcb--,r(),D(e,t)}function C(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var l=0,s=!0;n;)i[l]=n,n.isBuf||(s=!1),n=n.next,l+=1;i.allBuffers=s,S(e,t,!0,t.length,i,\"\",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,c=n.encoding,f=n.callback;if(S(e,t,!1,t.objectMode?1:u.length,u,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function O(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(n){t.pendingcb--,n&&_(e,n),t.prefinished=!0,e.emit(\"prefinish\"),D(e,t)}))}function D(e,t){var r=O(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||(\"function\"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit(\"prefinish\")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit(\"finish\"),t.autoDestroy))){var a=e._readableState;(!a||a.autoDestroy&&a.endEmitted)&&e.destroy()}return r}e(\"inherits\")(M,s),T.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(T.prototype,\"buffer\",{get:l.deprecate((function(){return this.getBuffer()}),\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\",\"DEP0003\")})}catch(e){}}(),\"function\"==typeof Symbol&&Symbol.hasInstance&&\"function\"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(e){return!!o.call(this,e)||this===M&&e&&e._writableState instanceof T}})):o=function(e){return e instanceof this},M.prototype.pipe=function(){_(this,new y)},M.prototype.write=function(e,t,r){var a,i=this._writableState,o=!1,l=!i.objectMode&&(a=e,u.isBuffer(a)||a instanceof c);return l&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),\"function\"==typeof t&&(r=t,t=null),l?t=\"buffer\":t||(t=i.defaultEncoding),\"function\"!=typeof r&&(r=k),i.ending?function(e,t){var r=new x;_(e,r),n.nextTick(t,r)}(this,r):(l||function(e,t,r,a){var i;return null===r?i=new b:\"string\"==typeof r||t.objectMode||(i=new h(\"chunk\",[\"string\",\"Buffer\"],r)),!i||(_(e,i),n.nextTick(a,i),!1)}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,n,r,a,i){if(!n){var o=function(e,t,n){return e.objectMode||!1===e.decodeStrings||\"string\"!=typeof t||(t=u.from(t,n)),t}(t,r,a);r!==o&&(n=!0,a=\"buffer\",r=o)}var l=t.objectMode?1:r.length;t.length+=l;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:a,isBuf:n,callback:i,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else S(e,t,!1,l,r,a,i);return s}(this,i,l,e,t,r)),o},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||C(this,e))},M.prototype.setDefaultEncoding=function(e){if(\"string\"==typeof e&&(e=e.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf((e+\"\").toLowerCase())>-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(M.prototype,\"writableBuffer\",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(M.prototype,\"writableHighWaterMark\",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(e,t,n){n(new m(\"_write()\"))},M.prototype._writev=null,M.prototype.end=function(e,t,r){var a=this._writableState;return\"function\"==typeof e?(r=e,e=null,t=null):\"function\"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),a.corked&&(a.corked=1,this.uncork()),a.ending||function(e,t,r){t.ending=!0,D(e,t),r&&(t.finished?n.nextTick(r):e.once(\"finish\",r)),t.ended=!0,e.writable=!1}(this,a,r),this},Object.defineProperty(M.prototype,\"writableLength\",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(M.prototype,\"destroyed\",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),M.prototype.destroy=f.destroy,M.prototype._undestroy=f.undestroy,M.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e(\"_process\"),void 0!==n.g?n.g:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../errors\":101,\"./_stream_duplex\":102,\"./internal/streams/destroy\":109,\"./internal/streams/state\":113,\"./internal/streams/stream\":114,_process:98,buffer:28,inherits:67,\"util-deprecate\":122}],107:[function(e,t,n){(function(n){(function(){\"use strict\";var r;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}var i=e(\"./end-of-stream\"),o=Symbol(\"lastResolve\"),l=Symbol(\"lastReject\"),s=Symbol(\"error\"),u=Symbol(\"ended\"),c=Symbol(\"lastPromise\"),f=Symbol(\"handlePromise\"),d=Symbol(\"stream\");function p(e,t){return{value:e,done:t}}function h(e){var t=e[o];if(null!==t){var n=e[d].read();null!==n&&(e[c]=null,e[o]=null,e[l]=null,t(p(n,!1)))}}function m(e){n.nextTick(h,e)}var g=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((a(r={get stream(){return this[d]},next:function(){var e=this,t=this[s];if(null!==t)return Promise.reject(t);if(this[u])return Promise.resolve(p(void 0,!0));if(this[d].destroyed)return new Promise((function(t,r){n.nextTick((function(){e[s]?r(e[s]):t(p(void 0,!0))}))}));var r,a=this[c];if(a)r=new Promise(function(e,t){return function(n,r){e.then((function(){t[u]?n(p(void 0,!0)):t[f](n,r)}),r)}}(a,this));else{var i=this[d].read();if(null!==i)return Promise.resolve(p(i,!1));r=new Promise(this[f])}return this[c]=r,r}},Symbol.asyncIterator,(function(){return this})),a(r,\"return\",(function(){var e=this;return new Promise((function(t,n){e[d].destroy(null,(function(e){e?n(e):t(p(void 0,!0))}))}))})),r),g);t.exports=function(e){var t,n=Object.create(y,(a(t={},d,{value:e,writable:!0}),a(t,o,{value:null,writable:!0}),a(t,l,{value:null,writable:!0}),a(t,s,{value:null,writable:!0}),a(t,u,{value:e._readableState.endEmitted,writable:!0}),a(t,f,{value:function(e,t){var r=n[d].read();r?(n[c]=null,n[o]=null,n[l]=null,e(p(r,!1))):(n[o]=e,n[l]=t)},writable:!0}),t));return n[c]=null,i(e,(function(e){if(e&&\"ERR_STREAM_PREMATURE_CLOSE\"!==e.code){var t=n[l];return null!==t&&(n[c]=null,n[o]=null,n[l]=null,t(e)),void(n[s]=e)}var r=n[o];null!==r&&(n[c]=null,n[o]=null,n[l]=null,r(p(void 0,!0))),n[u]=!0})),e.on(\"readable\",m.bind(null,n)),n}}).call(this)}).call(this,e(\"_process\"))},{\"./end-of-stream\":110,_process:98}],108:[function(e,t,n){\"use strict\";function r(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 a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(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)}}var o=e(\"buffer\").Buffer,l=e(\"util\").inspect,s=l&&l.custom||\"inspect\";t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,u;return t=e,(n=[{key:\"push\",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:\"unshift\",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:\"shift\",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:\"clear\",value:function(){this.head=this.tail=null,this.length=0}},{key:\"join\",value:function(e){if(0===this.length)return\"\";for(var t=this.head,n=\"\"+t.data;t=t.next;)n+=e+t.data;return n}},{key:\"concat\",value:function(e){if(0===this.length)return o.alloc(0);for(var t,n,r,a=o.allocUnsafe(e>>>0),i=this.head,l=0;i;)t=i.data,n=a,r=l,o.prototype.copy.call(t,n,r),l+=i.data.length,i=i.next;return a}},{key:\"consume\",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:\"first\",value:function(){return this.head.data}},{key:\"_getString\",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var a=t.data,i=e>a.length?a.length:e;if(i===a.length?r+=a:r+=a.slice(0,e),0==(e-=i)){i===a.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=a.slice(i));break}++n}return this.length-=n,r}},{key:\"_getBuffer\",value:function(e){var t=o.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var a=n.data,i=e>a.length?a.length:e;if(a.copy(t,t.length-e,0,i),0==(e-=i)){i===a.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=a.slice(i));break}++r}return this.length-=r,t}},{key:s,value:function(e,t){return l(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}])&&i(t.prototype,n),u&&i(t,u),e}()},{buffer:28,util:26}],109:[function(e,t,n){(function(e){(function(){\"use strict\";function n(e,t){a(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit(\"close\")}function a(e,t){e.emit(\"error\",t)}t.exports={destroy:function(t,i){var o=this,l=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return l||s?(i?i(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(a,this,t)):e.nextTick(a,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!i&&t?o._writableState?o._writableState.errorEmitted?e.nextTick(r,o):(o._writableState.errorEmitted=!0,e.nextTick(n,o,t)):e.nextTick(n,o,t):i?(e.nextTick(r,o),i(t)):e.nextTick(r,o)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit(\"error\",t)}}}).call(this)}).call(this,e(\"_process\"))},{_process:98}],110:[function(e,t,n){\"use strict\";var r=e(\"../../../errors\").codes.ERR_STREAM_PREMATURE_CLOSE;function a(){}t.exports=function e(t,n,i){if(\"function\"==typeof n)return e(t,null,n);n||(n={}),i=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];e.apply(this,r)}}}(i||a);var o=n.readable||!1!==n.readable&&t.readable,l=n.writable||!1!==n.writable&&t.writable,s=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){l=!1,u=!0,o||i.call(t)},f=t._readableState&&t._readableState.endEmitted,d=function(){o=!1,f=!0,l||i.call(t)},p=function(e){i.call(t,e)},h=function(){var e;return o&&!f?(t._readableState&&t._readableState.ended||(e=new r),i.call(t,e)):l&&!u?(t._writableState&&t._writableState.ended||(e=new r),i.call(t,e)):void 0},m=function(){t.req.on(\"finish\",c)};return function(e){return e.setHeader&&\"function\"==typeof e.abort}(t)?(t.on(\"complete\",c),t.on(\"abort\",h),t.req?m():t.on(\"request\",m)):l&&!t._writableState&&(t.on(\"end\",s),t.on(\"close\",s)),t.on(\"end\",d),t.on(\"finish\",c),!1!==n.error&&t.on(\"error\",p),t.on(\"close\",h),function(){t.removeListener(\"complete\",c),t.removeListener(\"abort\",h),t.removeListener(\"request\",m),t.req&&t.req.removeListener(\"finish\",c),t.removeListener(\"end\",s),t.removeListener(\"close\",s),t.removeListener(\"finish\",c),t.removeListener(\"end\",d),t.removeListener(\"error\",p),t.removeListener(\"close\",h)}}},{\"../../../errors\":101}],111:[function(e,t,n){t.exports=function(){throw new Error(\"Readable.from is not available in the browser\")}},{}],112:[function(e,t,n){\"use strict\";var r,a=e(\"../../../errors\").codes,i=a.ERR_MISSING_ARGS,o=a.ERR_STREAM_DESTROYED;function l(e){if(e)throw e}function s(t,n,a,i){i=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(i);var l=!1;t.on(\"close\",(function(){l=!0})),void 0===r&&(r=e(\"./end-of-stream\")),r(t,{readable:n,writable:a},(function(e){if(e)return i(e);l=!0,i()}));var s=!1;return function(e){if(!l&&!s)return s=!0,function(e){return e.setHeader&&\"function\"==typeof e.abort}(t)?t.abort():\"function\"==typeof t.destroy?t.destroy():void i(e||new o(\"pipe\"))}}function u(e){e()}function c(e,t){return e.pipe(t)}function f(e){return e.length?\"function\"!=typeof e[e.length-1]?l:e.pop():l}t.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,a=f(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new i(\"streams\");var o=t.map((function(e,n){var i=n<t.length-1;return s(e,i,n>0,(function(e){r||(r=e),e&&o.forEach(u),i||(o.forEach(u),a(r))}))}));return t.reduce(c)}},{\"../../../errors\":101,\"./end-of-stream\":110}],113:[function(e,t,n){\"use strict\";var r=e(\"../../../errors\").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,a){var i=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,a,n);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new r(a?n:\"highWaterMark\",i);return Math.floor(i)}return e.objectMode?16:16384}}},{\"../../../errors\":101}],114:[function(e,t,n){t.exports=e(\"events\").EventEmitter},{events:27}],115:[function(e,t,n){\"use strict\";var r=e(\"safe-buffer\").Buffer,a=r.isEncoding||function(e){switch((e=\"\"+e)&&e.toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":case\"raw\":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return\"utf8\";for(var t;;)switch(e){case\"utf8\":case\"utf-8\":return\"utf8\";case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return\"utf16le\";case\"latin1\":case\"binary\":return\"latin1\";case\"base64\":case\"ascii\":case\"hex\":return e;default:if(t)return;e=(\"\"+e).toLowerCase(),t=!0}}(e);if(\"string\"!=typeof t&&(r.isEncoding===a||!a(e)))throw new Error(\"Unknown encoding: \"+e);return t||e}(e),this.encoding){case\"utf16le\":this.text=s,this.end=u,t=4;break;case\"utf8\":this.fillLast=l,t=4;break;case\"base64\":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function l(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,\"�\";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,\"�\";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,\"�\"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function s(e,t){if((e.length-t)%2==0){var n=e.toString(\"utf16le\",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString(\"utf16le\",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):\"\";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString(\"utf16le\",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString(\"base64\",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString(\"base64\",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):\"\";return this.lastNeed?t+this.lastChar.toString(\"base64\",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):\"\"}n.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return\"\";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return\"\";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||\"\"},i.prototype.end=function(e){var t=e&&e.length?this.write(e):\"\";return this.lastNeed?t+\"�\":t},i.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var a=o(t[r]);return a>=0?(a>0&&(e.lastNeed=a-1),a):--r<n||-2===a?0:(a=o(t[r]))>=0?(a>0&&(e.lastNeed=a-2),a):--r<n||-2===a?0:(a=o(t[r]))>=0?(a>0&&(2===a?a=0:e.lastNeed=a-3),a):0}(this,e,t);if(!this.lastNeed)return e.toString(\"utf8\",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString(\"utf8\",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{\"safe-buffer\":99}],116:[function(e,t,n){(function(n,r){(function(){var n=e(\"assert\"),a=e(\"debug\")(\"stream-parser\");function i(e){a(\"initializing parser stream\"),e._parserBytesLeft=0,e._parserBuffers=[],e._parserBuffered=0,e._parserState=-1,e._parserCallback=null,\"function\"==typeof e.push&&(e._parserOutput=e.push.bind(e)),e._parserInit=!0}function o(e,t){n(!this._parserCallback,'there is already a \"callback\" set!'),n(isFinite(e)&&e>0,'can only buffer a finite number of bytes > 0, got \"'+e+'\"'),this._parserInit||i(this),a(\"buffering %o bytes\",e),this._parserBytesLeft=e,this._parserCallback=t,this._parserState=0}function l(e,t){n(!this._parserCallback,'there is already a \"callback\" set!'),n(e>0,'can only skip > 0 bytes, got \"'+e+'\"'),this._parserInit||i(this),a(\"skipping %o bytes\",e),this._parserBytesLeft=e,this._parserCallback=t,this._parserState=1}function s(e,t){n(!this._parserCallback,'There is already a \"callback\" set!'),n(e>0,'can only pass through > 0 bytes, got \"'+e+'\"'),this._parserInit||i(this),a(\"passing through %o bytes\",e),this._parserBytesLeft=e,this._parserCallback=t,this._parserState=2}function u(e,t,n){this._parserInit||i(this),a(\"write(%o bytes)\",e.length),\"function\"==typeof t&&(n=t),d(this,e,null,n)}function c(e,t,n){this._parserInit||i(this),a(\"transform(%o bytes)\",e.length),\"function\"!=typeof t&&(t=this._parserOutput),d(this,e,t,n)}function f(e,t,n,i){if(e._parserBytesLeft-=t.length,a(\"%o bytes left for stream piece\",e._parserBytesLeft),0===e._parserState?(e._parserBuffers.push(t),e._parserBuffered+=t.length):2===e._parserState&&n(t),0!==e._parserBytesLeft)return i;var o=e._parserCallback;if(o&&0===e._parserState&&e._parserBuffers.length>1&&(t=r.concat(e._parserBuffers,e._parserBuffered)),0!==e._parserState&&(t=null),e._parserCallback=null,e._parserBuffered=0,e._parserState=-1,e._parserBuffers.splice(0),o){var l=[];t&&l.push(t),n&&l.push(n);var s=o.length>l.length;s&&l.push(p(i));var u=o.apply(e,l);if(!s||i===u)return i}}t.exports=function(e){var t=e&&\"function\"==typeof e._transform,n=e&&\"function\"==typeof e._write;if(!t&&!n)throw new Error(\"must pass a Writable or Transform stream in\");a(\"extending Parser into stream\"),e._bytes=o,e._skipBytes=l,t&&(e._passthrough=s),t?e._transform=c:e._write=u};var d=p((function e(t,n,r,a){return t._parserBytesLeft<=0?a(new Error(\"got data but not currently parsing anything\")):n.length<=t._parserBytesLeft?function(){return f(t,n,r,a)}:function(){var i=n.slice(0,t._parserBytesLeft);return f(t,i,r,(function(o){return o?a(o):n.length>i.length?function(){return e(t,n.slice(i.length),r,a)}:void 0}))}}));function p(e){return function(){for(var t=e.apply(this,arguments);\"function\"==typeof t;)t=t();return t}}}).call(this)}).call(this,e(\"_process\"),e(\"buffer\").Buffer)},{_process:98,assert:21,buffer:28,debug:117}],117:[function(e,t,n){(function(r){(function(){function a(){var e;try{e=n.storage.debug}catch(e){}return!e&&void 0!==r&&\"env\"in r&&(e=r.env.DEBUG),e}(n=t.exports=e(\"./debug\")).log=function(){return\"object\"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?\"%c\":\"\")+this.namespace+(t?\" %c\":\" \")+e[0]+(t?\"%c \":\" \")+\"+\"+n.humanize(this.diff),t){var r=\"color: \"+this.color;e.splice(1,0,r,\"color: inherit\");var a=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){\"%%\"!==e&&(a++,\"%c\"===e&&(i=a))})),e.splice(i,0,r)}},n.save=function(e){try{null==e?n.storage.removeItem(\"debug\"):n.storage.debug=e}catch(e){}},n.load=a,n.useColors=function(){return!(\"undefined\"==typeof window||!window.process||\"renderer\"!==window.process.type)||\"undefined\"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||\"undefined\"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/)&&parseInt(RegExp.$1,10)>=31||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)},n.storage=\"undefined\"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=[\"lightseagreen\",\"forestgreen\",\"goldenrod\",\"dodgerblue\",\"darkorchid\",\"crimson\"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return\"[UnexpectedJSONParseError]: \"+e.message}},n.enable(a())}).call(this)}).call(this,e(\"_process\"))},{\"./debug\":118,_process:98}],118:[function(e,t,n){var r;function a(e){function t(){if(t.enabled){var e=t,a=+new Date,i=a-(r||a);e.diff=i,e.prev=r,e.curr=a,r=a;for(var o=new Array(arguments.length),l=0;l<o.length;l++)o[l]=arguments[l];o[0]=n.coerce(o[0]),\"string\"!=typeof o[0]&&o.unshift(\"%O\");var s=0;o[0]=o[0].replace(/%([a-zA-Z%])/g,(function(t,r){if(\"%%\"===t)return t;s++;var a=n.formatters[r];if(\"function\"==typeof a){var i=o[s];t=a.call(e,i),o.splice(s,1),s--}return t})),n.formatArgs.call(e,o),(t.log||n.log||console.log.bind(console)).apply(e,o)}}return t.namespace=e,t.enabled=n.enabled(e),t.useColors=n.useColors(),t.color=function(e){var t,r=0;for(t in e)r=(r<<5)-r+e.charCodeAt(t),r|=0;return n.colors[Math.abs(r)%n.colors.length]}(e),\"function\"==typeof n.init&&n.init(t),t}(n=t.exports=a.debug=a.default=a).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable(\"\")},n.enable=function(e){n.save(e),n.names=[],n.skips=[];for(var t=(\"string\"==typeof e?e:\"\").split(/[\\s,]+/),r=t.length,a=0;a<r;a++)t[a]&&(\"-\"===(e=t[a].replace(/\\*/g,\".*?\"))[0]?n.skips.push(new RegExp(\"^\"+e.substr(1)+\"$\")):n.names.push(new RegExp(\"^\"+e+\"$\")))},n.enabled=function(e){var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=e(\"ms\"),n.names=[],n.skips=[],n.formatters={}},{ms:119}],119:[function(e,t,n){var r=1e3,a=6e4,i=60*a,o=24*i;function l(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+\" \"+n:Math.ceil(e/t)+\" \"+n+\"s\"}t.exports=function(e,t){t=t||{};var n,s=typeof e;if(\"string\"===s&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||\"ms\").toLowerCase()){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return 315576e5*n;case\"days\":case\"day\":case\"d\":return n*o;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return n*i;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return n*a;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return n*r;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return n;default:return}}}}(e);if(\"number\"===s&&!1===isNaN(e))return t.long?l(n=e,o,\"day\")||l(n,i,\"hour\")||l(n,a,\"minute\")||l(n,r,\"second\")||n+\" ms\":function(e){return e>=o?Math.round(e/o)+\"d\":e>=i?Math.round(e/i)+\"h\":e>=a?Math.round(e/a)+\"m\":e>=r?Math.round(e/r)+\"s\":e+\"ms\"}(e);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(e))}},{}],120:[function(e,t,n){(function(t,r){(function(){var a=e(\"process/browser.js\").nextTick,i=Function.prototype.apply,o=Array.prototype.slice,l={},s=0;function u(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new u(i.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new u(i.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate=\"function\"==typeof t?t:function(e){var t=s++,r=!(arguments.length<2)&&o.call(arguments,1);return l[t]=!0,a((function(){l[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate=\"function\"==typeof r?r:function(e){delete l[e]}}).call(this)}).call(this,e(\"timers\").setImmediate,e(\"timers\").clearImmediate)},{\"process/browser.js\":98,timers:120}],121:[function(e,t,n){!function(e){var n=/^\\s+/,r=/\\s+$/,a=0,i=e.round,o=e.min,l=e.max,s=e.random;function u(t,s){if(s=s||{},(t=t||\"\")instanceof u)return t;if(!(this instanceof u))return new u(t,s);var c=function(t){var a,i,s,u={r:0,g:0,b:0},c=1,f=null,d=null,p=null,h=!1,m=!1;return\"string\"==typeof t&&(t=function(e){e=e.replace(n,\"\").replace(r,\"\").toLowerCase();var t,a=!1;if(E[e])e=E[e],a=!0;else if(\"transparent\"==e)return{r:0,g:0,b:0,a:0,format:\"name\"};return(t=Z.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=Z.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Z.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=Z.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Z.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=Z.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Z.hex8.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),a:j(t[4]),format:a?\"name\":\"hex8\"}:(t=Z.hex6.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),format:a?\"name\":\"hex\"}:(t=Z.hex4.exec(e))?{r:P(t[1]+\"\"+t[1]),g:P(t[2]+\"\"+t[2]),b:P(t[3]+\"\"+t[3]),a:j(t[4]+\"\"+t[4]),format:a?\"name\":\"hex8\"}:!!(t=Z.hex3.exec(e))&&{r:P(t[1]+\"\"+t[1]),g:P(t[2]+\"\"+t[2]),b:P(t[3]+\"\"+t[3]),format:a?\"name\":\"hex\"}}(t)),\"object\"==typeof t&&(B(t.r)&&B(t.g)&&B(t.b)?(a=t.r,i=t.g,s=t.b,u={r:255*A(a,255),g:255*A(i,255),b:255*A(s,255)},h=!0,m=\"%\"===String(t.r).substr(-1)?\"prgb\":\"rgb\"):B(t.h)&&B(t.s)&&B(t.v)?(f=L(t.s),d=L(t.v),u=function(t,n,r){t=6*A(t,360),n=A(n,100),r=A(r,100);var a=e.floor(t),i=t-a,o=r*(1-n),l=r*(1-i*n),s=r*(1-(1-i)*n),u=a%6;return{r:255*[r,l,o,o,s,r][u],g:255*[s,r,r,l,o,o][u],b:255*[o,o,s,r,r,l][u]}}(t.h,f,d),h=!0,m=\"hsv\"):B(t.h)&&B(t.s)&&B(t.l)&&(f=L(t.s),p=L(t.l),u=function(e,t,n){var r,a,i;function o(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}if(e=A(e,360),t=A(t,100),n=A(n,100),0===t)r=a=i=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;r=o(s,l,e+1/3),a=o(s,l,e),i=o(s,l,e-1/3)}return{r:255*r,g:255*a,b:255*i}}(t.h,f,p),h=!0,m=\"hsl\"),t.hasOwnProperty(\"a\")&&(c=t.a)),c=O(c),{ok:h,format:t.format||m,r:o(255,l(u.r,0)),g:o(255,l(u.g,0)),b:o(255,l(u.b,0)),a:c}}(t);this._originalInput=t,this._r=c.r,this._g=c.g,this._b=c.b,this._a=c.a,this._roundA=i(100*this._a)/100,this._format=s.format||c.format,this._gradientType=s.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=c.ok,this._tc_id=a++}function c(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var r,a,i=l(e,t,n),s=o(e,t,n),u=(i+s)/2;if(i==s)r=a=0;else{var c=i-s;switch(a=u>.5?c/(2-i-s):c/(i+s),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:a,l:u}}function f(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var r,a,i=l(e,t,n),s=o(e,t,n),u=i,c=i-s;if(a=0===i?0:c/i,i==s)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:a,v:u}}function d(e,t,n,r){var a=[R(i(e).toString(16)),R(i(t).toString(16)),R(i(n).toString(16))];return r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join(\"\")}function p(e,t,n,r){return[R(I(r)),R(i(e).toString(16)),R(i(t).toString(16)),R(i(n).toString(16))].join(\"\")}function h(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.s-=t/100,n.s=D(n.s),u(n)}function m(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.s+=t/100,n.s=D(n.s),u(n)}function g(e){return u(e).desaturate(100)}function y(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.l+=t/100,n.l=D(n.l),u(n)}function v(e,t){t=0===t?0:t||10;var n=u(e).toRgb();return n.r=l(0,o(255,n.r-i(-t/100*255))),n.g=l(0,o(255,n.g-i(-t/100*255))),n.b=l(0,o(255,n.b-i(-t/100*255))),u(n)}function b(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.l-=t/100,n.l=D(n.l),u(n)}function x(e,t){var n=u(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,u(n)}function w(e){var t=u(e).toHsl();return t.h=(t.h+180)%360,u(t)}function _(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+120)%360,s:t.s,l:t.l}),u({h:(n+240)%360,s:t.s,l:t.l})]}function k(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+90)%360,s:t.s,l:t.l}),u({h:(n+180)%360,s:t.s,l:t.l}),u({h:(n+270)%360,s:t.s,l:t.l})]}function T(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+72)%360,s:t.s,l:t.l}),u({h:(n+216)%360,s:t.s,l:t.l})]}function M(e,t,n){t=t||6,n=n||30;var r=u(e).toHsl(),a=360/n,i=[u(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(u(r));return i}function S(e,t){t=t||6;for(var n=u(e).toHsv(),r=n.h,a=n.s,i=n.v,o=[],l=1/t;t--;)o.push(u({h:r,s:a,v:i})),i=(i+l)%1;return o}u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var t,n,r,a=this.toRgb();return t=a.r/255,n=a.g/255,r=a.b/255,.2126*(t<=.03928?t/12.92:e.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:e.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:e.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=O(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=f(this._r,this._g,this._b),t=i(360*e.h),n=i(100*e.s),r=i(100*e.v);return 1==this._a?\"hsv(\"+t+\", \"+n+\"%, \"+r+\"%)\":\"hsva(\"+t+\", \"+n+\"%, \"+r+\"%, \"+this._roundA+\")\"},toHsl:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=c(this._r,this._g,this._b),t=i(360*e.h),n=i(100*e.s),r=i(100*e.l);return 1==this._a?\"hsl(\"+t+\", \"+n+\"%, \"+r+\"%)\":\"hsla(\"+t+\", \"+n+\"%, \"+r+\"%, \"+this._roundA+\")\"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return\"#\"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,a){var o=[R(i(e).toString(16)),R(i(t).toString(16)),R(i(n).toString(16)),R(I(r))];return a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join(\"\")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return\"#\"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?\"rgb(\"+i(this._r)+\", \"+i(this._g)+\", \"+i(this._b)+\")\":\"rgba(\"+i(this._r)+\", \"+i(this._g)+\", \"+i(this._b)+\", \"+this._roundA+\")\"},toPercentageRgb:function(){return{r:i(100*A(this._r,255))+\"%\",g:i(100*A(this._g,255))+\"%\",b:i(100*A(this._b,255))+\"%\",a:this._a}},toPercentageRgbString:function(){return 1==this._a?\"rgb(\"+i(100*A(this._r,255))+\"%, \"+i(100*A(this._g,255))+\"%, \"+i(100*A(this._b,255))+\"%)\":\"rgba(\"+i(100*A(this._r,255))+\"%, \"+i(100*A(this._g,255))+\"%, \"+i(100*A(this._b,255))+\"%, \"+this._roundA+\")\"},toName:function(){return 0===this._a?\"transparent\":!(this._a<1)&&(C[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t=\"#\"+p(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?\"GradientType = 1, \":\"\";if(e){var a=u(e);n=\"#\"+p(a._r,a._g,a._b,a._a)}return\"progid:DXImageTransform.Microsoft.gradient(\"+r+\"startColorstr=\"+t+\",endColorstr=\"+n+\")\"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||\"hex\"!==e&&\"hex6\"!==e&&\"hex3\"!==e&&\"hex4\"!==e&&\"hex8\"!==e&&\"name\"!==e?(\"rgb\"===e&&(n=this.toRgbString()),\"prgb\"===e&&(n=this.toPercentageRgbString()),\"hex\"!==e&&\"hex6\"!==e||(n=this.toHexString()),\"hex3\"===e&&(n=this.toHexString(!0)),\"hex4\"===e&&(n=this.toHex8String(!0)),\"hex8\"===e&&(n=this.toHex8String()),\"name\"===e&&(n=this.toName()),\"hsl\"===e&&(n=this.toHslString()),\"hsv\"===e&&(n=this.toHsvString()),n||this.toHexString()):\"name\"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(h,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(S,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(_,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},u.fromRatio=function(e,t){if(\"object\"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=\"a\"===r?e[r]:L(e[r]));e=n}return u(e,t)},u.equals=function(e,t){return!(!e||!t)&&u(e).toRgbString()==u(t).toRgbString()},u.random=function(){return u.fromRatio({r:s(),g:s(),b:s()})},u.mix=function(e,t,n){n=0===n?0:n||50;var r=u(e).toRgb(),a=u(t).toRgb(),i=n/100;return u({r:(a.r-r.r)*i+r.r,g:(a.g-r.g)*i+r.g,b:(a.b-r.b)*i+r.b,a:(a.a-r.a)*i+r.a})},u.readability=function(t,n){var r=u(t),a=u(n);return(e.max(r.getLuminance(),a.getLuminance())+.05)/(e.min(r.getLuminance(),a.getLuminance())+.05)},u.isReadable=function(e,t,n){var r,a,i=u.readability(e,t);switch(a=!1,(r=function(e){var t,n;return\"AA\"!==(t=((e=e||{level:\"AA\",size:\"small\"}).level||\"AA\").toUpperCase())&&\"AAA\"!==t&&(t=\"AA\"),\"small\"!==(n=(e.size||\"small\").toLowerCase())&&\"large\"!==n&&(n=\"small\"),{level:t,size:n}}(n)).level+r.size){case\"AAsmall\":case\"AAAlarge\":a=i>=4.5;break;case\"AAlarge\":a=i>=3;break;case\"AAAsmall\":a=i>=7}return a},u.mostReadable=function(e,t,n){var r,a,i,o,l=null,s=0;a=(n=n||{}).includeFallbackColors,i=n.level,o=n.size;for(var c=0;c<t.length;c++)(r=u.readability(e,t[c]))>s&&(s=r,l=u(t[c]));return u.isReadable(e,l,{level:i,size:o})||!a?l:(n.includeFallbackColors=!1,u.mostReadable(e,[\"#fff\",\"#000\"],n))};var E=u.names={aliceblue:\"f0f8ff\",antiquewhite:\"faebd7\",aqua:\"0ff\",aquamarine:\"7fffd4\",azure:\"f0ffff\",beige:\"f5f5dc\",bisque:\"ffe4c4\",black:\"000\",blanchedalmond:\"ffebcd\",blue:\"00f\",blueviolet:\"8a2be2\",brown:\"a52a2a\",burlywood:\"deb887\",burntsienna:\"ea7e5d\",cadetblue:\"5f9ea0\",chartreuse:\"7fff00\",chocolate:\"d2691e\",coral:\"ff7f50\",cornflowerblue:\"6495ed\",cornsilk:\"fff8dc\",crimson:\"dc143c\",cyan:\"0ff\",darkblue:\"00008b\",darkcyan:\"008b8b\",darkgoldenrod:\"b8860b\",darkgray:\"a9a9a9\",darkgreen:\"006400\",darkgrey:\"a9a9a9\",darkkhaki:\"bdb76b\",darkmagenta:\"8b008b\",darkolivegreen:\"556b2f\",darkorange:\"ff8c00\",darkorchid:\"9932cc\",darkred:\"8b0000\",darksalmon:\"e9967a\",darkseagreen:\"8fbc8f\",darkslateblue:\"483d8b\",darkslategray:\"2f4f4f\",darkslategrey:\"2f4f4f\",darkturquoise:\"00ced1\",darkviolet:\"9400d3\",deeppink:\"ff1493\",deepskyblue:\"00bfff\",dimgray:\"696969\",dimgrey:\"696969\",dodgerblue:\"1e90ff\",firebrick:\"b22222\",floralwhite:\"fffaf0\",forestgreen:\"228b22\",fuchsia:\"f0f\",gainsboro:\"dcdcdc\",ghostwhite:\"f8f8ff\",gold:\"ffd700\",goldenrod:\"daa520\",gray:\"808080\",green:\"008000\",greenyellow:\"adff2f\",grey:\"808080\",honeydew:\"f0fff0\",hotpink:\"ff69b4\",indianred:\"cd5c5c\",indigo:\"4b0082\",ivory:\"fffff0\",khaki:\"f0e68c\",lavender:\"e6e6fa\",lavenderblush:\"fff0f5\",lawngreen:\"7cfc00\",lemonchiffon:\"fffacd\",lightblue:\"add8e6\",lightcoral:\"f08080\",lightcyan:\"e0ffff\",lightgoldenrodyellow:\"fafad2\",lightgray:\"d3d3d3\",lightgreen:\"90ee90\",lightgrey:\"d3d3d3\",lightpink:\"ffb6c1\",lightsalmon:\"ffa07a\",lightseagreen:\"20b2aa\",lightskyblue:\"87cefa\",lightslategray:\"789\",lightslategrey:\"789\",lightsteelblue:\"b0c4de\",lightyellow:\"ffffe0\",lime:\"0f0\",limegreen:\"32cd32\",linen:\"faf0e6\",magenta:\"f0f\",maroon:\"800000\",mediumaquamarine:\"66cdaa\",mediumblue:\"0000cd\",mediumorchid:\"ba55d3\",mediumpurple:\"9370db\",mediumseagreen:\"3cb371\",mediumslateblue:\"7b68ee\",mediumspringgreen:\"00fa9a\",mediumturquoise:\"48d1cc\",mediumvioletred:\"c71585\",midnightblue:\"191970\",mintcream:\"f5fffa\",mistyrose:\"ffe4e1\",moccasin:\"ffe4b5\",navajowhite:\"ffdead\",navy:\"000080\",oldlace:\"fdf5e6\",olive:\"808000\",olivedrab:\"6b8e23\",orange:\"ffa500\",orangered:\"ff4500\",orchid:\"da70d6\",palegoldenrod:\"eee8aa\",palegreen:\"98fb98\",paleturquoise:\"afeeee\",palevioletred:\"db7093\",papayawhip:\"ffefd5\",peachpuff:\"ffdab9\",peru:\"cd853f\",pink:\"ffc0cb\",plum:\"dda0dd\",powderblue:\"b0e0e6\",purple:\"800080\",rebeccapurple:\"663399\",red:\"f00\",rosybrown:\"bc8f8f\",royalblue:\"4169e1\",saddlebrown:\"8b4513\",salmon:\"fa8072\",sandybrown:\"f4a460\",seagreen:\"2e8b57\",seashell:\"fff5ee\",sienna:\"a0522d\",silver:\"c0c0c0\",skyblue:\"87ceeb\",slateblue:\"6a5acd\",slategray:\"708090\",slategrey:\"708090\",snow:\"fffafa\",springgreen:\"00ff7f\",steelblue:\"4682b4\",tan:\"d2b48c\",teal:\"008080\",thistle:\"d8bfd8\",tomato:\"ff6347\",turquoise:\"40e0d0\",violet:\"ee82ee\",wheat:\"f5deb3\",white:\"fff\",whitesmoke:\"f5f5f5\",yellow:\"ff0\",yellowgreen:\"9acd32\"},C=u.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function O(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function A(t,n){(function(e){return\"string\"==typeof e&&-1!=e.indexOf(\".\")&&1===parseFloat(e)})(t)&&(t=\"100%\");var r=function(e){return\"string\"==typeof e&&-1!=e.indexOf(\"%\")}(t);return t=o(n,l(0,parseFloat(t))),r&&(t=parseInt(t*n,10)/100),e.abs(t-n)<1e-6?1:t%n/parseFloat(n)}function D(e){return o(1,l(0,e))}function P(e){return parseInt(e,16)}function R(e){return 1==e.length?\"0\"+e:\"\"+e}function L(e){return e<=1&&(e=100*e+\"%\"),e}function I(t){return e.round(255*parseFloat(t)).toString(16)}function j(e){return P(e)/255}var N,z,F,Z=(z=\"[\\\\s|\\\\(]+(\"+(N=\"(?:[-\\\\+]?\\\\d*\\\\.\\\\d+%?)|(?:[-\\\\+]?\\\\d+%?)\")+\")[,|\\\\s]+(\"+N+\")[,|\\\\s]+(\"+N+\")\\\\s*\\\\)?\",F=\"[\\\\s|\\\\(]+(\"+N+\")[,|\\\\s]+(\"+N+\")[,|\\\\s]+(\"+N+\")[,|\\\\s]+(\"+N+\")\\\\s*\\\\)?\",{CSS_UNIT:new RegExp(N),rgb:new RegExp(\"rgb\"+z),rgba:new RegExp(\"rgba\"+F),hsl:new RegExp(\"hsl\"+z),hsla:new RegExp(\"hsla\"+F),hsv:new RegExp(\"hsv\"+z),hsva:new RegExp(\"hsva\"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function B(e){return!!Z.CSS_UNIT.exec(e)}void 0!==t&&t.exports?t.exports=u:window.tinycolor=u}(Math)},{}],122:[function(e,t,r){(function(e){(function(){function n(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&\"true\"===String(n).toLowerCase()}t.exports=function(e,t){if(n(\"noDeprecation\"))return e;var r=!1;return function(){if(!r){if(n(\"throwDeprecation\"))throw new Error(t);n(\"traceDeprecation\")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,void 0!==n.g?n.g:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],123:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\"),i=r.instance();function o(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}o.prototype=new r.baseCalendar,a(o.prototype,{name:\"Chinese\",jdEpoch:1721425.5,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{\"\":{name:\"Chinese\",epochs:[\"BEC\",\"EC\"],monthNumbers:function(e,t){if(\"string\"==typeof e){var n=e.match(s);return n?n[0]:\"\"}var r=this._validateYear(e),a=e.month(),i=\"\"+this.toChineseMonth(r,a);return t&&i.length<2&&(i=\"0\"+i),this.isIntercalaryMonth(r,a)&&(i+=\"i\"),i},monthNames:function(e){if(\"string\"==typeof e){var t=e.match(u);return t?t[0]:\"\"}var n=this._validateYear(e),r=e.month(),a=[\"一月\",\"二月\",\"三月\",\"四月\",\"五月\",\"六月\",\"七月\",\"八月\",\"九月\",\"十月\",\"十一月\",\"十二月\"][this.toChineseMonth(n,r)-1];return this.isIntercalaryMonth(n,r)&&(a=\"闰\"+a),a},monthNamesShort:function(e){if(\"string\"==typeof e){var t=e.match(c);return t?t[0]:\"\"}var n=this._validateYear(e),r=e.month(),a=[\"一\",\"二\",\"三\",\"四\",\"五\",\"六\",\"七\",\"八\",\"九\",\"十\",\"十一\",\"十二\"][this.toChineseMonth(n,r)-1];return this.isIntercalaryMonth(n,r)&&(a=\"闰\"+a),a},parseMonth:function(e,t){e=this._validateYear(e);var n,r=parseInt(t);if(isNaN(r))\"闰\"===t[0]&&(n=!0,t=t.substring(1)),\"月\"===t[t.length-1]&&(t=t.substring(0,t.length-1)),r=1+[\"一\",\"二\",\"三\",\"四\",\"五\",\"六\",\"七\",\"八\",\"九\",\"十\",\"十一\",\"十二\"].indexOf(t);else{var a=t[t.length-1];n=\"i\"===a||\"I\"===a}return this.toMonthIndex(e,r,n)},dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:1,isRTL:!1}},_validateYear:function(e,t){if(e.year&&(e=e.year()),\"number\"!=typeof e||e<1888||e>2111)throw t.replace(/\\{0\\}/,this.local.name);return e},toMonthIndex:function(e,t,n){var a=this.intercalaryMonth(e);if(n&&t!==a||t<1||t>12)throw r.local.invalidMonth.replace(/\\{0\\}/,this.local.name);return a?!n&&t<=a?t-1:t:t-1},toChineseMonth:function(e,t){e.year&&(t=(e=e.year()).month());var n=this.intercalaryMonth(e);if(t<0||t>(n?12:11))throw r.local.invalidMonth.replace(/\\{0\\}/,this.local.name);return n?t<n?t+1:t:t+1},intercalaryMonth:function(e){return e=this._validateYear(e),f[e-f[0]]>>13},isIntercalaryMonth:function(e,t){e.year&&(t=(e=e.year()).month());var n=this.intercalaryMonth(e);return!!n&&n===t},leapYear:function(e){return 0!==this.intercalaryMonth(e)},weekOfYear:function(e,t,n){var a,o=this._validateYear(e,r.local.invalidyear),l=d[o-d[0]],s=l>>9&4095,u=l>>5&15,c=31&l;(a=i.newDate(s,u,c)).add(4-(a.dayOfWeek()||7),\"d\");var f=this.toJD(e,t,n)-a.toJD();return 1+Math.floor(f/7)},monthsInYear:function(e){return this.leapYear(e)?13:12},daysInMonth:function(e,t){e.year&&(t=e.month(),e=e.year()),e=this._validateYear(e);var n=f[e-f[0]];if(t>(n>>13?12:11))throw r.local.invalidMonth.replace(/\\{0\\}/,this.local.name);return n&1<<12-t?30:29},weekDay:function(e,t,n){return(this.dayOfWeek(e,t,n)||7)<6},toJD:function(e,t,n){var a=this._validate(e,l,n,r.local.invalidDate);e=this._validateYear(a.year()),t=a.month(),n=a.day();var o=this.isIntercalaryMonth(e,t),l=this.toChineseMonth(e,t),s=function(e,t,n,r,a){var i,o,l;if(\"object\"==typeof e)o=e,i=t||{};else{var s;if(!(\"number\"==typeof e&&e>=1888&&e<=2111))throw new Error(\"Lunar year outside range 1888-2111\");if(!(\"number\"==typeof t&&t>=1&&t<=12))throw new Error(\"Lunar month outside range 1 - 12\");if(!(\"number\"==typeof n&&n>=1&&n<=30))throw new Error(\"Lunar day outside range 1 - 30\");\"object\"==typeof r?(s=!1,i=r):(s=!!r,i=a||{}),o={year:e,month:t,day:n,isIntercalary:s}}l=o.day-1;var u,c=f[o.year-f[0]],p=c>>13;u=p&&(o.month>p||o.isIntercalary)?o.month:o.month-1;for(var h=0;h<u;h++)l+=c&1<<12-h?30:29;var m=d[o.year-d[0]],g=new Date(m>>9&4095,(m>>5&15)-1,(31&m)+l);return i.year=g.getFullYear(),i.month=1+g.getMonth(),i.day=g.getDate(),i}(e,l,n,o);return i.toJD(s.year,s.month,s.day)},fromJD:function(e){var t=i.fromJD(e),n=function(e,t,n,r){var a,i;if(\"object\"==typeof e)a=e,i=t||{};else{if(!(\"number\"==typeof e&&e>=1888&&e<=2111))throw new Error(\"Solar year outside range 1888-2111\");if(!(\"number\"==typeof t&&t>=1&&t<=12))throw new Error(\"Solar month outside range 1 - 12\");if(!(\"number\"==typeof n&&n>=1&&n<=31))throw new Error(\"Solar day outside range 1 - 31\");a={year:e,month:t,day:n},i=r||{}}var o=d[a.year-d[0]],l=a.year<<9|a.month<<5|a.day;i.year=l>=o?a.year:a.year-1,o=d[i.year-d[0]];var s,u=new Date(o>>9&4095,(o>>5&15)-1,31&o),c=new Date(a.year,a.month-1,a.day);s=Math.round((c-u)/864e5);var p,h=f[i.year-f[0]];for(p=0;p<13;p++){var m=h&1<<12-p?30:29;if(s<m)break;s-=m}var g=h>>13;return!g||p<g?(i.isIntercalary=!1,i.month=1+p):p===g?(i.isIntercalary=!0,i.month=p):(i.isIntercalary=!1,i.month=p),i.day=1+s,i}(t.year(),t.month(),t.day()),r=this.toMonthIndex(n.year,n.month,n.isIntercalary);return this.newDate(n.year,r,n.day)},fromString:function(e){var t=e.match(l),n=this._validateYear(+t[1]),r=+t[2],a=!!t[3],i=this.toMonthIndex(n,r,a),o=+t[4];return this.newDate(n,i,o)},add:function(e,t,n){var r=e.year(),a=e.month(),i=this.isIntercalaryMonth(r,a),l=this.toChineseMonth(r,a),s=Object.getPrototypeOf(o.prototype).add.call(this,e,t,n);if(\"y\"===n){var u=s.year(),c=s.month(),f=this.isIntercalaryMonth(u,l),d=i&&f?this.toMonthIndex(u,l,!0):this.toMonthIndex(u,l,!1);d!==c&&s.month(d)}return s}});var l=/^\\s*(-?\\d\\d\\d\\d|\\d\\d)[-/](\\d?\\d)([iI]?)[-/](\\d?\\d)/m,s=/^\\d?\\d[iI]?/m,u=/^\\u95f0?\\u5341?[\\u4e00\\u4e8c\\u4e09\\u56db\\u4e94\\u516d\\u4e03\\u516b\\u4e5d]?\\u6708/m,c=/^\\u95f0?\\u5341?[\\u4e00\\u4e8c\\u4e09\\u56db\\u4e94\\u516d\\u4e03\\u516b\\u4e5d]?/m;r.calendars.chinese=o;var f=[1887,5780,5802,19157,2742,50359,1198,2646,46378,7466,3412,30122,5482,67949,2396,5294,43597,6732,6954,36181,2772,4954,18781,2396,54427,5274,6730,47781,5800,6868,21210,4790,59703,2350,5270,46667,3402,3496,38325,1388,4782,18735,2350,52374,6804,7498,44457,2906,1388,29294,4700,63789,6442,6804,56138,5802,2772,38235,1210,4698,22827,5418,63125,3476,5802,43701,2484,5302,27223,2646,70954,7466,3412,54698,5482,2412,38062,5294,2636,32038,6954,60245,2772,4826,43357,2394,5274,39501,6730,72357,5800,5844,53978,4790,2358,38039,5270,87627,3402,3496,54708,5484,4782,43311,2350,3222,27978,7498,68965,2904,5484,45677,4700,6444,39573,6804,6986,19285,2772,62811,1210,4698,47403,5418,5780,38570,5546,76469,2420,5302,51799,2646,5414,36501,3412,5546,18869,2412,54446,5276,6732,48422,6822,2900,28010,4826,92509,2394,5274,55883,6730,6820,47956,5812,2778,18779,2358,62615,5270,5450,46757,3492,5556,27318,4718,67887,2350,3222,52554,7498,3428,38252,5468,4700,31022,6444,64149,6804,6986,43861,2772,5338,35421,2650,70955,5418,5780,54954,5546,2740,38074,5302,2646,29991,3366,61011,3412,5546,43445,2412,5294,35406,6732,72998,6820,6996,52586,2778,2396,38045,5274,6698,23333,6820,64338,5812,2746,43355,2358,5270,39499,5450,79525,3492,5548],d=[1887,966732,967231,967733,968265,968766,969297,969798,970298,970829,971330,971830,972362,972863,973395,973896,974397,974928,975428,975929,976461,976962,977462,977994,978494,979026,979526,980026,980558,981059,981559,982091,982593,983124,983624,984124,984656,985157,985656,986189,986690,987191,987722,988222,988753,989254,989754,990286,990788,991288,991819,992319,992851,993352,993851,994383,994885,995385,995917,996418,996918,997450,997949,998481,998982,999483,1000014,1000515,1001016,1001548,1002047,1002578,1003080,1003580,1004111,1004613,1005113,1005645,1006146,1006645,1007177,1007678,1008209,1008710,1009211,1009743,1010243,1010743,1011275,1011775,1012306,1012807,1013308,1013840,1014341,1014841,1015373,1015874,1016404,1016905,1017405,1017937,1018438,1018939,1019471,1019972,1020471,1021002,1021503,1022035,1022535,1023036,1023568,1024069,1024568,1025100,1025601,1026102,1026633,1027133,1027666,1028167,1028666,1029198,1029699,1030199,1030730,1031231,1031763,1032264,1032764,1033296,1033797,1034297,1034828,1035329,1035830,1036362,1036861,1037393,1037894,1038394,1038925,1039427,1039927,1040459,1040959,1041491,1041992,1042492,1043023,1043524,1044024,1044556,1045057,1045558,1046090,1046590,1047121,1047622,1048122,1048654,1049154,1049655,1050187,1050689,1051219,1051720,1052220,1052751,1053252,1053752,1054284,1054786,1055285,1055817,1056317,1056849,1057349,1057850,1058382,1058883,1059383,1059915,1060415,1060947,1061447,1061947,1062479,1062981,1063480,1064012,1064514,1065014,1065545,1066045,1066577,1067078,1067578,1068110,1068611,1069112,1069642,1070142,1070674,1071175,1071675,1072207,1072709,1073209,1073740,1074241,1074741,1075273,1075773,1076305,1076807,1077308,1077839,1078340,1078840,1079372,1079871,1080403,1080904]},{\"../main\":137,\"object-assign\":73}],124:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"Coptic\",jdEpoch:1825029.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Coptic\",epochs:[\"BAM\",\"AM\"],monthNames:[\"Thout\",\"Paopi\",\"Hathor\",\"Koiak\",\"Tobi\",\"Meshir\",\"Paremhat\",\"Paremoude\",\"Pashons\",\"Paoni\",\"Epip\",\"Mesori\",\"Pi Kogi Enavot\"],monthNamesShort:[\"Tho\",\"Pao\",\"Hath\",\"Koi\",\"Tob\",\"Mesh\",\"Pat\",\"Pad\",\"Pash\",\"Pao\",\"Epi\",\"Meso\",\"PiK\"],dayNames:[\"Tkyriaka\",\"Pesnau\",\"Pshoment\",\"Peftoou\",\"Ptiou\",\"Psoou\",\"Psabbaton\"],dayNamesShort:[\"Tky\",\"Pes\",\"Psh\",\"Pef\",\"Pti\",\"Pso\",\"Psa\"],dayNamesMin:[\"Tk\",\"Pes\",\"Psh\",\"Pef\",\"Pt\",\"Pso\",\"Psa\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return(e=t.year()+(t.year()<0?1:0))%4==3||e%4==-1},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear),13},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(-r.dayOfWeek(),\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(13===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(e,t,n){return(this.dayOfWeek(e,t,n)||7)<6},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return(e=a.year())<0&&e++,a.day()+30*(a.month()-1)+365*(e-1)+Math.floor(e/4)+this.jdEpoch-1},fromJD:function(e){var t=Math.floor(e)+.5-this.jdEpoch,n=Math.floor((t-Math.floor((t+366)/1461))/365)+1;n<=0&&n--,t=Math.floor(e)+.5-this.newDate(n,1,1).toJD();var r=Math.floor(t/30)+1,a=t-30*(r-1)+1;return this.newDate(n,r,a)}}),r.calendars.coptic=i},{\"../main\":137,\"object-assign\":73}],125:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"Discworld\",jdEpoch:1721425.5,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Discworld\",epochs:[\"BUC\",\"UC\"],monthNames:[\"Ick\",\"Offle\",\"February\",\"March\",\"April\",\"May\",\"June\",\"Grune\",\"August\",\"Spune\",\"Sektober\",\"Ember\",\"December\"],monthNamesShort:[\"Ick\",\"Off\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Gru\",\"Aug\",\"Spu\",\"Sek\",\"Emb\",\"Dec\"],dayNames:[\"Sunday\",\"Octeday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Oct\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Oc\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:2,isRTL:!1}},leapYear:function(e){return this._validate(e,this.minMonth,this.minDay,r.local.invalidYear),!1},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,r.local.invalidYear),13},daysInYear:function(e){return this._validate(e,this.minMonth,this.minDay,r.local.invalidYear),400},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(-r.dayOfWeek(),\"d\"),Math.floor((r.dayOfYear()-1)/8)+1},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(e,t,n){return(this._validate(e,t,n,r.local.invalidDate).day()+1)%8},weekDay:function(e,t,n){var r=this.dayOfWeek(e,t,n);return r>=2&&r<=6},extraInfo:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return{century:o[Math.floor((a.year()-1)/100)+1]||\"\"}},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return e=a.year()+(a.year()<0?1:0),t=a.month(),(n=a.day())+(t>1?16:0)+(t>2?32*(t-2):0)+400*(e-1)+this.jdEpoch-1},fromJD:function(e){e=Math.floor(e+.5)-Math.floor(this.jdEpoch)-1;var t=Math.floor(e/400)+1;e-=400*(t-1),e+=e>15?16:0;var n=Math.floor(e/32)+1,r=e-32*(n-1)+1;return this.newDate(t<=0?t-1:t,n,r)}});var o={20:\"Fruitbat\",21:\"Anchovy\"};r.calendars.discworld=i},{\"../main\":137,\"object-assign\":73}],126:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"Ethiopian\",jdEpoch:1724220.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Ethiopian\",epochs:[\"BEE\",\"EE\"],monthNames:[\"Meskerem\",\"Tikemet\",\"Hidar\",\"Tahesas\",\"Tir\",\"Yekatit\",\"Megabit\",\"Miazia\",\"Genbot\",\"Sene\",\"Hamle\",\"Nehase\",\"Pagume\"],monthNamesShort:[\"Mes\",\"Tik\",\"Hid\",\"Tah\",\"Tir\",\"Yek\",\"Meg\",\"Mia\",\"Gen\",\"Sen\",\"Ham\",\"Neh\",\"Pag\"],dayNames:[\"Ehud\",\"Segno\",\"Maksegno\",\"Irob\",\"Hamus\",\"Arb\",\"Kidame\"],dayNamesShort:[\"Ehu\",\"Seg\",\"Mak\",\"Iro\",\"Ham\",\"Arb\",\"Kid\"],dayNamesMin:[\"Eh\",\"Se\",\"Ma\",\"Ir\",\"Ha\",\"Ar\",\"Ki\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return(e=t.year()+(t.year()<0?1:0))%4==3||e%4==-1},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear),13},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(-r.dayOfWeek(),\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(13===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(e,t,n){return(this.dayOfWeek(e,t,n)||7)<6},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return(e=a.year())<0&&e++,a.day()+30*(a.month()-1)+365*(e-1)+Math.floor(e/4)+this.jdEpoch-1},fromJD:function(e){var t=Math.floor(e)+.5-this.jdEpoch,n=Math.floor((t-Math.floor((t+366)/1461))/365)+1;n<=0&&n--,t=Math.floor(e)+.5-this.newDate(n,1,1).toJD();var r=Math.floor(t/30)+1,a=t-30*(r-1)+1;return this.newDate(n,r,a)}}),r.calendars.ethiopian=i},{\"../main\":137,\"object-assign\":73}],127:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}function o(e,t){return e-t*Math.floor(e/t)}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"Hebrew\",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{\"\":{name:\"Hebrew\",epochs:[\"BAM\",\"AM\"],monthNames:[\"Nisan\",\"Iyar\",\"Sivan\",\"Tammuz\",\"Av\",\"Elul\",\"Tishrei\",\"Cheshvan\",\"Kislev\",\"Tevet\",\"Shevat\",\"Adar\",\"Adar II\"],monthNamesShort:[\"Nis\",\"Iya\",\"Siv\",\"Tam\",\"Av\",\"Elu\",\"Tis\",\"Che\",\"Kis\",\"Tev\",\"She\",\"Ada\",\"Ad2\"],dayNames:[\"Yom Rishon\",\"Yom Sheni\",\"Yom Shlishi\",\"Yom Revi'i\",\"Yom Chamishi\",\"Yom Shishi\",\"Yom Shabbat\"],dayNamesShort:[\"Ris\",\"She\",\"Shl\",\"Rev\",\"Cha\",\"Shi\",\"Sha\"],dayNamesMin:[\"Ri\",\"She\",\"Shl\",\"Re\",\"Ch\",\"Shi\",\"Sha\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return this._leapYear(t.year())},_leapYear:function(e){return o(7*(e=e<0?e+1:e)+1,19)<7},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,r.local.invalidYear),this._leapYear(e.year?e.year():e)?13:12},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(-r.dayOfWeek(),\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(e){return e=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear).year(),this.toJD(-1===e?1:e+1,7,1)-this.toJD(e,7,1)},daysInMonth:function(e,t){return e.year&&(t=e.month(),e=e.year()),this._validate(e,t,this.minDay,r.local.invalidMonth),12===t&&this.leapYear(e)||8===t&&5===o(this.daysInYear(e),10)?30:9===t&&3===o(this.daysInYear(e),10)?29:this.daysPerMonth[t-1]},weekDay:function(e,t,n){return 6!==this.dayOfWeek(e,t,n)},extraInfo:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return{yearType:(this.leapYear(a)?\"embolismic\":\"common\")+\" \"+[\"deficient\",\"regular\",\"complete\"][this.daysInYear(a)%10-3]}},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);e=a.year(),t=a.month(),n=a.day();var i=e<=0?e+1:e,o=this.jdEpoch+this._delay1(i)+this._delay2(i)+n+1;if(t<7){for(var l=7;l<=this.monthsInYear(e);l++)o+=this.daysInMonth(e,l);for(l=1;l<t;l++)o+=this.daysInMonth(e,l)}else for(l=7;l<t;l++)o+=this.daysInMonth(e,l);return o},_delay1:function(e){var t=Math.floor((235*e-234)/19),n=12084+13753*t,r=29*t+Math.floor(n/25920);return o(3*(r+1),7)<3&&r++,r},_delay2:function(e){var t=this._delay1(e-1),n=this._delay1(e);return this._delay1(e+1)-n==356?2:n-t==382?1:0},fromJD:function(e){e=Math.floor(e)+.5;for(var t=Math.floor(98496*(e-this.jdEpoch)/35975351)-1;e>=this.toJD(-1===t?1:t+1,7,1);)t++;for(var n=e<this.toJD(t,1,1)?7:1;e>this.toJD(t,n,this.daysInMonth(t,n));)n++;var r=e-this.toJD(t,n,1)+1;return this.newDate(t,n,r)}}),r.calendars.hebrew=i},{\"../main\":137,\"object-assign\":73}],128:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"Islamic\",jdEpoch:1948439.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Islamic\",epochs:[\"BH\",\"AH\"],monthNames:[\"Muharram\",\"Safar\",\"Rabi' al-awwal\",\"Rabi' al-thani\",\"Jumada al-awwal\",\"Jumada al-thani\",\"Rajab\",\"Sha'aban\",\"Ramadan\",\"Shawwal\",\"Dhu al-Qi'dah\",\"Dhu al-Hijjah\"],monthNamesShort:[\"Muh\",\"Saf\",\"Rab1\",\"Rab2\",\"Jum1\",\"Jum2\",\"Raj\",\"Sha'\",\"Ram\",\"Shaw\",\"DhuQ\",\"DhuH\"],dayNames:[\"Yawm al-ahad\",\"Yawm al-ithnayn\",\"Yawm ath-thulaathaa'\",\"Yawm al-arbi'aa'\",\"Yawm al-khamīs\",\"Yawm al-jum'a\",\"Yawm as-sabt\"],dayNamesShort:[\"Aha\",\"Ith\",\"Thu\",\"Arb\",\"Kha\",\"Jum\",\"Sab\"],dayNamesMin:[\"Ah\",\"It\",\"Th\",\"Ar\",\"Kh\",\"Ju\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:6,isRTL:!1}},leapYear:function(e){return(11*this._validate(e,this.minMonth,this.minDay,r.local.invalidYear).year()+14)%30<11},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(-r.dayOfWeek(),\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(e){return this.leapYear(e)?355:354},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(12===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(e,t,n){return 5!==this.dayOfWeek(e,t,n)},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return e=a.year(),t=a.month(),e=e<=0?e+1:e,(n=a.day())+Math.ceil(29.5*(t-1))+354*(e-1)+Math.floor((3+11*e)/30)+this.jdEpoch-1},fromJD:function(e){e=Math.floor(e)+.5;var t=Math.floor((30*(e-this.jdEpoch)+10646)/10631);t=t<=0?t-1:t;var n=Math.min(12,Math.ceil((e-29-this.toJD(t,1,1))/29.5)+1),r=e-this.toJD(t,n,1)+1;return this.newDate(t,n,r)}}),r.calendars.islamic=i},{\"../main\":137,\"object-assign\":73}],129:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"Julian\",jdEpoch:1721423.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Julian\",epochs:[\"BC\",\"AD\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"mm/dd/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return(e=t.year()<0?t.year()+1:t.year())%4==0},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(4-(r.dayOfWeek()||7),\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(e,t,n){return(this.dayOfWeek(e,t,n)||7)<6},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return e=a.year(),t=a.month(),n=a.day(),e<0&&e++,t<=2&&(e--,t+=12),Math.floor(365.25*(e+4716))+Math.floor(30.6001*(t+1))+n-1524.5},fromJD:function(e){var t=Math.floor(e+.5)+1524,n=Math.floor((t-122.1)/365.25),r=Math.floor(365.25*n),a=Math.floor((t-r)/30.6001),i=a-Math.floor(a<14?1:13),o=n-Math.floor(i>2?4716:4715),l=t-r-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,i,l)}}),r.calendars.julian=i},{\"../main\":137,\"object-assign\":73}],130:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}function o(e,t){return e-t*Math.floor(e/t)}function l(e,t){return o(e-1,t)+1}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"Mayan\",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{\"\":{name:\"Mayan\",epochs:[\"\",\"\"],monthNames:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\"],monthNamesShort:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\"],dayNames:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],dayNamesShort:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],dayNamesMin:[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\"],digits:null,dateFormat:\"YYYY.m.d\",firstDay:0,isRTL:!1,haabMonths:[\"Pop\",\"Uo\",\"Zip\",\"Zotz\",\"Tzec\",\"Xul\",\"Yaxkin\",\"Mol\",\"Chen\",\"Yax\",\"Zac\",\"Ceh\",\"Mac\",\"Kankin\",\"Muan\",\"Pax\",\"Kayab\",\"Cumku\",\"Uayeb\"],tzolkinMonths:[\"Imix\",\"Ik\",\"Akbal\",\"Kan\",\"Chicchan\",\"Cimi\",\"Manik\",\"Lamat\",\"Muluc\",\"Oc\",\"Chuen\",\"Eb\",\"Ben\",\"Ix\",\"Men\",\"Cib\",\"Caban\",\"Etznab\",\"Cauac\",\"Ahau\"]}},leapYear:function(e){return this._validate(e,this.minMonth,this.minDay,r.local.invalidYear),!1},formatYear:function(e){e=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear).year();var t=Math.floor(e/400);return e%=400,e+=e<0?400:0,t+\".\"+Math.floor(e/20)+\".\"+e%20},forYear:function(e){if((e=e.split(\".\")).length<3)throw\"Invalid Mayan year\";for(var t=0,n=0;n<e.length;n++){var r=parseInt(e[n],10);if(Math.abs(r)>19||n>0&&r<0)throw\"Invalid Mayan year\";t=20*t+r}return t},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,r.local.invalidYear),18},weekOfYear:function(e,t,n){return this._validate(e,t,n,r.local.invalidDate),0},daysInYear:function(e){return this._validate(e,this.minMonth,this.minDay,r.local.invalidYear),360},daysInMonth:function(e,t){return this._validate(e,t,this.minDay,r.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(e,t,n){return this._validate(e,t,n,r.local.invalidDate).day()},weekDay:function(e,t,n){return this._validate(e,t,n,r.local.invalidDate),!0},extraInfo:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate).toJD(),i=this._toHaab(a),o=this._toTzolkin(a);return{haabMonthName:this.local.haabMonths[i[0]-1],haabMonth:i[0],haabDay:i[1],tzolkinDayName:this.local.tzolkinMonths[o[0]-1],tzolkinDay:o[0],tzolkinTrecena:o[1]}},_toHaab:function(e){var t=o(8+(e-=this.jdEpoch)+340,365);return[Math.floor(t/20)+1,o(t,20)]},_toTzolkin:function(e){return[l(20+(e-=this.jdEpoch),20),l(e+4,13)]},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return a.day()+20*a.month()+360*a.year()+this.jdEpoch},fromJD:function(e){e=Math.floor(e)+.5-this.jdEpoch;var t=Math.floor(e/360);e%=360,e+=e<0?360:0;var n=Math.floor(e/20),r=e%20;return this.newDate(t,n,r)}}),r.calendars.mayan=i},{\"../main\":137,\"object-assign\":73}],131:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}i.prototype=new r.baseCalendar;var o=r.instance(\"gregorian\");a(i.prototype,{name:\"Nanakshahi\",jdEpoch:2257673.5,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Nanakshahi\",epochs:[\"BN\",\"AN\"],monthNames:[\"Chet\",\"Vaisakh\",\"Jeth\",\"Harh\",\"Sawan\",\"Bhadon\",\"Assu\",\"Katak\",\"Maghar\",\"Poh\",\"Magh\",\"Phagun\"],monthNamesShort:[\"Che\",\"Vai\",\"Jet\",\"Har\",\"Saw\",\"Bha\",\"Ass\",\"Kat\",\"Mgr\",\"Poh\",\"Mgh\",\"Pha\"],dayNames:[\"Somvaar\",\"Mangalvar\",\"Budhvaar\",\"Veervaar\",\"Shukarvaar\",\"Sanicharvaar\",\"Etvaar\"],dayNamesShort:[\"Som\",\"Mangal\",\"Budh\",\"Veer\",\"Shukar\",\"Sanichar\",\"Et\"],dayNamesMin:[\"So\",\"Ma\",\"Bu\",\"Ve\",\"Sh\",\"Sa\",\"Et\"],digits:null,dateFormat:\"dd-mm-yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear||r.regionalOptions[\"\"].invalidYear);return o.leapYear(t.year()+(t.year()<1?1:0)+1469)},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(1-(r.dayOfWeek()||7),\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(12===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(e,t,n){return(this.dayOfWeek(e,t,n)||7)<6},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidMonth);(e=a.year())<0&&e++;for(var i=a.day(),l=1;l<a.month();l++)i+=this.daysPerMonth[l-1];return i+o.toJD(e+1468,3,13)},fromJD:function(e){e=Math.floor(e+.5);for(var t=Math.floor((e-(this.jdEpoch-1))/366);e>=this.toJD(t+1,1,1);)t++;for(var n=e-Math.floor(this.toJD(t,1,1)+.5)+1,r=1;n>this.daysInMonth(t,r);)n-=this.daysInMonth(t,r),r++;return this.newDate(t,r,n)}}),r.calendars.nanakshahi=i},{\"../main\":137,\"object-assign\":73}],132:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"Nepali\",jdEpoch:1700709.5,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{\"\":{name:\"Nepali\",epochs:[\"BBS\",\"ABS\"],monthNames:[\"Baisakh\",\"Jestha\",\"Ashadh\",\"Shrawan\",\"Bhadra\",\"Ashwin\",\"Kartik\",\"Mangsir\",\"Paush\",\"Mangh\",\"Falgun\",\"Chaitra\"],monthNamesShort:[\"Bai\",\"Je\",\"As\",\"Shra\",\"Bha\",\"Ash\",\"Kar\",\"Mang\",\"Pau\",\"Ma\",\"Fal\",\"Chai\"],dayNames:[\"Aaitabaar\",\"Sombaar\",\"Manglbaar\",\"Budhabaar\",\"Bihibaar\",\"Shukrabaar\",\"Shanibaar\"],dayNamesShort:[\"Aaita\",\"Som\",\"Mangl\",\"Budha\",\"Bihi\",\"Shukra\",\"Shani\"],dayNamesMin:[\"Aai\",\"So\",\"Man\",\"Bu\",\"Bi\",\"Shu\",\"Sha\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:1,isRTL:!1}},leapYear:function(e){return this.daysInYear(e)!==this.daysPerYear},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(-r.dayOfWeek(),\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(e){if(e=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear).year(),void 0===this.NEPALI_CALENDAR_DATA[e])return this.daysPerYear;for(var t=0,n=this.minMonth;n<=12;n++)t+=this.NEPALI_CALENDAR_DATA[e][n];return t},daysInMonth:function(e,t){return e.year&&(t=e.month(),e=e.year()),this._validate(e,t,this.minDay,r.local.invalidMonth),void 0===this.NEPALI_CALENDAR_DATA[e]?this.daysPerMonth[t-1]:this.NEPALI_CALENDAR_DATA[e][t]},weekDay:function(e,t,n){return 6!==this.dayOfWeek(e,t,n)},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);e=a.year(),t=a.month(),n=a.day();var i=r.instance(),o=0,l=t,s=e;this._createMissingCalendarData(e);var u=e-(l>9||9===l&&n>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(9!==t&&(o=n,l--);9!==l;)l<=0&&(l=12,s--),o+=this.NEPALI_CALENDAR_DATA[s][l],l--;return 9===t?(o+=n-this.NEPALI_CALENDAR_DATA[s][0])<0&&(o+=i.daysInYear(u)):o+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],i.newDate(u,1,1).add(o,\"d\").toJD()},fromJD:function(e){var t=r.instance().fromJD(e),n=t.year(),a=t.dayOfYear(),i=n+56;this._createMissingCalendarData(i);for(var o=9,l=this.NEPALI_CALENDAR_DATA[i][0],s=this.NEPALI_CALENDAR_DATA[i][o]-l+1;a>s;)++o>12&&(o=1,i++),s+=this.NEPALI_CALENDAR_DATA[i][o];var u=this.NEPALI_CALENDAR_DATA[i][o]-(s-a);return this.newDate(i,o,u)},_createMissingCalendarData:function(e){var t=this.daysPerMonth.slice(0);t.unshift(17);for(var n=e-1;n<e+2;n++)void 0===this.NEPALI_CALENDAR_DATA[n]&&(this.NEPALI_CALENDAR_DATA[n]=t)},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2e3:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}}),r.calendars.nepali=i},{\"../main\":137,\"object-assign\":73}],133:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}function o(e,t){return e-t*Math.floor(e/t)}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"Persian\",jdEpoch:1948320.5,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Persian\",epochs:[\"BP\",\"AP\"],monthNames:[\"Farvardin\",\"Ordibehesht\",\"Khordad\",\"Tir\",\"Mordad\",\"Shahrivar\",\"Mehr\",\"Aban\",\"Azar\",\"Day\",\"Bahman\",\"Esfand\"],monthNamesShort:[\"Far\",\"Ord\",\"Kho\",\"Tir\",\"Mor\",\"Sha\",\"Meh\",\"Aba\",\"Aza\",\"Day\",\"Bah\",\"Esf\"],dayNames:[\"Yekshambe\",\"Doshambe\",\"Seshambe\",\"Chæharshambe\",\"Panjshambe\",\"Jom'e\",\"Shambe\"],dayNamesShort:[\"Yek\",\"Do\",\"Se\",\"Chæ\",\"Panj\",\"Jom\",\"Sha\"],dayNamesMin:[\"Ye\",\"Do\",\"Se\",\"Ch\",\"Pa\",\"Jo\",\"Sh\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:6,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return 682*((t.year()-(t.year()>0?474:473))%2820+474+38)%2816<682},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(-(r.dayOfWeek()+1)%7,\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(12===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(e,t,n){return 5!==this.dayOfWeek(e,t,n)},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);e=a.year(),t=a.month(),n=a.day();var i=e-(e>=0?474:473),l=474+o(i,2820);return n+(t<=7?31*(t-1):30*(t-1)+6)+Math.floor((682*l-110)/2816)+365*(l-1)+1029983*Math.floor(i/2820)+this.jdEpoch-1},fromJD:function(e){var t=(e=Math.floor(e)+.5)-this.toJD(475,1,1),n=Math.floor(t/1029983),r=o(t,1029983),a=2820;if(1029982!==r){var i=Math.floor(r/366),l=o(r,366);a=Math.floor((2134*i+2816*l+2815)/1028522)+i+1}var s=a+2820*n+474;s=s<=0?s-1:s;var u=e-this.toJD(s,1,1)+1,c=u<=186?Math.ceil(u/31):Math.ceil((u-6)/30),f=e-this.toJD(s,c,1)+1;return this.newDate(s,c,f)}}),r.calendars.persian=i,r.calendars.jalali=i},{\"../main\":137,\"object-assign\":73}],134:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\"),i=r.instance();function o(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}o.prototype=new r.baseCalendar,a(o.prototype,{name:\"Taiwan\",jdEpoch:2419402.5,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Taiwan\",epochs:[\"BROC\",\"ROC\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:1,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return e=this._t2gYear(t.year()),i.leapYear(e)},weekOfYear:function(e,t,n){var a=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return e=this._t2gYear(a.year()),i.weekOfYear(e,a.month(),a.day())},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(e,t,n){return(this.dayOfWeek(e,t,n)||7)<6},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return e=this._t2gYear(a.year()),i.toJD(e,a.month(),a.day())},fromJD:function(e){var t=i.fromJD(e),n=this._g2tYear(t.year());return this.newDate(n,t.month(),t.day())},_t2gYear:function(e){return e+this.yearsOffset+(e>=-this.yearsOffset&&e<=-1?1:0)},_g2tYear:function(e){return e-this.yearsOffset-(e>=1&&e<=this.yearsOffset?1:0)}}),r.calendars.taiwan=o},{\"../main\":137,\"object-assign\":73}],135:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\"),i=r.instance();function o(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}o.prototype=new r.baseCalendar,a(o.prototype,{name:\"Thai\",jdEpoch:1523098.5,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Thai\",epochs:[\"BBE\",\"BE\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"dd/mm/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return e=this._t2gYear(t.year()),i.leapYear(e)},weekOfYear:function(e,t,n){var a=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return e=this._t2gYear(a.year()),i.weekOfYear(e,a.month(),a.day())},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,r.local.invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(e,t,n){return(this.dayOfWeek(e,t,n)||7)<6},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate);return e=this._t2gYear(a.year()),i.toJD(e,a.month(),a.day())},fromJD:function(e){var t=i.fromJD(e),n=this._g2tYear(t.year());return this.newDate(n,t.month(),t.day())},_t2gYear:function(e){return e-this.yearsOffset-(e>=1&&e<=this.yearsOffset?1:0)},_g2tYear:function(e){return e+this.yearsOffset+(e>=-this.yearsOffset&&e<=-1?1:0)}}),r.calendars.thai=o},{\"../main\":137,\"object-assign\":73}],136:[function(e,t,n){var r=e(\"../main\"),a=e(\"object-assign\");function i(e){this.local=this.regionalOptions[e||\"\"]||this.regionalOptions[\"\"]}i.prototype=new r.baseCalendar,a(i.prototype,{name:\"UmmAlQura\",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Umm al-Qura\",epochs:[\"BH\",\"AH\"],monthNames:[\"Al-Muharram\",\"Safar\",\"Rabi' al-awwal\",\"Rabi' Al-Thani\",\"Jumada Al-Awwal\",\"Jumada Al-Thani\",\"Rajab\",\"Sha'aban\",\"Ramadan\",\"Shawwal\",\"Dhu al-Qi'dah\",\"Dhu al-Hijjah\"],monthNamesShort:[\"Muh\",\"Saf\",\"Rab1\",\"Rab2\",\"Jum1\",\"Jum2\",\"Raj\",\"Sha'\",\"Ram\",\"Shaw\",\"DhuQ\",\"DhuH\"],dayNames:[\"Yawm al-Ahad\",\"Yawm al-Ithnain\",\"Yawm al-Thalāthā’\",\"Yawm al-Arba‘ā’\",\"Yawm al-Khamīs\",\"Yawm al-Jum‘a\",\"Yawm al-Sabt\"],dayNamesMin:[\"Ah\",\"Ith\",\"Th\",\"Ar\",\"Kh\",\"Ju\",\"Sa\"],digits:null,dateFormat:\"yyyy/mm/dd\",firstDay:6,isRTL:!0}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,r.local.invalidYear);return 355===this.daysInYear(t.year())},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(-r.dayOfWeek(),\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInYear:function(e){for(var t=0,n=1;n<=12;n++)t+=this.daysInMonth(e,n);return t},daysInMonth:function(e,t){for(var n=this._validate(e,t,this.minDay,r.local.invalidMonth).toJD()-24e5+.5,a=0,i=0;i<o.length;i++){if(o[i]>n)return o[a]-o[a-1];a++}return 30},weekDay:function(e,t,n){return 5!==this.dayOfWeek(e,t,n)},toJD:function(e,t,n){var a=this._validate(e,t,n,r.local.invalidDate),i=12*(a.year()-1)+a.month()-15292;return a.day()+o[i-1]-1+24e5-.5},fromJD:function(e){for(var t=e-24e5+.5,n=0,r=0;r<o.length&&!(o[r]>t);r++)n++;var a=n+15292,i=Math.floor((a-1)/12),l=i+1,s=a-12*i,u=t-o[n-1]+1;return this.newDate(l,s,u)},isValid:function(e,t,n){var a=r.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(e=null!=e.year?e.year:e)>=1276&&e<=1500),a},_validate:function(e,t,n,a){var i=r.baseCalendar.prototype._validate.apply(this,arguments);if(i.year<1276||i.year>1500)throw a.replace(/\\{0\\}/,this.local.name);return i}}),r.calendars.ummalqura=i;var o=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},{\"../main\":137,\"object-assign\":73}],137:[function(e,t,n){var r=e(\"object-assign\");function a(){this.regionalOptions=[],this.regionalOptions[\"\"]={invalidCalendar:\"Calendar {0} not found\",invalidDate:\"Invalid {0} date\",invalidMonth:\"Invalid {0} month\",invalidYear:\"Invalid {0} year\",differentCalendars:\"Cannot mix {0} and {1} dates\"},this.local=this.regionalOptions[\"\"],this.calendars={},this._localCals={}}function i(e,t,n,r){if(this._calendar=e,this._year=t,this._month=n,this._day=r,0===this._calendar._validateLevel&&!this._calendar.isValid(this._year,this._month,this._day))throw(u.local.invalidDate||u.regionalOptions[\"\"].invalidDate).replace(/\\{0\\}/,this._calendar.local.name)}function o(e,t){return\"000000\".substring(0,t-(e=\"\"+e).length)+e}function l(){this.shortYearCutoff=\"+10\"}function s(e){this.local=this.regionalOptions[e]||this.regionalOptions[\"\"]}r(a.prototype,{instance:function(e,t){e=(e||\"gregorian\").toLowerCase(),t=t||\"\";var n=this._localCals[e+\"-\"+t];if(!n&&this.calendars[e]&&(n=new this.calendars[e](t),this._localCals[e+\"-\"+t]=n),!n)throw(this.local.invalidCalendar||this.regionalOptions[\"\"].invalidCalendar).replace(/\\{0\\}/,e);return n},newDate:function(e,t,n,r,a){return(r=(null!=e&&e.year?e.calendar():\"string\"==typeof r?this.instance(r,a):r)||this.instance()).newDate(e,t,n)},substituteDigits:function(e){return function(t){return(t+\"\").replace(/[0-9]/g,(function(t){return e[t]}))}},substituteChineseDigits:function(e,t){return function(n){for(var r=\"\",a=0;n>0;){var i=n%10;r=(0===i?\"\":e[i]+t[a])+r,a++,n=Math.floor(n/10)}return 0===r.indexOf(e[1]+t[1])&&(r=r.substr(1)),r||e[0]}}}),r(i.prototype,{newDate:function(e,t,n){return this._calendar.newDate(null==e?this:e,t,n)},year:function(e){return 0===arguments.length?this._year:this.set(e,\"y\")},month:function(e){return 0===arguments.length?this._month:this.set(e,\"m\")},day:function(e){return 0===arguments.length?this._day:this.set(e,\"d\")},date:function(e,t,n){if(!this._calendar.isValid(e,t,n))throw(u.local.invalidDate||u.regionalOptions[\"\"].invalidDate).replace(/\\{0\\}/,this._calendar.local.name);return this._year=e,this._month=t,this._day=n,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(e,t){return this._calendar.add(this,e,t)},set:function(e,t){return this._calendar.set(this,e,t)},compareTo:function(e){if(this._calendar.name!==e._calendar.name)throw(u.local.differentCalendars||u.regionalOptions[\"\"].differentCalendars).replace(/\\{0\\}/,this._calendar.local.name).replace(/\\{1\\}/,e._calendar.local.name);var t=this._year!==e._year?this._year-e._year:this._month!==e._month?this.monthOfYear()-e.monthOfYear():this._day-e._day;return 0===t?0:t<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(e){return this._calendar.fromJD(e)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(e){return this._calendar.fromJSDate(e)},toString:function(){return(this.year()<0?\"-\":\"\")+o(Math.abs(this.year()),4)+\"-\"+o(this.month(),2)+\"-\"+o(this.day(),2)}}),r(l.prototype,{_validateLevel:0,newDate:function(e,t,n){return null==e?this.today():(e.year&&(this._validate(e,t,n,u.local.invalidDate||u.regionalOptions[\"\"].invalidDate),n=e.day(),t=e.month(),e=e.year()),new i(this,e,t,n))},today:function(){return this.fromJSDate(new Date)},epoch:function(e){return this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\"\"].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\"\"].invalidYear);return(t.year()<0?\"-\":\"\")+o(Math.abs(t.year()),4)},monthsInYear:function(e){return this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\"\"].invalidYear),12},monthOfYear:function(e,t){var n=this._validate(e,t,this.minDay,u.local.invalidMonth||u.regionalOptions[\"\"].invalidMonth);return(n.month()+this.monthsInYear(n)-this.firstMonth)%this.monthsInYear(n)+this.minMonth},fromMonthOfYear:function(e,t){var n=(t+this.firstMonth-2*this.minMonth)%this.monthsInYear(e)+this.minMonth;return this._validate(e,n,this.minDay,u.local.invalidMonth||u.regionalOptions[\"\"].invalidMonth),n},daysInYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\"\"].invalidYear);return this.leapYear(t)?366:365},dayOfYear:function(e,t,n){var r=this._validate(e,t,n,u.local.invalidDate||u.regionalOptions[\"\"].invalidDate);return r.toJD()-this.newDate(r.year(),this.fromMonthOfYear(r.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(e,t,n){var r=this._validate(e,t,n,u.local.invalidDate||u.regionalOptions[\"\"].invalidDate);return(Math.floor(this.toJD(r))+2)%this.daysInWeek()},extraInfo:function(e,t,n){return this._validate(e,t,n,u.local.invalidDate||u.regionalOptions[\"\"].invalidDate),{}},add:function(e,t,n){return this._validate(e,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[\"\"].invalidDate),this._correctAdd(e,this._add(e,t,n),t,n)},_add:function(e,t,n){if(this._validateLevel++,\"d\"===n||\"w\"===n){var r=e.toJD()+t*(\"w\"===n?this.daysInWeek():1),a=e.calendar().fromJD(r);return this._validateLevel--,[a.year(),a.month(),a.day()]}try{var i=e.year()+(\"y\"===n?t:0),o=e.monthOfYear()+(\"m\"===n?t:0);a=e.day(),\"y\"===n?(e.month()!==this.fromMonthOfYear(i,o)&&(o=this.newDate(i,e.month(),this.minDay).monthOfYear()),o=Math.min(o,this.monthsInYear(i)),a=Math.min(a,this.daysInMonth(i,this.fromMonthOfYear(i,o)))):\"m\"===n&&(function(e){for(;o<e.minMonth;)i--,o+=e.monthsInYear(i);for(var t=e.monthsInYear(i);o>t-1+e.minMonth;)i++,o-=t,t=e.monthsInYear(i)}(this),a=Math.min(a,this.daysInMonth(i,this.fromMonthOfYear(i,o))));var l=[i,this.fromMonthOfYear(i,o),a];return this._validateLevel--,l}catch(e){throw this._validateLevel--,e}},_correctAdd:function(e,t,n,r){if(!(this.hasYearZero||\"y\"!==r&&\"m\"!==r||0!==t[0]&&e.year()>0==t[0]>0)){var a={y:[1,1,\"y\"],m:[1,this.monthsInYear(-1),\"m\"],w:[this.daysInWeek(),this.daysInYear(-1),\"d\"],d:[1,this.daysInYear(-1),\"d\"]}[r],i=n<0?-1:1;t=this._add(e,n*a[0]+i*a[1],a[2])}return e.date(t[0],t[1],t[2])},set:function(e,t,n){this._validate(e,this.minMonth,this.minDay,u.local.invalidDate||u.regionalOptions[\"\"].invalidDate);var r=\"y\"===n?t:e.year(),a=\"m\"===n?t:e.month(),i=\"d\"===n?t:e.day();return\"y\"!==n&&\"m\"!==n||(i=Math.min(i,this.daysInMonth(r,a))),e.date(r,a,i)},isValid:function(e,t,n){this._validateLevel++;var r=this.hasYearZero||0!==e;if(r){var a=this.newDate(e,t,this.minDay);r=t>=this.minMonth&&t-this.minMonth<this.monthsInYear(a)&&n>=this.minDay&&n-this.minDay<this.daysInMonth(a)}return this._validateLevel--,r},toJSDate:function(e,t,n){var r=this._validate(e,t,n,u.local.invalidDate||u.regionalOptions[\"\"].invalidDate);return u.instance().fromJD(this.toJD(r)).toJSDate()},fromJSDate:function(e){return this.fromJD(u.instance().fromJSDate(e).toJD())},_validate:function(e,t,n,r){if(e.year){if(0===this._validateLevel&&this.name!==e.calendar().name)throw(u.local.differentCalendars||u.regionalOptions[\"\"].differentCalendars).replace(/\\{0\\}/,this.local.name).replace(/\\{1\\}/,e.calendar().local.name);return e}try{if(this._validateLevel++,1===this._validateLevel&&!this.isValid(e,t,n))throw r.replace(/\\{0\\}/,this.local.name);var a=this.newDate(e,t,n);return this._validateLevel--,a}catch(e){throw this._validateLevel--,e}}}),s.prototype=new l,r(s.prototype,{name:\"Gregorian\",jdEpoch:1721425.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{\"\":{name:\"Gregorian\",epochs:[\"BCE\",\"CE\"],monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],digits:null,dateFormat:\"mm/dd/yyyy\",firstDay:0,isRTL:!1}},leapYear:function(e){var t=this._validate(e,this.minMonth,this.minDay,u.local.invalidYear||u.regionalOptions[\"\"].invalidYear);return(e=t.year()+(t.year()<0?1:0))%4==0&&(e%100!=0||e%400==0)},weekOfYear:function(e,t,n){var r=this.newDate(e,t,n);return r.add(4-(r.dayOfWeek()||7),\"d\"),Math.floor((r.dayOfYear()-1)/7)+1},daysInMonth:function(e,t){var n=this._validate(e,t,this.minDay,u.local.invalidMonth||u.regionalOptions[\"\"].invalidMonth);return this.daysPerMonth[n.month()-1]+(2===n.month()&&this.leapYear(n.year())?1:0)},weekDay:function(e,t,n){return(this.dayOfWeek(e,t,n)||7)<6},toJD:function(e,t,n){var r=this._validate(e,t,n,u.local.invalidDate||u.regionalOptions[\"\"].invalidDate);e=r.year(),t=r.month(),n=r.day(),e<0&&e++,t<3&&(t+=12,e--);var a=Math.floor(e/100),i=2-a+Math.floor(a/4);return Math.floor(365.25*(e+4716))+Math.floor(30.6001*(t+1))+n+i-1524.5},fromJD:function(e){var t=Math.floor(e+.5),n=Math.floor((t-1867216.25)/36524.25),r=1524+(n=t+1+n-Math.floor(n/4)),a=Math.floor((r-122.1)/365.25),i=Math.floor(365.25*a),o=Math.floor((r-i)/30.6001),l=r-i-Math.floor(30.6001*o),s=o-(o>13.5?13:1),u=a-(s>2.5?4716:4715);return u<=0&&u--,this.newDate(u,s,l)},toJSDate:function(e,t,n){var r=this._validate(e,t,n,u.local.invalidDate||u.regionalOptions[\"\"].invalidDate),a=new Date(r.year(),r.month()-1,r.day());return a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0),a.setHours(a.getHours()>12?a.getHours()+2:0),a},fromJSDate:function(e){return this.newDate(e.getFullYear(),e.getMonth()+1,e.getDate())}});var u=t.exports=new a;u.cdate=i,u.baseCalendar=l,u.calendars.gregorian=s},{\"object-assign\":73}],138:[function(e,t,n){var r=e(\"object-assign\"),a=e(\"./main\");r(a.regionalOptions[\"\"],{invalidArguments:\"Invalid arguments\",invalidFormat:\"Cannot format a date from another calendar\",missingNumberAt:\"Missing number at position {0}\",unknownNameAt:\"Unknown name at position {0}\",unexpectedLiteralAt:\"Unexpected literal at position {0}\",unexpectedText:\"Additional text found at end\"}),a.local=a.regionalOptions[\"\"],r(a.cdate.prototype,{formatDate:function(e,t){return\"string\"!=typeof e&&(t=e,e=\"\"),this._calendar.formatDate(e||\"\",this,t)}}),r(a.baseCalendar.prototype,{UNIX_EPOCH:a.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:a.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:\"yyyy-mm-dd\",COOKIE:\"D, dd M yyyy\",FULL:\"DD, MM d, yyyy\",ISO_8601:\"yyyy-mm-dd\",JULIAN:\"J\",RFC_822:\"D, d M yy\",RFC_850:\"DD, dd-M-yy\",RFC_1036:\"D, d M yy\",RFC_1123:\"D, d M yyyy\",RFC_2822:\"D, d M yyyy\",RSS:\"D, d M yy\",TICKS:\"!\",TIMESTAMP:\"@\",W3C:\"yyyy-mm-dd\",formatDate:function(e,t,n){if(\"string\"!=typeof e&&(n=t,t=e,e=\"\"),!t)return\"\";if(t.calendar()!==this)throw a.local.invalidFormat||a.regionalOptions[\"\"].invalidFormat;e=e||this.local.dateFormat;for(var r,i,o,l,s=(n=n||{}).dayNamesShort||this.local.dayNamesShort,u=n.dayNames||this.local.dayNames,c=n.monthNumbers||this.local.monthNumbers,f=n.monthNamesShort||this.local.monthNamesShort,d=n.monthNames||this.local.monthNames,p=(n.calculateWeek||this.local.calculateWeek,function(t,n){for(var r=1;_+r<e.length&&e.charAt(_+r)===t;)r++;return _+=r-1,Math.floor(r/(n||1))>1}),h=function(e,t,n,r){var a=\"\"+t;if(p(e,r))for(;a.length<n;)a=\"0\"+a;return a},m=this,g=function(e){return\"function\"==typeof c?c.call(m,e,p(\"m\")):b(h(\"m\",e.month(),2))},y=function(e,t){return t?\"function\"==typeof d?d.call(m,e):d[e.month()-m.minMonth]:\"function\"==typeof f?f.call(m,e):f[e.month()-m.minMonth]},v=this.local.digits,b=function(e){return n.localNumbers&&v?v(e):e},x=\"\",w=!1,_=0;_<e.length;_++)if(w)\"'\"!==e.charAt(_)||p(\"'\")?x+=e.charAt(_):w=!1;else switch(e.charAt(_)){case\"d\":x+=b(h(\"d\",t.day(),2));break;case\"D\":x+=(r=\"D\",i=t.dayOfWeek(),o=s,l=u,p(r)?l[i]:o[i]);break;case\"o\":x+=h(\"o\",t.dayOfYear(),3);break;case\"w\":x+=h(\"w\",t.weekOfYear(),2);break;case\"m\":x+=g(t);break;case\"M\":x+=y(t,p(\"M\"));break;case\"y\":x+=p(\"y\",2)?t.year():(t.year()%100<10?\"0\":\"\")+t.year()%100;break;case\"Y\":p(\"Y\",2),x+=t.formatYear();break;case\"J\":x+=t.toJD();break;case\"@\":x+=(t.toJD()-this.UNIX_EPOCH)*this.SECS_PER_DAY;break;case\"!\":x+=(t.toJD()-this.TICKS_EPOCH)*this.TICKS_PER_DAY;break;case\"'\":p(\"'\")?x+=\"'\":w=!0;break;default:x+=e.charAt(_)}return x},parseDate:function(e,t,n){if(null==t)throw a.local.invalidArguments||a.regionalOptions[\"\"].invalidArguments;if(\"\"===(t=\"object\"==typeof t?t.toString():t+\"\"))return null;e=e||this.local.dateFormat;var r=(n=n||{}).shortYearCutoff||this.shortYearCutoff;r=\"string\"!=typeof r?r:this.today().year()%100+parseInt(r,10);for(var i=n.dayNamesShort||this.local.dayNamesShort,o=n.dayNames||this.local.dayNames,l=n.parseMonth||this.local.parseMonth,s=n.monthNumbers||this.local.monthNumbers,u=n.monthNamesShort||this.local.monthNamesShort,c=n.monthNames||this.local.monthNames,f=-1,d=-1,p=-1,h=-1,m=-1,g=!1,y=!1,v=function(t,n){for(var r=1;S+r<e.length&&e.charAt(S+r)===t;)r++;return S+=r-1,Math.floor(r/(n||1))>1},b=function(e,n){var r=v(e,n),i=[2,3,r?4:2,r?4:2,10,11,20][\"oyYJ@!\".indexOf(e)+1],o=new RegExp(\"^-?\\\\d{1,\"+i+\"}\"),l=t.substring(M).match(o);if(!l)throw(a.local.missingNumberAt||a.regionalOptions[\"\"].missingNumberAt).replace(/\\{0\\}/,M);return M+=l[0].length,parseInt(l[0],10)},x=this,w=function(){if(\"function\"==typeof s){v(\"m\");var e=s.call(x,t.substring(M));return M+=e.length,e}return b(\"m\")},_=function(e,n,r,i){for(var o=v(e,i)?r:n,l=0;l<o.length;l++)if(t.substr(M,o[l].length).toLowerCase()===o[l].toLowerCase())return M+=o[l].length,l+x.minMonth;throw(a.local.unknownNameAt||a.regionalOptions[\"\"].unknownNameAt).replace(/\\{0\\}/,M)},k=function(){if(\"function\"==typeof c){var e=v(\"M\")?c.call(x,t.substring(M)):u.call(x,t.substring(M));return M+=e.length,e}return _(\"M\",u,c)},T=function(){if(t.charAt(M)!==e.charAt(S))throw(a.local.unexpectedLiteralAt||a.regionalOptions[\"\"].unexpectedLiteralAt).replace(/\\{0\\}/,M);M++},M=0,S=0;S<e.length;S++)if(y)\"'\"!==e.charAt(S)||v(\"'\")?T():y=!1;else switch(e.charAt(S)){case\"d\":h=b(\"d\");break;case\"D\":_(\"D\",i,o);break;case\"o\":m=b(\"o\");break;case\"w\":b(\"w\");break;case\"m\":p=w();break;case\"M\":p=k();break;case\"y\":var E=S;g=!v(\"y\",2),S=E,d=b(\"y\",2);break;case\"Y\":d=b(\"Y\",2);break;case\"J\":f=b(\"J\")+.5,\".\"===t.charAt(M)&&(M++,b(\"J\"));break;case\"@\":f=b(\"@\")/this.SECS_PER_DAY+this.UNIX_EPOCH;break;case\"!\":f=b(\"!\")/this.TICKS_PER_DAY+this.TICKS_EPOCH;break;case\"*\":M=t.length;break;case\"'\":v(\"'\")?T():y=!0;break;default:T()}if(M<t.length)throw a.local.unexpectedText||a.regionalOptions[\"\"].unexpectedText;if(-1===d?d=this.today().year():d<100&&g&&(d+=-1===r?1900:this.today().year()-this.today().year()%100-(d<=r?0:100)),\"string\"==typeof p&&(p=l.call(this,d,p)),m>-1){p=1,h=m;for(var C=this.daysInMonth(d,p);h>C;C=this.daysInMonth(d,p))p++,h-=C}return f>-1?this.fromJD(f):this.newDate(d,p,h)},determineDate:function(e,t,n,r,a){n&&\"object\"!=typeof n&&(a=r,r=n,n=null),\"string\"!=typeof r&&(a=r,r=\"\");var i=this;return t=t?t.newDate():null,null==e?t:\"string\"==typeof e?function(e){try{return i.parseDate(r,e,a)}catch(e){}for(var t=((e=e.toLowerCase()).match(/^c/)&&n?n.newDate():null)||i.today(),o=/([+-]?[0-9]+)\\s*(d|w|m|y)?/g,l=o.exec(e);l;)t.add(parseInt(l[1],10),l[2]||\"d\"),l=o.exec(e);return t}(e):\"number\"==typeof e?isNaN(e)||e===1/0||e===-1/0?t:i.today().add(e,\"d\"):i.newDate(e)}})},{\"./main\":137,\"object-assign\":73}],139:[function(e,t,n){\"use strict\";t.exports=[{path:\"\",backoff:0},{path:\"M-2.4,-3V3L0.6,0Z\",backoff:.6},{path:\"M-3.7,-2.5V2.5L1.3,0Z\",backoff:1.3},{path:\"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z\",backoff:1.55},{path:\"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z\",backoff:1.6},{path:\"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z\",backoff:2},{path:\"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z\",backoff:0,noRotate:!0},{path:\"M2,2V-2H-2V2Z\",backoff:0,noRotate:!0}]},{}],140:[function(e,t,n){\"use strict\";var r=e(\"./arrow_paths\"),a=e(\"../../plots/font_attributes\"),i=e(\"../../plots/cartesian/constants\"),o=e(\"../../plot_api/plot_template\").templatedArray;e(\"../../constants/axis_placeable_objects\"),t.exports=o(\"annotation\",{visible:{valType:\"boolean\",dflt:!0,editType:\"calc+arraydraw\"},text:{valType:\"string\",editType:\"calc+arraydraw\"},textangle:{valType:\"angle\",dflt:0,editType:\"calc+arraydraw\"},font:a({editType:\"calc+arraydraw\",colorEditType:\"arraydraw\"}),width:{valType:\"number\",min:1,dflt:null,editType:\"calc+arraydraw\"},height:{valType:\"number\",min:1,dflt:null,editType:\"calc+arraydraw\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"arraydraw\"},align:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"],dflt:\"center\",editType:\"arraydraw\"},valign:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"],dflt:\"middle\",editType:\"arraydraw\"},bgcolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\",editType:\"arraydraw\"},bordercolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\",editType:\"arraydraw\"},borderpad:{valType:\"number\",min:0,dflt:1,editType:\"calc+arraydraw\"},borderwidth:{valType:\"number\",min:0,dflt:1,editType:\"calc+arraydraw\"},showarrow:{valType:\"boolean\",dflt:!0,editType:\"calc+arraydraw\"},arrowcolor:{valType:\"color\",editType:\"arraydraw\"},arrowhead:{valType:\"integer\",min:0,max:r.length,dflt:1,editType:\"arraydraw\"},startarrowhead:{valType:\"integer\",min:0,max:r.length,dflt:1,editType:\"arraydraw\"},arrowside:{valType:\"flaglist\",flags:[\"end\",\"start\"],extras:[\"none\"],dflt:\"end\",editType:\"arraydraw\"},arrowsize:{valType:\"number\",min:.3,dflt:1,editType:\"calc+arraydraw\"},startarrowsize:{valType:\"number\",min:.3,dflt:1,editType:\"calc+arraydraw\"},arrowwidth:{valType:\"number\",min:.1,editType:\"calc+arraydraw\"},standoff:{valType:\"number\",min:0,dflt:0,editType:\"calc+arraydraw\"},startstandoff:{valType:\"number\",min:0,dflt:0,editType:\"calc+arraydraw\"},ax:{valType:\"any\",editType:\"calc+arraydraw\"},ay:{valType:\"any\",editType:\"calc+arraydraw\"},axref:{valType:\"enumerated\",dflt:\"pixel\",values:[\"pixel\",i.idRegex.x.toString()],editType:\"calc\"},ayref:{valType:\"enumerated\",dflt:\"pixel\",values:[\"pixel\",i.idRegex.y.toString()],editType:\"calc\"},xref:{valType:\"enumerated\",values:[\"paper\",i.idRegex.x.toString()],editType:\"calc\"},x:{valType:\"any\",editType:\"calc+arraydraw\"},xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"auto\",editType:\"calc+arraydraw\"},xshift:{valType:\"number\",dflt:0,editType:\"calc+arraydraw\"},yref:{valType:\"enumerated\",values:[\"paper\",i.idRegex.y.toString()],editType:\"calc\"},y:{valType:\"any\",editType:\"calc+arraydraw\"},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],dflt:\"auto\",editType:\"calc+arraydraw\"},yshift:{valType:\"number\",dflt:0,editType:\"calc+arraydraw\"},clicktoshow:{valType:\"enumerated\",values:[!1,\"onoff\",\"onout\"],dflt:!1,editType:\"arraydraw\"},xclick:{valType:\"any\",editType:\"arraydraw\"},yclick:{valType:\"any\",editType:\"arraydraw\"},hovertext:{valType:\"string\",editType:\"arraydraw\"},hoverlabel:{bgcolor:{valType:\"color\",editType:\"arraydraw\"},bordercolor:{valType:\"color\",editType:\"arraydraw\"},font:a({editType:\"arraydraw\"}),editType:\"arraydraw\"},captureevents:{valType:\"boolean\",editType:\"arraydraw\"},editType:\"calc\",_deprecated:{ref:{valType:\"string\",editType:\"calc\"}}})},{\"../../constants/axis_placeable_objects\":263,\"../../plot_api/plot_template\":323,\"../../plots/cartesian/constants\":341,\"../../plots/font_attributes\":365,\"./arrow_paths\":139}],141:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"./draw\").draw;function o(e){var t=e._fullLayout;r.filterVisible(t.annotations).forEach((function(t){var n=a.getFromId(e,t.xref),r=a.getFromId(e,t.yref),i=a.getRefType(t.xref),o=a.getRefType(t.yref);t._extremes={},\"range\"===i&&l(t,n),\"range\"===o&&l(t,r)}))}function l(e,t){var n,r=t._id,i=r.charAt(0),o=e[i],l=e[\"a\"+i],s=e[i+\"ref\"],u=e[\"a\"+i+\"ref\"],c=e[\"_\"+i+\"padplus\"],f=e[\"_\"+i+\"padminus\"],d={x:1,y:-1}[i]*e[i+\"shift\"],p=3*e.arrowsize*e.arrowwidth||0,h=p+d,m=p-d,g=3*e.startarrowsize*e.arrowwidth||0,y=g+d,v=g-d;if(u===s){var b=a.findExtremes(t,[t.r2c(o)],{ppadplus:h,ppadminus:m}),x=a.findExtremes(t,[t.r2c(l)],{ppadplus:Math.max(c,y),ppadminus:Math.max(f,v)});n={min:[b.min[0],x.min[0]],max:[b.max[0],x.max[0]]}}else y=l?y+l:y,v=l?v-l:v,n=a.findExtremes(t,[t.r2c(o)],{ppadplus:Math.max(c,h,y),ppadminus:Math.max(f,m,v)});e._extremes[r]=n}t.exports=function(e){var t=e._fullLayout;if(r.filterVisible(t.annotations).length&&e._fullData.length)return r.syncOrAsync([i,o],e)}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"./draw\":146}],142:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../registry\"),i=e(\"../../plot_api/plot_template\").arrayEditor;function o(e,t){var n,r,a,i,o,s,u,c=e._fullLayout.annotations,f=[],d=[],p=[],h=(t||[]).length;for(n=0;n<c.length;n++)if(i=(a=c[n]).clicktoshow){for(r=0;r<h;r++)if(s=(o=t[r]).xaxis,u=o.yaxis,s._id===a.xref&&u._id===a.yref&&s.d2r(o.x)===l(a._xclick,s)&&u.d2r(o.y)===l(a._yclick,u)){(a.visible?\"onout\"===i?d:p:f).push(n);break}r===h&&a.visible&&\"onout\"===i&&d.push(n)}return{on:f,off:d,explicitOff:p}}function l(e,t){return\"log\"===t.type?t.l2r(e):t.d2r(e)}t.exports={hasClickToShow:function(e,t){var n=o(e,t);return n.on.length>0||n.explicitOff.length>0},onClick:function(e,t){var n,l,s=o(e,t),u=s.on,c=s.off.concat(s.explicitOff),f={},d=e._fullLayout.annotations;if(u.length||c.length){for(n=0;n<u.length;n++)(l=i(e.layout,\"annotations\",d[u[n]])).modifyItem(\"visible\",!0),r.extendFlat(f,l.getUpdateObj());for(n=0;n<c.length;n++)(l=i(e.layout,\"annotations\",d[c[n]])).modifyItem(\"visible\",!1),r.extendFlat(f,l.getUpdateObj());return a.call(\"update\",e,{},f)}}}},{\"../../lib\":287,\"../../plot_api/plot_template\":323,\"../../registry\":378}],143:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../color\");t.exports=function(e,t,n,i){i(\"opacity\");var o=i(\"bgcolor\"),l=i(\"bordercolor\"),s=a.opacity(l);i(\"borderpad\");var u=i(\"borderwidth\"),c=i(\"showarrow\");if(i(\"text\",c?\" \":n._dfltTitle.annotation),i(\"textangle\"),r.coerceFont(i,\"font\",n.font),i(\"width\"),i(\"align\"),i(\"height\")&&i(\"valign\"),c){var f,d,p=i(\"arrowside\");-1!==p.indexOf(\"end\")&&(f=i(\"arrowhead\"),d=i(\"arrowsize\")),-1!==p.indexOf(\"start\")&&(i(\"startarrowhead\",f),i(\"startarrowsize\",d)),i(\"arrowcolor\",s?t.bordercolor:a.defaultLine),i(\"arrowwidth\",2*(s&&u||1)),i(\"standoff\"),i(\"startstandoff\")}var h=i(\"hovertext\"),m=n.hoverlabel||{};if(h){var g=i(\"hoverlabel.bgcolor\",m.bgcolor||(a.opacity(o)?a.rgb(o):a.defaultLine)),y=i(\"hoverlabel.bordercolor\",m.bordercolor||a.contrast(g));r.coerceFont(i,\"hoverlabel.font\",{family:m.font.family,size:m.font.size,color:m.font.color||y})}i(\"captureevents\",!!h)}},{\"../../lib\":287,\"../color\":157}],144:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib/to_log_range\");t.exports=function(e,t,n,i){t=t||{};var o=\"log\"===n&&\"linear\"===t.type,l=\"linear\"===n&&\"log\"===t.type;if(o||l)for(var s,u,c=e._fullLayout.annotations,f=t._id.charAt(0),d=0;d<c.length;d++)s=c[d],u=\"annotations[\"+d+\"].\",s[f+\"ref\"]===t._id&&p(f),s[\"a\"+f+\"ref\"]===t._id&&p(\"a\"+f);function p(e){var n=s[e],l=null;l=o?a(n,t.range):Math.pow(10,n),r(l)||(l=null),i(u+e,l)}}},{\"../../lib/to_log_range\":312,\"fast-isnumeric\":33}],145:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"../../plots/array_container_defaults\"),o=e(\"./common_defaults\"),l=e(\"./attributes\");function s(e,t,n){function i(n,a){return r.coerce(e,t,l,n,a)}var s=i(\"visible\"),u=i(\"clicktoshow\");if(s||u){o(e,t,n,i);for(var c=t.showarrow,f=[\"x\",\"y\"],d=[-10,-30],p={_fullLayout:n},h=0;h<2;h++){var m=f[h],g=a.coerceRef(e,t,p,m,\"\",\"paper\");if(\"paper\"!==g&&a.getFromId(p,g)._annIndices.push(t._index),a.coercePosition(t,p,i,g,m,.5),c){var y=\"a\"+m,v=a.coerceRef(e,t,p,y,\"pixel\",[\"pixel\",\"paper\"]);\"pixel\"!==v&&v!==g&&(v=t[y]=\"pixel\");var b=\"pixel\"===v?d[h]:.4;a.coercePosition(t,p,i,v,y,b)}i(m+\"anchor\"),i(m+\"shift\")}if(r.noneOrAll(e,t,[\"x\",\"y\"]),c&&r.noneOrAll(e,t,[\"ax\",\"ay\"]),u){var x=i(\"xclick\"),w=i(\"yclick\");t._xclick=void 0===x?t.x:a.cleanPosition(x,p,t.xref),t._yclick=void 0===w?t.y:a.cleanPosition(w,p,t.yref)}}}t.exports=function(e,t){i(e,t,{name:\"annotations\",handleItemDefaults:s})}},{\"../../lib\":287,\"../../plots/array_container_defaults\":329,\"../../plots/cartesian/axes\":334,\"./attributes\":140,\"./common_defaults\":143}],146:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../registry\"),i=e(\"../../plots/plots\"),o=e(\"../../lib\"),l=o.strTranslate,s=e(\"../../plots/cartesian/axes\"),u=e(\"../color\"),c=e(\"../drawing\"),f=e(\"../fx\"),d=e(\"../../lib/svg_text_utils\"),p=e(\"../../lib/setcursor\"),h=e(\"../dragelement\"),m=e(\"../../plot_api/plot_template\").arrayEditor,g=e(\"./draw_arrow_head\");function y(e,t){var n=e._fullLayout.annotations[t]||{},r=s.getFromId(e,n.xref),a=s.getFromId(e,n.yref);r&&r.setScale(),a&&a.setScale(),b(e,n,t,!1,r,a)}function v(e,t,n,r,a){var i=a[n],o=a[n+\"ref\"],l=-1!==n.indexOf(\"y\"),u=\"domain\"===s.getRefType(o),c=l?r.h:r.w;return e?u?i+(l?-t:t)/e._length:e.p2r(e.r2p(i)+t):i+(l?-t:t)/c}function b(e,t,n,i,y,b){var x,w,_=e._fullLayout,k=e._fullLayout._size,T=e._context.edits;i?(x=\"annotation-\"+i,w=i+\".annotations\"):(x=\"annotation\",w=\"annotations\");var M=m(e.layout,w,t),S=M.modifyBase,E=M.modifyItem,C=M.getUpdateObj;_._infolayer.selectAll(\".\"+x+'[data-index=\"'+n+'\"]').remove();var O=\"clip\"+_._uid+\"_ann\"+n;if(t._input&&!1!==t.visible){var A={x:{},y:{}},D=+t.textangle||0,P=_._infolayer.append(\"g\").classed(x,!0).attr(\"data-index\",String(n)).style(\"opacity\",t.opacity),R=P.append(\"g\").classed(\"annotation-text-g\",!0),L=T[t.showarrow?\"annotationTail\":\"annotationPosition\"],I=t.captureevents||T.annotationText||L,j=R.append(\"g\").style(\"pointer-events\",I?\"all\":null).call(p,\"pointer\").on(\"click\",(function(){e._dragging=!1,e.emit(\"plotly_clickannotation\",V(r.event))}));t.hovertext&&j.on(\"mouseover\",(function(){var n=t.hoverlabel,r=n.font,a=this.getBoundingClientRect(),i=e.getBoundingClientRect();f.loneHover({x0:a.left-i.left,x1:a.right-i.left,y:(a.top+a.bottom)/2-i.top,text:t.hovertext,color:n.bgcolor,borderColor:n.bordercolor,fontFamily:r.family,fontSize:r.size,fontColor:r.color},{container:_._hoverlayer.node(),outerContainer:_._paper.node(),gd:e})})).on(\"mouseout\",(function(){f.loneUnhover(_._hoverlayer.node())}));var N=t.borderwidth,z=t.borderpad,F=N+z,Z=j.append(\"rect\").attr(\"class\",\"bg\").style(\"stroke-width\",N+\"px\").call(u.stroke,t.bordercolor).call(u.fill,t.bgcolor),B=t.width||t.height,q=_._topclips.selectAll(\"#\"+O).data(B?[0]:[]);q.enter().append(\"clipPath\").classed(\"annclip\",!0).attr(\"id\",O).append(\"rect\"),q.exit().remove();var H=t.font,U=_._meta?o.templateString(t.text,_._meta):t.text,W=j.append(\"text\").classed(\"annotation-text\",!0).text(U);T.annotationText?W.call(d.makeEditable,{delegate:j,gd:e}).call(Y).on(\"edit\",(function(n){t.text=n,this.call(Y),E(\"text\",n),y&&y.autorange&&S(y._name+\".autorange\",!0),b&&b.autorange&&S(b._name+\".autorange\",!0),a.call(\"_guiRelayout\",e,C())})):W.call(Y)}else r.selectAll(\"#\"+O).remove();function V(e){var r={index:n,annotation:t._input,fullAnnotation:t,event:e};return i&&(r.subplotId=i),r}function Y(n){return n.call(c.font,H).attr({\"text-anchor\":{left:\"start\",right:\"end\"}[t.align]||\"middle\"}),d.convertToTspans(n,e,G),n}function G(){var n=W.selectAll(\"a\");1===n.size()&&n.text()===W.text()&&j.insert(\"a\",\":first-child\").attr({\"xlink:xlink:href\":n.attr(\"xlink:href\"),\"xlink:xlink:show\":n.attr(\"xlink:show\")}).style({cursor:\"pointer\"}).node().appendChild(Z.node());var r=j.select(\".annotation-text-math-group\"),f=!r.empty(),m=c.bBox((f?r:W).node()),x=m.width,w=m.height,M=t.width||x,I=t.height||w,z=Math.round(M+2*F),H=Math.round(I+2*F);function U(e,t){return\"auto\"===t&&(t=e<1/3?\"left\":e>2/3?\"right\":\"center\"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}for(var Y=!1,G=[\"x\",\"y\"],$=0;$<G.length;$++){var X,K,J,Q,ee,te=G[$],ne=t[te+\"ref\"]||te,re=t[\"a\"+te+\"ref\"],ae={x:y,y:b}[te],ie=(D+(\"x\"===te?0:-90))*Math.PI/180,oe=z*Math.cos(ie),le=H*Math.sin(ie),se=Math.abs(oe)+Math.abs(le),ue=t[te+\"anchor\"],ce=t[te+\"shift\"]*(\"x\"===te?1:-1),fe=A[te],de=s.getRefType(ne);if(ae&&\"domain\"!==de){var pe=ae.r2fraction(t[te]);(pe<0||pe>1)&&(re===ne?((pe=ae.r2fraction(t[\"a\"+te]))<0||pe>1)&&(Y=!0):Y=!0),X=ae._offset+ae.r2p(t[te]),Q=.5}else{var he=\"domain\"===de;\"x\"===te?(J=t[te],X=he?ae._offset+ae._length*J:X=k.l+k.w*J):(J=1-t[te],X=he?ae._offset+ae._length*J:X=k.t+k.h*J),Q=t.showarrow?.5:J}if(t.showarrow){fe.head=X;var me=t[\"a\"+te];if(ee=oe*U(.5,t.xanchor)-le*U(.5,t.yanchor),re===ne){var ge=s.getRefType(re);\"domain\"===ge?(\"y\"===te&&(me=1-me),fe.tail=ae._offset+ae._length*me):\"paper\"===ge?\"y\"===te?(me=1-me,fe.tail=k.t+k.h*me):fe.tail=k.l+k.w*me:fe.tail=ae._offset+ae.r2p(me),K=ee}else fe.tail=X+me,K=ee+me;fe.text=fe.tail+ee;var ye=_[\"x\"===te?\"width\":\"height\"];if(\"paper\"===ne&&(fe.head=o.constrain(fe.head,1,ye-1)),\"pixel\"===re){var ve=-Math.max(fe.tail-3,fe.text),be=Math.min(fe.tail+3,fe.text)-ye;ve>0?(fe.tail+=ve,fe.text+=ve):be>0&&(fe.tail-=be,fe.text-=be)}fe.tail+=ce,fe.head+=ce}else K=ee=se*U(Q,ue),fe.text=X+ee;fe.text+=ce,ee+=ce,K+=ce,t[\"_\"+te+\"padplus\"]=se/2+K,t[\"_\"+te+\"padminus\"]=se/2-K,t[\"_\"+te+\"size\"]=se,t[\"_\"+te+\"shift\"]=ee}if(Y)j.remove();else{var xe=0,we=0;if(\"left\"!==t.align&&(xe=(M-x)*(\"center\"===t.align?.5:1)),\"top\"!==t.valign&&(we=(I-w)*(\"middle\"===t.valign?.5:1)),f)r.select(\"svg\").attr({x:F+xe-1,y:F+we}).call(c.setClipUrl,B?O:null,e);else{var _e=F+we-m.top,ke=F+xe-m.left;W.call(d.positionText,ke,_e).call(c.setClipUrl,B?O:null,e)}q.select(\"rect\").call(c.setRect,F,F,M,I),Z.call(c.setRect,N/2,N/2,z-N,H-N),j.call(c.setTranslate,Math.round(A.x.text-z/2),Math.round(A.y.text-H/2)),R.attr({transform:\"rotate(\"+D+\",\"+A.x.text+\",\"+A.y.text+\")\"});var Te,Me=function(n,r){P.selectAll(\".annotation-arrow-g\").remove();var s=A.x.head,f=A.y.head,d=A.x.tail+n,p=A.y.tail+r,m=A.x.text+n,x=A.y.text+r,w=o.rotationXYMatrix(D,m,x),_=o.apply2DTransform(w),M=o.apply2DTransform2(w),O=+Z.attr(\"width\"),L=+Z.attr(\"height\"),I=m-.5*O,N=I+O,z=x-.5*L,F=z+L,B=[[I,z,I,F],[I,F,N,F],[N,F,N,z],[N,z,I,z]].map(M);if(!B.reduce((function(e,t){return e^!!o.segmentsIntersect(s,f,s+1e6,f+1e6,t[0],t[1],t[2],t[3])}),!1)){B.forEach((function(e){var t=o.segmentsIntersect(d,p,s,f,e[0],e[1],e[2],e[3]);t&&(d=t.x,p=t.y)}));var q=t.arrowwidth,H=t.arrowcolor,U=t.arrowside,W=P.append(\"g\").style({opacity:u.opacity(H)}).classed(\"annotation-arrow-g\",!0),V=W.append(\"path\").attr(\"d\",\"M\"+d+\",\"+p+\"L\"+s+\",\"+f).style(\"stroke-width\",q+\"px\").call(u.stroke,u.rgb(H));if(g(V,U,t),T.annotationPosition&&V.node().parentNode&&!i){var Y=s,G=f;if(t.standoff){var $=Math.sqrt(Math.pow(s-d,2)+Math.pow(f-p,2));Y+=t.standoff*(d-s)/$,G+=t.standoff*(p-f)/$}var X,K,J=W.append(\"path\").classed(\"annotation-arrow\",!0).classed(\"anndrag\",!0).classed(\"cursor-move\",!0).attr({d:\"M3,3H-3V-3H3ZM0,0L\"+(d-Y)+\",\"+(p-G),transform:l(Y,G)}).style(\"stroke-width\",q+6+\"px\").call(u.stroke,\"rgba(0,0,0,0)\").call(u.fill,\"rgba(0,0,0,0)\");h.init({element:J.node(),gd:e,prepFn:function(){var e=c.getTranslate(j);X=e.x,K=e.y,y&&y.autorange&&S(y._name+\".autorange\",!0),b&&b.autorange&&S(b._name+\".autorange\",!0)},moveFn:function(e,n){var r=_(X,K),a=r[0]+e,i=r[1]+n;j.call(c.setTranslate,a,i),E(\"x\",v(y,e,\"x\",k,t)),E(\"y\",v(b,n,\"y\",k,t)),t.axref===t.xref&&E(\"ax\",v(y,e,\"ax\",k,t)),t.ayref===t.yref&&E(\"ay\",v(b,n,\"ay\",k,t)),W.attr(\"transform\",l(e,n)),R.attr({transform:\"rotate(\"+D+\",\"+a+\",\"+i+\")\"})},doneFn:function(){a.call(\"_guiRelayout\",e,C());var t=document.querySelector(\".js-notes-box-panel\");t&&t.redraw(t.selectedObj)}})}}};t.showarrow&&Me(0,0),L&&h.init({element:j.node(),gd:e,prepFn:function(){Te=R.attr(\"transform\")},moveFn:function(e,n){var r=\"pointer\";if(t.showarrow)t.axref===t.xref?E(\"ax\",v(y,e,\"ax\",k,t)):E(\"ax\",t.ax+e),t.ayref===t.yref?E(\"ay\",v(b,n,\"ay\",k.w,t)):E(\"ay\",t.ay+n),Me(e,n);else{if(i)return;var a,o;if(y)a=v(y,e,\"x\",k,t);else{var s=t._xsize/k.w,u=t.x+(t._xshift-t.xshift)/k.w-s/2;a=h.align(u+e/k.w,s,0,1,t.xanchor)}if(b)o=v(b,n,\"y\",k,t);else{var c=t._ysize/k.h,f=t.y-(t._yshift+t.yshift)/k.h-c/2;o=h.align(f-n/k.h,c,0,1,t.yanchor)}E(\"x\",a),E(\"y\",o),y&&b||(r=h.getCursor(y?.5:a,b?.5:o,t.xanchor,t.yanchor))}R.attr({transform:l(e,n)+Te}),p(j,r)},clickFn:function(n,r){t.captureevents&&e.emit(\"plotly_clickannotation\",V(r))},doneFn:function(){p(j),a.call(\"_guiRelayout\",e,C());var t=document.querySelector(\".js-notes-box-panel\");t&&t.redraw(t.selectedObj)}})}}}t.exports={draw:function(e){var t=e._fullLayout;t._infolayer.selectAll(\".annotation\").remove();for(var n=0;n<t.annotations.length;n++)t.annotations[n].visible&&y(e,n);return i.previousPromises(e)},drawOne:y,drawRaw:b}},{\"../../lib\":287,\"../../lib/setcursor\":307,\"../../lib/svg_text_utils\":310,\"../../plot_api/plot_template\":323,\"../../plots/cartesian/axes\":334,\"../../plots/plots\":371,\"../../registry\":378,\"../color\":157,\"../dragelement\":176,\"../drawing\":179,\"../fx\":197,\"./draw_arrow_head\":147,\"@plotly/d3\":20}],147:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../color\"),i=e(\"./arrow_paths\"),o=e(\"../../lib\"),l=o.strScale,s=o.strRotate,u=o.strTranslate;t.exports=function(e,t,n){var o,c,f,d,p=e.node(),h=i[n.arrowhead||0],m=i[n.startarrowhead||0],g=(n.arrowwidth||1)*(n.arrowsize||1),y=(n.arrowwidth||1)*(n.startarrowsize||1),v=t.indexOf(\"start\")>=0,b=t.indexOf(\"end\")>=0,x=h.backoff*g+n.standoff,w=m.backoff*y+n.startstandoff;if(\"line\"===p.nodeName){o={x:+e.attr(\"x1\"),y:+e.attr(\"y1\")},c={x:+e.attr(\"x2\"),y:+e.attr(\"y2\")};var _=o.x-c.x,k=o.y-c.y;if(d=(f=Math.atan2(k,_))+Math.PI,x&&w&&x+w>Math.sqrt(_*_+k*k))return void L();if(x){if(x*x>_*_+k*k)return void L();var T=x*Math.cos(f),M=x*Math.sin(f);c.x+=T,c.y+=M,e.attr({x2:c.x,y2:c.y})}if(w){if(w*w>_*_+k*k)return void L();var S=w*Math.cos(f),E=w*Math.sin(f);o.x-=S,o.y-=E,e.attr({x1:o.x,y1:o.y})}}else if(\"path\"===p.nodeName){var C=p.getTotalLength(),O=\"\";if(C<x+w)return void L();var A=p.getPointAtLength(0),D=p.getPointAtLength(.1);f=Math.atan2(A.y-D.y,A.x-D.x),o=p.getPointAtLength(Math.min(w,C)),O=\"0px,\"+w+\"px,\";var P=p.getPointAtLength(C),R=p.getPointAtLength(C-.1);d=Math.atan2(P.y-R.y,P.x-R.x),c=p.getPointAtLength(Math.max(0,C-x)),O+=C-(O?w+x:x)+\"px,\"+C+\"px\",e.style(\"stroke-dasharray\",O)}function L(){e.style(\"stroke-dasharray\",\"0px,100px\")}function I(t,i,o,c){t.path&&(t.noRotate&&(o=0),r.select(p.parentNode).append(\"path\").attr({class:e.attr(\"class\"),d:t.path,transform:u(i.x,i.y)+s(180*o/Math.PI)+l(c)}).style({fill:a.rgb(n.arrowcolor),\"stroke-width\":0}))}v&&I(m,o,f,y),b&&I(h,c,d,g)}},{\"../../lib\":287,\"../color\":157,\"./arrow_paths\":139,\"@plotly/d3\":20}],148:[function(e,t,n){\"use strict\";var r=e(\"./draw\"),a=e(\"./click\");t.exports={moduleType:\"component\",name:\"annotations\",layoutAttributes:e(\"./attributes\"),supplyLayoutDefaults:e(\"./defaults\"),includeBasePlot:e(\"../../plots/cartesian/include_components\")(\"annotations\"),calcAutorange:e(\"./calc_autorange\"),draw:r.draw,drawOne:r.drawOne,drawRaw:r.drawRaw,hasClickToShow:a.hasClickToShow,onClick:a.onClick,convertCoords:e(\"./convert_coords\")}},{\"../../plots/cartesian/include_components\":347,\"./attributes\":140,\"./calc_autorange\":141,\"./click\":142,\"./convert_coords\":144,\"./defaults\":145,\"./draw\":146}],149:[function(e,t,n){\"use strict\";var r=e(\"../annotations/attributes\"),a=e(\"../../plot_api/edit_types\").overrideAll,i=e(\"../../plot_api/plot_template\").templatedArray;t.exports=a(i(\"annotation\",{visible:r.visible,x:{valType:\"any\"},y:{valType:\"any\"},z:{valType:\"any\"},ax:{valType:\"number\"},ay:{valType:\"number\"},xanchor:r.xanchor,xshift:r.xshift,yanchor:r.yanchor,yshift:r.yshift,text:r.text,textangle:r.textangle,font:r.font,width:r.width,height:r.height,opacity:r.opacity,align:r.align,valign:r.valign,bgcolor:r.bgcolor,bordercolor:r.bordercolor,borderpad:r.borderpad,borderwidth:r.borderwidth,showarrow:r.showarrow,arrowcolor:r.arrowcolor,arrowhead:r.arrowhead,startarrowhead:r.startarrowhead,arrowside:r.arrowside,arrowsize:r.arrowsize,startarrowsize:r.startarrowsize,arrowwidth:r.arrowwidth,standoff:r.standoff,startstandoff:r.startstandoff,hovertext:r.hovertext,hoverlabel:r.hoverlabel,captureevents:r.captureevents}),\"calc\",\"from-root\")},{\"../../plot_api/edit_types\":316,\"../../plot_api/plot_template\":323,\"../annotations/attributes\":140}],150:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\");function i(e,t){var n=t.fullSceneLayout.domain,i=t.fullLayout._size,o={pdata:null,type:\"linear\",autorange:!1,range:[-1/0,1/0]};e._xa={},r.extendFlat(e._xa,o),a.setConvert(e._xa),e._xa._offset=i.l+n.x[0]*i.w,e._xa.l2p=function(){return.5*(1+e._pdata[0]/e._pdata[3])*i.w*(n.x[1]-n.x[0])},e._ya={},r.extendFlat(e._ya,o),a.setConvert(e._ya),e._ya._offset=i.t+(1-n.y[1])*i.h,e._ya.l2p=function(){return.5*(1-e._pdata[1]/e._pdata[3])*i.h*(n.y[1]-n.y[0])}}t.exports=function(e){for(var t=e.fullSceneLayout.annotations,n=0;n<t.length;n++)i(t[n],e);e.fullLayout._infolayer.selectAll(\".annotation-\"+e.id).remove()}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334}],151:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"../../plots/array_container_defaults\"),o=e(\"../annotations/common_defaults\"),l=e(\"./attributes\");function s(e,t,n,i){function s(n,a){return r.coerce(e,t,l,n,a)}function u(e){var r=e+\"axis\",i={_fullLayout:{}};return i._fullLayout[r]=n[r],a.coercePosition(t,i,s,e,e,.5)}s(\"visible\")&&(o(e,t,i.fullLayout,s),u(\"x\"),u(\"y\"),u(\"z\"),r.noneOrAll(e,t,[\"x\",\"y\",\"z\"]),t.xref=\"x\",t.yref=\"y\",t.zref=\"z\",s(\"xanchor\"),s(\"yanchor\"),s(\"xshift\"),s(\"yshift\"),t.showarrow&&(t.axref=\"pixel\",t.ayref=\"pixel\",s(\"ax\",-10),s(\"ay\",-30),r.noneOrAll(e,t,[\"ax\",\"ay\"])))}t.exports=function(e,t,n){i(e,t,{name:\"annotations\",handleItemDefaults:s,fullLayout:n.fullLayout})}},{\"../../lib\":287,\"../../plots/array_container_defaults\":329,\"../../plots/cartesian/axes\":334,\"../annotations/common_defaults\":143,\"./attributes\":149}],152:[function(e,t,n){\"use strict\";var r=e(\"../annotations/draw\").drawRaw,a=e(\"../../plots/gl3d/project\"),i=[\"x\",\"y\",\"z\"];t.exports=function(e){for(var t=e.fullSceneLayout,n=e.dataScale,o=t.annotations,l=0;l<o.length;l++){for(var s=o[l],u=!1,c=0;c<3;c++){var f=i[c],d=s[f],p=t[f+\"axis\"].r2fraction(d);if(p<0||p>1){u=!0;break}}u?e.fullLayout._infolayer.select(\".annotation-\"+e.id+'[data-index=\"'+l+'\"]').remove():(s._pdata=a(e.glplot.cameraParams,[t.xaxis.r2l(s.x)*n[0],t.yaxis.r2l(s.y)*n[1],t.zaxis.r2l(s.z)*n[2]]),r(e.graphDiv,s,l,e.id,s._xa,s._ya))}}},{\"../../plots/gl3d/project\":368,\"../annotations/draw\":146}],153:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../lib\");t.exports={moduleType:\"component\",name:\"annotations3d\",schema:{subplots:{scene:{annotations:e(\"./attributes\")}}},layoutAttributes:e(\"./attributes\"),handleDefaults:e(\"./defaults\"),includeBasePlot:function(e,t){var n=r.subplotsRegistry.gl3d;if(n)for(var i=n.attrRegex,o=Object.keys(e),l=0;l<o.length;l++){var s=o[l];i.test(s)&&(e[s].annotations||[]).length&&(a.pushUnique(t._basePlotModules,n),a.pushUnique(t._subplots.gl3d,s))}},convert:e(\"./convert\"),draw:e(\"./draw\")}},{\"../../lib\":287,\"../../registry\":378,\"./attributes\":149,\"./convert\":150,\"./defaults\":151,\"./draw\":152}],154:[function(e,t,n){\"use strict\";t.exports=e(\"world-calendars/dist/main\"),e(\"world-calendars/dist/plus\"),e(\"world-calendars/dist/calendars/chinese\"),e(\"world-calendars/dist/calendars/coptic\"),e(\"world-calendars/dist/calendars/discworld\"),e(\"world-calendars/dist/calendars/ethiopian\"),e(\"world-calendars/dist/calendars/hebrew\"),e(\"world-calendars/dist/calendars/islamic\"),e(\"world-calendars/dist/calendars/julian\"),e(\"world-calendars/dist/calendars/mayan\"),e(\"world-calendars/dist/calendars/nanakshahi\"),e(\"world-calendars/dist/calendars/nepali\"),e(\"world-calendars/dist/calendars/persian\"),e(\"world-calendars/dist/calendars/taiwan\"),e(\"world-calendars/dist/calendars/thai\"),e(\"world-calendars/dist/calendars/ummalqura\")},{\"world-calendars/dist/calendars/chinese\":123,\"world-calendars/dist/calendars/coptic\":124,\"world-calendars/dist/calendars/discworld\":125,\"world-calendars/dist/calendars/ethiopian\":126,\"world-calendars/dist/calendars/hebrew\":127,\"world-calendars/dist/calendars/islamic\":128,\"world-calendars/dist/calendars/julian\":129,\"world-calendars/dist/calendars/mayan\":130,\"world-calendars/dist/calendars/nanakshahi\":131,\"world-calendars/dist/calendars/nepali\":132,\"world-calendars/dist/calendars/persian\":133,\"world-calendars/dist/calendars/taiwan\":134,\"world-calendars/dist/calendars/thai\":135,\"world-calendars/dist/calendars/ummalqura\":136,\"world-calendars/dist/main\":137,\"world-calendars/dist/plus\":138}],155:[function(e,t,n){\"use strict\";var r=e(\"./calendars\"),a=e(\"../../lib\"),i=e(\"../../constants/numerical\"),o=i.EPOCHJD,l=i.ONEDAY,s={valType:\"enumerated\",values:a.sortObjectKeys(r.calendars),editType:\"calc\",dflt:\"gregorian\"},u=function(e,t,n,r){var i={};return i[n]=s,a.coerce(e,t,i,n,r)},c={d:{0:\"dd\",\"-\":\"d\"},e:{0:\"d\",\"-\":\"d\"},a:{0:\"D\",\"-\":\"D\"},A:{0:\"DD\",\"-\":\"DD\"},j:{0:\"oo\",\"-\":\"o\"},W:{0:\"ww\",\"-\":\"w\"},m:{0:\"mm\",\"-\":\"m\"},b:{0:\"M\",\"-\":\"M\"},B:{0:\"MM\",\"-\":\"MM\"},y:{0:\"yy\",\"-\":\"yy\"},Y:{0:\"yyyy\",\"-\":\"yyyy\"},U:\"##\",w:\"##\",c:{0:\"D M d %X yyyy\",\"-\":\"D M d %X yyyy\"},x:{0:\"mm/dd/yyyy\",\"-\":\"mm/dd/yyyy\"}},f={};function d(e){var t=f[e];return t||(f[e]=r.instance(e))}function p(e){return a.extendFlat({},s,{description:e})}function h(e){return\"Sets the calendar system to use with `\"+e+\"` date data.\"}var m={xcalendar:p(h(\"x\"))},g=a.extendFlat({},m,{ycalendar:p(h(\"y\"))}),y=a.extendFlat({},g,{zcalendar:p(h(\"z\"))}),v=p([\"Sets the calendar system to use for `range` and `tick0`\",\"if this is a date axis. This does not set the calendar for\",\"interpreting data on this axis, that's specified in the trace\",\"or via the global `layout.calendar`\"].join(\" \"));t.exports={moduleType:\"component\",name:\"calendars\",schema:{traces:{scatter:g,bar:g,box:g,heatmap:g,contour:g,histogram:g,histogram2d:g,histogram2dcontour:g,scatter3d:y,surface:y,mesh3d:y,scattergl:g,ohlc:m,candlestick:m},layout:{calendar:p([\"Sets the default calendar system to use for interpreting and\",\"displaying dates throughout the plot.\"].join(\" \"))},subplots:{xaxis:{calendar:v},yaxis:{calendar:v},scene:{xaxis:{calendar:v},yaxis:{calendar:v},zaxis:{calendar:v}},polar:{radialaxis:{calendar:v}}},transforms:{filter:{valuecalendar:p([\"WARNING: All transforms are deprecated and may be removed from the API in next major version.\",\"Sets the calendar system to use for `value`, if it is a date.\"].join(\" \")),targetcalendar:p([\"WARNING: All transforms are deprecated and may be removed from the API in next major version.\",\"Sets the calendar system to use for `target`, if it is an\",\"array of dates. If `target` is a string (eg *x*) we use the\",\"corresponding trace attribute (eg `xcalendar`) if it exists,\",\"even if `targetcalendar` is provided.\"].join(\" \"))}}},layoutAttributes:s,handleDefaults:u,handleTraceDefaults:function(e,t,n,r){for(var a=0;a<n.length;a++)u(e,t,n[a]+\"calendar\",r.calendar)},CANONICAL_SUNDAY:{chinese:\"2000-01-02\",coptic:\"2000-01-03\",discworld:\"2000-01-03\",ethiopian:\"2000-01-05\",hebrew:\"5000-01-01\",islamic:\"1000-01-02\",julian:\"2000-01-03\",mayan:\"5000-01-01\",nanakshahi:\"1000-01-05\",nepali:\"2000-01-05\",persian:\"1000-01-01\",jalali:\"1000-01-01\",taiwan:\"1000-01-04\",thai:\"2000-01-04\",ummalqura:\"1400-01-06\"},CANONICAL_TICK:{chinese:\"2000-01-01\",coptic:\"2000-01-01\",discworld:\"2000-01-01\",ethiopian:\"2000-01-01\",hebrew:\"5000-01-01\",islamic:\"1000-01-01\",julian:\"2000-01-01\",mayan:\"5000-01-01\",nanakshahi:\"1000-01-01\",nepali:\"2000-01-01\",persian:\"1000-01-01\",jalali:\"1000-01-01\",taiwan:\"1000-01-01\",thai:\"2000-01-01\",ummalqura:\"1400-01-01\"},DFLTRANGE:{chinese:[\"2000-01-01\",\"2001-01-01\"],coptic:[\"1700-01-01\",\"1701-01-01\"],discworld:[\"1800-01-01\",\"1801-01-01\"],ethiopian:[\"2000-01-01\",\"2001-01-01\"],hebrew:[\"5700-01-01\",\"5701-01-01\"],islamic:[\"1400-01-01\",\"1401-01-01\"],julian:[\"2000-01-01\",\"2001-01-01\"],mayan:[\"5200-01-01\",\"5201-01-01\"],nanakshahi:[\"0500-01-01\",\"0501-01-01\"],nepali:[\"2000-01-01\",\"2001-01-01\"],persian:[\"1400-01-01\",\"1401-01-01\"],jalali:[\"1400-01-01\",\"1401-01-01\"],taiwan:[\"0100-01-01\",\"0101-01-01\"],thai:[\"2500-01-01\",\"2501-01-01\"],ummalqura:[\"1400-01-01\",\"1401-01-01\"]},getCal:d,worldCalFmt:function(e,t,n){for(var r,a,i,s,u,f=Math.floor((t+.05)/l)+o,p=d(n).fromJD(f),h=0;-1!==(h=e.indexOf(\"%\",h));)\"0\"===(r=e.charAt(h+1))||\"-\"===r||\"_\"===r?(i=3,a=e.charAt(h+2),\"_\"===r&&(r=\"-\")):(a=r,r=\"0\",i=2),(s=c[a])?(u=\"##\"===s?\"##\":p.formatDate(s[r]),e=e.substr(0,h)+u+e.substr(h+i),h+=u.length):h+=i;return e}}},{\"../../constants/numerical\":267,\"../../lib\":287,\"./calendars\":154}],156:[function(e,t,n){\"use strict\";n.defaults=[\"#1f77b4\",\"#ff7f0e\",\"#2ca02c\",\"#d62728\",\"#9467bd\",\"#8c564b\",\"#e377c2\",\"#7f7f7f\",\"#bcbd22\",\"#17becf\"],n.defaultLine=\"#444\",n.lightLine=\"#eee\",n.background=\"#fff\",n.borderLine=\"#BEC8D9\",n.lightFraction=1e3/11},{}],157:[function(e,t,n){\"use strict\";var r=e(\"tinycolor2\"),a=e(\"fast-isnumeric\"),i=e(\"../../lib/array\").isTypedArray,o=t.exports={},l=e(\"./attributes\");o.defaults=l.defaults;var s=o.defaultLine=l.defaultLine;o.lightLine=l.lightLine;var u=o.background=l.background;function c(e){if(a(e)||\"string\"!=typeof e)return e;var t=e.trim();if(\"rgb\"!==t.substr(0,3))return e;var n=t.match(/^rgba?\\s*\\(([^()]*)\\)$/);if(!n)return e;var r=n[1].trim().split(/\\s*[\\s,]\\s*/),i=\"a\"===t.charAt(3)&&4===r.length;if(!i&&3!==r.length)return e;for(var o=0;o<r.length;o++){if(!r[o].length)return e;if(r[o]=Number(r[o]),!(r[o]>=0))return e;if(3===o)r[o]>1&&(r[o]=1);else if(r[o]>=1)return e}var l=Math.round(255*r[0])+\", \"+Math.round(255*r[1])+\", \"+Math.round(255*r[2]);return i?\"rgba(\"+l+\", \"+r[3]+\")\":\"rgb(\"+l+\")\"}o.tinyRGB=function(e){var t=e.toRgb();return\"rgb(\"+Math.round(t.r)+\", \"+Math.round(t.g)+\", \"+Math.round(t.b)+\")\"},o.rgb=function(e){return o.tinyRGB(r(e))},o.opacity=function(e){return e?r(e).getAlpha():0},o.addOpacity=function(e,t){var n=r(e).toRgb();return\"rgba(\"+Math.round(n.r)+\", \"+Math.round(n.g)+\", \"+Math.round(n.b)+\", \"+t+\")\"},o.combine=function(e,t){var n=r(e).toRgb();if(1===n.a)return r(e).toRgbString();var a=r(t||u).toRgb(),i=1===a.a?a:{r:255*(1-a.a)+a.r*a.a,g:255*(1-a.a)+a.g*a.a,b:255*(1-a.a)+a.b*a.a},o={r:i.r*(1-n.a)+n.r*n.a,g:i.g*(1-n.a)+n.g*n.a,b:i.b*(1-n.a)+n.b*n.a};return r(o).toRgbString()},o.contrast=function(e,t,n){var a=r(e);return 1!==a.getAlpha()&&(a=r(o.combine(e,u))),(a.isDark()?t?a.lighten(t):u:n?a.darken(n):s).toString()},o.stroke=function(e,t){var n=r(t);e.style({stroke:o.tinyRGB(n),\"stroke-opacity\":n.getAlpha()})},o.fill=function(e,t){var n=r(t);e.style({fill:o.tinyRGB(n),\"fill-opacity\":n.getAlpha()})},o.clean=function(e){if(e&&\"object\"==typeof e){var t,n,r,a,l=Object.keys(e);for(t=0;t<l.length;t++)if(a=e[r=l[t]],\"color\"===r.substr(r.length-5))if(Array.isArray(a))for(n=0;n<a.length;n++)a[n]=c(a[n]);else e[r]=c(a);else if(\"colorscale\"===r.substr(r.length-10)&&Array.isArray(a))for(n=0;n<a.length;n++)Array.isArray(a[n])&&(a[n][1]=c(a[n][1]));else if(Array.isArray(a)){var s=a[0];if(!Array.isArray(s)&&s&&\"object\"==typeof s)for(n=0;n<a.length;n++)o.clean(a[n])}else a&&\"object\"==typeof a&&!i(a)&&o.clean(a)}}},{\"../../lib/array\":273,\"./attributes\":156,\"fast-isnumeric\":33,tinycolor2:121}],158:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/layout_attributes\"),a=e(\"../../plots/font_attributes\"),i=e(\"../../lib/extend\").extendFlat,o=e(\"../../plot_api/edit_types\").overrideAll;t.exports=o({orientation:{valType:\"enumerated\",values:[\"h\",\"v\"],dflt:\"v\"},thicknessmode:{valType:\"enumerated\",values:[\"fraction\",\"pixels\"],dflt:\"pixels\"},thickness:{valType:\"number\",min:0,dflt:30},lenmode:{valType:\"enumerated\",values:[\"fraction\",\"pixels\"],dflt:\"fraction\"},len:{valType:\"number\",min:0,dflt:1},x:{valType:\"number\",min:-2,max:3},xanchor:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"]},xpad:{valType:\"number\",min:0,dflt:10},y:{valType:\"number\",min:-2,max:3},yanchor:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"]},ypad:{valType:\"number\",min:0,dflt:10},outlinecolor:r.linecolor,outlinewidth:r.linewidth,bordercolor:r.linecolor,borderwidth:{valType:\"number\",min:0,dflt:0},bgcolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\"},tickmode:r.tickmode,nticks:r.nticks,tick0:r.tick0,dtick:r.dtick,tickvals:r.tickvals,ticktext:r.ticktext,ticks:i({},r.ticks,{dflt:\"\"}),ticklabeloverflow:i({},r.ticklabeloverflow,{}),ticklabelposition:{valType:\"enumerated\",values:[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside left\",\"inside left\",\"outside right\",\"inside right\",\"outside bottom\",\"inside bottom\"],dflt:\"outside\"},ticklen:r.ticklen,tickwidth:r.tickwidth,tickcolor:r.tickcolor,ticklabelstep:r.ticklabelstep,showticklabels:r.showticklabels,tickfont:a({}),tickangle:r.tickangle,tickformat:r.tickformat,tickformatstops:r.tickformatstops,tickprefix:r.tickprefix,showtickprefix:r.showtickprefix,ticksuffix:r.ticksuffix,showticksuffix:r.showticksuffix,separatethousands:r.separatethousands,exponentformat:r.exponentformat,minexponent:r.minexponent,showexponent:r.showexponent,title:{text:{valType:\"string\"},font:a({}),side:{valType:\"enumerated\",values:[\"right\",\"top\",\"bottom\"]}},_deprecated:{title:{valType:\"string\"},titlefont:a({}),titleside:{valType:\"enumerated\",values:[\"right\",\"top\",\"bottom\"],dflt:\"top\"}}},\"colorbars\",\"from-root\")},{\"../../lib/extend\":281,\"../../plot_api/edit_types\":316,\"../../plots/cartesian/layout_attributes\":349,\"../../plots/font_attributes\":365}],159:[function(e,t,n){\"use strict\";t.exports={cn:{colorbar:\"colorbar\",cbbg:\"cbbg\",cbfill:\"cbfill\",cbfills:\"cbfills\",cbline:\"cbline\",cblines:\"cblines\",cbaxis:\"cbaxis\",cbtitleunshift:\"cbtitleunshift\",cbtitle:\"cbtitle\",cboutline:\"cboutline\",crisp:\"crisp\",jsPlaceholder:\"js-placeholder\"}}},{}],160:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plot_api/plot_template\"),i=e(\"../../plots/cartesian/tick_value_defaults\"),o=e(\"../../plots/cartesian/tick_mark_defaults\"),l=e(\"../../plots/cartesian/tick_label_defaults\"),s=e(\"../../plots/cartesian/prefix_suffix_defaults\"),u=e(\"./attributes\");t.exports=function(e,t,n){var c=a.newContainer(t,\"colorbar\"),f=e.colorbar||{};function d(e,t){return r.coerce(f,c,u,e,t)}var p=n.margin||{t:0,b:0,l:0,r:0},h=n.width-p.l-p.r,m=n.height-p.t-p.b,g=\"v\"===d(\"orientation\"),y=d(\"thicknessmode\");d(\"thickness\",\"fraction\"===y?30/(g?h:m):30);var v=d(\"lenmode\");d(\"len\",\"fraction\"===v?1:g?m:h),d(\"x\",g?1.02:.5),d(\"xanchor\",g?\"left\":\"center\"),d(\"xpad\"),d(\"y\",g?.5:1.02),d(\"yanchor\",g?\"middle\":\"bottom\"),d(\"ypad\"),r.noneOrAll(f,c,[\"x\",\"y\"]),d(\"outlinecolor\"),d(\"outlinewidth\"),d(\"bordercolor\"),d(\"borderwidth\"),d(\"bgcolor\");var b=r.coerce(f,c,{ticklabelposition:{valType:\"enumerated\",dflt:\"outside\",values:g?[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside bottom\",\"inside bottom\"]:[\"outside\",\"inside\",\"outside left\",\"inside left\",\"outside right\",\"inside right\"]}},\"ticklabelposition\");d(\"ticklabeloverflow\",-1!==b.indexOf(\"inside\")?\"hide past domain\":\"hide past div\"),i(f,c,d,\"linear\");var x=n.font,w={outerTicks:!1,font:x};-1!==b.indexOf(\"inside\")&&(w.bgColor=\"black\"),s(f,c,d,\"linear\",w),l(f,c,d,\"linear\",w),o(f,c,d,\"linear\",w),d(\"title.text\",n._dfltTitle.colorbar);var _=c.tickfont,k=r.extendFlat({},_,{color:x.color,size:r.bigFont(_.size)});r.coerceFont(d,\"title.font\",k),d(\"title.side\",g?\"top\":\"right\")}},{\"../../lib\":287,\"../../plot_api/plot_template\":323,\"../../plots/cartesian/prefix_suffix_defaults\":353,\"../../plots/cartesian/tick_label_defaults\":358,\"../../plots/cartesian/tick_mark_defaults\":359,\"../../plots/cartesian/tick_value_defaults\":360,\"./attributes\":158}],161:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"tinycolor2\"),i=e(\"../../plots/plots\"),o=e(\"../../registry\"),l=e(\"../../plots/cartesian/axes\"),s=e(\"../dragelement\"),u=e(\"../../lib\"),c=u.strTranslate,f=e(\"../../lib/extend\").extendFlat,d=e(\"../../lib/setcursor\"),p=e(\"../drawing\"),h=e(\"../color\"),m=e(\"../titles\"),g=e(\"../../lib/svg_text_utils\"),y=e(\"../colorscale/helpers\").flipScale,v=e(\"../../plots/cartesian/axis_defaults\"),b=e(\"../../plots/cartesian/position_defaults\"),x=e(\"../../plots/cartesian/layout_attributes\"),w=e(\"../../constants/alignment\"),_=w.LINE_SPACING,k=w.FROM_TL,T=w.FROM_BR,M=e(\"./constants\").cn;t.exports={draw:function(e){var t=e._fullLayout._infolayer.selectAll(\"g.\"+M.colorbar).data(function(e){var t,n,r,a,i=e._fullLayout,o=e.calcdata,l=[];function s(e){return f(e,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function u(){\"function\"==typeof a.calc?a.calc(e,r,t):(t._fillgradient=n.reversescale?y(n.colorscale):n.colorscale,t._zrange=[n[a.min],n[a.max]])}for(var c=0;c<o.length;c++){var d=o[c],p=(r=d[0].trace)._module.colorbar;if(!0===r.visible&&p)for(var h=Array.isArray(p),m=h?p:[p],g=0;g<m.length;g++){var v=(a=m[g]).container;(n=v?r[v]:r)&&n.showscale&&((t=s(n.colorbar))._id=\"cb\"+r.uid+(h&&v?\"-\"+v:\"\"),t._traceIndex=r.index,t._propPrefix=(v?v+\".\":\"\")+\"colorbar.\",t._meta=r._meta,u(),l.push(t))}}for(var b in i._colorAxes)if((n=i[b]).showscale){var x=i._colorAxes[b];(t=s(n.colorbar))._id=\"cb\"+b,t._propPrefix=b+\".colorbar.\",t._meta=i._meta,a={min:\"cmin\",max:\"cmax\"},\"heatmap\"!==x[0]&&(r=x[1],a.calc=r._module.colorbar.calc),u(),l.push(t)}return l}(e),(function(e){return e._id}));t.enter().append(\"g\").attr(\"class\",(function(e){return e._id})).classed(M.colorbar,!0),t.each((function(t){var n=r.select(this);u.ensureSingle(n,\"rect\",M.cbbg),u.ensureSingle(n,\"g\",M.cbfills),u.ensureSingle(n,\"g\",M.cblines),u.ensureSingle(n,\"g\",M.cbaxis,(function(e){e.classed(M.crisp,!0)})),u.ensureSingle(n,\"g\",M.cbtitleunshift,(function(e){e.append(\"g\").classed(M.cbtitle,!0)})),u.ensureSingle(n,\"rect\",M.cboutline);var y=function(e,t,n){var o=\"v\"===t.orientation,s=t.len,d=t.lenmode,y=t.thickness,w=t.thicknessmode,S=t.outlinewidth,E=t.borderwidth,C=t.bgcolor,O=t.xanchor,A=t.yanchor,D=t.xpad,P=t.ypad,R=t.x,L=o?t.y:1-t.y,I=n._fullLayout,j=I._size,N=t._fillcolor,z=t._line,F=t.title,Z=F.side,B=t._zrange||r.extent((\"function\"==typeof N?N:z.color).domain()),q=\"function\"==typeof z.color?z.color:function(){return z.color},H=\"function\"==typeof N?N:function(){return N},U=t._levels,W=function(e,t,n){var r,a,i=t._levels,o=[],l=[],s=i.end+i.size/100,u=i.size,c=1.001*n[0]-.001*n[1],f=1.001*n[1]-.001*n[0];for(a=0;a<1e5&&(r=i.start+a*u,!(u>0?r>=s:r<=s));a++)r>c&&r<f&&o.push(r);if(t._fillgradient)l=[0];else if(\"function\"==typeof t._fillcolor){var d=t._filllevels;if(d)for(s=d.end+d.size/100,u=d.size,a=0;a<1e5&&(r=d.start+a*u,!(u>0?r>=s:r<=s));a++)r>n[0]&&r<n[1]&&l.push(r);else(l=o.map((function(e){return e-i.size/2}))).push(l[l.length-1]+i.size)}else t._fillcolor&&\"string\"==typeof t._fillcolor&&(l=[0]);return i.size<0&&(o.reverse(),l.reverse()),{line:o,fill:l}}(0,t,B),V=W.fill,Y=W.line,G=Math.round(y*(\"fraction\"===w?o?j.w:j.h:1)),$=G/(o?j.w:j.h),X=Math.round(s*(\"fraction\"===d?o?j.h:j.w:1)),K=X/(o?j.h:j.w),J=Math.round(o?R*j.w+D:L*j.h+P),Q={center:.5,right:1}[O]||0,ee={top:1,middle:.5}[A]||0,te=o?R-Q*$:L-ee*$,ne=o?L-ee*K:R-Q*K,re=Math.round(o?j.h*(1-ne):j.w*ne);t._lenFrac=K,t._thickFrac=$,t._uFrac=te,t._vFrac=ne;var ae=t._axis=function(e,t,n){var r=e._fullLayout,a=\"v\"===t.orientation,i={type:\"linear\",range:n,tickmode:t.tickmode,nticks:t.nticks,tick0:t.tick0,dtick:t.dtick,tickvals:t.tickvals,ticktext:t.ticktext,ticks:t.ticks,ticklen:t.ticklen,tickwidth:t.tickwidth,tickcolor:t.tickcolor,showticklabels:t.showticklabels,ticklabelposition:t.ticklabelposition,ticklabeloverflow:t.ticklabeloverflow,ticklabelstep:t.ticklabelstep,tickfont:t.tickfont,tickangle:t.tickangle,tickformat:t.tickformat,exponentformat:t.exponentformat,minexponent:t.minexponent,separatethousands:t.separatethousands,showexponent:t.showexponent,showtickprefix:t.showtickprefix,tickprefix:t.tickprefix,showticksuffix:t.showticksuffix,ticksuffix:t.ticksuffix,title:t.title,showline:!0,anchor:\"free\",side:a?\"right\":\"bottom\",position:1},o=a?\"y\":\"x\",l={type:\"linear\",_id:o+t._id},s={letter:o,font:r.font,noHover:!0,noTickson:!0,noTicklabelmode:!0,calendar:r.calendar};function c(e,t){return u.coerce(i,l,x,e,t)}return v(i,l,c,s,r),b(i,l,c,s),l}(n,t,B);ae.position=$+(o?R+D/j.w:L+P/j.h);var ie=-1!==[\"top\",\"bottom\"].indexOf(Z);if(o&&ie&&(ae.title.side=Z,ae.titlex=R+D/j.w,ae.titley=ne+(\"top\"===F.side?K-P/j.h:P/j.h)),o||ie||(ae.title.side=Z,ae.titley=L+P/j.h,ae.titlex=ne+D/j.w),z.color&&\"auto\"===t.tickmode){ae.tickmode=\"linear\",ae.tick0=U.start;var oe=U.size,le=u.constrain(X/50,4,15)+1,se=(B[1]-B[0])/((t.nticks||le)*oe);if(se>1){var ue=Math.pow(10,Math.floor(Math.log(se)/Math.LN10));oe*=ue*u.roundUp(se/ue,[2,5,10]),(Math.abs(U.start)/U.size+1e-6)%1<2e-6&&(ae.tick0=0)}ae.dtick=oe}ae.domain=o?[ne+P/j.h,ne+K-P/j.h]:[ne+D/j.w,ne+K-D/j.w],ae.setScale(),e.attr(\"transform\",c(Math.round(j.l),Math.round(j.t)));var ce,fe=e.select(\".\"+M.cbtitleunshift).attr(\"transform\",c(-Math.round(j.l),-Math.round(j.t))),de=ae.ticklabelposition,pe=ae.title.font.size,he=e.select(\".\"+M.cbaxis),me=0,ge=0;function ye(r,a){var i={propContainer:ae,propName:t._propPrefix+\"title\",traceIndex:t._traceIndex,_meta:t._meta,placeholder:I._dfltTitle.colorbar,containerGroup:e.select(\".\"+M.cbtitle)},o=\"h\"===r.charAt(0)?r.substr(1):\"h\"+r;e.selectAll(\".\"+o+\",.\"+o+\"-math-group\").remove(),m.draw(n,r,f(i,a||{}))}return u.syncOrAsync([i.previousPromises,function(){var e,t;(o&&ie||!o&&!ie)&&(\"top\"===Z&&(e=D+j.l+j.w*R,t=P+j.t+j.h*(1-ne-K)+3+.75*pe),\"bottom\"===Z&&(e=D+j.l+j.w*R,t=P+j.t+j.h*(1-ne)-3-.25*pe),\"right\"===Z&&(t=P+j.t+j.h*L+3+.75*pe,e=D+j.l+j.w*ne),ye(ae._id+\"title\",{attributes:{x:e,y:t,\"text-anchor\":o?\"start\":\"middle\"}}))},function(){if(!o&&!ie||o&&ie){var i,s=e.select(\".\"+M.cbtitle),f=s.select(\"text\"),d=[-S/2,S/2],h=s.select(\".h\"+ae._id+\"title-math-group\").node(),m=15.6;if(f.node()&&(m=parseInt(f.node().style.fontSize,10)*_),h?(i=p.bBox(h),ge=i.width,(me=i.height)>m&&(d[1]-=(me-m)/2)):f.node()&&!f.classed(M.jsPlaceholder)&&(i=p.bBox(f.node()),ge=i.width,me=i.height),o){if(me){if(me+=5,\"top\"===Z)ae.domain[1]-=me/j.h,d[1]*=-1;else{ae.domain[0]+=me/j.h;var y=g.lineCount(f);d[1]+=(1-y)*m}s.attr(\"transform\",c(d[0],d[1])),ae.setScale()}}else ge&&(\"right\"===Z&&(ae.domain[0]+=(ge+pe/2)/j.w),s.attr(\"transform\",c(d[0],d[1])),ae.setScale())}e.selectAll(\".\"+M.cbfills+\",.\"+M.cblines).attr(\"transform\",o?c(0,Math.round(j.h*(1-ae.domain[1]))):c(Math.round(j.w*ae.domain[0]),0)),he.attr(\"transform\",o?c(0,Math.round(-j.t)):c(Math.round(-j.l),0));var v=e.select(\".\"+M.cbfills).selectAll(\"rect.\"+M.cbfill).attr(\"style\",\"\").data(V);v.enter().append(\"rect\").classed(M.cbfill,!0).style(\"stroke\",\"none\"),v.exit().remove();var b=B.map(ae.c2p).map(Math.round).sort((function(e,t){return e-t}));v.each((function(e,i){var l=[0===i?B[0]:(V[i]+V[i-1])/2,i===V.length-1?B[1]:(V[i]+V[i+1])/2].map(ae.c2p).map(Math.round);o&&(l[1]=u.constrain(l[1]+(l[1]>l[0])?1:-1,b[0],b[1]));var s=r.select(this).attr(o?\"x\":\"y\",J).attr(o?\"y\":\"x\",r.min(l)).attr(o?\"width\":\"height\",Math.max(G,2)).attr(o?\"height\":\"width\",Math.max(r.max(l)-r.min(l),2));if(t._fillgradient)p.gradient(s,n,t._id,o?\"vertical\":\"horizontalreversed\",t._fillgradient,\"fill\");else{var c=H(e).replace(\"e-\",\"\");s.attr(\"fill\",a(c).toHexString())}}));var x=e.select(\".\"+M.cblines).selectAll(\"path.\"+M.cbline).data(z.color&&z.width?Y:[]);x.enter().append(\"path\").classed(M.cbline,!0),x.exit().remove(),x.each((function(e){var t=J,n=Math.round(ae.c2p(e))+z.width/2%1;r.select(this).attr(\"d\",\"M\"+(o?t+\",\"+n:n+\",\"+t)+(o?\"h\":\"v\")+G).call(p.lineGroupStyle,z.width,q(e),z.dash)})),he.selectAll(\"g.\"+ae._id+\"tick,path\").remove();var w=J+G+(S||0)/2-(\"outside\"===t.ticks?1:0),k=l.calcTicks(ae),T=l.getTickSigns(ae)[2];return l.drawTicks(n,ae,{vals:\"inside\"===ae.ticks?l.clipEnds(ae,k):k,layer:he,path:l.makeTickPath(ae,w,T),transFn:l.makeTransTickFn(ae)}),l.drawLabels(n,ae,{vals:k,layer:he,transFn:l.makeTransTickLabelFn(ae),labelFns:l.makeLabelFns(ae,w)})},function(){if(o&&!ie||!o&&ie){var e,a,i=ae.position||0,l=ae._offset+ae._length/2;if(\"right\"===Z)a=l,e=j.l+j.w*i+10+pe*(ae.showticklabels?1:.5);else if(e=l,\"bottom\"===Z&&(a=j.t+j.h*i+10+(-1===de.indexOf(\"inside\")?ae.tickfont.size:0)+(\"intside\"!==ae.ticks&&t.ticklen||0)),\"top\"===Z){var s=F.text.split(\"<br>\").length;a=j.t+j.h*i+10-G-_*pe*s}ye((o?\"h\":\"v\")+ae._id+\"title\",{avoid:{selection:r.select(n).selectAll(\"g.\"+ae._id+\"tick\"),side:Z,offsetTop:o?0:j.t,offsetLeft:o?j.l:0,maxShift:o?I.width:I.height},attributes:{x:e,y:a,\"text-anchor\":\"middle\"},transform:{rotate:o?-90:0,offset:0}})}},i.previousPromises,function(){var r,l=G+S/2;-1===de.indexOf(\"inside\")&&(r=p.bBox(he.node()),l+=o?r.width:r.height),ce=fe.select(\"text\");var u=0,f=o&&\"top\"===Z,m=!o&&\"right\"===Z,g=0;if(ce.node()&&!ce.classed(M.jsPlaceholder)){var v,b=fe.select(\".h\"+ae._id+\"title-math-group\").node();b&&(o&&ie||!o&&!ie)?(u=(r=p.bBox(b)).width,v=r.height):(u=(r=p.bBox(fe.node())).right-j.l-(o?J:re),v=r.bottom-j.t-(o?re:J),o||\"top\"!==Z||(l+=r.height,g=r.height)),m&&(ce.attr(\"transform\",c(u/2+pe/2,0)),u*=2),l=Math.max(l,o?u:v)}var x=2*(o?D:P)+l+E+S/2,_=0;!o&&F.text&&\"bottom\"===A&&L<=0&&(x+=_=x/2,g+=_),I._hColorbarMoveTitle=_,I._hColorbarMoveCBTitle=g;var N=E+S;e.select(\".\"+M.cbbg).attr(\"x\",(o?J:re)-N/2-(o?D:0)).attr(\"y\",(o?re:J)-(o?X:P+g-_)).attr(o?\"width\":\"height\",Math.max(x-_,2)).attr(o?\"height\":\"width\",Math.max(X+N,2)).call(h.fill,C).call(h.stroke,t.bordercolor).style(\"stroke-width\",E);var z=m?Math.max(u-10,0):0;if(e.selectAll(\".\"+M.cboutline).attr(\"x\",(o?J:re+D)+z).attr(\"y\",(o?re+P-X:J)+(f?me:0)).attr(o?\"width\":\"height\",Math.max(G,2)).attr(o?\"height\":\"width\",Math.max(X-(o?2*P+me:2*D+z),2)).call(h.stroke,t.outlinecolor).style({fill:\"none\",\"stroke-width\":S}),e.attr(\"transform\",c(j.l-(o?Q*x:0),j.t-(o?0:(1-ee)*x-g))),!o&&(E||a(C).getAlpha()&&!a.equals(I.paper_bgcolor,C))){var B=he.selectAll(\"text\"),q=B[0].length,H=e.select(\".\"+M.cbbg).node(),U=p.bBox(H),W=p.getTranslate(e);B.each((function(e,t){var n=q-1;if(0===t||t===n){var r,a=p.bBox(this),i=p.getTranslate(this);if(t===n){var o=a.right+i.x;(r=U.right+W.x+re-E-2+R-o)>0&&(r=0)}else if(0===t){var l=a.left+i.x;(r=U.left+W.x+re+E+2-l)<0&&(r=0)}r&&(q<3?this.setAttribute(\"transform\",\"translate(\"+r+\",0) \"+this.getAttribute(\"transform\")):this.setAttribute(\"visibility\",\"hidden\"))}}))}var V={},Y=k[O],$=T[O],K=k[A],te=T[A],ne=x-G;o?(\"pixels\"===d?(V.y=L,V.t=X*K,V.b=X*te):(V.t=V.b=0,V.yt=L+s*K,V.yb=L-s*te),\"pixels\"===w?(V.x=R,V.l=x*Y,V.r=x*$):(V.l=ne*Y,V.r=ne*$,V.xl=R-y*Y,V.xr=R+y*$)):(\"pixels\"===d?(V.x=R,V.l=X*Y,V.r=X*$):(V.l=V.r=0,V.xl=R+s*Y,V.xr=R-s*$),\"pixels\"===w?(V.y=1-L,V.t=x*K,V.b=x*te):(V.t=ne*K,V.b=ne*te,V.yt=L-y*K,V.yb=L+y*te)),i.autoMargin(n,t._id,V)}],n)}(n,t,e);y&&y.then&&(e._promises||[]).push(y),e._context.edits.colorbarPosition&&function(e,t,n){var r,a,i,l=\"v\"===t.orientation,u=n._fullLayout._size;s.init({element:e.node(),gd:n,prepFn:function(){r=e.attr(\"transform\"),d(e)},moveFn:function(n,o){e.attr(\"transform\",r+c(n,o)),a=s.align((l?t._uFrac:t._vFrac)+n/u.w,l?t._thickFrac:t._lenFrac,0,1,t.xanchor),i=s.align((l?t._vFrac:1-t._uFrac)-o/u.h,l?t._lenFrac:t._thickFrac,0,1,t.yanchor);var f=s.getCursor(a,i,t.xanchor,t.yanchor);d(e,f)},doneFn:function(){if(d(e),void 0!==a&&void 0!==i){var r={};r[t._propPrefix+\"x\"]=a,r[t._propPrefix+\"y\"]=i,void 0!==t._traceIndex?o.call(\"_guiRestyle\",n,r,t._traceIndex):o.call(\"_guiRelayout\",n,r)}}})}(n,t,e)})),t.exit().each((function(t){i.autoMargin(e,t._id)})).remove(),t.order()}}},{\"../../constants/alignment\":262,\"../../lib\":287,\"../../lib/extend\":281,\"../../lib/setcursor\":307,\"../../lib/svg_text_utils\":310,\"../../plots/cartesian/axes\":334,\"../../plots/cartesian/axis_defaults\":336,\"../../plots/cartesian/layout_attributes\":349,\"../../plots/cartesian/position_defaults\":352,\"../../plots/plots\":371,\"../../registry\":378,\"../color\":157,\"../colorscale/helpers\":168,\"../dragelement\":176,\"../drawing\":179,\"../titles\":255,\"./constants\":159,\"@plotly/d3\":20,tinycolor2:121}],162:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports=function(e){return r.isPlainObject(e.colorbar)}},{\"../../lib\":287}],163:[function(e,t,n){\"use strict\";t.exports={moduleType:\"component\",name:\"colorbar\",attributes:e(\"./attributes\"),supplyDefaults:e(\"./defaults\"),draw:e(\"./draw\").draw,hasColorbar:e(\"./has_colorbar\")}},{\"./attributes\":158,\"./defaults\":160,\"./draw\":161,\"./has_colorbar\":162}],164:[function(e,t,n){\"use strict\";var r=e(\"../colorbar/attributes\"),a=e(\"../../lib/regex\").counter,i=e(\"../../lib/sort_object_keys\"),o=e(\"./scales.js\").scales;function l(e){return\"`\"+e+\"`\"}i(o),t.exports=function(e,t){e=e||\"\";var n,i=(t=t||{}).cLetter||\"c\",s=(\"onlyIfNumerical\"in t?t.onlyIfNumerical:Boolean(e),\"noScale\"in t?t.noScale:\"marker.line\"===e),u=\"showScaleDflt\"in t?t.showScaleDflt:\"z\"===i,c=\"string\"==typeof t.colorscaleDflt?o[t.colorscaleDflt]:null,f=t.editTypeOverride||\"\",d=e?e+\".\":\"\";\"colorAttr\"in t?(n=t.colorAttr,t.colorAttr):l(d+(n={z:\"z\",c:\"color\"}[i]));var p=i+\"auto\",h=i+\"min\",m=i+\"max\",g=i+\"mid\",y=(l(d+p),l(d+h),l(d+m),{});y[h]=y[m]=void 0;var v={};v[p]=!1;var b={};return\"color\"===n&&(b.color={valType:\"color\",arrayOk:!0,editType:f||\"style\"},t.anim&&(b.color.anim=!0)),b[p]={valType:\"boolean\",dflt:!0,editType:\"calc\",impliedEdits:y},b[h]={valType:\"number\",dflt:null,editType:f||\"plot\",impliedEdits:v},b[m]={valType:\"number\",dflt:null,editType:f||\"plot\",impliedEdits:v},b[g]={valType:\"number\",dflt:null,editType:\"calc\",impliedEdits:y},b.colorscale={valType:\"colorscale\",editType:\"calc\",dflt:c,impliedEdits:{autocolorscale:!1}},b.autocolorscale={valType:\"boolean\",dflt:!1!==t.autoColorDflt,editType:\"calc\",impliedEdits:{colorscale:void 0}},b.reversescale={valType:\"boolean\",dflt:!1,editType:\"plot\"},s||(b.showscale={valType:\"boolean\",dflt:u,editType:\"calc\"},b.colorbar=r),t.noColorAxis||(b.coloraxis={valType:\"subplotid\",regex:a(\"coloraxis\"),dflt:null,editType:\"calc\"}),b}},{\"../../lib/regex\":303,\"../../lib/sort_object_keys\":308,\"../colorbar/attributes\":158,\"./scales.js\":172}],165:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=e(\"./helpers\").extractOpts;t.exports=function(e,t,n){var o,l=e._fullLayout,s=n.vals,u=n.containerStr,c=u?a.nestedProperty(t,u).get():t,f=i(c),d=!1!==f.auto,p=f.min,h=f.max,m=f.mid,g=function(){return a.aggNums(Math.min,null,s)},y=function(){return a.aggNums(Math.max,null,s)};void 0===p?p=g():d&&(p=c._colorAx&&r(p)?Math.min(p,g()):g()),void 0===h?h=y():d&&(h=c._colorAx&&r(h)?Math.max(h,y()):y()),d&&void 0!==m&&(h-m>m-p?p=m-(h-m):h-m<m-p&&(h=m+(m-p))),p===h&&(p-=.5,h+=.5),f._sync(\"min\",p),f._sync(\"max\",h),f.autocolorscale&&(o=p*h<0?l.colorscale.diverging:p>=0?l.colorscale.sequential:l.colorscale.sequentialminus,f._sync(\"colorscale\",o))}},{\"../../lib\":287,\"./helpers\":168,\"fast-isnumeric\":33}],166:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./helpers\").hasColorscale,i=e(\"./helpers\").extractOpts;t.exports=function(e,t){function n(e,t){var n=e[\"_\"+t];void 0!==n&&(e[t]=n)}function o(e,a){var o=a.container?r.nestedProperty(e,a.container).get():e;if(o)if(o.coloraxis)o._colorAx=t[o.coloraxis];else{var l=i(o),s=l.auto;(s||void 0===l.min)&&n(o,a.min),(s||void 0===l.max)&&n(o,a.max),l.autocolorscale&&n(o,\"colorscale\")}}for(var l=0;l<e.length;l++){var s=e[l],u=s._module.colorbar;if(u)if(Array.isArray(u))for(var c=0;c<u.length;c++)o(s,u[c]);else o(s,u);a(s,\"marker.line\")&&o(s,{container:\"marker.line\",min:\"cmin\",max:\"cmax\"})}for(var f in t._colorAxes)o(t[f],{min:\"cmin\",max:\"cmax\"})}},{\"../../lib\":287,\"./helpers\":168}],167:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=e(\"../colorbar/has_colorbar\"),o=e(\"../colorbar/defaults\"),l=e(\"./scales\").isValid,s=e(\"../../registry\").traceIs;function u(e,t){var n=t.slice(0,t.length-1);return t?a.nestedProperty(e,n).get()||{}:e}t.exports=function e(t,n,c,f,d){var p=d.prefix,h=d.cLetter,m=\"_module\"in n,g=u(t,p),y=u(n,p),v=u(n._template||{},p)||{},b=function(){return delete t.coloraxis,delete n.coloraxis,e(t,n,c,f,d)};if(m){var x=c._colorAxes||{},w=f(p+\"coloraxis\");if(w){var _=s(n,\"contour\")&&a.nestedProperty(n,\"contours.coloring\").get()||\"heatmap\",k=x[w];return void(k?(k[2].push(b),k[0]!==_&&(k[0]=!1,a.warn([\"Ignoring coloraxis:\",w,\"setting\",\"as it is linked to incompatible colorscales.\"].join(\" \")))):x[w]=[_,n,[b]])}}var T=g[h+\"min\"],M=g[h+\"max\"],S=r(T)&&r(M)&&T<M;f(p+h+\"auto\",!S)?f(p+h+\"mid\"):(f(p+h+\"min\"),f(p+h+\"max\"));var E,C,O=g.colorscale,A=v.colorscale;void 0!==O&&(E=!l(O)),void 0!==A&&(E=!l(A)),f(p+\"autocolorscale\",E),f(p+\"colorscale\"),f(p+\"reversescale\"),\"marker.line.\"!==p&&(p&&m&&(C=i(g)),f(p+\"showscale\",C)&&(p&&v&&(y._template=v),o(g,y,c)))}},{\"../../lib\":287,\"../../registry\":378,\"../colorbar/defaults\":160,\"../colorbar/has_colorbar\":162,\"./scales\":172,\"fast-isnumeric\":33}],168:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"tinycolor2\"),i=e(\"fast-isnumeric\"),o=e(\"../../lib\"),l=e(\"../color\"),s=e(\"./scales\").isValid,u=[\"showscale\",\"autocolorscale\",\"colorscale\",\"reversescale\",\"colorbar\"],c=[\"min\",\"max\",\"mid\",\"auto\"];function f(e){var t,n,r,a=e._colorAx,i=a||e,o={};for(n=0;n<u.length;n++)o[r=u[n]]=i[r];if(a)for(t=\"c\",n=0;n<c.length;n++)o[r=c[n]]=i[\"c\"+r];else{var l;for(n=0;n<c.length;n++)((l=\"c\"+(r=c[n]))in i||(l=\"z\"+r)in i)&&(o[r]=i[l]);t=l.charAt(0)}return o._sync=function(e,n){var r=-1!==c.indexOf(e)?t+e:e;i[r]=i[\"_\"+r]=n},o}function d(e){for(var t=f(e),n=t.min,r=t.max,a=t.reversescale?p(t.colorscale):t.colorscale,i=a.length,o=new Array(i),l=new Array(i),s=0;s<i;s++){var u=a[s];o[s]=n+u[0]*(r-n),l[s]=u[1]}return{domain:o,range:l}}function p(e){for(var t=e.length,n=new Array(t),r=t-1,a=0;r>=0;r--,a++){var i=e[r];n[a]=[1-i[0],i[1]]}return n}function h(e,t){t=t||{};for(var n=e.domain,o=e.range,s=o.length,u=new Array(s),c=0;c<s;c++){var f=a(o[c]).toRgb();u[c]=[f.r,f.g,f.b,f.a]}var d,p=r.scale.linear().domain(n).range(u).clamp(!0),h=t.noNumericCheck,g=t.returnArray;return(d=h&&g?p:h?function(e){return m(p(e))}:g?function(e){return i(e)?p(e):a(e).isValid()?e:l.defaultLine}:function(e){return i(e)?m(p(e)):a(e).isValid()?e:l.defaultLine}).domain=p.domain,d.range=function(){return o},d}function m(e){var t={r:e[0],g:e[1],b:e[2],a:e[3]};return a(t).toRgbString()}t.exports={hasColorscale:function(e,t,n){var r=t?o.nestedProperty(e,t).get()||{}:e,a=r[n||\"color\"],l=!1;if(o.isArrayOrTypedArray(a))for(var u=0;u<a.length;u++)if(i(a[u])){l=!0;break}return o.isPlainObject(r)&&(l||!0===r.showscale||i(r.cmin)&&i(r.cmax)||s(r.colorscale)||o.isPlainObject(r.colorbar))},extractOpts:f,extractScale:d,flipScale:p,makeColorScaleFunc:h,makeColorScaleFuncFromTrace:function(e,t){return h(d(e),t)}}},{\"../../lib\":287,\"../color\":157,\"./scales\":172,\"@plotly/d3\":20,\"fast-isnumeric\":33,tinycolor2:121}],169:[function(e,t,n){\"use strict\";var r=e(\"./scales\"),a=e(\"./helpers\");t.exports={moduleType:\"component\",name:\"colorscale\",attributes:e(\"./attributes\"),layoutAttributes:e(\"./layout_attributes\"),supplyLayoutDefaults:e(\"./layout_defaults\"),handleDefaults:e(\"./defaults\"),crossTraceDefaults:e(\"./cross_trace_defaults\"),calc:e(\"./calc\"),scales:r.scales,defaultScale:r.defaultScale,getScale:r.get,isValidScale:r.isValid,hasColorscale:a.hasColorscale,extractOpts:a.extractOpts,extractScale:a.extractScale,flipScale:a.flipScale,makeColorScaleFunc:a.makeColorScaleFunc,makeColorScaleFuncFromTrace:a.makeColorScaleFuncFromTrace}},{\"./attributes\":164,\"./calc\":165,\"./cross_trace_defaults\":166,\"./defaults\":167,\"./helpers\":168,\"./layout_attributes\":170,\"./layout_defaults\":171,\"./scales\":172}],170:[function(e,t,n){\"use strict\";var r=e(\"../../lib/extend\").extendFlat,a=e(\"./attributes\"),i=e(\"./scales\").scales;t.exports={editType:\"calc\",colorscale:{editType:\"calc\",sequential:{valType:\"colorscale\",dflt:i.Reds,editType:\"calc\"},sequentialminus:{valType:\"colorscale\",dflt:i.Blues,editType:\"calc\"},diverging:{valType:\"colorscale\",dflt:i.RdBu,editType:\"calc\"}},coloraxis:r({_isSubplotObj:!0,editType:\"calc\"},a(\"\",{colorAttr:\"corresponding trace color array(s)\",noColorAxis:!0,showScaleDflt:!0}))}},{\"../../lib/extend\":281,\"./attributes\":164,\"./scales\":172}],171:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plot_api/plot_template\"),i=e(\"./layout_attributes\"),o=e(\"./defaults\");t.exports=function(e,t){function n(n,a){return r.coerce(e,t,i,n,a)}n(\"colorscale.sequential\"),n(\"colorscale.sequentialminus\"),n(\"colorscale.diverging\");var l,s,u=t._colorAxes;function c(e,t){return r.coerce(l,s,i.coloraxis,e,t)}for(var f in u){var d=u[f];if(d[0])l=e[f]||{},(s=a.newContainer(t,f,\"coloraxis\"))._name=f,o(l,s,t,c,{prefix:\"\",cLetter:\"c\"});else{for(var p=0;p<d[2].length;p++)d[2][p]();delete t._colorAxes[f]}}}},{\"../../lib\":287,\"../../plot_api/plot_template\":323,\"./defaults\":167,\"./layout_attributes\":170}],172:[function(e,t,n){\"use strict\";var r=e(\"tinycolor2\"),a={Greys:[[0,\"rgb(0,0,0)\"],[1,\"rgb(255,255,255)\"]],YlGnBu:[[0,\"rgb(8,29,88)\"],[.125,\"rgb(37,52,148)\"],[.25,\"rgb(34,94,168)\"],[.375,\"rgb(29,145,192)\"],[.5,\"rgb(65,182,196)\"],[.625,\"rgb(127,205,187)\"],[.75,\"rgb(199,233,180)\"],[.875,\"rgb(237,248,217)\"],[1,\"rgb(255,255,217)\"]],Greens:[[0,\"rgb(0,68,27)\"],[.125,\"rgb(0,109,44)\"],[.25,\"rgb(35,139,69)\"],[.375,\"rgb(65,171,93)\"],[.5,\"rgb(116,196,118)\"],[.625,\"rgb(161,217,155)\"],[.75,\"rgb(199,233,192)\"],[.875,\"rgb(229,245,224)\"],[1,\"rgb(247,252,245)\"]],YlOrRd:[[0,\"rgb(128,0,38)\"],[.125,\"rgb(189,0,38)\"],[.25,\"rgb(227,26,28)\"],[.375,\"rgb(252,78,42)\"],[.5,\"rgb(253,141,60)\"],[.625,\"rgb(254,178,76)\"],[.75,\"rgb(254,217,118)\"],[.875,\"rgb(255,237,160)\"],[1,\"rgb(255,255,204)\"]],Bluered:[[0,\"rgb(0,0,255)\"],[1,\"rgb(255,0,0)\"]],RdBu:[[0,\"rgb(5,10,172)\"],[.35,\"rgb(106,137,247)\"],[.5,\"rgb(190,190,190)\"],[.6,\"rgb(220,170,132)\"],[.7,\"rgb(230,145,90)\"],[1,\"rgb(178,10,28)\"]],Reds:[[0,\"rgb(220,220,220)\"],[.2,\"rgb(245,195,157)\"],[.4,\"rgb(245,160,105)\"],[1,\"rgb(178,10,28)\"]],Blues:[[0,\"rgb(5,10,172)\"],[.35,\"rgb(40,60,190)\"],[.5,\"rgb(70,100,245)\"],[.6,\"rgb(90,120,245)\"],[.7,\"rgb(106,137,247)\"],[1,\"rgb(220,220,220)\"]],Picnic:[[0,\"rgb(0,0,255)\"],[.1,\"rgb(51,153,255)\"],[.2,\"rgb(102,204,255)\"],[.3,\"rgb(153,204,255)\"],[.4,\"rgb(204,204,255)\"],[.5,\"rgb(255,255,255)\"],[.6,\"rgb(255,204,255)\"],[.7,\"rgb(255,153,255)\"],[.8,\"rgb(255,102,204)\"],[.9,\"rgb(255,102,102)\"],[1,\"rgb(255,0,0)\"]],Rainbow:[[0,\"rgb(150,0,90)\"],[.125,\"rgb(0,0,200)\"],[.25,\"rgb(0,25,255)\"],[.375,\"rgb(0,152,255)\"],[.5,\"rgb(44,255,150)\"],[.625,\"rgb(151,255,0)\"],[.75,\"rgb(255,234,0)\"],[.875,\"rgb(255,111,0)\"],[1,\"rgb(255,0,0)\"]],Portland:[[0,\"rgb(12,51,131)\"],[.25,\"rgb(10,136,186)\"],[.5,\"rgb(242,211,56)\"],[.75,\"rgb(242,143,56)\"],[1,\"rgb(217,30,30)\"]],Jet:[[0,\"rgb(0,0,131)\"],[.125,\"rgb(0,60,170)\"],[.375,\"rgb(5,255,255)\"],[.625,\"rgb(255,255,0)\"],[.875,\"rgb(250,0,0)\"],[1,\"rgb(128,0,0)\"]],Hot:[[0,\"rgb(0,0,0)\"],[.3,\"rgb(230,0,0)\"],[.6,\"rgb(255,210,0)\"],[1,\"rgb(255,255,255)\"]],Blackbody:[[0,\"rgb(0,0,0)\"],[.2,\"rgb(230,0,0)\"],[.4,\"rgb(230,210,0)\"],[.7,\"rgb(255,255,255)\"],[1,\"rgb(160,200,255)\"]],Earth:[[0,\"rgb(0,0,130)\"],[.1,\"rgb(0,180,180)\"],[.2,\"rgb(40,210,40)\"],[.4,\"rgb(230,230,50)\"],[.6,\"rgb(120,70,20)\"],[1,\"rgb(255,255,255)\"]],Electric:[[0,\"rgb(0,0,0)\"],[.15,\"rgb(30,0,100)\"],[.4,\"rgb(120,0,100)\"],[.6,\"rgb(160,90,0)\"],[.8,\"rgb(230,200,0)\"],[1,\"rgb(255,250,220)\"]],Viridis:[[0,\"#440154\"],[.06274509803921569,\"#48186a\"],[.12549019607843137,\"#472d7b\"],[.18823529411764706,\"#424086\"],[.25098039215686274,\"#3b528b\"],[.3137254901960784,\"#33638d\"],[.3764705882352941,\"#2c728e\"],[.4392156862745098,\"#26828e\"],[.5019607843137255,\"#21918c\"],[.5647058823529412,\"#1fa088\"],[.6274509803921569,\"#28ae80\"],[.6901960784313725,\"#3fbc73\"],[.7529411764705882,\"#5ec962\"],[.8156862745098039,\"#84d44b\"],[.8784313725490196,\"#addc30\"],[.9411764705882353,\"#d8e219\"],[1,\"#fde725\"]],Cividis:[[0,\"rgb(0,32,76)\"],[.058824,\"rgb(0,42,102)\"],[.117647,\"rgb(0,52,110)\"],[.176471,\"rgb(39,63,108)\"],[.235294,\"rgb(60,74,107)\"],[.294118,\"rgb(76,85,107)\"],[.352941,\"rgb(91,95,109)\"],[.411765,\"rgb(104,106,112)\"],[.470588,\"rgb(117,117,117)\"],[.529412,\"rgb(131,129,120)\"],[.588235,\"rgb(146,140,120)\"],[.647059,\"rgb(161,152,118)\"],[.705882,\"rgb(176,165,114)\"],[.764706,\"rgb(192,177,109)\"],[.823529,\"rgb(209,191,102)\"],[.882353,\"rgb(225,204,92)\"],[.941176,\"rgb(243,219,79)\"],[1,\"rgb(255,233,69)\"]]},i=a.RdBu;function o(e){var t=0;if(!Array.isArray(e)||e.length<2)return!1;if(!e[0]||!e[e.length-1])return!1;if(0!=+e[0][0]||1!=+e[e.length-1][0])return!1;for(var n=0;n<e.length;n++){var a=e[n];if(2!==a.length||+a[0]<t||!r(a[1]).isValid())return!1;t=+a[0]}return!0}t.exports={scales:a,defaultScale:i,get:function(e,t){if(t||(t=i),!e)return t;function n(){try{e=a[e]||JSON.parse(e)}catch(n){e=t}}return\"string\"==typeof e&&(n(),\"string\"==typeof e&&n()),o(e)?e:t},isValid:function(e){return void 0!==a[e]||o(e)}}},{tinycolor2:121}],173:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r,a){var i=(e-n)/(r-n),o=i+t/(r-n),l=(i+o)/2;return\"left\"===a||\"bottom\"===a?i:\"center\"===a||\"middle\"===a?l:\"right\"===a||\"top\"===a?o:i<2/3-l?i:o>4/3-l?o:l}},{}],174:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=[[\"sw-resize\",\"s-resize\",\"se-resize\"],[\"w-resize\",\"move\",\"e-resize\"],[\"nw-resize\",\"n-resize\",\"ne-resize\"]];t.exports=function(e,t,n,i){return e=\"left\"===n?0:\"center\"===n?1:\"right\"===n?2:r.constrain(Math.floor(3*e),0,2),t=\"bottom\"===i?0:\"middle\"===i?1:\"top\"===i?2:r.constrain(Math.floor(3*t),0,2),a[t][e]}},{\"../../lib\":287}],175:[function(e,t,n){\"use strict\";n.selectMode=function(e){return\"lasso\"===e||\"select\"===e},n.drawMode=function(e){return\"drawclosedpath\"===e||\"drawopenpath\"===e||\"drawline\"===e||\"drawrect\"===e||\"drawcircle\"===e},n.openMode=function(e){return\"drawline\"===e||\"drawopenpath\"===e},n.rectMode=function(e){return\"select\"===e||\"drawline\"===e||\"drawrect\"===e||\"drawcircle\"===e},n.freeMode=function(e){return\"lasso\"===e||\"drawclosedpath\"===e||\"drawopenpath\"===e},n.selectingOrDrawing=function(e){return n.freeMode(e)||n.rectMode(e)}},{}],176:[function(e,t,n){\"use strict\";var r=e(\"mouse-event-offset\"),a=e(\"has-hover\"),i=e(\"has-passive-events\"),o=e(\"../../lib\").removeElement,l=e(\"../../plots/cartesian/constants\"),s=t.exports={};s.align=e(\"./align\"),s.getCursor=e(\"./cursor\");var u=e(\"./unhover\");function c(){var e=document.createElement(\"div\");e.className=\"dragcover\";var t=e.style;return t.position=\"fixed\",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background=\"none\",document.body.appendChild(e),e}function f(e){return r(e.changedTouches?e.changedTouches[0]:e,document.body)}s.unhover=u.wrapped,s.unhoverRaw=u.raw,s.init=function(e){var t,n,r,u,d,p,h,m,g=e.gd,y=1,v=g._context.doubleClickDelay,b=e.element;g._mouseDownTime||(g._mouseDownTime=0),b.style.pointerEvents=\"all\",b.onmousedown=w,i?(b._ontouchstart&&b.removeEventListener(\"touchstart\",b._ontouchstart),b._ontouchstart=w,b.addEventListener(\"touchstart\",w,{passive:!1})):b.ontouchstart=w;var x=e.clampFn||function(e,t,n){return Math.abs(e)<n&&(e=0),Math.abs(t)<n&&(t=0),[e,t]};function w(i){g._dragged=!1,g._dragging=!0;var o=f(i);t=o[0],n=o[1],h=i.target,p=i,m=2===i.buttons||i.ctrlKey,void 0===i.clientX&&void 0===i.clientY&&(i.clientX=t,i.clientY=n),(r=(new Date).getTime())-g._mouseDownTime<v?y+=1:(y=1,g._mouseDownTime=r),e.prepFn&&e.prepFn(i,t,n),a&&!m?(d=c()).style.cursor=window.getComputedStyle(b).cursor:a||(d=document,u=window.getComputedStyle(document.documentElement).cursor,document.documentElement.style.cursor=window.getComputedStyle(b).cursor),document.addEventListener(\"mouseup\",k),document.addEventListener(\"touchend\",k),!1!==e.dragmode&&(i.preventDefault(),document.addEventListener(\"mousemove\",_),document.addEventListener(\"touchmove\",_,{passive:!1}))}function _(r){r.preventDefault();var a=f(r),i=e.minDrag||l.MINDRAG,o=x(a[0]-t,a[1]-n,i),u=o[0],c=o[1];(u||c)&&(g._dragged=!0,s.unhover(g,r)),g._dragged&&e.moveFn&&!m&&(g._dragdata={element:b,dx:u,dy:c},e.moveFn(u,c))}function k(t){if(delete g._dragdata,!1!==e.dragmode&&(t.preventDefault(),document.removeEventListener(\"mousemove\",_),document.removeEventListener(\"touchmove\",_)),document.removeEventListener(\"mouseup\",k),document.removeEventListener(\"touchend\",k),a?o(d):u&&(d.documentElement.style.cursor=u,u=null),g._dragging){if(g._dragging=!1,(new Date).getTime()-g._mouseDownTime>v&&(y=Math.max(y-1,1)),g._dragged)e.doneFn&&e.doneFn();else if(e.clickFn&&e.clickFn(y,p),!m){var n;try{n=new MouseEvent(\"click\",t)}catch(e){var r=f(t);(n=document.createEvent(\"MouseEvents\")).initMouseEvent(\"click\",t.bubbles,t.cancelable,t.view,t.detail,t.screenX,t.screenY,r[0],r[1],t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget)}h.dispatchEvent(n)}g._dragging=!1,g._dragged=!1}else g._dragged=!1}},s.coverSlip=c},{\"../../lib\":287,\"../../plots/cartesian/constants\":341,\"./align\":173,\"./cursor\":174,\"./unhover\":177,\"has-hover\":64,\"has-passive-events\":65,\"mouse-event-offset\":71}],177:[function(e,t,n){\"use strict\";var r=e(\"../../lib/events\"),a=e(\"../../lib/throttle\"),i=e(\"../../lib/dom\").getGraphDiv,o=e(\"../fx/constants\"),l=t.exports={};l.wrapped=function(e,t,n){(e=i(e))._fullLayout&&a.clear(e._fullLayout._uid+o.HOVERID),l.raw(e,t,n)},l.raw=function(e,t){var n=e._fullLayout,a=e._hoverdata;t||(t={}),t.target&&!e._dragged&&!1===r.triggerHandler(e,\"plotly_beforehover\",t)||(n._hoverlayer.selectAll(\"g\").remove(),n._hoverlayer.selectAll(\"line\").remove(),n._hoverlayer.selectAll(\"circle\").remove(),e._hoverdata=void 0,t.target&&a&&e.emit(\"plotly_unhover\",{event:t,points:a}))}},{\"../../lib/dom\":279,\"../../lib/events\":280,\"../../lib/throttle\":311,\"../fx/constants\":191}],178:[function(e,t,n){\"use strict\";n.dash={valType:\"string\",values:[\"solid\",\"dot\",\"dash\",\"longdash\",\"dashdot\",\"longdashdot\"],dflt:\"solid\",editType:\"style\"},n.pattern={shape:{valType:\"enumerated\",values:[\"\",\"/\",\"\\\\\",\"x\",\"-\",\"|\",\"+\",\".\"],dflt:\"\",arrayOk:!0,editType:\"style\"},fillmode:{valType:\"enumerated\",values:[\"replace\",\"overlay\"],dflt:\"replace\",editType:\"style\"},bgcolor:{valType:\"color\",arrayOk:!0,editType:\"style\"},fgcolor:{valType:\"color\",arrayOk:!0,editType:\"style\"},fgopacity:{valType:\"number\",editType:\"style\",min:0,max:1},size:{valType:\"number\",min:0,dflt:8,arrayOk:!0,editType:\"style\"},solidity:{valType:\"number\",min:0,max:1,dflt:.3,arrayOk:!0,editType:\"style\"},editType:\"style\"}},{}],179:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../lib\"),i=a.numberFormat,o=e(\"fast-isnumeric\"),l=e(\"tinycolor2\"),s=e(\"../../registry\"),u=e(\"../color\"),c=e(\"../colorscale\"),f=a.strTranslate,d=e(\"../../lib/svg_text_utils\"),p=e(\"../../constants/xmlns_namespaces\"),h=e(\"../../constants/alignment\").LINE_SPACING,m=e(\"../../constants/interactions\").DESELECTDIM,g=e(\"../../traces/scatter/subtypes\"),y=e(\"../../traces/scatter/make_bubble_size_func\"),v=e(\"../../components/fx/helpers\").appendArrayPointValue,b=t.exports={};b.font=function(e,t,n,r){a.isPlainObject(t)&&(r=t.color,n=t.size,t=t.family),t&&e.style(\"font-family\",t),n+1&&e.style(\"font-size\",n+\"px\"),r&&e.call(u.fill,r)},b.setPosition=function(e,t,n){e.attr(\"x\",t).attr(\"y\",n)},b.setSize=function(e,t,n){e.attr(\"width\",t).attr(\"height\",n)},b.setRect=function(e,t,n,r,a){e.call(b.setPosition,t,n).call(b.setSize,r,a)},b.translatePoint=function(e,t,n,r){var a=n.c2p(e.x),i=r.c2p(e.y);return!!(o(a)&&o(i)&&t.node())&&(\"text\"===t.node().nodeName?t.attr(\"x\",a).attr(\"y\",i):t.attr(\"transform\",f(a,i)),!0)},b.translatePoints=function(e,t,n){e.each((function(e){var a=r.select(this);b.translatePoint(e,a,t,n)}))},b.hideOutsideRangePoint=function(e,t,n,r,a,i){t.attr(\"display\",n.isPtWithinRange(e,a)&&r.isPtWithinRange(e,i)?null:\"none\")},b.hideOutsideRangePoints=function(e,t){if(t._hasClipOnAxisFalse){var n=t.xaxis,a=t.yaxis;e.each((function(t){var i=t[0].trace,o=i.xcalendar,l=i.ycalendar,u=s.traceIs(i,\"bar-like\")?\".bartext\":\".point,.textpoint\";e.selectAll(u).each((function(e){b.hideOutsideRangePoint(e,r.select(this),n,a,o,l)}))}))}},b.crispRound=function(e,t,n){return t&&o(t)?e._context.staticPlot?t:t<1?1:Math.round(t):n||0},b.singleLineStyle=function(e,t,n,r,a){t.style(\"fill\",\"none\");var i=(((e||[])[0]||{}).trace||{}).line||{},o=n||i.width||0,l=a||i.dash||\"\";u.stroke(t,r||i.color),b.dashLine(t,l,o)},b.lineGroupStyle=function(e,t,n,a){e.style(\"fill\",\"none\").each((function(e){var i=(((e||[])[0]||{}).trace||{}).line||{},o=t||i.width||0,l=a||i.dash||\"\";r.select(this).call(u.stroke,n||i.color).call(b.dashLine,l,o)}))},b.dashLine=function(e,t,n){n=+n||0,t=b.dashStyle(t,n),e.style({\"stroke-dasharray\":t,\"stroke-width\":n+\"px\"})},b.dashStyle=function(e,t){t=+t||1;var n=Math.max(t,3);return\"solid\"===e?e=\"\":\"dot\"===e?e=n+\"px,\"+n+\"px\":\"dash\"===e?e=3*n+\"px,\"+3*n+\"px\":\"longdash\"===e?e=5*n+\"px,\"+5*n+\"px\":\"dashdot\"===e?e=3*n+\"px,\"+n+\"px,\"+n+\"px,\"+n+\"px\":\"longdashdot\"===e&&(e=5*n+\"px,\"+2*n+\"px,\"+n+\"px,\"+2*n+\"px\"),e},b.singleFillStyle=function(e){var t=(((r.select(e.node()).data()[0]||[])[0]||{}).trace||{}).fillcolor;t&&e.call(u.fill,t)},b.fillGroupStyle=function(e){e.style(\"stroke-width\",0).each((function(e){var t=r.select(this);e[0].trace&&t.call(u.fill,e[0].trace.fillcolor)}))};var x=e(\"./symbol_defs\");b.symbolNames=[],b.symbolFuncs=[],b.symbolNeedLines={},b.symbolNoDot={},b.symbolNoFill={},b.symbolList=[],Object.keys(x).forEach((function(e){var t=x[e],n=t.n;b.symbolList.push(n,String(n),e,n+100,String(n+100),e+\"-open\"),b.symbolNames[n]=e,b.symbolFuncs[n]=t.f,t.needLine&&(b.symbolNeedLines[n]=!0),t.noDot?b.symbolNoDot[n]=!0:b.symbolList.push(n+200,String(n+200),e+\"-dot\",n+300,String(n+300),e+\"-open-dot\"),t.noFill&&(b.symbolNoFill[n]=!0)}));var w=b.symbolNames.length;function _(e,t){var n=e%100;return b.symbolFuncs[n](t)+(e>=200?\"M0,0.5L0.5,0L0,-0.5L-0.5,0Z\":\"\")}b.symbolNumber=function(e){if(o(e))e=+e;else if(\"string\"==typeof e){var t=0;e.indexOf(\"-open\")>0&&(t=100,e=e.replace(\"-open\",\"\")),e.indexOf(\"-dot\")>0&&(t+=200,e=e.replace(\"-dot\",\"\")),(e=b.symbolNames.indexOf(e))>=0&&(e+=t)}return e%100>=w||e>=400?0:Math.floor(Math.max(e,0))};var k={x1:1,x2:0,y1:0,y2:0},T={x1:0,x2:0,y1:1,y2:0},M=i(\"~f\"),S={radial:{node:\"radialGradient\"},radialreversed:{node:\"radialGradient\",reversed:!0},horizontal:{node:\"linearGradient\",attrs:k},horizontalreversed:{node:\"linearGradient\",attrs:k,reversed:!0},vertical:{node:\"linearGradient\",attrs:T},verticalreversed:{node:\"linearGradient\",attrs:T,reversed:!0}};b.gradient=function(e,t,n,i,o,s){for(var c=o.length,f=S[i],d=new Array(c),p=0;p<c;p++)f.reversed?d[c-1-p]=[M(100*(1-o[p][0])),o[p][1]]:d[p]=[M(100*o[p][0]),o[p][1]];var h=t._fullLayout,m=\"g\"+h._uid+\"-\"+n,g=h._defs.select(\".gradients\").selectAll(\"#\"+m).data([i+d.join(\";\")],a.identity);g.exit().remove(),g.enter().append(f.node).each((function(){var e=r.select(this);f.attrs&&e.attr(f.attrs),e.attr(\"id\",m);var t=e.selectAll(\"stop\").data(d);t.exit().remove(),t.enter().append(\"stop\"),t.each((function(e){var t=l(e[1]);r.select(this).attr({offset:e[0]+\"%\",\"stop-color\":u.tinyRGB(t),\"stop-opacity\":t.getAlpha()})}))})),e.style(s,I(m,t)).style(s+\"-opacity\",null);var y=function(e){return\".\"+e.attr(\"class\").replace(/\\s/g,\".\")},v=y(r.select(e.node().parentNode))+\">\"+y(e);h._gradientUrlQueryParts[v]=1},b.pattern=function(e,t,n,i,o,l,s,c,f,d,p,h){var m=\"legend\"===t;c&&(\"overlay\"===f?(d=c,p=u.contrast(d)):(d=void 0,p=c));var g,y,v,b,x,w,_,k,T,M,S=n._fullLayout,E=\"p\"+S._uid+\"-\"+i,C={};switch(o){case\"/\":g=l*Math.sqrt(2),y=l*Math.sqrt(2),w=\"path\",C={d:v=\"M-\"+g/4+\",\"+y/4+\"l\"+g/2+\",-\"+y/2+\"M0,\"+y+\"L\"+g+\",0M\"+g/4*3+\",\"+y/4*5+\"l\"+g/2+\",-\"+y/2,opacity:h,stroke:p,\"stroke-width\":(b=s*l)+\"px\"};break;case\"\\\\\":g=l*Math.sqrt(2),y=l*Math.sqrt(2),w=\"path\",C={d:v=\"M\"+g/4*3+\",-\"+y/4+\"l\"+g/2+\",\"+y/2+\"M0,0L\"+g+\",\"+y+\"M-\"+g/4+\",\"+y/4*3+\"l\"+g/2+\",\"+y/2,opacity:h,stroke:p,\"stroke-width\":(b=s*l)+\"px\"};break;case\"x\":g=l*Math.sqrt(2),y=l*Math.sqrt(2),v=\"M-\"+g/4+\",\"+y/4+\"l\"+g/2+\",-\"+y/2+\"M0,\"+y+\"L\"+g+\",0M\"+g/4*3+\",\"+y/4*5+\"l\"+g/2+\",-\"+y/2+\"M\"+g/4*3+\",-\"+y/4+\"l\"+g/2+\",\"+y/2+\"M0,0L\"+g+\",\"+y+\"M-\"+g/4+\",\"+y/4*3+\"l\"+g/2+\",\"+y/2,b=l-l*Math.sqrt(1-s),w=\"path\",C={d:v,opacity:h,stroke:p,\"stroke-width\":b+\"px\"};break;case\"|\":w=\"path\",w=\"path\",C={d:v=\"M\"+(g=l)/2+\",0L\"+g/2+\",\"+(y=l),opacity:h,stroke:p,\"stroke-width\":(b=s*l)+\"px\"};break;case\"-\":w=\"path\",w=\"path\",C={d:v=\"M0,\"+(y=l)/2+\"L\"+(g=l)+\",\"+y/2,opacity:h,stroke:p,\"stroke-width\":(b=s*l)+\"px\"};break;case\"+\":w=\"path\",v=\"M\"+(g=l)/2+\",0L\"+g/2+\",\"+(y=l)+\"M0,\"+y/2+\"L\"+g+\",\"+y/2,b=l-l*Math.sqrt(1-s),w=\"path\",C={d:v,opacity:h,stroke:p,\"stroke-width\":b+\"px\"};break;case\".\":g=l,y=l,s<Math.PI/4?x=Math.sqrt(s*l*l/Math.PI):(_=s,k=Math.PI/4,T=1,x=(M=l/2)+(l/Math.sqrt(2)-M)*(_-k)/(T-k)),w=\"circle\",C={cx:g/2,cy:y/2,r:x,opacity:h,fill:p}}var O=[o||\"noSh\",d||\"noBg\",p||\"noFg\",l,s].join(\";\"),A=S._defs.select(\".patterns\").selectAll(\"#\"+E).data([O],a.identity);A.exit().remove(),A.enter().append(\"pattern\").each((function(){var e=r.select(this);if(e.attr({id:E,width:g+\"px\",height:y+\"px\",patternUnits:\"userSpaceOnUse\",patternTransform:m?\"scale(0.8)\":\"\"}),d){var t=e.selectAll(\"rect\").data([0]);t.exit().remove(),t.enter().append(\"rect\").attr({width:g+\"px\",height:y+\"px\",fill:d})}var n=e.selectAll(w).data([0]);n.exit().remove(),n.enter().append(w).attr(C)})),e.style(\"fill\",I(E,n)).style(\"fill-opacity\",null),e.classed(\"pattern_filled\",!0);var D=\".\"+r.select(e.node().parentNode).attr(\"class\").replace(/\\s/g,\".\")+\">.pattern_filled\";S._patternUrlQueryParts[D]=1},b.initGradients=function(e){var t=e._fullLayout;a.ensureSingle(t._defs,\"g\",\"gradients\").selectAll(\"linearGradient,radialGradient\").remove(),t._gradientUrlQueryParts={}},b.initPatterns=function(e){var t=e._fullLayout;a.ensureSingle(t._defs,\"g\",\"patterns\").selectAll(\"pattern\").remove(),t._patternUrlQueryParts={}},b.getPatternAttr=function(e,t,n){return e&&a.isArrayOrTypedArray(e)?t<e.length?e[t]:n:e},b.pointStyle=function(e,t,n){if(e.size()){var a=b.makePointStyleFns(t);e.each((function(e){b.singlePointStyle(e,r.select(this),t,a,n)}))}},b.singlePointStyle=function(e,t,n,r,i){var o=n.marker,l=o.line;if(t.style(\"opacity\",r.selectedOpacityFn?r.selectedOpacityFn(e):void 0===e.mo?o.opacity:e.mo),r.ms2mrc){var s;s=\"various\"===e.ms||\"various\"===o.size?3:r.ms2mrc(e.ms),e.mrc=s,r.selectedSizeFn&&(s=e.mrc=r.selectedSizeFn(e));var c=b.symbolNumber(e.mx||o.symbol)||0;e.om=c%200>=100,t.attr(\"d\",_(c,s))}var f,d,p,h=!1;if(e.so)p=l.outlierwidth,d=l.outliercolor,f=o.outliercolor;else{var m=(l||{}).width;p=(e.mlw+1||m+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,d=\"mlc\"in e?e.mlcc=r.lineScale(e.mlc):a.isArrayOrTypedArray(l.color)?u.defaultLine:l.color,a.isArrayOrTypedArray(o.color)&&(f=u.defaultLine,h=!0),f=\"mc\"in e?e.mcc=r.markerScale(e.mc):o.color||\"rgba(0,0,0,0)\",r.selectedColorFn&&(f=r.selectedColorFn(e))}if(e.om)t.call(u.stroke,f).style({\"stroke-width\":(p||1)+\"px\",fill:\"none\"});else{t.style(\"stroke-width\",(e.isBlank?0:p)+\"px\");var g=o.gradient,y=e.mgt;y?h=!0:y=g&&g.type,a.isArrayOrTypedArray(y)&&(y=y[0],S[y]||(y=0));var v=o.pattern,x=v&&b.getPatternAttr(v.shape,e.i,\"\");if(y&&\"none\"!==y){var w=e.mgc;w?h=!0:w=g.color;var k=n.uid;h&&(k+=\"-\"+e.i),b.gradient(t,i,k,y,[[0,w],[1,f]],\"fill\")}else if(x){var T=b.getPatternAttr(v.bgcolor,e.i,null),M=b.getPatternAttr(v.fgcolor,e.i,null),E=v.fgopacity,C=b.getPatternAttr(v.size,e.i,8),O=b.getPatternAttr(v.solidity,e.i,.3),A=e.mcc||a.isArrayOrTypedArray(v.shape)||a.isArrayOrTypedArray(v.bgcolor)||a.isArrayOrTypedArray(v.size)||a.isArrayOrTypedArray(v.solidity),D=n.uid;A&&(D+=\"-\"+e.i),b.pattern(t,\"point\",i,D,x,C,O,e.mcc,v.fillmode,T,M,E)}else u.fill(t,f);p&&u.stroke(t,d)}},b.makePointStyleFns=function(e){var t={},n=e.marker;return t.markerScale=b.tryColorscale(n,\"\"),t.lineScale=b.tryColorscale(n,\"line\"),s.traceIs(e,\"symbols\")&&(t.ms2mrc=g.isBubble(e)?y(e):function(){return(n.size||6)/2}),e.selectedpoints&&a.extendFlat(t,b.makeSelectedPointStyleFns(e)),t},b.makeSelectedPointStyleFns=function(e){var t={},n=e.selected||{},r=e.unselected||{},i=e.marker||{},o=n.marker||{},l=r.marker||{},u=i.opacity,c=o.opacity,f=l.opacity,d=void 0!==c,p=void 0!==f;(a.isArrayOrTypedArray(u)||d||p)&&(t.selectedOpacityFn=function(e){var t=void 0===e.mo?i.opacity:e.mo;return e.selected?d?c:t:p?f:m*t});var h=i.color,g=o.color,y=l.color;(g||y)&&(t.selectedColorFn=function(e){var t=e.mcc||h;return e.selected?g||t:y||t});var v=i.size,b=o.size,x=l.size,w=void 0!==b,_=void 0!==x;return s.traceIs(e,\"symbols\")&&(w||_)&&(t.selectedSizeFn=function(e){var t=e.mrc||v/2;return e.selected?w?b/2:t:_?x/2:t}),t},b.makeSelectedTextStyleFns=function(e){var t={},n=e.selected||{},r=e.unselected||{},a=e.textfont||{},i=n.textfont||{},o=r.textfont||{},l=a.color,s=i.color,c=o.color;return t.selectedTextColorFn=function(e){var t=e.tc||l;return e.selected?s||t:c||(s?t:u.addOpacity(t,m))},t},b.selectedPointStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=b.makeSelectedPointStyleFns(t),a=t.marker||{},i=[];n.selectedOpacityFn&&i.push((function(e,t){e.style(\"opacity\",n.selectedOpacityFn(t))})),n.selectedColorFn&&i.push((function(e,t){u.fill(e,n.selectedColorFn(t))})),n.selectedSizeFn&&i.push((function(e,t){var r=t.mx||a.symbol||0,i=n.selectedSizeFn(t);e.attr(\"d\",_(b.symbolNumber(r),i)),t.mrc2=i})),i.length&&e.each((function(e){for(var t=r.select(this),n=0;n<i.length;n++)i[n](t,e)}))}},b.tryColorscale=function(e,t){var n=t?a.nestedProperty(e,t).get():e;if(n){var r=n.color;if((n.colorscale||n._colorAx)&&a.isArrayOrTypedArray(r))return c.makeColorScaleFuncFromTrace(n)}return a.identity};var E={start:1,end:-1,middle:0,bottom:1,top:-1};function C(e,t,n,a,i){var o=r.select(e.node().parentNode),l=-1!==t.indexOf(\"top\")?\"top\":-1!==t.indexOf(\"bottom\")?\"bottom\":\"middle\",s=-1!==t.indexOf(\"left\")?\"end\":-1!==t.indexOf(\"right\")?\"start\":\"middle\",u=a?a/.8+1:0,c=(d.lineCount(e)-1)*h+1,p=E[s]*u,m=.75*n+E[l]*u+(E[l]-1)*c*n/2;e.attr(\"text-anchor\",s),i||o.attr(\"transform\",f(p,m))}function O(e,t){var n=e.ts||t.textfont.size;return o(n)&&n>0?n:0}function A(e,t,n,a){var i=e[0]-t[0],o=e[1]-t[1],l=n[0]-t[0],s=n[1]-t[1],u=Math.pow(i*i+o*o,.25),c=Math.pow(l*l+s*s,.25),f=(c*c*i-u*u*l)*a,d=(c*c*o-u*u*s)*a,p=3*c*(u+c),h=3*u*(u+c);return[[r.round(t[0]+(p&&f/p),2),r.round(t[1]+(p&&d/p),2)],[r.round(t[0]-(h&&f/h),2),r.round(t[1]-(h&&d/h),2)]]}b.textPointStyle=function(e,t,n){if(e.size()){var i;if(t.selectedpoints){var o=b.makeSelectedTextStyleFns(t);i=o.selectedTextColorFn}var l=t.texttemplate,s=n._fullLayout;e.each((function(e){var o=r.select(this),u=l?a.extractOption(e,t,\"txt\",\"texttemplate\"):a.extractOption(e,t,\"tx\",\"text\");if(u||0===u){if(l){var c=t._module.formatLabels,f=c?c(e,t,s):{},p={};v(p,t,e.i);var h=t._meta||{};u=a.texttemplateString(u,f,s._d3locale,p,e,h)}var m=e.tp||t.textposition,g=O(e,t),y=i?i(e):e.tc||t.textfont.color;o.call(b.font,e.tf||t.textfont.family,g,y).text(u).call(d.convertToTspans,n).call(C,m,g,e.mrc)}else o.remove()}))}},b.selectedTextStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=b.makeSelectedTextStyleFns(t);e.each((function(e){var a=r.select(this),i=n.selectedTextColorFn(e),o=e.tp||t.textposition,l=O(e,t);u.fill(a,i);var c=s.traceIs(t,\"bar-like\");C(a,o,l,e.mrc2||e.mrc,c)}))}},b.smoothopen=function(e,t){if(e.length<3)return\"M\"+e.join(\"L\");var n,r=\"M\"+e[0],a=[];for(n=1;n<e.length-1;n++)a.push(A(e[n-1],e[n],e[n+1],t));for(r+=\"Q\"+a[0][0]+\" \"+e[1],n=2;n<e.length-1;n++)r+=\"C\"+a[n-2][1]+\" \"+a[n-1][0]+\" \"+e[n];return r+\"Q\"+a[e.length-3][1]+\" \"+e[e.length-1]},b.smoothclosed=function(e,t){if(e.length<3)return\"M\"+e.join(\"L\")+\"Z\";var n,r=\"M\"+e[0],a=e.length-1,i=[A(e[a],e[0],e[1],t)];for(n=1;n<a;n++)i.push(A(e[n-1],e[n],e[n+1],t));for(i.push(A(e[a-1],e[a],e[0],t)),n=1;n<=a;n++)r+=\"C\"+i[n-1][1]+\" \"+i[n][0]+\" \"+e[n];return r+\"C\"+i[a][1]+\" \"+i[0][0]+\" \"+e[0]+\"Z\"};var D={hv:function(e,t){return\"H\"+r.round(t[0],2)+\"V\"+r.round(t[1],2)},vh:function(e,t){return\"V\"+r.round(t[1],2)+\"H\"+r.round(t[0],2)},hvh:function(e,t){return\"H\"+r.round((e[0]+t[0])/2,2)+\"V\"+r.round(t[1],2)+\"H\"+r.round(t[0],2)},vhv:function(e,t){return\"V\"+r.round((e[1]+t[1])/2,2)+\"H\"+r.round(t[0],2)+\"V\"+r.round(t[1],2)}},P=function(e,t){return\"L\"+r.round(t[0],2)+\",\"+r.round(t[1],2)};b.steps=function(e){var t=D[e]||P;return function(e){for(var n=\"M\"+r.round(e[0][0],2)+\",\"+r.round(e[0][1],2),a=1;a<e.length;a++)n+=t(e[a-1],e[a]);return n}},b.makeTester=function(){var e=a.ensureSingleById(r.select(\"body\"),\"svg\",\"js-plotly-tester\",(function(e){e.attr(p.svgAttrs).style({position:\"absolute\",left:\"-10000px\",top:\"-10000px\",width:\"9000px\",height:\"9000px\",\"z-index\":\"1\"})})),t=a.ensureSingle(e,\"path\",\"js-reference-point\",(function(e){e.attr(\"d\",\"M0,0H1V1H0Z\").style({\"stroke-width\":0,fill:\"black\"})}));b.tester=e,b.testref=t},b.savedBBoxes={};var R=0;function L(e){var t=e.getAttribute(\"data-unformatted\");if(null!==t)return t+e.getAttribute(\"data-math\")+e.getAttribute(\"text-anchor\")+e.getAttribute(\"style\")}function I(e,t){if(!e)return null;var n=t._context,r=n._exportedPlot?\"\":n._baseUrl||\"\";return r?\"url('\"+r+\"#\"+e+\"')\":\"url(#\"+e+\")\"}b.bBox=function(e,t,n){var i,o,l;if(n||(n=L(e)),n){if(i=b.savedBBoxes[n])return a.extendFlat({},i)}else if(1===e.childNodes.length){var s=e.childNodes[0];if(n=L(s)){var u=+s.getAttribute(\"x\")||0,c=+s.getAttribute(\"y\")||0,f=s.getAttribute(\"transform\");if(!f){var p=b.bBox(s,!1,n);return u&&(p.left+=u,p.right+=u),c&&(p.top+=c,p.bottom+=c),p}if(n+=\"~\"+u+\"~\"+c+\"~\"+f,i=b.savedBBoxes[n])return a.extendFlat({},i)}}t?o=e:(l=b.tester.node(),o=e.cloneNode(!0),l.appendChild(o)),r.select(o).attr(\"transform\",null).call(d.positionText,0,0);var h=o.getBoundingClientRect(),m=b.testref.node().getBoundingClientRect();t||l.removeChild(o);var g={height:h.height,width:h.width,left:h.left-m.left,top:h.top-m.top,right:h.right-m.left,bottom:h.bottom-m.top};return R>=1e4&&(b.savedBBoxes={},R=0),n&&(b.savedBBoxes[n]=g),R++,a.extendFlat({},g)},b.setClipUrl=function(e,t,n){e.attr(\"clip-path\",I(t,n))},b.getTranslate=function(e){var t=(e[e.attr?\"attr\":\"getAttribute\"](\"transform\")||\"\").replace(/.*\\btranslate\\((-?\\d*\\.?\\d*)[^-\\d]*(-?\\d*\\.?\\d*)[^\\d].*/,(function(e,t,n){return[t,n].join(\" \")})).split(\" \");return{x:+t[0]||0,y:+t[1]||0}},b.setTranslate=function(e,t,n){var r=e.attr?\"attr\":\"getAttribute\",a=e.attr?\"attr\":\"setAttribute\",i=e[r](\"transform\")||\"\";return t=t||0,n=n||0,i=i.replace(/(\\btranslate\\(.*?\\);?)/,\"\").trim(),i=(i+=f(t,n)).trim(),e[a](\"transform\",i),i},b.getScale=function(e){var t=(e[e.attr?\"attr\":\"getAttribute\"](\"transform\")||\"\").replace(/.*\\bscale\\((\\d*\\.?\\d*)[^\\d]*(\\d*\\.?\\d*)[^\\d].*/,(function(e,t,n){return[t,n].join(\" \")})).split(\" \");return{x:+t[0]||1,y:+t[1]||1}},b.setScale=function(e,t,n){var r=e.attr?\"attr\":\"getAttribute\",a=e.attr?\"attr\":\"setAttribute\",i=e[r](\"transform\")||\"\";return t=t||1,n=n||1,i=i.replace(/(\\bscale\\(.*?\\);?)/,\"\").trim(),i=(i+=\"scale(\"+t+\",\"+n+\")\").trim(),e[a](\"transform\",i),i};var j=/\\s*sc.*/;b.setPointGroupScale=function(e,t,n){if(t=t||1,n=n||1,e){var r=1===t&&1===n?\"\":\"scale(\"+t+\",\"+n+\")\";e.each((function(){var e=(this.getAttribute(\"transform\")||\"\").replace(j,\"\");e=(e+=r).trim(),this.setAttribute(\"transform\",e)}))}};var N=/translate\\([^)]*\\)\\s*$/;b.setTextPointsScale=function(e,t,n){e&&e.each((function(){var e,a=r.select(this),i=a.select(\"text\");if(i.node()){var o=parseFloat(i.attr(\"x\")||0),l=parseFloat(i.attr(\"y\")||0),s=(a.attr(\"transform\")||\"\").match(N);e=1===t&&1===n?[]:[f(o,l),\"scale(\"+t+\",\"+n+\")\",f(-o,-l)],s&&e.push(s),a.attr(\"transform\",e.join(\"\"))}}))}},{\"../../components/fx/helpers\":193,\"../../constants/alignment\":262,\"../../constants/interactions\":266,\"../../constants/xmlns_namespaces\":268,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../registry\":378,\"../../traces/scatter/make_bubble_size_func\":517,\"../../traces/scatter/subtypes\":525,\"../color\":157,\"../colorscale\":169,\"./symbol_defs\":180,\"@plotly/d3\":20,\"fast-isnumeric\":33,tinycolor2:121}],180:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\");t.exports={circle:{n:0,f:function(e){var t=r.round(e,2);return\"M\"+t+\",0A\"+t+\",\"+t+\" 0 1,1 0,-\"+t+\"A\"+t+\",\"+t+\" 0 0,1 \"+t+\",0Z\"}},square:{n:1,f:function(e){var t=r.round(e,2);return\"M\"+t+\",\"+t+\"H-\"+t+\"V-\"+t+\"H\"+t+\"Z\"}},diamond:{n:2,f:function(e){var t=r.round(1.3*e,2);return\"M\"+t+\",0L0,\"+t+\"L-\"+t+\",0L0,-\"+t+\"Z\"}},cross:{n:3,f:function(e){var t=r.round(.4*e,2),n=r.round(1.2*e,2);return\"M\"+n+\",\"+t+\"H\"+t+\"V\"+n+\"H-\"+t+\"V\"+t+\"H-\"+n+\"V-\"+t+\"H-\"+t+\"V-\"+n+\"H\"+t+\"V-\"+t+\"H\"+n+\"Z\"}},x:{n:4,f:function(e){var t=r.round(.8*e/Math.sqrt(2),2),n=\"l\"+t+\",\"+t,a=\"l\"+t+\",-\"+t,i=\"l-\"+t+\",-\"+t,o=\"l-\"+t+\",\"+t;return\"M0,\"+t+n+a+i+a+i+o+i+o+n+o+n+\"Z\"}},\"triangle-up\":{n:5,f:function(e){var t=r.round(2*e/Math.sqrt(3),2);return\"M-\"+t+\",\"+r.round(e/2,2)+\"H\"+t+\"L0,-\"+r.round(e,2)+\"Z\"}},\"triangle-down\":{n:6,f:function(e){var t=r.round(2*e/Math.sqrt(3),2);return\"M-\"+t+\",-\"+r.round(e/2,2)+\"H\"+t+\"L0,\"+r.round(e,2)+\"Z\"}},\"triangle-left\":{n:7,f:function(e){var t=r.round(2*e/Math.sqrt(3),2);return\"M\"+r.round(e/2,2)+\",-\"+t+\"V\"+t+\"L-\"+r.round(e,2)+\",0Z\"}},\"triangle-right\":{n:8,f:function(e){var t=r.round(2*e/Math.sqrt(3),2);return\"M-\"+r.round(e/2,2)+\",-\"+t+\"V\"+t+\"L\"+r.round(e,2)+\",0Z\"}},\"triangle-ne\":{n:9,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return\"M-\"+n+\",-\"+t+\"H\"+t+\"V\"+n+\"Z\"}},\"triangle-se\":{n:10,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return\"M\"+t+\",-\"+n+\"V\"+t+\"H-\"+n+\"Z\"}},\"triangle-sw\":{n:11,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return\"M\"+n+\",\"+t+\"H-\"+t+\"V-\"+n+\"Z\"}},\"triangle-nw\":{n:12,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return\"M-\"+t+\",\"+n+\"V-\"+t+\"H\"+n+\"Z\"}},pentagon:{n:13,f:function(e){var t=r.round(.951*e,2),n=r.round(.588*e,2),a=r.round(-e,2),i=r.round(-.309*e,2);return\"M\"+t+\",\"+i+\"L\"+n+\",\"+r.round(.809*e,2)+\"H-\"+n+\"L-\"+t+\",\"+i+\"L0,\"+a+\"Z\"}},hexagon:{n:14,f:function(e){var t=r.round(e,2),n=r.round(e/2,2),a=r.round(e*Math.sqrt(3)/2,2);return\"M\"+a+\",-\"+n+\"V\"+n+\"L0,\"+t+\"L-\"+a+\",\"+n+\"V-\"+n+\"L0,-\"+t+\"Z\"}},hexagon2:{n:15,f:function(e){var t=r.round(e,2),n=r.round(e/2,2),a=r.round(e*Math.sqrt(3)/2,2);return\"M-\"+n+\",\"+a+\"H\"+n+\"L\"+t+\",0L\"+n+\",-\"+a+\"H-\"+n+\"L-\"+t+\",0Z\"}},octagon:{n:16,f:function(e){var t=r.round(.924*e,2),n=r.round(.383*e,2);return\"M-\"+n+\",-\"+t+\"H\"+n+\"L\"+t+\",-\"+n+\"V\"+n+\"L\"+n+\",\"+t+\"H-\"+n+\"L-\"+t+\",\"+n+\"V-\"+n+\"Z\"}},star:{n:17,f:function(e){var t=1.4*e,n=r.round(.225*t,2),a=r.round(.951*t,2),i=r.round(.363*t,2),o=r.round(.588*t,2),l=r.round(-t,2),s=r.round(-.309*t,2),u=r.round(.118*t,2),c=r.round(.809*t,2);return\"M\"+n+\",\"+s+\"H\"+a+\"L\"+i+\",\"+u+\"L\"+o+\",\"+c+\"L0,\"+r.round(.382*t,2)+\"L-\"+o+\",\"+c+\"L-\"+i+\",\"+u+\"L-\"+a+\",\"+s+\"H-\"+n+\"L0,\"+l+\"Z\"}},hexagram:{n:18,f:function(e){var t=r.round(.66*e,2),n=r.round(.38*e,2),a=r.round(.76*e,2);return\"M-\"+a+\",0l-\"+n+\",-\"+t+\"h\"+a+\"l\"+n+\",-\"+t+\"l\"+n+\",\"+t+\"h\"+a+\"l-\"+n+\",\"+t+\"l\"+n+\",\"+t+\"h-\"+a+\"l-\"+n+\",\"+t+\"l-\"+n+\",-\"+t+\"h-\"+a+\"Z\"}},\"star-triangle-up\":{n:19,f:function(e){var t=r.round(e*Math.sqrt(3)*.8,2),n=r.round(.8*e,2),a=r.round(1.6*e,2),i=r.round(4*e,2),o=\"A \"+i+\",\"+i+\" 0 0 1 \";return\"M-\"+t+\",\"+n+o+t+\",\"+n+o+\"0,-\"+a+o+\"-\"+t+\",\"+n+\"Z\"}},\"star-triangle-down\":{n:20,f:function(e){var t=r.round(e*Math.sqrt(3)*.8,2),n=r.round(.8*e,2),a=r.round(1.6*e,2),i=r.round(4*e,2),o=\"A \"+i+\",\"+i+\" 0 0 1 \";return\"M\"+t+\",-\"+n+o+\"-\"+t+\",-\"+n+o+\"0,\"+a+o+t+\",-\"+n+\"Z\"}},\"star-square\":{n:21,f:function(e){var t=r.round(1.1*e,2),n=r.round(2*e,2),a=\"A \"+n+\",\"+n+\" 0 0 1 \";return\"M-\"+t+\",-\"+t+a+\"-\"+t+\",\"+t+a+t+\",\"+t+a+t+\",-\"+t+a+\"-\"+t+\",-\"+t+\"Z\"}},\"star-diamond\":{n:22,f:function(e){var t=r.round(1.4*e,2),n=r.round(1.9*e,2),a=\"A \"+n+\",\"+n+\" 0 0 1 \";return\"M-\"+t+\",0\"+a+\"0,\"+t+a+t+\",0\"+a+\"0,-\"+t+a+\"-\"+t+\",0Z\"}},\"diamond-tall\":{n:23,f:function(e){var t=r.round(.7*e,2),n=r.round(1.4*e,2);return\"M0,\"+n+\"L\"+t+\",0L0,-\"+n+\"L-\"+t+\",0Z\"}},\"diamond-wide\":{n:24,f:function(e){var t=r.round(1.4*e,2),n=r.round(.7*e,2);return\"M0,\"+n+\"L\"+t+\",0L0,-\"+n+\"L-\"+t+\",0Z\"}},hourglass:{n:25,f:function(e){var t=r.round(e,2);return\"M\"+t+\",\"+t+\"H-\"+t+\"L\"+t+\",-\"+t+\"H-\"+t+\"Z\"},noDot:!0},bowtie:{n:26,f:function(e){var t=r.round(e,2);return\"M\"+t+\",\"+t+\"V-\"+t+\"L-\"+t+\",\"+t+\"V-\"+t+\"Z\"},noDot:!0},\"circle-cross\":{n:27,f:function(e){var t=r.round(e,2);return\"M0,\"+t+\"V-\"+t+\"M\"+t+\",0H-\"+t+\"M\"+t+\",0A\"+t+\",\"+t+\" 0 1,1 0,-\"+t+\"A\"+t+\",\"+t+\" 0 0,1 \"+t+\",0Z\"},needLine:!0,noDot:!0},\"circle-x\":{n:28,f:function(e){var t=r.round(e,2),n=r.round(e/Math.sqrt(2),2);return\"M\"+n+\",\"+n+\"L-\"+n+\",-\"+n+\"M\"+n+\",-\"+n+\"L-\"+n+\",\"+n+\"M\"+t+\",0A\"+t+\",\"+t+\" 0 1,1 0,-\"+t+\"A\"+t+\",\"+t+\" 0 0,1 \"+t+\",0Z\"},needLine:!0,noDot:!0},\"square-cross\":{n:29,f:function(e){var t=r.round(e,2);return\"M0,\"+t+\"V-\"+t+\"M\"+t+\",0H-\"+t+\"M\"+t+\",\"+t+\"H-\"+t+\"V-\"+t+\"H\"+t+\"Z\"},needLine:!0,noDot:!0},\"square-x\":{n:30,f:function(e){var t=r.round(e,2);return\"M\"+t+\",\"+t+\"L-\"+t+\",-\"+t+\"M\"+t+\",-\"+t+\"L-\"+t+\",\"+t+\"M\"+t+\",\"+t+\"H-\"+t+\"V-\"+t+\"H\"+t+\"Z\"},needLine:!0,noDot:!0},\"diamond-cross\":{n:31,f:function(e){var t=r.round(1.3*e,2);return\"M\"+t+\",0L0,\"+t+\"L-\"+t+\",0L0,-\"+t+\"ZM0,-\"+t+\"V\"+t+\"M-\"+t+\",0H\"+t},needLine:!0,noDot:!0},\"diamond-x\":{n:32,f:function(e){var t=r.round(1.3*e,2),n=r.round(.65*e,2);return\"M\"+t+\",0L0,\"+t+\"L-\"+t+\",0L0,-\"+t+\"ZM-\"+n+\",-\"+n+\"L\"+n+\",\"+n+\"M-\"+n+\",\"+n+\"L\"+n+\",-\"+n},needLine:!0,noDot:!0},\"cross-thin\":{n:33,f:function(e){var t=r.round(1.4*e,2);return\"M0,\"+t+\"V-\"+t+\"M\"+t+\",0H-\"+t},needLine:!0,noDot:!0,noFill:!0},\"x-thin\":{n:34,f:function(e){var t=r.round(e,2);return\"M\"+t+\",\"+t+\"L-\"+t+\",-\"+t+\"M\"+t+\",-\"+t+\"L-\"+t+\",\"+t},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(e){var t=r.round(1.2*e,2),n=r.round(.85*e,2);return\"M0,\"+t+\"V-\"+t+\"M\"+t+\",0H-\"+t+\"M\"+n+\",\"+n+\"L-\"+n+\",-\"+n+\"M\"+n+\",-\"+n+\"L-\"+n+\",\"+n},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(e){var t=r.round(e/2,2),n=r.round(e,2);return\"M\"+t+\",\"+n+\"V-\"+n+\"m-\"+n+\",0V\"+n+\"M\"+n+\",\"+t+\"H-\"+n+\"m0,-\"+n+\"H\"+n},needLine:!0,noFill:!0},\"y-up\":{n:37,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),a=r.round(.8*e,2);return\"M-\"+t+\",\"+a+\"L0,0M\"+t+\",\"+a+\"L0,0M0,-\"+n+\"L0,0\"},needLine:!0,noDot:!0,noFill:!0},\"y-down\":{n:38,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),a=r.round(.8*e,2);return\"M-\"+t+\",-\"+a+\"L0,0M\"+t+\",-\"+a+\"L0,0M0,\"+n+\"L0,0\"},needLine:!0,noDot:!0,noFill:!0},\"y-left\":{n:39,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),a=r.round(.8*e,2);return\"M\"+a+\",\"+t+\"L0,0M\"+a+\",-\"+t+\"L0,0M-\"+n+\",0L0,0\"},needLine:!0,noDot:!0,noFill:!0},\"y-right\":{n:40,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),a=r.round(.8*e,2);return\"M-\"+a+\",\"+t+\"L0,0M-\"+a+\",-\"+t+\"L0,0M\"+n+\",0L0,0\"},needLine:!0,noDot:!0,noFill:!0},\"line-ew\":{n:41,f:function(e){var t=r.round(1.4*e,2);return\"M\"+t+\",0H-\"+t},needLine:!0,noDot:!0,noFill:!0},\"line-ns\":{n:42,f:function(e){var t=r.round(1.4*e,2);return\"M0,\"+t+\"V-\"+t},needLine:!0,noDot:!0,noFill:!0},\"line-ne\":{n:43,f:function(e){var t=r.round(e,2);return\"M\"+t+\",-\"+t+\"L-\"+t+\",\"+t},needLine:!0,noDot:!0,noFill:!0},\"line-nw\":{n:44,f:function(e){var t=r.round(e,2);return\"M\"+t+\",\"+t+\"L-\"+t+\",-\"+t},needLine:!0,noDot:!0,noFill:!0},\"arrow-up\":{n:45,f:function(e){var t=r.round(e,2);return\"M0,0L-\"+t+\",\"+r.round(2*e,2)+\"H\"+t+\"Z\"},noDot:!0},\"arrow-down\":{n:46,f:function(e){var t=r.round(e,2);return\"M0,0L-\"+t+\",-\"+r.round(2*e,2)+\"H\"+t+\"Z\"},noDot:!0},\"arrow-left\":{n:47,f:function(e){var t=r.round(2*e,2),n=r.round(e,2);return\"M0,0L\"+t+\",-\"+n+\"V\"+n+\"Z\"},noDot:!0},\"arrow-right\":{n:48,f:function(e){var t=r.round(2*e,2),n=r.round(e,2);return\"M0,0L-\"+t+\",-\"+n+\"V\"+n+\"Z\"},noDot:!0},\"arrow-bar-up\":{n:49,f:function(e){var t=r.round(e,2);return\"M-\"+t+\",0H\"+t+\"M0,0L-\"+t+\",\"+r.round(2*e,2)+\"H\"+t+\"Z\"},needLine:!0,noDot:!0},\"arrow-bar-down\":{n:50,f:function(e){var t=r.round(e,2);return\"M-\"+t+\",0H\"+t+\"M0,0L-\"+t+\",-\"+r.round(2*e,2)+\"H\"+t+\"Z\"},needLine:!0,noDot:!0},\"arrow-bar-left\":{n:51,f:function(e){var t=r.round(2*e,2),n=r.round(e,2);return\"M0,-\"+n+\"V\"+n+\"M0,0L\"+t+\",-\"+n+\"V\"+n+\"Z\"},needLine:!0,noDot:!0},\"arrow-bar-right\":{n:52,f:function(e){var t=r.round(2*e,2),n=r.round(e,2);return\"M0,-\"+n+\"V\"+n+\"M0,0L-\"+t+\",-\"+n+\"V\"+n+\"Z\"},needLine:!0,noDot:!0}}},{\"@plotly/d3\":20}],181:[function(e,t,n){\"use strict\";t.exports={visible:{valType:\"boolean\",editType:\"calc\"},type:{valType:\"enumerated\",values:[\"percent\",\"constant\",\"sqrt\",\"data\"],editType:\"calc\"},symmetric:{valType:\"boolean\",editType:\"calc\"},array:{valType:\"data_array\",editType:\"calc\"},arrayminus:{valType:\"data_array\",editType:\"calc\"},value:{valType:\"number\",min:0,dflt:10,editType:\"calc\"},valueminus:{valType:\"number\",min:0,dflt:10,editType:\"calc\"},traceref:{valType:\"integer\",min:0,dflt:0,editType:\"style\"},tracerefminus:{valType:\"integer\",min:0,dflt:0,editType:\"style\"},copy_ystyle:{valType:\"boolean\",editType:\"plot\"},copy_zstyle:{valType:\"boolean\",editType:\"style\"},color:{valType:\"color\",editType:\"style\"},thickness:{valType:\"number\",min:0,dflt:2,editType:\"style\"},width:{valType:\"number\",min:0,editType:\"plot\"},editType:\"calc\",_deprecated:{opacity:{valType:\"number\",editType:\"style\"}}}},{}],182:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../registry\"),i=e(\"../../plots/cartesian/axes\"),o=e(\"../../lib\"),l=e(\"./compute_error\");function s(e,t,n,a){var s=t[\"error_\"+a]||{},u=[];if(s.visible&&-1!==[\"linear\",\"log\"].indexOf(n.type)){for(var c=l(s),f=0;f<e.length;f++){var d=e[f],p=d.i;if(void 0===p)p=f;else if(null===p)continue;var h=d[a];if(r(n.c2l(h))){var m=c(h,p);if(r(m[0])&&r(m[1])){var g=d[a+\"s\"]=h-m[0],y=d[a+\"h\"]=h+m[1];u.push(g,y)}}}var v=n._id,b=t._extremes[v],x=i.findExtremes(n,u,o.extendFlat({tozero:b.opts.tozero},{padded:!0}));b.min=b.min.concat(x.min),b.max=b.max.concat(x.max)}}t.exports=function(e){for(var t=e.calcdata,n=0;n<t.length;n++){var r=t[n],o=r[0].trace;if(!0===o.visible&&a.traceIs(o,\"errorBarsOK\")){var l=i.getFromId(e,o.xaxis),u=i.getFromId(e,o.yaxis);s(r,o,l,\"x\"),s(r,o,u,\"y\")}}}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"../../registry\":378,\"./compute_error\":183,\"fast-isnumeric\":33}],183:[function(e,t,n){\"use strict\";function r(e,t){return\"percent\"===e?function(e){return Math.abs(e*t/100)}:\"constant\"===e?function(){return Math.abs(t)}:\"sqrt\"===e?function(e){return Math.sqrt(Math.abs(e))}:void 0}t.exports=function(e){var t=e.type,n=e.symmetric;if(\"data\"===t){var a=e.array||[];if(n)return function(e,t){var n=+a[t];return[n,n]};var i=e.arrayminus||[];return function(e,t){var n=+a[t],r=+i[t];return isNaN(n)&&isNaN(r)?[NaN,NaN]:[r||0,n||0]}}var o=r(t,e.value),l=r(t,e.valueminus);return n||void 0===e.valueminus?function(e){var t=o(e);return[t,t]}:function(e){return[l(e),o(e)]}}},{}],184:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../registry\"),i=e(\"../../lib\"),o=e(\"../../plot_api/plot_template\"),l=e(\"./attributes\");t.exports=function(e,t,n,s){var u=\"error_\"+s.axis,c=o.newContainer(t,u),f=e[u]||{};function d(e,t){return i.coerce(f,c,l,e,t)}if(!1!==d(\"visible\",void 0!==f.array||void 0!==f.value||\"sqrt\"===f.type)){var p=d(\"type\",\"array\"in f?\"data\":\"percent\"),h=!0;\"sqrt\"!==p&&(h=d(\"symmetric\",!((\"data\"===p?\"arrayminus\":\"valueminus\")in f))),\"data\"===p?(d(\"array\"),d(\"traceref\"),h||(d(\"arrayminus\"),d(\"tracerefminus\"))):\"percent\"!==p&&\"constant\"!==p||(d(\"value\"),h||d(\"valueminus\"));var m=\"copy_\"+s.inherit+\"style\";s.inherit&&(t[\"error_\"+s.inherit]||{}).visible&&d(m,!(f.color||r(f.thickness)||r(f.width))),s.inherit&&c[m]||(d(\"color\",n),d(\"thickness\"),d(\"width\",a.traceIs(t,\"gl3d\")?0:4))}}},{\"../../lib\":287,\"../../plot_api/plot_template\":323,\"../../registry\":378,\"./attributes\":181,\"fast-isnumeric\":33}],185:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plot_api/edit_types\").overrideAll,i=e(\"./attributes\"),o={error_x:r.extendFlat({},i),error_y:r.extendFlat({},i)};delete o.error_x.copy_zstyle,delete o.error_y.copy_zstyle,delete o.error_y.copy_ystyle;var l={error_x:r.extendFlat({},i),error_y:r.extendFlat({},i),error_z:r.extendFlat({},i)};delete l.error_x.copy_ystyle,delete l.error_y.copy_ystyle,delete l.error_z.copy_ystyle,delete l.error_z.copy_zstyle,t.exports={moduleType:\"component\",name:\"errorbars\",schema:{traces:{scatter:o,bar:o,histogram:o,scatter3d:a(l,\"calc\",\"nested\"),scattergl:a(o,\"calc\",\"nested\")}},supplyDefaults:e(\"./defaults\"),calc:e(\"./calc\"),makeComputeError:e(\"./compute_error\"),plot:e(\"./plot\"),style:e(\"./style\"),hoverInfo:function(e,t,n){(t.error_y||{}).visible&&(n.yerr=e.yh-e.y,t.error_y.symmetric||(n.yerrneg=e.y-e.ys)),(t.error_x||{}).visible&&(n.xerr=e.xh-e.x,t.error_x.symmetric||(n.xerrneg=e.x-e.xs))}}},{\"../../lib\":287,\"../../plot_api/edit_types\":316,\"./attributes\":181,\"./calc\":182,\"./compute_error\":183,\"./defaults\":184,\"./plot\":186,\"./style\":187}],186:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"fast-isnumeric\"),i=e(\"../drawing\"),o=e(\"../../traces/scatter/subtypes\");t.exports=function(e,t,n,l){var s=n.xaxis,u=n.yaxis,c=l&&l.duration>0;t.each((function(t){var f,d=t[0].trace,p=d.error_x||{},h=d.error_y||{};d.ids&&(f=function(e){return e.id});var m=o.hasMarkers(d)&&d.marker.maxdisplayed>0;h.visible||p.visible||(t=[]);var g=r.select(this).selectAll(\"g.errorbar\").data(t,f);if(g.exit().remove(),t.length){p.visible||g.selectAll(\"path.xerror\").remove(),h.visible||g.selectAll(\"path.yerror\").remove(),g.style(\"opacity\",1);var y=g.enter().append(\"g\").classed(\"errorbar\",!0);c&&y.style(\"opacity\",0).transition().duration(l.duration).style(\"opacity\",1),i.setClipUrl(g,n.layerClipId,e),g.each((function(e){var t=r.select(this),n=function(e,t,n){var r={x:t.c2p(e.x),y:n.c2p(e.y)};return void 0!==e.yh&&(r.yh=n.c2p(e.yh),r.ys=n.c2p(e.ys),a(r.ys)||(r.noYS=!0,r.ys=n.c2p(e.ys,!0))),void 0!==e.xh&&(r.xh=t.c2p(e.xh),r.xs=t.c2p(e.xs),a(r.xs)||(r.noXS=!0,r.xs=t.c2p(e.xs,!0))),r}(e,s,u);if(!m||e.vis){var i,o=t.select(\"path.yerror\");if(h.visible&&a(n.x)&&a(n.yh)&&a(n.ys)){var f=h.width;i=\"M\"+(n.x-f)+\",\"+n.yh+\"h\"+2*f+\"m-\"+f+\",0V\"+n.ys,n.noYS||(i+=\"m-\"+f+\",0h\"+2*f),o.size()?c&&(o=o.transition().duration(l.duration).ease(l.easing)):o=t.append(\"path\").style(\"vector-effect\",\"non-scaling-stroke\").classed(\"yerror\",!0),o.attr(\"d\",i)}else o.remove();var d=t.select(\"path.xerror\");if(p.visible&&a(n.y)&&a(n.xh)&&a(n.xs)){var g=(p.copy_ystyle?h:p).width;i=\"M\"+n.xh+\",\"+(n.y-g)+\"v\"+2*g+\"m0,-\"+g+\"H\"+n.xs,n.noXS||(i+=\"m0,-\"+g+\"v\"+2*g),d.size()?c&&(d=d.transition().duration(l.duration).ease(l.easing)):d=t.append(\"path\").style(\"vector-effect\",\"non-scaling-stroke\").classed(\"xerror\",!0),d.attr(\"d\",i)}else d.remove()}}))}}))}},{\"../../traces/scatter/subtypes\":525,\"../drawing\":179,\"@plotly/d3\":20,\"fast-isnumeric\":33}],187:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../color\");t.exports=function(e){e.each((function(e){var t=e[0].trace,n=t.error_y||{},i=t.error_x||{},o=r.select(this);o.selectAll(\"path.yerror\").style(\"stroke-width\",n.thickness+\"px\").call(a.stroke,n.color),i.copy_ystyle&&(i=n),o.selectAll(\"path.xerror\").style(\"stroke-width\",i.thickness+\"px\").call(a.stroke,i.color)}))}},{\"../color\":157,\"@plotly/d3\":20}],188:[function(e,t,n){\"use strict\";var r=e(\"../../plots/font_attributes\"),a=e(\"./layout_attributes\").hoverlabel,i=e(\"../../lib/extend\").extendFlat;t.exports={hoverlabel:{bgcolor:i({},a.bgcolor,{arrayOk:!0}),bordercolor:i({},a.bordercolor,{arrayOk:!0}),font:r({arrayOk:!0,editType:\"none\"}),align:i({},a.align,{arrayOk:!0}),namelength:i({},a.namelength,{arrayOk:!0}),editType:\"none\"}}},{\"../../lib/extend\":281,\"../../plots/font_attributes\":365,\"./layout_attributes\":198}],189:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../registry\");function i(e,t,n,a){a=a||r.identity,Array.isArray(e)&&(t[0][n]=a(e))}t.exports=function(e){var t=e.calcdata,n=e._fullLayout;function o(e){return function(t){return r.coerceHoverinfo({hoverinfo:t},{_module:e._module},n)}}for(var l=0;l<t.length;l++){var s=t[l],u=s[0].trace;if(!a.traceIs(u,\"pie-like\")){var c=a.traceIs(u,\"2dMap\")?i:r.fillArray;c(u.hoverinfo,s,\"hi\",o(u)),u.hovertemplate&&c(u.hovertemplate,s,\"ht\"),u.hoverlabel&&(c(u.hoverlabel.bgcolor,s,\"hbg\"),c(u.hoverlabel.bordercolor,s,\"hbc\"),c(u.hoverlabel.font.size,s,\"hts\"),c(u.hoverlabel.font.color,s,\"htc\"),c(u.hoverlabel.font.family,s,\"htf\"),c(u.hoverlabel.namelength,s,\"hnl\"),c(u.hoverlabel.align,s,\"hta\"))}}}},{\"../../lib\":287,\"../../registry\":378}],190:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"./hover\").hover;t.exports=function(e,t,n){var i=r.getComponentMethod(\"annotations\",\"onClick\")(e,e._hoverdata);function o(){e.emit(\"plotly_click\",{points:e._hoverdata,event:t})}void 0!==n&&a(e,t,n,!0),e._hoverdata&&t&&t.target&&(i&&i.then?i.then(o):o(),t.stopImmediatePropagation&&t.stopImmediatePropagation())}},{\"../../registry\":378,\"./hover\":194}],191:[function(e,t,n){\"use strict\";t.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:\"Arial, sans-serif\",HOVERMINTIME:50,HOVERID:\"-hover\"}},{}],192:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./attributes\"),i=e(\"./hoverlabel_defaults\");t.exports=function(e,t,n,o){var l=r.extendFlat({},o.hoverlabel);t.hovertemplate&&(l.namelength=-1),i(e,t,(function(n,i){return r.coerce(e,t,a,n,i)}),l)}},{\"../../lib\":287,\"./attributes\":188,\"./hoverlabel_defaults\":195}],193:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");n.getSubplot=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo},n.isTraceInSubplots=function(e,t){if(\"splom\"===e.type){for(var r=e.xaxes||[],a=e.yaxes||[],i=0;i<r.length;i++)for(var o=0;o<a.length;o++)if(-1!==t.indexOf(r[i]+a[o]))return!0;return!1}return-1!==t.indexOf(n.getSubplot(e))},n.flat=function(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)n[r]=t;return n},n.p2c=function(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r].p2c(t);return n},n.getDistanceFunction=function(e,t,r,a){return\"closest\"===e?a||n.quadrature(t,r):\"x\"===e.charAt(0)?t:r},n.getClosest=function(e,t,n){if(!1!==n.index)n.index>=0&&n.index<e.length?n.distance=0:n.index=!1;else for(var r=0;r<e.length;r++){var a=t(e[r]);a<=n.distance&&(n.index=r,n.distance=a)}return n},n.inbox=function(e,t,n){return e*t<0||0===e?n:1/0},n.quadrature=function(e,t){return function(n){var r=e(n),a=t(n);return Math.sqrt(r*r+a*a)}},n.makeEventData=function(e,t,r){var a=\"index\"in e?e.index:e.pointNumber,i={data:t._input,fullData:t,curveNumber:t.index,pointNumber:a};if(t._indexToPoints){var o=t._indexToPoints[a];1===o.length?i.pointIndex=o[0]:i.pointIndices=o}else i.pointIndex=a;return t._module.eventData?i=t._module.eventData(i,e,t,r,a):(\"xVal\"in e?i.x=e.xVal:\"x\"in e&&(i.x=e.x),\"yVal\"in e?i.y=e.yVal:\"y\"in e&&(i.y=e.y),e.xa&&(i.xaxis=e.xa),e.ya&&(i.yaxis=e.ya),void 0!==e.zLabelVal&&(i.z=e.zLabelVal)),n.appendArrayPointValue(i,t,a),i},n.appendArrayPointValue=function(e,t,n){var a=t._arrayAttrs;if(a)for(var l=0;l<a.length;l++){var s=a[l],u=i(s);if(void 0===e[u]){var c=o(r.nestedProperty(t,s).get(),n);void 0!==c&&(e[u]=c)}}},n.appendArrayMultiPointValues=function(e,t,n){var a=t._arrayAttrs;if(a)for(var l=0;l<a.length;l++){var s=a[l],u=i(s);if(void 0===e[u]){for(var c=r.nestedProperty(t,s).get(),f=new Array(n.length),d=0;d<n.length;d++)f[d]=o(c,n[d]);e[u]=f}}};var a={ids:\"id\",locations:\"location\",labels:\"label\",values:\"value\",\"marker.colors\":\"color\",parents:\"parent\"};function i(e){return a[e]||e}function o(e,t){return Array.isArray(t)?Array.isArray(e)&&Array.isArray(e[t[0]])?e[t[0]][t[1]]:void 0:e[t]}var l={x:!0,y:!0},s={\"x unified\":!0,\"y unified\":!0};n.isUnifiedHover=function(e){return\"string\"==typeof e&&!!s[e]},n.isXYhover=function(e){return\"string\"==typeof e&&!!l[e]}},{\"../../lib\":287}],194:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"fast-isnumeric\"),i=e(\"tinycolor2\"),o=e(\"../../lib\"),l=o.strTranslate,s=o.strRotate,u=e(\"../../lib/events\"),c=e(\"../../lib/svg_text_utils\"),f=e(\"../../lib/override_cursor\"),d=e(\"../drawing\"),p=e(\"../color\"),h=e(\"../dragelement\"),m=e(\"../../plots/cartesian/axes\"),g=e(\"../../registry\"),y=e(\"./helpers\"),v=e(\"./constants\"),b=e(\"../legend/defaults\"),x=e(\"../legend/draw\"),w=v.YANGLE,_=Math.PI*w/180,k=1/Math.sin(_),T=Math.cos(_),M=Math.sin(_),S=v.HOVERARROWSIZE,E=v.HOVERTEXTPAD,C={box:!0,ohlc:!0,violin:!0,candlestick:!0},O={scatter:!0,scattergl:!0,splom:!0};function A(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa?e.xa._id:\"\",e.ya?e.ya._id:\"\"].join(\",\")}n.hover=function(e,t,n,i){e=o.getGraphDiv(e);var l=t.target;o.throttle(e._fullLayout._uid+v.HOVERID,v.HOVERMINTIME,(function(){!function(e,t,n,i,l){n||(n=\"xy\");var s=Array.isArray(n)?n:[n],c=e._fullLayout,d=c._plots||[],m=d[n],v=c._has(\"cartesian\");if(m){var b=m.overlays.map((function(e){return e.id}));s=s.concat(b)}for(var x=s.length,w=new Array(x),_=new Array(x),T=!1,M=0;M<x;M++){var S=s[M];if(d[S])T=!0,w[M]=d[S].xaxis,_[M]=d[S].yaxis;else{if(!c[S]||!c[S]._subplot)return void o.warn(\"Unrecognized subplot: \"+S);var E=c[S]._subplot;w[M]=E.xaxis,_[M]=E.yaxis}}var D=t.hovermode||c.hovermode;if(D&&!T&&(D=\"closest\"),-1===[\"x\",\"y\",\"closest\",\"x unified\",\"y unified\"].indexOf(D)||!e.calcdata||e.querySelector(\".zoombox\")||e._dragging)return h.unhoverRaw(e,t);var R=c.hoverdistance;-1===R&&(R=1/0);var z=c.spikedistance;-1===z&&(z=1/0);var q,H,U,W,V,Y,G,$,X,K,J,Q,ee,te=[],ne=[],re={hLinePoint:null,vLinePoint:null},ae=!1;if(Array.isArray(t))for(D=\"array\",U=0;U<t.length;U++)(V=e.calcdata[t[U].curveNumber||0])&&(Y=V[0].trace,\"skip\"!==V[0].trace.hoverinfo&&(ne.push(V),\"h\"===Y.orientation&&(ae=!0)));else{for(W=0;W<e.calcdata.length;W++)V=e.calcdata[W],\"skip\"!==(Y=V[0].trace).hoverinfo&&y.isTraceInSubplots(Y,s)&&(ne.push(V),\"h\"===Y.orientation&&(ae=!0));var ie,oe;if(l){if(!1===u.triggerHandler(e,\"plotly_beforehover\",t))return;var le=l.getBoundingClientRect();ie=t.clientX-le.left,oe=t.clientY-le.top,c._calcInverseTransform(e);var se=o.apply3DTransform(c._invTransform)(ie,oe);if(ie=se[0],oe=se[1],ie<0||ie>w[0]._length||oe<0||oe>_[0]._length)return h.unhoverRaw(e,t)}else ie=\"xpx\"in t?t.xpx:w[0]._length/2,oe=\"ypx\"in t?t.ypx:_[0]._length/2;if(t.pointerX=ie+w[0]._offset,t.pointerY=oe+_[0]._offset,q=\"xval\"in t?y.flat(s,t.xval):y.p2c(w,ie),H=\"yval\"in t?y.flat(s,t.yval):y.p2c(_,oe),!a(q[0])||!a(H[0]))return o.warn(\"Fx.hover failed\",t,e),h.unhoverRaw(e,t)}var ue=1/0;function ce(e,n){for(W=0;W<ne.length;W++)if((V=ne[W])&&V[0]&&V[0].trace&&!0===(Y=V[0].trace).visible&&0!==Y._length&&-1===[\"carpet\",\"contourcarpet\"].indexOf(Y._module.name)){if(\"splom\"===Y.type?G=s[$=0]:(G=y.getSubplot(Y),$=s.indexOf(G)),X=D,y.isUnifiedHover(X)&&(X=X.charAt(0)),Q={cd:V,trace:Y,xa:w[$],ya:_[$],maxHoverDistance:R,maxSpikeDistance:z,index:!1,distance:Math.min(ue,R),spikeDistance:1/0,xSpike:void 0,ySpike:void 0,color:p.defaultLine,name:Y.name,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},c[G]&&(Q.subplot=c[G]._subplot),c._splomScenes&&c._splomScenes[Y.uid]&&(Q.scene=c._splomScenes[Y.uid]),ee=te.length,\"array\"===X){var r=t[W];\"pointNumber\"in r?(Q.index=r.pointNumber,X=\"closest\"):(X=\"\",\"xval\"in r&&(K=r.xval,X=\"x\"),\"yval\"in r&&(J=r.yval,X=X?\"closest\":\"y\"))}else void 0!==e&&void 0!==n?(K=e,J=n):(K=q[$],J=H[$]);if(0!==R)if(Y._module&&Y._module.hoverPoints){var i=Y._module.hoverPoints(Q,K,J,X,{finiteRange:!0,hoverLayer:c._hoverlayer});if(i)for(var l,u=0;u<i.length;u++)l=i[u],a(l.x0)&&a(l.y0)&&te.push(I(l,D))}else o.log(\"Unrecognized trace type in hover:\",Y);if(\"closest\"===D&&te.length>ee&&(te.splice(0,ee),ue=te[0].distance),v&&0!==z&&0===te.length){Q.distance=z,Q.index=!1;var f=Y._module.hoverPoints(Q,K,J,\"closest\",{hoverLayer:c._hoverlayer});if(f&&(f=f.filter((function(e){return e.spikeDistance<=z}))),f&&f.length){var d,h=f.filter((function(e){return e.xa.showspikes&&\"hovered data\"!==e.xa.spikesnap}));if(h.length){var m=h[0];a(m.x0)&&a(m.y0)&&(d=de(m),(!re.vLinePoint||re.vLinePoint.spikeDistance>d.spikeDistance)&&(re.vLinePoint=d))}var g=f.filter((function(e){return e.ya.showspikes&&\"hovered data\"!==e.ya.spikesnap}));if(g.length){var b=g[0];a(b.x0)&&a(b.y0)&&(d=de(b),(!re.hLinePoint||re.hLinePoint.spikeDistance>d.spikeDistance)&&(re.hLinePoint=d))}}}}}function fe(e,t,n){for(var r,a=null,i=1/0,o=0;o<e.length;o++)r=e[o].spikeDistance,n&&0===o&&(r=-1/0),r<=i&&r<=t&&(a=e[o],i=r);return a}function de(e){return e?{xa:e.xa,ya:e.ya,x:void 0!==e.xSpike?e.xSpike:(e.x0+e.x1)/2,y:void 0!==e.ySpike?e.ySpike:(e.y0+e.y1)/2,distance:e.distance,spikeDistance:e.spikeDistance,curveNumber:e.trace.index,color:e.color,pointNumber:e.index}:null}ce();var pe={fullLayout:c,container:c._hoverlayer,event:t},he=e._spikepoints,me={vLinePoint:re.vLinePoint,hLinePoint:re.hLinePoint};e._spikepoints=me;var ge=function(){te.sort((function(e,t){return e.distance-t.distance})),te=function(e,t){for(var n=t.charAt(0),r=[],a=[],i=[],o=0;o<e.length;o++){var l=e[o];g.traceIs(l.trace,\"bar-like\")||g.traceIs(l.trace,\"box-violin\")?i.push(l):l.trace[n+\"period\"]?a.push(l):r.push(l)}return r.concat(a).concat(i)}(te,D)};ge();var ye=D.charAt(0),ve=(\"x\"===ye||\"y\"===ye)&&te[0]&&O[te[0].trace.type];if(v&&0!==z&&0!==te.length){var be=fe(te.filter((function(e){return e.ya.showspikes})),z,ve);re.hLinePoint=de(be);var xe=fe(te.filter((function(e){return e.xa.showspikes})),z,ve);re.vLinePoint=de(xe)}if(0===te.length){var we=h.unhoverRaw(e,t);return!v||null===re.hLinePoint&&null===re.vLinePoint||N(he)&&j(e,re,pe),we}if(v&&N(he)&&j(e,re,pe),y.isXYhover(X)&&0!==te[0].length&&\"splom\"!==te[0].trace.type){var _e=te[0],ke=(te=C[_e.trace.type]?te.filter((function(e){return e.trace.index===_e.trace.index})):[_e]).length;ce(F(\"x\",_e,c),F(\"y\",_e,c));var Te,Me=[],Se={},Ee=0,Ce=function(e){var t=C[e.trace.type]?A(e):e.trace.index;if(Se[t]){var n=Se[t]-1,r=Me[n];n>0&&Math.abs(e.distance)<Math.abs(r.distance)&&(Me[n]=e)}else Ee++,Se[t]=Ee,Me.push(e)};for(Te=0;Te<ke;Te++)Ce(te[Te]);for(Te=te.length-1;Te>ke-1;Te--)Ce(te[Te]);te=Me,ge()}var Oe=e._hoverdata,Ae=[],De=Z(e),Pe=B(e);for(U=0;U<te.length;U++){var Re=te[U],Le=y.makeEventData(Re,Re.trace,Re.cd);if(!1!==Re.hovertemplate){var Ie=!1;Re.cd[Re.index]&&Re.cd[Re.index].ht&&(Ie=Re.cd[Re.index].ht),Re.hovertemplate=Ie||Re.trace.hovertemplate||!1}if(Re.xa&&Re.ya){var je=Re.x0+Re.xa._offset,Ne=Re.x1+Re.xa._offset,ze=Re.y0+Re.ya._offset,Fe=Re.y1+Re.ya._offset,Ze=Math.min(je,Ne),Be=Math.max(je,Ne),qe=Math.min(ze,Fe),He=Math.max(ze,Fe);Le.bbox={x0:Ze+Pe,x1:Be+Pe,y0:qe+De,y1:He+De}}Re.eventData=[Le],Ae.push(Le)}e._hoverdata=Ae;var Ue=\"y\"===D&&(ne.length>1||te.length>1)||\"closest\"===D&&ae&&te.length>1,We=p.combine(c.plot_bgcolor||p.background,c.paper_bgcolor),Ve=P(te,{gd:e,hovermode:D,rotateLabels:Ue,bgColor:We,container:c._hoverlayer,outerContainer:c._paper.node(),commonLabelOpts:c.hoverlabel,hoverdistance:c.hoverdistance});if(y.isUnifiedHover(D)||(function(e,t,n){var r,a,i,o,l,s,u,c=0,f=1,d=e.size(),p=new Array(d),h=0;function m(e){var t=e[0],n=e[e.length-1];if(a=t.pmin-t.pos-t.dp+t.size,i=n.pos+n.dp+n.size-t.pmax,a>.01){for(l=e.length-1;l>=0;l--)e[l].dp+=a;r=!1}if(!(i<.01)){if(a<-.01){for(l=e.length-1;l>=0;l--)e[l].dp-=i;r=!1}if(r){var u=0;for(o=0;o<e.length;o++)(s=e[o]).pos+s.dp+s.size>t.pmax&&u++;for(o=e.length-1;o>=0&&!(u<=0);o--)(s=e[o]).pos>t.pmax-1&&(s.del=!0,u--);for(o=0;o<e.length&&!(u<=0);o++)if((s=e[o]).pos<t.pmin+1)for(s.del=!0,u--,i=2*s.size,l=e.length-1;l>=0;l--)e[l].dp-=i;for(o=e.length-1;o>=0&&!(u<=0);o--)(s=e[o]).pos+s.dp+s.size>t.pmax&&(s.del=!0,u--)}}}for(e.each((function(e){var r=e[t],a=\"x\"===r._id.charAt(0),i=r.range;0===h&&i&&i[0]>i[1]!==a&&(f=-1),p[h++]=[{datum:e,traceIndex:e.trace.index,dp:0,pos:e.pos,posref:e.posref,size:e.by*(a?k:1)/2,pmin:0,pmax:a?n.width:n.height}]})),p.sort((function(e,t){return e[0].posref-t[0].posref||f*(t[0].traceIndex-e[0].traceIndex)}));!r&&c<=d;){for(c++,r=!0,o=0;o<p.length-1;){var g=p[o],y=p[o+1],v=g[g.length-1],b=y[0];if((a=v.pos+v.dp+v.size-b.pos-b.dp+b.size)>.01&&v.pmin===b.pmin&&v.pmax===b.pmax){for(l=y.length-1;l>=0;l--)y[l].dp+=a;for(g.push.apply(g,y),p.splice(o+1,1),u=0,l=g.length-1;l>=0;l--)u+=g[l].dp;for(i=u/g.length,l=g.length-1;l>=0;l--)g[l].dp-=i;r=!1}else o++}p.forEach(m)}for(o=p.length-1;o>=0;o--){var x=p[o];for(l=x.length-1;l>=0;l--){var w=x[l],_=w.datum;_.offset=w.dp,_.del=w.del}}}(Ve,Ue?\"xa\":\"ya\",c),L(Ve,Ue,c._invScaleX,c._invScaleY)),l&&l.tagName){var Ye=g.getComponentMethod(\"annotations\",\"hasClickToShow\")(e,Ae);f(r.select(l),Ye?\"pointer\":\"\")}l&&!i&&function(e,t,n){if(!n||n.length!==e._hoverdata.length)return!0;for(var r=n.length-1;r>=0;r--){var a=n[r],i=e._hoverdata[r];if(a.curveNumber!==i.curveNumber||String(a.pointNumber)!==String(i.pointNumber)||String(a.pointNumbers)!==String(i.pointNumbers))return!0}return!1}(e,0,Oe)&&(Oe&&e.emit(\"plotly_unhover\",{event:t,points:Oe}),e.emit(\"plotly_hover\",{event:t,points:e._hoverdata,xaxes:w,yaxes:_,xvals:q,yvals:H}))}(e,t,n,i,l)}))},n.loneHover=function(e,t){var n=!0;Array.isArray(e)||(n=!1,e=[e]);var a=t.gd,i=Z(a),o=B(a),l=P(e.map((function(e){var n=e._x0||e.x0||e.x||0,r=e._x1||e.x1||e.x||0,l=e._y0||e.y0||e.y||0,s=e._y1||e.y1||e.y||0,u=e.eventData;if(u){var c=Math.min(n,r),f=Math.max(n,r),d=Math.min(l,s),h=Math.max(l,s),m=e.trace;if(g.traceIs(m,\"gl3d\")){var y=a._fullLayout[m.scene]._scene.container,v=y.offsetLeft,b=y.offsetTop;c+=v,f+=v,d+=b,h+=b}u.bbox={x0:c+o,x1:f+o,y0:d+i,y1:h+i},t.inOut_bbox&&t.inOut_bbox.push(u.bbox)}else u=!1;return{color:e.color||p.defaultLine,x0:e.x0||e.x||0,x1:e.x1||e.x||0,y0:e.y0||e.y||0,y1:e.y1||e.y||0,xLabel:e.xLabel,yLabel:e.yLabel,zLabel:e.zLabel,text:e.text,name:e.name,idealAlign:e.idealAlign,borderColor:e.borderColor,fontFamily:e.fontFamily,fontSize:e.fontSize,fontColor:e.fontColor,nameLength:e.nameLength,textAlign:e.textAlign,trace:e.trace||{index:0,hoverinfo:\"\"},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:e.hovertemplate||!1,hovertemplateLabels:e.hovertemplateLabels||!1,eventData:u}})),{gd:a,hovermode:\"closest\",rotateLabels:!1,bgColor:t.bgColor||p.background,container:r.select(t.container),outerContainer:t.outerContainer||t.container}),s=0,u=0;return l.sort((function(e,t){return e.y0-t.y0})).each((function(e,n){var r=e.y0-e.by/2;e.offset=r-5<s?s-r+5:0,s=r+e.by+e.offset,n===t.anchorIndex&&(u=e.offset)})).each((function(e){e.offset-=u})),L(l,!1,a._fullLayout._invScaleX,a._fullLayout._invScaleY),n?l:l.node()};var D=/<extra>([\\s\\S]*)<\\/extra>/;function P(e,t){var n=t.gd,a=n._fullLayout,i=t.hovermode,u=t.rotateLabels,f=t.bgColor,h=t.container,m=t.outerContainer,_=t.commonLabelOpts||{};if(0===e.length)return[[]];var k=t.fontFamily||v.HOVERFONT,T=t.fontSize||v.HOVERFONTSIZE,M=e[0],C=M.xa,O=M.ya,D=i.charAt(0),P=M[D+\"Label\"],L=q(n,m),I=L.top,j=L.width,N=L.height,z=void 0!==P&&M.distance<=t.hoverdistance&&(\"x\"===i||\"y\"===i);if(z){var F,Z,B=!0;for(F=0;F<e.length;F++)if(B&&void 0===e[F].zLabel&&(B=!1),Z=e[F].hoverinfo||e[F].trace.hoverinfo){var H=Array.isArray(Z)?Z:Z.split(\"+\");if(-1===H.indexOf(\"all\")&&-1===H.indexOf(i)){z=!1;break}}B&&(z=!1)}var U=h.selectAll(\"g.axistext\").data(z?[0]:[]);if(U.enter().append(\"g\").classed(\"axistext\",!0),U.exit().remove(),U.each((function(){var e=r.select(this),t=o.ensureSingle(e,\"path\",\"\",(function(e){e.style({\"stroke-width\":\"1px\"})})),s=o.ensureSingle(e,\"text\",\"\",(function(e){e.attr(\"data-notex\",1)})),u=_.bgcolor||p.defaultLine,f=_.bordercolor||p.contrast(u),h=p.contrast(u),m={family:_.font.family||k,size:_.font.size||T,color:_.font.color||h};t.style({fill:u,stroke:f}),s.text(P).call(d.font,m).call(c.positionText,0,0).call(c.convertToTspans,n),e.attr(\"transform\",\"\");var g,y,v=q(n,s.node());if(\"x\"===i){var b=\"top\"===C.side?\"-\":\"\";s.attr(\"text-anchor\",\"middle\").call(c.positionText,0,\"top\"===C.side?I-v.bottom-S-E:I-v.top+S+E),g=C._offset+(M.x0+M.x1)/2,y=O._offset+(\"top\"===C.side?0:O._length);var x=v.width/2+E;g<x?(g=x,t.attr(\"d\",\"M-\"+(x-S)+\",0L-\"+(x-2*S)+\",\"+b+S+\"H\"+(E+v.width/2)+\"v\"+b+(2*E+v.height)+\"H-\"+x+\"V\"+b+S+\"Z\")):g>a.width-x?(g=a.width-x,t.attr(\"d\",\"M\"+(x-S)+\",0L\"+x+\",\"+b+S+\"v\"+b+(2*E+v.height)+\"H-\"+x+\"V\"+b+S+\"H\"+(x-2*S)+\"Z\")):t.attr(\"d\",\"M0,0L\"+S+\",\"+b+S+\"H\"+(E+v.width/2)+\"v\"+b+(2*E+v.height)+\"H-\"+(E+v.width/2)+\"V\"+b+S+\"H-\"+S+\"Z\")}else{var w,A,D;\"right\"===O.side?(w=\"start\",A=1,D=\"\",g=C._offset+C._length):(w=\"end\",A=-1,D=\"-\",g=C._offset),y=O._offset+(M.y0+M.y1)/2,s.attr(\"text-anchor\",w),t.attr(\"d\",\"M0,0L\"+D+S+\",\"+S+\"V\"+(E+v.height/2)+\"h\"+D+(2*E+v.width)+\"V-\"+(E+v.height/2)+\"H\"+D+S+\"V-\"+S+\"Z\");var R,L=v.height/2,j=I-v.top-L,N=\"clip\"+a._uid+\"commonlabel\"+O._id;if(g<v.width+2*E+S){R=\"M-\"+(S+E)+\"-\"+L+\"h-\"+(v.width-E)+\"V\"+L+\"h\"+(v.width-E)+\"Z\";var z=v.width-g+E;c.positionText(s,z,j),\"end\"===w&&s.selectAll(\"tspan\").each((function(){var e=r.select(this),t=d.tester.append(\"text\").text(e.text()).call(d.font,m),a=q(n,t.node());Math.round(a.width)<Math.round(v.width)&&e.attr(\"x\",z-a.width),t.remove()}))}else c.positionText(s,A*(E+S),j),R=null;var F=a._topclips.selectAll(\"#\"+N).data(R?[0]:[]);F.enter().append(\"clipPath\").attr(\"id\",N).append(\"path\"),F.exit().remove(),F.select(\"path\").attr(\"d\",R),d.setClipUrl(s,R?N:null,n)}e.attr(\"transform\",l(g,y))})),y.isUnifiedHover(i)){h.selectAll(\"g.hovertext\").remove();var W=e.filter((function(e){return\"none\"!==e.hoverinfo}));if(0===W.length)return;var V=a.hoverlabel,Y=V.font,G={showlegend:!0,legend:{title:{text:P,font:Y},font:Y,bgcolor:V.bgcolor,bordercolor:V.bordercolor,borderwidth:1,tracegroupgap:7,traceorder:a.legend?a.legend.traceorder:void 0,orientation:\"v\"}},$={font:Y};b(G,$,n._fullData);var X=$.legend;X.entries=[];for(var K=0;K<W.length;K++){var J=W[K];if(\"none\"!==J.hoverinfo){var Q=R(J,!0,i,a,P),ee=Q[0],te=Q[1];J.name=te,J.text=\"\"!==te?te+\" : \"+ee:ee;var ne=J.cd[J.index];ne&&(ne.mc&&(J.mc=ne.mc),ne.mcc&&(J.mc=ne.mcc),ne.mlc&&(J.mlc=ne.mlc),ne.mlcc&&(J.mlc=ne.mlcc),ne.mlw&&(J.mlw=ne.mlw),ne.mrc&&(J.mrc=ne.mrc),ne.dir&&(J.dir=ne.dir)),J._distinct=!0,X.entries.push([J])}}X.entries.sort((function(e,t){return e[0].trace.index-t[0].trace.index})),X.layer=h,X._inHover=!0,X._groupTitleFont=V.grouptitlefont,x(n,X);var re,ae,ie,oe,le=h.select(\"g.legend\"),se=q(n,le.node()),ue=se.width+2*E,ce=se.height+2*E,fe=W[0],de=(fe.x0+fe.x1)/2,pe=(fe.y0+fe.y1)/2,he=!(g.traceIs(fe.trace,\"bar-like\")||g.traceIs(fe.trace,\"box-violin\"));\"y\"===D?he?(ae=pe-E,re=pe+E):(ae=Math.min.apply(null,W.map((function(e){return Math.min(e.y0,e.y1)}))),re=Math.max.apply(null,W.map((function(e){return Math.max(e.y0,e.y1)})))):ae=re=o.mean(W.map((function(e){return(e.y0+e.y1)/2})))-ce/2,\"x\"===D?he?(ie=de+E,oe=de-E):(ie=Math.max.apply(null,W.map((function(e){return Math.max(e.x0,e.x1)}))),oe=Math.min.apply(null,W.map((function(e){return Math.min(e.x0,e.x1)})))):ie=oe=o.mean(W.map((function(e){return(e.x0+e.x1)/2})))-ue/2;var me,ge,ye=C._offset,ve=O._offset;return oe+=ye-ue,ae+=ve-ce,me=(ie+=ye)+ue<j&&ie>=0?ie:oe+ue<j&&oe>=0?oe:ye+ue<j?ye:ie-de<de-oe+ue?j-ue:0,me+=E,ge=(re+=ve)+ce<N&&re>=0?re:ae+ce<N&&ae>=0?ae:ve+ce<N?ve:re-pe<pe-ae+ce?N-ce:0,ge+=E,le.attr(\"transform\",l(me-1,ge-1)),le}var be=h.selectAll(\"g.hovertext\").data(e,(function(e){return A(e)}));return be.enter().append(\"g\").classed(\"hovertext\",!0).each((function(){var e=r.select(this);e.append(\"rect\").call(p.fill,p.addOpacity(f,.8)),e.append(\"text\").classed(\"name\",!0),e.append(\"path\").style(\"stroke-width\",\"1px\"),e.append(\"text\").classed(\"nums\",!0).call(d.font,k,T)})),be.exit().remove(),be.each((function(e){var t=r.select(this).attr(\"transform\",\"\"),o=e.color;Array.isArray(o)&&(o=o[e.eventData[0].pointNumber]);var h=e.bgcolor||o,m=p.combine(p.opacity(h)?h:p.defaultLine,f),g=p.combine(p.opacity(o)?o:p.defaultLine,f),y=e.borderColor||p.contrast(m),v=R(e,z,i,a,P,t),b=v[0],x=v[1],_=t.select(\"text.nums\").call(d.font,e.fontFamily||k,e.fontSize||T,e.fontColor||y).text(b).attr(\"data-notex\",1).call(c.positionText,0,0).call(c.convertToTspans,n),M=t.select(\"text.name\"),C=0,O=0;if(x&&x!==b){M.call(d.font,e.fontFamily||k,e.fontSize||T,g).text(x).attr(\"data-notex\",1).call(c.positionText,0,0).call(c.convertToTspans,n);var A=q(n,M.node());C=A.width+2*E,O=A.height+2*E}else M.remove(),t.select(\"rect\").remove();t.select(\"path\").style({fill:m,stroke:y});var D=e.xa._offset+(e.x0+e.x1)/2,L=e.ya._offset+(e.y0+e.y1)/2,F=Math.abs(e.x1-e.x0),Z=Math.abs(e.y1-e.y0),B=q(n,_.node()),H=B.width/a._invScaleX,U=B.height/a._invScaleY;e.ty0=(I-B.top)/a._invScaleY,e.bx=H+2*E,e.by=Math.max(U+2*E,O),e.anchor=\"start\",e.txwidth=H,e.tx2width=C,e.offset=0;var W,V,Y=(H+S+E+C)*a._invScaleX;if(u)e.pos=D,W=L+Z/2+Y<=N,V=L-Z/2-Y>=0,\"top\"!==e.idealAlign&&W||!V?W?(L+=Z/2,e.anchor=\"start\"):e.anchor=\"middle\":(L-=Z/2,e.anchor=\"end\");else if(e.pos=L,W=D+F/2+Y<=j,V=D-F/2-Y>=0,\"left\"!==e.idealAlign&&W||!V)if(W)D+=F/2,e.anchor=\"start\";else{e.anchor=\"middle\";var G=Y/2,$=D+G-j,X=D-G;$>0&&(D-=$),X<0&&(D+=-X)}else D-=F/2,e.anchor=\"end\";_.attr(\"text-anchor\",e.anchor),C&&M.attr(\"text-anchor\",e.anchor),t.attr(\"transform\",l(D,L)+(u?s(w):\"\"))})),be}function R(e,t,n,r,a,i){var l=\"\",s=\"\";void 0!==e.nameOverride&&(e.name=e.nameOverride),e.name&&(e.trace._meta&&(e.name=o.templateString(e.name,e.trace._meta)),l=z(e.name,e.nameLength));var u=n.charAt(0),c=\"x\"===u?\"y\":\"x\";void 0!==e.zLabel?(void 0!==e.xLabel&&(s+=\"x: \"+e.xLabel+\"<br>\"),void 0!==e.yLabel&&(s+=\"y: \"+e.yLabel+\"<br>\"),\"choropleth\"!==e.trace.type&&\"choroplethmapbox\"!==e.trace.type&&(s+=(s?\"z: \":\"\")+e.zLabel)):t&&e[u+\"Label\"]===a?s=e[c+\"Label\"]||\"\":void 0===e.xLabel?void 0!==e.yLabel&&\"scattercarpet\"!==e.trace.type&&(s=e.yLabel):s=void 0===e.yLabel?e.xLabel:\"(\"+e.xLabel+\", \"+e.yLabel+\")\",!e.text&&0!==e.text||Array.isArray(e.text)||(s+=(s?\"<br>\":\"\")+e.text),void 0!==e.extraText&&(s+=(s?\"<br>\":\"\")+e.extraText),i&&\"\"===s&&!e.hovertemplate&&(\"\"===l&&i.remove(),s=l);var f=e.hovertemplate||!1;if(f){var d=e.hovertemplateLabels||e;e[u+\"Label\"]!==a&&(d[u+\"other\"]=d[u+\"Val\"],d[u+\"otherLabel\"]=d[u+\"Label\"]),s=(s=o.hovertemplateString(f,d,r._d3locale,e.eventData[0]||{},e.trace._meta)).replace(D,(function(t,n){return l=z(n,e.nameLength),\"\"}))}return[s,l]}function L(e,t,n,a){var i=function(e){return e*n},o=function(e){return e*a};e.each((function(e){var n=r.select(this);if(e.del)return n.remove();var a=n.select(\"text.nums\"),l=e.anchor,s=\"end\"===l?-1:1,u={start:1,end:-1,middle:0}[l],f=u*(S+E),p=f+u*(e.txwidth+E),h=0,m=e.offset,g=\"middle\"===l;g&&(f-=e.tx2width/2,p+=e.txwidth/2+E),t&&(m*=-M,h=e.offset*T),n.select(\"path\").attr(\"d\",g?\"M-\"+i(e.bx/2+e.tx2width/2)+\",\"+o(m-e.by/2)+\"h\"+i(e.bx)+\"v\"+o(e.by)+\"h-\"+i(e.bx)+\"Z\":\"M0,0L\"+i(s*S+h)+\",\"+o(S+m)+\"v\"+o(e.by/2-S)+\"h\"+i(s*e.bx)+\"v-\"+o(e.by)+\"H\"+i(s*S+h)+\"V\"+o(m-S)+\"Z\");var y=h+f,v=m+e.ty0-e.by/2+E,b=e.textAlign||\"auto\";\"auto\"!==b&&(\"left\"===b&&\"start\"!==l?(a.attr(\"text-anchor\",\"start\"),y=g?-e.bx/2-e.tx2width/2+E:-e.bx-E):\"right\"===b&&\"end\"!==l&&(a.attr(\"text-anchor\",\"end\"),y=g?e.bx/2-e.tx2width/2-E:e.bx+E)),a.call(c.positionText,i(y),o(v)),e.tx2width&&(n.select(\"text.name\").call(c.positionText,i(p+u*E+h),o(m+e.ty0-e.by/2+E)),n.select(\"rect\").call(d.setRect,i(p+(u-1)*e.tx2width/2+h),o(m-e.by/2-1),i(e.tx2width),o(e.by+2)))}))}function I(e,t){var n=e.index,r=e.trace||{},i=e.cd[0],l=e.cd[n]||{};function s(e){return e||a(e)&&0===e}var u=Array.isArray(n)?function(e,t){var a=o.castOption(i,n,e);return s(a)?a:o.extractOption({},r,\"\",t)}:function(e,t){return o.extractOption(l,r,e,t)};function c(t,n,r){var a=u(n,r);s(a)&&(e[t]=a)}if(c(\"hoverinfo\",\"hi\",\"hoverinfo\"),c(\"bgcolor\",\"hbg\",\"hoverlabel.bgcolor\"),c(\"borderColor\",\"hbc\",\"hoverlabel.bordercolor\"),c(\"fontFamily\",\"htf\",\"hoverlabel.font.family\"),c(\"fontSize\",\"hts\",\"hoverlabel.font.size\"),c(\"fontColor\",\"htc\",\"hoverlabel.font.color\"),c(\"nameLength\",\"hnl\",\"hoverlabel.namelength\"),c(\"textAlign\",\"hta\",\"hoverlabel.align\"),e.posref=\"y\"===t||\"closest\"===t&&\"h\"===r.orientation?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=o.constrain(e.x0,0,e.xa._length),e.x1=o.constrain(e.x1,0,e.xa._length),e.y0=o.constrain(e.y0,0,e.ya._length),e.y1=o.constrain(e.y1,0,e.ya._length),void 0!==e.xLabelVal&&(e.xLabel=\"xLabel\"in e?e.xLabel:m.hoverLabelText(e.xa,e.xLabelVal,r.xhoverformat),e.xVal=e.xa.c2d(e.xLabelVal)),void 0!==e.yLabelVal&&(e.yLabel=\"yLabel\"in e?e.yLabel:m.hoverLabelText(e.ya,e.yLabelVal,r.yhoverformat),e.yVal=e.ya.c2d(e.yLabelVal)),void 0!==e.zLabelVal&&void 0===e.zLabel&&(e.zLabel=String(e.zLabelVal)),!(isNaN(e.xerr)||\"log\"===e.xa.type&&e.xerr<=0)){var f=m.tickText(e.xa,e.xa.c2l(e.xerr),\"hover\").text;void 0!==e.xerrneg?e.xLabel+=\" +\"+f+\" / -\"+m.tickText(e.xa,e.xa.c2l(e.xerrneg),\"hover\").text:e.xLabel+=\" ± \"+f,\"x\"===t&&(e.distance+=1)}if(!(isNaN(e.yerr)||\"log\"===e.ya.type&&e.yerr<=0)){var d=m.tickText(e.ya,e.ya.c2l(e.yerr),\"hover\").text;void 0!==e.yerrneg?e.yLabel+=\" +\"+d+\" / -\"+m.tickText(e.ya,e.ya.c2l(e.yerrneg),\"hover\").text:e.yLabel+=\" ± \"+d,\"y\"===t&&(e.distance+=1)}var p=e.hoverinfo||e.trace.hoverinfo;return p&&\"all\"!==p&&(-1===(p=Array.isArray(p)?p:p.split(\"+\")).indexOf(\"x\")&&(e.xLabel=void 0),-1===p.indexOf(\"y\")&&(e.yLabel=void 0),-1===p.indexOf(\"z\")&&(e.zLabel=void 0),-1===p.indexOf(\"text\")&&(e.text=void 0),-1===p.indexOf(\"name\")&&(e.name=void 0)),e}function j(e,t,n){var r,a,o=n.container,l=n.fullLayout,s=l._size,u=n.event,c=!!t.hLinePoint,f=!!t.vLinePoint;if(o.selectAll(\".spikeline\").remove(),f||c){var h=p.combine(l.plot_bgcolor,l.paper_bgcolor);if(c){var g,y,v=t.hLinePoint;r=v&&v.xa,\"cursor\"===(a=v&&v.ya).spikesnap?(g=u.pointerX,y=u.pointerY):(g=r._offset+v.x,y=a._offset+v.y);var b,x,w=i.readability(v.color,h)<1.5?p.contrast(h):v.color,_=a.spikemode,k=a.spikethickness,T=a.spikecolor||w,M=m.getPxPosition(e,a);if(-1!==_.indexOf(\"toaxis\")||-1!==_.indexOf(\"across\")){if(-1!==_.indexOf(\"toaxis\")&&(b=M,x=g),-1!==_.indexOf(\"across\")){var S=a._counterDomainMin,E=a._counterDomainMax;\"free\"===a.anchor&&(S=Math.min(S,a.position),E=Math.max(E,a.position)),b=s.l+S*s.w,x=s.l+E*s.w}o.insert(\"line\",\":first-child\").attr({x1:b,x2:x,y1:y,y2:y,\"stroke-width\":k,stroke:T,\"stroke-dasharray\":d.dashStyle(a.spikedash,k)}).classed(\"spikeline\",!0).classed(\"crisp\",!0),o.insert(\"line\",\":first-child\").attr({x1:b,x2:x,y1:y,y2:y,\"stroke-width\":k+2,stroke:h}).classed(\"spikeline\",!0).classed(\"crisp\",!0)}-1!==_.indexOf(\"marker\")&&o.insert(\"circle\",\":first-child\").attr({cx:M+(\"right\"!==a.side?k:-k),cy:y,r:k,fill:T}).classed(\"spikeline\",!0)}if(f){var C,O,A=t.vLinePoint;r=A&&A.xa,a=A&&A.ya,\"cursor\"===r.spikesnap?(C=u.pointerX,O=u.pointerY):(C=r._offset+A.x,O=a._offset+A.y);var D,P,R=i.readability(A.color,h)<1.5?p.contrast(h):A.color,L=r.spikemode,I=r.spikethickness,j=r.spikecolor||R,N=m.getPxPosition(e,r);if(-1!==L.indexOf(\"toaxis\")||-1!==L.indexOf(\"across\")){if(-1!==L.indexOf(\"toaxis\")&&(D=N,P=O),-1!==L.indexOf(\"across\")){var z=r._counterDomainMin,F=r._counterDomainMax;\"free\"===r.anchor&&(z=Math.min(z,r.position),F=Math.max(F,r.position)),D=s.t+(1-F)*s.h,P=s.t+(1-z)*s.h}o.insert(\"line\",\":first-child\").attr({x1:C,x2:C,y1:D,y2:P,\"stroke-width\":I,stroke:j,\"stroke-dasharray\":d.dashStyle(r.spikedash,I)}).classed(\"spikeline\",!0).classed(\"crisp\",!0),o.insert(\"line\",\":first-child\").attr({x1:C,x2:C,y1:D,y2:P,\"stroke-width\":I+2,stroke:h}).classed(\"spikeline\",!0).classed(\"crisp\",!0)}-1!==L.indexOf(\"marker\")&&o.insert(\"circle\",\":first-child\").attr({cx:C,cy:N-(\"top\"!==r.side?I:-I),r:I,fill:j}).classed(\"spikeline\",!0)}}}function N(e,t){return!t||t.vLinePoint!==e._spikepoints.vLinePoint||t.hLinePoint!==e._spikepoints.hLinePoint}function z(e,t){return c.plainText(e||\"\",{len:t,allowedTags:[\"br\",\"sub\",\"sup\",\"b\",\"i\",\"em\"]})}function F(e,t,n){var r=t[e+\"a\"],a=t[e+\"Val\"],i=t.cd[0];if(\"category\"===r.type)a=r._categoriesMap[a];else if(\"date\"===r.type){var o=t.trace[e+\"periodalignment\"];if(o){var l=t.cd[t.index],s=l[e+\"Start\"];void 0===s&&(s=l[e]);var u=l[e+\"End\"];void 0===u&&(u=l[e]);var c=u-s;\"end\"===o?a+=c:\"middle\"===o&&(a+=c/2)}a=r.d2c(a)}return i&&i.t&&i.t.posLetter===r._id&&(\"group\"!==n.boxmode&&\"group\"!==n.violinmode||(a+=i.t.dPos)),a}function Z(e){return e.offsetTop+e.clientTop}function B(e){return e.offsetLeft+e.clientLeft}function q(e,t){var n=e._fullLayout,r=t.getBoundingClientRect(),a=r.x,i=r.y,l=a+r.width,s=i+r.height,u=o.apply3DTransform(n._invTransform)(a,i),c=o.apply3DTransform(n._invTransform)(l,s),f=u[0],d=u[1],p=c[0],h=c[1];return{x:f,y:d,width:p-f,height:h-d,top:Math.min(d,h),left:Math.min(f,p),right:Math.max(f,p),bottom:Math.max(d,h)}}},{\"../../lib\":287,\"../../lib/events\":280,\"../../lib/override_cursor\":298,\"../../lib/svg_text_utils\":310,\"../../plots/cartesian/axes\":334,\"../../registry\":378,\"../color\":157,\"../dragelement\":176,\"../drawing\":179,\"../legend/defaults\":209,\"../legend/draw\":210,\"./constants\":191,\"./helpers\":193,\"@plotly/d3\":20,\"fast-isnumeric\":33,tinycolor2:121}],195:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../color\"),i=e(\"./helpers\").isUnifiedHover;t.exports=function(e,t,n,o){o=o||{};var l=t.legend;function s(e){o.font[e]||(o.font[e]=l?t.legend.font[e]:t.font[e])}t&&i(t.hovermode)&&(o.font||(o.font={}),s(\"size\"),s(\"family\"),s(\"color\"),l?(o.bgcolor||(o.bgcolor=a.combine(t.legend.bgcolor,t.paper_bgcolor)),o.bordercolor||(o.bordercolor=t.legend.bordercolor)):o.bgcolor||(o.bgcolor=t.paper_bgcolor)),n(\"hoverlabel.bgcolor\",o.bgcolor),n(\"hoverlabel.bordercolor\",o.bordercolor),n(\"hoverlabel.namelength\",o.namelength),r.coerceFont(n,\"hoverlabel.font\",o.font),n(\"hoverlabel.align\",o.align)}},{\"../../lib\":287,\"../color\":157,\"./helpers\":193}],196:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./layout_attributes\");t.exports=function(e,t){function n(n,i){return void 0!==t[n]?t[n]:r.coerce(e,t,a,n,i)}return n(\"clickmode\"),n(\"hovermode\")}},{\"../../lib\":287,\"./layout_attributes\":198}],197:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../lib\"),i=e(\"../dragelement\"),o=e(\"./helpers\"),l=e(\"./layout_attributes\"),s=e(\"./hover\");t.exports={moduleType:\"component\",name:\"fx\",constants:e(\"./constants\"),schema:{layout:l},attributes:e(\"./attributes\"),layoutAttributes:l,supplyLayoutGlobalDefaults:e(\"./layout_global_defaults\"),supplyDefaults:e(\"./defaults\"),supplyLayoutDefaults:e(\"./layout_defaults\"),calc:e(\"./calc\"),getDistanceFunction:o.getDistanceFunction,getClosest:o.getClosest,inbox:o.inbox,quadrature:o.quadrature,appendArrayPointValue:o.appendArrayPointValue,castHoverOption:function(e,t,n){return a.castOption(e,t,\"hoverlabel.\"+n)},castHoverinfo:function(e,t,n){return a.castOption(e,n,\"hoverinfo\",(function(n){return a.coerceHoverinfo({hoverinfo:n},{_module:e._module},t)}))},hover:s.hover,unhover:i.unhover,loneHover:s.loneHover,loneUnhover:function(e){var t=a.isD3Selection(e)?e:r.select(e);t.selectAll(\"g.hovertext\").remove(),t.selectAll(\".spikeline\").remove()},click:e(\"./click\")}},{\"../../lib\":287,\"../dragelement\":176,\"./attributes\":188,\"./calc\":189,\"./click\":190,\"./constants\":191,\"./defaults\":192,\"./helpers\":193,\"./hover\":194,\"./layout_attributes\":198,\"./layout_defaults\":199,\"./layout_global_defaults\":200,\"@plotly/d3\":20}],198:[function(e,t,n){\"use strict\";var r=e(\"./constants\"),a=e(\"../../plots/font_attributes\"),i=a({editType:\"none\"});i.family.dflt=r.HOVERFONT,i.size.dflt=r.HOVERFONTSIZE,t.exports={clickmode:{valType:\"flaglist\",flags:[\"event\",\"select\"],dflt:\"event\",editType:\"plot\",extras:[\"none\"]},dragmode:{valType:\"enumerated\",values:[\"zoom\",\"pan\",\"select\",\"lasso\",\"drawclosedpath\",\"drawopenpath\",\"drawline\",\"drawrect\",\"drawcircle\",\"orbit\",\"turntable\",!1],dflt:\"zoom\",editType:\"modebar\"},hovermode:{valType:\"enumerated\",values:[\"x\",\"y\",\"closest\",!1,\"x unified\",\"y unified\"],dflt:\"closest\",editType:\"modebar\"},hoverdistance:{valType:\"integer\",min:-1,dflt:20,editType:\"none\"},spikedistance:{valType:\"integer\",min:-1,dflt:-1,editType:\"none\"},hoverlabel:{bgcolor:{valType:\"color\",editType:\"none\"},bordercolor:{valType:\"color\",editType:\"none\"},font:i,grouptitlefont:a({editType:\"none\"}),align:{valType:\"enumerated\",values:[\"left\",\"right\",\"auto\"],dflt:\"auto\",editType:\"none\"},namelength:{valType:\"integer\",min:-1,dflt:15,editType:\"none\"},editType:\"none\"},selectdirection:{valType:\"enumerated\",values:[\"h\",\"v\",\"d\",\"any\"],dflt:\"any\",editType:\"none\"}}},{\"../../plots/font_attributes\":365,\"./constants\":191}],199:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./layout_attributes\"),i=e(\"./hovermode_defaults\"),o=e(\"./hoverlabel_defaults\");t.exports=function(e,t){function n(n,i){return r.coerce(e,t,a,n,i)}i(e,t)&&(n(\"hoverdistance\"),n(\"spikedistance\")),\"select\"===n(\"dragmode\")&&n(\"selectdirection\");var l=t._has(\"mapbox\"),s=t._has(\"geo\"),u=t._basePlotModules.length;\"zoom\"===t.dragmode&&((l||s)&&1===u||l&&s&&2===u)&&(t.dragmode=\"pan\"),o(e,t,n),r.coerceFont(n,\"hoverlabel.grouptitlefont\",t.hoverlabel.font)}},{\"../../lib\":287,\"./hoverlabel_defaults\":195,\"./hovermode_defaults\":196,\"./layout_attributes\":198}],200:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./hoverlabel_defaults\"),i=e(\"./layout_attributes\");t.exports=function(e,t){a(e,t,(function(n,a){return r.coerce(e,t,i,n,a)}))}},{\"../../lib\":287,\"./hoverlabel_defaults\":195,\"./layout_attributes\":198}],201:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../lib/regex\").counter,i=e(\"../../plots/domain\").attributes,o=e(\"../../plots/cartesian/constants\").idRegex,l=e(\"../../plot_api/plot_template\"),s={rows:{valType:\"integer\",min:1,editType:\"plot\"},roworder:{valType:\"enumerated\",values:[\"top to bottom\",\"bottom to top\"],dflt:\"top to bottom\",editType:\"plot\"},columns:{valType:\"integer\",min:1,editType:\"plot\"},subplots:{valType:\"info_array\",freeLength:!0,dimensions:2,items:{valType:\"enumerated\",values:[a(\"xy\").toString(),\"\"],editType:\"plot\"},editType:\"plot\"},xaxes:{valType:\"info_array\",freeLength:!0,items:{valType:\"enumerated\",values:[o.x.toString(),\"\"],editType:\"plot\"},editType:\"plot\"},yaxes:{valType:\"info_array\",freeLength:!0,items:{valType:\"enumerated\",values:[o.y.toString(),\"\"],editType:\"plot\"},editType:\"plot\"},pattern:{valType:\"enumerated\",values:[\"independent\",\"coupled\"],dflt:\"coupled\",editType:\"plot\"},xgap:{valType:\"number\",min:0,max:1,editType:\"plot\"},ygap:{valType:\"number\",min:0,max:1,editType:\"plot\"},domain:i({name:\"grid\",editType:\"plot\",noGridCell:!0},{}),xside:{valType:\"enumerated\",values:[\"bottom\",\"bottom plot\",\"top plot\",\"top\"],dflt:\"bottom plot\",editType:\"plot\"},yside:{valType:\"enumerated\",values:[\"left\",\"left plot\",\"right plot\",\"right\"],dflt:\"left plot\",editType:\"plot\"},editType:\"plot\"};function u(e,t,n){var r=t[n+\"axes\"],a=Object.keys((e._splomAxes||{})[n]||{});return Array.isArray(r)?r:a.length?a:void 0}function c(e,t,n,r,a,i){var o=t(e+\"gap\",n),l=t(\"domain.\"+e);t(e+\"side\",r);for(var s=new Array(a),u=l[0],c=(l[1]-u)/(a-o),f=c*(1-o),d=0;d<a;d++){var p=u+c*d;s[i?a-1-d:d]=[p,p+f]}return s}function f(e,t,n,r,a){var i,o=new Array(n);function l(e,n){-1!==t.indexOf(n)&&void 0===r[n]?(o[e]=n,r[n]=e):o[e]=\"\"}if(Array.isArray(e))for(i=0;i<n;i++)l(i,e[i]);else for(l(0,a),i=1;i<n;i++)l(i,a+(i+1));return o}t.exports={moduleType:\"component\",name:\"grid\",schema:{layout:{grid:s}},layoutAttributes:s,sizeDefaults:function(e,t){var n=e.grid||{},a=u(t,n,\"x\"),i=u(t,n,\"y\");if(e.grid||a||i){var o,f,d=Array.isArray(n.subplots)&&Array.isArray(n.subplots[0]),p=Array.isArray(a),h=Array.isArray(i),m=p&&a!==n.xaxes&&h&&i!==n.yaxes;d?(o=n.subplots.length,f=n.subplots[0].length):(h&&(o=i.length),p&&(f=a.length));var g=l.newContainer(t,\"grid\"),y=T(\"rows\",o),v=T(\"columns\",f);if(y*v>1){d||p||h||\"independent\"===T(\"pattern\")&&(d=!0),g._hasSubplotGrid=d;var b,x,w=\"top to bottom\"===T(\"roworder\"),_=d?.2:.1,k=d?.3:.1;m&&t._splomGridDflt&&(b=t._splomGridDflt.xside,x=t._splomGridDflt.yside),g._domains={x:c(\"x\",T,_,b,v),y:c(\"y\",T,k,x,y,w)}}else delete t.grid}function T(e,t){return r.coerce(n,g,s,e,t)}},contentDefaults:function(e,t){var n=t.grid;if(n&&n._domains){var r,a,i,o,l,s,c,d=e.grid||{},p=t._subplots,h=n._hasSubplotGrid,m=n.rows,g=n.columns,y=\"independent\"===n.pattern,v=n._axisMap={};if(h){var b=d.subplots||[];s=n.subplots=new Array(m);var x=1;for(r=0;r<m;r++){var w=s[r]=new Array(g),_=b[r]||[];for(a=0;a<g;a++)if(y?(l=1===x?\"xy\":\"x\"+x+\"y\"+x,x++):l=_[a],w[a]=\"\",-1!==p.cartesian.indexOf(l)){if(c=l.indexOf(\"y\"),i=l.slice(0,c),o=l.slice(c),void 0!==v[i]&&v[i]!==a||void 0!==v[o]&&v[o]!==r)continue;w[a]=l,v[i]=a,v[o]=r}}}else{var k=u(t,d,\"x\"),T=u(t,d,\"y\");n.xaxes=f(k,p.xaxis,g,v,\"x\"),n.yaxes=f(T,p.yaxis,m,v,\"y\")}var M=n._anchors={},S=\"top to bottom\"===n.roworder;for(var E in v){var C,O,A,D=E.charAt(0),P=n[D+\"side\"];if(P.length<8)M[E]=\"free\";else if(\"x\"===D){if(\"t\"===P.charAt(0)===S?(C=0,O=1,A=m):(C=m-1,O=-1,A=-1),h){var R=v[E];for(r=C;r!==A;r+=O)if((l=s[r][R])&&(c=l.indexOf(\"y\"),l.slice(0,c)===E)){M[E]=l.slice(c);break}}else for(r=C;r!==A;r+=O)if(o=n.yaxes[r],-1!==p.cartesian.indexOf(E+o)){M[E]=o;break}}else if(\"l\"===P.charAt(0)?(C=0,O=1,A=g):(C=g-1,O=-1,A=-1),h){var L=v[E];for(r=C;r!==A;r+=O)if((l=s[L][r])&&(c=l.indexOf(\"y\"),l.slice(c)===E)){M[E]=l.slice(0,c);break}}else for(r=C;r!==A;r+=O)if(i=n.xaxes[r],-1!==p.cartesian.indexOf(i+E)){M[E]=i;break}}}}}},{\"../../lib\":287,\"../../lib/regex\":303,\"../../plot_api/plot_template\":323,\"../../plots/cartesian/constants\":341,\"../../plots/domain\":364}],202:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/constants\"),a=e(\"../../plot_api/plot_template\").templatedArray;e(\"../../constants/axis_placeable_objects\"),t.exports=a(\"image\",{visible:{valType:\"boolean\",dflt:!0,editType:\"arraydraw\"},source:{valType:\"string\",editType:\"arraydraw\"},layer:{valType:\"enumerated\",values:[\"below\",\"above\"],dflt:\"above\",editType:\"arraydraw\"},sizex:{valType:\"number\",dflt:0,editType:\"arraydraw\"},sizey:{valType:\"number\",dflt:0,editType:\"arraydraw\"},sizing:{valType:\"enumerated\",values:[\"fill\",\"contain\",\"stretch\"],dflt:\"contain\",editType:\"arraydraw\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"arraydraw\"},x:{valType:\"any\",dflt:0,editType:\"arraydraw\"},y:{valType:\"any\",dflt:0,editType:\"arraydraw\"},xanchor:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"],dflt:\"left\",editType:\"arraydraw\"},yanchor:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"],dflt:\"top\",editType:\"arraydraw\"},xref:{valType:\"enumerated\",values:[\"paper\",r.idRegex.x.toString()],dflt:\"paper\",editType:\"arraydraw\"},yref:{valType:\"enumerated\",values:[\"paper\",r.idRegex.y.toString()],dflt:\"paper\",editType:\"arraydraw\"},editType:\"arraydraw\"})},{\"../../constants/axis_placeable_objects\":263,\"../../plot_api/plot_template\":323,\"../../plots/cartesian/constants\":341}],203:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib/to_log_range\");t.exports=function(e,t,n,i){t=t||{};var o=\"log\"===n&&\"linear\"===t.type,l=\"linear\"===n&&\"log\"===t.type;if(o||l)for(var s,u,c=e._fullLayout.images,f=t._id.charAt(0),d=0;d<c.length;d++)if(u=\"images[\"+d+\"].\",(s=c[d])[f+\"ref\"]===t._id){var p=s[f],h=s[\"size\"+f],m=null,g=null;if(o){m=a(p,t.range);var y=h/Math.pow(10,m)/2;g=2*Math.log(y+Math.sqrt(1+y*y))/Math.LN10}else g=(m=Math.pow(10,p))*(Math.pow(10,h/2)-Math.pow(10,-h/2));r(m)?r(g)||(g=null):(m=null,g=null),i(u+f,m),i(u+\"size\"+f,g)}}},{\"../../lib/to_log_range\":312,\"fast-isnumeric\":33}],204:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"../../plots/array_container_defaults\"),o=e(\"./attributes\");function l(e,t,n){function i(n,a){return r.coerce(e,t,o,n,a)}var l=i(\"source\");if(!i(\"visible\",!!l))return t;i(\"layer\"),i(\"xanchor\"),i(\"yanchor\"),i(\"sizex\"),i(\"sizey\"),i(\"sizing\"),i(\"opacity\");for(var s={_fullLayout:n},u=[\"x\",\"y\"],c=0;c<2;c++){var f=u[c],d=a.coerceRef(e,t,s,f,\"paper\",void 0);\"paper\"!==d&&a.getFromId(s,d)._imgIndices.push(t._index),a.coercePosition(t,s,i,d,f,0)}return t}t.exports=function(e,t){i(e,t,{name:\"images\",handleItemDefaults:l})}},{\"../../lib\":287,\"../../plots/array_container_defaults\":329,\"../../plots/cartesian/axes\":334,\"./attributes\":202}],205:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../drawing\"),i=e(\"../../plots/cartesian/axes\"),o=e(\"../../plots/cartesian/axis_ids\"),l=e(\"../../constants/xmlns_namespaces\");t.exports=function(e){var t,n,s=e._fullLayout,u=[],c={},f=[];for(n=0;n<s.images.length;n++){var d=s.images[n];if(d.visible)if(\"below\"===d.layer&&\"paper\"!==d.xref&&\"paper\"!==d.yref){t=o.ref2id(d.xref)+o.ref2id(d.yref);var p=s._plots[t];if(!p){f.push(d);continue}p.mainplot&&(t=p.mainplot.id),c[t]||(c[t]=[]),c[t].push(d)}else\"above\"===d.layer?u.push(d):f.push(d)}var h={left:{sizing:\"xMin\",offset:0},center:{sizing:\"xMid\",offset:-.5},right:{sizing:\"xMax\",offset:-1}},m={top:{sizing:\"YMin\",offset:0},middle:{sizing:\"YMid\",offset:-.5},bottom:{sizing:\"YMax\",offset:-1}};function g(t){var n=r.select(this);if(this._imgSrc!==t.source)if(n.attr(\"xmlns\",l.svg),t.source&&\"data:\"===t.source.slice(0,5))n.attr(\"xlink:href\",t.source),this._imgSrc=t.source;else{var a=new Promise(function(e){var r=new Image;function a(){n.remove(),e()}this.img=r,r.setAttribute(\"crossOrigin\",\"anonymous\"),r.onerror=a,r.onload=function(){var t=document.createElement(\"canvas\");t.width=this.width,t.height=this.height,t.getContext(\"2d\").drawImage(this,0,0);var r=t.toDataURL(\"image/png\");n.attr(\"xlink:href\",r),e()},n.on(\"error\",a),r.src=t.source,this._imgSrc=t.source}.bind(this));e._promises.push(a)}}function y(t){var n,o,l=r.select(this),u=i.getFromId(e,t.xref),c=i.getFromId(e,t.yref),f=\"domain\"===i.getRefType(t.xref),d=\"domain\"===i.getRefType(t.yref),p=s._size;n=void 0!==u?\"string\"==typeof t.xref&&f?u._length*t.sizex:Math.abs(u.l2p(t.sizex)-u.l2p(0)):t.sizex*p.w,o=void 0!==c?\"string\"==typeof t.yref&&d?c._length*t.sizey:Math.abs(c.l2p(t.sizey)-c.l2p(0)):t.sizey*p.h;var g,y,v=n*h[t.xanchor].offset,b=o*m[t.yanchor].offset,x=h[t.xanchor].sizing+m[t.yanchor].sizing;switch(g=void 0!==u?\"string\"==typeof t.xref&&f?u._length*t.x+u._offset:u.r2p(t.x)+u._offset:t.x*p.w+p.l,g+=v,y=void 0!==c?\"string\"==typeof t.yref&&d?c._length*(1-t.y)+c._offset:c.r2p(t.y)+c._offset:p.h-t.y*p.h+p.t,y+=b,t.sizing){case\"fill\":x+=\" slice\";break;case\"stretch\":x=\"none\"}l.attr({x:g,y:y,width:n,height:o,preserveAspectRatio:x,opacity:t.opacity});var w=(u&&\"domain\"!==i.getRefType(t.xref)?u._id:\"\")+(c&&\"domain\"!==i.getRefType(t.yref)?c._id:\"\");a.setClipUrl(l,w?\"clip\"+s._uid+w:null,e)}var v=s._imageLowerLayer.selectAll(\"image\").data(f),b=s._imageUpperLayer.selectAll(\"image\").data(u);v.enter().append(\"image\"),b.enter().append(\"image\"),v.exit().remove(),b.exit().remove(),v.each((function(e){g.bind(this)(e),y.bind(this)(e)})),b.each((function(e){g.bind(this)(e),y.bind(this)(e)}));var x=Object.keys(s._plots);for(n=0;n<x.length;n++){t=x[n];var w=s._plots[t];if(w.imagelayer){var _=w.imagelayer.selectAll(\"image\").data(c[t]||[]);_.enter().append(\"image\"),_.exit().remove(),_.each((function(e){g.bind(this)(e),y.bind(this)(e)}))}}}},{\"../../constants/xmlns_namespaces\":268,\"../../plots/cartesian/axes\":334,\"../../plots/cartesian/axis_ids\":338,\"../drawing\":179,\"@plotly/d3\":20}],206:[function(e,t,n){\"use strict\";t.exports={moduleType:\"component\",name:\"images\",layoutAttributes:e(\"./attributes\"),supplyLayoutDefaults:e(\"./defaults\"),includeBasePlot:e(\"../../plots/cartesian/include_components\")(\"images\"),draw:e(\"./draw\"),convertCoords:e(\"./convert_coords\")}},{\"../../plots/cartesian/include_components\":347,\"./attributes\":202,\"./convert_coords\":203,\"./defaults\":204,\"./draw\":205}],207:[function(e,t,n){\"use strict\";var r=e(\"../../plots/font_attributes\"),a=e(\"../color/attributes\");t.exports={bgcolor:{valType:\"color\",editType:\"legend\"},bordercolor:{valType:\"color\",dflt:a.defaultLine,editType:\"legend\"},borderwidth:{valType:\"number\",min:0,dflt:0,editType:\"legend\"},font:r({editType:\"legend\"}),grouptitlefont:r({editType:\"legend\"}),orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],dflt:\"v\",editType:\"legend\"},traceorder:{valType:\"flaglist\",flags:[\"reversed\",\"grouped\"],extras:[\"normal\"],editType:\"legend\"},tracegroupgap:{valType:\"number\",min:0,dflt:10,editType:\"legend\"},itemsizing:{valType:\"enumerated\",values:[\"trace\",\"constant\"],dflt:\"trace\",editType:\"legend\"},itemwidth:{valType:\"number\",min:30,dflt:30,editType:\"legend\"},itemclick:{valType:\"enumerated\",values:[\"toggle\",\"toggleothers\",!1],dflt:\"toggle\",editType:\"legend\"},itemdoubleclick:{valType:\"enumerated\",values:[\"toggle\",\"toggleothers\",!1],dflt:\"toggleothers\",editType:\"legend\"},groupclick:{valType:\"enumerated\",values:[\"toggleitem\",\"togglegroup\"],dflt:\"togglegroup\",editType:\"legend\"},x:{valType:\"number\",min:-2,max:3,editType:\"legend\"},xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"left\",editType:\"legend\"},y:{valType:\"number\",min:-2,max:3,editType:\"legend\"},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],editType:\"legend\"},uirevision:{valType:\"any\",editType:\"none\"},valign:{valType:\"enumerated\",values:[\"top\",\"middle\",\"bottom\"],dflt:\"middle\",editType:\"legend\"},title:{text:{valType:\"string\",dflt:\"\",editType:\"legend\"},font:r({editType:\"legend\"}),side:{valType:\"enumerated\",values:[\"top\",\"left\",\"top left\"],editType:\"legend\"},editType:\"legend\"},editType:\"legend\"}},{\"../../plots/font_attributes\":365,\"../color/attributes\":156}],208:[function(e,t,n){\"use strict\";t.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:\"#808BA4\",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,itemGap:5}},{}],209:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../lib\"),i=e(\"../../plot_api/plot_template\"),o=e(\"../../plots/attributes\"),l=e(\"./attributes\"),s=e(\"../../plots/layout_attributes\"),u=e(\"./helpers\");t.exports=function(e,t,n){var c,f=e.legend||{},d=i.newContainer(t,\"legend\");function p(e,t){return a.coerce(f,d,l,e,t)}for(var h=function(e,t){var n=c._input,r=c;return a.coerce(n,r,o,e,t)},m=t.font||{},g=a.coerceFont(p,\"grouptitlefont\",a.extendFlat({},m,{size:Math.round(1.1*m.size)})),y=0,v=!1,b=\"normal\",x=0;x<n.length;x++)(c=n[x]).visible&&((c.showlegend||c._dfltShowLegend&&!(c._module&&c._module.attributes&&c._module.attributes.showlegend&&!1===c._module.attributes.showlegend.dflt))&&(y++,c.showlegend&&(v=!0,(r.traceIs(c,\"pie-like\")||!0===c._input.showlegend)&&y++),a.coerceFont(h,\"legendgrouptitle.font\",g)),(r.traceIs(c,\"bar\")&&\"stack\"===t.barmode||-1!==[\"tonextx\",\"tonexty\"].indexOf(c.fill))&&(b=u.isGrouped({traceorder:b})?\"grouped+reversed\":\"reversed\"),void 0!==c.legendgroup&&\"\"!==c.legendgroup&&(b=u.isReversed({traceorder:b})?\"reversed+grouped\":\"grouped\"));var w=a.coerce(e,t,s,\"showlegend\",v&&y>1);if(!1===w&&(t.legend=void 0),(!1!==w||f.uirevision)&&(p(\"uirevision\",t.uirevision),!1!==w)){p(\"bgcolor\",t.paper_bgcolor),p(\"bordercolor\"),p(\"borderwidth\");var _,k,T,M=a.coerceFont(p,\"font\",t.font),S=\"h\"===p(\"orientation\");if(S?(_=0,r.getComponentMethod(\"rangeslider\",\"isVisible\")(e.xaxis)?(k=1.1,T=\"bottom\"):(k=-.1,T=\"top\")):(_=1.02,k=1,T=\"auto\"),p(\"traceorder\",b),u.isGrouped(t.legend)&&p(\"tracegroupgap\"),p(\"itemsizing\"),p(\"itemwidth\"),p(\"itemclick\"),p(\"itemdoubleclick\"),p(\"groupclick\"),p(\"x\",_),p(\"xanchor\"),p(\"y\",k),p(\"yanchor\",T),p(\"valign\"),a.noneOrAll(f,d,[\"x\",\"y\"]),p(\"title.text\")){p(\"title.side\",S?\"left\":\"top\");var E=a.extendFlat({},M,{size:a.bigFont(M.size)});a.coerceFont(p,\"title.font\",E)}}}},{\"../../lib\":287,\"../../plot_api/plot_template\":323,\"../../plots/attributes\":330,\"../../plots/layout_attributes\":369,\"../../registry\":378,\"./attributes\":207,\"./helpers\":213}],210:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../lib\"),i=e(\"../../plots/plots\"),o=e(\"../../registry\"),l=e(\"../../lib/events\"),s=e(\"../dragelement\"),u=e(\"../drawing\"),c=e(\"../color\"),f=e(\"../../lib/svg_text_utils\"),d=e(\"./handle_click\"),p=e(\"./constants\"),h=e(\"../../constants/alignment\"),m=h.LINE_SPACING,g=h.FROM_TL,y=h.FROM_BR,v=e(\"./get_legend_data\"),b=e(\"./style\"),x=e(\"./helpers\");function w(e,t,n,r,a){var i=n.data()[0][0].trace,s={event:a,node:n.node(),curveNumber:i.index,expandedIndex:i._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};i._group&&(s.group=i._group),o.traceIs(i,\"pie-like\")&&(s.label=n.datum()[0].label),!1!==l.triggerHandler(e,\"plotly_legendclick\",s)&&(1===r?t._clickTimeout=setTimeout((function(){e._fullLayout&&d(n,e,r)}),e._context.doubleClickDelay):2===r&&(t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0,!1!==l.triggerHandler(e,\"plotly_legenddoubleclick\",s)&&d(n,e,r)))}function _(e,t,n){var r,i,l=e.data()[0][0],s=l.trace,c=o.traceIs(s,\"pie-like\"),d=!n._inHover&&t._context.edits.legendText&&!c,h=n._maxNameLength;l.groupTitle?(r=l.groupTitle.text,i=l.groupTitle.font):(i=n.font,n.entries?r=l.text:(r=c?l.label:s.name,s._meta&&(r=a.templateString(r,s._meta))));var m=a.ensureSingle(e,\"text\",\"legendtext\");m.attr(\"text-anchor\",\"start\").call(u.font,i).text(d?k(r,h):r);var g=n.itemwidth+2*p.itemGap;f.positionText(m,g,0),d?m.call(f.makeEditable,{gd:t,text:r}).call(M,e,t,n).on(\"edit\",(function(r){this.text(k(r,h)).call(M,e,t,n);var i=l.trace._fullInput||{},u={};if(o.hasTransform(i,\"groupby\")){var c=o.getTransformIndices(i,\"groupby\"),f=c[c.length-1],d=a.keyedContainer(i,\"transforms[\"+f+\"].styles\",\"target\",\"value.name\");d.set(l.trace._group,r),u=d.constructUpdate()}else u.name=r;return o.call(\"_guiRestyle\",t,u,s.index)})):M(m,e,t,n)}function k(e,t){var n=Math.max(4,t);if(e&&e.trim().length>=n/2)return e;for(var r=n-(e=e||\"\").length;r>0;r--)e+=\" \";return e}function T(e,t){var n,i=t._context.doubleClickDelay,o=1,l=a.ensureSingle(e,\"rect\",\"legendtoggle\",(function(e){t._context.staticPlot||e.style(\"cursor\",\"pointer\").attr(\"pointer-events\",\"all\"),e.call(c.fill,\"rgba(0,0,0,0)\")}));t._context.staticPlot||(l.on(\"mousedown\",(function(){(n=(new Date).getTime())-t._legendMouseDownTime<i?o+=1:(o=1,t._legendMouseDownTime=n)})),l.on(\"mouseup\",(function(){if(!t._dragged&&!t._editing){var n=t._fullLayout.legend;(new Date).getTime()-t._legendMouseDownTime>i&&(o=Math.max(o-1,1)),w(t,n,e,o,r.event)}})))}function M(e,t,n,r,a){r._inHover&&e.attr(\"data-notex\",!0),f.convertToTspans(e,n,(function(){!function(e,t,n,r){var a=e.data()[0][0];if(n._inHover||!a||a.trace.showlegend){var i=e.select(\"g[class*=math-group]\"),o=i.node();n||(n=t._fullLayout.legend);var l,s,c=n.borderwidth,d=(1===r?n.title.font:a.groupTitle?a.groupTitle.font:n.font).size*m;if(o){var h=u.bBox(o);l=h.height,s=h.width,1===r?u.setTranslate(i,c,c+.75*l):u.setTranslate(i,0,.25*l)}else{var g=e.select(1===r?\".legendtitletext\":\".legendtext\"),y=f.lineCount(g),v=g.node();if(l=d*y,s=v?u.bBox(v).width:0,1===r)\"left\"===n.title.side&&(s+=2*p.itemGap),f.positionText(g,c+p.titlePad,c+d);else{var b=2*p.itemGap+n.itemwidth;a.groupTitle&&(b=p.itemGap,s-=n.itemwidth),f.positionText(g,b,-d*((y-1)/2-.3))}}1===r?(n._titleWidth=s,n._titleHeight=l):(a.lineHeight=d,a.height=Math.max(l,16)+3,a.width=s)}else e.remove()}(t,n,r,a)}))}function S(e){return a.isRightAnchor(e)?\"right\":a.isCenterAnchor(e)?\"center\":\"left\"}function E(e){return a.isBottomAnchor(e)?\"bottom\":a.isMiddleAnchor(e)?\"middle\":\"top\"}t.exports=function(e,t){return t||(t=e._fullLayout.legend||{}),function(e,t){var n,l,f=e._fullLayout,d=\"legend\"+f._uid,h=t._inHover;if(h?(n=t.layer,d+=\"-hover\"):n=f._infolayer,n){if(e._legendMouseDownTime||(e._legendMouseDownTime=0),h){if(!t.entries)return;l=v(t.entries,t)}else{if(!e.calcdata)return;l=f.showlegend&&v(e.calcdata,t)}var m=f.hiddenlabels||[];if(!(h||f.showlegend&&l.length))return n.selectAll(\".legend\").remove(),f._topdefs.select(\"#\"+d).remove(),i.autoMargin(e,\"legend\");var k=a.ensureSingle(n,\"g\",\"legend\",(function(e){h||e.attr(\"pointer-events\",\"all\")})),C=a.ensureSingleById(f._topdefs,\"clipPath\",d,(function(e){e.append(\"rect\")})),O=a.ensureSingle(k,\"rect\",\"bg\",(function(e){e.attr(\"shape-rendering\",\"crispEdges\")}));O.call(c.stroke,t.bordercolor).call(c.fill,t.bgcolor).style(\"stroke-width\",t.borderwidth+\"px\");var A=a.ensureSingle(k,\"g\",\"scrollbox\"),D=t.title;if(t._titleWidth=0,t._titleHeight=0,D.text){var P=a.ensureSingle(A,\"text\",\"legendtitletext\");P.attr(\"text-anchor\",\"start\").call(u.font,D.font).text(D.text),M(P,A,e,t,1)}else A.selectAll(\".legendtitletext\").remove();var R=a.ensureSingle(k,\"rect\",\"scrollbar\",(function(e){e.attr(p.scrollBarEnterAttrs).call(c.fill,p.scrollBarColor)})),L=A.selectAll(\"g.groups\").data(l);L.enter().append(\"g\").attr(\"class\",\"groups\"),L.exit().remove();var I=L.selectAll(\"g.traces\").data(a.identity);I.enter().append(\"g\").attr(\"class\",\"traces\"),I.exit().remove(),I.style(\"opacity\",(function(e){var t=e[0].trace;return o.traceIs(t,\"pie-like\")?-1!==m.indexOf(e[0].label)?.5:1:\"legendonly\"===t.visible?.5:1})).each((function(){r.select(this).call(_,e,t)})).call(b,e,t).each((function(){h||r.select(this).call(T,e)})),a.syncOrAsync([i.previousPromises,function(){return function(e,t,n,a){var i=e._fullLayout;a||(a=i.legend);var o=i._size,l=x.isVertical(a),s=x.isGrouped(a),c=a.borderwidth,f=2*c,d=p.itemGap,h=a.itemwidth+2*d,m=2*(c+d),g=E(a),y=a.y<0||0===a.y&&\"top\"===g,v=a.y>1||1===a.y&&\"bottom\"===g,b=a.tracegroupgap;a._maxHeight=Math.max(y||v?i.height/2:o.h,30);var w=0;a._width=0,a._height=0;var _=function(e){var t=0,n=0,r=e.title.side;return r&&(-1!==r.indexOf(\"left\")&&(t=e._titleWidth),-1!==r.indexOf(\"top\")&&(n=e._titleHeight)),[t,n]}(a);if(l)n.each((function(e){var t=e[0].height;u.setTranslate(this,c+_[0],c+_[1]+a._height+t/2+d),a._height+=t,a._width=Math.max(a._width,e[0].width)})),w=h+a._width,a._width+=d+h+f,a._height+=m,s&&(t.each((function(e,t){u.setTranslate(this,0,t*a.tracegroupgap)})),a._height+=(a._lgroupsLength-1)*a.tracegroupgap);else{var k=S(a),T=a.x<0||0===a.x&&\"right\"===k,M=a.x>1||1===a.x&&\"left\"===k,C=v||y,O=i.width/2;a._maxWidth=Math.max(T?C&&\"left\"===k?o.l+o.w:O:M?C&&\"right\"===k?o.r+o.w:O:o.w,2*h);var A=0,D=0;n.each((function(e){var t=e[0].width+h;A=Math.max(A,t),D+=t})),w=null;var P=0;if(s){var R=0,L=0,I=0;t.each((function(){var e=0,t=0;r.select(this).selectAll(\"g.traces\").each((function(n){var r=n[0].width,a=n[0].height;u.setTranslate(this,_[0],_[1]+c+d+a/2+t),t+=a,e=Math.max(e,h+r)}));var n=e+d;L>0&&n+c+L>a._maxWidth?(P=Math.max(P,L),L=0,I+=R+b,R=t):R=Math.max(R,t),u.setTranslate(this,L,I),L+=n})),a._width=Math.max(P,L)+c,a._height=I+R+m}else{var j=n.size(),N=D+f+(j-1)*d<a._maxWidth,z=0,F=0,Z=0,B=0;n.each((function(e){var t=e[0].height,n=h+e[0].width,r=(N?n:A)+d;r+c+F-d>=a._maxWidth&&(P=Math.max(P,B),F=0,Z+=z,a._height+=z,z=0),u.setTranslate(this,_[0]+c+F,_[1]+c+Z+t/2+d),B=F+n+d,F+=r,z=Math.max(z,t)})),N?(a._width=F+f,a._height=z+m):(a._width=Math.max(P,B)+f,a._height+=z+m)}}a._width=Math.ceil(Math.max(a._width+_[0],a._titleWidth+2*(c+p.titlePad))),a._height=Math.ceil(Math.max(a._height+_[1],a._titleHeight+2*(c+p.itemGap))),a._effHeight=Math.min(a._height,a._maxHeight);var q=e._context.edits,H=q.legendText||q.legendPosition;n.each((function(e){var t=r.select(this).select(\".legendtoggle\"),n=e[0].height,a=H?h:w||h+e[0].width;l||(a+=d/2),u.setRect(t,0,-n/2,a,n)}))}(e,L,I,t)},function(){var l,c,m,v,b=f._size,x=t.borderwidth;if(!h){if(function(e){var t=e._fullLayout.legend,n=S(t),r=E(t);return i.autoMargin(e,\"legend\",{x:t.x,y:t.y,l:t._width*g[n],r:t._width*y[n],b:t._effHeight*y[r],t:t._effHeight*g[r]})}(e))return;var _=b.l+b.w*t.x-g[S(t)]*t._width,T=b.t+b.h*(1-t.y)-g[E(t)]*t._effHeight;if(f.margin.autoexpand){var M=_,D=T;_=a.constrain(_,0,f.width-t._width),T=a.constrain(T,0,f.height-t._effHeight),_!==M&&a.log(\"Constrain legend.x to make legend fit inside graph\"),T!==D&&a.log(\"Constrain legend.y to make legend fit inside graph\")}u.setTranslate(k,_,T)}if(R.on(\".drag\",null),k.on(\"wheel\",null),h||t._height<=t._maxHeight||e._context.staticPlot){var P=t._effHeight;h&&(P=t._height),O.attr({width:t._width-x,height:P-x,x:x/2,y:x/2}),u.setTranslate(A,0,0),C.select(\"rect\").attr({width:t._width-2*x,height:P-2*x,x:x,y:x}),u.setClipUrl(A,d,e),u.setRect(R,0,0,0,0),delete t._scrollY}else{var L,I,j,N=Math.max(p.scrollBarMinHeight,t._effHeight*t._effHeight/t._height),z=t._effHeight-N-2*p.scrollBarMargin,F=t._height-t._effHeight,Z=z/F,B=Math.min(t._scrollY||0,F);O.attr({width:t._width-2*x+p.scrollBarWidth+p.scrollBarMargin,height:t._effHeight-x,x:x/2,y:x/2}),C.select(\"rect\").attr({width:t._width-2*x+p.scrollBarWidth+p.scrollBarMargin,height:t._effHeight-2*x,x:x,y:x+B}),u.setClipUrl(A,d,e),U(B,N,Z),k.on(\"wheel\",(function(){U(B=a.constrain(t._scrollY+r.event.deltaY/z*F,0,F),N,Z),0!==B&&B!==F&&r.event.preventDefault()}));var q=r.behavior.drag().on(\"dragstart\",(function(){var e=r.event.sourceEvent;L=\"touchstart\"===e.type?e.changedTouches[0].clientY:e.clientY,j=B})).on(\"drag\",(function(){var e=r.event.sourceEvent;2===e.buttons||e.ctrlKey||(I=\"touchmove\"===e.type?e.changedTouches[0].clientY:e.clientY,U(B=function(e,t,n){var r=(n-t)/Z+e;return a.constrain(r,0,F)}(j,L,I),N,Z))}));R.call(q);var H=r.behavior.drag().on(\"dragstart\",(function(){var e=r.event.sourceEvent;\"touchstart\"===e.type&&(L=e.changedTouches[0].clientY,j=B)})).on(\"drag\",(function(){var e=r.event.sourceEvent;\"touchmove\"===e.type&&(I=e.changedTouches[0].clientY,U(B=function(e,t,n){var r=(t-n)/Z+e;return a.constrain(r,0,F)}(j,L,I),N,Z))}));A.call(H)}function U(n,r,a){t._scrollY=e._fullLayout.legend._scrollY=n,u.setTranslate(A,0,-n),u.setRect(R,t._width,p.scrollBarMargin+n*a,p.scrollBarWidth,r),C.select(\"rect\").attr(\"y\",x+n)}e._context.edits.legendPosition&&(k.classed(\"cursor-move\",!0),s.init({element:k.node(),gd:e,prepFn:function(){var e=u.getTranslate(k);m=e.x,v=e.y},moveFn:function(e,n){var r=m+e,a=v+n;u.setTranslate(k,r,a),l=s.align(r,0,b.l,b.l+b.w,t.xanchor),c=s.align(a,0,b.t+b.h,b.t,t.yanchor)},doneFn:function(){void 0!==l&&void 0!==c&&o.call(\"_guiRelayout\",e,{\"legend.x\":l,\"legend.y\":c})},clickFn:function(t,r){var a=n.selectAll(\"g.traces\").filter((function(){var e=this.getBoundingClientRect();return r.clientX>=e.left&&r.clientX<=e.right&&r.clientY>=e.top&&r.clientY<=e.bottom}));a.size()>0&&w(e,k,a,t,r)}}))}],e)}}(e,t)}},{\"../../constants/alignment\":262,\"../../lib\":287,\"../../lib/events\":280,\"../../lib/svg_text_utils\":310,\"../../plots/plots\":371,\"../../registry\":378,\"../color\":157,\"../dragelement\":176,\"../drawing\":179,\"./constants\":208,\"./get_legend_data\":211,\"./handle_click\":212,\"./helpers\":213,\"./style\":215,\"@plotly/d3\":20}],211:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"./helpers\");t.exports=function(e,t){var n,i,o=t._inHover,l=a.isGrouped(t),s=a.isReversed(t),u={},c=[],f=!1,d={},p=0,h=0;function m(e,n){if(\"\"!==e&&a.isGrouped(t))-1===c.indexOf(e)?(c.push(e),f=!0,u[e]=[n]):u[e].push(n);else{var r=\"~~i\"+p;c.push(r),u[r]=[n],p++}}for(n=0;n<e.length;n++){var g=e[n],y=g[0],v=y.trace,b=v.legendgroup;if(o||v.visible&&v.showlegend)if(r.traceIs(v,\"pie-like\"))for(d[b]||(d[b]={}),i=0;i<g.length;i++){var x=g[i].label;d[b][x]||(m(b,{label:x,color:g[i].color,i:g[i].i,trace:v,pts:g[i].pts}),d[b][x]=!0,h=Math.max(h,(x||\"\").length))}else m(b,y),h=Math.max(h,(v.name||\"\").length)}if(!c.length)return[];var w=!f||!l,_=[];for(n=0;n<c.length;n++){var k=u[c[n]];w?_.push(k[0]):_.push(k)}for(w&&(_=[_]),n=0;n<_.length;n++){var T=1/0;for(i=0;i<_[n].length;i++){var M=_[n][i].trace.legendrank;T>M&&(T=M)}_[n][0]._groupMinRank=T,_[n][0]._preGroupSort=n}var S=function(e,t){return e.trace.legendrank-t.trace.legendrank||e._preSort-t._preSort};for(_.forEach((function(e,t){e[0]._preGroupSort=t})),_.sort((function(e,t){return e[0]._groupMinRank-t[0]._groupMinRank||e[0]._preGroupSort-t[0]._preGroupSort})),n=0;n<_.length;n++){_[n].forEach((function(e,t){e._preSort=t})),_[n].sort(S);var E=_[n][0].trace,C=null;for(i=0;i<_[n].length;i++){var O=_[n][i].trace.legendgrouptitle;if(O&&O.text){C=O,o&&(O.font=t._groupTitleFont);break}}if(s&&_[n].reverse(),C){var A=!1;for(i=0;i<_[n].length;i++)if(r.traceIs(_[n][i].trace,\"pie-like\")){A=!0;break}_[n].unshift({i:-1,groupTitle:C,noClick:A,trace:{showlegend:E.showlegend,legendgroup:E.legendgroup,visible:\"toggleitem\"===t.groupclick||E.visible}})}for(i=0;i<_[n].length;i++)_[n][i]=[_[n][i]]}return t._lgroupsLength=_.length,t._maxNameLength=h,_}},{\"../../registry\":378,\"./helpers\":213}],212:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../registry\"),i=!0;t.exports=function(e,t,n){var o=t._fullLayout;if(!t._dragged&&!t._editing){var l,s=o.legend.itemclick,u=o.legend.itemdoubleclick,c=o.legend.groupclick;if(1===n&&\"toggle\"===s&&\"toggleothers\"===u&&i&&t.data&&t._context.showTips?(r.notifier(r._(t,\"Double-click on legend to isolate one trace\"),\"long\"),i=!1):i=!1,1===n?l=s:2===n&&(l=u),l){var f=\"togglegroup\"===c,d=o.hiddenlabels?o.hiddenlabels.slice():[],p=e.data()[0][0];if(!p.groupTitle||!p.noClick){var h,m,g,y,v,b=t._fullData,x=p.trace,w=x.legendgroup,_={},k=[],T=[],M=[];if(a.traceIs(x,\"pie-like\")){var S=p.label,E=d.indexOf(S);\"toggle\"===l?-1===E?d.push(S):d.splice(E,1):\"toggleothers\"===l&&(d=[],t.calcdata[0].forEach((function(e){S!==e.label&&d.push(e.label)})),t._fullLayout.hiddenlabels&&t._fullLayout.hiddenlabels.length===d.length&&-1===E&&(d=[])),a.call(\"_guiRelayout\",t,\"hiddenlabels\",d)}else{var C,O=w&&w.length,A=[];if(O)for(h=0;h<b.length;h++)(C=b[h]).visible&&C.legendgroup===w&&A.push(h);if(\"toggle\"===l){var D;switch(x.visible){case!0:D=\"legendonly\";break;case!1:D=!1;break;case\"legendonly\":D=!0}if(O)if(f)for(h=0;h<b.length;h++)!1!==b[h].visible&&b[h].legendgroup===w&&Z(b[h],D);else Z(x,D);else Z(x,D)}else if(\"toggleothers\"===l){var P,R,L,I,j=!0;for(h=0;h<b.length;h++)if(P=b[h]===x,L=!0!==b[h].showlegend,!(P||L||(R=O&&b[h].legendgroup===w)||!0!==b[h].visible||a.traceIs(b[h],\"notLegendIsolatable\"))){j=!1;break}for(h=0;h<b.length;h++)if(!1!==b[h].visible&&!a.traceIs(b[h],\"notLegendIsolatable\"))switch(x.visible){case\"legendonly\":Z(b[h],!0);break;case!0:I=!!j||\"legendonly\",P=b[h]===x,L=!0!==b[h].showlegend&&!b[h].legendgroup,R=P||O&&b[h].legendgroup===w,Z(b[h],!(!R&&!L)||I)}}for(h=0;h<T.length;h++)if(g=T[h]){var N=g.constructUpdate(),z=Object.keys(N);for(m=0;m<z.length;m++)y=z[m],(_[y]=_[y]||[])[M[h]]=N[y]}for(v=Object.keys(_),h=0;h<v.length;h++)for(y=v[h],m=0;m<k.length;m++)_[y].hasOwnProperty(m)||(_[y][m]=void 0);a.call(\"_guiRestyle\",t,_,k)}}}}function F(e,t,n){var r=k.indexOf(e),a=_[t];return a||(a=_[t]=[]),-1===k.indexOf(e)&&(k.push(e),r=k.length-1),a[r]=n,r}function Z(e,t){if(!p.groupTitle||f){var n=e._fullInput;if(a.hasTransform(n,\"groupby\")){var i=T[n.index];if(!i){var o=a.getTransformIndices(n,\"groupby\"),l=o[o.length-1];i=r.keyedContainer(n,\"transforms[\"+l+\"].styles\",\"target\",\"value.visible\"),T[n.index]=i}var s=i.get(e._group);void 0===s&&(s=!0),!1!==s&&i.set(e._group,t),M[n.index]=F(n.index,\"visible\",!1!==n.visible)}else{var u=!1!==n.visible&&t;F(n.index,\"visible\",u)}}}}},{\"../../lib\":287,\"../../registry\":378}],213:[function(e,t,n){\"use strict\";n.isGrouped=function(e){return-1!==(e.traceorder||\"\").indexOf(\"grouped\")},n.isVertical=function(e){return\"h\"!==e.orientation},n.isReversed=function(e){return-1!==(e.traceorder||\"\").indexOf(\"reversed\")}},{}],214:[function(e,t,n){\"use strict\";t.exports={moduleType:\"component\",name:\"legend\",layoutAttributes:e(\"./attributes\"),supplyLayoutDefaults:e(\"./defaults\"),draw:e(\"./draw\"),style:e(\"./style\")}},{\"./attributes\":207,\"./defaults\":209,\"./draw\":210,\"./style\":215}],215:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../registry\"),i=e(\"../../lib\"),o=i.strTranslate,l=e(\"../drawing\"),s=e(\"../color\"),u=e(\"../colorscale/helpers\").extractOpts,c=e(\"../../traces/scatter/subtypes\"),f=e(\"../../traces/pie/style_one\"),d=e(\"../../traces/pie/helpers\").castOption,p=e(\"./constants\");function h(e,t){return(t?\"radial\":\"horizontal\")+(e?\"\":\"reversed\")}function m(e){var t=e[0].trace,n=t.contours,r=c.hasLines(t),a=c.hasMarkers(t),i=t.visible&&t.fill&&\"none\"!==t.fill,o=!1,l=!1;if(n){var s=n.coloring;\"lines\"===s?o=!0:r=\"none\"===s||\"heatmap\"===s||n.showlines,\"constraint\"===n.type?i=\"=\"!==n._operation:\"fill\"!==s&&\"heatmap\"!==s||(l=!0)}return{showMarker:a,showLine:r,showFill:i,showGradientLine:o,showGradientFill:l,anyLine:r||o,anyFill:i||l}}function g(e,t,n){return e&&i.isArrayOrTypedArray(e)?t:e>n?n:e}t.exports=function(e,t,n){var y=t._fullLayout;n||(n=y.legend);var v=\"constant\"===n.itemsizing,b=n.itemwidth,x=(b+2*p.itemGap)/2,w=o(x,0),_=function(e,t,n,r){var a;if(e+1)a=e;else{if(!(t&&t.width>0))return 0;a=t.width}return v?r:Math.min(a,n)};function k(e,i,o){var c=e[0].trace,f=c.marker||{},d=f.line||{},p=o?c.visible&&c.type===o:a.traceIs(c,\"bar\"),h=r.select(i).select(\"g.legendpoints\").selectAll(\"path.legend\"+o).data(p?[e]:[]);h.enter().append(\"path\").classed(\"legend\"+o,!0).attr(\"d\",\"M6,6H-6V-6H6Z\").attr(\"transform\",w),h.exit().remove(),h.each((function(e){var a=r.select(this),i=e[0],o=_(i.mlw,f.line,5,2);a.style(\"stroke-width\",o+\"px\");var p=i.mcc;if(!n._inHover&&\"mc\"in i){var h=u(f),m=h.mid;void 0===m&&(m=(h.max+h.min)/2),p=l.tryColorscale(f,\"\")(m)}var y=p||i.mc||f.color,v=f.pattern,b=v&&l.getPatternAttr(v.shape,0,\"\");if(b){var x=l.getPatternAttr(v.bgcolor,0,null),w=l.getPatternAttr(v.fgcolor,0,null),k=v.fgopacity,T=g(v.size,8,10),M=g(v.solidity,.5,1),S=\"legend-\"+c.uid;a.call(l.pattern,\"legend\",t,S,b,T,M,p,v.fillmode,x,w,k)}else a.call(s.fill,y);o&&s.stroke(a,i.mlc||d.color)}))}function T(e,t,n){var o=e[0],l=o.trace,s=n?l.visible&&l.type===n:a.traceIs(l,n),u=r.select(t).select(\"g.legendpoints\").selectAll(\"path.legend\"+n).data(s?[e]:[]);if(u.enter().append(\"path\").classed(\"legend\"+n,!0).attr(\"d\",\"M6,6H-6V-6H6Z\").attr(\"transform\",w),u.exit().remove(),u.size()){var c=(l.marker||{}).line,p=_(d(c.width,o.pts),c,5,2),h=i.minExtend(l,{marker:{line:{width:p}}});h.marker.line.color=c.color;var m=i.minExtend(o,{trace:h});f(u,m,h)}}e.each((function(e){var t=r.select(this),a=i.ensureSingle(t,\"g\",\"layers\");a.style(\"opacity\",e[0].trace.opacity);var l=n.valign,s=e[0].lineHeight,u=e[0].height;if(\"middle\"!==l&&s&&u){var c={top:1,bottom:-1}[l]*(.5*(s-u+3));a.attr(\"transform\",o(0,c))}else a.attr(\"transform\",null);a.selectAll(\"g.legendfill\").data([e]).enter().append(\"g\").classed(\"legendfill\",!0),a.selectAll(\"g.legendlines\").data([e]).enter().append(\"g\").classed(\"legendlines\",!0);var f=a.selectAll(\"g.legendsymbols\").data([e]);f.enter().append(\"g\").classed(\"legendsymbols\",!0),f.selectAll(\"g.legendpoints\").data([e]).enter().append(\"g\").classed(\"legendpoints\",!0)})).each((function(e){var n,a=e[0].trace,o=[];if(a.visible)switch(a.type){case\"histogram2d\":case\"heatmap\":o=[[\"M-15,-2V4H15V-2Z\"]],n=!0;break;case\"choropleth\":case\"choroplethmapbox\":o=[[\"M-6,-6V6H6V-6Z\"]],n=!0;break;case\"densitymapbox\":o=[[\"M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0\"]],n=\"radial\";break;case\"cone\":o=[[\"M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z\"],[\"M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z\"],[\"M-6,-2 A2,2 0 0,0 -6,2 L6,0Z\"]],n=!1;break;case\"streamtube\":o=[[\"M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z\"],[\"M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z\"],[\"M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z\"]],n=!1;break;case\"surface\":o=[[\"M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z\"],[\"M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z\"]],n=!0;break;case\"mesh3d\":o=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6H6L0,6Z\"]],n=!1;break;case\"volume\":o=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6H6L0,6Z\"]],n=!0;break;case\"isosurface\":o=[[\"M-6,6H0L-6,-6Z\"],[\"M6,6H0L6,-6Z\"],[\"M-6,-6 A12,24 0 0,0 6,-6 L0,6Z\"]],n=!1}var c=r.select(this).select(\"g.legendpoints\").selectAll(\"path.legend3dandfriends\").data(o);c.enter().append(\"path\").classed(\"legend3dandfriends\",!0).attr(\"transform\",w).style(\"stroke-miterlimit\",1),c.exit().remove(),c.each((function(e,o){var c,f=r.select(this),d=u(a),p=d.colorscale,m=d.reversescale;if(p){if(!n){var g=p.length;c=0===o?p[m?g-1:0][1]:1===o?p[m?0:g-1][1]:p[Math.floor((g-1)/2)][1]}}else{var y=a.vertexcolor||a.facecolor||a.color;c=i.isArrayOrTypedArray(y)?y[o]||y[0]:y}f.attr(\"d\",e[0]),c?f.call(s.fill,c):f.call((function(e){if(e.size()){var r=\"legendfill-\"+a.uid;l.gradient(e,t,r,h(m,\"radial\"===n),p,\"fill\")}}))}))})).each((function(e){var t=e[0].trace,n=\"waterfall\"===t.type;if(e[0]._distinct&&n){var a=e[0].trace[e[0].dir].marker;return e[0].mc=a.color,e[0].mlw=a.line.width,e[0].mlc=a.line.color,k(e,this,\"waterfall\")}var i=[];t.visible&&n&&(i=e[0].hasTotals?[[\"increasing\",\"M-6,-6V6H0Z\"],[\"totals\",\"M6,6H0L-6,-6H-0Z\"],[\"decreasing\",\"M6,6V-6H0Z\"]]:[[\"increasing\",\"M-6,-6V6H6Z\"],[\"decreasing\",\"M6,6V-6H-6Z\"]]);var o=r.select(this).select(\"g.legendpoints\").selectAll(\"path.legendwaterfall\").data(i);o.enter().append(\"path\").classed(\"legendwaterfall\",!0).attr(\"transform\",w).style(\"stroke-miterlimit\",1),o.exit().remove(),o.each((function(e){var n=r.select(this),a=t[e[0]].marker,i=_(void 0,a.line,5,2);n.attr(\"d\",e[1]).style(\"stroke-width\",i+\"px\").call(s.fill,a.color),i&&n.call(s.stroke,a.line.color)}))})).each((function(e){k(e,this,\"funnel\")})).each((function(e){k(e,this)})).each((function(e){var n=e[0].trace,o=r.select(this).select(\"g.legendpoints\").selectAll(\"path.legendbox\").data(n.visible&&a.traceIs(n,\"box-violin\")?[e]:[]);o.enter().append(\"path\").classed(\"legendbox\",!0).attr(\"d\",\"M6,6H-6V-6H6Z\").attr(\"transform\",w),o.exit().remove(),o.each((function(){var e=r.select(this);if(\"all\"!==n.boxpoints&&\"all\"!==n.points||0!==s.opacity(n.fillcolor)||0!==s.opacity((n.line||{}).color)){var a=_(void 0,n.line,5,2);e.style(\"stroke-width\",a+\"px\").call(s.fill,n.fillcolor),a&&s.stroke(e,n.line.color)}else{var u=i.minExtend(n,{marker:{size:v?12:i.constrain(n.marker.size,2,16),sizeref:1,sizemin:1,sizemode:\"diameter\"}});o.call(l.pointStyle,u,t)}}))})).each((function(e){T(e,this,\"funnelarea\")})).each((function(e){T(e,this,\"pie\")})).each((function(e){var n,a,o=m(e),s=o.showFill,f=o.showLine,d=o.showGradientLine,p=o.showGradientFill,g=o.anyFill,y=o.anyLine,v=e[0],x=v.trace,w=u(x),k=w.colorscale,T=w.reversescale,M=c.hasMarkers(x)||!g?\"M5,0\":y?\"M5,-2\":\"M5,-3\",S=r.select(this),E=S.select(\".legendfill\").selectAll(\"path\").data(s||p?[e]:[]);if(E.enter().append(\"path\").classed(\"js-fill\",!0),E.exit().remove(),E.attr(\"d\",M+\"h\"+b+\"v6h-\"+b+\"z\").call(s?l.fillGroupStyle:function(e){if(e.size()){var n=\"legendfill-\"+x.uid;l.gradient(e,t,n,h(T),k,\"fill\")}}),f||d){var C=_(void 0,x.line,10,5);a=i.minExtend(x,{line:{width:C}}),n=[i.minExtend(v,{trace:a})]}var O=S.select(\".legendlines\").selectAll(\"path\").data(f||d?[n]:[]);O.enter().append(\"path\").classed(\"js-line\",!0),O.exit().remove(),O.attr(\"d\",M+(d?\"l\"+b+\",0.0001\":\"h\"+b)).call(f?l.lineGroupStyle:function(e){if(e.size()){var n=\"legendline-\"+x.uid;l.lineGroupStyle(e),l.gradient(e,t,n,h(T),k,\"stroke\")}})})).each((function(e){var n,a,o=m(e),s=o.anyFill,u=o.anyLine,f=o.showLine,d=o.showMarker,p=e[0],h=p.trace,g=!d&&!u&&!s&&c.hasText(h);function y(e,t,n,r){var a=i.nestedProperty(h,e).get(),o=i.isArrayOrTypedArray(a)&&t?t(a):a;if(v&&o&&void 0!==r&&(o=r),n){if(o<n[0])return n[0];if(o>n[1])return n[1]}return o}function b(e){return p._distinct&&p.index&&e[p.index]?e[p.index]:e[0]}if(d||g||f){var x={},_={};if(d){x.mc=y(\"marker.color\",b),x.mx=y(\"marker.symbol\",b),x.mo=y(\"marker.opacity\",i.mean,[.2,1]),x.mlc=y(\"marker.line.color\",b),x.mlw=y(\"marker.line.width\",i.mean,[0,5],2),_.marker={sizeref:1,sizemin:1,sizemode:\"diameter\"};var k=y(\"marker.size\",i.mean,[2,16],12);x.ms=k,_.marker.size=k}f&&(_.line={width:y(\"line.width\",b,[0,10],5)}),g&&(x.tx=\"Aa\",x.tp=y(\"textposition\",b),x.ts=10,x.tc=y(\"textfont.color\",b),x.tf=y(\"textfont.family\",b)),n=[i.minExtend(p,x)],(a=i.minExtend(h,_)).selectedpoints=null,a.texttemplate=null}var T=r.select(this).select(\"g.legendpoints\"),M=T.selectAll(\"path.scatterpts\").data(d?n:[]);M.enter().insert(\"path\",\":first-child\").classed(\"scatterpts\",!0).attr(\"transform\",w),M.exit().remove(),M.call(l.pointStyle,a,t),d&&(n[0].mrc=3);var S=T.selectAll(\"g.pointtext\").data(g?n:[]);S.enter().append(\"g\").classed(\"pointtext\",!0).append(\"text\").attr(\"transform\",w),S.exit().remove(),S.selectAll(\"text\").call(l.textPointStyle,a,t)})).each((function(e){var t=e[0].trace,n=r.select(this).select(\"g.legendpoints\").selectAll(\"path.legendcandle\").data(t.visible&&\"candlestick\"===t.type?[e,e]:[]);n.enter().append(\"path\").classed(\"legendcandle\",!0).attr(\"d\",(function(e,t){return t?\"M-15,0H-8M-8,6V-6H8Z\":\"M15,0H8M8,-6V6H-8Z\"})).attr(\"transform\",w).style(\"stroke-miterlimit\",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?\"increasing\":\"decreasing\"],o=_(void 0,i.line,5,2);a.style(\"stroke-width\",o+\"px\").call(s.fill,i.fillcolor),o&&s.stroke(a,i.line.color)}))})).each((function(e){var t=e[0].trace,n=r.select(this).select(\"g.legendpoints\").selectAll(\"path.legendohlc\").data(t.visible&&\"ohlc\"===t.type?[e,e]:[]);n.enter().append(\"path\").classed(\"legendohlc\",!0).attr(\"d\",(function(e,t){return t?\"M-15,0H0M-8,-6V0\":\"M15,0H0M8,6V0\"})).attr(\"transform\",w).style(\"stroke-miterlimit\",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?\"increasing\":\"decreasing\"],o=_(void 0,i.line,5,2);a.style(\"fill\",\"none\").call(l.dashLine,i.line.dash,o),o&&s.stroke(a,i.line.color)}))}))}},{\"../../lib\":287,\"../../registry\":378,\"../../traces/pie/helpers\":492,\"../../traces/pie/style_one\":498,\"../../traces/scatter/subtypes\":525,\"../color\":157,\"../colorscale/helpers\":168,\"../drawing\":179,\"./constants\":208,\"@plotly/d3\":20}],216:[function(e,t,n){\"use strict\";e(\"./constants\"),t.exports={editType:\"modebar\",orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],dflt:\"h\",editType:\"modebar\"},bgcolor:{valType:\"color\",editType:\"modebar\"},color:{valType:\"color\",editType:\"modebar\"},activecolor:{valType:\"color\",editType:\"modebar\"},uirevision:{valType:\"any\",editType:\"none\"},add:{valType:\"string\",arrayOk:!0,dflt:\"\",editType:\"modebar\"},remove:{valType:\"string\",arrayOk:!0,dflt:\"\",editType:\"modebar\"}}},{\"./constants\":218}],217:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../plots/plots\"),i=e(\"../../plots/cartesian/axis_ids\"),o=e(\"../../fonts/ploticon\"),l=e(\"../shapes/draw\").eraseActiveShape,s=e(\"../../lib\"),u=s._,c=t.exports={};function f(e,t){var n,a,o=t.currentTarget,l=o.getAttribute(\"data-attr\"),s=o.getAttribute(\"data-val\")||!0,u=e._fullLayout,c={},f=i.list(e,null,!0),d=u._cartesianSpikesEnabled;if(\"zoom\"===l){var p,h=\"in\"===s?.5:2,m=(1+h)/2,g=(1-h)/2;for(a=0;a<f.length;a++)if(!(n=f[a]).fixedrange)if(p=n._name,\"auto\"===s)c[p+\".autorange\"]=!0;else if(\"reset\"===s){if(void 0===n._rangeInitial)c[p+\".autorange\"]=!0;else{var y=n._rangeInitial.slice();c[p+\".range[0]\"]=y[0],c[p+\".range[1]\"]=y[1]}void 0!==n._showSpikeInitial&&(c[p+\".showspikes\"]=n._showSpikeInitial,\"on\"!==d||n._showSpikeInitial||(d=\"off\"))}else{var v=[n.r2l(n.range[0]),n.r2l(n.range[1])],b=[m*v[0]+g*v[1],m*v[1]+g*v[0]];c[p+\".range[0]\"]=n.l2r(b[0]),c[p+\".range[1]\"]=n.l2r(b[1])}}else\"hovermode\"!==l||\"x\"!==s&&\"y\"!==s||(s=u._isHoriz?\"y\":\"x\",o.setAttribute(\"data-val\",s)),c[l]=s;u._cartesianSpikesEnabled=d,r.call(\"_guiRelayout\",e,c)}function d(e,t){for(var n=t.currentTarget,a=n.getAttribute(\"data-attr\"),i=n.getAttribute(\"data-val\")||!0,o=e._fullLayout._subplots.gl3d||[],l={},s=a.split(\".\"),u=0;u<o.length;u++)l[o[u]+\".\"+s[1]]=i;var c=\"pan\"===i?i:\"zoom\";l.dragmode=c,r.call(\"_guiRelayout\",e,l)}function p(e,t){for(var n=t.currentTarget.getAttribute(\"data-attr\"),a=\"resetLastSave\"===n,i=\"resetDefault\"===n,o=e._fullLayout,l=o._subplots.gl3d||[],s={},u=0;u<l.length;u++){var c,f=l[u],d=f+\".camera\",p=f+\".aspectratio\",h=f+\".aspectmode\",m=o[f]._scene;a?(s[d+\".up\"]=m.viewInitial.up,s[d+\".eye\"]=m.viewInitial.eye,s[d+\".center\"]=m.viewInitial.center,c=!0):i&&(s[d+\".up\"]=null,s[d+\".eye\"]=null,s[d+\".center\"]=null,c=!0),c&&(s[p+\".x\"]=m.viewInitial.aspectratio.x,s[p+\".y\"]=m.viewInitial.aspectratio.y,s[p+\".z\"]=m.viewInitial.aspectratio.z,s[h]=m.viewInitial.aspectmode)}r.call(\"_guiRelayout\",e,s)}function h(e,t){var n=t.currentTarget,r=n._previousVal,a=e._fullLayout,i=a._subplots.gl3d||[],o=[\"xaxis\",\"yaxis\",\"zaxis\"],l={},s={};if(r)s=r,n._previousVal=null;else{for(var u=0;u<i.length;u++){var c=i[u],f=a[c],d=c+\".hovermode\";l[d]=f.hovermode,s[d]=!1;for(var p=0;p<3;p++){var h=o[p],m=c+\".\"+h+\".showspikes\";s[m]=!1,l[m]=f[h].showspikes}}n._previousVal=l}return s}function m(e,t){for(var n=t.currentTarget,a=n.getAttribute(\"data-attr\"),i=n.getAttribute(\"data-val\")||!0,o=e._fullLayout,l=o._subplots.geo||[],s=0;s<l.length;s++){var u=l[s],c=o[u];if(\"zoom\"===a){var f=c.projection.scale,d=\"in\"===i?2*f:.5*f;r.call(\"_guiRelayout\",e,u+\".projection.scale\",d)}}\"reset\"===a&&b(e,\"geo\")}function g(e){var t=e._fullLayout;return!t.hovermode&&(t._has(\"cartesian\")?t._isHoriz?\"y\":\"x\":\"closest\")}function y(e){var t=g(e);r.call(\"_guiRelayout\",e,\"hovermode\",t)}function v(e,t){for(var n=t.currentTarget.getAttribute(\"data-val\"),a=e._fullLayout,i=a._subplots.mapbox||[],o={},l=0;l<i.length;l++){var s=i[l],u=a[s].zoom,c=\"in\"===n?1.05*u:u/1.05;o[s+\".zoom\"]=c}r.call(\"_guiRelayout\",e,o)}function b(e,t){for(var n=e._fullLayout,a=n._subplots[t]||[],i={},o=0;o<a.length;o++)for(var l=a[o],s=n[l]._subplot.viewInitial,u=Object.keys(s),c=0;c<u.length;c++){var f=u[c];i[l+\".\"+f]=s[f]}r.call(\"_guiRelayout\",e,i)}c.toImage={name:\"toImage\",title:function(e){var t=(e._context.toImageButtonOptions||{}).format||\"png\";return u(e,\"png\"===t?\"Download plot as a png\":\"Download plot\")},icon:o.camera,click:function(e){var t=e._context.toImageButtonOptions,n={format:t.format||\"png\"};s.notifier(u(e,\"Taking snapshot - this may take a few seconds\"),\"long\"),\"svg\"!==n.format&&s.isIE()&&(s.notifier(u(e,\"IE only supports svg. Changing format to svg.\"),\"long\"),n.format=\"svg\"),[\"filename\",\"width\",\"height\",\"scale\"].forEach((function(e){e in t&&(n[e]=t[e])})),r.call(\"downloadImage\",e,n).then((function(t){s.notifier(u(e,\"Snapshot succeeded\")+\" - \"+t,\"long\")})).catch((function(){s.notifier(u(e,\"Sorry, there was a problem downloading your snapshot!\"),\"long\")}))}},c.sendDataToCloud={name:\"sendDataToCloud\",title:function(e){return u(e,\"Edit in Chart Studio\")},icon:o.disk,click:function(e){a.sendDataToCloud(e)}},c.editInChartStudio={name:\"editInChartStudio\",title:function(e){return u(e,\"Edit in Chart Studio\")},icon:o.pencil,click:function(e){a.sendDataToCloud(e)}},c.zoom2d={name:\"zoom2d\",_cat:\"zoom\",title:function(e){return u(e,\"Zoom\")},attr:\"dragmode\",val:\"zoom\",icon:o.zoombox,click:f},c.pan2d={name:\"pan2d\",_cat:\"pan\",title:function(e){return u(e,\"Pan\")},attr:\"dragmode\",val:\"pan\",icon:o.pan,click:f},c.select2d={name:\"select2d\",_cat:\"select\",title:function(e){return u(e,\"Box Select\")},attr:\"dragmode\",val:\"select\",icon:o.selectbox,click:f},c.lasso2d={name:\"lasso2d\",_cat:\"lasso\",title:function(e){return u(e,\"Lasso Select\")},attr:\"dragmode\",val:\"lasso\",icon:o.lasso,click:f},c.drawclosedpath={name:\"drawclosedpath\",title:function(e){return u(e,\"Draw closed freeform\")},attr:\"dragmode\",val:\"drawclosedpath\",icon:o.drawclosedpath,click:f},c.drawopenpath={name:\"drawopenpath\",title:function(e){return u(e,\"Draw open freeform\")},attr:\"dragmode\",val:\"drawopenpath\",icon:o.drawopenpath,click:f},c.drawline={name:\"drawline\",title:function(e){return u(e,\"Draw line\")},attr:\"dragmode\",val:\"drawline\",icon:o.drawline,click:f},c.drawrect={name:\"drawrect\",title:function(e){return u(e,\"Draw rectangle\")},attr:\"dragmode\",val:\"drawrect\",icon:o.drawrect,click:f},c.drawcircle={name:\"drawcircle\",title:function(e){return u(e,\"Draw circle\")},attr:\"dragmode\",val:\"drawcircle\",icon:o.drawcircle,click:f},c.eraseshape={name:\"eraseshape\",title:function(e){return u(e,\"Erase active shape\")},icon:o.eraseshape,click:l},c.zoomIn2d={name:\"zoomIn2d\",_cat:\"zoomin\",title:function(e){return u(e,\"Zoom in\")},attr:\"zoom\",val:\"in\",icon:o.zoom_plus,click:f},c.zoomOut2d={name:\"zoomOut2d\",_cat:\"zoomout\",title:function(e){return u(e,\"Zoom out\")},attr:\"zoom\",val:\"out\",icon:o.zoom_minus,click:f},c.autoScale2d={name:\"autoScale2d\",_cat:\"autoscale\",title:function(e){return u(e,\"Autoscale\")},attr:\"zoom\",val:\"auto\",icon:o.autoscale,click:f},c.resetScale2d={name:\"resetScale2d\",_cat:\"resetscale\",title:function(e){return u(e,\"Reset axes\")},attr:\"zoom\",val:\"reset\",icon:o.home,click:f},c.hoverClosestCartesian={name:\"hoverClosestCartesian\",_cat:\"hoverclosest\",title:function(e){return u(e,\"Show closest data on hover\")},attr:\"hovermode\",val:\"closest\",icon:o.tooltip_basic,gravity:\"ne\",click:f},c.hoverCompareCartesian={name:\"hoverCompareCartesian\",_cat:\"hoverCompare\",title:function(e){return u(e,\"Compare data on hover\")},attr:\"hovermode\",val:function(e){return e._fullLayout._isHoriz?\"y\":\"x\"},icon:o.tooltip_compare,gravity:\"ne\",click:f},c.zoom3d={name:\"zoom3d\",_cat:\"zoom\",title:function(e){return u(e,\"Zoom\")},attr:\"scene.dragmode\",val:\"zoom\",icon:o.zoombox,click:d},c.pan3d={name:\"pan3d\",_cat:\"pan\",title:function(e){return u(e,\"Pan\")},attr:\"scene.dragmode\",val:\"pan\",icon:o.pan,click:d},c.orbitRotation={name:\"orbitRotation\",title:function(e){return u(e,\"Orbital rotation\")},attr:\"scene.dragmode\",val:\"orbit\",icon:o[\"3d_rotate\"],click:d},c.tableRotation={name:\"tableRotation\",title:function(e){return u(e,\"Turntable rotation\")},attr:\"scene.dragmode\",val:\"turntable\",icon:o[\"z-axis\"],click:d},c.resetCameraDefault3d={name:\"resetCameraDefault3d\",_cat:\"resetCameraDefault\",title:function(e){return u(e,\"Reset camera to default\")},attr:\"resetDefault\",icon:o.home,click:p},c.resetCameraLastSave3d={name:\"resetCameraLastSave3d\",_cat:\"resetCameraLastSave\",title:function(e){return u(e,\"Reset camera to last save\")},attr:\"resetLastSave\",icon:o.movie,click:p},c.hoverClosest3d={name:\"hoverClosest3d\",_cat:\"hoverclosest\",title:function(e){return u(e,\"Toggle show closest data on hover\")},attr:\"hovermode\",val:null,toggle:!0,icon:o.tooltip_basic,gravity:\"ne\",click:function(e,t){var n=h(e,t);r.call(\"_guiRelayout\",e,n)}},c.zoomInGeo={name:\"zoomInGeo\",_cat:\"zoomin\",title:function(e){return u(e,\"Zoom in\")},attr:\"zoom\",val:\"in\",icon:o.zoom_plus,click:m},c.zoomOutGeo={name:\"zoomOutGeo\",_cat:\"zoomout\",title:function(e){return u(e,\"Zoom out\")},attr:\"zoom\",val:\"out\",icon:o.zoom_minus,click:m},c.resetGeo={name:\"resetGeo\",_cat:\"reset\",title:function(e){return u(e,\"Reset\")},attr:\"reset\",val:null,icon:o.autoscale,click:m},c.hoverClosestGeo={name:\"hoverClosestGeo\",_cat:\"hoverclosest\",title:function(e){return u(e,\"Toggle show closest data on hover\")},attr:\"hovermode\",val:null,toggle:!0,icon:o.tooltip_basic,gravity:\"ne\",click:y},c.hoverClosestGl2d={name:\"hoverClosestGl2d\",_cat:\"hoverclosest\",title:function(e){return u(e,\"Toggle show closest data on hover\")},attr:\"hovermode\",val:null,toggle:!0,icon:o.tooltip_basic,gravity:\"ne\",click:y},c.hoverClosestPie={name:\"hoverClosestPie\",_cat:\"hoverclosest\",title:function(e){return u(e,\"Toggle show closest data on hover\")},attr:\"hovermode\",val:\"closest\",icon:o.tooltip_basic,gravity:\"ne\",click:y},c.resetViewSankey={name:\"resetSankeyGroup\",title:function(e){return u(e,\"Reset view\")},icon:o.home,click:function(e){for(var t={\"node.groups\":[],\"node.x\":[],\"node.y\":[]},n=0;n<e._fullData.length;n++){var a=e._fullData[n]._viewInitial;t[\"node.groups\"].push(a.node.groups.slice()),t[\"node.x\"].push(a.node.x.slice()),t[\"node.y\"].push(a.node.y.slice())}r.call(\"restyle\",e,t)}},c.toggleHover={name:\"toggleHover\",title:function(e){return u(e,\"Toggle show closest data on hover\")},attr:\"hovermode\",val:null,toggle:!0,icon:o.tooltip_basic,gravity:\"ne\",click:function(e,t){var n=h(e,t);n.hovermode=g(e),r.call(\"_guiRelayout\",e,n)}},c.resetViews={name:\"resetViews\",title:function(e){return u(e,\"Reset views\")},icon:o.home,click:function(e,t){var n=t.currentTarget;n.setAttribute(\"data-attr\",\"zoom\"),n.setAttribute(\"data-val\",\"reset\"),f(e,t),n.setAttribute(\"data-attr\",\"resetLastSave\"),p(e,t),b(e,\"geo\"),b(e,\"mapbox\")}},c.toggleSpikelines={name:\"toggleSpikelines\",title:function(e){return u(e,\"Toggle Spike Lines\")},icon:o.spikeline,attr:\"_cartesianSpikesEnabled\",val:\"on\",click:function(e){var t=e._fullLayout,n=t._cartesianSpikesEnabled;t._cartesianSpikesEnabled=\"on\"===n?\"off\":\"on\",r.call(\"_guiRelayout\",e,function(e){for(var t=\"on\"===e._fullLayout._cartesianSpikesEnabled,n=i.list(e,null,!0),r={},a=0;a<n.length;a++){var o=n[a];r[o._name+\".showspikes\"]=!!t||o._showSpikeInitial}return r}(e))}},c.resetViewMapbox={name:\"resetViewMapbox\",_cat:\"resetView\",title:function(e){return u(e,\"Reset view\")},attr:\"reset\",icon:o.home,click:function(e){b(e,\"mapbox\")}},c.zoomInMapbox={name:\"zoomInMapbox\",_cat:\"zoomin\",title:function(e){return u(e,\"Zoom in\")},attr:\"zoom\",val:\"in\",icon:o.zoom_plus,click:v},c.zoomOutMapbox={name:\"zoomOutMapbox\",_cat:\"zoomout\",title:function(e){return u(e,\"Zoom out\")},attr:\"zoom\",val:\"out\",icon:o.zoom_minus,click:v}},{\"../../fonts/ploticon\":270,\"../../lib\":287,\"../../plots/cartesian/axis_ids\":338,\"../../plots/plots\":371,\"../../registry\":378,\"../shapes/draw\":241}],218:[function(e,t,n){\"use strict\";var r=e(\"./buttons\"),a=Object.keys(r),i=[\"drawline\",\"drawopenpath\",\"drawclosedpath\",\"drawcircle\",\"drawrect\",\"eraseshape\"],o=[\"v1hovermode\",\"hoverclosest\",\"hovercompare\",\"togglehover\",\"togglespikelines\"].concat(i),l=[];a.forEach((function(e){!function(e){if(-1===o.indexOf(e._cat||e.name)){var t=e.name,n=(e._cat||e.name).toLowerCase();-1===l.indexOf(t)&&l.push(t),-1===l.indexOf(n)&&l.push(n)}}(r[e])})),l.sort(),t.exports={DRAW_MODES:i,backButtons:o,foreButtons:l}},{\"./buttons\":217}],219:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../color\"),i=e(\"../../plot_api/plot_template\"),o=e(\"./attributes\");t.exports=function(e,t){var n=e.modebar||{},l=i.newContainer(t,\"modebar\");function s(e,t){return r.coerce(n,l,o,e,t)}s(\"orientation\"),s(\"bgcolor\",a.addOpacity(t.paper_bgcolor,.5));var u=a.contrast(a.rgb(t.modebar.bgcolor));s(\"color\",a.addOpacity(u,.3)),s(\"activecolor\",a.addOpacity(u,.7)),s(\"uirevision\",t.uirevision),s(\"add\"),s(\"remove\")}},{\"../../lib\":287,\"../../plot_api/plot_template\":323,\"../color\":157,\"./attributes\":216}],220:[function(e,t,n){\"use strict\";t.exports={moduleType:\"component\",name:\"modebar\",layoutAttributes:e(\"./attributes\"),supplyLayoutDefaults:e(\"./defaults\"),manage:e(\"./manage\")}},{\"./attributes\":216,\"./defaults\":219,\"./manage\":221}],221:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axis_ids\"),a=e(\"../../traces/scatter/subtypes\"),i=e(\"../../registry\"),o=e(\"../fx/helpers\").isUnifiedHover,l=e(\"./modebar\"),s=e(\"./buttons\"),u=e(\"./constants\").DRAW_MODES;t.exports=function(e){var t=e._fullLayout,n=e._context,c=t._modeBar;if(n.displayModeBar||n.watermark){if(!Array.isArray(n.modeBarButtonsToRemove))throw new Error([\"*modeBarButtonsToRemove* configuration options\",\"must be an array.\"].join(\" \"));if(!Array.isArray(n.modeBarButtonsToAdd))throw new Error([\"*modeBarButtonsToAdd* configuration options\",\"must be an array.\"].join(\" \"));var f,d=n.modeBarButtons;f=Array.isArray(d)&&d.length?function(e){for(var t=0;t<e.length;t++)for(var n=e[t],r=0;r<n.length;r++){var a=n[r];if(\"string\"==typeof a){if(void 0===s[a])throw new Error([\"*modeBarButtons* configuration options\",\"invalid button name\"].join(\" \"));e[t][r]=s[a]}}return e}(d):!n.displayModeBar&&n.watermark?[]:function(e){var t=e._fullLayout,n=e._fullData,l=e._context;function c(e,t){if(\"string\"==typeof t){if(t.toLowerCase()===e.toLowerCase())return!0}else{var n=t.name,r=t._cat||t.name;if(n===e||r===e.toLowerCase())return!0}return!1}var f=t.modebar.add;\"string\"==typeof f&&(f=[f]);var d=t.modebar.remove;\"string\"==typeof d&&(d=[d]);var p=l.modeBarButtonsToAdd.concat(f.filter((function(e){for(var t=0;t<l.modeBarButtonsToRemove.length;t++)if(c(e,l.modeBarButtonsToRemove[t]))return!1;return!0}))),h=l.modeBarButtonsToRemove.concat(d.filter((function(e){for(var t=0;t<l.modeBarButtonsToAdd.length;t++)if(c(e,l.modeBarButtonsToAdd[t]))return!1;return!0}))),m=t._has(\"cartesian\"),g=t._has(\"gl3d\"),y=t._has(\"geo\"),v=t._has(\"pie\"),b=t._has(\"funnelarea\"),x=t._has(\"gl2d\"),w=t._has(\"ternary\"),_=t._has(\"mapbox\"),k=t._has(\"polar\"),T=t._has(\"smith\"),M=t._has(\"sankey\"),S=function(e){for(var t=r.list({_fullLayout:e},null,!0),n=0;n<t.length;n++)if(!t[n].fixedrange)return!1;return!0}(t),E=o(t.hovermode),C=[];function O(e){if(e.length){for(var t=[],n=0;n<e.length;n++){for(var r=e[n],a=s[r],i=a.name.toLowerCase(),o=(a._cat||a.name).toLowerCase(),l=!1,u=0;u<h.length;u++){var c=h[u].toLowerCase();if(c===i||c===o){l=!0;break}}l||t.push(s[r])}C.push(t)}}var A=[\"toImage\"];l.showEditInChartStudio?A.push(\"editInChartStudio\"):l.showSendToCloud&&A.push(\"sendDataToCloud\"),O(A);var D=[],P=[],R=[],L=[];(m||x||v||b||w)+y+g+_+k+T>1?(P=[\"toggleHover\"],R=[\"resetViews\"]):y?(D=[\"zoomInGeo\",\"zoomOutGeo\"],P=[\"hoverClosestGeo\"],R=[\"resetGeo\"]):g?(P=[\"hoverClosest3d\"],R=[\"resetCameraDefault3d\",\"resetCameraLastSave3d\"]):_?(D=[\"zoomInMapbox\",\"zoomOutMapbox\"],P=[\"toggleHover\"],R=[\"resetViewMapbox\"]):x?P=[\"hoverClosestGl2d\"]:v?P=[\"hoverClosestPie\"]:M?(P=[\"hoverClosestCartesian\",\"hoverCompareCartesian\"],R=[\"resetViewSankey\"]):P=[\"toggleHover\"],m&&(P=[\"toggleSpikelines\",\"hoverClosestCartesian\",\"hoverCompareCartesian\"]),(function(e){for(var t=0;t<e.length;t++)if(!i.traceIs(e[t],\"noHover\"))return!1;return!0}(n)||E)&&(P=[]),!m&&!x||S||(D=[\"zoomIn2d\",\"zoomOut2d\",\"autoScale2d\"],\"resetViews\"!==R[0]&&(R=[\"resetScale2d\"])),g?L=[\"zoom3d\",\"pan3d\",\"orbitRotation\",\"tableRotation\"]:(m||x)&&!S||w?L=[\"zoom2d\",\"pan2d\"]:_||y?L=[\"pan2d\"]:k&&(L=[\"zoom2d\"]),function(e){for(var t=!1,n=0;n<e.length&&!t;n++){var r=e[n];r._module&&r._module.selectPoints&&(i.traceIs(r,\"scatter-like\")?(a.hasMarkers(r)||a.hasText(r))&&(t=!0):i.traceIs(r,\"box-violin\")&&\"all\"!==r.boxpoints&&\"all\"!==r.points||(t=!0))}return t}(n)&&L.push(\"select2d\",\"lasso2d\");var I=[],j=function(e){-1===I.indexOf(e)&&-1!==P.indexOf(e)&&I.push(e)};if(Array.isArray(p)){for(var N=[],z=0;z<p.length;z++){var F=p[z];\"string\"==typeof F?(F=F.toLowerCase(),-1!==u.indexOf(F)?(t._has(\"mapbox\")||t._has(\"cartesian\"))&&L.push(F):\"togglespikelines\"===F?j(\"toggleSpikelines\"):\"togglehover\"===F?j(\"toggleHover\"):\"hovercompare\"===F?j(\"hoverCompareCartesian\"):\"hoverclosest\"===F?(j(\"hoverClosestCartesian\"),j(\"hoverClosestGeo\"),j(\"hoverClosest3d\"),j(\"hoverClosestGl2d\"),j(\"hoverClosestPie\")):\"v1hovermode\"===F&&(j(\"toggleHover\"),j(\"hoverClosestCartesian\"),j(\"hoverCompareCartesian\"),j(\"hoverClosestGeo\"),j(\"hoverClosest3d\"),j(\"hoverClosestGl2d\"),j(\"hoverClosestPie\"))):N.push(F)}p=N}return O(L),O(D.concat(R)),O(I),function(e,t){if(t.length)if(Array.isArray(t[0]))for(var n=0;n<t.length;n++)e.push(t[n]);else e.push(t);return e}(C,p)}(e),c?c.update(e,f):t._modeBar=l(e,f)}else c&&(c.destroy(),delete t._modeBar)}},{\"../../plots/cartesian/axis_ids\":338,\"../../registry\":378,\"../../traces/scatter/subtypes\":525,\"../fx/helpers\":193,\"./buttons\":217,\"./constants\":218,\"./modebar\":222}],222:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"fast-isnumeric\"),i=e(\"../../lib\"),o=e(\"../../fonts/ploticon\"),l=e(\"../../version\").version,s=new DOMParser;function u(e){this.container=e.container,this.element=document.createElement(\"div\"),this.update(e.graphInfo,e.buttons),this.container.appendChild(this.element)}var c=u.prototype;c.update=function(e,t){this.graphInfo=e;var n=this.graphInfo._context,r=this.graphInfo._fullLayout,a=\"modebar-\"+r._uid;this.element.setAttribute(\"id\",a),this._uid=a,this.element.className=\"modebar\",\"hover\"===n.displayModeBar&&(this.element.className+=\" modebar--hover ease-bg\"),\"v\"===r.modebar.orientation&&(this.element.className+=\" vertical\",t=t.reverse());var o=r.modebar,l=\"hover\"===n.displayModeBar?\".js-plotly-plot .plotly:hover \":\"\";i.deleteRelatedStyleRule(a),i.addRelatedStyleRule(a,l+\"#\"+a+\" .modebar-group\",\"background-color: \"+o.bgcolor),i.addRelatedStyleRule(a,\"#\"+a+\" .modebar-btn .icon path\",\"fill: \"+o.color),i.addRelatedStyleRule(a,\"#\"+a+\" .modebar-btn:hover .icon path\",\"fill: \"+o.activecolor),i.addRelatedStyleRule(a,\"#\"+a+\" .modebar-btn.active .icon path\",\"fill: \"+o.activecolor);var s=!this.hasButtons(t),u=this.hasLogo!==n.displaylogo,c=this.locale!==n.locale;if(this.locale=n.locale,(s||u||c)&&(this.removeAllButtons(),this.updateButtons(t),n.watermark||n.displaylogo)){var f=this.getLogo();n.watermark&&(f.className=f.className+\" watermark\"),\"v\"===r.modebar.orientation?this.element.insertBefore(f,this.element.childNodes[0]):this.element.appendChild(f),this.hasLogo=!0}this.updateActiveButton()},c.updateButtons=function(e){var t=this;this.buttons=e,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach((function(e){var n=t.createGroup();e.forEach((function(e){var r=e.name;if(!r)throw new Error(\"must provide button 'name' in button config\");if(-1!==t.buttonsNames.indexOf(r))throw new Error(\"button name '\"+r+\"' is taken\");t.buttonsNames.push(r);var a=t.createButton(e);t.buttonElements.push(a),n.appendChild(a)})),t.element.appendChild(n)}))},c.createGroup=function(){var e=document.createElement(\"div\");return e.className=\"modebar-group\",e},c.createButton=function(e){var t=this,n=document.createElement(\"a\");n.setAttribute(\"rel\",\"tooltip\"),n.className=\"modebar-btn\";var a=e.title;void 0===a?a=e.name:\"function\"==typeof a&&(a=a(this.graphInfo)),(a||0===a)&&n.setAttribute(\"data-title\",a),void 0!==e.attr&&n.setAttribute(\"data-attr\",e.attr);var i=e.val;if(void 0!==i&&(\"function\"==typeof i&&(i=i(this.graphInfo)),n.setAttribute(\"data-val\",i)),\"function\"!=typeof e.click)throw new Error(\"must provide button 'click' function in button config\");n.addEventListener(\"click\",(function(n){e.click(t.graphInfo,n),t.updateActiveButton(n.currentTarget)})),n.setAttribute(\"data-toggle\",e.toggle||!1),e.toggle&&r.select(n).classed(\"active\",!0);var l=e.icon;return\"function\"==typeof l?n.appendChild(l()):n.appendChild(this.createIcon(l||o.question)),n.setAttribute(\"data-gravity\",e.gravity||\"n\"),n},c.createIcon=function(e){var t,n=a(e.height)?Number(e.height):e.ascent-e.descent,r=\"http://www.w3.org/2000/svg\";if(e.path){(t=document.createElementNS(r,\"svg\")).setAttribute(\"viewBox\",[0,0,e.width,n].join(\" \")),t.setAttribute(\"class\",\"icon\");var i=document.createElementNS(r,\"path\");i.setAttribute(\"d\",e.path),e.transform?i.setAttribute(\"transform\",e.transform):void 0!==e.ascent&&i.setAttribute(\"transform\",\"matrix(1 0 0 -1 0 \"+e.ascent+\")\"),t.appendChild(i)}return e.svg&&(t=s.parseFromString(e.svg,\"application/xml\").childNodes[0]),t.setAttribute(\"height\",\"1em\"),t.setAttribute(\"width\",\"1em\"),t},c.updateActiveButton=function(e){var t=this.graphInfo._fullLayout,n=void 0!==e?e.getAttribute(\"data-attr\"):null;this.buttonElements.forEach((function(e){var a=e.getAttribute(\"data-val\")||!0,o=e.getAttribute(\"data-attr\"),l=\"true\"===e.getAttribute(\"data-toggle\"),s=r.select(e);if(l)o===n&&s.classed(\"active\",!s.classed(\"active\"));else{var u=null===o?o:i.nestedProperty(t,o).get();s.classed(\"active\",u===a)}}))},c.hasButtons=function(e){var t=this.buttons;if(!t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n){if(e[n].length!==t[n].length)return!1;for(var r=0;r<e[n].length;r++)if(e[n][r].name!==t[n][r].name)return!1}return!0},c.getLogo=function(){var e=this.createGroup(),t=document.createElement(\"a\");return t.href=\"https://plotly.com/\",t.target=\"_blank\",t.setAttribute(\"data-title\",i._(this.graphInfo,\"Produced with Plotly.js\")+\" (v\"+l+\")\"),t.className=\"modebar-btn plotlyjsicon modebar-btn--logo\",t.appendChild(this.createIcon(o.newplotlylogo)),e.appendChild(t),e},c.removeAllButtons=function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.hasLogo=!1},c.destroy=function(){i.removeElement(this.container.querySelector(\".modebar\")),i.deleteRelatedStyleRule(this._uid)},t.exports=function(e,t){var n=e._fullLayout,a=new u({graphInfo:e,container:n._modebardiv.node(),buttons:t});return n._privateplot&&r.select(a.element).append(\"span\").classed(\"badge-private float--left\",!0).text(\"PRIVATE\"),a}},{\"../../fonts/ploticon\":270,\"../../lib\":287,\"../../version\":552,\"@plotly/d3\":20,\"fast-isnumeric\":33}],223:[function(e,t,n){\"use strict\";var r=e(\"../../plots/font_attributes\"),a=e(\"../color/attributes\"),i=(0,e(\"../../plot_api/plot_template\").templatedArray)(\"button\",{visible:{valType:\"boolean\",dflt:!0,editType:\"plot\"},step:{valType:\"enumerated\",values:[\"month\",\"year\",\"day\",\"hour\",\"minute\",\"second\",\"all\"],dflt:\"month\",editType:\"plot\"},stepmode:{valType:\"enumerated\",values:[\"backward\",\"todate\"],dflt:\"backward\",editType:\"plot\"},count:{valType:\"number\",min:0,dflt:1,editType:\"plot\"},label:{valType:\"string\",editType:\"plot\"},editType:\"plot\"});t.exports={visible:{valType:\"boolean\",editType:\"plot\"},buttons:i,x:{valType:\"number\",min:-2,max:3,editType:\"plot\"},xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"left\",editType:\"plot\"},y:{valType:\"number\",min:-2,max:3,editType:\"plot\"},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],dflt:\"bottom\",editType:\"plot\"},font:r({editType:\"plot\"}),bgcolor:{valType:\"color\",dflt:a.lightLine,editType:\"plot\"},activecolor:{valType:\"color\",editType:\"plot\"},bordercolor:{valType:\"color\",dflt:a.defaultLine,editType:\"plot\"},borderwidth:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},editType:\"plot\"}},{\"../../plot_api/plot_template\":323,\"../../plots/font_attributes\":365,\"../color/attributes\":156}],224:[function(e,t,n){\"use strict\";t.exports={yPad:.02,minButtonWidth:30,rx:3,ry:3,lightAmount:25,darkAmount:10}},{}],225:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../color\"),i=e(\"../../plot_api/plot_template\"),o=e(\"../../plots/array_container_defaults\"),l=e(\"./attributes\"),s=e(\"./constants\");function u(e,t,n,a){var i=a.calendar;function o(n,a){return r.coerce(e,t,l.buttons,n,a)}if(o(\"visible\")){var s=o(\"step\");\"all\"!==s&&(!i||\"gregorian\"===i||\"month\"!==s&&\"year\"!==s?o(\"stepmode\"):t.stepmode=\"backward\",o(\"count\")),o(\"label\")}}t.exports=function(e,t,n,c,f){var d=e.rangeselector||{},p=i.newContainer(t,\"rangeselector\");function h(e,t){return r.coerce(d,p,l,e,t)}if(h(\"visible\",o(d,p,{name:\"buttons\",handleItemDefaults:u,calendar:f}).length>0)){var m=function(e,t,n){for(var r=n.filter((function(n){return t[n].anchor===e._id})),a=0,i=0;i<r.length;i++){var o=t[r[i]].domain;o&&(a=Math.max(o[1],a))}return[e.domain[0],a+s.yPad]}(t,n,c);h(\"x\",m[0]),h(\"y\",m[1]),r.noneOrAll(e,t,[\"x\",\"y\"]),h(\"xanchor\"),h(\"yanchor\"),r.coerceFont(h,\"font\",n.font);var g=h(\"bgcolor\");h(\"activecolor\",a.contrast(g,s.lightAmount,s.darkAmount)),h(\"bordercolor\"),h(\"borderwidth\")}}},{\"../../lib\":287,\"../../plot_api/plot_template\":323,\"../../plots/array_container_defaults\":329,\"../color\":157,\"./attributes\":223,\"./constants\":224}],226:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../registry\"),i=e(\"../../plots/plots\"),o=e(\"../color\"),l=e(\"../drawing\"),s=e(\"../../lib\"),u=s.strTranslate,c=e(\"../../lib/svg_text_utils\"),f=e(\"../../plots/cartesian/axis_ids\"),d=e(\"../../constants/alignment\"),p=d.LINE_SPACING,h=d.FROM_TL,m=d.FROM_BR,g=e(\"./constants\"),y=e(\"./get_update_object\");function v(e){return e._id}function b(e,t,n){var r=s.ensureSingle(e,\"rect\",\"selector-rect\",(function(e){e.attr(\"shape-rendering\",\"crispEdges\")}));r.attr({rx:g.rx,ry:g.ry}),r.call(o.stroke,t.bordercolor).call(o.fill,function(e,t){return t._isActive||t._isHovered?e.activecolor:e.bgcolor}(t,n)).style(\"stroke-width\",t.borderwidth+\"px\")}function x(e,t,n,r){s.ensureSingle(e,\"text\",\"selector-text\",(function(e){e.attr(\"text-anchor\",\"middle\")})).call(l.font,t.font).text(function(e,t){return e.label?t?s.templateString(e.label,t):e.label:\"all\"===e.step?\"all\":e.count+e.step.charAt(0)}(n,r._fullLayout._meta)).call((function(e){c.convertToTspans(e,r)}))}t.exports=function(e){var t=e._fullLayout._infolayer.selectAll(\".rangeselector\").data(function(e){for(var t=f.list(e,\"x\",!0),n=[],r=0;r<t.length;r++){var a=t[r];a.rangeselector&&a.rangeselector.visible&&n.push(a)}return n}(e),v);t.enter().append(\"g\").classed(\"rangeselector\",!0),t.exit().remove(),t.style({cursor:\"pointer\",\"pointer-events\":\"all\"}),t.each((function(t){var n=r.select(this),o=t,f=o.rangeselector,d=n.selectAll(\"g.button\").data(s.filterVisible(f.buttons));d.enter().append(\"g\").classed(\"button\",!0),d.exit().remove(),d.each((function(t){var n=r.select(this),i=y(o,t);t._isActive=function(e,t,n){if(\"all\"===t.step)return!0===e.autorange;var r=Object.keys(n);return e.range[0]===n[r[0]]&&e.range[1]===n[r[1]]}(o,t,i),n.call(b,f,t),n.call(x,f,t,e),n.on(\"click\",(function(){e._dragged||a.call(\"_guiRelayout\",e,i)})),n.on(\"mouseover\",(function(){t._isHovered=!0,n.call(b,f,t)})),n.on(\"mouseout\",(function(){t._isHovered=!1,n.call(b,f,t)}))})),function(e,t,n,a,o){var f=0,d=0,y=n.borderwidth;t.each((function(){var e=r.select(this).select(\".selector-text\"),t=n.font.size*p,a=Math.max(t*c.lineCount(e),16)+3;d=Math.max(d,a)})),t.each((function(){var e=r.select(this),t=e.select(\".selector-rect\"),a=e.select(\".selector-text\"),i=a.node()&&l.bBox(a.node()).width,o=n.font.size*p,s=c.lineCount(a),h=Math.max(i+10,g.minButtonWidth);e.attr(\"transform\",u(y+f,y)),t.attr({x:0,y:0,width:h,height:d}),c.positionText(a,h/2,d/2-(s-1)*o/2+3),f+=h+5}));var v=e._fullLayout._size,b=v.l+v.w*n.x,x=v.t+v.h*(1-n.y),w=\"left\";s.isRightAnchor(n)&&(b-=f,w=\"right\"),s.isCenterAnchor(n)&&(b-=f/2,w=\"center\");var _=\"top\";s.isBottomAnchor(n)&&(x-=d,_=\"bottom\"),s.isMiddleAnchor(n)&&(x-=d/2,_=\"middle\"),f=Math.ceil(f),d=Math.ceil(d),b=Math.round(b),x=Math.round(x),i.autoMargin(e,a+\"-range-selector\",{x:n.x,y:n.y,l:f*h[w],r:f*m[w],b:d*m[_],t:d*h[_]}),o.attr(\"transform\",u(b,x))}(e,d,f,o._name,n)}))}},{\"../../constants/alignment\":262,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../plots/cartesian/axis_ids\":338,\"../../plots/plots\":371,\"../../registry\":378,\"../color\":157,\"../drawing\":179,\"./constants\":224,\"./get_update_object\":227,\"@plotly/d3\":20}],227:[function(e,t,n){\"use strict\";var r=e(\"d3-time\"),a=e(\"../../lib\").titleCase;t.exports=function(e,t){var n=e._name,i={};if(\"all\"===t.step)i[n+\".autorange\"]=!0;else{var o=function(e,t){var n,i=e.range,o=new Date(e.r2l(i[1])),l=t.step,s=r[\"utc\"+a(l)],u=t.count;switch(t.stepmode){case\"backward\":n=e.l2r(+s.offset(o,-u));break;case\"todate\":var c=s.offset(o,-u);n=e.l2r(+s.ceil(c))}return[n,i[1]]}(e,t);i[n+\".range[0]\"]=o[0],i[n+\".range[1]\"]=o[1]}return i}},{\"../../lib\":287,\"d3-time\":32}],228:[function(e,t,n){\"use strict\";t.exports={moduleType:\"component\",name:\"rangeselector\",schema:{subplots:{xaxis:{rangeselector:e(\"./attributes\")}}},layoutAttributes:e(\"./attributes\"),handleDefaults:e(\"./defaults\"),draw:e(\"./draw\")}},{\"./attributes\":223,\"./defaults\":225,\"./draw\":226}],229:[function(e,t,n){\"use strict\";var r=e(\"../color/attributes\");t.exports={bgcolor:{valType:\"color\",dflt:r.background,editType:\"plot\"},bordercolor:{valType:\"color\",dflt:r.defaultLine,editType:\"plot\"},borderwidth:{valType:\"integer\",dflt:0,min:0,editType:\"plot\"},autorange:{valType:\"boolean\",dflt:!0,editType:\"calc\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"calc\",impliedEdits:{\"^autorange\":!1}},{valType:\"any\",editType:\"calc\",impliedEdits:{\"^autorange\":!1}}],editType:\"calc\",impliedEdits:{autorange:!1}},thickness:{valType:\"number\",dflt:.15,min:0,max:1,editType:\"plot\"},visible:{valType:\"boolean\",dflt:!0,editType:\"calc\"},editType:\"calc\"}},{\"../color/attributes\":156}],230:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axis_ids\").list,a=e(\"../../plots/cartesian/autorange\").getAutoRange,i=e(\"./constants\");t.exports=function(e){for(var t=r(e,\"x\",!0),n=0;n<t.length;n++){var o=t[n],l=o[i.name];l&&l.visible&&l.autorange&&(l._input.autorange=!0,l._input.range=l.range=a(e,o))}}},{\"../../plots/cartesian/autorange\":333,\"../../plots/cartesian/axis_ids\":338,\"./constants\":231}],231:[function(e,t,n){\"use strict\";t.exports={name:\"rangeslider\",containerClassName:\"rangeslider-container\",bgClassName:\"rangeslider-bg\",rangePlotClassName:\"rangeslider-rangeplot\",maskMinClassName:\"rangeslider-mask-min\",maskMaxClassName:\"rangeslider-mask-max\",slideBoxClassName:\"rangeslider-slidebox\",grabberMinClassName:\"rangeslider-grabber-min\",grabAreaMinClassName:\"rangeslider-grabarea-min\",handleMinClassName:\"rangeslider-handle-min\",grabberMaxClassName:\"rangeslider-grabber-max\",grabAreaMaxClassName:\"rangeslider-grabarea-max\",handleMaxClassName:\"rangeslider-handle-max\",maskMinOppAxisClassName:\"rangeslider-mask-min-opp-axis\",maskMaxOppAxisClassName:\"rangeslider-mask-max-opp-axis\",maskColor:\"rgba(0,0,0,0.4)\",maskOppAxisColor:\"rgba(0,0,0,0.2)\",slideBoxFill:\"transparent\",slideBoxCursor:\"ew-resize\",grabAreaFill:\"transparent\",grabAreaCursor:\"col-resize\",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}},{}],232:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plot_api/plot_template\"),i=e(\"../../plots/cartesian/axis_ids\"),o=e(\"./attributes\"),l=e(\"./oppaxis_attributes\");t.exports=function(e,t,n){var s=e[n],u=t[n];if(s.rangeslider||t._requestRangeslider[u._id]){r.isPlainObject(s.rangeslider)||(s.rangeslider={});var c,f,d=s.rangeslider,p=a.newContainer(u,\"rangeslider\");if(w(\"visible\")){w(\"bgcolor\",t.plot_bgcolor),w(\"bordercolor\"),w(\"borderwidth\"),w(\"thickness\"),w(\"autorange\",!u.isValidRange(d.range)),w(\"range\");var h=t._subplots;if(h)for(var m=h.cartesian.filter((function(e){return e.substr(0,e.indexOf(\"y\"))===i.name2id(n)})).map((function(e){return e.substr(e.indexOf(\"y\"),e.length)})),g=r.simpleMap(m,i.id2name),y=0;y<g.length;y++){var v=g[y];c=d[v]||{},f=a.newContainer(p,v,\"yaxis\");var b,x=t[v];c.range&&x.isValidRange(c.range)&&(b=\"fixed\"),\"match\"!==_(\"rangemode\",b)&&_(\"range\",x.range.slice())}p._input=d}}function w(e,t){return r.coerce(d,p,o,e,t)}function _(e,t){return r.coerce(c,f,l,e,t)}}},{\"../../lib\":287,\"../../plot_api/plot_template\":323,\"../../plots/cartesian/axis_ids\":338,\"./attributes\":229,\"./oppaxis_attributes\":236}],233:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../registry\"),i=e(\"../../plots/plots\"),o=e(\"../../lib\"),l=o.strTranslate,s=e(\"../drawing\"),u=e(\"../color\"),c=e(\"../titles\"),f=e(\"../../plots/cartesian\"),d=e(\"../../plots/cartesian/axis_ids\"),p=e(\"../dragelement\"),h=e(\"../../lib/setcursor\"),m=e(\"./constants\");function g(e,t,n,r){var a=o.ensureSingle(e,\"rect\",m.bgClassName,(function(e){e.attr({x:0,y:0,\"shape-rendering\":\"crispEdges\"})})),i=r.borderwidth%2==0?r.borderwidth:r.borderwidth-1,u=-r._offsetShift,c=s.crispRound(t,r.borderwidth);a.attr({width:r._width+i,height:r._height+i,transform:l(u,u),fill:r.bgcolor,stroke:r.bordercolor,\"stroke-width\":c})}function y(e,t,n,r){var a=t._fullLayout;o.ensureSingleById(a._topdefs,\"clipPath\",r._clipId,(function(e){e.append(\"rect\").attr({x:0,y:0})})).select(\"rect\").attr({width:r._width,height:r._height})}function v(e,t,n,a){var l,u=t.calcdata,c=e.selectAll(\"g.\"+m.rangePlotClassName).data(n._subplotsWith,o.identity);c.enter().append(\"g\").attr(\"class\",(function(e){return m.rangePlotClassName+\" \"+e})).call(s.setClipUrl,a._clipId,t),c.order(),c.exit().remove(),c.each((function(e,o){var s=r.select(this),c=0===o,p=d.getFromId(t,e,\"y\"),h=p._name,m=a[h],g={data:[],layout:{xaxis:{type:n.type,domain:[0,1],range:a.range.slice(),calendar:n.calendar},width:a._width,height:a._height,margin:{t:0,b:0,l:0,r:0}},_context:t._context};n.rangebreaks&&(g.layout.xaxis.rangebreaks=n.rangebreaks),g.layout[h]={type:p.type,domain:[0,1],range:\"match\"!==m.rangemode?m.range.slice():p.range.slice(),calendar:p.calendar},p.rangebreaks&&(g.layout[h].rangebreaks=p.rangebreaks),i.supplyDefaults(g);var y=g._fullLayout.xaxis,v=g._fullLayout[h];y.clearCalc(),y.setScale(),v.clearCalc(),v.setScale();var b={id:e,plotgroup:s,xaxis:y,yaxis:v,isRangePlot:!0};c?l=b:(b.mainplot=\"xy\",b.mainplotinfo=l),f.rangePlot(t,b,function(e,t){for(var n=[],r=0;r<e.length;r++){var a=e[r],i=a[0].trace;i.xaxis+i.yaxis===t&&n.push(a)}return n}(u,e))}))}function b(e,t,n,r,a){o.ensureSingle(e,\"rect\",m.maskMinClassName,(function(e){e.attr({x:0,y:0,\"shape-rendering\":\"crispEdges\"})})).attr(\"height\",r._height).call(u.fill,m.maskColor),o.ensureSingle(e,\"rect\",m.maskMaxClassName,(function(e){e.attr({y:0,\"shape-rendering\":\"crispEdges\"})})).attr(\"height\",r._height).call(u.fill,m.maskColor),\"match\"!==a.rangemode&&(o.ensureSingle(e,\"rect\",m.maskMinOppAxisClassName,(function(e){e.attr({y:0,\"shape-rendering\":\"crispEdges\"})})).attr(\"width\",r._width).call(u.fill,m.maskOppAxisColor),o.ensureSingle(e,\"rect\",m.maskMaxOppAxisClassName,(function(e){e.attr({y:0,\"shape-rendering\":\"crispEdges\"})})).attr(\"width\",r._width).style(\"border-top\",m.maskOppBorder).call(u.fill,m.maskOppAxisColor))}function x(e,t,n,r){t._context.staticPlot||o.ensureSingle(e,\"rect\",m.slideBoxClassName,(function(e){e.attr({y:0,cursor:m.slideBoxCursor,\"shape-rendering\":\"crispEdges\"})})).attr({height:r._height,fill:m.slideBoxFill})}function w(e,t,n,r){var a=o.ensureSingle(e,\"g\",m.grabberMinClassName),i=o.ensureSingle(e,\"g\",m.grabberMaxClassName),l={x:0,width:m.handleWidth,rx:m.handleRadius,fill:u.background,stroke:u.defaultLine,\"stroke-width\":m.handleStrokeWidth,\"shape-rendering\":\"crispEdges\"},s={y:Math.round(r._height/4),height:Math.round(r._height/2)};o.ensureSingle(a,\"rect\",m.handleMinClassName,(function(e){e.attr(l)})).attr(s),o.ensureSingle(i,\"rect\",m.handleMaxClassName,(function(e){e.attr(l)})).attr(s);var c={width:m.grabAreaWidth,x:0,y:0,fill:m.grabAreaFill,cursor:t._context.staticPlot?void 0:m.grabAreaCursor};o.ensureSingle(a,\"rect\",m.grabAreaMinClassName,(function(e){e.attr(c)})).attr(\"height\",r._height),o.ensureSingle(i,\"rect\",m.grabAreaMaxClassName,(function(e){e.attr(c)})).attr(\"height\",r._height)}t.exports=function(e){for(var t=e._fullLayout,n=t._rangeSliderData,i=0;i<n.length;i++){var s=n[i][m.name];s._clipId=s._id+\"-\"+t._uid}var u=t._infolayer.selectAll(\"g.\"+m.containerClassName).data(n,(function(e){return e._name}));u.exit().each((function(e){var n=e[m.name];t._topdefs.select(\"#\"+n._clipId).remove()})).remove(),0!==n.length&&(u.enter().append(\"g\").classed(m.containerClassName,!0).attr(\"pointer-events\",\"all\"),u.each((function(n){var i=r.select(this),s=n[m.name],u=t[d.id2name(n.anchor)],f=s[d.id2name(n.anchor)];if(s.range){var _,k=o.simpleMap(s.range,n.r2l),T=o.simpleMap(n.range,n.r2l);_=T[0]<T[1]?[Math.min(k[0],T[0]),Math.max(k[1],T[1])]:[Math.max(k[0],T[0]),Math.min(k[1],T[1])],s.range=s._input.range=o.simpleMap(_,n.l2r)}n.cleanRange(\"rangeslider.range\");var M=t._size,S=n.domain;s._width=M.w*(S[1]-S[0]);var E=Math.round(M.l+M.w*S[0]),C=Math.round(M.t+M.h*(1-n._counterDomainMin)+(\"bottom\"===n.side?n._depth:0)+s._offsetShift+m.extraPad);i.attr(\"transform\",l(E,C)),s._rl=o.simpleMap(s.range,n.r2l);var O=s._rl[0],A=s._rl[1],D=A-O;if(s.p2d=function(e){return e/s._width*D+O},s.d2p=function(e){return(e-O)/D*s._width},n.rangebreaks){var P=n.locateBreaks(O,A);if(P.length){var R,L,I=0;for(R=0;R<P.length;R++)I+=(L=P[R]).max-L.min;var j=s._width/(A-O-I),N=[-j*O];for(R=0;R<P.length;R++)L=P[R],N.push(N[N.length-1]-j*(L.max-L.min));for(s.d2p=function(e){for(var t=N[0],n=0;n<P.length;n++){var r=P[n];if(e>=r.max)t=N[n+1];else if(e<r.min)break}return t+j*e},R=0;R<P.length;R++)(L=P[R]).pmin=s.d2p(L.min),L.pmax=s.d2p(L.max);s.p2d=function(e){for(var t=N[0],n=0;n<P.length;n++){var r=P[n];if(e>=r.pmax)t=N[n+1];else if(e<r.pmin)break}return(e-t)/j}}}if(\"match\"!==f.rangemode){var z=u.r2l(f.range[0]),F=u.r2l(f.range[1])-z;s.d2pOppAxis=function(e){return(e-z)/F*s._height}}i.call(g,e,n,s).call(y,e,n,s).call(v,e,n,s).call(b,e,n,s,f).call(x,e,n,s).call(w,e,n,s),function(e,t,n,i){if(!t._context.staticPlot){var l=e.select(\"rect.\"+m.slideBoxClassName).node(),s=e.select(\"rect.\"+m.grabAreaMinClassName).node(),u=e.select(\"rect.\"+m.grabAreaMaxClassName).node();e.on(\"mousedown\",c),e.on(\"touchstart\",c)}function c(){var c=r.event,f=c.target,d=c.clientX||c.touches[0].clientX,m=d-e.node().getBoundingClientRect().left,g=i.d2p(n._rl[0]),y=i.d2p(n._rl[1]),v=p.coverSlip();function b(e){var c,p,b,x=+(e.clientX||e.touches[0].clientX)-d;switch(f){case l:b=\"ew-resize\",c=g+x,p=y+x;break;case s:b=\"col-resize\",c=g+x,p=y;break;case u:b=\"col-resize\",c=g,p=y+x;break;default:b=\"ew-resize\",c=m,p=m+x}if(p<c){var w=p;p=c,c=w}i._pixelMin=c,i._pixelMax=p,h(r.select(v),b),function(e,t,n,r){function i(e){return n.l2r(o.constrain(e,r._rl[0],r._rl[1]))}var l=i(r.p2d(r._pixelMin)),s=i(r.p2d(r._pixelMax));window.requestAnimationFrame((function(){a.call(\"_guiRelayout\",t,n._name+\".range\",[l,s])}))}(0,t,n,i)}function x(){v.removeEventListener(\"mousemove\",b),v.removeEventListener(\"mouseup\",x),this.removeEventListener(\"touchmove\",b),this.removeEventListener(\"touchend\",x),o.removeElement(v)}this.addEventListener(\"touchmove\",b),this.addEventListener(\"touchend\",x),v.addEventListener(\"mousemove\",b),v.addEventListener(\"mouseup\",x)}}(i,e,n,s),function(e,t,n,r,a,i){var s=m.handleWidth/2;function u(e){return o.constrain(e,0,r._width)}function c(e){return o.constrain(e,0,r._height)}function f(e){return o.constrain(e,-s,r._width+s)}var d=u(r.d2p(n._rl[0])),p=u(r.d2p(n._rl[1]));if(e.select(\"rect.\"+m.slideBoxClassName).attr(\"x\",d).attr(\"width\",p-d),e.select(\"rect.\"+m.maskMinClassName).attr(\"width\",d),e.select(\"rect.\"+m.maskMaxClassName).attr(\"x\",p).attr(\"width\",r._width-p),\"match\"!==i.rangemode){var h=r._height-c(r.d2pOppAxis(a._rl[1])),g=r._height-c(r.d2pOppAxis(a._rl[0]));e.select(\"rect.\"+m.maskMinOppAxisClassName).attr(\"x\",d).attr(\"height\",h).attr(\"width\",p-d),e.select(\"rect.\"+m.maskMaxOppAxisClassName).attr(\"x\",d).attr(\"y\",g).attr(\"height\",r._height-g).attr(\"width\",p-d),e.select(\"rect.\"+m.slideBoxClassName).attr(\"y\",h).attr(\"height\",g-h)}var y=Math.round(f(d-s))-.5,v=Math.round(f(p-s))+.5;e.select(\"g.\"+m.grabberMinClassName).attr(\"transform\",l(y,.5)),e.select(\"g.\"+m.grabberMaxClassName).attr(\"transform\",l(v,.5))}(i,0,n,s,u,f),\"bottom\"===n.side&&c.draw(e,n._id+\"title\",{propContainer:n,propName:n._name+\".title\",placeholder:t._dfltTitle.x,attributes:{x:n._offset+n._length/2,y:C+s._height+s._offsetShift+10+1.5*n.title.font.size,\"text-anchor\":\"middle\"}})})))}},{\"../../lib\":287,\"../../lib/setcursor\":307,\"../../plots/cartesian\":348,\"../../plots/cartesian/axis_ids\":338,\"../../plots/plots\":371,\"../../registry\":378,\"../color\":157,\"../dragelement\":176,\"../drawing\":179,\"../titles\":255,\"./constants\":231,\"@plotly/d3\":20}],234:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axis_ids\"),a=e(\"../../lib/svg_text_utils\"),i=e(\"./constants\"),o=e(\"../../constants/alignment\").LINE_SPACING,l=i.name;function s(e){var t=e&&e[l];return t&&t.visible}n.isVisible=s,n.makeData=function(e){var t=r.list({_fullLayout:e},\"x\",!0),n=e.margin,a=[];if(!e._has(\"gl2d\"))for(var i=0;i<t.length;i++){var o=t[i];if(s(o)){a.push(o);var u=o[l];u._id=l+o._id,u._height=(e.height-n.b-n.t)*u.thickness,u._offsetShift=Math.floor(u.borderwidth/2)}}e._rangeSliderData=a},n.autoMarginOpts=function(e,t){var n=e._fullLayout,r=t[l],s=t._id.charAt(0),u=0,c=0;return\"bottom\"===t.side&&(u=t._depth,t.title.text!==n._dfltTitle[s]&&(c=1.5*t.title.font.size+10+r._offsetShift,c+=(t.title.text.match(a.BR_TAG_ALL)||[]).length*t.title.font.size*o)),{x:0,y:t._counterDomainMin,l:0,r:0,t:0,b:r._height+u+Math.max(n.margin.b,c),pad:i.extraPad+2*r._offsetShift}}},{\"../../constants/alignment\":262,\"../../lib/svg_text_utils\":310,\"../../plots/cartesian/axis_ids\":338,\"./constants\":231}],235:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./attributes\"),i=e(\"./oppaxis_attributes\"),o=e(\"./helpers\");t.exports={moduleType:\"component\",name:\"rangeslider\",schema:{subplots:{xaxis:{rangeslider:r.extendFlat({},a,{yaxis:i})}}},layoutAttributes:e(\"./attributes\"),handleDefaults:e(\"./defaults\"),calcAutorange:e(\"./calc_autorange\"),draw:e(\"./draw\"),isVisible:o.isVisible,makeData:o.makeData,autoMarginOpts:o.autoMarginOpts}},{\"../../lib\":287,\"./attributes\":229,\"./calc_autorange\":230,\"./defaults\":232,\"./draw\":233,\"./helpers\":234,\"./oppaxis_attributes\":236}],236:[function(e,t,n){\"use strict\";t.exports={_isSubplotObj:!0,rangemode:{valType:\"enumerated\",values:[\"auto\",\"fixed\",\"match\"],dflt:\"match\",editType:\"calc\"},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"plot\"},{valType:\"any\",editType:\"plot\"}],editType:\"plot\"},editType:\"calc\"}},{}],237:[function(e,t,n){\"use strict\";var r=e(\"../annotations/attributes\"),a=e(\"../../traces/scatter/attributes\").line,i=e(\"../drawing/attributes\").dash,o=e(\"../../lib/extend\").extendFlat,l=e(\"../../plot_api/plot_template\").templatedArray;e(\"../../constants/axis_placeable_objects\"),t.exports=l(\"shape\",{visible:{valType:\"boolean\",dflt:!0,editType:\"calc+arraydraw\"},type:{valType:\"enumerated\",values:[\"circle\",\"rect\",\"path\",\"line\"],editType:\"calc+arraydraw\"},layer:{valType:\"enumerated\",values:[\"below\",\"above\"],dflt:\"above\",editType:\"arraydraw\"},xref:o({},r.xref,{}),xsizemode:{valType:\"enumerated\",values:[\"scaled\",\"pixel\"],dflt:\"scaled\",editType:\"calc+arraydraw\"},xanchor:{valType:\"any\",editType:\"calc+arraydraw\"},x0:{valType:\"any\",editType:\"calc+arraydraw\"},x1:{valType:\"any\",editType:\"calc+arraydraw\"},yref:o({},r.yref,{}),ysizemode:{valType:\"enumerated\",values:[\"scaled\",\"pixel\"],dflt:\"scaled\",editType:\"calc+arraydraw\"},yanchor:{valType:\"any\",editType:\"calc+arraydraw\"},y0:{valType:\"any\",editType:\"calc+arraydraw\"},y1:{valType:\"any\",editType:\"calc+arraydraw\"},path:{valType:\"string\",editType:\"calc+arraydraw\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"arraydraw\"},line:{color:o({},a.color,{editType:\"arraydraw\"}),width:o({},a.width,{editType:\"calc+arraydraw\"}),dash:o({},i,{editType:\"arraydraw\"}),editType:\"calc+arraydraw\"},fillcolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\",editType:\"arraydraw\"},fillrule:{valType:\"enumerated\",values:[\"evenodd\",\"nonzero\"],dflt:\"evenodd\",editType:\"arraydraw\"},editable:{valType:\"boolean\",dflt:!1,editType:\"calc+arraydraw\"},editType:\"arraydraw\"})},{\"../../constants/axis_placeable_objects\":263,\"../../lib/extend\":281,\"../../plot_api/plot_template\":323,\"../../traces/scatter/attributes\":500,\"../annotations/attributes\":140,\"../drawing/attributes\":178}],238:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"./constants\"),o=e(\"./helpers\");function l(e){return u(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function s(e){return u(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function u(e,t,n,a,l,s){var u=e/2,c=s;if(\"pixel\"===t){var f=l?o.extractPathCoords(l,s?i.paramIsY:i.paramIsX):[n,a],d=r.aggNums(Math.max,null,f),p=r.aggNums(Math.min,null,f),h=p<0?Math.abs(p)+u:u,m=d>0?d+u:u;return{ppad:u,ppadplus:c?h:m,ppadminus:c?m:h}}return{ppad:u}}function c(e,t,n,r,a){var l=\"category\"===e.type||\"multicategory\"===e.type?e.r2c:e.d2c;if(void 0!==t)return[l(t),l(n)];if(r){var s,u,c,f,d=1/0,p=-1/0,h=r.match(i.segmentRE);for(\"date\"===e.type&&(l=o.decodeDate(l)),s=0;s<h.length;s++)void 0!==(u=a[h[s].charAt(0)].drawn)&&(!(c=h[s].substr(1).match(i.paramRE))||c.length<u||((f=l(c[u]))<d&&(d=f),f>p&&(p=f)));return p>=d?[d,p]:void 0}}t.exports=function(e){var t=e._fullLayout,n=r.filterVisible(t.shapes);if(n.length&&e._fullData.length)for(var o=0;o<n.length;o++){var u,f,d=n[o];d._extremes={};var p=a.getRefType(d.xref),h=a.getRefType(d.yref);if(\"paper\"!==d.xref&&\"domain\"!==p){var m=\"pixel\"===d.xsizemode?d.xanchor:d.x0,g=\"pixel\"===d.xsizemode?d.xanchor:d.x1;(f=c(u=a.getFromId(e,d.xref),m,g,d.path,i.paramIsX))&&(d._extremes[u._id]=a.findExtremes(u,f,l(d)))}if(\"paper\"!==d.yref&&\"domain\"!==h){var y=\"pixel\"===d.ysizemode?d.yanchor:d.y0,v=\"pixel\"===d.ysizemode?d.yanchor:d.y1;(f=c(u=a.getFromId(e,d.yref),y,v,d.path,i.paramIsY))&&(d._extremes[u._id]=a.findExtremes(u,f,s(d)))}}}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"./constants\":239,\"./helpers\":248}],239:[function(e,t,n){\"use strict\";t.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},{}],240:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"../../plots/array_container_defaults\"),o=e(\"./attributes\"),l=e(\"./helpers\");function s(e,t,n){function i(n,a){return r.coerce(e,t,o,n,a)}if(i(\"visible\")){var s=i(\"path\"),u=i(\"type\",s?\"path\":\"rect\");\"path\"!==t.type&&delete t.path,i(\"editable\"),i(\"layer\"),i(\"opacity\"),i(\"fillcolor\"),i(\"fillrule\"),i(\"line.width\")&&(i(\"line.color\"),i(\"line.dash\"));for(var c=i(\"xsizemode\"),f=i(\"ysizemode\"),d=[\"x\",\"y\"],p=0;p<2;p++){var h,m,g,y=d[p],v=y+\"anchor\",b=\"x\"===y?c:f,x={_fullLayout:n},w=a.coerceRef(e,t,x,y,void 0,\"paper\");if(\"range\"===a.getRefType(w)?((h=a.getFromId(x,w))._shapeIndices.push(t._index),g=l.rangeToShapePosition(h),m=l.shapePositionToRange(h)):m=g=r.identity,\"path\"!==u){var _=y+\"0\",k=y+\"1\",T=e[_],M=e[k];e[_]=m(e[_],!0),e[k]=m(e[k],!0),\"pixel\"===b?(i(_,0),i(k,10)):(a.coercePosition(t,x,i,w,_,.25),a.coercePosition(t,x,i,w,k,.75)),t[_]=g(t[_]),t[k]=g(t[k]),e[_]=T,e[k]=M}if(\"pixel\"===b){var S=e[v];e[v]=m(e[v],!0),a.coercePosition(t,x,i,w,v,.25),t[v]=g(t[v]),e[v]=S}}\"path\"===u?i(\"path\"):r.noneOrAll(e,t,[\"x0\",\"x1\",\"y0\",\"y1\"])}}t.exports=function(e,t){i(e,t,{name:\"shapes\",handleItemDefaults:s})}},{\"../../lib\":287,\"../../plots/array_container_defaults\":329,\"../../plots/cartesian/axes\":334,\"./attributes\":237,\"./helpers\":248}],241:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../lib\"),i=e(\"../../plots/cartesian/axes\"),o=e(\"./draw_newshape/helpers\").readPaths,l=e(\"./draw_newshape/display_outlines\"),s=e(\"../../plots/cartesian/handle_outline\").clearOutlineControllers,u=e(\"../color\"),c=e(\"../drawing\"),f=e(\"../../plot_api/plot_template\").arrayEditor,d=e(\"../dragelement\"),p=e(\"../../lib/setcursor\"),h=e(\"./constants\"),m=e(\"./helpers\");function g(e){var t=e._fullLayout;for(var n in t._shapeUpperLayer.selectAll(\"path\").remove(),t._shapeLowerLayer.selectAll(\"path\").remove(),t._plots){var r=t._plots[n].shapelayer;r&&r.selectAll(\"path\").remove()}for(var a=0;a<t.shapes.length;a++)t.shapes[a].visible&&b(e,a)}function y(e){return!!e._fullLayout._drawing}function v(e){return!e._context.edits.shapePosition}function b(e,t){e._fullLayout._paperdiv.selectAll('.shapelayer [data-index=\"'+t+'\"]').remove();var n=m.makeOptionsAndPlotinfo(e,t),s=n.options,b=n.plotinfo;function T(n){var T=w(e,s),M={\"data-index\":t,\"fill-rule\":s.fillrule,d:T},S=s.opacity,E=s.fillcolor,C=s.line.width?s.line.color:\"rgba(0,0,0,0)\",O=s.line.width,A=s.line.dash;O||!0!==s.editable||(O=5,A=\"solid\");var D=\"Z\"!==T[T.length-1],P=v(e)&&s.editable&&e._fullLayout._activeShapeIndex===t;P&&(E=D?\"rgba(0,0,0,0)\":e._fullLayout.activeshape.fillcolor,S=e._fullLayout.activeshape.opacity);var R,L=n.append(\"path\").attr(M).style(\"opacity\",S).call(u.stroke,C).call(u.fill,E).call(c.dashLine,A,O);if(x(L,e,s),(P||e._context.edits.shapePosition)&&(R=f(e.layout,\"shapes\",s)),P){L.style({cursor:\"move\"});var I={element:L.node(),plotinfo:b,gd:e,editHelpers:R,isActiveShape:!0},j=o(T,e);l(j,L,I)}else e._context.edits.shapePosition?function(e,t,n,o,l,s){var u,f,g,v,b,k,T,M,S,E,C,O,A,D,P,R,L=\"pixel\"===n.xsizemode,I=\"pixel\"===n.ysizemode,j=\"line\"===n.type,N=\"path\"===n.type,z=s.modifyItem,F=i.getFromId(e,n.xref),Z=i.getRefType(n.xref),B=i.getFromId(e,n.yref),q=i.getRefType(n.yref),H=m.getDataToPixel(e,F,!1,Z),U=m.getDataToPixel(e,B,!0,q),W=m.getPixelToData(e,F,!1,Z),V=m.getPixelToData(e,B,!0,q),Y=j?function(){var e=Math.max(n.line.width,10),r=l.append(\"g\").attr(\"data-index\",o);r.append(\"path\").attr(\"d\",t.attr(\"d\")).style({cursor:\"move\",\"stroke-width\":e,\"stroke-opacity\":\"0\"});var a={\"fill-opacity\":\"0\"},i=Math.max(e/2,10);return r.append(\"circle\").attr({\"data-line-point\":\"start-point\",cx:L?H(n.xanchor)+n.x0:H(n.x0),cy:I?U(n.yanchor)-n.y0:U(n.y0),r:i}).style(a).classed(\"cursor-grab\",!0),r.append(\"circle\").attr({\"data-line-point\":\"end-point\",cx:L?H(n.xanchor)+n.x1:H(n.x1),cy:I?U(n.yanchor)-n.y1:U(n.y1),r:i}).style(a).classed(\"cursor-grab\",!0),r}():t,G={element:Y.node(),gd:e,prepFn:function(r){y(e)||(L&&(b=H(n.xanchor)),I&&(k=U(n.yanchor)),\"path\"===n.type?P=n.path:(u=L?n.x0:H(n.x0),f=I?n.y0:U(n.y0),g=L?n.x1:H(n.x1),v=I?n.y1:U(n.y1)),u<g?(S=u,A=\"x0\",E=g,D=\"x1\"):(S=g,A=\"x1\",E=u,D=\"x0\"),!I&&f<v||I&&f>v?(T=f,C=\"y0\",M=v,O=\"y1\"):(T=v,C=\"y1\",M=f,O=\"y0\"),$(r),J(l,n),function(e,t,n){var r=t.xref,a=t.yref,o=i.getFromId(n,r),l=i.getFromId(n,a),s=\"\";\"paper\"===r||o.autorange||(s+=r),\"paper\"===a||l.autorange||(s+=a),c.setClipUrl(e,s?\"clip\"+n._fullLayout._uid+s:null,n)}(t,n,e),G.moveFn=\"move\"===R?X:K,G.altKey=r.altKey)},doneFn:function(){y(e)||(p(t),Q(l),x(t,e,n),r.call(\"_guiRelayout\",e,s.getUpdateObj()))},clickFn:function(){y(e)||Q(l)}};function $(n){if(y(e))R=null;else if(j)R=\"path\"===n.target.tagName?\"move\":\"start-point\"===n.target.attributes[\"data-line-point\"].value?\"resize-over-start-point\":\"resize-over-end-point\";else{var r=G.element.getBoundingClientRect(),a=r.right-r.left,i=r.bottom-r.top,o=n.clientX-r.left,l=n.clientY-r.top,s=!N&&a>10&&i>10&&!n.shiftKey?d.getCursor(o/a,1-l/i):\"move\";p(t,s),R=s.split(\"-\")[0]}}function X(r,a){if(\"path\"===n.type){var i=function(e){return e},o=i,s=i;L?z(\"xanchor\",n.xanchor=W(b+r)):(o=function(e){return W(H(e)+r)},F&&\"date\"===F.type&&(o=m.encodeDate(o))),I?z(\"yanchor\",n.yanchor=V(k+a)):(s=function(e){return V(U(e)+a)},B&&\"date\"===B.type&&(s=m.encodeDate(s))),z(\"path\",n.path=_(P,o,s))}else L?z(\"xanchor\",n.xanchor=W(b+r)):(z(\"x0\",n.x0=W(u+r)),z(\"x1\",n.x1=W(g+r))),I?z(\"yanchor\",n.yanchor=V(k+a)):(z(\"y0\",n.y0=V(f+a)),z(\"y1\",n.y1=V(v+a)));t.attr(\"d\",w(e,n)),J(l,n)}function K(r,a){if(N){var i=function(e){return e},o=i,s=i;L?z(\"xanchor\",n.xanchor=W(b+r)):(o=function(e){return W(H(e)+r)},F&&\"date\"===F.type&&(o=m.encodeDate(o))),I?z(\"yanchor\",n.yanchor=V(k+a)):(s=function(e){return V(U(e)+a)},B&&\"date\"===B.type&&(s=m.encodeDate(s))),z(\"path\",n.path=_(P,o,s))}else if(j){if(\"resize-over-start-point\"===R){var c=u+r,d=I?f-a:f+a;z(\"x0\",n.x0=L?c:W(c)),z(\"y0\",n.y0=I?d:V(d))}else if(\"resize-over-end-point\"===R){var p=g+r,h=I?v-a:v+a;z(\"x1\",n.x1=L?p:W(p)),z(\"y1\",n.y1=I?h:V(h))}}else{var y=function(e){return-1!==R.indexOf(e)},x=y(\"n\"),Z=y(\"s\"),q=y(\"w\"),Y=y(\"e\"),G=x?T+a:T,$=Z?M+a:M,X=q?S+r:S,K=Y?E+r:E;I&&(x&&(G=T-a),Z&&($=M-a)),(!I&&$-G>10||I&&G-$>10)&&(z(C,n[C]=I?G:V(G)),z(O,n[O]=I?$:V($))),K-X>10&&(z(A,n[A]=L?X:W(X)),z(D,n[D]=L?K:W(K)))}t.attr(\"d\",w(e,n)),J(l,n)}function J(e,t){(L||I)&&function(){var n=\"path\"!==t.type,r=e.selectAll(\".visual-cue\").data([0]);r.enter().append(\"path\").attr({fill:\"#fff\",\"fill-rule\":\"evenodd\",stroke:\"#000\",\"stroke-width\":1}).classed(\"visual-cue\",!0);var i=H(L?t.xanchor:a.midRange(n?[t.x0,t.x1]:m.extractPathCoords(t.path,h.paramIsX))),o=U(I?t.yanchor:a.midRange(n?[t.y0,t.y1]:m.extractPathCoords(t.path,h.paramIsY)));if(i=m.roundPositionForSharpStrokeRendering(i,1),o=m.roundPositionForSharpStrokeRendering(o,1),L&&I){var l=\"M\"+(i-1-1)+\",\"+(o-1-1)+\"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z\";r.attr(\"d\",l)}else if(L){var s=\"M\"+(i-1-1)+\",\"+(o-9-1)+\"v18 h2 v-18 Z\";r.attr(\"d\",s)}else{var u=\"M\"+(i-9-1)+\",\"+(o-1-1)+\"h18 v2 h-18 Z\";r.attr(\"d\",u)}}()}function Q(e){e.selectAll(\".visual-cue\").remove()}d.init(G),Y.node().onmousemove=$}(e,L,s,t,n,R):!0===s.editable&&L.style(\"pointer-events\",D||u.opacity(E)*S<=.5?\"stroke\":\"all\");L.node().addEventListener(\"click\",(function(){return function(e,t){if(v(e)){var n=+t.node().getAttribute(\"data-index\");if(n>=0){if(n===e._fullLayout._activeShapeIndex)return void k(e);e._fullLayout._activeShapeIndex=n,e._fullLayout._deactivateShape=k,g(e)}}}(e,L)}))}s._input&&!1!==s.visible&&(\"below\"!==s.layer?T(e._fullLayout._shapeUpperLayer):\"paper\"===s.xref||\"paper\"===s.yref?T(e._fullLayout._shapeLowerLayer):b._hadPlotinfo?T((b.mainplotinfo||b).shapelayer):T(e._fullLayout._shapeLowerLayer))}function x(e,t,n){var r=(n.xref+n.yref).replace(/paper/g,\"\").replace(/[xyz][1-9]* *domain/g,\"\");c.setClipUrl(e,r?\"clip\"+t._fullLayout._uid+r:null,t)}function w(e,t){var n,r,o,l,s,u,c,f,d=t.type,p=i.getRefType(t.xref),g=i.getRefType(t.yref),y=i.getFromId(e,t.xref),v=i.getFromId(e,t.yref),b=e._fullLayout._size;if(y?\"domain\"===p?r=function(e){return y._offset+y._length*e}:(n=m.shapePositionToRange(y),r=function(e){return y._offset+y.r2p(n(e,!0))}):r=function(e){return b.l+b.w*e},v?\"domain\"===g?l=function(e){return v._offset+v._length*(1-e)}:(o=m.shapePositionToRange(v),l=function(e){return v._offset+v.r2p(o(e,!0))}):l=function(e){return b.t+b.h*(1-e)},\"path\"===d)return y&&\"date\"===y.type&&(r=m.decodeDate(r)),v&&\"date\"===v.type&&(l=m.decodeDate(l)),function(e,t,n){var r=e.path,i=e.xsizemode,o=e.ysizemode,l=e.xanchor,s=e.yanchor;return r.replace(h.segmentRE,(function(e){var r=0,u=e.charAt(0),c=h.paramIsX[u],f=h.paramIsY[u],d=h.numParams[u],p=e.substr(1).replace(h.paramRE,(function(e){return c[r]?e=\"pixel\"===i?t(l)+Number(e):t(e):f[r]&&(e=\"pixel\"===o?n(s)-Number(e):n(e)),++r>d&&(e=\"X\"),e}));return r>d&&(p=p.replace(/[\\s,]*X.*/,\"\"),a.log(\"Ignoring extra params in segment \"+e)),u+p}))}(t,r,l);if(\"pixel\"===t.xsizemode){var x=r(t.xanchor);s=x+t.x0,u=x+t.x1}else s=r(t.x0),u=r(t.x1);if(\"pixel\"===t.ysizemode){var w=l(t.yanchor);c=w-t.y0,f=w-t.y1}else c=l(t.y0),f=l(t.y1);if(\"line\"===d)return\"M\"+s+\",\"+c+\"L\"+u+\",\"+f;if(\"rect\"===d)return\"M\"+s+\",\"+c+\"H\"+u+\"V\"+f+\"H\"+s+\"Z\";var _=(s+u)/2,k=(c+f)/2,T=Math.abs(_-s),M=Math.abs(k-c),S=\"A\"+T+\",\"+M,E=_+T+\",\"+k;return\"M\"+E+S+\" 0 1,1 \"+_+\",\"+(k-M)+S+\" 0 0,1 \"+E+\"Z\"}function _(e,t,n){return e.replace(h.segmentRE,(function(e){var r=0,a=e.charAt(0),i=h.paramIsX[a],o=h.paramIsY[a],l=h.numParams[a];return a+e.substr(1).replace(h.paramRE,(function(e){return r>=l||(i[r]?e=t(e):o[r]&&(e=n(e)),r++),e}))}))}function k(e){v(e)&&e._fullLayout._activeShapeIndex>=0&&(s(e),delete e._fullLayout._activeShapeIndex,g(e))}t.exports={draw:g,drawOne:b,eraseActiveShape:function(e){if(v(e)){s(e);var t=e._fullLayout._activeShapeIndex,n=(e.layout||{}).shapes||[];if(t<n.length){for(var a=[],i=0;i<n.length;i++)i!==t&&a.push(n[i]);delete e._fullLayout._activeShapeIndex,r.call(\"_guiRelayout\",e,{shapes:a})}}}}},{\"../../lib\":287,\"../../lib/setcursor\":307,\"../../plot_api/plot_template\":323,\"../../plots/cartesian/axes\":334,\"../../plots/cartesian/handle_outline\":345,\"../../registry\":378,\"../color\":157,\"../dragelement\":176,\"../drawing\":179,\"./constants\":239,\"./draw_newshape/display_outlines\":245,\"./draw_newshape/helpers\":246,\"./helpers\":248}],242:[function(e,t,n){\"use strict\";var r=e(\"../../drawing/attributes\").dash,a=e(\"../../../lib/extend\").extendFlat;t.exports={newshape:{line:{color:{valType:\"color\",editType:\"none\"},width:{valType:\"number\",min:0,dflt:4,editType:\"none\"},dash:a({},r,{dflt:\"solid\",editType:\"none\"}),editType:\"none\"},fillcolor:{valType:\"color\",dflt:\"rgba(0,0,0,0)\",editType:\"none\"},fillrule:{valType:\"enumerated\",values:[\"evenodd\",\"nonzero\"],dflt:\"evenodd\",editType:\"none\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"none\"},layer:{valType:\"enumerated\",values:[\"below\",\"above\"],dflt:\"above\",editType:\"none\"},drawdirection:{valType:\"enumerated\",values:[\"ortho\",\"horizontal\",\"vertical\",\"diagonal\"],dflt:\"diagonal\",editType:\"none\"},editType:\"none\"},activeshape:{fillcolor:{valType:\"color\",dflt:\"rgb(255,0,255)\",editType:\"none\"},opacity:{valType:\"number\",min:0,max:1,dflt:.5,editType:\"none\"},editType:\"none\"}}},{\"../../../lib/extend\":281,\"../../drawing/attributes\":178}],243:[function(e,t,n){\"use strict\";t.exports={CIRCLE_SIDES:32,i000:0,i090:8,i180:16,i270:24,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}},{}],244:[function(e,t,n){\"use strict\";var r=e(\"../../color\");t.exports=function(e,t,n){if(n(\"newshape.drawdirection\"),n(\"newshape.layer\"),n(\"newshape.fillcolor\"),n(\"newshape.fillrule\"),n(\"newshape.opacity\"),n(\"newshape.line.width\")){var a=(e||{}).plot_bgcolor||\"#FFF\";n(\"newshape.line.color\",r.contrast(a)),n(\"newshape.line.dash\")}n(\"activeshape.fillcolor\"),n(\"activeshape.opacity\")}},{\"../../color\":157}],245:[function(e,t,n){\"use strict\";var r=e(\"../../dragelement\"),a=e(\"../../dragelement/helpers\").drawMode,i=e(\"../../../registry\"),o=e(\"./constants\"),l=o.i000,s=o.i090,u=o.i180,c=o.i270,f=e(\"../../../plots/cartesian/handle_outline\").clearOutlineControllers,d=e(\"./helpers\"),p=d.pointsShapeRectangle,h=d.pointsShapeEllipse,m=d.writePaths,g=e(\"./newshapes\");t.exports=function e(t,n,o,d){d||(d=0);var y=o.gd;function v(){e(t,n,o,d++),h(t[0])&&b({redrawing:!0})}function b(e){o.isActiveShape=!1;var t=g(n,o);Object.keys(t).length&&i.call((e||{}).redrawing?\"relayout\":\"_guiRelayout\",y,t)}var x,w,_,k,T,M=o.isActiveShape,S=y._fullLayout._zoomlayer,E=o.dragmode;function C(e){_=+e.srcElement.getAttribute(\"data-i\"),k=+e.srcElement.getAttribute(\"data-j\"),x[_][k].moveFn=O}function O(e,n){if(t.length){var r=T[_][k][1],a=T[_][k][2],i=t[_],o=i.length;if(p(i)){for(var l=0;l<o;l++)if(l!==k){var s=i[l];s[1]===i[k][1]&&(s[1]=r+e),s[2]===i[k][2]&&(s[2]=a+n)}if(i[k][1]=r+e,i[k][2]=a+n,!p(i))for(var u=0;u<o;u++)for(var c=0;c<i[u].length;c++)i[u][c]=T[_][u][c]}else i[k][1]=r+e,i[k][2]=a+n;v()}}function A(){b()}function D(e,n){if(2===e){_=+n.srcElement.getAttribute(\"data-i\"),k=+n.srcElement.getAttribute(\"data-j\");var r=t[_];p(r)||h(r)||function(){if(t.length&&t[_]&&t[_].length){for(var e=[],n=0;n<t[_].length;n++)n!==k&&e.push(t[_][n]);e.length>1&&(2!==e.length||\"Z\"!==e[1][0])&&(0===k&&(e[0][0]=\"M\"),t[_]=e,v(),b())}}()}}function P(e,n){!function(e,n){if(t.length)for(var r=0;r<t.length;r++)for(var a=0;a<t[r].length;a++)for(var i=0;i+2<t[r][a].length;i+=2)t[r][a][i+1]=T[r][a][i+1]+e,t[r][a][i+2]=T[r][a][i+2]+n}(e,n),v()}function R(e){(_=+e.srcElement.getAttribute(\"data-i\"))||(_=0),w[_].moveFn=P}function L(){b()}a(E)?y._fullLayout._drawing=!0:y._fullLayout._activeShapeIndex>=0&&f(y),n.attr(\"d\",m(t)),M&&!d&&(T=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];e[n]=[];for(var a=0;a<r.length;a++){e[n][a]=[];for(var i=0;i<r[a].length;i++)e[n][a][i]=r[a][i]}}return e}([],t),function(e){x=[];for(var n=0;n<t.length;n++){var a=t[n],i=!p(a)&&h(a);x[n]=[];for(var o=0;o<a.length;o++)if(\"Z\"!==a[o][0]&&(!i||o===l||o===s||o===u||o===c)){var f=a[o][1],d=a[o][2],m=e.append(\"circle\").classed(\"cursor-grab\",!0).attr(\"data-i\",n).attr(\"data-j\",o).attr(\"cx\",f).attr(\"cy\",d).attr(\"r\",4).style({\"mix-blend-mode\":\"luminosity\",fill:\"black\",stroke:\"white\",\"stroke-width\":1});x[n][o]={element:m.node(),gd:y,prepFn:C,doneFn:A,clickFn:D},r.init(x[n][o])}}}(S.append(\"g\").attr(\"class\",\"outline-controllers\")),w=[],t.length&&(w[0]={element:n[0][0],gd:y,prepFn:R,doneFn:L},r.init(w[0])))}},{\"../../../plots/cartesian/handle_outline\":345,\"../../../registry\":378,\"../../dragelement\":176,\"../../dragelement/helpers\":175,\"./constants\":243,\"./helpers\":246,\"./newshapes\":247}],246:[function(e,t,n){\"use strict\";var r=e(\"parse-svg-path\"),a=e(\"./constants\"),i=a.CIRCLE_SIDES,o=a.SQRT2,l=e(\"../../../plots/cartesian/helpers\"),s=l.p2r,u=l.r2p,c=[0,3,4,5,6,1,2],f=[0,3,4,1,2];function d(e,t){return Math.abs(e-t)<=1e-6}function p(e,t){var n=t[1]-e[1],r=t[2]-e[2];return Math.sqrt(n*n+r*r)}n.writePaths=function(e){var t=e.length;if(!t)return\"M0,0Z\";for(var n=\"\",r=0;r<t;r++)for(var a=e[r].length,i=0;i<a;i++){var o=e[r][i][0];if(\"Z\"===o)n+=\"Z\";else for(var l=e[r][i].length,s=0;s<l;s++){var u=s;\"Q\"===o||\"S\"===o?u=f[s]:\"C\"===o&&(u=c[s]),n+=e[r][i][u],s>0&&s<l-1&&(n+=\",\")}}return n},n.readPaths=function(e,t,n,a){var o,l,c,f=r(e),d=[],p=-1,h=0,m=0,g=function(){l=h,c=m};g();for(var y=0;y<f.length;y++){var v,b,x,w,_=[],k=f[y][0],T=k;switch(k){case\"M\":d[++p]=[],h=+f[y][1],m=+f[y][2],_.push([T,h,m]),g();break;case\"Q\":case\"S\":v=+f[y][1],x=+f[y][2],h=+f[y][3],m=+f[y][4],_.push([T,h,m,v,x]);break;case\"C\":v=+f[y][1],x=+f[y][2],b=+f[y][3],w=+f[y][4],h=+f[y][5],m=+f[y][6],_.push([T,h,m,v,x,b,w]);break;case\"T\":case\"L\":h=+f[y][1],m=+f[y][2],_.push([T,h,m]);break;case\"H\":T=\"L\",h=+f[y][1],_.push([T,h,m]);break;case\"V\":T=\"L\",m=+f[y][1],_.push([T,h,m]);break;case\"A\":T=\"L\";var M=+f[y][1],S=+f[y][2];+f[y][4]||(M=-M,S=-S);var E=h-M,C=m;for(o=1;o<=i/2;o++){var O=2*Math.PI*o/i;_.push([T,E+M*Math.cos(O),C+S*Math.sin(O)])}break;case\"Z\":h===l&&m===c||(h=l,m=c,_.push([T,h,m]))}for(var A=(n||{}).domain,D=t._fullLayout._size,P=n&&\"pixel\"===n.xsizemode,R=n&&\"pixel\"===n.ysizemode,L=!1===a,I=0;I<_.length;I++){for(o=0;o+2<7;o+=2){var j=_[I][o+1],N=_[I][o+2];void 0!==j&&void 0!==N&&(h=j,m=N,n&&(n.xaxis&&n.xaxis.p2r?(L&&(j-=n.xaxis._offset),j=P?u(n.xaxis,n.xanchor)+j:s(n.xaxis,j)):(L&&(j-=D.l),A?j=A.x[0]+j/D.w:j/=D.w),n.yaxis&&n.yaxis.p2r?(L&&(N-=n.yaxis._offset),N=R?u(n.yaxis,n.yanchor)-N:s(n.yaxis,N)):(L&&(N-=D.t),N=A?A.y[1]-N/D.h:1-N/D.h)),_[I][o+1]=j,_[I][o+2]=N)}d[p].push(_[I].slice())}}return d},n.pointsShapeRectangle=function(e){if(5!==e.length)return!1;for(var t=1;t<3;t++){if(!d(e[0][t]-e[1][t],e[3][t]-e[2][t]))return!1;if(!d(e[0][t]-e[3][t],e[1][t]-e[2][t]))return!1}return!(!d(e[0][1],e[1][1])&&!d(e[0][1],e[3][1])||!(p(e[0],e[1])*p(e[0],e[3])))},n.pointsShapeEllipse=function(e){var t=e.length;if(t!==i+1)return!1;t=i;for(var n=0;n<t;n++){var r=(2*t-n)%t,a=(t/2+r)%t,o=(t/2+n)%t;if(!d(p(e[n],e[o]),p(e[r],e[a])))return!1}return!0},n.handleEllipse=function(e,t,r){if(!e)return[t,r];var a=n.ellipseOver({x0:t[0],y0:t[1],x1:r[0],y1:r[1]}),l=(a.x1+a.x0)/2,s=(a.y1+a.y0)/2,u=(a.x1-a.x0)/2,c=(a.y1-a.y0)/2;u||(u=c/=o),c||(c=u/=o);for(var f=[],d=0;d<i;d++){var p=2*d*Math.PI/i;f.push([l+u*Math.cos(p),s+c*Math.sin(p)])}return f},n.ellipseOver=function(e){var t=e.x0,n=e.y0,r=e.x1,a=e.y1,i=r-t,l=a-n,s=((t-=i)+r)/2,u=((n-=l)+a)/2;return{x0:s-(i*=o),y0:u-(l*=o),x1:s+i,y1:u+l}}},{\"../../../plots/cartesian/helpers\":346,\"./constants\":243,\"parse-svg-path\":74}],247:[function(e,t,n){\"use strict\";var r=e(\"../../dragelement/helpers\"),a=r.drawMode,i=r.openMode,o=e(\"./constants\"),l=o.i000,s=o.i090,u=o.i180,c=o.i270,f=o.cos45,d=o.sin45,p=e(\"../../../plots/cartesian/helpers\"),h=p.p2r,m=p.r2p,g=e(\"../../../plots/cartesian/handle_outline\").clearSelect,y=e(\"./helpers\"),v=y.readPaths,b=y.writePaths,x=y.ellipseOver;t.exports=function(e,t){if(e.length){var n=e[0][0];if(n){var r=n.getAttribute(\"d\"),o=t.gd,p=o._fullLayout.newshape,y=t.plotinfo,w=y.xaxis,_=y.yaxis,k=!!y.domain||!y.xaxis,T=!!y.domain||!y.yaxis,M=t.isActiveShape,S=t.dragmode,E=(o.layout||{}).shapes||[];if(!a(S)&&void 0!==M){var C=o._fullLayout._activeShapeIndex;if(C<E.length)switch(o._fullLayout.shapes[C].type){case\"rect\":S=\"drawrect\";break;case\"circle\":S=\"drawcircle\";break;case\"line\":S=\"drawline\";break;case\"path\":var O=E[C].path||\"\";S=\"Z\"===O[O.length-1]?\"drawclosedpath\":\"drawopenpath\"}}var A,D=i(S),P=v(r,o,y,M),R={editable:!0,xref:k?\"paper\":w._id,yref:T?\"paper\":_._id,layer:p.layer,opacity:p.opacity,line:{color:p.line.color,width:p.line.width,dash:p.line.dash}};if(D||(R.fillcolor=p.fillcolor,R.fillrule=p.fillrule),1===P.length&&(A=P[0]),A&&\"drawrect\"===S)R.type=\"rect\",R.x0=A[0][1],R.y0=A[0][2],R.x1=A[2][1],R.y1=A[2][2];else if(A&&\"drawline\"===S)R.type=\"line\",R.x0=A[0][1],R.y0=A[0][2],R.x1=A[1][1],R.y1=A[1][2];else if(A&&\"drawcircle\"===S){R.type=\"circle\";var L=A[l][1],I=A[s][1],j=A[u][1],N=A[c][1],z=A[l][2],F=A[s][2],Z=A[u][2],B=A[c][2],q=y.xaxis&&(\"date\"===y.xaxis.type||\"log\"===y.xaxis.type),H=y.yaxis&&(\"date\"===y.yaxis.type||\"log\"===y.yaxis.type);q&&(L=m(y.xaxis,L),I=m(y.xaxis,I),j=m(y.xaxis,j),N=m(y.xaxis,N)),H&&(z=m(y.yaxis,z),F=m(y.yaxis,F),Z=m(y.yaxis,Z),B=m(y.yaxis,B));var U=(I+N)/2,W=(z+Z)/2,V=x({x0:U,y0:W,x1:U+(N-I+j-L)/2*f,y1:W+(B-F+Z-z)/2*d});q&&(V.x0=h(y.xaxis,V.x0),V.x1=h(y.xaxis,V.x1)),H&&(V.y0=h(y.yaxis,V.y0),V.y1=h(y.yaxis,V.y1)),R.x0=V.x0,R.y0=V.y0,R.x1=V.x1,R.y1=V.y1}else R.type=\"path\",w&&_&&function(e,t,n){var r=\"date\"===t.type,a=\"date\"===n.type;if(!r&&!a)return e;for(var i=0;i<e.length;i++)for(var o=0;o<e[i].length;o++)for(var l=0;l+2<e[i][o].length;l+=2)r&&(e[i][o][l+1]=e[i][o][l+1].replace(\" \",\"_\")),a&&(e[i][o][l+2]=e[i][o][l+2].replace(\" \",\"_\"))}(P,w,_),R.path=b(P),A=null;g(o);for(var Y=t.editHelpers,G=(Y||{}).modifyItem,$=[],X=0;X<E.length;X++){var K=o._fullLayout.shapes[X];if($[X]=K._input,void 0!==M&&X===o._fullLayout._activeShapeIndex){var J=R;switch(K.type){case\"line\":case\"rect\":case\"circle\":G(\"x0\",J.x0),G(\"x1\",J.x1),G(\"y0\",J.y0),G(\"y1\",J.y1);break;case\"path\":G(\"path\",J.path)}}}return void 0===M?($.push(R),$):Y?Y.getUpdateObj():{}}}}},{\"../../../plots/cartesian/handle_outline\":345,\"../../../plots/cartesian/helpers\":346,\"../../dragelement/helpers\":175,\"./constants\":243,\"./helpers\":246}],248:[function(e,t,n){\"use strict\";var r=e(\"./constants\"),a=e(\"../../lib\");n.rangeToShapePosition=function(e){return\"log\"===e.type?e.r2d:function(e){return e}},n.shapePositionToRange=function(e){return\"log\"===e.type?e.d2r:function(e){return e}},n.decodeDate=function(e){return function(t){return t.replace&&(t=t.replace(\"_\",\" \")),e(t)}},n.encodeDate=function(e){return function(t){return e(t).replace(\" \",\"_\")}},n.extractPathCoords=function(e,t){var n=[];return e.match(r.segmentRE).forEach((function(e){var i=t[e.charAt(0)].drawn;if(void 0!==i){var o=e.substr(1).match(r.paramRE);!o||o.length<i||n.push(a.cleanNumber(o[i]))}})),n},n.getDataToPixel=function(e,t,r,a){var i,o=e._fullLayout._size;if(t)if(\"domain\"===a)i=function(e){return t._length*(r?1-e:e)+t._offset};else{var l=n.shapePositionToRange(t);i=function(e){return t._offset+t.r2p(l(e,!0))},\"date\"===t.type&&(i=n.decodeDate(i))}else i=r?function(e){return o.t+o.h*(1-e)}:function(e){return o.l+o.w*e};return i},n.getPixelToData=function(e,t,r,a){var i,o=e._fullLayout._size;if(t)if(\"domain\"===a)i=function(e){var n=(e-t._offset)/t._length;return r?1-n:n};else{var l=n.rangeToShapePosition(t);i=function(e){return l(t.p2r(e-t._offset))}}else i=r?function(e){return 1-(e-o.t)/o.h}:function(e){return(e-o.l)/o.w};return i},n.roundPositionForSharpStrokeRendering=function(e,t){var n=1===Math.round(t%2),r=Math.round(e);return n?r+.5:r},n.makeOptionsAndPlotinfo=function(e,t){var n=e._fullLayout.shapes[t]||{},r=e._fullLayout._plots[n.xref+n.yref];return r?r._hadPlotinfo=!0:(r={},n.xref&&\"paper\"!==n.xref&&(r.xaxis=e._fullLayout[n.xref+\"axis\"]),n.yref&&\"paper\"!==n.yref&&(r.yaxis=e._fullLayout[n.yref+\"axis\"])),r.xsizemode=n.xsizemode,r.ysizemode=n.ysizemode,r.xanchor=n.xanchor,r.yanchor=n.yanchor,{options:n,plotinfo:r}}},{\"../../lib\":287,\"./constants\":239}],249:[function(e,t,n){\"use strict\";var r=e(\"./draw\");t.exports={moduleType:\"component\",name:\"shapes\",layoutAttributes:e(\"./attributes\"),supplyLayoutDefaults:e(\"./defaults\"),supplyDrawNewShapeDefaults:e(\"./draw_newshape/defaults\"),includeBasePlot:e(\"../../plots/cartesian/include_components\")(\"shapes\"),calcAutorange:e(\"./calc_autorange\"),draw:r.draw,drawOne:r.drawOne}},{\"../../plots/cartesian/include_components\":347,\"./attributes\":237,\"./calc_autorange\":238,\"./defaults\":240,\"./draw\":241,\"./draw_newshape/defaults\":244}],250:[function(e,t,n){\"use strict\";var r=e(\"../../plots/font_attributes\"),a=e(\"../../plots/pad_attributes\"),i=e(\"../../lib/extend\").extendDeepAll,o=e(\"../../plot_api/edit_types\").overrideAll,l=e(\"../../plots/animation_attributes\"),s=e(\"../../plot_api/plot_template\").templatedArray,u=e(\"./constants\"),c=s(\"step\",{visible:{valType:\"boolean\",dflt:!0},method:{valType:\"enumerated\",values:[\"restyle\",\"relayout\",\"animate\",\"update\",\"skip\"],dflt:\"restyle\"},args:{valType:\"info_array\",freeLength:!0,items:[{valType:\"any\"},{valType:\"any\"},{valType:\"any\"}]},label:{valType:\"string\"},value:{valType:\"string\"},execute:{valType:\"boolean\",dflt:!0}});t.exports=o(s(\"slider\",{visible:{valType:\"boolean\",dflt:!0},active:{valType:\"number\",min:0,dflt:0},steps:c,lenmode:{valType:\"enumerated\",values:[\"fraction\",\"pixels\"],dflt:\"fraction\"},len:{valType:\"number\",min:0,dflt:1},x:{valType:\"number\",min:-2,max:3,dflt:0},pad:i(a({editType:\"arraydraw\"}),{},{t:{dflt:20}}),xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"left\"},y:{valType:\"number\",min:-2,max:3,dflt:0},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],dflt:\"top\"},transition:{duration:{valType:\"number\",min:0,dflt:150},easing:{valType:\"enumerated\",values:l.transition.easing.values,dflt:\"cubic-in-out\"}},currentvalue:{visible:{valType:\"boolean\",dflt:!0},xanchor:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\"],dflt:\"left\"},offset:{valType:\"number\",dflt:10},prefix:{valType:\"string\"},suffix:{valType:\"string\"},font:r({})},font:r({}),activebgcolor:{valType:\"color\",dflt:u.gripBgActiveColor},bgcolor:{valType:\"color\",dflt:u.railBgColor},bordercolor:{valType:\"color\",dflt:u.railBorderColor},borderwidth:{valType:\"number\",min:0,dflt:u.railBorderWidth},ticklen:{valType:\"number\",min:0,dflt:u.tickLength},tickcolor:{valType:\"color\",dflt:u.tickColor},tickwidth:{valType:\"number\",min:0,dflt:1},minorticklen:{valType:\"number\",min:0,dflt:u.minorTickLength}}),\"arraydraw\",\"from-root\")},{\"../../lib/extend\":281,\"../../plot_api/edit_types\":316,\"../../plot_api/plot_template\":323,\"../../plots/animation_attributes\":328,\"../../plots/font_attributes\":365,\"../../plots/pad_attributes\":370,\"./constants\":251}],251:[function(e,t,n){\"use strict\";t.exports={name:\"sliders\",containerClassName:\"slider-container\",groupClassName:\"slider-group\",inputAreaClass:\"slider-input-area\",railRectClass:\"slider-rail-rect\",railTouchRectClass:\"slider-rail-touch-rect\",gripRectClass:\"slider-grip-rect\",tickRectClass:\"slider-tick-rect\",inputProxyClass:\"slider-input-proxy\",labelsClass:\"slider-labels\",labelGroupClass:\"slider-label-group\",labelClass:\"slider-label\",currentValueClass:\"slider-current-value\",railHeight:5,menuIndexAttrName:\"slider-active-index\",autoMarginIdRoot:\"slider-\",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:\"#bec8d9\",railBgColor:\"#f8fafc\",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:\"#bec8d9\",gripBgColor:\"#f6f8fa\",gripBgActiveColor:\"#dbdde0\",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:\"#333\",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:\"#333\",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},{}],252:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/array_container_defaults\"),i=e(\"./attributes\"),o=e(\"./constants\").name,l=i.steps;function s(e,t,n){function o(n,a){return r.coerce(e,t,i,n,a)}for(var l=a(e,t,{name:\"steps\",handleItemDefaults:u}),s=0,c=0;c<l.length;c++)l[c].visible&&s++;if(s<2?t.visible=!1:o(\"visible\")){t._stepCount=s;var f=t._visibleSteps=r.filterVisible(l);(l[o(\"active\")]||{}).visible||(t.active=f[0]._index),o(\"x\"),o(\"y\"),r.noneOrAll(e,t,[\"x\",\"y\"]),o(\"xanchor\"),o(\"yanchor\"),o(\"len\"),o(\"lenmode\"),o(\"pad.t\"),o(\"pad.r\"),o(\"pad.b\"),o(\"pad.l\"),r.coerceFont(o,\"font\",n.font),o(\"currentvalue.visible\")&&(o(\"currentvalue.xanchor\"),o(\"currentvalue.prefix\"),o(\"currentvalue.suffix\"),o(\"currentvalue.offset\"),r.coerceFont(o,\"currentvalue.font\",t.font)),o(\"transition.duration\"),o(\"transition.easing\"),o(\"bgcolor\"),o(\"activebgcolor\"),o(\"bordercolor\"),o(\"borderwidth\"),o(\"ticklen\"),o(\"tickwidth\"),o(\"tickcolor\"),o(\"minorticklen\")}}function u(e,t){function n(n,a){return r.coerce(e,t,l,n,a)}if(\"skip\"===e.method||Array.isArray(e.args)?n(\"visible\"):t.visible=!1){n(\"method\"),n(\"args\");var a=n(\"label\",\"step-\"+t._index);n(\"value\",a),n(\"execute\")}}t.exports=function(e,t){a(e,t,{name:o,handleItemDefaults:s})}},{\"../../lib\":287,\"../../plots/array_container_defaults\":329,\"./attributes\":250,\"./constants\":251}],253:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../plots/plots\"),i=e(\"../color\"),o=e(\"../drawing\"),l=e(\"../../lib\"),s=l.strTranslate,u=e(\"../../lib/svg_text_utils\"),c=e(\"../../plot_api/plot_template\").arrayEditor,f=e(\"./constants\"),d=e(\"../../constants/alignment\"),p=d.LINE_SPACING,h=d.FROM_TL,m=d.FROM_BR;function g(e){return f.autoMarginIdRoot+e._index}function y(e){return e._index}function v(e,t){var n=o.tester.selectAll(\"g.\"+f.labelGroupClass).data(t._visibleSteps);n.enter().append(\"g\").classed(f.labelGroupClass,!0);var i=0,s=0;n.each((function(e){var n=w(r.select(this),{step:e},t).node();if(n){var a=o.bBox(n);s=Math.max(s,a.height),i=Math.max(i,a.width)}})),n.remove();var c=t._dims={};c.inputAreaWidth=Math.max(f.railWidth,f.gripHeight);var d=e._fullLayout._size;c.lx=d.l+d.w*t.x,c.ly=d.t+d.h*(1-t.y),\"fraction\"===t.lenmode?c.outerLength=Math.round(d.w*t.len):c.outerLength=t.len,c.inputAreaStart=0,c.inputAreaLength=Math.round(c.outerLength-t.pad.l-t.pad.r);var p=(c.inputAreaLength-2*f.stepInset)/(t._stepCount-1),y=i+f.labelPadding;if(c.labelStride=Math.max(1,Math.ceil(y/p)),c.labelHeight=s,c.currentValueMaxWidth=0,c.currentValueHeight=0,c.currentValueTotalHeight=0,c.currentValueMaxLines=1,t.currentvalue.visible){var v=o.tester.append(\"g\");n.each((function(e){var n=b(v,t,e.label),r=n.node()&&o.bBox(n.node())||{width:0,height:0},a=u.lineCount(n);c.currentValueMaxWidth=Math.max(c.currentValueMaxWidth,Math.ceil(r.width)),c.currentValueHeight=Math.max(c.currentValueHeight,Math.ceil(r.height)),c.currentValueMaxLines=Math.max(c.currentValueMaxLines,a)})),c.currentValueTotalHeight=c.currentValueHeight+t.currentvalue.offset,v.remove()}c.height=c.currentValueTotalHeight+f.tickOffset+t.ticklen+f.labelOffset+c.labelHeight+t.pad.t+t.pad.b;var x=\"left\";l.isRightAnchor(t)&&(c.lx-=c.outerLength,x=\"right\"),l.isCenterAnchor(t)&&(c.lx-=c.outerLength/2,x=\"center\");var _=\"top\";l.isBottomAnchor(t)&&(c.ly-=c.height,_=\"bottom\"),l.isMiddleAnchor(t)&&(c.ly-=c.height/2,_=\"middle\"),c.outerLength=Math.ceil(c.outerLength),c.height=Math.ceil(c.height),c.lx=Math.round(c.lx),c.ly=Math.round(c.ly);var k={y:t.y,b:c.height*m[_],t:c.height*h[_]};\"fraction\"===t.lenmode?(k.l=0,k.xl=t.x-t.len*h[x],k.r=0,k.xr=t.x+t.len*m[x]):(k.x=t.x,k.l=c.outerLength*h[x],k.r=c.outerLength*m[x]),a.autoMargin(e,g(t),k)}function b(e,t,n){if(t.currentvalue.visible){var r,a,i=t._dims;switch(t.currentvalue.xanchor){case\"right\":r=i.inputAreaLength-f.currentValueInset-i.currentValueMaxWidth,a=\"left\";break;case\"center\":r=.5*i.inputAreaLength,a=\"middle\";break;default:r=f.currentValueInset,a=\"left\"}var s=l.ensureSingle(e,\"text\",f.labelClass,(function(e){e.attr({\"text-anchor\":a,\"data-notex\":1})})),c=t.currentvalue.prefix?t.currentvalue.prefix:\"\";if(\"string\"==typeof n)c+=n;else{var d=t.steps[t.active].label,h=t._gd._fullLayout._meta;h&&(d=l.templateString(d,h)),c+=d}t.currentvalue.suffix&&(c+=t.currentvalue.suffix),s.call(o.font,t.currentvalue.font).text(c).call(u.convertToTspans,t._gd);var m=u.lineCount(s),g=(i.currentValueMaxLines+1-m)*t.currentvalue.font.size*p;return u.positionText(s,r,g),s}}function x(e,t,n){l.ensureSingle(e,\"rect\",f.gripRectClass,(function(r){r.call(M,t,e,n).style(\"pointer-events\",\"all\")})).attr({width:f.gripWidth,height:f.gripHeight,rx:f.gripRadius,ry:f.gripRadius}).call(i.stroke,n.bordercolor).call(i.fill,n.bgcolor).style(\"stroke-width\",n.borderwidth+\"px\")}function w(e,t,n){var r=l.ensureSingle(e,\"text\",f.labelClass,(function(e){e.attr({\"text-anchor\":\"middle\",\"data-notex\":1})})),a=t.step.label,i=n._gd._fullLayout._meta;return i&&(a=l.templateString(a,i)),r.call(o.font,n.font).text(a).call(u.convertToTspans,n._gd),r}function _(e,t){var n=l.ensureSingle(e,\"g\",f.labelsClass),a=t._dims,i=n.selectAll(\"g.\"+f.labelGroupClass).data(a.labelSteps);i.enter().append(\"g\").classed(f.labelGroupClass,!0),i.exit().remove(),i.each((function(e){var n=r.select(this);n.call(w,e,t),o.setTranslate(n,C(t,e.fraction),f.tickOffset+t.ticklen+t.font.size*p+f.labelOffset+a.currentValueTotalHeight)}))}function k(e,t,n,r,a){var i=Math.round(r*(n._stepCount-1)),o=n._visibleSteps[i]._index;o!==n.active&&T(e,t,n,o,!0,a)}function T(e,t,n,r,i,o){var l=n.active;n.active=r,c(e.layout,f.name,n).applyUpdate(\"active\",r);var s=n.steps[n.active];t.call(E,n,o),t.call(b,n),e.emit(\"plotly_sliderchange\",{slider:n,step:n.steps[n.active],interaction:i,previousActive:l}),s&&s.method&&i&&(t._nextMethod?(t._nextMethod.step=s,t._nextMethod.doCallback=i,t._nextMethod.doTransition=o):(t._nextMethod={step:s,doCallback:i,doTransition:o},t._nextMethodRaf=window.requestAnimationFrame((function(){var n=t._nextMethod.step;n.method&&(n.execute&&a.executeAPICommand(e,n.method,n.args),t._nextMethod=null,t._nextMethodRaf=null)}))))}function M(e,t,n){var a=n.node(),o=r.select(t);function l(){return n.data()[0]}function s(){var e=l();t.emit(\"plotly_sliderstart\",{slider:e});var s=n.select(\".\"+f.gripRectClass);r.event.stopPropagation(),r.event.preventDefault(),s.call(i.fill,e.activebgcolor);var u=O(e,r.mouse(a)[0]);function c(){var e=l(),i=O(e,r.mouse(a)[0]);k(t,n,e,i,!1)}function d(){var e=l();e._dragging=!1,s.call(i.fill,e.bgcolor),o.on(\"mouseup\",null),o.on(\"mousemove\",null),o.on(\"touchend\",null),o.on(\"touchmove\",null),t.emit(\"plotly_sliderend\",{slider:e,step:e.steps[e.active]})}k(t,n,e,u,!0),e._dragging=!0,o.on(\"mousemove\",c),o.on(\"touchmove\",c),o.on(\"mouseup\",d),o.on(\"touchend\",d)}e.on(\"mousedown\",s),e.on(\"touchstart\",s)}function S(e,t){var n=e.selectAll(\"rect.\"+f.tickRectClass).data(t._visibleSteps),a=t._dims;n.enter().append(\"rect\").classed(f.tickRectClass,!0),n.exit().remove(),n.attr({width:t.tickwidth+\"px\",\"shape-rendering\":\"crispEdges\"}),n.each((function(e,n){var l=n%a.labelStride==0,s=r.select(this);s.attr({height:l?t.ticklen:t.minorticklen}).call(i.fill,t.tickcolor),o.setTranslate(s,C(t,n/(t._stepCount-1))-.5*t.tickwidth,(l?f.tickOffset:f.minorTickOffset)+a.currentValueTotalHeight)}))}function E(e,t,n){for(var r=e.select(\"rect.\"+f.gripRectClass),a=0,i=0;i<t._stepCount;i++)if(t._visibleSteps[i]._index===t.active){a=i;break}var o=C(t,a/(t._stepCount-1));if(!t._invokingCommand){var l=r;n&&t.transition.duration>0&&(l=l.transition().duration(t.transition.duration).ease(t.transition.easing)),l.attr(\"transform\",s(o-.5*f.gripWidth,t._dims.currentValueTotalHeight))}}function C(e,t){var n=e._dims;return n.inputAreaStart+f.stepInset+(n.inputAreaLength-2*f.stepInset)*Math.min(1,Math.max(0,t))}function O(e,t){var n=e._dims;return Math.min(1,Math.max(0,(t-f.stepInset-n.inputAreaStart)/(n.inputAreaLength-2*f.stepInset-2*n.inputAreaStart)))}function A(e,t,n){var r=n._dims,a=l.ensureSingle(e,\"rect\",f.railTouchRectClass,(function(r){r.call(M,t,e,n).style(\"pointer-events\",\"all\")}));a.attr({width:r.inputAreaLength,height:Math.max(r.inputAreaWidth,f.tickOffset+n.ticklen+r.labelHeight)}).call(i.fill,n.bgcolor).attr(\"opacity\",0),o.setTranslate(a,0,r.currentValueTotalHeight)}function D(e,t){var n=t._dims,r=n.inputAreaLength-2*f.railInset,a=l.ensureSingle(e,\"rect\",f.railRectClass);a.attr({width:r,height:f.railWidth,rx:f.railRadius,ry:f.railRadius,\"shape-rendering\":\"crispEdges\"}).call(i.stroke,t.bordercolor).call(i.fill,t.bgcolor).style(\"stroke-width\",t.borderwidth+\"px\"),o.setTranslate(a,f.railInset,.5*(n.inputAreaWidth-f.railWidth)+n.currentValueTotalHeight)}t.exports=function(e){var t=e._fullLayout,n=function(e,t){for(var n=e[f.name],r=[],a=0;a<n.length;a++){var i=n[a];i.visible&&(i._gd=t,r.push(i))}return r}(t,e),i=t._infolayer.selectAll(\"g.\"+f.containerClassName).data(n.length>0?[0]:[]);function l(t){t._commandObserver&&(t._commandObserver.remove(),delete t._commandObserver),a.autoMargin(e,g(t))}if(i.enter().append(\"g\").classed(f.containerClassName,!0).style(\"cursor\",\"ew-resize\"),i.exit().each((function(){r.select(this).selectAll(\"g.\"+f.groupClassName).each(l)})).remove(),0!==n.length){var s=i.selectAll(\"g.\"+f.groupClassName).data(n,y);s.enter().append(\"g\").classed(f.groupClassName,!0),s.exit().each(l).remove();for(var u=0;u<n.length;u++){var c=n[u];v(e,c)}s.each((function(t){var n=r.select(this);!function(e){var t=e._dims;t.labelSteps=[];for(var n=e._stepCount,r=0;r<n;r+=t.labelStride)t.labelSteps.push({fraction:r/(n-1),step:e._visibleSteps[r]})}(t),a.manageCommandObserver(e,t,t._visibleSteps,(function(t){var r=n.data()[0];r.active!==t.index&&(r._dragging||T(e,n,r,t.index,!1,!0))})),function(e,t,n){(n.steps[n.active]||{}).visible||(n.active=n._visibleSteps[0]._index),t.call(b,n).call(D,n).call(_,n).call(S,n).call(A,e,n).call(x,e,n);var r=n._dims;o.setTranslate(t,r.lx+n.pad.l,r.ly+n.pad.t),t.call(E,n,!1),t.call(b,n)}(e,r.select(this),t)}))}}},{\"../../constants/alignment\":262,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../plot_api/plot_template\":323,\"../../plots/plots\":371,\"../color\":157,\"../drawing\":179,\"./constants\":251,\"@plotly/d3\":20}],254:[function(e,t,n){\"use strict\";var r=e(\"./constants\");t.exports={moduleType:\"component\",name:r.name,layoutAttributes:e(\"./attributes\"),supplyLayoutDefaults:e(\"./defaults\"),draw:e(\"./draw\")}},{\"./attributes\":250,\"./constants\":251,\"./defaults\":252,\"./draw\":253}],255:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"fast-isnumeric\"),i=e(\"../../plots/plots\"),o=e(\"../../registry\"),l=e(\"../../lib\"),s=l.strTranslate,u=e(\"../drawing\"),c=e(\"../color\"),f=e(\"../../lib/svg_text_utils\"),d=e(\"../../constants/interactions\"),p=e(\"../../constants/alignment\").OPPOSITE_SIDE,h=/ [XY][0-9]* /;t.exports={draw:function(e,t,n){var m,g=n.propContainer,y=n.propName,v=n.placeholder,b=n.traceIndex,x=n.avoid||{},w=n.attributes,_=n.transform,k=n.containerGroup,T=e._fullLayout,M=1,S=!1,E=g.title,C=(E&&E.text?E.text:\"\").trim(),O=E&&E.font?E.font:{},A=O.family,D=O.size,P=O.color;\"title.text\"===y?m=\"titleText\":-1!==y.indexOf(\"axis\")?m=\"axisTitleText\":y.indexOf(!0)&&(m=\"colorbarTitleText\");var R=e._context.edits[m];\"\"===C?M=0:C.replace(h,\" % \")===v.replace(h,\" % \")&&(M=.2,S=!0,R||(C=\"\")),n._meta?C=l.templateString(C,n._meta):T._meta&&(C=l.templateString(C,T._meta));var L,I=C||R;k||(k=l.ensureSingle(T._infolayer,\"g\",\"g-\"+t),L=T._hColorbarMoveTitle);var j=k.selectAll(\"text\").data(I?[0]:[]);if(j.enter().append(\"text\"),j.text(C).attr(\"class\",t),j.exit().remove(),!I)return k;function N(e){l.syncOrAsync([z,F],e)}function z(t){var n;return!_&&L&&(_={}),_?(n=\"\",_.rotate&&(n+=\"rotate(\"+[_.rotate,w.x,w.y]+\")\"),(_.offset||L)&&(n+=s(0,(_.offset||0)-(L||0)))):n=null,t.attr(\"transform\",n),t.style({\"font-family\":A,\"font-size\":r.round(D,2)+\"px\",fill:c.rgb(P),opacity:M*c.opacity(P),\"font-weight\":i.fontWeight}).attr(w).call(f.convertToTspans,e),i.previousPromises(e)}function F(e){var t=r.select(e.node().parentNode);if(x&&x.selection&&x.side&&C){t.attr(\"transform\",null);var n=p[x.side],i=\"left\"===x.side||\"top\"===x.side?-1:1,o=a(x.pad)?x.pad:2,c=u.bBox(t.node()),f={left:0,top:0,right:T.width,bottom:T.height},d=x.maxShift||i*(f[x.side]-c[x.side]),h=0;if(d<0)h=d;else{var m=x.offsetLeft||0,g=x.offsetTop||0;c.left-=m,c.right-=m,c.top-=g,c.bottom-=g,x.selection.each((function(){var e=u.bBox(this);l.bBoxIntersect(c,e,o)&&(h=Math.max(h,i*(e[x.side]-c[n])+o))})),h=Math.min(d,h)}if(h>0||d<0){var y={left:[-h,0],right:[h,0],top:[0,-h],bottom:[0,h]}[x.side];t.attr(\"transform\",s(y[0],y[1]))}}}return j.call(N),R&&(C?j.on(\".opacity\",null):(M=0,S=!0,j.text(v).on(\"mouseover.opacity\",(function(){r.select(this).transition().duration(d.SHOW_PLACEHOLDER).style(\"opacity\",1)})).on(\"mouseout.opacity\",(function(){r.select(this).transition().duration(d.HIDE_PLACEHOLDER).style(\"opacity\",0)}))),j.call(f.makeEditable,{gd:e}).on(\"edit\",(function(t){void 0!==b?o.call(\"_guiRestyle\",e,y,t,b):o.call(\"_guiRelayout\",e,y,t)})).on(\"cancel\",(function(){this.text(this.attr(\"data-unformatted\")).call(N)})).on(\"input\",(function(e){this.text(e||\" \").call(f.positionText,w.x,w.y)}))),j.classed(\"js-placeholder\",S),k}}},{\"../../constants/alignment\":262,\"../../constants/interactions\":266,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../plots/plots\":371,\"../../registry\":378,\"../color\":157,\"../drawing\":179,\"@plotly/d3\":20,\"fast-isnumeric\":33}],256:[function(e,t,n){\"use strict\";var r=e(\"../../plots/font_attributes\"),a=e(\"../color/attributes\"),i=e(\"../../lib/extend\").extendFlat,o=e(\"../../plot_api/edit_types\").overrideAll,l=e(\"../../plots/pad_attributes\"),s=e(\"../../plot_api/plot_template\").templatedArray,u=s(\"button\",{visible:{valType:\"boolean\"},method:{valType:\"enumerated\",values:[\"restyle\",\"relayout\",\"animate\",\"update\",\"skip\"],dflt:\"restyle\"},args:{valType:\"info_array\",freeLength:!0,items:[{valType:\"any\"},{valType:\"any\"},{valType:\"any\"}]},args2:{valType:\"info_array\",freeLength:!0,items:[{valType:\"any\"},{valType:\"any\"},{valType:\"any\"}]},label:{valType:\"string\",dflt:\"\"},execute:{valType:\"boolean\",dflt:!0}});t.exports=o(s(\"updatemenu\",{_arrayAttrRegexps:[/^updatemenus\\[(0|[1-9][0-9]+)\\]\\.buttons/],visible:{valType:\"boolean\"},type:{valType:\"enumerated\",values:[\"dropdown\",\"buttons\"],dflt:\"dropdown\"},direction:{valType:\"enumerated\",values:[\"left\",\"right\",\"up\",\"down\"],dflt:\"down\"},active:{valType:\"integer\",min:-1,dflt:0},showactive:{valType:\"boolean\",dflt:!0},buttons:u,x:{valType:\"number\",min:-2,max:3,dflt:-.05},xanchor:{valType:\"enumerated\",values:[\"auto\",\"left\",\"center\",\"right\"],dflt:\"right\"},y:{valType:\"number\",min:-2,max:3,dflt:1},yanchor:{valType:\"enumerated\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],dflt:\"top\"},pad:i(l({editType:\"arraydraw\"}),{}),font:r({}),bgcolor:{valType:\"color\"},bordercolor:{valType:\"color\",dflt:a.borderLine},borderwidth:{valType:\"number\",min:0,dflt:1,editType:\"arraydraw\"}}),\"arraydraw\",\"from-root\")},{\"../../lib/extend\":281,\"../../plot_api/edit_types\":316,\"../../plot_api/plot_template\":323,\"../../plots/font_attributes\":365,\"../../plots/pad_attributes\":370,\"../color/attributes\":156}],257:[function(e,t,n){\"use strict\";t.exports={name:\"updatemenus\",containerClassName:\"updatemenu-container\",headerGroupClassName:\"updatemenu-header-group\",headerClassName:\"updatemenu-header\",headerArrowClassName:\"updatemenu-header-arrow\",dropdownButtonGroupClassName:\"updatemenu-dropdown-button-group\",dropdownButtonClassName:\"updatemenu-dropdown-button\",buttonClassName:\"updatemenu-button\",itemRectClassName:\"updatemenu-item-rect\",itemTextClassName:\"updatemenu-item-text\",menuIndexAttrName:\"updatemenu-active-index\",autoMarginIdRoot:\"updatemenu-\",blankHeaderOpts:{label:\" \"},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:\"#F4FAFF\",hoverColor:\"#F4FAFF\",arrowSymbol:{left:\"◄\",right:\"►\",up:\"▲\",down:\"▼\"}}},{}],258:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/array_container_defaults\"),i=e(\"./attributes\"),o=e(\"./constants\").name,l=i.buttons;function s(e,t,n){function o(n,a){return r.coerce(e,t,i,n,a)}o(\"visible\",a(e,t,{name:\"buttons\",handleItemDefaults:u}).length>0)&&(o(\"active\"),o(\"direction\"),o(\"type\"),o(\"showactive\"),o(\"x\"),o(\"y\"),r.noneOrAll(e,t,[\"x\",\"y\"]),o(\"xanchor\"),o(\"yanchor\"),o(\"pad.t\"),o(\"pad.r\"),o(\"pad.b\"),o(\"pad.l\"),r.coerceFont(o,\"font\",n.font),o(\"bgcolor\",n.paper_bgcolor),o(\"bordercolor\"),o(\"borderwidth\"))}function u(e,t){function n(n,a){return r.coerce(e,t,l,n,a)}n(\"visible\",\"skip\"===e.method||Array.isArray(e.args))&&(n(\"method\"),n(\"args\"),n(\"args2\"),n(\"label\"),n(\"execute\"))}t.exports=function(e,t){a(e,t,{name:o,handleItemDefaults:s})}},{\"../../lib\":287,\"../../plots/array_container_defaults\":329,\"./attributes\":256,\"./constants\":257}],259:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../plots/plots\"),i=e(\"../color\"),o=e(\"../drawing\"),l=e(\"../../lib\"),s=e(\"../../lib/svg_text_utils\"),u=e(\"../../plot_api/plot_template\").arrayEditor,c=e(\"../../constants/alignment\").LINE_SPACING,f=e(\"./constants\"),d=e(\"./scrollbox\");function p(e){return e._index}function h(e,t){return+e.attr(f.menuIndexAttrName)===t._index}function m(e,t,n,r,a,i,o,l){t.active=o,u(e.layout,f.name,t).applyUpdate(\"active\",o),\"buttons\"===t.type?y(e,r,null,null,t):\"dropdown\"===t.type&&(a.attr(f.menuIndexAttrName,\"-1\"),g(e,r,a,i,t),l||y(e,r,a,i,t))}function g(e,t,n,r,a){var i=l.ensureSingle(t,\"g\",f.headerClassName,(function(e){e.style(\"pointer-events\",\"all\")})),s=a._dims,u=a.active,c=a.buttons[u]||f.blankHeaderOpts,d={y:a.pad.t,yPad:0,x:a.pad.l,xPad:0,index:0},p={width:s.headerWidth,height:s.headerHeight};i.call(v,a,c,e).call(S,a,d,p),l.ensureSingle(t,\"text\",f.headerArrowClassName,(function(e){e.attr(\"text-anchor\",\"end\").call(o.font,a.font).text(f.arrowSymbol[a.direction])})).attr({x:s.headerWidth-f.arrowOffsetX+a.pad.l,y:s.headerHeight/2+f.textOffsetY+a.pad.t}),i.on(\"click\",(function(){n.call(E,String(h(n,a)?-1:a._index)),y(e,t,n,r,a)})),i.on(\"mouseover\",(function(){i.call(_)})),i.on(\"mouseout\",(function(){i.call(k,a)})),o.setTranslate(t,s.lx,s.ly)}function y(e,t,n,i,o){n||(n=t).attr(\"pointer-events\",\"all\");var s=function(e){return-1==+e.attr(f.menuIndexAttrName)}(n)&&\"buttons\"!==o.type?[]:o.buttons,u=\"dropdown\"===o.type?f.dropdownButtonClassName:f.buttonClassName,c=n.selectAll(\"g.\"+u).data(l.filterVisible(s)),d=c.enter().append(\"g\").classed(u,!0),p=c.exit();\"dropdown\"===o.type?(d.attr(\"opacity\",\"0\").transition().attr(\"opacity\",\"1\"),p.transition().attr(\"opacity\",\"0\").remove()):p.remove();var h=0,g=0,y=o._dims,b=-1!==[\"up\",\"down\"].indexOf(o.direction);\"dropdown\"===o.type&&(b?g=y.headerHeight+f.gapButtonHeader:h=y.headerWidth+f.gapButtonHeader),\"dropdown\"===o.type&&\"up\"===o.direction&&(g=-f.gapButtonHeader+f.gapButton-y.openHeight),\"dropdown\"===o.type&&\"left\"===o.direction&&(h=-f.gapButtonHeader+f.gapButton-y.openWidth);var x={x:y.lx+h+o.pad.l,y:y.ly+g+o.pad.t,yPad:f.gapButton,xPad:f.gapButton,index:0},T={l:x.x+o.borderwidth,t:x.y+o.borderwidth};c.each((function(l,s){var u=r.select(this);u.call(v,o,l,e).call(S,o,x),u.on(\"click\",(function(){r.event.defaultPrevented||(l.execute&&(l.args2&&o.active===s?(m(e,o,0,t,n,i,-1),a.executeAPICommand(e,l.method,l.args2)):(m(e,o,0,t,n,i,s),a.executeAPICommand(e,l.method,l.args))),e.emit(\"plotly_buttonclicked\",{menu:o,button:l,active:o.active}))})),u.on(\"mouseover\",(function(){u.call(_)})),u.on(\"mouseout\",(function(){u.call(k,o),c.call(w,o)}))})),c.call(w,o),b?(T.w=Math.max(y.openWidth,y.headerWidth),T.h=x.y-T.t):(T.w=x.x-T.l,T.h=Math.max(y.openHeight,y.headerHeight)),T.direction=o.direction,i&&(c.size()?function(e,t,n,r,a,i){var o,l,s,u=a.direction,c=\"up\"===u||\"down\"===u,d=a._dims,p=a.active;if(c)for(l=0,s=0;s<p;s++)l+=d.heights[s]+f.gapButton;else for(o=0,s=0;s<p;s++)o+=d.widths[s]+f.gapButton;r.enable(i,o,l),r.hbar&&r.hbar.attr(\"opacity\",\"0\").transition().attr(\"opacity\",\"1\"),r.vbar&&r.vbar.attr(\"opacity\",\"0\").transition().attr(\"opacity\",\"1\")}(0,0,0,i,o,T):function(e){var t=!!e.hbar,n=!!e.vbar;t&&e.hbar.transition().attr(\"opacity\",\"0\").each(\"end\",(function(){t=!1,n||e.disable()})),n&&e.vbar.transition().attr(\"opacity\",\"0\").each(\"end\",(function(){n=!1,t||e.disable()}))}(i))}function v(e,t,n,r){e.call(b,t).call(x,t,n,r)}function b(e,t){l.ensureSingle(e,\"rect\",f.itemRectClassName,(function(e){e.attr({rx:f.rx,ry:f.ry,\"shape-rendering\":\"crispEdges\"})})).call(i.stroke,t.bordercolor).call(i.fill,t.bgcolor).style(\"stroke-width\",t.borderwidth+\"px\")}function x(e,t,n,r){var a=l.ensureSingle(e,\"text\",f.itemTextClassName,(function(e){e.attr({\"text-anchor\":\"start\",\"data-notex\":1})})),i=n.label,u=r._fullLayout._meta;u&&(i=l.templateString(i,u)),a.call(o.font,t.font).text(i).call(s.convertToTspans,r)}function w(e,t){var n=t.active;e.each((function(e,a){var o=r.select(this);a===n&&t.showactive&&o.select(\"rect.\"+f.itemRectClassName).call(i.fill,f.activeColor)}))}function _(e){e.select(\"rect.\"+f.itemRectClassName).call(i.fill,f.hoverColor)}function k(e,t){e.select(\"rect.\"+f.itemRectClassName).call(i.fill,t.bgcolor)}function T(e,t){var n=t._dims={width1:0,height1:0,heights:[],widths:[],totalWidth:0,totalHeight:0,openWidth:0,openHeight:0,lx:0,ly:0},i=o.tester.selectAll(\"g.\"+f.dropdownButtonClassName).data(l.filterVisible(t.buttons));i.enter().append(\"g\").classed(f.dropdownButtonClassName,!0);var u=-1!==[\"up\",\"down\"].indexOf(t.direction);i.each((function(a,i){var l=r.select(this);l.call(v,t,a,e);var d=l.select(\".\"+f.itemTextClassName),p=d.node()&&o.bBox(d.node()).width,h=Math.max(p+f.textPadX,f.minWidth),m=t.font.size*c,g=s.lineCount(d),y=Math.max(m*g,f.minHeight)+f.textOffsetY;y=Math.ceil(y),h=Math.ceil(h),n.widths[i]=h,n.heights[i]=y,n.height1=Math.max(n.height1,y),n.width1=Math.max(n.width1,h),u?(n.totalWidth=Math.max(n.totalWidth,h),n.openWidth=n.totalWidth,n.totalHeight+=y+f.gapButton,n.openHeight+=y+f.gapButton):(n.totalWidth+=h+f.gapButton,n.openWidth+=h+f.gapButton,n.totalHeight=Math.max(n.totalHeight,y),n.openHeight=n.totalHeight)})),u?n.totalHeight-=f.gapButton:n.totalWidth-=f.gapButton,n.headerWidth=n.width1+f.arrowPadX,n.headerHeight=n.height1,\"dropdown\"===t.type&&(u?(n.width1+=f.arrowPadX,n.totalHeight=n.height1):n.totalWidth=n.width1,n.totalWidth+=f.arrowPadX),i.remove();var d=n.totalWidth+t.pad.l+t.pad.r,p=n.totalHeight+t.pad.t+t.pad.b,h=e._fullLayout._size;n.lx=h.l+h.w*t.x,n.ly=h.t+h.h*(1-t.y);var m=\"left\";l.isRightAnchor(t)&&(n.lx-=d,m=\"right\"),l.isCenterAnchor(t)&&(n.lx-=d/2,m=\"center\");var g=\"top\";l.isBottomAnchor(t)&&(n.ly-=p,g=\"bottom\"),l.isMiddleAnchor(t)&&(n.ly-=p/2,g=\"middle\"),n.totalWidth=Math.ceil(n.totalWidth),n.totalHeight=Math.ceil(n.totalHeight),n.lx=Math.round(n.lx),n.ly=Math.round(n.ly),a.autoMargin(e,M(t),{x:t.x,y:t.y,l:d*({right:1,center:.5}[m]||0),r:d*({left:1,center:.5}[m]||0),b:p*({top:1,middle:.5}[g]||0),t:p*({bottom:1,middle:.5}[g]||0)})}function M(e){return f.autoMarginIdRoot+e._index}function S(e,t,n,r){r=r||{};var a=e.select(\".\"+f.itemRectClassName),i=e.select(\".\"+f.itemTextClassName),l=t.borderwidth,u=n.index,d=t._dims;o.setTranslate(e,l+n.x,l+n.y);var p=-1!==[\"up\",\"down\"].indexOf(t.direction),h=r.height||(p?d.heights[u]:d.height1);a.attr({x:0,y:0,width:r.width||(p?d.width1:d.widths[u]),height:h});var m=t.font.size*c,g=(s.lineCount(i)-1)*m/2;s.positionText(i,f.textOffsetX,h/2-g+f.textOffsetY),p?n.y+=d.heights[u]+n.yPad:n.x+=d.widths[u]+n.xPad,n.index++}function E(e,t){e.attr(f.menuIndexAttrName,t||\"-1\").selectAll(\"g.\"+f.dropdownButtonClassName).remove()}t.exports=function(e){var t=e._fullLayout,n=l.filterVisible(t[f.name]);function i(t){a.autoMargin(e,M(t))}var o=t._menulayer.selectAll(\"g.\"+f.containerClassName).data(n.length>0?[0]:[]);if(o.enter().append(\"g\").classed(f.containerClassName,!0).style(\"cursor\",\"pointer\"),o.exit().each((function(){r.select(this).selectAll(\"g.\"+f.headerGroupClassName).each(i)})).remove(),0!==n.length){var s=o.selectAll(\"g.\"+f.headerGroupClassName).data(n,p);s.enter().append(\"g\").classed(f.headerGroupClassName,!0);for(var u=l.ensureSingle(o,\"g\",f.dropdownButtonGroupClassName,(function(e){e.style(\"pointer-events\",\"all\")})),c=0;c<n.length;c++){var v=n[c];T(e,v)}var b=\"updatemenus\"+t._uid,x=new d(e,u,b);s.enter().size()&&(u.node().parentNode.appendChild(u.node()),u.call(E)),s.exit().each((function(e){u.call(E),i(e)})).remove(),s.each((function(t){var n=r.select(this),i=\"dropdown\"===t.type?u:null;a.manageCommandObserver(e,t,t.buttons,(function(r){m(e,t,t.buttons[r.index],n,i,x,r.index,!0)})),\"dropdown\"===t.type?(g(e,n,u,x,t),h(u,t)&&y(e,n,u,x,t)):y(e,n,null,null,t)}))}}},{\"../../constants/alignment\":262,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../plot_api/plot_template\":323,\"../../plots/plots\":371,\"../color\":157,\"../drawing\":179,\"./constants\":257,\"./scrollbox\":261,\"@plotly/d3\":20}],260:[function(e,t,n){arguments[4][254][0].apply(n,arguments)},{\"./attributes\":256,\"./constants\":257,\"./defaults\":258,\"./draw\":259,dup:254}],261:[function(e,t,n){\"use strict\";t.exports=l;var r=e(\"@plotly/d3\"),a=e(\"../color\"),i=e(\"../drawing\"),o=e(\"../../lib\");function l(e,t,n){this.gd=e,this.container=t,this.id=n,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll(\"rect.scrollbox-bg\").data([0]),this.bg.exit().on(\".drag\",null).on(\"wheel\",null).remove(),this.bg.enter().append(\"rect\").classed(\"scrollbox-bg\",!0).style(\"pointer-events\",\"all\").attr({opacity:0,x:0,y:0,width:0,height:0})}l.barWidth=2,l.barLength=20,l.barRadius=2,l.barPad=1,l.barColor=\"#808BA4\",l.prototype.enable=function(e,t,n){var o=this.gd._fullLayout,s=o.width,u=o.height;this.position=e;var c,f,d,p,h=this.position.l,m=this.position.w,g=this.position.t,y=this.position.h,v=this.position.direction,b=\"down\"===v,x=\"left\"===v,w=\"up\"===v,_=m,k=y;b||x||\"right\"===v||w||(this.position.direction=\"down\",b=!0),b||w?(f=(c=h)+_,b?(d=g,k=(p=Math.min(d+k,u))-d):k=(p=g+k)-(d=Math.max(p-k,0))):(p=(d=g)+k,x?_=(f=h+_)-(c=Math.max(f-_,0)):(c=h,_=(f=Math.min(c+_,s))-c)),this._box={l:c,t:d,w:_,h:k};var T=m>_,M=l.barLength+2*l.barPad,S=l.barWidth+2*l.barPad,E=h,C=g+y;C+S>u&&(C=u-S);var O=this.container.selectAll(\"rect.scrollbar-horizontal\").data(T?[0]:[]);O.exit().on(\".drag\",null).remove(),O.enter().append(\"rect\").classed(\"scrollbar-horizontal\",!0).call(a.fill,l.barColor),T?(this.hbar=O.attr({rx:l.barRadius,ry:l.barRadius,x:E,y:C,width:M,height:S}),this._hbarXMin=E+M/2,this._hbarTranslateMax=_-M):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var A=y>k,D=l.barWidth+2*l.barPad,P=l.barLength+2*l.barPad,R=h+m,L=g;R+D>s&&(R=s-D);var I=this.container.selectAll(\"rect.scrollbar-vertical\").data(A?[0]:[]);I.exit().on(\".drag\",null).remove(),I.enter().append(\"rect\").classed(\"scrollbar-vertical\",!0).call(a.fill,l.barColor),A?(this.vbar=I.attr({rx:l.barRadius,ry:l.barRadius,x:R,y:L,width:D,height:P}),this._vbarYMin=L+P/2,this._vbarTranslateMax=k-P):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var j=this.id,N=c-.5,z=A?f+D+.5:f+.5,F=d-.5,Z=T?p+S+.5:p+.5,B=o._topdefs.selectAll(\"#\"+j).data(T||A?[0]:[]);if(B.exit().remove(),B.enter().append(\"clipPath\").attr(\"id\",j).append(\"rect\"),T||A?(this._clipRect=B.select(\"rect\").attr({x:Math.floor(N),y:Math.floor(F),width:Math.ceil(z)-Math.floor(N),height:Math.ceil(Z)-Math.floor(F)}),this.container.call(i.setClipUrl,j,this.gd),this.bg.attr({x:h,y:g,width:m,height:y})):(this.bg.attr({width:0,height:0}),this.container.on(\"wheel\",null).on(\".drag\",null).call(i.setClipUrl,null),delete this._clipRect),T||A){var q=r.behavior.drag().on(\"dragstart\",(function(){r.event.sourceEvent.preventDefault()})).on(\"drag\",this._onBoxDrag.bind(this));this.container.on(\"wheel\",null).on(\"wheel\",this._onBoxWheel.bind(this)).on(\".drag\",null).call(q);var H=r.behavior.drag().on(\"dragstart\",(function(){r.event.sourceEvent.preventDefault(),r.event.sourceEvent.stopPropagation()})).on(\"drag\",this._onBarDrag.bind(this));T&&this.hbar.on(\".drag\",null).call(H),A&&this.vbar.on(\".drag\",null).call(H)}this.setTranslate(t,n)},l.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on(\"wheel\",null).on(\".drag\",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(\".drag\",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(\".drag\",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},l.prototype._onBoxDrag=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e-=r.event.dx),this.vbar&&(t-=r.event.dy),this.setTranslate(e,t)},l.prototype._onBoxWheel=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e+=r.event.deltaY),this.vbar&&(t+=r.event.deltaY),this.setTranslate(e,t)},l.prototype._onBarDrag=function(){var e=this.translateX,t=this.translateY;if(this.hbar){var n=e+this._hbarXMin,a=n+this._hbarTranslateMax;e=(o.constrain(r.event.x,n,a)-n)/(a-n)*(this.position.w-this._box.w)}if(this.vbar){var i=t+this._vbarYMin,l=i+this._vbarTranslateMax;t=(o.constrain(r.event.y,i,l)-i)/(l-i)*(this.position.h-this._box.h)}this.setTranslate(e,t)},l.prototype.setTranslate=function(e,t){var n=this.position.w-this._box.w,r=this.position.h-this._box.h;if(e=o.constrain(e||0,0,n),t=o.constrain(t||0,0,r),this.translateX=e,this.translateY=t,this.container.call(i.setTranslate,this._box.l-this.position.l-e,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+e-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var a=e/n;this.hbar.call(i.setTranslate,e+a*this._hbarTranslateMax,t)}if(this.vbar){var l=t/r;this.vbar.call(i.setTranslate,e,t+l*this._vbarTranslateMax)}}},{\"../../lib\":287,\"../color\":157,\"../drawing\":179,\"@plotly/d3\":20}],262:[function(e,t,n){\"use strict\";t.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:\"right\",right:\"left\",top:\"bottom\",bottom:\"top\"}}},{}],263:[function(e,t,n){\"use strict\";t.exports={axisRefDescription:function(e,t,n){return[\"If set to a\",e,\"axis id (e.g. *\"+e+\"* or\",\"*\"+e+\"2*), the `\"+e+\"` position refers to a\",e,\"coordinate. If set to *paper*, the `\"+e+\"`\",\"position refers to the distance from the\",t,\"of the plotting\",\"area in normalized coordinates where *0* (*1*) corresponds to the\",t,\"(\"+n+\"). If set to a\",e,\"axis ID followed by\",\"*domain* (separated by a space), the position behaves like for\",\"*paper*, but refers to the distance in fractions of the domain\",\"length from the\",t,\"of the domain of that axis: e.g.,\",\"*\"+e+\"2 domain* refers to the domain of the second\",e,\" axis and a\",e,\"position of 0.5 refers to the\",\"point between the\",t,\"and the\",n,\"of the domain of the\",\"second\",e,\"axis.\"].join(\" \")}}},{}],264:[function(e,t,n){\"use strict\";t.exports={FORMAT_LINK:\"https://github.com/d3/d3-format/tree/v1.4.5#d3-format\",DATE_FORMAT_LINK:\"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format\"}},{}],265:[function(e,t,n){\"use strict\";t.exports={COMPARISON_OPS:[\"=\",\"!=\",\"<\",\">=\",\">\",\"<=\"],COMPARISON_OPS2:[\"=\",\"<\",\">=\",\">\",\"<=\"],INTERVAL_OPS:[\"[]\",\"()\",\"[)\",\"(]\",\"][\",\")(\",\"](\",\")[\"],SET_OPS:[\"{}\",\"}{\"],CONSTRAINT_REDUCTION:{\"=\":\"=\",\"<\":\"<\",\"<=\":\"<\",\">\":\">\",\">=\":\">\",\"[]\":\"[]\",\"()\":\"[]\",\"[)\":\"[]\",\"(]\":\"[]\",\"][\":\"][\",\")(\":\"][\",\"](\":\"][\",\")[\":\"][\"}}},{}],266:[function(e,t,n){\"use strict\";t.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},{}],267:[function(e,t,n){\"use strict\";t.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:\"−\"}},{}],268:[function(e,t,n){\"use strict\";n.xmlns=\"http://www.w3.org/2000/xmlns/\",n.svg=\"http://www.w3.org/2000/svg\",n.xlink=\"http://www.w3.org/1999/xlink\",n.svgAttrs={xmlns:n.svg,\"xmlns:xlink\":n.xlink}},{}],269:[function(e,t,n){\"use strict\";n.version=e(\"./version\").version,e(\"native-promise-only\"),e(\"../build/plotcss\");for(var r=e(\"./registry\"),a=n.register=r.register,i=e(\"./plot_api\"),o=Object.keys(i),l=0;l<o.length;l++){var s=o[l];\"_\"!==s.charAt(0)&&(n[s]=i[s]),a({moduleType:\"apiMethod\",name:s,fn:i[s]})}a(e(\"./traces/scatter\")),a([e(\"./components/legend\"),e(\"./components/fx\"),e(\"./components/annotations\"),e(\"./components/annotations3d\"),e(\"./components/shapes\"),e(\"./components/images\"),e(\"./components/updatemenus\"),e(\"./components/sliders\"),e(\"./components/rangeslider\"),e(\"./components/rangeselector\"),e(\"./components/grid\"),e(\"./components/errorbars\"),e(\"./components/colorscale\"),e(\"./components/colorbar\"),e(\"./components/modebar\")]),a([e(\"./locale-en\"),e(\"./locale-en-us\")]),window.PlotlyLocales&&Array.isArray(window.PlotlyLocales)&&(a(window.PlotlyLocales),delete window.PlotlyLocales),n.Icons=e(\"./fonts/ploticon\");var u=e(\"./components/fx\"),c=e(\"./plots/plots\");n.Plots={resize:c.resize,graphJson:c.graphJson,sendDataToCloud:c.sendDataToCloud},n.Fx={hover:u.hover,unhover:u.unhover,loneHover:u.loneHover,loneUnhover:u.loneUnhover},n.Snapshot=e(\"./snapshot\"),n.PlotSchema=e(\"./plot_api/plot_schema\")},{\"../build/plotcss\":1,\"./components/annotations\":148,\"./components/annotations3d\":153,\"./components/colorbar\":163,\"./components/colorscale\":169,\"./components/errorbars\":185,\"./components/fx\":197,\"./components/grid\":201,\"./components/images\":206,\"./components/legend\":214,\"./components/modebar\":220,\"./components/rangeselector\":228,\"./components/rangeslider\":235,\"./components/shapes\":249,\"./components/sliders\":254,\"./components/updatemenus\":260,\"./fonts/ploticon\":270,\"./locale-en\":314,\"./locale-en-us\":313,\"./plot_api\":318,\"./plot_api/plot_schema\":322,\"./plots/plots\":371,\"./registry\":378,\"./snapshot\":383,\"./traces/scatter\":512,\"./version\":552,\"native-promise-only\":72}],270:[function(e,t,n){\"use strict\";t.exports={undo:{width:857.1,height:1e3,path:\"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z\",transform:\"matrix(1 0 0 -1 0 850)\"},home:{width:928.6,height:1e3,path:\"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z\",transform:\"matrix(1 0 0 -1 0 850)\"},\"camera-retro\":{width:1e3,height:1e3,path:\"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z\",transform:\"matrix(1 0 0 -1 0 850)\"},zoombox:{width:1e3,height:1e3,path:\"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z\",transform:\"matrix(1 0 0 -1 0 850)\"},pan:{width:1e3,height:1e3,path:\"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z\",transform:\"matrix(1 0 0 -1 0 850)\"},zoom_plus:{width:875,height:1e3,path:\"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z\",transform:\"matrix(1 0 0 -1 0 850)\"},zoom_minus:{width:875,height:1e3,path:\"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z\",transform:\"matrix(1 0 0 -1 0 850)\"},autoscale:{width:1e3,height:1e3,path:\"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z\",transform:\"matrix(1 0 0 -1 0 850)\"},tooltip_basic:{width:1500,height:1e3,path:\"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z\",transform:\"matrix(1 0 0 -1 0 850)\"},tooltip_compare:{width:1125,height:1e3,path:\"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z\",transform:\"matrix(1 0 0 -1 0 850)\"},plotlylogo:{width:1542,height:1e3,path:\"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z\",transform:\"matrix(1 0 0 -1 0 850)\"},\"z-axis\":{width:1e3,height:1e3,path:\"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z\",transform:\"matrix(1 0 0 -1 0 850)\"},\"3d_rotate\":{width:1e3,height:1e3,path:\"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z\",transform:\"matrix(1 0 0 -1 0 850)\"},camera:{width:1e3,height:1e3,path:\"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z\",transform:\"matrix(1 0 0 -1 0 850)\"},movie:{width:1e3,height:1e3,path:\"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z\",transform:\"matrix(1 0 0 -1 0 850)\"},question:{width:857.1,height:1e3,path:\"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z\",transform:\"matrix(1 0 0 -1 0 850)\"},disk:{width:857.1,height:1e3,path:\"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z\",transform:\"matrix(1 0 0 -1 0 850)\"},drawopenpath:{width:70,height:70,path:\"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z\",transform:\"matrix(1 0 0 1 -15 -15)\"},drawclosedpath:{width:90,height:90,path:\"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z\",transform:\"matrix(1 0 0 1 -5 -5)\"},lasso:{width:1031,height:1e3,path:\"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z\",transform:\"matrix(1 0 0 -1 0 850)\"},selectbox:{width:1e3,height:1e3,path:\"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z\",transform:\"matrix(1 0 0 -1 0 850)\"},drawline:{width:70,height:70,path:\"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z\",transform:\"matrix(1 0 0 1 -15 -15)\"},drawrect:{width:80,height:80,path:\"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z\",transform:\"matrix(1 0 0 1 -10 -10)\"},drawcircle:{width:80,height:80,path:\"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z\",transform:\"matrix(1 0 0 1 -10 -10)\"},eraseshape:{width:80,height:80,path:\"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z\",transform:\"matrix(1 0 0 1 -10 -10)\"},spikeline:{width:1e3,height:1e3,path:\"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z\",transform:\"matrix(1.5 0 0 -1.5 0 850)\"},pencil:{width:1792,height:1792,path:\"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z\",transform:\"matrix(1 0 0 1 0 1)\"},newplotlylogo:{name:\"newplotlylogo\",svg:\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'><defs><style>.cls-1 {fill: #3f4f75;} .cls-2 {fill: #80cfbe;} .cls-3 {fill: #fff;}</style></defs><title>plotly-logomark</title><g id='symbol'><rect class='cls-1' width='132' height='132' rx='6' ry='6'/><circle class='cls-2' cx='78' cy='54' r='6'/><circle class='cls-2' cx='102' cy='30' r='6'/><circle class='cls-2' cx='78' cy='30' r='6'/><circle class='cls-2' cx='54' cy='30' r='6'/><circle class='cls-2' cx='30' cy='30' r='6'/><circle class='cls-2' cx='30' cy='54' r='6'/><path class='cls-3' d='M30,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,30,72Z'/><path class='cls-3' d='M78,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,78,72Z'/><path class='cls-3' d='M54,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,54,48Z'/><path class='cls-3' d='M102,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,102,48Z'/></g></svg>\"}}},{}],271:[function(e,t,n){\"use strict\";n.isLeftAnchor=function(e){return\"left\"===e.xanchor||\"auto\"===e.xanchor&&e.x<=1/3},n.isCenterAnchor=function(e){return\"center\"===e.xanchor||\"auto\"===e.xanchor&&e.x>1/3&&e.x<2/3},n.isRightAnchor=function(e){return\"right\"===e.xanchor||\"auto\"===e.xanchor&&e.x>=2/3},n.isTopAnchor=function(e){return\"top\"===e.yanchor||\"auto\"===e.yanchor&&e.y>=2/3},n.isMiddleAnchor=function(e){return\"middle\"===e.yanchor||\"auto\"===e.yanchor&&e.y>1/3&&e.y<2/3},n.isBottomAnchor=function(e){return\"bottom\"===e.yanchor||\"auto\"===e.yanchor&&e.y<=1/3}},{}],272:[function(e,t,n){\"use strict\";var r=e(\"./mod\"),a=r.mod,i=r.modHalf,o=Math.PI,l=2*o;function s(e){return Math.abs(e[1]-e[0])>l-1e-14}function u(e,t){return i(t-e,l)}function c(e,t){if(s(t))return!0;var n,r;t[0]<t[1]?(n=t[0],r=t[1]):(n=t[1],r=t[0]),(n=a(n,l))>(r=a(r,l))&&(r+=l);var i=a(e,l),o=i+l;return i>=n&&i<=r||o>=n&&o<=r}function f(e,t,n,r,a,i,u){a=a||0,i=i||0;var c,f,d,p,h,m=s([n,r]);function g(e,t){return[e*Math.cos(t)+a,i-e*Math.sin(t)]}m?(c=0,f=o,d=l):n<r?(c=n,d=r):(c=r,d=n),e<t?(p=e,h=t):(p=t,h=e);var y,v=Math.abs(d-c)<=o?0:1;function b(e,t,n){return\"A\"+[e,e]+\" \"+[0,v,n]+\" \"+g(e,t)}return m?y=null===p?\"M\"+g(h,c)+b(h,f,0)+b(h,d,0)+\"Z\":\"M\"+g(p,c)+b(p,f,0)+b(p,d,0)+\"ZM\"+g(h,c)+b(h,f,1)+b(h,d,1)+\"Z\":null===p?(y=\"M\"+g(h,c)+b(h,d,0),u&&(y+=\"L0,0Z\")):y=\"M\"+g(p,c)+\"L\"+g(h,c)+b(h,d,0)+\"L\"+g(p,d)+b(p,c,1)+\"Z\",y}t.exports={deg2rad:function(e){return e/180*o},rad2deg:function(e){return e/o*180},angleDelta:u,angleDist:function(e,t){return Math.abs(u(e,t))},isFullCircle:s,isAngleInsideSector:c,isPtInsideSector:function(e,t,n,r){return!!c(t,r)&&(n[0]<n[1]?(a=n[0],i=n[1]):(a=n[1],i=n[0]),e>=a&&e<=i);var a,i},pathArc:function(e,t,n,r,a){return f(null,e,t,n,r,a,0)},pathSector:function(e,t,n,r,a){return f(null,e,t,n,r,a,1)},pathAnnulus:function(e,t,n,r,a,i){return f(e,t,n,r,a,i,1)}}},{\"./mod\":294}],273:[function(e,t,n){\"use strict\";var r=Array.isArray,a=ArrayBuffer,i=DataView;function o(e){return a.isView(e)&&!(e instanceof i)}function l(e){return r(e)||o(e)}function s(e,t,n){if(l(e)){if(l(e[0])){for(var r=n,a=0;a<e.length;a++)r=t(r,e[a].length);return r}return e.length}return 0}n.isTypedArray=o,n.isArrayOrTypedArray=l,n.isArray1D=function(e){return!l(e[0])},n.ensureArray=function(e,t){return r(e)||(e=[]),e.length=t,e},n.concat=function(){var e,t,n,a,i,o,l,s,u=[],c=!0,f=0;for(n=0;n<arguments.length;n++)(o=(a=arguments[n]).length)&&(t?u.push(a):(t=a,i=o),r(a)?e=!1:(c=!1,f?e!==a.constructor&&(e=!1):e=a.constructor),f+=o);if(!f)return[];if(!u.length)return t;if(c)return t.concat.apply(t,u);if(e){for((l=new e(f)).set(t),n=0;n<u.length;n++)a=u[n],l.set(a,i),i+=a.length;return l}for(l=new Array(f),s=0;s<t.length;s++)l[s]=t[s];for(n=0;n<u.length;n++){for(a=u[n],s=0;s<a.length;s++)l[i+s]=a[s];i+=s}return l},n.maxRowLength=function(e){return s(e,Math.max,0)},n.minRowLength=function(e){return s(e,Math.min,1/0)}},{}],274:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../constants/numerical\").BADNUM,i=/^['\"%,$#\\s']+|[, ]|['\"%,$#\\s']+$/g;t.exports=function(e){return\"string\"==typeof e&&(e=e.replace(i,\"\")),r(e)?Number(e):a}},{\"../constants/numerical\":267,\"fast-isnumeric\":33}],275:[function(e,t,n){\"use strict\";t.exports=function(e){var t=e._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each((function(e){e.regl&&e.regl.clear({color:!0,depth:!0})}))}},{}],276:[function(e,t,n){\"use strict\";t.exports=function(e){e._responsiveChartHandler&&(window.removeEventListener(\"resize\",e._responsiveChartHandler),delete e._responsiveChartHandler)}},{}],277:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"tinycolor2\"),i=e(\"../plots/attributes\"),o=e(\"../components/colorscale/scales\"),l=e(\"../components/color\"),s=e(\"../constants/interactions\").DESELECTDIM,u=e(\"./nested_property\"),c=e(\"./regex\").counter,f=e(\"./mod\").modHalf,d=e(\"./array\").isArrayOrTypedArray;function p(e,t){var r=n.valObjectMeta[t.valType];if(t.arrayOk&&d(e))return!0;if(r.validateFunction)return r.validateFunction(e,t);var a={},i=a,o={set:function(e){i=e}};return r.coerceFunction(e,o,a,t),i!==a}n.valObjectMeta={data_array:{coerceFunction:function(e,t,n){d(e)?t.set(e):void 0!==n&&t.set(n)}},enumerated:{coerceFunction:function(e,t,n,r){r.coerceNumber&&(e=+e),-1===r.values.indexOf(e)?t.set(n):t.set(e)},validateFunction:function(e,t){t.coerceNumber&&(e=+e);for(var n=t.values,r=0;r<n.length;r++){var a=String(n[r]);if(\"/\"===a.charAt(0)&&\"/\"===a.charAt(a.length-1)){if(new RegExp(a.substr(1,a.length-2)).test(e))return!0}else if(e===n[r])return!0}return!1}},boolean:{coerceFunction:function(e,t,n){!0===e||!1===e?t.set(e):t.set(n)}},number:{coerceFunction:function(e,t,n,a){!r(e)||void 0!==a.min&&e<a.min||void 0!==a.max&&e>a.max?t.set(n):t.set(+e)}},integer:{coerceFunction:function(e,t,n,a){e%1||!r(e)||void 0!==a.min&&e<a.min||void 0!==a.max&&e>a.max?t.set(n):t.set(+e)}},string:{coerceFunction:function(e,t,n,r){if(\"string\"!=typeof e){var a=\"number\"==typeof e;!0!==r.strict&&a?t.set(String(e)):t.set(n)}else r.noBlank&&!e?t.set(n):t.set(e)}},color:{coerceFunction:function(e,t,n){a(e).isValid()?t.set(e):t.set(n)}},colorlist:{coerceFunction:function(e,t,n){Array.isArray(e)&&e.length&&e.every((function(e){return a(e).isValid()}))?t.set(e):t.set(n)}},colorscale:{coerceFunction:function(e,t,n){t.set(o.get(e,n))}},angle:{coerceFunction:function(e,t,n){\"auto\"===e?t.set(\"auto\"):r(e)?t.set(f(+e,360)):t.set(n)}},subplotid:{coerceFunction:function(e,t,n,r){var a=r.regex||c(n);\"string\"==typeof e&&a.test(e)?t.set(e):t.set(n)},validateFunction:function(e,t){var n=t.dflt;return e===n||\"string\"==typeof e&&!!c(n).test(e)}},flaglist:{coerceFunction:function(e,t,n,r){if(\"string\"==typeof e)if(-1===(r.extras||[]).indexOf(e)){for(var a=e.split(\"+\"),i=0;i<a.length;){var o=a[i];-1===r.flags.indexOf(o)||a.indexOf(o)<i?a.splice(i,1):i++}a.length?t.set(a.join(\"+\")):t.set(n)}else t.set(e);else t.set(n)}},any:{coerceFunction:function(e,t,n){void 0===e?t.set(n):t.set(e)}},info_array:{coerceFunction:function(e,t,r,a){function i(e,t,r){var a,i={set:function(e){a=e}};return void 0===r&&(r=t.dflt),n.valObjectMeta[t.valType].coerceFunction(e,i,r,t),a}var o=2===a.dimensions||\"1-2\"===a.dimensions&&Array.isArray(e)&&Array.isArray(e[0]);if(Array.isArray(e)){var l,s,u,c,f,d,p=a.items,h=[],m=Array.isArray(p),g=m&&o&&Array.isArray(p[0]),y=o&&m&&!g,v=m&&!y?p.length:e.length;if(r=Array.isArray(r)?r:[],o)for(l=0;l<v;l++)for(h[l]=[],u=Array.isArray(e[l])?e[l]:[],f=y?p.length:m?p[l].length:u.length,s=0;s<f;s++)c=y?p[s]:m?p[l][s]:p,void 0!==(d=i(u[s],c,(r[l]||[])[s]))&&(h[l][s]=d);else for(l=0;l<v;l++)void 0!==(d=i(e[l],m?p[l]:p,r[l]))&&(h[l]=d);t.set(h)}else t.set(r)},validateFunction:function(e,t){if(!Array.isArray(e))return!1;var n=t.items,r=Array.isArray(n),a=2===t.dimensions;if(!t.freeLength&&e.length!==n.length)return!1;for(var i=0;i<e.length;i++)if(a){if(!Array.isArray(e[i])||!t.freeLength&&e[i].length!==n[i].length)return!1;for(var o=0;o<e[i].length;o++)if(!p(e[i][o],r?n[i][o]:n))return!1}else if(!p(e[i],r?n[i]:n))return!1;return!0}}},n.coerce=function(e,t,r,a,i){var o=u(r,a).get(),l=u(e,a),s=u(t,a),c=l.get(),f=t._template;if(void 0===c&&f&&(c=u(f,a).get(),f=0),void 0===i&&(i=o.dflt),o.arrayOk&&d(c))return s.set(c),c;var h=n.valObjectMeta[o.valType].coerceFunction;h(c,s,i,o);var m=s.get();return f&&m===i&&!p(c,o)&&(h(c=u(f,a).get(),s,i,o),m=s.get()),m},n.coerce2=function(e,t,r,a,i){var o=u(e,a),l=n.coerce(e,t,r,a,i);return null!=o.get()&&l},n.coerceFont=function(e,t,n){var r={};return n=n||{},r.family=e(t+\".family\",n.family),r.size=e(t+\".size\",n.size),r.color=e(t+\".color\",n.color),r},n.coercePattern=function(e,t,n,r){if(e(t+\".shape\")){e(t+\".solidity\"),e(t+\".size\");var a=\"overlay\"===e(t+\".fillmode\");if(!r){var i=e(t+\".bgcolor\",a?n:void 0);e(t+\".fgcolor\",a?l.contrast(i):n)}e(t+\".fgopacity\",a?.5:1)}},n.coerceHoverinfo=function(e,t,r){var a,o=t._module.attributes,l=o.hoverinfo?o:i,s=l.hoverinfo;if(1===r._dataLength){var u=\"all\"===s.dflt?s.flags.slice():s.dflt.split(\"+\");u.splice(u.indexOf(\"name\"),1),a=u.join(\"+\")}return n.coerce(e,t,l,\"hoverinfo\",a)},n.coerceSelectionMarkerOpacity=function(e,t){if(e.marker){var n,r,a=e.marker.opacity;void 0!==a&&(d(a)||e.selected||e.unselected||(n=a,r=s*a),t(\"selected.marker.opacity\",n),t(\"unselected.marker.opacity\",r))}},n.validate=p},{\"../components/color\":157,\"../components/colorscale/scales\":172,\"../constants/interactions\":266,\"../plots/attributes\":330,\"./array\":273,\"./mod\":294,\"./nested_property\":295,\"./regex\":303,\"fast-isnumeric\":33,tinycolor2:121}],278:[function(e,t,n){\"use strict\";var r,a,i=e(\"d3-time-format\").timeFormat,o=e(\"fast-isnumeric\"),l=e(\"./loggers\"),s=e(\"./mod\").mod,u=e(\"../constants/numerical\"),c=u.BADNUM,f=u.ONEDAY,d=u.ONEHOUR,p=u.ONEMIN,h=u.ONESEC,m=u.EPOCHJD,g=e(\"../registry\"),y=e(\"d3-time-format\").utcFormat,v=/^\\s*(-?\\d\\d\\d\\d|\\d\\d)(-(\\d?\\d)(-(\\d?\\d)([ Tt]([01]?\\d|2[0-3])(:([0-5]\\d)(:([0-5]\\d(\\.\\d+)?))?(Z|z|[+\\-]\\d\\d(:?\\d\\d)?)?)?)?)?)?\\s*$/m,b=/^\\s*(-?\\d\\d\\d\\d|\\d\\d)(-(\\d?\\di?)(-(\\d?\\d)([ Tt]([01]?\\d|2[0-3])(:([0-5]\\d)(:([0-5]\\d(\\.\\d+)?))?(Z|z|[+\\-]\\d\\d(:?\\d\\d)?)?)?)?)?)?\\s*$/m,x=(new Date).getFullYear()-70;function w(e){return e&&g.componentsRegistry.calendars&&\"string\"==typeof e&&\"gregorian\"!==e}function _(e,t){return String(e+Math.pow(10,t)).substr(1)}n.dateTick0=function(e,t){var r=function(e,t){return w(e)?t?g.getComponentMethod(\"calendars\",\"CANONICAL_SUNDAY\")[e]:g.getComponentMethod(\"calendars\",\"CANONICAL_TICK\")[e]:t?\"2000-01-02\":\"2000-01-01\"}(e,!!t);if(t<2)return r;var a=n.dateTime2ms(r,e);return a+=f*(t-1),n.ms2DateTime(a,0,e)},n.dfltRange=function(e){return w(e)?g.getComponentMethod(\"calendars\",\"DFLTRANGE\")[e]:[\"2000-01-01\",\"2001-01-01\"]},n.isJSDate=function(e){return\"object\"==typeof e&&null!==e&&\"function\"==typeof e.getTime},n.dateTime2ms=function(e,t){if(n.isJSDate(e)){var i=e.getTimezoneOffset()*p,o=(e.getUTCMinutes()-e.getMinutes())*p+(e.getUTCSeconds()-e.getSeconds())*h+(e.getUTCMilliseconds()-e.getMilliseconds());if(o){var l=3*p;i=i-l/2+s(o-i+l/2,l)}return(e=Number(e)-i)>=r&&e<=a?e:c}if(\"string\"!=typeof e&&\"number\"!=typeof e)return c;e=String(e);var u=w(t),y=e.charAt(0);!u||\"G\"!==y&&\"g\"!==y||(e=e.substr(1),t=\"\");var _=u&&\"chinese\"===t.substr(0,7),k=e.match(_?b:v);if(!k)return c;var T=k[1],M=k[3]||\"1\",S=Number(k[5]||1),E=Number(k[7]||0),C=Number(k[9]||0),O=Number(k[11]||0);if(u){if(2===T.length)return c;var A;T=Number(T);try{var D=g.getComponentMethod(\"calendars\",\"getCal\")(t);if(_){var P=\"i\"===M.charAt(M.length-1);M=parseInt(M,10),A=D.newDate(T,D.toMonthIndex(T,M,P),S)}else A=D.newDate(T,Number(M),S)}catch(e){return c}return A?(A.toJD()-m)*f+E*d+C*p+O*h:c}T=2===T.length?(Number(T)+2e3-x)%100+x:Number(T),M-=1;var R=new Date(Date.UTC(2e3,M,S,E,C));return R.setUTCFullYear(T),R.getUTCMonth()!==M||R.getUTCDate()!==S?c:R.getTime()+O*h},r=n.MIN_MS=n.dateTime2ms(\"-9999\"),a=n.MAX_MS=n.dateTime2ms(\"9999-12-31 23:59:59.9999\"),n.isDateTime=function(e,t){return n.dateTime2ms(e,t)!==c};var k=90*f,T=3*d,M=5*p;function S(e,t,n,r,a){if((t||n||r||a)&&(e+=\" \"+_(t,2)+\":\"+_(n,2),(r||a)&&(e+=\":\"+_(r,2),a))){for(var i=4;a%10==0;)i-=1,a/=10;e+=\".\"+_(a,i)}return e}n.ms2DateTime=function(e,t,n){if(\"number\"!=typeof e||!(e>=r&&e<=a))return c;t||(t=0);var i,o,l,u,v,b,x=Math.floor(10*s(e+.05,1)),_=Math.round(e-x/10);if(w(n)){var E=Math.floor(_/f)+m,C=Math.floor(s(e,f));try{i=g.getComponentMethod(\"calendars\",\"getCal\")(n).fromJD(E).formatDate(\"yyyy-mm-dd\")}catch(e){i=y(\"G%Y-%m-%d\")(new Date(_))}if(\"-\"===i.charAt(0))for(;i.length<11;)i=\"-0\"+i.substr(1);else for(;i.length<10;)i=\"0\"+i;o=t<k?Math.floor(C/d):0,l=t<k?Math.floor(C%d/p):0,u=t<T?Math.floor(C%p/h):0,v=t<M?C%h*10+x:0}else b=new Date(_),i=y(\"%Y-%m-%d\")(b),o=t<k?b.getUTCHours():0,l=t<k?b.getUTCMinutes():0,u=t<T?b.getUTCSeconds():0,v=t<M?10*b.getUTCMilliseconds()+x:0;return S(i,o,l,u,v)},n.ms2DateTimeLocal=function(e){if(!(e>=r+f&&e<=a-f))return c;var t=Math.floor(10*s(e+.05,1)),n=new Date(Math.round(e-t/10));return S(i(\"%Y-%m-%d\")(n),n.getHours(),n.getMinutes(),n.getSeconds(),10*n.getUTCMilliseconds()+t)},n.cleanDate=function(e,t,r){if(e===c)return t;if(n.isJSDate(e)||\"number\"==typeof e&&isFinite(e)){if(w(r))return l.error(\"JS Dates and milliseconds are incompatible with world calendars\",e),t;if(!(e=n.ms2DateTimeLocal(+e))&&void 0!==t)return t}else if(!n.isDateTime(e,r))return l.error(\"unrecognized date\",e),t;return e};var E=/%\\d?f/g,C=/%h/g,O={1:\"1\",2:\"1\",3:\"2\",4:\"2\"};function A(e,t,n,r){e=e.replace(E,(function(e){var n=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(n).substr(2).replace(/0+$/,\"\")||\"0\"}));var a=new Date(Math.floor(t+.05));if(e=e.replace(C,(function(){return O[n(\"%q\")(a)]})),w(r))try{e=g.getComponentMethod(\"calendars\",\"worldCalFmt\")(e,t,r)}catch(e){return\"Invalid\"}return n(e)(a)}var D=[59,59.9,59.99,59.999,59.9999];n.formatDate=function(e,t,n,r,a,i){if(a=w(a)&&a,!t)if(\"y\"===n)t=i.year;else if(\"m\"===n)t=i.month;else{if(\"d\"!==n)return function(e,t){var n=s(e+.05,f),r=_(Math.floor(n/d),2)+\":\"+_(s(Math.floor(n/p),60),2);if(\"M\"!==t){o(t)||(t=0);var a=(100+Math.min(s(e/h,60),D[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,\"\").replace(/[\\.]$/,\"\")),r+=\":\"+a}return r}(e,n)+\"\\n\"+A(i.dayMonthYear,e,r,a);t=i.dayMonth+\"\\n\"+i.year}return A(t,e,r,a)};var P=3*f;n.incrementMonth=function(e,t,n){n=w(n)&&n;var r=s(e,f);if(e=Math.round(e-r),n)try{var a=Math.round(e/f)+m,i=g.getComponentMethod(\"calendars\",\"getCal\")(n),o=i.fromJD(a);return t%12?i.add(o,t,\"m\"):i.add(o,t/12,\"y\"),(o.toJD()-m)*f+r}catch(t){l.error(\"invalid ms \"+e+\" in calendar \"+n)}var u=new Date(e+P);return u.setUTCMonth(u.getUTCMonth()+t)+r-P},n.findExactDates=function(e,t){for(var n,r,a=0,i=0,l=0,s=0,u=w(t)&&g.getComponentMethod(\"calendars\",\"getCal\")(t),c=0;c<e.length;c++)if(r=e[c],o(r)){if(!(r%f))if(u)try{1===(n=u.fromJD(r/f+m)).day()?1===n.month()?a++:i++:l++}catch(e){}else 1===(n=new Date(r)).getUTCDate()?0===n.getUTCMonth()?a++:i++:l++}else s++;l+=i+=a;var d=e.length-s;return{exactYears:a/d,exactMonths:i/d,exactDays:l/d}}},{\"../constants/numerical\":267,\"../registry\":378,\"./loggers\":291,\"./mod\":294,\"d3-time-format\":30,\"fast-isnumeric\":33}],279:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"./loggers\"),i=e(\"./matrix\"),o=e(\"gl-mat4\");function l(e){var t=e&&e.parentNode;t&&t.removeChild(e)}function s(e,t,n){var r=\"plotly.js-style-\"+e,i=document.getElementById(r);i||((i=document.createElement(\"style\")).setAttribute(\"id\",r),i.appendChild(document.createTextNode(\"\")),document.head.appendChild(i));var o=i.sheet;o.insertRule?o.insertRule(t+\"{\"+n+\"}\",0):o.addRule?o.addRule(t,n,0):a.warn(\"addStyleRule failed\")}function u(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue(\"-webkit-transform\")||t.getPropertyValue(\"-moz-transform\")||t.getPropertyValue(\"-ms-transform\")||t.getPropertyValue(\"-o-transform\")||t.getPropertyValue(\"transform\");return\"none\"===n?null:n.replace(\"matrix\",\"\").replace(\"3d\",\"\").slice(1,-1).split(\",\").map((function(e){return+e}))}function c(e){for(var t=[];f(e);)t.push(e),e=e.parentNode;return t}function f(e){return e&&(e instanceof Element||e instanceof HTMLElement)}t.exports={getGraphDiv:function(e){var t;if(\"string\"==typeof e){if(null===(t=document.getElementById(e)))throw new Error(\"No DOM element with id '\"+e+\"' exists on the page.\");return t}if(null==e)throw new Error(\"DOM element provided is null or undefined\");return e},isPlotDiv:function(e){var t=r.select(e);return t.node()instanceof HTMLElement&&t.size()&&t.classed(\"js-plotly-plot\")},removeElement:l,addStyleRule:function(e,t){s(\"global\",e,t)},addRelatedStyleRule:s,deleteRelatedStyleRule:function(e){var t=\"plotly.js-style-\"+e,n=document.getElementById(t);n&&l(n)},getFullTransformMatrix:function(e){var t=c(e),n=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return t.forEach((function(e){var t=u(e);if(t){var r=i.convertCssMatrix(t);n=o.multiply(n,n,r)}})),n},getElementTransformMatrix:u,getElementAndAncestors:c,equalDomRects:function(e,t){return e&&t&&e.x===t.x&&e.y===t.y&&e.top===t.top&&e.left===t.left&&e.right===t.right&&e.bottom===t.bottom}}},{\"./loggers\":291,\"./matrix\":293,\"@plotly/d3\":20,\"gl-mat4\":49}],280:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,a={init:function(e){if(e._ev instanceof r)return e;var t=new r,n=new r;return e._ev=t,e._internalEv=n,e.on=t.on.bind(t),e.once=t.once.bind(t),e.removeListener=t.removeListener.bind(t),e.removeAllListeners=t.removeAllListeners.bind(t),e._internalOn=n.on.bind(n),e._internalOnce=n.once.bind(n),e._removeInternalListener=n.removeListener.bind(n),e._removeAllInternalListeners=n.removeAllListeners.bind(n),e.emit=function(r,a){\"undefined\"!=typeof jQuery&&jQuery(e).trigger(r,a),t.emit(r,a),n.emit(r,a)},e},triggerHandler:function(e,t,n){var r,a;\"undefined\"!=typeof jQuery&&(r=jQuery(e).triggerHandler(t,n));var i=e._ev;if(!i)return r;var o,l=i._events[t];if(!l)return r;function s(e){return e.listener?(i.removeListener(t,e.listener),e.fired?void 0:(e.fired=!0,e.listener.apply(i,[n]))):e.apply(i,[n])}for(l=Array.isArray(l)?l:[l],o=0;o<l.length-1;o++)s(l[o]);return a=s(l[o]),void 0!==r?r:a},purge:function(e){return delete e._ev,delete e.on,delete e.once,delete e.removeListener,delete e.removeAllListeners,delete e.emit,delete e._ev,delete e._internalEv,delete e._internalOn,delete e._internalOnce,delete e._removeInternalListener,delete e._removeAllInternalListeners,e}};t.exports=a},{events:27}],281:[function(e,t,n){\"use strict\";var r=e(\"./is_plain_object.js\"),a=Array.isArray;function i(e,t,n,o){var l,s,u,c,f,d,p=e[0],h=e.length;if(2===h&&a(p)&&a(e[1])&&0===p.length){if(function(e,t){var n,r;for(n=0;n<e.length;n++){if(null!==(r=e[n])&&\"object\"==typeof r)return!1;void 0!==r&&(t[n]=r)}return!0}(e[1],p))return p;p.splice(0,p.length)}for(var m=1;m<h;m++)for(s in l=e[m])u=p[s],c=l[s],o&&a(c)?p[s]=c:t&&c&&(r(c)||(f=a(c)))?(f?(f=!1,d=u&&a(u)?u:[]):d=u&&r(u)?u:{},p[s]=i([d,c],t,n,o)):(void 0!==c||n)&&(p[s]=c);return p}n.extendFlat=function(){return i(arguments,!1,!1,!1)},n.extendDeep=function(){return i(arguments,!0,!1,!1)},n.extendDeepAll=function(){return i(arguments,!0,!0,!1)},n.extendDeepNoArrays=function(){return i(arguments,!0,!1,!0)}},{\"./is_plain_object.js\":288}],282:[function(e,t,n){\"use strict\";t.exports=function(e){for(var t={},n=[],r=0,a=0;a<e.length;a++){var i=e[a];1!==t[i]&&(t[i]=1,n[r++]=i)}return n}},{}],283:[function(e,t,n){\"use strict\";function r(e){return!0===e.visible}function a(e){var t=e[0].trace;return!0===t.visible&&0!==t._length}t.exports=function(e){for(var t,n=(t=e,Array.isArray(t)&&Array.isArray(t[0])&&t[0][0]&&t[0][0].trace?a:r),i=[],o=0;o<e.length;o++){var l=e[o];n(l)&&i.push(l)}return i}},{}],284:[function(e,t,n){\"use strict\";var r,a,i,o=e(\"./mod\").mod;function l(e,t,n,r,a,i,o,l){var s=n-e,u=a-e,c=o-a,f=r-t,d=i-t,p=l-i,h=s*p-c*f;if(0===h)return null;var m=(u*p-c*d)/h,g=(u*f-s*d)/h;return g<0||g>1||m<0||m>1?null:{x:e+s*m,y:t+f*m}}function s(e,t,n,r,a){var i=r*e+a*t;if(i<0)return r*r+a*a;if(i>n){var o=r-e,l=a-t;return o*o+l*l}var s=r*t-a*e;return s*s/n}n.segmentsIntersect=l,n.segmentDistance=function(e,t,n,r,a,i,o,u){if(l(e,t,n,r,a,i,o,u))return 0;var c=n-e,f=r-t,d=o-a,p=u-i,h=c*c+f*f,m=d*d+p*p,g=Math.min(s(c,f,h,a-e,i-t),s(c,f,h,o-e,u-t),s(d,p,m,e-a,t-i),s(d,p,m,n-a,r-i));return Math.sqrt(g)},n.getTextLocation=function(e,t,n,l){if(e===a&&l===i||(r={},a=e,i=l),r[n])return r[n];var s=e.getPointAtLength(o(n-l/2,t)),u=e.getPointAtLength(o(n+l/2,t)),c=Math.atan((u.y-s.y)/(u.x-s.x)),f=e.getPointAtLength(o(n,t)),d={x:(4*f.x+s.x+u.x)/6,y:(4*f.y+s.y+u.y)/6,theta:c};return r[n]=d,d},n.clearLocationCache=function(){a=null},n.getVisibleSegment=function(e,t,n){var r,a,i=t.left,o=t.right,l=t.top,s=t.bottom,u=0,c=e.getTotalLength(),f=c;function d(t){var n=e.getPointAtLength(t);0===t?r=n:t===c&&(a=n);var u=n.x<i?i-n.x:n.x>o?n.x-o:0,f=n.y<l?l-n.y:n.y>s?n.y-s:0;return Math.sqrt(u*u+f*f)}for(var p=d(u);p;){if((u+=p+n)>f)return;p=d(u)}for(p=d(f);p;){if(u>(f-=p+n))return;p=d(f)}return{min:u,max:f,len:f-u,total:c,isClosed:0===u&&f===c&&Math.abs(r.x-a.x)<.1&&Math.abs(r.y-a.y)<.1}},n.findPointOnPath=function(e,t,n,r){for(var a,i,o,l=(r=r||{}).pathLength||e.getTotalLength(),s=r.tolerance||.001,u=r.iterationLimit||30,c=e.getPointAtLength(0)[n]>e.getPointAtLength(l)[n]?-1:1,f=0,d=0,p=l;f<u;){if(a=(d+p)/2,o=(i=e.getPointAtLength(a))[n]-t,Math.abs(o)<s)return i;c*o>0?p=a:d=a,f++}return i}},{\"./mod\":294}],285:[function(e,t,n){\"use strict\";t.exports=function(e){return e}},{}],286:[function(e,t,n){\"use strict\";t.exports=function(e,t){if(!t)return e;var n=1/Math.abs(t),r=n>1?(n*e+n*t)/n:e+t,a=String(r).length;if(a>16){var i=String(t).length;if(a>=String(e).length+i){var o=parseFloat(r).toPrecision(12);-1===o.indexOf(\"e+\")&&(r=+o)}}return r}},{}],287:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"d3-time-format\").utcFormat,i=e(\"d3-format\").format,o=e(\"fast-isnumeric\"),l=e(\"../constants/numerical\"),s=l.FP_SAFE,u=-s,c=l.BADNUM,f=t.exports={};f.adjustFormat=function(e){return!e||/^\\d[.]\\df/.test(e)||/[.]\\d%/.test(e)?e:\"0.f\"===e?\"~f\":/^\\d%/.test(e)?\"~%\":/^\\ds/.test(e)?\"~s\":!/^[~,.0$]/.test(e)&&/[&fps]/.test(e)?\"~\"+e:e};var d={};f.warnBadFormat=function(e){var t=String(e);d[t]||(d[t]=1,f.warn('encountered bad format: \"'+t+'\"'))},f.noFormat=function(e){return String(e)},f.numberFormat=function(e){var t;try{t=i(f.adjustFormat(e))}catch(t){return f.warnBadFormat(e),f.noFormat}return t},f.nestedProperty=e(\"./nested_property\"),f.keyedContainer=e(\"./keyed_container\"),f.relativeAttr=e(\"./relative_attr\"),f.isPlainObject=e(\"./is_plain_object\"),f.toLogRange=e(\"./to_log_range\"),f.relinkPrivateKeys=e(\"./relink_private\");var p=e(\"./array\");f.isTypedArray=p.isTypedArray,f.isArrayOrTypedArray=p.isArrayOrTypedArray,f.isArray1D=p.isArray1D,f.ensureArray=p.ensureArray,f.concat=p.concat,f.maxRowLength=p.maxRowLength,f.minRowLength=p.minRowLength;var h=e(\"./mod\");f.mod=h.mod,f.modHalf=h.modHalf;var m=e(\"./coerce\");f.valObjectMeta=m.valObjectMeta,f.coerce=m.coerce,f.coerce2=m.coerce2,f.coerceFont=m.coerceFont,f.coercePattern=m.coercePattern,f.coerceHoverinfo=m.coerceHoverinfo,f.coerceSelectionMarkerOpacity=m.coerceSelectionMarkerOpacity,f.validate=m.validate;var g=e(\"./dates\");f.dateTime2ms=g.dateTime2ms,f.isDateTime=g.isDateTime,f.ms2DateTime=g.ms2DateTime,f.ms2DateTimeLocal=g.ms2DateTimeLocal,f.cleanDate=g.cleanDate,f.isJSDate=g.isJSDate,f.formatDate=g.formatDate,f.incrementMonth=g.incrementMonth,f.dateTick0=g.dateTick0,f.dfltRange=g.dfltRange,f.findExactDates=g.findExactDates,f.MIN_MS=g.MIN_MS,f.MAX_MS=g.MAX_MS;var y=e(\"./search\");f.findBin=y.findBin,f.sorterAsc=y.sorterAsc,f.sorterDes=y.sorterDes,f.distinctVals=y.distinctVals,f.roundUp=y.roundUp,f.sort=y.sort,f.findIndexOfMin=y.findIndexOfMin,f.sortObjectKeys=e(\"./sort_object_keys\");var v=e(\"./stats\");f.aggNums=v.aggNums,f.len=v.len,f.mean=v.mean,f.median=v.median,f.midRange=v.midRange,f.variance=v.variance,f.stdev=v.stdev,f.interp=v.interp;var b=e(\"./matrix\");f.init2dArray=b.init2dArray,f.transposeRagged=b.transposeRagged,f.dot=b.dot,f.translationMatrix=b.translationMatrix,f.rotationMatrix=b.rotationMatrix,f.rotationXYMatrix=b.rotationXYMatrix,f.apply3DTransform=b.apply3DTransform,f.apply2DTransform=b.apply2DTransform,f.apply2DTransform2=b.apply2DTransform2,f.convertCssMatrix=b.convertCssMatrix,f.inverseTransformMatrix=b.inverseTransformMatrix;var x=e(\"./angles\");f.deg2rad=x.deg2rad,f.rad2deg=x.rad2deg,f.angleDelta=x.angleDelta,f.angleDist=x.angleDist,f.isFullCircle=x.isFullCircle,f.isAngleInsideSector=x.isAngleInsideSector,f.isPtInsideSector=x.isPtInsideSector,f.pathArc=x.pathArc,f.pathSector=x.pathSector,f.pathAnnulus=x.pathAnnulus;var w=e(\"./anchor_utils\");f.isLeftAnchor=w.isLeftAnchor,f.isCenterAnchor=w.isCenterAnchor,f.isRightAnchor=w.isRightAnchor,f.isTopAnchor=w.isTopAnchor,f.isMiddleAnchor=w.isMiddleAnchor,f.isBottomAnchor=w.isBottomAnchor;var _=e(\"./geometry2d\");f.segmentsIntersect=_.segmentsIntersect,f.segmentDistance=_.segmentDistance,f.getTextLocation=_.getTextLocation,f.clearLocationCache=_.clearLocationCache,f.getVisibleSegment=_.getVisibleSegment,f.findPointOnPath=_.findPointOnPath;var k=e(\"./extend\");f.extendFlat=k.extendFlat,f.extendDeep=k.extendDeep,f.extendDeepAll=k.extendDeepAll,f.extendDeepNoArrays=k.extendDeepNoArrays;var T=e(\"./loggers\");f.log=T.log,f.warn=T.warn,f.error=T.error;var M=e(\"./regex\");f.counterRegex=M.counter;var S=e(\"./throttle\");f.throttle=S.throttle,f.throttleDone=S.done,f.clearThrottle=S.clear;var E=e(\"./dom\");function C(e){var t={};for(var n in e)for(var r=e[n],a=0;a<r.length;a++)t[r[a]]=+n;return t}f.getGraphDiv=E.getGraphDiv,f.isPlotDiv=E.isPlotDiv,f.removeElement=E.removeElement,f.addStyleRule=E.addStyleRule,f.addRelatedStyleRule=E.addRelatedStyleRule,f.deleteRelatedStyleRule=E.deleteRelatedStyleRule,f.getFullTransformMatrix=E.getFullTransformMatrix,f.getElementTransformMatrix=E.getElementTransformMatrix,f.getElementAndAncestors=E.getElementAndAncestors,f.equalDomRects=E.equalDomRects,f.clearResponsive=e(\"./clear_responsive\"),f.preserveDrawingBuffer=e(\"./preserve_drawing_buffer\"),f.makeTraceGroups=e(\"./make_trace_groups\"),f._=e(\"./localize\"),f.notifier=e(\"./notifier\"),f.filterUnique=e(\"./filter_unique\"),f.filterVisible=e(\"./filter_visible\"),f.pushUnique=e(\"./push_unique\"),f.increment=e(\"./increment\"),f.cleanNumber=e(\"./clean_number\"),f.ensureNumber=function(e){return o(e)?(e=Number(e))>s||e<u?c:e:c},f.isIndex=function(e,t){return!(void 0!==t&&e>=t)&&o(e)&&e>=0&&e%1==0},f.noop=e(\"./noop\"),f.identity=e(\"./identity\"),f.repeat=function(e,t){for(var n=new Array(t),r=0;r<t;r++)n[r]=e;return n},f.swapAttrs=function(e,t,n,r){n||(n=\"x\"),r||(r=\"y\");for(var a=0;a<t.length;a++){var i=t[a],o=f.nestedProperty(e,i.replace(\"?\",n)),l=f.nestedProperty(e,i.replace(\"?\",r)),s=o.get();o.set(l.get()),l.set(s)}},f.raiseToTop=function(e){e.parentNode.appendChild(e)},f.cancelTransition=function(e){return e.transition().duration(0)},f.constrain=function(e,t,n){return t>n?Math.max(n,Math.min(t,e)):Math.max(t,Math.min(n,e))},f.bBoxIntersect=function(e,t,n){return n=n||0,e.left<=t.right+n&&t.left<=e.right+n&&e.top<=t.bottom+n&&t.top<=e.bottom+n},f.simpleMap=function(e,t,n,r,a){for(var i=e.length,o=new Array(i),l=0;l<i;l++)o[l]=t(e[l],n,r,a);return o},f.randstr=function e(t,n,r,a){if(r||(r=16),void 0===n&&(n=24),n<=0)return\"0\";var i,o,l=Math.log(Math.pow(2,n))/Math.log(r),s=\"\";for(i=2;l===1/0;i*=2)l=Math.log(Math.pow(2,n/i))/Math.log(r)*i;var u=l-Math.floor(l);for(i=0;i<Math.floor(l);i++)s=Math.floor(Math.random()*r).toString(r)+s;u&&(o=Math.pow(r,u),s=Math.floor(Math.random()*o).toString(r)+s);var c=parseInt(s,r);return t&&t[s]||c!==1/0&&c>=Math.pow(2,n)?a>10?(f.warn(\"randstr failed uniqueness\"),s):e(t,n,r,(a||0)+1):s},f.OptionControl=function(e,t){e||(e={}),t||(t=\"opt\");var n={optionList:[],_newoption:function(r){r[t]=e,n[r.name]=r,n.optionList.push(r)}};return n[\"_\"+t]=e,n},f.smooth=function(e,t){if((t=Math.round(t)||0)<2)return e;var n,r,a,i,o=e.length,l=2*o,s=2*t-1,u=new Array(s),c=new Array(o);for(n=0;n<s;n++)u[n]=(1-Math.cos(Math.PI*(n+1)/t))/(2*t);for(n=0;n<o;n++){for(i=0,r=0;r<s;r++)(a=n+r+1-t)<-o?a-=l*Math.round(a/l):a>=l&&(a-=l*Math.floor(a/l)),a<0?a=-1-a:a>=o&&(a=l-1-a),i+=e[a]*u[r];c[n]=i}return c},f.syncOrAsync=function(e,t,n){var r;function a(){return f.syncOrAsync(e,t,n)}for(;e.length;)if((r=(0,e.splice(0,1)[0])(t))&&r.then)return r.then(a);return n&&n(t)},f.stripTrailingSlash=function(e){return\"/\"===e.substr(-1)?e.substr(0,e.length-1):e},f.noneOrAll=function(e,t,n){if(e){var r,a=!1,i=!0;for(r=0;r<n.length;r++)null!=e[n[r]]?a=!0:i=!1;if(a&&!i)for(r=0;r<n.length;r++)e[n[r]]=t[n[r]]}},f.mergeArray=function(e,t,n,r){var a=\"function\"==typeof r;if(f.isArrayOrTypedArray(e))for(var i=Math.min(e.length,t.length),o=0;o<i;o++){var l=e[o];t[o][n]=a?r(l):l}},f.mergeArrayCastPositive=function(e,t,n){return f.mergeArray(e,t,n,(function(e){var t=+e;return isFinite(t)&&t>0?t:0}))},f.fillArray=function(e,t,n,r){if(r=r||f.identity,f.isArrayOrTypedArray(e))for(var a=0;a<t.length;a++)t[a][n]=r(e[a])},f.castOption=function(e,t,n,r){r=r||f.identity;var a=f.nestedProperty(e,n).get();return f.isArrayOrTypedArray(a)?Array.isArray(t)&&f.isArrayOrTypedArray(a[t[0]])?r(a[t[0]][t[1]]):r(a[t]):a},f.extractOption=function(e,t,n,r){if(n in e)return e[n];var a=f.nestedProperty(t,r).get();return Array.isArray(a)?void 0:a},f.tagSelected=function(e,t,n){var r,a,i=t.selectedpoints,o=t._indexToPoints;o&&(r=C(o));for(var l=0;l<i.length;l++){var s=i[l];if(f.isIndex(s)||f.isArrayOrTypedArray(s)&&f.isIndex(s[0])&&f.isIndex(s[1])){var u=r?r[s]:s,c=n?n[u]:u;void 0!==(a=c)&&a<e.length&&(e[c].selected=1)}}},f.selIndices2selPoints=function(e){var t=e.selectedpoints,n=e._indexToPoints;if(n){for(var r=C(n),a=[],i=0;i<t.length;i++){var o=t[i];if(f.isIndex(o)){var l=r[o];f.isIndex(l)&&a.push(l)}}return a}return t},f.getTargetArray=function(e,t){var n=t.target;if(\"string\"==typeof n&&n){var r=f.nestedProperty(e,n).get();return!!Array.isArray(r)&&r}return!!Array.isArray(n)&&n},f.minExtend=function(e,t){var n={};\"object\"!=typeof t&&(t={});var r,a,i,o=Object.keys(e);for(r=0;r<o.length;r++)i=e[a=o[r]],\"_\"!==a.charAt(0)&&\"function\"!=typeof i&&(\"module\"===a?n[a]=i:Array.isArray(i)?n[a]=\"colorscale\"===a?i.slice():i.slice(0,3):f.isTypedArray(i)?n[a]=i.subarray(0,3):n[a]=i&&\"object\"==typeof i?f.minExtend(e[a],t[a]):i);for(o=Object.keys(t),r=0;r<o.length;r++)\"object\"==typeof(i=t[a=o[r]])&&a in n&&\"object\"==typeof n[a]||(n[a]=i);return n},f.titleCase=function(e){return e.charAt(0).toUpperCase()+e.substr(1)},f.containsAny=function(e,t){for(var n=0;n<t.length;n++)if(-1!==e.indexOf(t[n]))return!0;return!1},f.isIE=function(){return void 0!==window.navigator.msSaveBlob};var O=/Version\\/[\\d\\.]+.*Safari/;f.isSafari=function(){return O.test(window.navigator.userAgent)};var A=/iPad|iPhone|iPod/;f.isIOS=function(){return A.test(window.navigator.userAgent)};var D=/Firefox\\/(\\d+)\\.\\d+/;f.getFirefoxVersion=function(){var e=D.exec(window.navigator.userAgent);if(e&&2===e.length){var t=parseInt(e[1]);if(!isNaN(t))return t}return null},f.isD3Selection=function(e){return e instanceof r.selection},f.ensureSingle=function(e,t,n,r){var a=e.select(t+(n?\".\"+n:\"\"));if(a.size())return a;var i=e.append(t);return n&&i.classed(n,!0),r&&i.call(r),i},f.ensureSingleById=function(e,t,n,r){var a=e.select(t+\"#\"+n);if(a.size())return a;var i=e.append(t).attr(\"id\",n);return r&&i.call(r),i},f.objectFromPath=function(e,t){for(var n,r=e.split(\".\"),a=n={},i=0;i<r.length;i++){var o=r[i],l=null,s=r[i].match(/(.*)\\[([0-9]+)\\]/);s?(o=s[1],l=s[2],n=n[o]=[],i===r.length-1?n[l]=t:n[l]={},n=n[l]):(i===r.length-1?n[o]=t:n[o]={},n=n[o])}return a};var P=/^([^\\[\\.]+)\\.(.+)?/,R=/^([^\\.]+)\\[([0-9]+)\\](\\.)?(.+)?/;f.expandObjectPaths=function(e){var t,n,r,a,i,o,l;if(\"object\"==typeof e&&!Array.isArray(e))for(n in e)e.hasOwnProperty(n)&&((t=n.match(P))?(a=e[n],r=t[1],delete e[n],e[r]=f.extendDeepNoArrays(e[r]||{},f.objectFromPath(n,f.expandObjectPaths(a))[r])):(t=n.match(R))?(a=e[n],r=t[1],i=parseInt(t[2]),delete e[n],e[r]=e[r]||[],\".\"===t[3]?(l=t[4],o=e[r][i]=e[r][i]||{},f.extendDeepNoArrays(o,f.objectFromPath(l,f.expandObjectPaths(a)))):e[r][i]=f.expandObjectPaths(a)):e[n]=f.expandObjectPaths(e[n]));return e},f.numSeparate=function(e,t,n){if(n||(n=!1),\"string\"!=typeof t||0===t.length)throw new Error(\"Separator string required for formatting!\");\"number\"==typeof e&&(e=String(e));var r=/(\\d+)(\\d{3})/,a=t.charAt(0),i=t.charAt(1),o=e.split(\".\"),l=o[0],s=o.length>1?a+o[1]:\"\";if(i&&(o.length>1||l.length>4||n))for(;r.test(l);)l=l.replace(r,\"$1\"+i+\"$2\");return l+s},f.TEMPLATE_STRING_REGEX=/%{([^\\s%{}:]*)([:|\\|][^}]*)?}/g;var L=/^\\w*$/;f.templateString=function(e,t){var n={};return e.replace(f.TEMPLATE_STRING_REGEX,(function(e,r){var a;return L.test(r)?a=t[r]:(n[r]=n[r]||f.nestedProperty(t,r).get,a=n[r]()),f.isValidTextValue(a)?a:\"\"}))};var I={max:10,count:0,name:\"hovertemplate\"};f.hovertemplateString=function(){return z.apply(I,arguments)};var j={max:10,count:0,name:\"texttemplate\"};f.texttemplateString=function(){return z.apply(j,arguments)};var N=/^[:|\\|]/;function z(e,t,n){var r=this,i=arguments;t||(t={});var o={};return e.replace(f.TEMPLATE_STRING_REGEX,(function(e,l,s){var u,c,d,p=\"_xother\"===l||\"_yother\"===l,h=\"_xother_\"===l||\"_yother_\"===l,m=\"xother_\"===l||\"yother_\"===l,g=\"xother\"===l||\"yother\"===l||p||m||h,y=l;if((p||h)&&(y=y.substring(1)),(m||h)&&(y=y.substring(0,y.length-1)),g){if(void 0===(u=t[y]))return\"\"}else for(d=3;d<i.length;d++)if(c=i[d]){if(c.hasOwnProperty(y)){u=c[y];break}if(L.test(y)||(u=f.nestedProperty(c,y).get(),(u=o[y]||f.nestedProperty(c,y).get())&&(o[y]=u)),void 0!==u)break}if(void 0===u&&r)return r.count<r.max&&(f.warn(\"Variable '\"+y+\"' in \"+r.name+\" could not be found!\"),u=e),r.count===r.max&&f.warn(\"Too many \"+r.name+\" warnings - additional warnings will be suppressed\"),r.count++,e;if(s){var v;if(\":\"===s[0]&&(u=(v=n?n.numberFormat:f.numberFormat)(s.replace(N,\"\"))(u)),\"|\"===s[0]){v=n?n.timeFormat:a;var b=f.dateTime2ms(u);u=f.formatDate(b,s.replace(N,\"\"),!1,v)}}else{var x=y+\"Label\";t.hasOwnProperty(x)&&(u=t[x])}return g&&(u=\"(\"+u+\")\",(p||h)&&(u=\" \"+u),(m||h)&&(u+=\" \")),u}))}f.subplotSort=function(e,t){for(var n=Math.min(e.length,t.length)+1,r=0,a=0,i=0;i<n;i++){var o=e.charCodeAt(i)||0,l=t.charCodeAt(i)||0,s=o>=48&&o<=57,u=l>=48&&l<=57;if(s&&(r=10*r+o-48),u&&(a=10*a+l-48),!s||!u){if(r!==a)return r-a;if(o!==l)return o-l}}return a-r};var F=2e9;f.seedPseudoRandom=function(){F=2e9},f.pseudoRandom=function(){var e=F;return F=(69069*F+1)%4294967296,Math.abs(F-e)<429496729?f.pseudoRandom():F/4294967296},f.fillText=function(e,t,n){var r=Array.isArray(n)?function(e){n.push(e)}:function(e){n.text=e},a=f.extractOption(e,t,\"htx\",\"hovertext\");if(f.isValidTextValue(a))return r(a);var i=f.extractOption(e,t,\"tx\",\"text\");return f.isValidTextValue(i)?r(i):void 0},f.isValidTextValue=function(e){return e||0===e},f.formatPercent=function(e,t){t=t||0;for(var n=(Math.round(100*e*Math.pow(10,t))*Math.pow(.1,t)).toFixed(t)+\"%\",r=0;r<t;r++)-1!==n.indexOf(\".\")&&(n=(n=n.replace(\"0%\",\"%\")).replace(\".%\",\"%\"));return n},f.isHidden=function(e){var t=window.getComputedStyle(e).display;return!t||\"none\"===t},f.strTranslate=function(e,t){return e||t?\"translate(\"+e+\",\"+t+\")\":\"\"},f.strRotate=function(e){return e?\"rotate(\"+e+\")\":\"\"},f.strScale=function(e){return 1!==e?\"scale(\"+e+\")\":\"\"},f.getTextTransform=function(e){var t=e.noCenter,n=e.textX,r=e.textY,a=e.targetX,i=e.targetY,o=e.anchorX||0,l=e.anchorY||0,s=e.rotate,u=e.scale;return u?u>1&&(u=1):u=0,f.strTranslate(a-u*(n+o),i-u*(r+l))+f.strScale(u)+(s?\"rotate(\"+s+(t?\"\":\" \"+n+\" \"+r)+\")\":\"\")},f.ensureUniformFontSize=function(e,t){var n=f.extendFlat({},t);return n.size=Math.max(t.size,e._fullLayout.uniformtext.minsize||0),n},f.join2=function(e,t,n){var r=e.length;return r>1?e.slice(0,-1).join(t)+n+e[r-1]:e.join(t)},f.bigFont=function(e){return Math.round(1.2*e)};var Z=f.getFirefoxVersion(),B=null!==Z&&Z<86;f.getPositionFromD3Event=function(){return B?[r.event.layerX,r.event.layerY]:[r.event.offsetX,r.event.offsetY]}},{\"../constants/numerical\":267,\"./anchor_utils\":271,\"./angles\":272,\"./array\":273,\"./clean_number\":274,\"./clear_responsive\":276,\"./coerce\":277,\"./dates\":278,\"./dom\":279,\"./extend\":281,\"./filter_unique\":282,\"./filter_visible\":283,\"./geometry2d\":284,\"./identity\":285,\"./increment\":286,\"./is_plain_object\":288,\"./keyed_container\":289,\"./localize\":290,\"./loggers\":291,\"./make_trace_groups\":292,\"./matrix\":293,\"./mod\":294,\"./nested_property\":295,\"./noop\":296,\"./notifier\":297,\"./preserve_drawing_buffer\":300,\"./push_unique\":301,\"./regex\":303,\"./relative_attr\":304,\"./relink_private\":305,\"./search\":306,\"./sort_object_keys\":308,\"./stats\":309,\"./throttle\":311,\"./to_log_range\":312,\"@plotly/d3\":20,\"d3-format\":29,\"d3-time-format\":30,\"fast-isnumeric\":33}],288:[function(e,t,n){\"use strict\";t.exports=function(e){return window&&window.process&&window.process.versions?\"[object Object]\"===Object.prototype.toString.call(e):\"[object Object]\"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e).hasOwnProperty(\"hasOwnProperty\")}},{}],289:[function(e,t,n){\"use strict\";var r=e(\"./nested_property\"),a=/^\\w*$/;t.exports=function(e,t,n,i){var o,l,s;n=n||\"name\",i=i||\"value\";var u={};t&&t.length?(s=r(e,t),l=s.get()):l=e,t=t||\"\";var c={};if(l)for(o=0;o<l.length;o++)c[l[o][n]]=o;var f=a.test(i),d={set:function(e,t){var a=null===t?4:0;if(!l){if(!s||4===a)return;l=[],s.set(l)}var o=c[e];if(void 0===o){if(4===a)return;a|=3,o=l.length,c[e]=o}else t!==(f?l[o][i]:r(l[o],i).get())&&(a|=2);var p=l[o]=l[o]||{};return p[n]=e,f?p[i]=t:r(p,i).set(t),null!==t&&(a&=-5),u[o]=u[o]|a,d},get:function(e){if(l){var t=c[e];return void 0===t?void 0:f?l[t][i]:r(l[t],i).get()}},rename:function(e,t){var r=c[e];return void 0===r||(u[r]=1|u[r],c[t]=r,delete c[e],l[r][n]=t),d},remove:function(e){var t=c[e];if(void 0===t)return d;var a=l[t];if(Object.keys(a).length>2)return u[t]=2|u[t],d.set(e,null);if(f){for(o=t;o<l.length;o++)u[o]=3|u[o];for(o=t;o<l.length;o++)c[l[o][n]]--;l.splice(t,1),delete c[e]}else r(a,i).set(null),u[t]=6|u[t];return d},constructUpdate:function(){for(var e,a,o={},s=Object.keys(u),c=0;c<s.length;c++)a=s[c],e=t+\"[\"+a+\"]\",l[a]?(1&u[a]&&(o[e+\".\"+n]=l[a][n]),2&u[a]&&(o[e+\".\"+i]=f?4&u[a]?null:l[a][i]:4&u[a]?null:r(l[a],i).get())):o[e]=null;return o}};return d}},{\"./nested_property\":295}],290:[function(e,t,n){\"use strict\";var r=e(\"../registry\");t.exports=function(e,t){for(var n=e._context.locale,a=0;a<2;a++){for(var i=e._context.locales,o=0;o<2;o++){var l=(i[n]||{}).dictionary;if(l){var s=l[t];if(s)return s}i=r.localeRegistry}var u=n.split(\"-\")[0];if(u===n)break;n=u}return t}},{\"../registry\":378}],291:[function(e,t,n){\"use strict\";var r=e(\"../plot_api/plot_config\").dfltConfig,a=e(\"./notifier\"),i=t.exports={};i.log=function(){var e;if(r.logging>1){var t=[\"LOG:\"];for(e=0;e<arguments.length;e++)t.push(arguments[e]);console.trace.apply(console,t)}if(r.notifyOnLogging>1){var n=[];for(e=0;e<arguments.length;e++)n.push(arguments[e]);a(n.join(\"<br>\"),\"long\")}},i.warn=function(){var e;if(r.logging>0){var t=[\"WARN:\"];for(e=0;e<arguments.length;e++)t.push(arguments[e]);console.trace.apply(console,t)}if(r.notifyOnLogging>0){var n=[];for(e=0;e<arguments.length;e++)n.push(arguments[e]);a(n.join(\"<br>\"),\"stick\")}},i.error=function(){var e;if(r.logging>0){var t=[\"ERROR:\"];for(e=0;e<arguments.length;e++)t.push(arguments[e]);console.error.apply(console,t)}if(r.notifyOnLogging>0){var n=[];for(e=0;e<arguments.length;e++)n.push(arguments[e]);a(n.join(\"<br>\"),\"stick\")}}},{\"../plot_api/plot_config\":321,\"./notifier\":297}],292:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\");t.exports=function(e,t,n){var a=e.selectAll(\"g.\"+n.replace(/\\s/g,\".\")).data(t,(function(e){return e[0].trace.uid}));a.exit().remove(),a.enter().append(\"g\").attr(\"class\",n),a.order();var i=e.classed(\"rangeplot\")?\"nodeRangePlot3\":\"node3\";return a.each((function(e){e[0][i]=r.select(this)})),a}},{\"@plotly/d3\":20}],293:[function(e,t,n){\"use strict\";var r=e(\"gl-mat4\");n.init2dArray=function(e,t){for(var n=new Array(e),r=0;r<e;r++)n[r]=new Array(t);return n},n.transposeRagged=function(e){var t,n,r=0,a=e.length;for(t=0;t<a;t++)r=Math.max(r,e[t].length);var i=new Array(r);for(t=0;t<r;t++)for(i[t]=new Array(a),n=0;n<a;n++)i[t][n]=e[n][t];return i},n.dot=function(e,t){if(!e.length||!t.length||e.length!==t.length)return null;var r,a,i=e.length;if(e[0].length)for(r=new Array(i),a=0;a<i;a++)r[a]=n.dot(e[a],t);else if(t[0].length){var o=n.transposeRagged(t);for(r=new Array(o.length),a=0;a<o.length;a++)r[a]=n.dot(e,o[a])}else for(r=0,a=0;a<i;a++)r+=e[a]*t[a];return r},n.translationMatrix=function(e,t){return[[1,0,e],[0,1,t],[0,0,1]]},n.rotationMatrix=function(e){var t=e*Math.PI/180;return[[Math.cos(t),-Math.sin(t),0],[Math.sin(t),Math.cos(t),0],[0,0,1]]},n.rotationXYMatrix=function(e,t,r){return n.dot(n.dot(n.translationMatrix(t,r),n.rotationMatrix(e)),n.translationMatrix(-t,-r))},n.apply3DTransform=function(e){return function(){var t=arguments,r=1===arguments.length?t[0]:[t[0],t[1],t[2]||0];return n.dot(e,[r[0],r[1],r[2],1]).slice(0,3)}},n.apply2DTransform=function(e){return function(){var t=arguments;3===t.length&&(t=t[0]);var r=1===arguments.length?t[0]:[t[0],t[1]];return n.dot(e,[r[0],r[1],1]).slice(0,2)}},n.apply2DTransform2=function(e){var t=n.apply2DTransform(e);return function(e){return t(e.slice(0,2)).concat(t(e.slice(2,4)))}},n.convertCssMatrix=function(e){if(e){var t=e.length;if(16===t)return e;if(6===t)return[e[0],e[1],0,0,e[2],e[3],0,0,0,0,1,0,e[4],e[5],0,1]}return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},n.inverseTransformMatrix=function(e){var t=[];return r.invert(t,e),[[t[0],t[1],t[2],t[3]],[t[4],t[5],t[6],t[7]],[t[8],t[9],t[10],t[11]],[t[12],t[13],t[14],t[15]]]}},{\"gl-mat4\":49}],294:[function(e,t,n){\"use strict\";t.exports={mod:function(e,t){var n=e%t;return n<0?n+t:n},modHalf:function(e,t){return Math.abs(e)>t/2?e-Math.round(e/t)*t:e}}},{}],295:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"./array\").isArrayOrTypedArray;function i(e,t){return function(){var n,r,o,l,s,u=e;for(l=0;l<t.length-1;l++){if(-1===(n=t[l])){for(r=!0,o=[],s=0;s<u.length;s++)o[s]=i(u[s],t.slice(l+1))(),o[s]!==o[0]&&(r=!1);return r?o[0]:o}if(\"number\"==typeof n&&!a(u))return;if(\"object\"!=typeof(u=u[n])||null===u)return}if(\"object\"==typeof u&&null!==u&&null!==(o=u[t[l]]))return o}}t.exports=function(e,t){if(r(t))t=String(t);else if(\"string\"!=typeof t||\"[-1]\"===t.substr(t.length-4))throw\"bad property string\";for(var n,a,o,l=0,u=t.split(\".\");l<u.length;){if(n=String(u[l]).match(/^([^\\[\\]]*)((\\[\\-?[0-9]*\\])+)$/)){if(n[1])u[l]=n[1];else{if(0!==l)throw\"bad property string\";u.splice(0,1)}for(a=n[2].substr(1,n[2].length-2).split(\"][\"),o=0;o<a.length;o++)l++,u.splice(l,0,Number(a[o]))}l++}return\"object\"!=typeof e?function(e,t,n){return{set:function(){throw\"bad container\"},get:function(){},astr:t,parts:n,obj:e}}(e,t,u):{set:s(e,u,t),get:i(e,u),astr:t,parts:u,obj:e}};var o=/(^|\\.)args\\[/;function l(e,t){return void 0===e||null===e&&!t.match(o)}function s(e,t,n){return function(r){var i,o,s=e,d=\"\",p=[[e,d]],h=l(r,n);for(o=0;o<t.length-1;o++){if(\"number\"==typeof(i=t[o])&&!a(s))throw\"array index but container is not an array\";if(-1===i){if(h=!c(s,t.slice(o+1),r,n))break;return}if(!f(s,i,t[o+1],h))break;if(\"object\"!=typeof(s=s[i])||null===s)throw\"container is not an object\";d=u(d,i),p.push([s,d])}if(h){if(o===t.length-1&&(delete s[t[o]],Array.isArray(s)&&+t[o]==s.length-1))for(;s.length&&void 0===s[s.length-1];)s.pop()}else s[t[o]]=r}}function u(e,t){var n=t;return r(t)?n=\"[\"+t+\"]\":e&&(n=\".\"+t),e+n}function c(e,t,n,r){var i,o=a(n),u=!0,c=n,d=r.replace(\"-1\",0),p=!o&&l(n,d),h=t[0];for(i=0;i<e.length;i++)d=r.replace(\"-1\",i),o&&(p=l(c=n[i%n.length],d)),p&&(u=!1),f(e,i,h,p)&&s(e[i],t,r.replace(\"-1\",i))(c);return u}function f(e,t,n,r){if(void 0===e[t]){if(r)return!1;e[t]=\"number\"==typeof n?[]:{}}return!0}},{\"./array\":273,\"fast-isnumeric\":33}],296:[function(e,t,n){\"use strict\";t.exports=function(){}},{}],297:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"fast-isnumeric\"),i=[];t.exports=function(e,t){if(-1===i.indexOf(e)){i.push(e);var n=1e3;a(t)?n=t:\"long\"===t&&(n=3e3);var o=r.select(\"body\").selectAll(\".plotly-notifier\").data([0]);o.enter().append(\"div\").classed(\"plotly-notifier\",!0),o.selectAll(\".notifier-note\").data(i).enter().append(\"div\").classed(\"notifier-note\",!0).style(\"opacity\",0).each((function(e){var a=r.select(this);a.append(\"button\").classed(\"notifier-close\",!0).html(\"×\").on(\"click\",(function(){a.transition().call(l)}));for(var i=a.append(\"p\"),o=e.split(/<br\\s*\\/?>/g),s=0;s<o.length;s++)s&&i.append(\"br\"),i.append(\"span\").text(o[s]);\"stick\"===t?a.transition().duration(350).style(\"opacity\",1):a.transition().duration(700).style(\"opacity\",1).transition().delay(n).call(l)}))}function l(e){e.duration(700).style(\"opacity\",0).each(\"end\",(function(e){var t=i.indexOf(e);-1!==t&&i.splice(t,1),r.select(this).remove()}))}}},{\"@plotly/d3\":20,\"fast-isnumeric\":33}],298:[function(e,t,n){\"use strict\";var r=e(\"./setcursor\"),a=\"data-savedcursor\";t.exports=function(e,t){var n=e.attr(a);if(t){if(!n){for(var i=(e.attr(\"class\")||\"\").split(\" \"),o=0;o<i.length;o++){var l=i[o];0===l.indexOf(\"cursor-\")&&e.attr(a,l.substr(7)).classed(l,!1)}e.attr(a)||e.attr(a,\"!!\")}r(e,t)}else n&&(e.attr(a,null),\"!!\"===n?r(e):r(e,n))}},{\"./setcursor\":307}],299:[function(e,t,n){\"use strict\";var r=e(\"./matrix\").dot,a=e(\"../constants/numerical\").BADNUM,i=t.exports={};i.tester=function(e){var t,n=e.slice(),r=n[0][0],i=r,o=n[0][1],l=o;for(n.push(n[0]),t=1;t<n.length;t++)r=Math.min(r,n[t][0]),i=Math.max(i,n[t][0]),o=Math.min(o,n[t][1]),l=Math.max(l,n[t][1]);var s,u=!1;5===n.length&&(n[0][0]===n[1][0]?n[2][0]===n[3][0]&&n[0][1]===n[3][1]&&n[1][1]===n[2][1]&&(u=!0,s=function(e){return e[0]===n[0][0]}):n[0][1]===n[1][1]&&n[2][1]===n[3][1]&&n[0][0]===n[3][0]&&n[1][0]===n[2][0]&&(u=!0,s=function(e){return e[1]===n[0][1]}));var c=!0,f=n[0];for(t=1;t<n.length;t++)if(f[0]!==n[t][0]||f[1]!==n[t][1]){c=!1;break}return{xmin:r,xmax:i,ymin:o,ymax:l,pts:n,contains:u?function(e,t){var n=e[0],u=e[1];return!(n===a||n<r||n>i||u===a||u<o||u>l||t&&s(e))}:function(e,t){var s=e[0],u=e[1];if(s===a||s<r||s>i||u===a||u<o||u>l)return!1;var c,f,d,p,h,m=n.length,g=n[0][0],y=n[0][1],v=0;for(c=1;c<m;c++)if(f=g,d=y,g=n[c][0],y=n[c][1],!(s<(p=Math.min(f,g))||s>Math.max(f,g)||u>Math.max(d,y)))if(u<Math.min(d,y))s!==p&&v++;else{if(u===(h=g===f?u:d+(s-f)*(y-d)/(g-f)))return 1!==c||!t;u<=h&&s!==p&&v++}return v%2==1},isRect:u,degenerate:c}},i.isSegmentBent=function(e,t,n,a){var i,o,l,s=e[t],u=[e[n][0]-s[0],e[n][1]-s[1]],c=r(u,u),f=Math.sqrt(c),d=[-u[1]/f,u[0]/f];for(i=t+1;i<n;i++)if(o=[e[i][0]-s[0],e[i][1]-s[1]],(l=r(o,u))<0||l>c||Math.abs(r(o,d))>a)return!0;return!1},i.filter=function(e,t){var n=[e[0]],r=0,a=0;function o(o){e.push(o);var l=n.length,s=r;n.splice(a+1);for(var u=s+1;u<e.length;u++)(u===e.length-1||i.isSegmentBent(e,s,u+1,t))&&(n.push(e[u]),n.length<l-2&&(r=u,a=n.length-1),s=u)}return e.length>1&&o(e.pop()),{addPt:o,raw:e,filtered:n}}},{\"../constants/numerical\":267,\"./matrix\":293}],300:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"is-mobile\");t.exports=function(e){var t;if(\"string\"!=typeof(t=e&&e.hasOwnProperty(\"userAgent\")?e.userAgent:function(){var e;return\"undefined\"!=typeof navigator&&(e=navigator.userAgent),e&&e.headers&&\"string\"==typeof e.headers[\"user-agent\"]&&(e=e.headers[\"user-agent\"]),e}()))return!0;var n=a({ua:{headers:{\"user-agent\":t}},tablet:!0,featureDetect:!1});if(!n)for(var i=t.split(\" \"),o=1;o<i.length;o++)if(-1!==i[o].indexOf(\"Safari\"))for(var l=o-1;l>-1;l--){var s=i[l];if(\"Version/\"===s.substr(0,8)){var u=s.substr(8).split(\".\")[0];if(r(u)&&(u=+u),u>=13)return!0}}return n}},{\"fast-isnumeric\":33,\"is-mobile\":69}],301:[function(e,t,n){\"use strict\";t.exports=function(e,t){if(t instanceof RegExp){for(var n=t.toString(),r=0;r<e.length;r++)if(e[r]instanceof RegExp&&e[r].toString()===n)return e;e.push(t)}else!t&&0!==t||-1!==e.indexOf(t)||e.push(t);return e}},{}],302:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"../plot_api/plot_config\").dfltConfig,i={add:function(e,t,n,r,i){var o,l;e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},l=e.undoQueue.index,e.autoplay?e.undoQueue.inSequence||(e.autoplay=!1):(!e.undoQueue.sequence||e.undoQueue.beginSequence?(o={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},e.undoQueue.queue.splice(l,e.undoQueue.queue.length-l,o),e.undoQueue.index+=1):o=e.undoQueue.queue[l-1],e.undoQueue.beginSequence=!1,o&&(o.undo.calls.unshift(t),o.undo.args.unshift(n),o.redo.calls.push(r),o.redo.args.push(i)),e.undoQueue.queue.length>a.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--))},startSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},stopSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},undo:function(e){var t,n;if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,n=0;n<t.undo.calls.length;n++)i.plotDo(e,t.undo.calls[n],t.undo.args[n]);e.undoQueue.inSequence=!1,e.autoplay=!1}},redo:function(e){var t,n;if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index>=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,n=0;n<t.redo.calls.length;n++)i.plotDo(e,t.redo.calls[n],t.redo.args[n]);e.undoQueue.inSequence=!1,e.autoplay=!1,e.undoQueue.index++}},plotDo:function(e,t,n){e.autoplay=!0,n=function(e,t){for(var n,a=[],i=0;i<t.length;i++)n=t[i],a[i]=n===e?n:\"object\"==typeof n?Array.isArray(n)?r.extendDeep([],n):r.extendDeepAll({},n):n;return a}(e,n),t.apply(null,n)}};t.exports=i},{\"../lib\":287,\"../plot_api/plot_config\":321}],303:[function(e,t,n){\"use strict\";n.counter=function(e,t,n,r){var a=(t||\"\")+(n?\"\":\"$\"),i=!1===r?\"\":\"^\";return\"xy\"===e?new RegExp(i+\"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?\"+a):new RegExp(i+e+\"([2-9]|[1-9][0-9]+)?\"+a)}},{}],304:[function(e,t,n){\"use strict\";var r=/^(.*)(\\.[^\\.\\[\\]]+|\\[\\d\\])$/,a=/^[^\\.\\[\\]]+$/;t.exports=function(e,t){for(;t;){var n=e.match(r);if(n)e=n[1];else{if(!e.match(a))throw new Error(\"bad relativeAttr call:\"+[e,t]);e=\"\"}if(\"^\"!==t.charAt(0))break;t=t.slice(1)}return e&&\"[\"!==t.charAt(0)?e+\".\"+t:e+t}},{}],305:[function(e,t,n){\"use strict\";var r=e(\"./array\").isArrayOrTypedArray,a=e(\"./is_plain_object\");t.exports=function e(t,n){for(var i in n){var o=n[i],l=t[i];if(l!==o)if(\"_\"===i.charAt(0)||\"function\"==typeof o){if(i in t)continue;t[i]=o}else if(r(o)&&r(l)&&a(o[0])){if(\"customdata\"===i||\"ids\"===i)continue;for(var s=Math.min(o.length,l.length),u=0;u<s;u++)l[u]!==o[u]&&a(o[u])&&a(l[u])&&e(l[u],o[u])}else a(o)&&a(l)&&(e(l,o),Object.keys(l).length||delete t[i])}}},{\"./array\":273,\"./is_plain_object\":288}],306:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"./loggers\"),i=e(\"./identity\"),o=e(\"../constants/numerical\").BADNUM;function l(e,t){return e<t}function s(e,t){return e<=t}function u(e,t){return e>t}function c(e,t){return e>=t}n.findBin=function(e,t,n){if(r(t.start))return n?Math.ceil((e-t.start)/t.size-1e-9)-1:Math.floor((e-t.start)/t.size+1e-9);var i,o,f=0,d=t.length,p=0,h=d>1?(t[d-1]-t[0])/(d-1):1;for(o=h>=0?n?l:s:n?c:u,e+=1e-9*h*(n?-1:1)*(h>=0?1:-1);f<d&&p++<100;)o(t[i=Math.floor((f+d)/2)],e)?f=i+1:d=i;return p>90&&a.log(\"Long binary search...\"),f-1},n.sorterAsc=function(e,t){return e-t},n.sorterDes=function(e,t){return t-e},n.distinctVals=function(e){var t,r=e.slice();for(r.sort(n.sorterAsc),t=r.length-1;t>-1&&r[t]===o;t--);for(var a,i=r[t]-r[0]||1,l=i/(t||1)/1e4,s=[],u=0;u<=t;u++){var c=r[u],f=c-a;void 0===a?(s.push(c),a=c):f>l&&(i=Math.min(i,f),s.push(c),a=c)}return{vals:s,minDiff:i}},n.roundUp=function(e,t,n){for(var r,a=0,i=t.length-1,o=0,l=n?0:1,s=n?1:0,u=n?Math.ceil:Math.floor;a<i&&o++<100;)t[r=u((a+i)/2)]<=e?a=r+l:i=r-s;return t[a]},n.sort=function(e,t){for(var n=0,r=0,a=1;a<e.length;a++){var i=t(e[a],e[a-1]);if(i<0?n=1:i>0&&(r=1),n&&r)return e.sort(t)}return r?e:e.reverse()},n.findIndexOfMin=function(e,t){t=t||i;for(var n,r=1/0,a=0;a<e.length;a++){var o=t(e[a]);o<r&&(r=o,n=a)}return n}},{\"../constants/numerical\":267,\"./identity\":285,\"./loggers\":291,\"fast-isnumeric\":33}],307:[function(e,t,n){\"use strict\";t.exports=function(e,t){(e.attr(\"class\")||\"\").split(\" \").forEach((function(t){0===t.indexOf(\"cursor-\")&&e.classed(t,!1)})),t&&e.classed(\"cursor-\"+t,!0)}},{}],308:[function(e,t,n){\"use strict\";t.exports=function(e){return Object.keys(e).sort()}},{}],309:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"./array\").isArrayOrTypedArray;n.aggNums=function(e,t,i,o){var l,s;if((!o||o>i.length)&&(o=i.length),r(t)||(t=!1),a(i[0])){for(s=new Array(o),l=0;l<o;l++)s[l]=n.aggNums(e,t,i[l]);i=s}for(l=0;l<o;l++)r(t)?r(i[l])&&(t=e(+t,+i[l])):t=i[l];return t},n.len=function(e){return n.aggNums((function(e){return e+1}),0,e)},n.mean=function(e,t){return t||(t=n.len(e)),n.aggNums((function(e,t){return e+t}),0,e)/t},n.midRange=function(e){if(void 0!==e&&0!==e.length)return(n.aggNums(Math.max,null,e)+n.aggNums(Math.min,null,e))/2},n.variance=function(e,t,a){return t||(t=n.len(e)),r(a)||(a=n.mean(e,t)),n.aggNums((function(e,t){return e+Math.pow(t-a,2)}),0,e)/t},n.stdev=function(e,t,r){return Math.sqrt(n.variance(e,t,r))},n.median=function(e){var t=e.slice().sort();return n.interp(t,.5)},n.interp=function(e,t){if(!r(t))throw\"n should be a finite number\";if((t=t*e.length-.5)<0)return e[0];if(t>e.length-1)return e[e.length-1];var n=t%1;return n*e[Math.ceil(t)]+(1-n)*e[Math.floor(t)]}},{\"./array\":273,\"fast-isnumeric\":33}],310:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../lib\"),i=a.strTranslate,o=e(\"../constants/xmlns_namespaces\"),l=e(\"../constants/alignment\").LINE_SPACING,s=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;n.convertToTspans=function(e,t,h){var M=e.text(),S=!e.attr(\"data-notex\")&&\"undefined\"!=typeof MathJax&&M.match(s),O=r.select(e.node().parentNode);if(!O.empty()){var A=e.attr(\"class\")?e.attr(\"class\").split(\" \")[0]:\"text\";return A+=\"-math\",O.selectAll(\"svg.\"+A).remove(),O.selectAll(\"g.\"+A+\"-group\").remove(),e.style(\"display\",null).attr({\"data-unformatted\":M,\"data-math\":\"N\"}),S?(t&&t._promises||[]).push(new Promise((function(t){e.style(\"display\",\"none\");var n=parseInt(e.node().style.fontSize,10),o={fontSize:n};!function(e,t,n){var i,o,l,s;MathJax.Hub.Queue((function(){return o=a.extendDeepAll({},MathJax.Hub.config),l=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:\"none\",tex2jax:{inlineMath:[[\"$\",\"$\"],[\"\\\\(\",\"\\\\)\"]]},displayAlign:\"left\"})}),(function(){if(\"SVG\"!==(i=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer(\"SVG\")}),(function(){var n=\"math-output-\"+a.randstr({},64);return s=r.select(\"body\").append(\"div\").attr({id:n}).style({visibility:\"hidden\",position:\"absolute\"}).style({\"font-size\":t.fontSize+\"px\"}).text(e.replace(u,\"\\\\lt \").replace(c,\"\\\\gt \")),MathJax.Hub.Typeset(s.node())}),(function(){var t=r.select(\"body\").select(\"#MathJax_SVG_glyphs\");if(s.select(\".MathJax_SVG\").empty()||!s.select(\"svg\").node())a.log(\"There was an error in the tex syntax.\",e),n();else{var o=s.select(\"svg\").node().getBoundingClientRect();n(s.select(\".MathJax_SVG\"),t,o)}if(s.remove(),\"SVG\"!==i)return MathJax.Hub.setRenderer(i)}),(function(){return void 0!==l&&(MathJax.Hub.processSectionDelay=l),MathJax.Hub.Config(o)}))}(S[2],o,(function(r,a,o){O.selectAll(\"svg.\"+A).remove(),O.selectAll(\"g.\"+A+\"-group\").remove();var l=r&&r.select(\"svg\");if(!l||!l.node())return D(),void t();var s=O.append(\"g\").classed(A+\"-group\",!0).attr({\"pointer-events\":\"none\",\"data-unformatted\":M,\"data-math\":\"Y\"});s.node().appendChild(l.node()),a&&a.node()&&l.node().insertBefore(a.node().cloneNode(!0),l.node().firstChild);var u=o.width,c=o.height;l.attr({class:A,height:c,preserveAspectRatio:\"xMinYMin meet\"}).style({overflow:\"visible\",\"pointer-events\":\"none\"});var f=e.node().style.fill||\"black\",d=l.select(\"g\");d.attr({fill:f,stroke:f});var p=d.node().getBoundingClientRect(),m=p.width,g=p.height;(m>u||g>c)&&(l.style(\"overflow\",\"hidden\"),m=(p=l.node().getBoundingClientRect()).width,g=p.height);var y=+e.attr(\"x\"),v=+e.attr(\"y\"),b=-(n||e.node().getBoundingClientRect().height)/4;if(\"y\"===A[0])s.attr({transform:\"rotate(\"+[-90,y,v]+\")\"+i(-m/2,b-g/2)});else if(\"l\"===A[0])v=b-g/2;else if(\"a\"===A[0]&&0!==A.indexOf(\"atitle\"))y=0,v=b;else{var x=e.attr(\"text-anchor\");y-=m*(\"middle\"===x?.5:\"end\"===x?1:0),v=v+b-g/2}l.attr({x:y,y:v}),h&&h.call(e,s),t(s)}))}))):D(),e}function D(){O.empty()||(A=e.attr(\"class\")+\"-math\",O.select(\"svg.\"+A).remove()),e.text(\"\").style(\"white-space\",\"pre\"),function(e,t){t=t.replace(m,\" \");var n,i=!1,s=[],u=-1;function c(){u++;var t=document.createElementNS(o.svg,\"tspan\");r.select(t).attr({class:\"line\",dy:u*l+\"em\"}),e.appendChild(t),n=t;var a=s;if(s=[{node:t}],a.length>1)for(var i=1;i<a.length;i++)h(a[i])}function h(e){var t,a=e.type,i={};if(\"a\"===a){t=\"a\";var l=e.target,u=e.href,c=e.popup;u&&(i={\"xlink:xlink:show\":\"_blank\"===l||\"_\"!==l.charAt(0)?\"new\":\"replace\",target:l,\"xlink:xlink:href\":u},c&&(i.onclick='window.open(this.href.baseVal,this.target.baseVal,\"'+c+'\");return false;'))}else t=\"tspan\";e.style&&(i.style=e.style);var f=document.createElementNS(o.svg,t);if(\"sup\"===a||\"sub\"===a){M(n,\"\"),n.appendChild(f);var h=document.createElementNS(o.svg,\"tspan\");M(h,\"\"),r.select(h).attr(\"dy\",p[a]),i.dy=d[a],n.appendChild(f),n.appendChild(h)}else n.appendChild(f);r.select(f).attr(i),n=e.node=f,s.push(e)}function M(e,t){e.appendChild(document.createTextNode(t))}function S(e){if(1!==s.length){var r=s.pop();e!==r.type&&a.log(\"Start tag <\"+r.type+\"> doesnt match end tag <\"+e+\">. Pretending it did match.\",t),n=s[s.length-1].node}else a.log(\"Ignoring unexpected end tag </\"+e+\">.\",t)}v.test(t)?c():(n=e,s=[{node:e}]);for(var O=t.split(g),A=0;A<O.length;A++){var D=O[A],P=D.match(y),R=P&&P[2].toLowerCase(),L=f[R];if(\"br\"===R)c();else if(void 0===L)M(n,E(D));else if(P[1])S(R);else{var I=P[4],j={type:R},N=k(I,b);if(N?(N=N.replace(T,\"$1 fill:\"),L&&(N+=\";\"+L)):L&&(N=L),N&&(j.style=N),\"a\"===R){i=!0;var z=k(I,x);if(z){var F=C(z);F&&(j.href=F,j.target=k(I,w)||\"_blank\",j.popup=k(I,_))}}h(j)}}return i}(e.node(),M)&&e.style(\"pointer-events\",\"all\"),n.positionText(e),h&&h.call(e)}};var u=/(<|<|<)/g,c=/(>|>|>)/g,f={sup:\"font-size:70%\",sub:\"font-size:70%\",b:\"font-weight:bold\",i:\"font-style:italic\",a:\"cursor:pointer\",span:\"\",em:\"font-style:italic;font-weight:bold\"},d={sub:\"0.3em\",sup:\"-0.6em\"},p={sub:\"-0.21em\",sup:\"0.42em\"},h=[\"http:\",\"https:\",\"mailto:\",\"\",void 0,\":\"],m=n.NEWLINES=/(\\r\\n?|\\n)/g,g=/(<[^<>]*>)/,y=/<(\\/?)([^ >]*)(\\s+(.*))?>/i,v=/<br(\\s+.*)?>/i;n.BR_TAG_ALL=/<br(\\s+.*)?>/gi;var b=/(^|[\\s\"'])style\\s*=\\s*(\"([^\"]*);?\"|'([^']*);?')/i,x=/(^|[\\s\"'])href\\s*=\\s*(\"([^\"]*)\"|'([^']*)')/i,w=/(^|[\\s\"'])target\\s*=\\s*(\"([^\"\\s]*)\"|'([^'\\s]*)')/i,_=/(^|[\\s\"'])popup\\s*=\\s*(\"([\\w=,]*)\"|'([\\w=,]*)')/i;function k(e,t){if(!e)return null;var n=e.match(t),r=n&&(n[3]||n[4]);return r&&E(r)}var T=/(^|;)\\s*color:/;n.plainText=function(e,t){for(var n=void 0!==(t=t||{}).len&&-1!==t.len?t.len:1/0,r=void 0!==t.allowedTags?t.allowedTags:[\"br\"],a=\"...\".length,i=e.split(g),o=[],l=\"\",s=0,u=0;u<i.length;u++){var c=i[u],f=c.match(y),d=f&&f[2].toLowerCase();if(d)-1!==r.indexOf(d)&&(o.push(c),l=d);else{var p=c.length;if(s+p<n)o.push(c),s+=p;else if(s<n){var h=n-s;l&&(\"br\"!==l||h<=a||p<=a)&&o.pop(),n>a?o.push(c.substr(0,h-a)+\"...\"):o.push(c.substr(0,h));break}l=\"\"}}return o.join(\"\")};var M={mu:\"μ\",amp:\"&\",lt:\"<\",gt:\">\",nbsp:\" \",times:\"×\",plusmn:\"±\",deg:\"°\"},S=/&(#\\d+|#x[\\da-fA-F]+|[a-z]+);/g;function E(e){return e.replace(S,(function(e,t){return(\"#\"===t.charAt(0)?function(e){if(!(e>1114111)){var t=String.fromCodePoint;if(t)return t(e);var n=String.fromCharCode;return e<=65535?n(e):n(55232+(e>>10),e%1024+56320)}}(\"x\"===t.charAt(1)?parseInt(t.substr(2),16):parseInt(t.substr(1),10)):M[t])||e}))}function C(e){var t=encodeURI(decodeURI(e)),n=document.createElement(\"a\"),r=document.createElement(\"a\");n.href=e,r.href=t;var a=n.protocol,i=r.protocol;return-1!==h.indexOf(a)&&-1!==h.indexOf(i)?t:\"\"}function O(e,t,n){var r,i,o,l=n.horizontalAlign,s=n.verticalAlign||\"top\",u=e.node().getBoundingClientRect(),c=t.node().getBoundingClientRect();return i=\"bottom\"===s?function(){return u.bottom-r.height}:\"middle\"===s?function(){return u.top+(u.height-r.height)/2}:function(){return u.top},o=\"right\"===l?function(){return u.right-r.width}:\"center\"===l?function(){return u.left+(u.width-r.width)/2}:function(){return u.left},function(){r=this.node().getBoundingClientRect();var e=o()-c.left,t=i()-c.top,l=n.gd||{};if(n.gd){l._fullLayout._calcInverseTransform(l);var s=a.apply3DTransform(l._fullLayout._invTransform)(e,t);e=s[0],t=s[1]}return this.style({top:t+\"px\",left:e+\"px\",\"z-index\":1e3}),this}}n.convertEntities=E,n.sanitizeHTML=function(e){e=e.replace(m,\" \");for(var t=document.createElement(\"p\"),n=t,a=[],i=e.split(g),o=0;o<i.length;o++){var l=i[o],s=l.match(y),u=s&&s[2].toLowerCase();if(u in f)if(s[1])a.length&&(n=a.pop());else{var c=s[4],d=k(c,b),p=d?{style:d}:{};if(\"a\"===u){var h=k(c,x);if(h){var v=C(h);if(v){p.href=v;var _=k(c,w);_&&(p.target=_)}}}var T=document.createElement(u);n.appendChild(T),r.select(T).attr(p),n=T,a.push(T)}else n.appendChild(document.createTextNode(E(l)))}return t.innerHTML},n.lineCount=function(e){return e.selectAll(\"tspan.line\").size()||1},n.positionText=function(e,t,n){return e.each((function(){var e=r.select(this);function a(t,n){return void 0===n?null===(n=e.attr(t))&&(e.attr(t,0),n=0):e.attr(t,n),n}var i=a(\"x\",t),o=a(\"y\",n);\"text\"===this.nodeName&&e.selectAll(\"tspan.line\").attr({x:i,y:o})}))},n.makeTextShadow=function(e){var t=\"1px \",n=\"1px \",r=\"1px \";return t+n+r+e+\", -\"+t+\"-\"+n+r+e+\", \"+t+\"-\"+n+r+e+\", -\"+t+n+r+e},n.makeEditable=function(e,t){var n=t.gd,a=t.delegate,i=r.dispatch(\"edit\",\"input\",\"cancel\"),o=a||e;if(e.style({\"pointer-events\":a?\"none\":\"all\"}),1!==e.size())throw new Error(\"boo\");function l(){!function(){var a=r.select(n).select(\".svg-container\"),o=a.append(\"div\"),l=e.node().style,u=parseFloat(l.fontSize||12),c=t.text;void 0===c&&(c=e.attr(\"data-unformatted\")),o.classed(\"plugin-editable editable\",!0).style({position:\"absolute\",\"font-family\":l.fontFamily||\"Arial\",\"font-size\":u,color:t.fill||l.fill||\"black\",opacity:1,\"background-color\":t.background||\"transparent\",outline:\"#ffffff33 1px solid\",margin:[-u/8+1,0,0,-1].join(\"px \")+\"px\",padding:\"0\",\"box-sizing\":\"border-box\"}).attr({contenteditable:!0}).text(c).call(O(e,a,t)).on(\"blur\",(function(){n._editing=!1,e.text(this.textContent).style({opacity:1});var t,a=r.select(this).attr(\"class\");(t=a?\".\"+a.split(\" \")[0]+\"-math-group\":\"[class*=-math-group]\")&&r.select(e.node().parentNode).select(t).style({opacity:0});var o=this.textContent;r.select(this).transition().duration(0).remove(),r.select(document).on(\"mouseup\",null),i.edit.call(e,o)})).on(\"focus\",(function(){var e=this;n._editing=!0,r.select(document).on(\"mouseup\",(function(){if(r.event.target===e)return!1;document.activeElement===o.node()&&o.node().blur()}))})).on(\"keyup\",(function(){27===r.event.which?(n._editing=!1,e.style({opacity:1}),r.select(this).style({opacity:0}).on(\"blur\",(function(){return!1})).transition().remove(),i.cancel.call(e,this.textContent)):(i.input.call(e,this.textContent),r.select(this).call(O(e,a,t)))})).on(\"keydown\",(function(){13===r.event.which&&this.blur()})).call(s)}(),e.style({opacity:0});var a,l=o.attr(\"class\");(a=l?\".\"+l.split(\" \")[0]+\"-math-group\":\"[class*=-math-group]\")&&r.select(e.node().parentNode).select(a).style({opacity:0})}function s(e){var t=e.node(),n=document.createRange();n.selectNodeContents(t);var r=window.getSelection();r.removeAllRanges(),r.addRange(n),t.focus()}return t.immediate?l():o.on(\"click\",l),r.rebind(e,i,\"on\")}},{\"../constants/alignment\":262,\"../constants/xmlns_namespaces\":268,\"../lib\":287,\"@plotly/d3\":20}],311:[function(e,t,n){\"use strict\";var r={};function a(e){e&&null!==e.timer&&(clearTimeout(e.timer),e.timer=null)}n.throttle=function(e,t,n){var i=r[e],o=Date.now();if(!i){for(var l in r)r[l].ts<o-6e4&&delete r[l];i=r[e]={ts:0,timer:null}}function s(){n(),i.ts=Date.now(),i.onDone&&(i.onDone(),i.onDone=null)}a(i),o>i.ts+t?s():i.timer=setTimeout((function(){s(),i.timer=null}),t)},n.done=function(e){var t=r[e];return t&&t.timer?new Promise((function(e){var n=t.onDone;t.onDone=function(){n&&n(),e(),t.onDone=null}})):Promise.resolve()},n.clear=function(e){if(e)a(r[e]),delete r[e];else for(var t in r)n.clear(t)}},{}],312:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\");t.exports=function(e,t){if(e>0)return Math.log(e)/Math.LN10;var n=Math.log(Math.min(t[0],t[1]))/Math.LN10;return r(n)||(n=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),n}},{\"fast-isnumeric\":33}],313:[function(e,t,n){\"use strict\";t.exports={moduleType:\"locale\",name:\"en-US\",dictionary:{\"Click to enter Colorscale title\":\"Click to enter Colorscale title\"},format:{date:\"%m/%d/%Y\"}}},{}],314:[function(e,t,n){\"use strict\";t.exports={moduleType:\"locale\",name:\"en\",dictionary:{\"Click to enter Colorscale title\":\"Click to enter Colourscale title\"},format:{days:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],shortDays:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],months:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],shortMonths:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],periods:[\"AM\",\"PM\"],dateTime:\"%a %b %e %X %Y\",date:\"%d/%m/%Y\",time:\"%H:%M:%S\",decimal:\".\",thousands:\",\",grouping:[3],currency:[\"$\",\"\"],year:\"%Y\",month:\"%b %Y\",dayMonth:\"%b %-d\",dayMonthYear:\"%b %-d, %Y\"}}},{}],315:[function(e,t,n){\"use strict\";var r=e(\"../registry\");t.exports=function(e){for(var t,n,a=r.layoutArrayContainers,i=r.layoutArrayRegexes,o=e.split(\"[\")[0],l=0;l<i.length;l++)if((n=e.match(i[l]))&&0===n.index){t=n[0];break}if(t||(t=a[a.indexOf(o)]),!t)return!1;var s=e.substr(t.length);return s?!!(n=s.match(/^\\[(0|[1-9][0-9]*)\\](\\.(.+))?$/))&&{array:t,index:Number(n[1]),property:n[3]||\"\"}:{array:t,index:\"\",property:\"\"}}},{\"../registry\":378}],316:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=r.extendFlat,i=r.isPlainObject,o={valType:\"flaglist\",extras:[\"none\"],flags:[\"calc\",\"clearAxisTypes\",\"plot\",\"style\",\"markerSize\",\"colorbars\"]},l={valType:\"flaglist\",extras:[\"none\"],flags:[\"calc\",\"plot\",\"legend\",\"ticks\",\"axrange\",\"layoutstyle\",\"modebar\",\"camera\",\"arraydraw\",\"colorbars\"]},s=o.flags.slice().concat([\"fullReplot\"]),u=l.flags.slice().concat(\"layoutReplot\");function c(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!1;return t}function f(e,t,n){var r=a({},e);for(var o in r){var l=r[o];i(l)&&(r[o]=d(l,t,n,o))}return\"from-root\"===n&&(r.editType=t),r}function d(e,t,n,r){if(e.valType){var i=a({},e);if(i.editType=t,Array.isArray(e.items)){i.items=new Array(e.items.length);for(var o=0;o<e.items.length;o++)i.items[o]=d(e.items[o],t,\"from-root\")}return i}return f(e,t,\"_\"===r.charAt(0)?\"nested\":\"from-root\")}t.exports={traces:o,layout:l,traceFlags:function(){return c(s)},layoutFlags:function(){return c(u)},update:function(e,t){var n=t.editType;if(n&&\"none\"!==n)for(var r=n.split(\"+\"),a=0;a<r.length;a++)e[r[a]]=!0},overrideAll:f}},{\"../lib\":287}],317:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"gl-mat4/fromQuat\"),i=e(\"../registry\"),o=e(\"../lib\"),l=e(\"../plots/plots\"),s=e(\"../plots/cartesian/axis_ids\"),u=e(\"../components/color\"),c=s.cleanId,f=s.getFromTrace,d=i.traceIs;function p(e,t){var n=e[t],r=t.charAt(0);n&&\"paper\"!==n&&(e[t]=c(n,r,!0))}function h(e){function t(t,n){var r=e[t],a=e.title&&e.title[n];r&&!a&&(e.title||(e.title={}),e.title[n]=e[t],delete e[t])}e&&(\"string\"!=typeof e.title&&\"number\"!=typeof e.title||(e.title={text:e.title}),t(\"titlefont\",\"font\"),t(\"titleposition\",\"position\"),t(\"titleside\",\"side\"),t(\"titleoffset\",\"offset\"))}function m(e){if(!o.isPlainObject(e))return!1;var t=e.name;return delete e.name,delete e.showlegend,(\"string\"==typeof t||\"number\"==typeof t)&&String(t)}function g(e,t,n,r){if(n&&!r)return e;if(r&&!n)return t;if(!e.trim())return t;if(!t.trim())return e;var a,i=Math.min(e.length,t.length);for(a=0;a<i&&e.charAt(a)===t.charAt(a);a++);return e.substr(0,a).trim()}function y(e){var t=\"middle\",n=\"center\";return\"string\"==typeof e&&(-1!==e.indexOf(\"top\")?t=\"top\":-1!==e.indexOf(\"bottom\")&&(t=\"bottom\"),-1!==e.indexOf(\"left\")?n=\"left\":-1!==e.indexOf(\"right\")&&(n=\"right\")),t+\" \"+n}function v(e,t){return t in e&&\"object\"==typeof e[t]&&0===Object.keys(e[t]).length}n.clearPromiseQueue=function(e){Array.isArray(e._promises)&&e._promises.length>0&&o.log(\"Clearing previous rejected promises from queue.\"),e._promises=[]},n.cleanLayout=function(e){var t,r;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var i=(l.subplotsRegistry.cartesian||{}).attrRegex,s=(l.subplotsRegistry.polar||{}).attrRegex,f=(l.subplotsRegistry.ternary||{}).attrRegex,d=(l.subplotsRegistry.gl3d||{}).attrRegex,m=Object.keys(e);for(t=0;t<m.length;t++){var g=m[t];if(i&&i.test(g)){var y=e[g];y.anchor&&\"free\"!==y.anchor&&(y.anchor=c(y.anchor)),y.overlaying&&(y.overlaying=c(y.overlaying)),y.type||(y.isdate?y.type=\"date\":y.islog?y.type=\"log\":!1===y.isdate&&!1===y.islog&&(y.type=\"linear\")),\"withzero\"!==y.autorange&&\"tozero\"!==y.autorange||(y.autorange=!0,y.rangemode=\"tozero\"),delete y.islog,delete y.isdate,delete y.categories,v(y,\"domain\")&&delete y.domain,void 0!==y.autotick&&(void 0===y.tickmode&&(y.tickmode=y.autotick?\"auto\":\"linear\"),delete y.autotick),h(y)}else if(s&&s.test(g))h(e[g].radialaxis);else if(f&&f.test(g)){var b=e[g];h(b.aaxis),h(b.baxis),h(b.caxis)}else if(d&&d.test(g)){var x=e[g],w=x.cameraposition;if(Array.isArray(w)&&4===w[0].length){var _=w[0],k=w[1],T=w[2],M=a([],_),S=[];for(r=0;r<3;++r)S[r]=k[r]+T*M[2+4*r];x.camera={eye:{x:S[0],y:S[1],z:S[2]},center:{x:k[0],y:k[1],z:k[2]},up:{x:0,y:0,z:1}},delete x.cameraposition}h(x.xaxis),h(x.yaxis),h(x.zaxis)}}var E=Array.isArray(e.annotations)?e.annotations.length:0;for(t=0;t<E;t++){var C=e.annotations[t];o.isPlainObject(C)&&(C.ref&&(\"paper\"===C.ref?(C.xref=\"paper\",C.yref=\"paper\"):\"data\"===C.ref&&(C.xref=\"x\",C.yref=\"y\"),delete C.ref),p(C,\"xref\"),p(C,\"yref\"))}var O=Array.isArray(e.shapes)?e.shapes.length:0;for(t=0;t<O;t++){var A=e.shapes[t];o.isPlainObject(A)&&(p(A,\"xref\"),p(A,\"yref\"))}var D=Array.isArray(e.images)?e.images.length:0;for(t=0;t<D;t++){var P=e.images[t];o.isPlainObject(P)&&(p(P,\"xref\"),p(P,\"yref\"))}var R=e.legend;return R&&(R.x>3?(R.x=1.02,R.xanchor=\"left\"):R.x<-2&&(R.x=-.02,R.xanchor=\"right\"),R.y>3?(R.y=1.02,R.yanchor=\"bottom\"):R.y<-2&&(R.y=-.02,R.yanchor=\"top\")),h(e),\"rotate\"===e.dragmode&&(e.dragmode=\"orbit\"),u.clean(e),e.template&&e.template.layout&&n.cleanLayout(e.template.layout),e},n.cleanData=function(e){for(var t=0;t<e.length;t++){var r,a=e[t];if(\"histogramy\"===a.type&&\"xbins\"in a&&!(\"ybins\"in a)&&(a.ybins=a.xbins,delete a.xbins),a.error_y&&\"opacity\"in a.error_y){var s=u.defaults,f=a.error_y.color||(d(a,\"bar\")?u.defaultLine:s[t%s.length]);a.error_y.color=u.addOpacity(u.rgb(f),u.opacity(f)*a.error_y.opacity),delete a.error_y.opacity}if(\"bardir\"in a&&(\"h\"!==a.bardir||!d(a,\"bar\")&&\"histogram\"!==a.type.substr(0,9)||(a.orientation=\"h\",n.swapXYData(a)),delete a.bardir),\"histogramy\"===a.type&&n.swapXYData(a),\"histogramx\"!==a.type&&\"histogramy\"!==a.type||(a.type=\"histogram\"),\"scl\"in a&&!(\"colorscale\"in a)&&(a.colorscale=a.scl,delete a.scl),\"reversescl\"in a&&!(\"reversescale\"in a)&&(a.reversescale=a.reversescl,delete a.reversescl),a.xaxis&&(a.xaxis=c(a.xaxis,\"x\")),a.yaxis&&(a.yaxis=c(a.yaxis,\"y\")),d(a,\"gl3d\")&&a.scene&&(a.scene=l.subplotsRegistry.gl3d.cleanId(a.scene)),!d(a,\"pie-like\")&&!d(a,\"bar-like\"))if(Array.isArray(a.textposition))for(r=0;r<a.textposition.length;r++)a.textposition[r]=y(a.textposition[r]);else a.textposition&&(a.textposition=y(a.textposition));var p=i.getModule(a);if(p&&p.colorbar){var b=p.colorbar.container,x=b?a[b]:a;x&&x.colorscale&&(\"YIGnBu\"===x.colorscale&&(x.colorscale=\"YlGnBu\"),\"YIOrRd\"===x.colorscale&&(x.colorscale=\"YlOrRd\"))}if(\"surface\"===a.type&&o.isPlainObject(a.contours)){var w=[\"x\",\"y\",\"z\"];for(r=0;r<w.length;r++){var _=a.contours[w[r]];o.isPlainObject(_)&&(_.highlightColor&&(_.highlightcolor=_.highlightColor,delete _.highlightColor),_.highlightWidth&&(_.highlightwidth=_.highlightWidth,delete _.highlightWidth))}}if(\"candlestick\"===a.type||\"ohlc\"===a.type){var k=!1!==(a.increasing||{}).showlegend,T=!1!==(a.decreasing||{}).showlegend,M=m(a.increasing),S=m(a.decreasing);if(!1!==M&&!1!==S){var E=g(M,S,k,T);E&&(a.name=E)}else!M&&!S||a.name||(a.name=M||S)}if(Array.isArray(a.transforms)){var C=a.transforms;for(r=0;r<C.length;r++){var O=C[r];if(o.isPlainObject(O))switch(O.type){case\"filter\":O.filtersrc&&(O.target=O.filtersrc,delete O.filtersrc),O.calendar&&(O.valuecalendar||(O.valuecalendar=O.calendar),delete O.calendar);break;case\"groupby\":if(O.styles=O.styles||O.style,O.styles&&!Array.isArray(O.styles)){var A=O.styles,D=Object.keys(A);O.styles=[];for(var P=0;P<D.length;P++)O.styles.push({target:D[P],value:A[D[P]]})}}}}v(a,\"line\")&&delete a.line,\"marker\"in a&&(v(a.marker,\"line\")&&delete a.marker.line,v(a,\"marker\")&&delete a.marker),u.clean(a),a.autobinx&&(delete a.autobinx,delete a.xbins),a.autobiny&&(delete a.autobiny,delete a.ybins),h(a),a.colorbar&&h(a.colorbar),a.marker&&a.marker.colorbar&&h(a.marker.colorbar),a.line&&a.line.colorbar&&h(a.line.colorbar),a.aaxis&&h(a.aaxis),a.baxis&&h(a.baxis)}},n.swapXYData=function(e){var t;if(o.swapAttrs(e,[\"?\",\"?0\",\"d?\",\"?bins\",\"nbins?\",\"autobin?\",\"?src\",\"error_?\"]),Array.isArray(e.z)&&Array.isArray(e.z[0])&&(e.transpose?delete e.transpose:e.transpose=!0),e.error_x&&e.error_y){var n=e.error_y,r=\"copy_ystyle\"in n?n.copy_ystyle:!(n.color||n.thickness||n.width);o.swapAttrs(e,[\"error_?.copy_ystyle\"]),r&&o.swapAttrs(e,[\"error_?.color\",\"error_?.thickness\",\"error_?.width\"])}if(\"string\"==typeof e.hoverinfo){var a=e.hoverinfo.split(\"+\");for(t=0;t<a.length;t++)\"x\"===a[t]?a[t]=\"y\":\"y\"===a[t]&&(a[t]=\"x\");e.hoverinfo=a.join(\"+\")}},n.coerceTraceIndices=function(e,t){if(r(t))return[t];if(!Array.isArray(t)||!t.length)return e.data.map((function(e,t){return t}));if(Array.isArray(t)){for(var n=[],a=0;a<t.length;a++)o.isIndex(t[a],e.data.length)?n.push(t[a]):o.warn(\"trace index (\",t[a],\") is not a number or is out of bounds\");return n}return t},n.manageArrayContainers=function(e,t,n){var a=e.obj,i=e.parts,l=i.length,s=i[l-1],u=r(s);if(u&&null===t){var c=i.slice(0,l-1).join(\".\");o.nestedProperty(a,c).get().splice(s,1)}else u&&void 0===e.get()?(void 0===e.get()&&(n[e.astr]=null),e.set(t)):e.set(t)};var b=/(\\.[^\\[\\]\\.]+|\\[[^\\[\\]\\.]+\\])$/;function x(e){var t=e.search(b);if(t>0)return e.substr(0,t)}n.hasParent=function(e,t){for(var n=x(t);n;){if(n in e)return!0;n=x(n)}return!1};var w=[\"x\",\"y\",\"z\"];n.clearAxisTypes=function(e,t,n){for(var r=0;r<t.length;r++)for(var a=e._fullData[r],i=0;i<3;i++){var l=f(e,a,w[i]);if(l&&\"log\"!==l.type){var s=l._name,u=l._id.substr(1);if(\"scene\"===u.substr(0,5)){if(void 0!==n[u])continue;s=u+\".\"+s}var c=s+\".type\";void 0===n[s]&&void 0===n[c]&&o.nestedProperty(e.layout,c).set(null)}}}},{\"../components/color\":157,\"../lib\":287,\"../plots/cartesian/axis_ids\":338,\"../plots/plots\":371,\"../registry\":378,\"fast-isnumeric\":33,\"gl-mat4/fromQuat\":39}],318:[function(e,t,n){\"use strict\";var r=e(\"./plot_api\");n._doPlot=r._doPlot,n.newPlot=r.newPlot,n.restyle=r.restyle,n.relayout=r.relayout,n.redraw=r.redraw,n.update=r.update,n._guiRestyle=r._guiRestyle,n._guiRelayout=r._guiRelayout,n._guiUpdate=r._guiUpdate,n._storeDirectGUIEdit=r._storeDirectGUIEdit,n.react=r.react,n.extendTraces=r.extendTraces,n.prependTraces=r.prependTraces,n.addTraces=r.addTraces,n.deleteTraces=r.deleteTraces,n.moveTraces=r.moveTraces,n.purge=r.purge,n.addFrames=r.addFrames,n.deleteFrames=r.deleteFrames,n.animate=r.animate,n.setPlotConfig=r.setPlotConfig,n.toImage=e(\"./to_image\"),n.validate=e(\"./validate\"),n.downloadImage=e(\"../snapshot/download\");var a=e(\"./template_api\");n.makeTemplate=a.makeTemplate,n.validateTemplate=a.validateTemplate},{\"../snapshot/download\":380,\"./plot_api\":320,\"./template_api\":325,\"./to_image\":326,\"./validate\":327}],319:[function(e,t,n){\"use strict\";var r=e(\"../lib/is_plain_object\"),a=e(\"../lib/noop\"),i=e(\"../lib/loggers\"),o=e(\"../lib/search\").sorterAsc,l=e(\"../registry\");n.containerArrayMatch=e(\"./container_array_match\");var s=n.isAddVal=function(e){return\"add\"===e||r(e)},u=n.isRemoveVal=function(e){return null===e||\"remove\"===e};n.applyContainerArrayChanges=function(e,t,n,r,c){var f=t.astr,d=l.getComponentMethod(f,\"supplyLayoutDefaults\"),p=l.getComponentMethod(f,\"draw\"),h=l.getComponentMethod(f,\"drawOne\"),m=r.replot||r.recalc||d===a||p===a,g=e.layout,y=e._fullLayout;if(n[\"\"]){Object.keys(n).length>1&&i.warn(\"Full array edits are incompatible with other edits\",f);var v=n[\"\"][\"\"];if(u(v))t.set(null);else{if(!Array.isArray(v))return i.warn(\"Unrecognized full array edit value\",f,v),!0;t.set(v)}return!m&&(d(g,y),p(e),!0)}var b,x,w,_,k,T,M,S,E=Object.keys(n).map(Number).sort(o),C=t.get(),O=C||[],A=c(y,f).get(),D=[],P=-1,R=O.length;for(b=0;b<E.length;b++)if(_=n[w=E[b]],k=Object.keys(_),T=_[\"\"],M=s(T),w<0||w>O.length-(M?0:1))i.warn(\"index out of range\",f,w);else if(void 0!==T)k.length>1&&i.warn(\"Insertion & removal are incompatible with edits to the same index.\",f,w),u(T)?D.push(w):M?(\"add\"===T&&(T={}),O.splice(w,0,T),A&&A.splice(w,0,{})):i.warn(\"Unrecognized full object edit value\",f,w,T),-1===P&&(P=w);else for(x=0;x<k.length;x++)S=f+\"[\"+w+\"].\",c(O[w],k[x],S).set(_[k[x]]);for(b=D.length-1;b>=0;b--)O.splice(D[b],1),A&&A.splice(D[b],1);if(O.length?C||t.set(O):t.set(null),m)return!1;if(d(g,y),h!==a){var L;if(-1===P)L=E;else{for(R=Math.max(O.length,R),L=[],b=0;b<E.length&&!((w=E[b])>=P);b++)L.push(w);for(b=P;b<R;b++)L.push(b)}for(b=0;b<L.length;b++)h(e,L[b])}else p(e);return!0}},{\"../lib/is_plain_object\":288,\"../lib/loggers\":291,\"../lib/noop\":296,\"../lib/search\":306,\"../registry\":378,\"./container_array_match\":315}],320:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"fast-isnumeric\"),i=e(\"has-hover\"),o=e(\"../lib\"),l=o.nestedProperty,s=e(\"../lib/events\"),u=e(\"../lib/queue\"),c=e(\"../registry\"),f=e(\"./plot_schema\"),d=e(\"../plots/plots\"),p=e(\"../plots/cartesian/axes\"),h=e(\"../components/drawing\"),m=e(\"../components/color\"),g=e(\"../plots/cartesian/graph_interact\").initInteractions,y=e(\"../constants/xmlns_namespaces\"),v=e(\"../plots/cartesian/select\").clearSelect,b=e(\"./plot_config\").dfltConfig,x=e(\"./manage_arrays\"),w=e(\"./helpers\"),_=e(\"./subroutines\"),k=e(\"./edit_types\"),T=e(\"../plots/cartesian/constants\").AX_NAME_PATTERN,M=0;function S(e){var t=e._fullLayout;t._redrawFromAutoMarginCount?t._redrawFromAutoMarginCount--:e.emit(\"plotly_afterplot\")}function E(e,t){try{e._fullLayout._paper.style(\"background\",t)}catch(e){o.error(e)}}function C(e,t){E(e,m.combine(t,\"white\"))}function O(e,t){if(!e._context){e._context=o.extendDeep({},b);var n=r.select(\"base\");e._context._baseUrl=n.size()&&n.attr(\"href\")?window.location.href.split(\"#\")[0]:\"\"}var a,l,s,u=e._context;if(t){for(l=Object.keys(t),a=0;a<l.length;a++)\"editable\"!==(s=l[a])&&\"edits\"!==s&&s in u&&(\"setBackground\"===s&&\"opaque\"===t[s]?u[s]=C:u[s]=t[s]);t.plot3dPixelRatio&&!u.plotGlPixelRatio&&(u.plotGlPixelRatio=u.plot3dPixelRatio);var c=t.editable;if(void 0!==c)for(u.editable=c,l=Object.keys(u.edits),a=0;a<l.length;a++)u.edits[l[a]]=c;if(t.edits)for(l=Object.keys(t.edits),a=0;a<l.length;a++)(s=l[a])in u.edits&&(u.edits[s]=t.edits[s]);u._exportedPlot=t._exportedPlot}u.staticPlot&&(u.editable=!1,u.edits={},u.autosizable=!1,u.scrollZoom=!1,u.doubleClick=!1,u.showTips=!1,u.showLink=!1,u.displayModeBar=!1),\"hover\"!==u.displayModeBar||i||(u.displayModeBar=!0),\"transparent\"!==u.setBackground&&\"function\"==typeof u.setBackground||(u.setBackground=E),u._hasZeroHeight=u._hasZeroHeight||0===e.clientHeight,u._hasZeroWidth=u._hasZeroWidth||0===e.clientWidth;var f=u.scrollZoom,d=u._scrollZoom={};if(!0===f)d.cartesian=1,d.gl3d=1,d.geo=1,d.mapbox=1;else if(\"string\"==typeof f){var p=f.split(\"+\");for(a=0;a<p.length;a++)d[p[a]]=1}else!1!==f&&(d.gl3d=1,d.geo=1,d.mapbox=1)}function A(e,t){var n,r,a=t+1,i=[];for(n=0;n<e.length;n++)(r=e[n])<0?i.push(a+r):i.push(r);return i}function D(e,t,n){var r,a;for(r=0;r<t.length;r++){if((a=t[r])!==parseInt(a,10))throw new Error(\"all values in \"+n+\" must be integers\");if(a>=e.data.length||a<-e.data.length)throw new Error(n+\" must be valid indices for gd.data.\");if(t.indexOf(a,r+1)>-1||a>=0&&t.indexOf(-e.data.length+a)>-1||a<0&&t.indexOf(e.data.length+a)>-1)throw new Error(\"each index in \"+n+\" must be unique.\")}}function P(e,t,n){if(!Array.isArray(e.data))throw new Error(\"gd.data must be an array.\");if(void 0===t)throw new Error(\"currentIndices is a required argument.\");if(Array.isArray(t)||(t=[t]),D(e,t,\"currentIndices\"),void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&D(e,n,\"newIndices\"),void 0!==n&&t.length!==n.length)throw new Error(\"current and new indices must be of equal length.\")}function R(e,t,n,r,i){!function(e,t,n,r){var a=o.isPlainObject(r);if(!Array.isArray(e.data))throw new Error(\"gd.data must be an array\");if(!o.isPlainObject(t))throw new Error(\"update must be a key:value object\");if(void 0===n)throw new Error(\"indices must be an integer or array of integers\");for(var i in D(e,n,\"indices\"),t){if(!Array.isArray(t[i])||t[i].length!==n.length)throw new Error(\"attribute \"+i+\" must be an array of length equal to indices array length\");if(a&&(!(i in r)||!Array.isArray(r[i])||r[i].length!==t[i].length))throw new Error(\"when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object\")}}(e,t,n,r);for(var s=function(e,t,n,r){var i,s,u,c,f,d=o.isPlainObject(r),p=[];for(var h in Array.isArray(n)||(n=[n]),n=A(n,e.data.length-1),t)for(var m=0;m<n.length;m++){if(i=e.data[n[m]],s=(u=l(i,h)).get(),c=t[h][m],!o.isArrayOrTypedArray(c))throw new Error(\"attribute: \"+h+\" index: \"+m+\" must be an array\");if(!o.isArrayOrTypedArray(s))throw new Error(\"cannot extend missing or non-array attribute: \"+h);if(s.constructor!==c.constructor)throw new Error(\"cannot extend array with an array of a different type: \"+h);f=d?r[h][m]:r,a(f)||(f=-1),p.push({prop:u,target:s,insert:c,maxp:Math.floor(f)})}return p}(e,t,n,r),u={},c={},f=0;f<s.length;f++){var d=s[f].prop,p=s[f].maxp,h=i(s[f].target,s[f].insert,p);d.set(h[0]),Array.isArray(u[d.astr])||(u[d.astr]=[]),u[d.astr].push(h[1]),Array.isArray(c[d.astr])||(c[d.astr]=[]),c[d.astr].push(s[f].target.length)}return{update:u,maxPoints:c}}function L(e,t){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}function I(e,t,r,a){e=o.getGraphDiv(e),w.clearPromiseQueue(e);var i={};if(\"string\"==typeof t)i[t]=r;else{if(!o.isPlainObject(t))return o.warn(\"Restyle fail.\",t,r,a),Promise.reject();i=o.extendFlat({},t),void 0===a&&(a=r)}Object.keys(i).length&&(e.changed=!0);var l=w.coerceTraceIndices(e,a),s=F(e,i,l),c=s.flags;c.calc&&(e.calcdata=void 0),c.clearAxisTypes&&w.clearAxisTypes(e,l,{});var f=[];c.fullReplot?f.push(n._doPlot):(f.push(d.previousPromises),d.supplyDefaults(e),c.markerSize&&(d.doCalcdata(e),H(f)),c.style&&f.push(_.doTraceStyle),c.colorbars&&f.push(_.doColorBars),f.push(S)),f.push(d.rehover,d.redrag),u.add(e,I,[e,s.undoit,s.traces],I,[e,s.redoit,s.traces]);var p=o.syncOrAsync(f,e);return p&&p.then||(p=Promise.resolve()),p.then((function(){return e.emit(\"plotly_restyle\",s.eventData),e}))}function j(e){return void 0===e?null:e}function N(e,t){return t?function(t,n,r){var a=l(t,n),i=a.set;return a.set=function(t){z((r||\"\")+n,a.get(),t,e),i(t)},a}:l}function z(e,t,n,r){if(Array.isArray(t)||Array.isArray(n))for(var a=Array.isArray(t)?t:[],i=Array.isArray(n)?n:[],l=Math.max(a.length,i.length),s=0;s<l;s++)z(e+\"[\"+s+\"]\",a[s],i[s],r);else if(o.isPlainObject(t)||o.isPlainObject(n)){var u=o.isPlainObject(t)?t:{},c=o.isPlainObject(n)?n:{},f=o.extendFlat({},u,c);for(var d in f)z(e+\".\"+d,u[d],c[d],r)}else void 0===r[e]&&(r[e]=j(t))}function F(e,t,n){var r,a=e._fullLayout,i=e._fullData,s=e.data,u=a._guiEditing,h=N(a._preGUI,u),m=o.extendDeepAll({},t);Z(t);var g,y=k.traceFlags(),v={},b={};function x(){return n.map((function(){}))}function _(e){var t=p.id2name(e);-1===g.indexOf(t)&&g.push(t)}function T(e){return\"LAYOUT\"+e+\".autorange\"}function M(e){return\"LAYOUT\"+e+\".range\"}function S(e){for(var t=e;t<i.length;t++)if(i[t]._input===s[e])return i[t]}function E(r,i,o){if(Array.isArray(r))r.forEach((function(e){E(e,i,o)}));else if(!(r in t)&&!w.hasParent(t,r)){var l;if(\"LAYOUT\"===r.substr(0,6))l=h(e.layout,r.replace(\"LAYOUT\",\"\"));else{var c=n[o];l=N(a._tracePreGUI[S(c)._fullInput.uid],u)(s[c],r)}r in b||(b[r]=x()),void 0===b[r][o]&&(b[r][o]=j(l.get())),void 0!==i&&l.set(i)}}function C(e){return function(t){return i[t][e]}}function O(e){return function(t,r){return!1===t?i[n[r]][e]:null}}for(var A in t){if(w.hasParent(t,A))throw new Error(\"cannot set \"+A+\" and a parent attribute simultaneously\");var D,P,R,L,I,z,F=t[A];if(\"autobinx\"!==A&&\"autobiny\"!==A||(A=A.charAt(A.length-1)+\"bins\",F=Array.isArray(F)?F.map(O(A)):!1===F?n.map(C(A)):null),v[A]=F,\"LAYOUT\"!==A.substr(0,6)){for(b[A]=x(),r=0;r<n.length;r++)if(D=s[n[r]],P=S(n[r]),L=(R=N(a._tracePreGUI[P._fullInput.uid],u)(D,A)).get(),void 0!==(I=Array.isArray(F)?F[r%F.length]:F)){var B=R.parts[R.parts.length-1],q=A.substr(0,A.length-B.length-1),H=q?q+\".\":\"\",U=q?l(P,q).get():P;if((z=f.getTraceValObject(P,R.parts))&&z.impliedEdits&&null!==I)for(var W in z.impliedEdits)E(o.relativeAttr(A,W),z.impliedEdits[W],r);else if(\"thicknessmode\"!==B&&\"lenmode\"!==B||L===I||\"fraction\"!==I&&\"pixels\"!==I||!U){if(\"type\"===A&&(\"pie\"===I!=(\"pie\"===L)||\"funnelarea\"===I!=(\"funnelarea\"===L))){var V=\"x\",Y=\"y\";\"bar\"!==I&&\"bar\"!==L||\"h\"!==D.orientation||(V=\"y\",Y=\"x\"),o.swapAttrs(D,[\"?\",\"?src\"],\"labels\",V),o.swapAttrs(D,[\"d?\",\"?0\"],\"label\",V),o.swapAttrs(D,[\"?\",\"?src\"],\"values\",Y),\"pie\"===L||\"funnelarea\"===L?(l(D,\"marker.color\").set(l(D,\"marker.colors\").get()),a._pielayer.selectAll(\"g.trace\").remove()):c.traceIs(D,\"cartesian\")&&l(D,\"marker.colors\").set(l(D,\"marker.color\").get())}}else{var G=a._size,$=U.orient,X=\"top\"===$||\"bottom\"===$;if(\"thicknessmode\"===B){var K=X?G.h:G.w;E(H+\"thickness\",U.thickness*(\"fraction\"===I?1/K:K),r)}else{var J=X?G.w:G.h;E(H+\"len\",U.len*(\"fraction\"===I?1/J:J),r)}}if(b[A][r]=j(L),-1!==[\"swapxy\",\"swapxyaxes\",\"orientation\",\"orientationaxes\"].indexOf(A)){if(\"orientation\"===A){R.set(I);var Q=D.x&&!D.y?\"h\":\"v\";if((R.get()||Q)===P.orientation)continue}else\"orientationaxes\"===A&&(D.orientation={v:\"h\",h:\"v\"}[P.orientation]);w.swapXYData(D),y.calc=y.clearAxisTypes=!0}else-1!==d.dataArrayContainers.indexOf(R.parts[0])?(w.manageArrayContainers(R,I,b),y.calc=!0):(z?z.arrayOk&&!c.traceIs(P,\"regl\")&&(o.isArrayOrTypedArray(I)||o.isArrayOrTypedArray(L))?y.calc=!0:k.update(y,z):y.calc=!0,R.set(I))}if(-1!==[\"swapxyaxes\",\"orientationaxes\"].indexOf(A)&&p.swap(e,n),\"orientationaxes\"===A){var ee=l(e.layout,\"hovermode\"),te=ee.get();\"x\"===te?ee.set(\"y\"):\"y\"===te?ee.set(\"x\"):\"x unified\"===te?ee.set(\"y unified\"):\"y unified\"===te&&ee.set(\"x unified\")}if(-1!==[\"orientation\",\"type\"].indexOf(A)){for(g=[],r=0;r<n.length;r++){var ne=s[n[r]];c.traceIs(ne,\"cartesian\")&&(_(ne.xaxis||\"x\"),_(ne.yaxis||\"y\"))}E(g.map(T),!0,0),E(g.map(M),[0,1],0)}}else R=h(e.layout,A.replace(\"LAYOUT\",\"\")),b[A]=[j(R.get())],R.set(Array.isArray(F)?F[0]:F),y.calc=!0}return(y.calc||y.plot)&&(y.fullReplot=!0),{flags:y,undoit:b,redoit:v,traces:n,eventData:o.extendDeepNoArrays([],[m,n])}}function Z(e){var t,n,r,a=o.counterRegex(\"axis\",\".title\",!1,!1),i=/colorbar\\.title$/,l=Object.keys(e);for(t=0;t<l.length;t++)n=l[t],r=e[n],\"title\"!==n&&!a.test(n)&&!i.test(n)||\"string\"!=typeof r&&\"number\"!=typeof r?n.indexOf(\"titlefont\")>-1&&-1===n.indexOf(\"grouptitlefont\")?s(n,n.replace(\"titlefont\",\"title.font\")):n.indexOf(\"titleposition\")>-1?s(n,n.replace(\"titleposition\",\"title.position\")):n.indexOf(\"titleside\")>-1?s(n,n.replace(\"titleside\",\"title.side\")):n.indexOf(\"titleoffset\")>-1&&s(n,n.replace(\"titleoffset\",\"title.offset\")):s(n,n.replace(\"title\",\"title.text\"));function s(t,n){e[n]=e[t],delete e[t]}}function B(e,t,n){e=o.getGraphDiv(e),w.clearPromiseQueue(e);var r={};if(\"string\"==typeof t)r[t]=n;else{if(!o.isPlainObject(t))return o.warn(\"Relayout fail.\",t,n),Promise.reject();r=o.extendFlat({},t)}Object.keys(r).length&&(e.changed=!0);var a=Y(e,r),i=a.flags;i.calc&&(e.calcdata=void 0);var l=[d.previousPromises];i.layoutReplot?l.push(_.layoutReplot):Object.keys(r).length&&(q(e,i,a)||d.supplyDefaults(e),i.legend&&l.push(_.doLegend),i.layoutstyle&&l.push(_.layoutStyles),i.axrange&&H(l,a.rangesAltered),i.ticks&&l.push(_.doTicksRelayout),i.modebar&&l.push(_.doModeBar),i.camera&&l.push(_.doCamera),i.colorbars&&l.push(_.doColorBars),l.push(S)),l.push(d.rehover,d.redrag),u.add(e,B,[e,a.undoit],B,[e,a.redoit]);var s=o.syncOrAsync(l,e);return s&&s.then||(s=Promise.resolve(e)),s.then((function(){return e.emit(\"plotly_relayout\",a.eventData),e}))}function q(e,t,n){var r=e._fullLayout;if(!t.axrange)return!1;for(var a in t)if(\"axrange\"!==a&&t[a])return!1;for(var i in n.rangesAltered){var o=p.id2name(i),l=e.layout[o],s=r[o];if(s.autorange=l.autorange,l.range&&(s.range=l.range.slice()),s.cleanRange(),s._matchGroup)for(var u in s._matchGroup)if(u!==i){var c=r[p.id2name(u)];c.autorange=s.autorange,c.range=s.range.slice(),c._input.range=s.range.slice()}}return!0}function H(e,t){var n=t?function(e){var n=[],r=!0;for(var a in t){var i=p.getFromId(e,a);if(n.push(a),-1!==(i.ticklabelposition||\"\").indexOf(\"inside\")&&i._anchorAxis&&n.push(i._anchorAxis._id),i._matchGroup)for(var o in i._matchGroup)t[o]||n.push(o);i.automargin&&(r=!1)}return p.draw(e,n,{skipTitle:r})}:function(e){return p.draw(e,\"redraw\")};e.push(v,_.doAutoRangeAndConstraints,n,_.drawData,_.finalDraw)}var U=/^[xyz]axis[0-9]*\\.range(\\[[0|1]\\])?$/,W=/^[xyz]axis[0-9]*\\.autorange$/,V=/^[xyz]axis[0-9]*\\.domain(\\[[0|1]\\])?$/;function Y(e,t){var n,r,a,i=e.layout,s=e._fullLayout,u=s._guiEditing,d=N(s._preGUI,u),h=Object.keys(t),m=p.list(e),g=o.extendDeepAll({},t),y={};for(Z(t),h=Object.keys(t),r=0;r<h.length;r++)if(0===h[r].indexOf(\"allaxes\")){for(a=0;a<m.length;a++){var v=m[a]._id.substr(1),b=-1!==v.indexOf(\"scene\")?v+\".\":\"\",_=h[r].replace(\"allaxes\",b+m[a]._name);t[_]||(t[_]=t[h[r]])}delete t[h[r]]}var M=k.layoutFlags(),S={},E={};function C(e,n){if(Array.isArray(e))e.forEach((function(e){C(e,n)}));else if(!(e in t)&&!w.hasParent(t,e)){var r=d(i,e);e in E||(E[e]=j(r.get())),void 0!==n&&r.set(n)}}var O,A={};function D(e){var t=p.name2id(e.split(\".\")[0]);return A[t]=1,t}for(var P in t){if(w.hasParent(t,P))throw new Error(\"cannot set \"+P+\" and a parent attribute simultaneously\");for(var R=d(i,P),L=t[P],I=R.parts.length-1;I>0&&\"string\"!=typeof R.parts[I];)I--;var z=R.parts[I],F=R.parts[I-1]+\".\"+z,B=R.parts.slice(0,I).join(\".\"),q=l(e.layout,B).get(),H=l(s,B).get(),Y=R.get();if(void 0!==L){S[P]=L,E[P]=\"reverse\"===z?L:j(Y);var $=f.getLayoutValObject(s,R.parts);if($&&$.impliedEdits&&null!==L)for(var X in $.impliedEdits)C(o.relativeAttr(P,X),$.impliedEdits[X]);if(-1!==[\"width\",\"height\"].indexOf(P))if(L){C(\"autosize\",null);var K=\"height\"===P?\"width\":\"height\";C(K,s[K])}else s[P]=e._initialAutoSize[P];else if(\"autosize\"===P)C(\"width\",L?null:s.width),C(\"height\",L?null:s.height);else if(F.match(U))D(F),l(s,B+\"._inputRange\").set(null);else if(F.match(W)){D(F),l(s,B+\"._inputRange\").set(null);var J=l(s,B).get();J._inputDomain&&(J._input.domain=J._inputDomain.slice())}else F.match(V)&&l(s,B+\"._inputDomain\").set(null);if(\"type\"===z){O=q;var Q=\"linear\"===H.type&&\"log\"===L,ee=\"log\"===H.type&&\"linear\"===L;if(Q||ee){if(O&&O.range)if(H.autorange)Q&&(O.range=O.range[1]>O.range[0]?[1,2]:[2,1]);else{var te=O.range[0],ne=O.range[1];Q?(te<=0&&ne<=0&&C(B+\".autorange\",!0),te<=0?te=ne/1e6:ne<=0&&(ne=te/1e6),C(B+\".range[0]\",Math.log(te)/Math.LN10),C(B+\".range[1]\",Math.log(ne)/Math.LN10)):(C(B+\".range[0]\",Math.pow(10,te)),C(B+\".range[1]\",Math.pow(10,ne)))}else C(B+\".autorange\",!0);Array.isArray(s._subplots.polar)&&s._subplots.polar.length&&s[R.parts[0]]&&\"radialaxis\"===R.parts[1]&&delete s[R.parts[0]]._subplot.viewInitial[\"radialaxis.range\"],c.getComponentMethod(\"annotations\",\"convertCoords\")(e,H,L,C),c.getComponentMethod(\"images\",\"convertCoords\")(e,H,L,C)}else C(B+\".autorange\",!0),C(B+\".range\",null);l(s,B+\"._inputRange\").set(null)}else if(z.match(T)){var re=l(s,P).get(),ae=(L||{}).type;ae&&\"-\"!==ae||(ae=\"linear\"),c.getComponentMethod(\"annotations\",\"convertCoords\")(e,re,ae,C),c.getComponentMethod(\"images\",\"convertCoords\")(e,re,ae,C)}var ie=x.containerArrayMatch(P);if(ie){n=ie.array,r=ie.index;var oe=ie.property,le=$||{editType:\"calc\"};\"\"!==r&&\"\"===oe&&(x.isAddVal(L)?E[P]=null:x.isRemoveVal(L)?E[P]=(l(i,n).get()||[])[r]:o.warn(\"unrecognized full object value\",t)),k.update(M,le),y[n]||(y[n]={});var se=y[n][r];se||(se=y[n][r]={}),se[oe]=L,delete t[P]}else\"reverse\"===z?(q.range?q.range.reverse():(C(B+\".autorange\",!0),q.range=[1,0]),H.autorange?M.calc=!0:M.plot=!0):(s._has(\"scatter-like\")&&s._has(\"regl\")&&\"dragmode\"===P&&(\"lasso\"===L||\"select\"===L)&&\"lasso\"!==Y&&\"select\"!==Y||s._has(\"gl2d\")?M.plot=!0:$?k.update(M,$):M.calc=!0,R.set(L))}}for(n in y)x.applyContainerArrayChanges(e,d(i,n),y[n],M,d)||(M.plot=!0);for(var ue in A){var ce=(O=p.getFromId(e,ue))&&O._constraintGroup;if(ce)for(var fe in M.calc=!0,ce)A[fe]||(p.getFromId(e,fe)._constraintShrinkable=!0)}return(G(e)||t.height||t.width)&&(M.plot=!0),(M.plot||M.calc)&&(M.layoutReplot=!0),{flags:M,rangesAltered:A,undoit:E,redoit:S,eventData:g}}function G(e){var t=e._fullLayout,n=t.width,r=t.height;return e.layout.autosize&&d.plotAutoSize(e,e.layout,t),t.width!==n||t.height!==r}function $(e,t,r,a){e=o.getGraphDiv(e),w.clearPromiseQueue(e),o.isPlainObject(t)||(t={}),o.isPlainObject(r)||(r={}),Object.keys(t).length&&(e.changed=!0),Object.keys(r).length&&(e.changed=!0);var i=w.coerceTraceIndices(e,a),l=F(e,o.extendFlat({},t),i),s=l.flags,c=Y(e,o.extendFlat({},r)),f=c.flags;(s.calc||f.calc)&&(e.calcdata=void 0),s.clearAxisTypes&&w.clearAxisTypes(e,i,r);var p=[];f.layoutReplot?p.push(_.layoutReplot):s.fullReplot?p.push(n._doPlot):(p.push(d.previousPromises),q(e,f,c)||d.supplyDefaults(e),s.style&&p.push(_.doTraceStyle),(s.colorbars||f.colorbars)&&p.push(_.doColorBars),f.legend&&p.push(_.doLegend),f.layoutstyle&&p.push(_.layoutStyles),f.axrange&&H(p,c.rangesAltered),f.ticks&&p.push(_.doTicksRelayout),f.modebar&&p.push(_.doModeBar),f.camera&&p.push(_.doCamera),p.push(S)),p.push(d.rehover,d.redrag),u.add(e,$,[e,l.undoit,c.undoit,l.traces],$,[e,l.redoit,c.redoit,l.traces]);var h=o.syncOrAsync(p,e);return h&&h.then||(h=Promise.resolve(e)),h.then((function(){return e.emit(\"plotly_update\",{data:l.eventData,layout:c.eventData}),e}))}function X(e){return function(t){t._fullLayout._guiEditing=!0;var n=e.apply(null,arguments);return t._fullLayout._guiEditing=!1,n}}var K=[{pattern:/^hiddenlabels/,attr:\"legend.uirevision\"},{pattern:/^((x|y)axis\\d*)\\.((auto)?range|title\\.text)/},{pattern:/axis\\d*\\.showspikes$/,attr:\"modebar.uirevision\"},{pattern:/(hover|drag)mode$/,attr:\"modebar.uirevision\"},{pattern:/^(scene\\d*)\\.camera/},{pattern:/^(geo\\d*)\\.(projection|center|fitbounds)/},{pattern:/^(ternary\\d*\\.[abc]axis)\\.(min|title\\.text)$/},{pattern:/^(polar\\d*\\.radialaxis)\\.((auto)?range|angle|title\\.text)/},{pattern:/^(polar\\d*\\.angularaxis)\\.rotation/},{pattern:/^(mapbox\\d*)\\.(center|zoom|bearing|pitch)/},{pattern:/^legend\\.(x|y)$/,attr:\"editrevision\"},{pattern:/^(shapes|annotations)/,attr:\"editrevision\"},{pattern:/^title\\.text$/,attr:\"editrevision\"}],J=[{pattern:/^selectedpoints$/,attr:\"selectionrevision\"},{pattern:/(^|value\\.)visible$/,attr:\"legend.uirevision\"},{pattern:/^dimensions\\[\\d+\\]\\.constraintrange/},{pattern:/^node\\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\\.)name$/},{pattern:/colorbar\\.title\\.text$/},{pattern:/colorbar\\.(x|y)$/,attr:\"editrevision\"}];function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n],a=e.match(r.pattern);if(a){var i=a[1]||\"\";return{head:i,tail:e.substr(i.length+1),attr:r.attr}}}}function ee(e,t){var n=l(t,e).get();if(void 0!==n)return n;var r=e.split(\".\");for(r.pop();r.length>1;)if(r.pop(),void 0!==(n=l(t,r.join(\".\")+\".uirevision\").get()))return n;return t.uirevision}function te(e,t){for(var n=0;n<t.length;n++)if(t[n]._fullInput.uid===e)return n;return-1}function ne(e,t,n){for(var r=0;r<t.length;r++)if(t[r].uid===e)return r;return!t[n]||t[n].uid?-1:n}function re(e,t){var n=o.isPlainObject(e),r=Array.isArray(e);return n||r?(n&&o.isPlainObject(t)||r&&Array.isArray(t))&&JSON.stringify(e)===JSON.stringify(t):e===t}function ae(e,t,n,r){var a,i,s,u=r.getValObject,c=r.flags,f=r.immutable,d=r.inArray,p=r.arrayIndex;function h(){var e=a.editType;d&&-1!==e.indexOf(\"arraydraw\")?o.pushUnique(c.arrays[d],p):(k.update(c,a),\"none\"!==e&&c.nChanges++,r.transition&&a.anim&&c.nChangesAnim++,(U.test(s)||W.test(s))&&(c.rangesAltered[n[0]]=1),V.test(s)&&l(t,\"_inputDomain\").set(null),\"datarevision\"===i&&(c.newDataRevision=1))}function m(e){return\"data_array\"===e.valType||e.arrayOk}for(i in e){if(c.calc&&!r.transition)return;var g=e[i],y=t[i],v=n.concat(i);if(s=v.join(\".\"),\"_\"!==i.charAt(0)&&\"function\"!=typeof g&&g!==y){if((\"tick0\"===i||\"dtick\"===i)&&\"geo\"!==n[0]){var b=t.tickmode;if(\"auto\"===b||\"array\"===b||!b)continue}if((\"range\"!==i||!t.autorange)&&(\"zmin\"!==i&&\"zmax\"!==i||\"contourcarpet\"!==t.type)&&(a=u(v))&&(!a._compareAsJSON||JSON.stringify(g)!==JSON.stringify(y))){var x,w=a.valType,_=m(a),T=Array.isArray(g),M=Array.isArray(y);if(T&&M){var S=\"_input_\"+i,E=e[S],C=t[S];if(Array.isArray(E)&&E===C)continue}if(void 0===y)_&&T?c.calc=!0:h();else if(a._isLinkedToArray){var O=[],A=!1;d||(c.arrays[i]=O);var D=Math.min(g.length,y.length),P=Math.max(g.length,y.length);if(D!==P){if(\"arraydraw\"!==a.editType){h();continue}A=!0}for(x=0;x<D;x++)ae(g[x],y[x],v.concat(x),o.extendFlat({inArray:i,arrayIndex:x},r));if(A)for(x=D;x<P;x++)O.push(x)}else!w&&o.isPlainObject(g)?ae(g,y,v,r):_?T&&M?(f&&(c.calc=!0),(f||r.newDataRevision)&&h()):T!==M?c.calc=!0:h():T&&M&&g.length===y.length&&String(g)===String(y)||h()}}}for(i in t)if(!(i in e)&&\"_\"!==i.charAt(0)&&\"function\"!=typeof t[i]){if(m(a=u(n.concat(i)))&&Array.isArray(t[i]))return void(c.calc=!0);h()}}function ie(e){var t=e._fullLayout,n=e.getBoundingClientRect();if(!o.equalDomRects(n,t._lastBBox)){var r=t._invTransform=o.inverseTransformMatrix(o.getFullTransformMatrix(e));t._invScaleX=Math.sqrt(r[0][0]*r[0][0]+r[0][1]*r[0][1]+r[0][2]*r[0][2]),t._invScaleY=Math.sqrt(r[1][0]*r[1][0]+r[1][1]*r[1][1]+r[1][2]*r[1][2]),t._lastBBox=n}}n.animate=function(e,t,n){if(e=o.getGraphDiv(e),!o.isPlotDiv(e))throw new Error(\"This element is not a Plotly plot: \"+e+\". It's likely that you've failed to create a plot before animating it. For more details, see https://plotly.com/javascript/animations/\");var r=e._transitionData;r._frameQueue||(r._frameQueue=[]);var a=(n=d.supplyAnimationDefaults(n)).transition,i=n.frame;function l(e){return Array.isArray(a)?e>=a.length?a[0]:a[e]:a}function s(e){return Array.isArray(i)?e>=i.length?i[0]:i[e]:i}function u(e,t){var n=0;return function(){if(e&&++n===t)return e()}}return void 0===r._frameWaitingCnt&&(r._frameWaitingCnt=0),new Promise((function(i,c){function f(){r._currentFrame&&r._currentFrame.onComplete&&r._currentFrame.onComplete();var t=r._currentFrame=r._frameQueue.shift();if(t){var n=t.name?t.name.toString():null;e._fullLayout._currentFrame=n,r._lastFrameAt=Date.now(),r._timeToNext=t.frameOpts.duration,d.transition(e,t.frame.data,t.frame.layout,w.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then((function(){t.onComplete&&t.onComplete()})),e.emit(\"plotly_animatingframe\",{name:n,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit(\"plotly_animated\"),window.cancelAnimationFrame(r._animationRaf),r._animationRaf=null}function p(){e.emit(\"plotly_animating\"),r._lastFrameAt=-1/0,r._timeToNext=0,r._runningTransitions=0,r._currentFrame=null;var t=function(){r._animationRaf=window.requestAnimationFrame(t),Date.now()-r._lastFrameAt>r._timeToNext&&f()};t()}var h,m,g=0;function y(e){return Array.isArray(a)?g>=a.length?e.transitionOpts=a[g]:e.transitionOpts=a[0]:e.transitionOpts=a,g++,e}var v=[],b=null==t,x=Array.isArray(t);if(b||x||!o.isPlainObject(t)){if(b||-1!==[\"string\",\"number\"].indexOf(typeof t))for(h=0;h<r._frames.length;h++)(m=r._frames[h])&&(b||String(m.group)===String(t))&&v.push({type:\"byname\",name:String(m.name),data:y({name:m.name})});else if(x)for(h=0;h<t.length;h++){var _=t[h];-1!==[\"number\",\"string\"].indexOf(typeof _)?(_=String(_),v.push({type:\"byname\",name:_,data:y({name:_})})):o.isPlainObject(_)&&v.push({type:\"object\",data:y(o.extendFlat({},_))})}}else v.push({type:\"object\",data:y(o.extendFlat({},t))});for(h=0;h<v.length;h++)if(\"byname\"===(m=v[h]).type&&!r._frameHash[m.data.name])return o.warn('animate failure: frame not found: \"'+m.data.name+'\"'),void c();-1!==[\"next\",\"immediate\"].indexOf(n.mode)&&function(){if(0!==r._frameQueue.length){for(;r._frameQueue.length;){var t=r._frameQueue.pop();t.onInterrupt&&t.onInterrupt()}e.emit(\"plotly_animationinterrupted\",[])}}(),\"reverse\"===n.direction&&v.reverse();var k=e._fullLayout._currentFrame;if(k&&n.fromcurrent){var T=-1;for(h=0;h<v.length;h++)if(\"byname\"===(m=v[h]).type&&m.name===k){T=h;break}if(T>0&&T<v.length-1){var M=[];for(h=0;h<v.length;h++)m=v[h],(\"byname\"!==v[h].type||h>T)&&M.push(m);v=M}}v.length>0?function(t){if(0!==t.length){for(var a=0;a<t.length;a++){var o;o=\"byname\"===t[a].type?d.computeFrame(e,t[a].name):t[a].data;var f=s(a),h=l(a);h.duration=Math.min(h.duration,f.duration);var m={frame:o,name:t[a].name,frameOpts:f,transitionOpts:h};a===t.length-1&&(m.onComplete=u(i,2),m.onInterrupt=c),r._frameQueue.push(m)}\"immediate\"===n.mode&&(r._lastFrameAt=-1/0),r._animationRaf||p()}}(v):(e.emit(\"plotly_animated\"),i())}))},n.addFrames=function(e,t,n){if(e=o.getGraphDiv(e),null==t)return Promise.resolve();if(!o.isPlotDiv(e))throw new Error(\"This element is not a Plotly plot: \"+e+\". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/\");var r,a,i,l,s=e._transitionData._frames,c=e._transitionData._frameHash;if(!Array.isArray(t))throw new Error(\"addFrames failure: frameList must be an Array of frame definitions\"+t);var f=s.length+2*t.length,p=[],h={};for(r=t.length-1;r>=0;r--)if(o.isPlainObject(t[r])){var m=t[r].name,g=(c[m]||h[m]||{}).name,y=t[r].name,v=c[g]||h[g];g&&y&&\"number\"==typeof y&&v&&M<5&&(M++,o.warn('addFrames: overwriting frame \"'+(c[g]||h[g]).name+'\" with a frame whose name of type \"number\" also equates to \"'+g+'\". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),5===M&&o.warn(\"addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.\")),h[m]={name:m},p.push({frame:d.supplyFrameDefaults(t[r]),index:n&&void 0!==n[r]&&null!==n[r]?n[r]:f+r})}p.sort((function(e,t){return e.index>t.index?-1:e.index<t.index?1:0}));var b=[],x=[],w=s.length;for(r=p.length-1;r>=0;r--){if(\"number\"==typeof(a=p[r].frame).name&&o.warn(\"Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings\"),!a.name)for(;c[a.name=\"frame \"+e._transitionData._counter++];);if(c[a.name]){for(i=0;i<s.length&&(s[i]||{}).name!==a.name;i++);b.push({type:\"replace\",index:i,value:a}),x.unshift({type:\"replace\",index:i,value:s[i]})}else l=Math.max(0,Math.min(p[r].index,w)),b.push({type:\"insert\",index:l,value:a}),x.unshift({type:\"delete\",index:l}),w++}var _=d.modifyFrames,k=d.modifyFrames,T=[e,x],S=[e,b];return u&&u.add(e,_,T,k,S),d.modifyFrames(e,b)},n.deleteFrames=function(e,t){if(e=o.getGraphDiv(e),!o.isPlotDiv(e))throw new Error(\"This element is not a Plotly plot: \"+e);var n,r,a=e._transitionData._frames,i=[],l=[];if(!t)for(t=[],n=0;n<a.length;n++)t.push(n);for((t=t.slice()).sort(),n=t.length-1;n>=0;n--)r=t[n],i.push({type:\"delete\",index:r}),l.unshift({type:\"insert\",index:r,value:a[r]});var s=d.modifyFrames,c=d.modifyFrames,f=[e,l],p=[e,i];return u&&u.add(e,s,f,c,p),d.modifyFrames(e,i)},n.addTraces=function e(t,r,a){t=o.getGraphDiv(t);var i,l,s=[],c=n.deleteTraces,f=e,d=[t,s],p=[t,r];for(function(e,t,n){var r,a;if(!Array.isArray(e.data))throw new Error(\"gd.data must be an array.\");if(void 0===t)throw new Error(\"traces must be defined.\");for(Array.isArray(t)||(t=[t]),r=0;r<t.length;r++)if(\"object\"!=typeof(a=t[r])||Array.isArray(a)||null===a)throw new Error(\"all values in traces array must be non-array objects\");if(void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&n.length!==t.length)throw new Error(\"if indices is specified, traces.length must equal indices.length\")}(t,r,a),Array.isArray(r)||(r=[r]),r=r.map((function(e){return o.extendFlat({},e)})),w.cleanData(r),i=0;i<r.length;i++)t.data.push(r[i]);for(i=0;i<r.length;i++)s.push(-r.length+i);if(void 0===a)return l=n.redraw(t),u.add(t,c,d,f,p),l;Array.isArray(a)||(a=[a]);try{P(t,s,a)}catch(e){throw t.data.splice(t.data.length-r.length,r.length),e}return u.startSequence(t),u.add(t,c,d,f,p),l=n.moveTraces(t,s,a),u.stopSequence(t),l},n.deleteTraces=function e(t,r){t=o.getGraphDiv(t);var a,i,l=[],s=n.addTraces,c=e,f=[t,l,r],d=[t,r];if(void 0===r)throw new Error(\"indices must be an integer or array of integers.\");for(Array.isArray(r)||(r=[r]),D(t,r,\"indices\"),(r=A(r,t.data.length-1)).sort(o.sorterDes),a=0;a<r.length;a+=1)i=t.data.splice(r[a],1)[0],l.push(i);var p=n.redraw(t);return u.add(t,s,f,c,d),p},n.extendTraces=function e(t,r,a,i){function l(e,t,n){var r,a;if(o.isTypedArray(e))if(n<0){var i=new e.constructor(0),l=L(e,t);n<0?(r=l,a=i):(r=i,a=l)}else if(r=new e.constructor(n),a=new e.constructor(e.length+t.length-n),n===t.length)r.set(t),a.set(e);else if(n<t.length){var s=t.length-n;r.set(t.subarray(s)),a.set(e),a.set(t.subarray(0,s),e.length)}else{var u=n-t.length,c=e.length-u;r.set(e.subarray(c)),r.set(t,u),a.set(e.subarray(0,c))}else r=e.concat(t),a=n>=0&&n<r.length?r.splice(0,r.length-n):[];return[r,a]}var s=R(t=o.getGraphDiv(t),r,a,i,l),c=n.redraw(t),f=[t,s.update,a,s.maxPoints];return u.add(t,n.prependTraces,f,e,arguments),c},n.moveTraces=function e(t,r,a){var i,l=[],s=[],c=e,f=e,d=[t=o.getGraphDiv(t),a,r],p=[t,r,a];if(P(t,r,a),r=Array.isArray(r)?r:[r],void 0===a)for(a=[],i=0;i<r.length;i++)a.push(-r.length+i);for(a=Array.isArray(a)?a:[a],r=A(r,t.data.length-1),a=A(a,t.data.length-1),i=0;i<t.data.length;i++)-1===r.indexOf(i)&&l.push(t.data[i]);for(i=0;i<r.length;i++)s.push({newIndex:a[i],trace:t.data[r[i]]});for(s.sort((function(e,t){return e.newIndex-t.newIndex})),i=0;i<s.length;i+=1)l.splice(s[i].newIndex,0,s[i].trace);t.data=l;var h=n.redraw(t);return u.add(t,c,d,f,p),h},n.prependTraces=function e(t,r,a,i){function l(e,t,n){var r,a;if(o.isTypedArray(e))if(n<=0){var i=new e.constructor(0),l=L(t,e);n<0?(r=l,a=i):(r=i,a=l)}else if(r=new e.constructor(n),a=new e.constructor(e.length+t.length-n),n===t.length)r.set(t),a.set(e);else if(n<t.length){var s=t.length-n;r.set(t.subarray(0,s)),a.set(t.subarray(s)),a.set(e,s)}else{var u=n-t.length;r.set(t),r.set(e.subarray(0,u),t.length),a.set(e.subarray(u))}else r=t.concat(e),a=n>=0&&n<r.length?r.splice(n,r.length):[];return[r,a]}var s=R(t=o.getGraphDiv(t),r,a,i,l),c=n.redraw(t),f=[t,s.update,a,s.maxPoints];return u.add(t,n.extendTraces,f,e,arguments),c},n.newPlot=function(e,t,r,a){return e=o.getGraphDiv(e),d.cleanPlot([],{},e._fullData||[],e._fullLayout||{}),d.purge(e),n._doPlot(e,t,r,a)},n._doPlot=function(e,t,a,i){var l;if(e=o.getGraphDiv(e),s.init(e),o.isPlainObject(t)){var u=t;t=u.data,a=u.layout,i=u.config,l=u.frames}if(!1===s.triggerHandler(e,\"plotly_beforeplot\",[t,a,i]))return Promise.reject();t||a||o.isPlotDiv(e)||o.warn(\"Calling _doPlot as if redrawing but this container doesn't yet have a plot.\",e),O(e,i),a||(a={}),r.select(e).classed(\"js-plotly-plot\",!0),h.makeTester(),Array.isArray(e._promises)||(e._promises=[]);var f=0===(e.data||[]).length&&Array.isArray(t);Array.isArray(t)&&(w.cleanData(t),f?e.data=t:e.data.push.apply(e.data,t),e.empty=!1),e.layout&&!f||(e.layout=w.cleanLayout(a)),d.supplyDefaults(e);var m=e._fullLayout,v=m._has(\"cartesian\");m._replotting=!0,(f||m._shouldCreateBgLayer)&&(function(e){var t=r.select(e),n=e._fullLayout;if(n._calcInverseTransform=ie,n._calcInverseTransform(e),n._container=t.selectAll(\".plot-container\").data([0]),n._container.enter().insert(\"div\",\":first-child\").classed(\"plot-container\",!0).classed(\"plotly\",!0),n._paperdiv=n._container.selectAll(\".svg-container\").data([0]),n._paperdiv.enter().append(\"div\").classed(\"user-select-none\",!0).classed(\"svg-container\",!0).style(\"position\",\"relative\"),n._glcontainer=n._paperdiv.selectAll(\".gl-container\").data([{}]),n._glcontainer.enter().append(\"div\").classed(\"gl-container\",!0),n._paperdiv.selectAll(\".main-svg\").remove(),n._paperdiv.select(\".modebar-container\").remove(),n._paper=n._paperdiv.insert(\"svg\",\":first-child\").classed(\"main-svg\",!0),n._toppaper=n._paperdiv.append(\"svg\").classed(\"main-svg\",!0),n._modebardiv=n._paperdiv.append(\"div\"),delete n._modeBar,n._hoverpaper=n._paperdiv.append(\"svg\").classed(\"main-svg\",!0),!n._uid){var a={};r.selectAll(\"defs\").each((function(){this.id&&(a[this.id.split(\"-\")[1]]=1)})),n._uid=o.randstr(a)}n._paperdiv.selectAll(\".main-svg\").attr(y.svgAttrs),n._defs=n._paper.append(\"defs\").attr(\"id\",\"defs-\"+n._uid),n._clips=n._defs.append(\"g\").classed(\"clips\",!0),n._topdefs=n._toppaper.append(\"defs\").attr(\"id\",\"topdefs-\"+n._uid),n._topclips=n._topdefs.append(\"g\").classed(\"clips\",!0),n._bgLayer=n._paper.append(\"g\").classed(\"bglayer\",!0),n._draggers=n._paper.append(\"g\").classed(\"draglayer\",!0);var i=n._paper.append(\"g\").classed(\"layer-below\",!0);n._imageLowerLayer=i.append(\"g\").classed(\"imagelayer\",!0),n._shapeLowerLayer=i.append(\"g\").classed(\"shapelayer\",!0),n._cartesianlayer=n._paper.append(\"g\").classed(\"cartesianlayer\",!0),n._polarlayer=n._paper.append(\"g\").classed(\"polarlayer\",!0),n._smithlayer=n._paper.append(\"g\").classed(\"smithlayer\",!0),n._ternarylayer=n._paper.append(\"g\").classed(\"ternarylayer\",!0),n._geolayer=n._paper.append(\"g\").classed(\"geolayer\",!0),n._funnelarealayer=n._paper.append(\"g\").classed(\"funnelarealayer\",!0),n._pielayer=n._paper.append(\"g\").classed(\"pielayer\",!0),n._iciclelayer=n._paper.append(\"g\").classed(\"iciclelayer\",!0),n._treemaplayer=n._paper.append(\"g\").classed(\"treemaplayer\",!0),n._sunburstlayer=n._paper.append(\"g\").classed(\"sunburstlayer\",!0),n._indicatorlayer=n._toppaper.append(\"g\").classed(\"indicatorlayer\",!0),n._glimages=n._paper.append(\"g\").classed(\"glimages\",!0);var l=n._toppaper.append(\"g\").classed(\"layer-above\",!0);n._imageUpperLayer=l.append(\"g\").classed(\"imagelayer\",!0),n._shapeUpperLayer=l.append(\"g\").classed(\"shapelayer\",!0),n._infolayer=n._toppaper.append(\"g\").classed(\"infolayer\",!0),n._menulayer=n._toppaper.append(\"g\").classed(\"menulayer\",!0),n._zoomlayer=n._toppaper.append(\"g\").classed(\"zoomlayer\",!0),n._hoverlayer=n._hoverpaper.append(\"g\").classed(\"hoverlayer\",!0),n._modebardiv.classed(\"modebar-container\",!0).style(\"position\",\"absolute\").style(\"top\",\"0px\").style(\"right\",\"0px\"),e.emit(\"plotly_framework\")}(e),m._shouldCreateBgLayer&&delete m._shouldCreateBgLayer),h.initGradients(e),h.initPatterns(e),f&&p.saveShowSpikeInitial(e);var b=!e.calcdata||e.calcdata.length!==(e._fullData||[]).length;b&&d.doCalcdata(e);for(var x=0;x<e.calcdata.length;x++)e.calcdata[x][0].trace=e._fullData[x];e._context.responsive?e._responsiveChartHandler||(e._responsiveChartHandler=function(){o.isHidden(e)||d.resize(e)},window.addEventListener(\"resize\",e._responsiveChartHandler)):o.clearResponsive(e);var k=o.extendFlat({},m._size),T=0;function M(){if(d.clearAutoMarginIds(e),_.drawMarginPushers(e),p.allowAutoMargin(e),m._has(\"pie\"))for(var t=e._fullData,n=0;n<t.length;n++){var r=t[n];\"pie\"===r.type&&r.automargin&&d.allowAutoMargin(e,\"pie.\"+r.uid+\".automargin\")}return d.doAutoMargin(e),d.previousPromises(e)}function E(){e._transitioning||(_.doAutoRangeAndConstraints(e),f&&p.saveRangeInitial(e),c.getComponentMethod(\"rangeslider\",\"calcAutorange\")(e))}var C=[d.previousPromises,function(){if(l)return n.addFrames(e,l)},function t(){for(var n=m._basePlotModules,r=0;r<n.length;r++)n[r].drawFramework&&n[r].drawFramework(e);!m._glcanvas&&m._has(\"gl\")&&(m._glcanvas=m._glcontainer.selectAll(\".gl-canvas\").data([{key:\"contextLayer\",context:!0,pick:!1},{key:\"focusLayer\",context:!1,pick:!1},{key:\"pickLayer\",context:!1,pick:!0}],(function(e){return e.key})),m._glcanvas.enter().append(\"canvas\").attr(\"class\",(function(e){return\"gl-canvas gl-canvas-\"+e.key.replace(\"Layer\",\"\")})).style({position:\"absolute\",top:0,left:0,overflow:\"visible\",\"pointer-events\":\"none\"}));var a=e._context.plotGlPixelRatio;if(m._glcanvas){m._glcanvas.attr(\"width\",m.width*a).attr(\"height\",m.height*a).style(\"width\",m.width+\"px\").style(\"height\",m.height+\"px\");var i=m._glcanvas.data()[0].regl;if(i&&(Math.floor(m.width*a)!==i._gl.drawingBufferWidth||Math.floor(m.height*a)!==i._gl.drawingBufferHeight)){var l=\"WebGL context buffer and canvas dimensions do not match due to browser/WebGL bug.\";if(!T)return o.log(l+\" Clearing graph and plotting again.\"),d.cleanPlot([],{},e._fullData,m),d.supplyDefaults(e),m=e._fullLayout,d.doCalcdata(e),T++,t();o.error(l)}}return\"h\"===m.modebar.orientation?m._modebardiv.style(\"height\",null).style(\"width\",\"100%\"):m._modebardiv.style(\"width\",null).style(\"height\",m.height+\"px\"),d.previousPromises(e)},M,function(){if(d.didMarginChange(k,m._size))return o.syncOrAsync([M,_.layoutStyles],e)}];v&&C.push((function(){if(b)return o.syncOrAsync([c.getComponentMethod(\"shapes\",\"calcAutorange\"),c.getComponentMethod(\"annotations\",\"calcAutorange\"),E],e);E()})),C.push(_.layoutStyles),v&&C.push((function(){return p.draw(e,f?\"\":\"redraw\")}),(function(e){e._fullLayout._insideTickLabelsAutorange&&B(e,e._fullLayout._insideTickLabelsAutorange).then((function(){e._fullLayout._insideTickLabelsAutorange=void 0}))})),C.push(_.drawData,_.finalDraw,g,d.addLinks,d.rehover,d.redrag,d.doAutoMargin,(function(e){e._fullLayout._insideTickLabelsAutorange&&f&&p.saveRangeInitial(e,!0)}),d.previousPromises);var A=o.syncOrAsync(C,e);return A&&A.then||(A=Promise.resolve()),A.then((function(){return S(e),e}))},n.purge=function(e){var t=(e=o.getGraphDiv(e))._fullLayout||{},n=e._fullData||[];return d.cleanPlot([],{},n,t),d.purge(e),s.purge(e),t._container&&t._container.remove(),delete e._context,e},n.react=function(e,t,r,a){var i,s;e=o.getGraphDiv(e),w.clearPromiseQueue(e);var u=e._fullData,p=e._fullLayout;if(o.isPlotDiv(e)&&u&&p){if(o.isPlainObject(t)){var h=t;t=h.data,r=h.layout,a=h.config,i=h.frames}var m=!1;if(a){var g=o.extendDeep({},e._context);e._context=void 0,O(e,a),m=function e(t,n){var r;for(r in t)if(\"_\"!==r.charAt(0)){var a=t[r],i=n[r];if(a!==i)if(o.isPlainObject(a)&&o.isPlainObject(i)){if(e(a,i))return!0}else{if(!Array.isArray(a)||!Array.isArray(i))return!0;if(a.length!==i.length)return!0;for(var l=0;l<a.length;l++)if(a[l]!==i[l]){if(!o.isPlainObject(a[l])||!o.isPlainObject(i[l]))return!0;if(e(a[l],i[l]))return!0}}}}(g,e._context)}e.data=t||[],w.cleanData(e.data),e.layout=r||{},w.cleanLayout(e.layout),function(e,t,n,r){var a,i,s,u,c,f,d,p,h,m,g=r._preGUI,y=[],v={},b={};for(a in g){if(c=Q(a,K)){if(h=c.head,m=c.tail,i=c.attr||h+\".uirevision\",(u=(s=l(r,i).get())&&ee(i,t))&&u===s){if(null===(f=g[a])&&(f=void 0),re(p=(d=l(t,a)).get(),f)){void 0===p&&\"autorange\"===m&&y.push(h),d.set(j(l(r,a).get()));continue}if(\"autorange\"===m||\"range[\"===m.substr(0,6)){var x=g[h+\".range[0]\"],w=g[h+\".range[1]\"],_=g[h+\".autorange\"];if(_||null===_&&null===x&&null===w){if(!(h in v)){var k=l(t,h).get();v[h]=k&&(k.autorange||!1!==k.autorange&&(!k.range||2!==k.range.length))}if(v[h]){d.set(j(l(r,a).get()));continue}}}}}else o.warn(\"unrecognized GUI edit: \"+a);delete g[a],c&&\"range[\"===c.tail.substr(0,6)&&(b[c.head]=1)}for(var T=0;T<y.length;T++){var M=y[T];if(b[M]){var S=l(t,M).get();S&&delete S.autorange}}var E=r._tracePreGUI;for(var C in E){var O,A=E[C],D=null;for(a in A){if(!D){var P=te(C,n);if(P<0){delete E[C];break}var R=ne(C,e,(O=n[P]._fullInput).index);if(R<0){delete E[C];break}D=e[R]}if(c=Q(a,J)){if(c.attr?u=(s=l(r,c.attr).get())&&ee(c.attr,t):(s=O.uirevision,void 0===(u=D.uirevision)&&(u=t.uirevision)),u&&u===s&&(null===(f=A[a])&&(f=void 0),re(p=(d=l(D,a)).get(),f))){d.set(j(l(O,a).get()));continue}}else o.warn(\"unrecognized GUI edit: \"+a+\" in trace uid \"+C);delete A[a]}}}(e.data,e.layout,u,p),d.supplyDefaults(e,{skipUpdateCalc:!0});var y=e._fullData,v=e._fullLayout,b=void 0===v.datarevision,x=v.transition,T=function(e,t,n,r,a){var i=k.layoutFlags();function o(e){return f.getLayoutValObject(n,e)}return i.arrays={},i.rangesAltered={},i.nChanges=0,i.nChangesAnim=0,ae(t,n,[],{getValObject:o,flags:i,immutable:r,transition:a,gd:e}),(i.plot||i.calc)&&(i.layoutReplot=!0),a&&i.nChanges&&i.nChangesAnim&&(i.anim=i.nChanges===i.nChangesAnim?\"all\":\"some\"),i}(e,p,v,b,x),M=T.newDataRevision,E=function(e,t,n,r,a,i){var o=t.length===n.length;if(!a&&!o)return{fullReplot:!0,calc:!0};var l,s,u=k.traceFlags();u.arrays={},u.nChanges=0,u.nChangesAnim=0;var c={getValObject:function(e){var t=f.getTraceValObject(s,e);return!s._module.animatable&&t.anim&&(t.anim=!1),t},flags:u,immutable:r,transition:a,newDataRevision:i,gd:e},p={};for(l=0;l<t.length;l++)if(n[l]){if(s=n[l]._fullInput,d.hasMakesDataTransform(s)&&(s=n[l]),p[s.uid])continue;p[s.uid]=1,ae(t[l]._fullInput,s,[],c)}return(u.calc||u.plot)&&(u.fullReplot=!0),a&&u.nChanges&&u.nChangesAnim&&(u.anim=u.nChanges===u.nChangesAnim&&o?\"all\":\"some\"),u}(e,u,y,b,x,M);if(G(e)&&(T.layoutReplot=!0),E.calc||T.calc){e.calcdata=void 0;for(var C=Object.getOwnPropertyNames(v),A=0;A<C.length;A++){var D=C[A],P=D.substring(0,5);if(\"xaxis\"===P||\"yaxis\"===P){var R=v[D]._emptyCategories;R&&R()}}}else d.supplyDefaultsUpdateCalc(e.calcdata,y);var L=[];if(i&&(e._transitionData={},d.createTransitionData(e),L.push((function(){return n.addFrames(e,i)}))),v.transition&&!m&&(E.anim||T.anim))T.ticks&&L.push(_.doTicksRelayout),d.doCalcdata(e),_.doAutoRangeAndConstraints(e),L.push((function(){return d.transitionFromReact(e,E,T,p)}));else if(E.fullReplot||T.layoutReplot||m)e._fullLayout._skipDefaults=!0,L.push(n._doPlot);else{for(var I in T.arrays){var N=T.arrays[I];if(N.length){var z=c.getComponentMethod(I,\"drawOne\");if(z!==o.noop)for(var F=0;F<N.length;F++)z(e,N[F]);else{var Z=c.getComponentMethod(I,\"draw\");if(Z===o.noop)throw new Error(\"cannot draw components: \"+I);Z(e)}}}L.push(d.previousPromises),E.style&&L.push(_.doTraceStyle),(E.colorbars||T.colorbars)&&L.push(_.doColorBars),T.legend&&L.push(_.doLegend),T.layoutstyle&&L.push(_.layoutStyles),T.axrange&&H(L),T.ticks&&L.push(_.doTicksRelayout),T.modebar&&L.push(_.doModeBar),T.camera&&L.push(_.doCamera),L.push(S)}L.push(d.rehover,d.redrag),(s=o.syncOrAsync(L,e))&&s.then||(s=Promise.resolve(e))}else s=n.newPlot(e,t,r,a);return s.then((function(){return e.emit(\"plotly_react\",{data:t,layout:r}),e}))},n.redraw=function(e){if(e=o.getGraphDiv(e),!o.isPlotDiv(e))throw new Error(\"This element is not a Plotly plot: \"+e);return w.cleanData(e.data),w.cleanLayout(e.layout),e.calcdata=void 0,n._doPlot(e).then((function(){return e.emit(\"plotly_redraw\"),e}))},n.relayout=B,n.restyle=I,n.setPlotConfig=function(e){return o.extendFlat(b,e)},n.update=$,n._guiRelayout=X(B),n._guiRestyle=X(I),n._guiUpdate=X($),n._storeDirectGUIEdit=function(e,t,n){for(var r in n)z(r,l(e,r).get(),n[r],t)}},{\"../components/color\":157,\"../components/drawing\":179,\"../constants/xmlns_namespaces\":268,\"../lib\":287,\"../lib/events\":280,\"../lib/queue\":302,\"../plots/cartesian/axes\":334,\"../plots/cartesian/constants\":341,\"../plots/cartesian/graph_interact\":344,\"../plots/cartesian/select\":355,\"../plots/plots\":371,\"../registry\":378,\"./edit_types\":316,\"./helpers\":317,\"./manage_arrays\":319,\"./plot_config\":321,\"./plot_schema\":322,\"./subroutines\":324,\"@plotly/d3\":20,\"fast-isnumeric\":33,\"has-hover\":64}],321:[function(e,t,n){\"use strict\";var r={staticPlot:{valType:\"boolean\",dflt:!1},plotlyServerURL:{valType:\"string\",dflt:\"\"},editable:{valType:\"boolean\",dflt:!1},edits:{annotationPosition:{valType:\"boolean\",dflt:!1},annotationTail:{valType:\"boolean\",dflt:!1},annotationText:{valType:\"boolean\",dflt:!1},axisTitleText:{valType:\"boolean\",dflt:!1},colorbarPosition:{valType:\"boolean\",dflt:!1},colorbarTitleText:{valType:\"boolean\",dflt:!1},legendPosition:{valType:\"boolean\",dflt:!1},legendText:{valType:\"boolean\",dflt:!1},shapePosition:{valType:\"boolean\",dflt:!1},titleText:{valType:\"boolean\",dflt:!1}},autosizable:{valType:\"boolean\",dflt:!1},responsive:{valType:\"boolean\",dflt:!1},fillFrame:{valType:\"boolean\",dflt:!1},frameMargins:{valType:\"number\",dflt:0,min:0,max:.5},scrollZoom:{valType:\"flaglist\",flags:[\"cartesian\",\"gl3d\",\"geo\",\"mapbox\"],extras:[!0,!1],dflt:\"gl3d+geo+mapbox\"},doubleClick:{valType:\"enumerated\",values:[!1,\"reset\",\"autosize\",\"reset+autosize\"],dflt:\"reset+autosize\"},doubleClickDelay:{valType:\"number\",dflt:300,min:0},showAxisDragHandles:{valType:\"boolean\",dflt:!0},showAxisRangeEntryBoxes:{valType:\"boolean\",dflt:!0},showTips:{valType:\"boolean\",dflt:!0},showLink:{valType:\"boolean\",dflt:!1},linkText:{valType:\"string\",dflt:\"Edit chart\",noBlank:!0},sendData:{valType:\"boolean\",dflt:!0},showSources:{valType:\"any\",dflt:!1},displayModeBar:{valType:\"enumerated\",values:[\"hover\",!0,!1],dflt:\"hover\"},showSendToCloud:{valType:\"boolean\",dflt:!1},showEditInChartStudio:{valType:\"boolean\",dflt:!1},modeBarButtonsToRemove:{valType:\"any\",dflt:[]},modeBarButtonsToAdd:{valType:\"any\",dflt:[]},modeBarButtons:{valType:\"any\",dflt:!1},toImageButtonOptions:{valType:\"any\",dflt:{}},displaylogo:{valType:\"boolean\",dflt:!0},watermark:{valType:\"boolean\",dflt:!1},plotGlPixelRatio:{valType:\"number\",dflt:2,min:1,max:4},setBackground:{valType:\"any\",dflt:\"transparent\"},topojsonURL:{valType:\"string\",noBlank:!0,dflt:\"https://cdn.plot.ly/\"},mapboxAccessToken:{valType:\"string\",dflt:null},logging:{valType:\"integer\",min:0,max:2,dflt:1},notifyOnLogging:{valType:\"integer\",min:0,max:2,dflt:0},queueLength:{valType:\"integer\",min:0,dflt:0},globalTransforms:{valType:\"any\",dflt:[]},locale:{valType:\"string\",dflt:\"en-US\"},locales:{valType:\"any\",dflt:{}}},a={};!function e(t,n){for(var r in t){var a=t[r];a.valType?n[r]=a.dflt:(n[r]||(n[r]={}),e(a,n[r]))}}(r,a),t.exports={configAttributes:r,dfltConfig:a}},{}],322:[function(e,t,n){\"use strict\";var r=e(\"../registry\"),a=e(\"../lib\"),i=e(\"../plots/attributes\"),o=e(\"../plots/layout_attributes\"),l=e(\"../plots/frame_attributes\"),s=e(\"../plots/animation_attributes\"),u=e(\"./plot_config\").configAttributes,c=e(\"./edit_types\"),f=a.extendDeepAll,d=a.isPlainObject,p=a.isArrayOrTypedArray,h=a.nestedProperty,m=a.valObjectMeta,g=[\"_isSubplotObj\",\"_isLinkedToArray\",\"_arrayAttrRegexps\",\"_deprecated\"];function y(e,t,n){if(!e)return!1;if(e._isLinkedToArray)if(v(t[n]))n++;else if(n<t.length)return!1;for(;n<t.length;n++){var r=e[t[n]];if(!d(r))break;if(e=r,n===t.length-1)break;if(e._isLinkedToArray){if(!v(t[++n]))return!1}else if(\"info_array\"===e.valType){var a=t[++n];if(!v(a))return!1;var i=e.items;if(Array.isArray(i)){if(a>=i.length)return!1;if(2===e.dimensions){if(n++,t.length===n)return e;var o=t[n];if(!v(o))return!1;e=i[a][o]}else e=i[a]}else e=i}}return e}function v(e){return e===Math.round(e)&&e>=0}function b(){var e,t,n={};for(e in f(n,o),r.subplotsRegistry)if((t=r.subplotsRegistry[e]).layoutAttributes)if(Array.isArray(t.attr))for(var a=0;a<t.attr.length;a++)_(n,t,t.attr[a]);else _(n,t,\"subplot\"===t.attr?t.name:t.attr);for(e in r.componentsRegistry){var i=(t=r.componentsRegistry[e]).schema;if(i&&(i.subplots||i.layout)){var l=i.subplots;if(l&&l.xaxis&&!l.yaxis)for(var s in l.xaxis)delete n.yaxis[s]}else\"colorscale\"===t.name?f(n,t.layoutAttributes):t.layoutAttributes&&k(n,t.layoutAttributes,t.name)}return{layoutAttributes:w(n)}}function x(){var e={frames:f({},l)};return w(e),e.frames}function w(e){return function(e){n.crawl(e,(function(e,t,r){n.isValObject(e)?!0!==e.arrayOk&&\"data_array\"!==e.valType||(r[t+\"src\"]={valType:\"string\",editType:\"none\"}):d(e)&&(e.role=\"object\")}))}(e),function(e){n.crawl(e,(function(e,t,n){if(e){var r=e._isLinkedToArray;r&&(delete e._isLinkedToArray,n[t]={items:{}},n[t].items[r]=e,n[t].role=\"object\")}}))}(e),function(e){!function e(t){for(var n in t)if(d(t[n]))e(t[n]);else if(Array.isArray(t[n]))for(var r=0;r<t[n].length;r++)e(t[n][r]);else t[n]instanceof RegExp&&(t[n]=t[n].toString())}(e)}(e),e}function _(e,t,n){var r=h(e,n),a=f({},t.layoutAttributes);a._isSubplotObj=!0,r.set(a)}function k(e,t,n){var r=h(e,n);r.set(f(r.get()||{},t))}n.IS_SUBPLOT_OBJ=\"_isSubplotObj\",n.IS_LINKED_TO_ARRAY=\"_isLinkedToArray\",n.DEPRECATED=\"_deprecated\",n.UNDERSCORE_ATTRS=g,n.get=function(){var e={};r.allTypes.forEach((function(t){e[t]=function(e){var t,a;a=(t=r.modules[e]._module).basePlotModule;var o={type:null},l=f({},i),s=f({},t.attributes);n.crawl(s,(function(e,t,n,r,a){h(l,a).set(void 0),void 0===e&&h(s,a).set(void 0)})),f(o,l),r.traceIs(e,\"noOpacity\")&&delete o.opacity,r.traceIs(e,\"showLegend\")||(delete o.showlegend,delete o.legendgroup),r.traceIs(e,\"noHover\")&&(delete o.hoverinfo,delete o.hoverlabel),t.selectPoints||delete o.selectedpoints,f(o,s),a.attributes&&f(o,a.attributes),o.type=e;var u={meta:t.meta||{},categories:t.categories||{},animatable:Boolean(t.animatable),type:e,attributes:w(o)};if(t.layoutAttributes){var c={};f(c,t.layoutAttributes),u.layoutAttributes=w(c)}return t.animatable||n.crawl(u,(function(e){n.isValObject(e)&&\"anim\"in e&&delete e.anim})),u}(t)}));var t={};return Object.keys(r.transformsRegistry).forEach((function(e){t[e]=function(e){var t=r.transformsRegistry[e],n=f({},t.attributes);return Object.keys(r.componentsRegistry).forEach((function(t){var a=r.componentsRegistry[t];a.schema&&a.schema.transforms&&a.schema.transforms[e]&&Object.keys(a.schema.transforms[e]).forEach((function(t){k(n,a.schema.transforms[e][t],t)}))})),{attributes:w(n)}}(e)})),{defs:{valObjects:m,metaKeys:g.concat([\"description\",\"role\",\"editType\",\"impliedEdits\"]),editType:{traces:c.traces,layout:c.layout},impliedEdits:{}},traces:e,layout:b(),transforms:t,frames:x(),animation:w(s),config:w(u)}},n.crawl=function(e,t,r,a){var i=r||0;a=a||\"\",Object.keys(e).forEach((function(r){var o=e[r];if(-1===g.indexOf(r)){var l=(a?a+\".\":\"\")+r;t(o,r,e,i,l),n.isValObject(o)||d(o)&&\"impliedEdits\"!==r&&n.crawl(o,t,i+1,l)}}))},n.isValObject=function(e){return e&&void 0!==e.valType},n.findArrayAttributes=function(e){var t,r,a=[],o=[],l=[];function s(e,n,i,s){o=o.slice(0,s).concat([n]),l=l.slice(0,s).concat([e&&e._isLinkedToArray]),e&&(\"data_array\"===e.valType||!0===e.arrayOk)&&(\"colorbar\"!==o[s-1]||\"ticktext\"!==n&&\"tickvals\"!==n)&&function e(t,n,i){var s=t[o[n]],u=i+o[n];if(n===o.length-1)p(s)&&a.push(r+u);else if(l[n]){if(Array.isArray(s))for(var c=0;c<s.length;c++)d(s[c])&&e(s[c],n+1,u+\"[\"+c+\"].\")}else d(s)&&e(s,n+1,u+\".\")}(t,0,\"\")}t=e,r=\"\",n.crawl(i,s),e._module&&e._module.attributes&&n.crawl(e._module.attributes,s);var u=e.transforms;if(u)for(var c=0;c<u.length;c++){var f=u[c],h=f._module;h&&(r=\"transforms[\"+c+\"].\",t=f,n.crawl(h.attributes,s))}return a},n.getTraceValObject=function(e,t){var n,a,o=t[0],l=1;if(\"transforms\"===o){if(1===t.length)return i.transforms;var s=e.transforms;if(!Array.isArray(s)||!s.length)return!1;var u=t[1];if(!v(u)||u>=s.length)return!1;a=(n=(r.transformsRegistry[s[u].type]||{}).attributes)&&n[t[2]],l=3}else{var c=e._module;if(c||(c=(r.modules[e.type||i.type.dflt]||{})._module),!c)return!1;if(!(a=(n=c.attributes)&&n[o])){var f=c.basePlotModule;f&&f.attributes&&(a=f.attributes[o])}a||(a=i[o])}return y(a,t,l)},n.getLayoutValObject=function(e,t){return y(function(e,t){var n,a,i,l,s=e._basePlotModules;if(s){var u;for(n=0;n<s.length;n++){if((i=s[n]).attrRegex&&i.attrRegex.test(t)){if(i.layoutAttrOverrides)return i.layoutAttrOverrides;!u&&i.layoutAttributes&&(u=i.layoutAttributes)}var c=i.baseLayoutAttrOverrides;if(c&&t in c)return c[t]}if(u)return u}var f=e._modules;if(f)for(n=0;n<f.length;n++)if((l=f[n].layoutAttributes)&&t in l)return l[t];for(a in r.componentsRegistry){if(\"colorscale\"===(i=r.componentsRegistry[a]).name&&0===t.indexOf(\"coloraxis\"))return i.layoutAttributes[t];if(!i.schema&&t===i.name)return i.layoutAttributes}return t in o&&o[t]}(e,t[0]),t,1)}},{\"../lib\":287,\"../plots/animation_attributes\":328,\"../plots/attributes\":330,\"../plots/frame_attributes\":366,\"../plots/layout_attributes\":369,\"../registry\":378,\"./edit_types\":316,\"./plot_config\":321}],323:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"../plots/attributes\"),i={name:{valType:\"string\",editType:\"none\"}};function o(e){return e&&\"string\"==typeof e}function l(e){var t=e.length-1;return\"s\"!==e.charAt(t)&&r.warn(\"bad argument to arrayDefaultKey: \"+e),e.substr(0,e.length-1)+\"defaults\"}i.templateitemname={valType:\"string\",editType:\"calc\"},n.templatedArray=function(e,t){return t._isLinkedToArray=e,t.name=i.name,t.templateitemname=i.templateitemname,t},n.traceTemplater=function(e){var t,n,i={};for(t in e)n=e[t],Array.isArray(n)&&n.length&&(i[t]=0);return{newTrace:function(o){var l={type:t=r.coerce(o,{},a,\"type\"),_template:null};if(t in i){n=e[t];var s=i[t]%n.length;i[t]++,l._template=n[s]}return l}}},n.newContainer=function(e,t,n){var a=e._template,i=a&&(a[t]||n&&a[n]);return r.isPlainObject(i)||(i=null),e[t]={_template:i}},n.arrayTemplater=function(e,t,n){var r=e._template,a=r&&r[l(t)],i=r&&r[t];Array.isArray(i)&&i.length||(i=[]);var s={};return{newItem:function(e){var t={name:e.name,_input:e},r=t.templateitemname=e.templateitemname;if(!o(r))return t._template=a,t;for(var l=0;l<i.length;l++){var u=i[l];if(u.name===r)return s[r]=1,t._template=u,t}return t[n]=e[n]||!1,t._template=!1,t},defaultItems:function(){for(var e=[],t=0;t<i.length;t++){var n=i[t],r=n.name;if(o(r)&&!s[r]){var a={_template:n,name:r,_input:{_templateitemname:r}};a.templateitemname=n.templateitemname,e.push(a),s[r]=1}}return e}}},n.arrayDefaultKey=l,n.arrayEditor=function(e,t,n){var a=(r.nestedProperty(e,t).get()||[]).length,i=n._index,o=i>=a&&(n._input||{})._templateitemname;o&&(i=a);var l,s=t+\"[\"+i+\"]\";function u(){l={},o&&(l[s]={},l[s].templateitemname=o)}function c(e,t){o?r.nestedProperty(l[s],e).set(t):l[s+\".\"+e]=t}function f(){var e=l;return u(),e}return u(),{modifyBase:function(e,t){l[e]=t},modifyItem:c,getUpdateObj:f,applyUpdate:function(t,n){t&&c(t,n);var a=f();for(var i in a)r.nestedProperty(e,i).set(a[i])}}}},{\"../lib\":287,\"../plots/attributes\":330}],324:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../registry\"),i=e(\"../plots/plots\"),o=e(\"../lib\"),l=e(\"../lib/clear_gl_canvases\"),s=e(\"../components/color\"),u=e(\"../components/drawing\"),c=e(\"../components/titles\"),f=e(\"../components/modebar\"),d=e(\"../plots/cartesian/axes\"),p=e(\"../constants/alignment\"),h=e(\"../plots/cartesian/constraints\"),m=h.enforce,g=h.clean,y=e(\"../plots/cartesian/autorange\").doAutoRange;function v(e,t,n){for(var r=0;r<n.length;r++){var a=n[r][0],i=n[r][1];if(!(a[0]>=e[1]||a[1]<=e[0])&&i[0]<t[1]&&i[1]>t[0])return!0}return!1}function b(e){var t,a,l,c,h,m,g=e._fullLayout,y=g._size,b=y.p,w=d.list(e,\"\",!0);if(g._paperdiv.style({width:e._context.responsive&&g.autosize&&!e._context._hasZeroWidth&&!e.layout.width?\"100%\":g.width+\"px\",height:e._context.responsive&&g.autosize&&!e._context._hasZeroHeight&&!e.layout.height?\"100%\":g.height+\"px\"}).selectAll(\".main-svg\").call(u.setSize,g.width,g.height),e._context.setBackground(e,g.paper_bgcolor),n.drawMainTitle(e),f.manage(e),!g._has(\"cartesian\"))return i.previousPromises(e);function k(e,t,n){var r=e._lw/2;return\"x\"===e._id.charAt(0)?t?\"top\"===n?t._offset-b-r:t._offset+t._length+b+r:y.t+y.h*(1-(e.position||0))+r%1:t?\"right\"===n?t._offset+t._length+b+r:t._offset-b-r:y.l+y.w*(e.position||0)+r%1}for(t=0;t<w.length;t++){var T=(c=w[t])._anchorAxis;c._linepositions={},c._lw=u.crispRound(e,c.linewidth,1),c._mainLinePosition=k(c,T,c.side),c._mainMirrorPosition=c.mirror&&T?k(c,T,p.OPPOSITE_SIDE[c.side]):null}var M=[],S=[],E=[],C=1===s.opacity(g.paper_bgcolor)&&1===s.opacity(g.plot_bgcolor)&&g.paper_bgcolor===g.plot_bgcolor;for(a in g._plots)if((l=g._plots[a]).mainplot)l.bg&&l.bg.remove(),l.bg=void 0;else{var O=l.xaxis.domain,A=l.yaxis.domain,D=l.plotgroup;if(v(O,A,E)){var P=D.node(),R=l.bg=o.ensureSingle(D,\"rect\",\"bg\");P.insertBefore(R.node(),P.childNodes[0]),S.push(a)}else D.select(\"rect.bg\").remove(),E.push([O,A]),C||(M.push(a),S.push(a))}var L,I,j,N,z,F,Z,B,q,H,U,W,V,Y=g._bgLayer.selectAll(\".bg\").data(M);for(Y.enter().append(\"rect\").classed(\"bg\",!0),Y.exit().remove(),Y.each((function(e){g._plots[e].bg=r.select(this)})),t=0;t<S.length;t++)l=g._plots[S[t]],h=l.xaxis,m=l.yaxis,l.bg&&void 0!==h._offset&&void 0!==m._offset&&l.bg.call(u.setRect,h._offset-b,m._offset-b,h._length+2*b,m._length+2*b).call(s.fill,g.plot_bgcolor).style(\"stroke-width\",0);if(!g._hasOnlyLargeSploms)for(a in g._plots){l=g._plots[a],h=l.xaxis,m=l.yaxis;var G,$,X=l.clipId=\"clip\"+g._uid+a+\"plot\",K=o.ensureSingleById(g._clips,\"clipPath\",X,(function(e){e.classed(\"plotclip\",!0).append(\"rect\")}));l.clipRect=K.select(\"rect\").attr({width:h._length,height:m._length}),u.setTranslate(l.plot,h._offset,m._offset),l._hasClipOnAxisFalse?(G=null,$=X):(G=X,$=null),u.setClipUrl(l.plot,G,e),l.layerClipId=$}function J(e){return\"M\"+L+\",\"+e+\"H\"+I}function Q(e){return\"M\"+h._offset+\",\"+e+\"h\"+h._length}function ee(e){return\"M\"+e+\",\"+B+\"V\"+Z}function te(e){return\"M\"+e+\",\"+m._offset+\"v\"+m._length}function ne(e,t,n){if(!e.showline||a!==e._mainSubplot)return\"\";if(!e._anchorAxis)return n(e._mainLinePosition);var r=t(e._mainLinePosition);return e.mirror&&(r+=t(e._mainMirrorPosition)),r}for(a in g._plots){l=g._plots[a],h=l.xaxis,m=l.yaxis;var re=\"M0,0\";x(h,a)&&(z=_(h,\"left\",m,w),L=h._offset-(z?b+z:0),F=_(h,\"right\",m,w),I=h._offset+h._length+(F?b+F:0),j=k(h,m,\"bottom\"),N=k(h,m,\"top\"),!(V=!h._anchorAxis||a!==h._mainSubplot)||\"allticks\"!==h.mirror&&\"all\"!==h.mirror||(h._linepositions[a]=[j,N]),re=ne(h,J,Q),V&&h.showline&&(\"all\"===h.mirror||\"allticks\"===h.mirror)&&(re+=J(j)+J(N)),l.xlines.style(\"stroke-width\",h._lw+\"px\").call(s.stroke,h.showline?h.linecolor:\"rgba(0,0,0,0)\")),l.xlines.attr(\"d\",re);var ae=\"M0,0\";x(m,a)&&(U=_(m,\"bottom\",h,w),Z=m._offset+m._length+(U?b:0),W=_(m,\"top\",h,w),B=m._offset-(W?b:0),q=k(m,h,\"left\"),H=k(m,h,\"right\"),!(V=!m._anchorAxis||a!==m._mainSubplot)||\"allticks\"!==m.mirror&&\"all\"!==m.mirror||(m._linepositions[a]=[q,H]),ae=ne(m,ee,te),V&&m.showline&&(\"all\"===m.mirror||\"allticks\"===m.mirror)&&(ae+=ee(q)+ee(H)),l.ylines.style(\"stroke-width\",m._lw+\"px\").call(s.stroke,m.showline?m.linecolor:\"rgba(0,0,0,0)\")),l.ylines.attr(\"d\",ae)}return d.makeClipPaths(e),i.previousPromises(e)}function x(e,t){return(e.ticks||e.showline)&&(t===e._mainSubplot||\"all\"===e.mirror||\"allticks\"===e.mirror)}function w(e,t,n){if(!n.showline||!n._lw)return!1;if(\"all\"===n.mirror||\"allticks\"===n.mirror)return!0;var r=n._anchorAxis;if(!r)return!1;var a=p.FROM_BL[t];return n.side===t?r.domain[a]===e.domain[a]:n.mirror&&r.domain[1-a]===e.domain[1-a]}function _(e,t,n,r){if(w(e,t,n))return n._lw;for(var a=0;a<r.length;a++){var i=r[a];if(i._mainAxis===n._mainAxis&&w(e,t,i))return i._lw}return 0}function k(e,t){var n=e.title,r=e._size,a=0;return\"paper\"===(\"start\"===t?a=n.pad.l:\"end\"===t&&(a=-n.pad.r),n.xref)?r.l+r.w*n.x+a:e.width*n.x+a}function T(e,t){var n=e.title,r=e._size,a=0;return\"0em\"!==t&&t?t===p.CAP_SHIFT+\"em\"&&(a=n.pad.t):a=-n.pad.b,\"auto\"===n.y?r.t/2:\"paper\"===n.yref?r.t+r.h-r.h*n.y+a:e.height-e.height*n.y+a}n.layoutStyles=function(e){return o.syncOrAsync([i.doAutoMargin,b],e)},n.drawMainTitle=function(e){var t=e._fullLayout,n=function(e){var t=e.title,n=\"middle\";return o.isRightAnchor(t)?n=\"end\":o.isLeftAnchor(t)&&(n=\"start\"),n}(t),r=function(e){var t=e.title,n=\"0em\";return o.isTopAnchor(t)?n=p.CAP_SHIFT+\"em\":o.isMiddleAnchor(t)&&(n=p.MID_SHIFT+\"em\"),n}(t);c.draw(e,\"gtitle\",{propContainer:t,propName:\"title.text\",placeholder:t._dfltTitle.plot,attributes:{x:k(t,n),y:T(t,r),\"text-anchor\":n,dy:r}})},n.doTraceStyle=function(e){var t,r=e.calcdata,o=[];for(t=0;t<r.length;t++){var s=r[t],u=s[0]||{},c=u.trace||{},f=c._module||{},d=f.arraysToCalcdata;d&&d(s,c);var p=f.editStyle;p&&o.push({fn:p,cd0:u})}if(o.length){for(t=0;t<o.length;t++){var h=o[t];h.fn(e,h.cd0)}l(e),n.redrawReglTraces(e)}return i.style(e),a.getComponentMethod(\"legend\",\"draw\")(e),i.previousPromises(e)},n.doColorBars=function(e){return a.getComponentMethod(\"colorbar\",\"draw\")(e),i.previousPromises(e)},n.layoutReplot=function(e){var t=e.layout;return e.layout=void 0,a.call(\"_doPlot\",e,\"\",t)},n.doLegend=function(e){return a.getComponentMethod(\"legend\",\"draw\")(e),i.previousPromises(e)},n.doTicksRelayout=function(e){return d.draw(e,\"redraw\"),e._fullLayout._hasOnlyLargeSploms&&(a.subplotsRegistry.splom.updateGrid(e),l(e),n.redrawReglTraces(e)),n.drawMainTitle(e),i.previousPromises(e)},n.doModeBar=function(e){var t=e._fullLayout;f.manage(e);for(var n=0;n<t._basePlotModules.length;n++){var r=t._basePlotModules[n].updateFx;r&&r(e)}return i.previousPromises(e)},n.doCamera=function(e){for(var t=e._fullLayout,n=t._subplots.gl3d,r=0;r<n.length;r++){var a=t[n[r]];a._scene.setViewport(a)}},n.drawData=function(e){var t=e._fullLayout;l(e);for(var r=t._basePlotModules,o=0;o<r.length;o++)r[o].plot(e);return n.redrawReglTraces(e),i.style(e),a.getComponentMethod(\"shapes\",\"draw\")(e),a.getComponentMethod(\"annotations\",\"draw\")(e),a.getComponentMethod(\"images\",\"draw\")(e),t._replotting=!1,i.previousPromises(e)},n.redrawReglTraces=function(e){var t=e._fullLayout;if(t._has(\"regl\")){var n,r,a=e._fullData,i=[],l=[];for(t._hasOnlyLargeSploms&&t._splomGrid.draw(),n=0;n<a.length;n++){var s=a[n];!0===s.visible&&0!==s._length&&(\"splom\"===s.type?t._splomScenes[s.uid].draw():\"scattergl\"===s.type?o.pushUnique(i,s.xaxis+s.yaxis):\"scatterpolargl\"===s.type&&o.pushUnique(l,s.subplot))}for(n=0;n<i.length;n++)(r=t._plots[i[n]])._scene&&r._scene.draw();for(n=0;n<l.length;n++)(r=t[l[n]]._subplot)._scene&&r._scene.draw()}},n.doAutoRangeAndConstraints=function(e){for(var t,n=d.list(e,\"\",!0),r={},a=0;a<n.length;a++)if(!r[(t=n[a])._id]){r[t._id]=1,g(e,t),y(e,t);var i=t._matchGroup;if(i)for(var o in i){var l=d.getFromId(e,o);y(e,l,t.range),r[o]=1}}m(e)},n.finalDraw=function(e){a.getComponentMethod(\"rangeslider\",\"draw\")(e),a.getComponentMethod(\"rangeselector\",\"draw\")(e)},n.drawMarginPushers=function(e){a.getComponentMethod(\"legend\",\"draw\")(e),a.getComponentMethod(\"rangeselector\",\"draw\")(e),a.getComponentMethod(\"sliders\",\"draw\")(e),a.getComponentMethod(\"updatemenus\",\"draw\")(e),a.getComponentMethod(\"colorbar\",\"draw\")(e)}},{\"../components/color\":157,\"../components/drawing\":179,\"../components/modebar\":220,\"../components/titles\":255,\"../constants/alignment\":262,\"../lib\":287,\"../lib/clear_gl_canvases\":275,\"../plots/cartesian/autorange\":333,\"../plots/cartesian/axes\":334,\"../plots/cartesian/constraints\":342,\"../plots/plots\":371,\"../registry\":378,\"@plotly/d3\":20}],325:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=r.isPlainObject,i=e(\"./plot_schema\"),o=e(\"../plots/plots\"),l=e(\"../plots/attributes\"),s=e(\"./plot_template\"),u=e(\"./plot_config\").dfltConfig;function c(e,t){e=r.extendDeep({},e);var n,i,o=Object.keys(e).sort();function l(t,n,r){if(a(n)&&a(t))c(t,n);else if(Array.isArray(n)&&Array.isArray(t)){var o=s.arrayTemplater({_template:e},r);for(i=0;i<n.length;i++){var l=n[i],u=o.newItem(l)._template;u&&c(u,l)}var f=o.defaultItems();for(i=0;i<f.length;i++)n.push(f[i]._template);for(i=0;i<n.length;i++)delete n[i].templateitemname}}for(n=0;n<o.length;n++){var u=o[n],d=e[u];if(u in t?l(d,t[u],u):t[u]=d,f(u)===u)for(var p in t){var h=f(p);p===h||h!==u||p in e||l(d,t[p],u)}}}function f(e){return e.replace(/[0-9]+$/,\"\")}function d(e,t,n,i,o){var l=o&&n(o);for(var u in e){var c=e[u],p=m(e,u,i),h=m(e,u,o),g=n(h);if(!g){var y=f(u);y!==u&&(g=n(h=m(e,y,o)))}if(!(l&&l===g||!g||g._noTemplating||\"data_array\"===g.valType||g.arrayOk&&Array.isArray(c)))if(!g.valType&&a(c))d(c,t,n,p,h);else if(g._isLinkedToArray&&Array.isArray(c))for(var v=!1,b=0,x={},w=0;w<c.length;w++){var _=c[w];if(a(_)){var k=_.name;if(k)x[k]||(d(_,t,n,m(c,b,p),m(c,b,h)),b++,x[k]=1);else if(!v){var T=m(e,s.arrayDefaultKey(u),i),M=m(c,b,p);d(_,t,n,M,m(c,b,h));var S=r.nestedProperty(t,M);r.nestedProperty(t,T).set(S.get()),S.set(null),v=!0}}}else r.nestedProperty(t,p).set(c)}}function p(e,t){return i.getLayoutValObject(e,r.nestedProperty({},t).parts)}function h(e,t){return i.getTraceValObject(e,r.nestedProperty({},t).parts)}function m(e,t,n){return n?Array.isArray(e)?n+\"[\"+t+\"]\":n+\".\"+t:t}function g(e){for(var t=0;t<e.length;t++)if(a(e[t]))return!0}function y(e){var t;switch(e.code){case\"data\":t=\"The template has no key data.\";break;case\"layout\":t=\"The template has no key layout.\";break;case\"missing\":t=e.path?\"There are no templates for item \"+e.path+\" with name \"+e.templateitemname:\"There are no templates for trace \"+e.index+\", of type \"+e.traceType+\".\";break;case\"unused\":t=e.path?\"The template item at \"+e.path+\" was not used in constructing the plot.\":e.dataCount?\"Some of the templates of type \"+e.traceType+\" were not used. The template has \"+e.templateCount+\" traces, the data only has \"+e.dataCount+\" of this type.\":\"The template has \"+e.templateCount+\" traces of type \"+e.traceType+\" but there are none in the data.\";break;case\"reused\":t=\"Some of the templates of type \"+e.traceType+\" were used more than once. The template has \"+e.templateCount+\" traces, the data has \"+e.dataCount+\" of this type.\"}return e.msg=t,e}n.makeTemplate=function(e){e=r.isPlainObject(e)?e:r.getGraphDiv(e),e=r.extendDeep({_context:u},{data:e.data,layout:e.layout}),o.supplyDefaults(e);var t=e.data||[],n=e.layout||{};n._basePlotModules=e._fullLayout._basePlotModules,n._modules=e._fullLayout._modules;var i={data:{},layout:{}};t.forEach((function(e){var t={};d(e,t,h.bind(null,e));var n=r.coerce(e,{},l,\"type\"),a=i.data[n];a||(a=i.data[n]=[]),a.push(t)})),d(n,i.layout,p.bind(null,n)),delete i.layout.template;var s=n.template;if(a(s)){var f,m,g,y,v,b,x=s.layout;a(x)&&c(x,i.layout);var w=s.data;if(a(w)){for(m in i.data)if(g=w[m],Array.isArray(g)){for(b=(v=i.data[m]).length,y=g.length,f=0;f<b;f++)c(g[f%y],v[f]);for(f=b;f<y;f++)v.push(r.extendDeep({},g[f]))}for(m in w)m in i.data||(i.data[m]=r.extendDeep([],w[m]))}}return i},n.validateTemplate=function(e,t){var n=r.extendDeep({},{_context:u,data:e.data,layout:e.layout}),i=n.layout||{};a(t)||(t=i.template||{});var l=t.layout,s=t.data,c=[];n.layout=i,n.layout.template=t,o.supplyDefaults(n);var d=n._fullLayout,p=n._fullData,h={};if(a(l)?(function e(t,n){for(var r in t)if(\"_\"!==r.charAt(0)&&a(t[r])){var i,o=f(r),l=[];for(i=0;i<n.length;i++)l.push(m(t,r,n[i])),o!==r&&l.push(m(t,o,n[i]));for(i=0;i<l.length;i++)h[l[i]]=1;e(t[r],l)}}(d,[\"layout\"]),function e(t,n){for(var r in t)if(-1===r.indexOf(\"defaults\")&&a(t[r])){var i=m(t,r,n);h[i]?e(t[r],i):c.push({code:\"unused\",path:i})}}(l,\"layout\")):c.push({code:\"layout\"}),a(s)){for(var v,b={},x=0;x<p.length;x++){var w=p[x];b[v=w.type]=(b[v]||0)+1,w._fullInput._template||c.push({code:\"missing\",index:w._fullInput.index,traceType:v})}for(v in s){var _=s[v].length,k=b[v]||0;_>k?c.push({code:\"unused\",traceType:v,templateCount:_,dataCount:k}):k>_&&c.push({code:\"reused\",traceType:v,templateCount:_,dataCount:k})}}else c.push({code:\"data\"});if(function e(t,n){for(var r in t)if(\"_\"!==r.charAt(0)){var i=t[r],o=m(t,r,n);a(i)?(Array.isArray(t)&&!1===i._template&&i.templateitemname&&c.push({code:\"missing\",path:o,templateitemname:i.templateitemname}),e(i,o)):Array.isArray(i)&&g(i)&&e(i,o)}}({data:p,layout:d},\"\"),c.length)return c.map(y)}},{\"../lib\":287,\"../plots/attributes\":330,\"../plots/plots\":371,\"./plot_config\":321,\"./plot_schema\":322,\"./plot_template\":323}],326:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"./plot_api\"),i=e(\"../plots/plots\"),o=e(\"../lib\"),l=e(\"../snapshot/helpers\"),s=e(\"../snapshot/tosvg\"),u=e(\"../snapshot/svgtoimg\"),c=e(\"../version\").version,f={format:{valType:\"enumerated\",values:[\"png\",\"jpeg\",\"webp\",\"svg\",\"full-json\"],dflt:\"png\"},width:{valType:\"number\",min:1},height:{valType:\"number\",min:1},scale:{valType:\"number\",min:0,dflt:1},setBackground:{valType:\"any\",dflt:!1},imageDataOnly:{valType:\"boolean\",dflt:!1}};t.exports=function(e,t){var n,d,p,h;function m(e){return!(e in t)||o.validate(t[e],f[e])}if(t=t||{},o.isPlainObject(e)?(n=e.data||[],d=e.layout||{},p=e.config||{},h={}):(e=o.getGraphDiv(e),n=o.extendDeep([],e.data),d=o.extendDeep({},e.layout),p=e._context,h=e._fullLayout||{}),!m(\"width\")&&null!==t.width||!m(\"height\")&&null!==t.height)throw new Error(\"Height and width should be pixel values.\");if(!m(\"format\"))throw new Error(\"Export format is not \"+o.join2(f.format.values,\", \",\" or \")+\".\");var g={};function y(e,n){return o.coerce(t,g,f,e,n)}var v=y(\"format\"),b=y(\"width\"),x=y(\"height\"),w=y(\"scale\"),_=y(\"setBackground\"),k=y(\"imageDataOnly\"),T=document.createElement(\"div\");T.style.position=\"absolute\",T.style.left=\"-5000px\",document.body.appendChild(T);var M=o.extendFlat({},d);b?M.width=b:null===t.width&&r(h.width)&&(M.width=h.width),x?M.height=x:null===t.height&&r(h.height)&&(M.height=h.height);var S=o.extendFlat({},p,{_exportedPlot:!0,staticPlot:!0,setBackground:_}),E=l.getRedrawFunc(T);function C(){return new Promise((function(e){setTimeout(e,l.getDelay(T._fullLayout))}))}function O(){return new Promise((function(e,t){var n=s(T,v,w),r=T._fullLayout.width,f=T._fullLayout.height;function d(){a.purge(T),document.body.removeChild(T)}if(\"full-json\"===v){var p=i.graphJson(T,!1,\"keepdata\",\"object\",!0,!0);return p.version=c,p=JSON.stringify(p),d(),e(k?p:l.encodeJSON(p))}if(d(),\"svg\"===v)return e(k?n:l.encodeSVG(n));var h=document.createElement(\"canvas\");h.id=o.randstr(),u({format:v,width:r,height:f,scale:w,canvas:h,svg:n,promise:!0}).then(e).catch(t)}))}return new Promise((function(e,t){a.newPlot(T,n,M,S).then(E).then(C).then(O).then((function(t){e(function(e){return k?e.replace(l.IMAGE_URL_PREFIX,\"\"):e}(t))})).catch((function(e){t(e)}))}))}},{\"../lib\":287,\"../plots/plots\":371,\"../snapshot/helpers\":382,\"../snapshot/svgtoimg\":384,\"../snapshot/tosvg\":386,\"../version\":552,\"./plot_api\":320,\"fast-isnumeric\":33}],327:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"../plots/plots\"),i=e(\"./plot_schema\"),o=e(\"./plot_config\").dfltConfig,l=r.isPlainObject,s=Array.isArray,u=r.isArrayOrTypedArray;function c(e,t,n,a,i,o){o=o||[];for(var f=Object.keys(e),d=0;d<f.length;d++){var p=f[d];if(\"transforms\"!==p){var y=o.slice();y.push(p);var v=e[p],b=t[p],x=g(n,p),w=(x||{}).valType,_=\"info_array\"===w,k=\"colorscale\"===w,T=(x||{}).items;if(m(n,p))if(l(v)&&l(b)&&\"any\"!==w)c(v,b,x,a,i,y);else if(_&&s(v)){v.length>b.length&&a.push(h(\"unused\",i,y.concat(b.length)));var M,S,E,C,O,A=b.length,D=Array.isArray(T);if(D&&(A=Math.min(A,T.length)),2===x.dimensions)for(S=0;S<A;S++)if(s(v[S])){v[S].length>b[S].length&&a.push(h(\"unused\",i,y.concat(S,b[S].length)));var P=b[S].length;for(M=0;M<(D?Math.min(P,T[S].length):P);M++)E=D?T[S][M]:T,C=v[S][M],O=b[S][M],r.validate(C,E)?O!==C&&O!==+C&&a.push(h(\"dynamic\",i,y.concat(S,M),C,O)):a.push(h(\"value\",i,y.concat(S,M),C))}else a.push(h(\"array\",i,y.concat(S),v[S]));else for(S=0;S<A;S++)E=D?T[S]:T,C=v[S],O=b[S],r.validate(C,E)?O!==C&&O!==+C&&a.push(h(\"dynamic\",i,y.concat(S),C,O)):a.push(h(\"value\",i,y.concat(S),C))}else if(x.items&&!_&&s(v)){var R,L,I=T[Object.keys(T)[0]],j=[];for(R=0;R<b.length;R++){var N=b[R]._index||R;if((L=y.slice()).push(N),l(v[N])&&l(b[R])){j.push(N);var z=v[N],F=b[R];l(z)&&!1!==z.visible&&!1===F.visible?a.push(h(\"invisible\",i,L)):c(z,F,I,a,i,L)}}for(R=0;R<v.length;R++)(L=y.slice()).push(R),l(v[R])?-1===j.indexOf(R)&&a.push(h(\"unused\",i,L)):a.push(h(\"object\",i,L,v[R]))}else!l(v)&&l(b)?a.push(h(\"object\",i,y,v)):u(v)||!u(b)||_||k?p in t?r.validate(v,x)?\"enumerated\"===x.valType&&(x.coerceNumber&&v!==+b||v!==b)&&a.push(h(\"dynamic\",i,y,v,b)):a.push(h(\"value\",i,y,v)):a.push(h(\"unused\",i,y,v)):a.push(h(\"array\",i,y,v));else a.push(h(\"schema\",i,y))}}return a}function f(e,t){for(var n=e.layout.layoutAttributes,a=0;a<t.length;a++){var i=t[a],o=e.traces[i.type],l=o.layoutAttributes;l&&(i.subplot?r.extendFlat(n[o.attributes.subplot.dflt],l):r.extendFlat(n,l))}return n}t.exports=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={});var n,u,d=i.get(),p=[],m={_context:r.extendFlat({},o)};s(e)?(m.data=r.extendDeep([],e),n=e):(m.data=[],n=[],p.push(h(\"array\",\"data\"))),l(t)?(m.layout=r.extendDeep({},t),u=t):(m.layout={},u={},arguments.length>1&&p.push(h(\"object\",\"layout\"))),a.supplyDefaults(m);for(var g=m._fullData,y=n.length,v=0;v<y;v++){var b=n[v],x=[\"data\",v];if(l(b)){var w=g[v],_=w.type,k=d.traces[_].attributes;k.type={valType:\"enumerated\",values:[_]},!1===w.visible&&!1!==b.visible&&p.push(h(\"invisible\",x)),c(b,w,k,p,x);var T=b.transforms,M=w.transforms;if(T){s(T)||p.push(h(\"array\",x,[\"transforms\"])),x.push(\"transforms\");for(var S=0;S<T.length;S++){var E=[\"transforms\",S],C=T[S].type;if(l(T[S])){var O=d.transforms[C]?d.transforms[C].attributes:{};O.type={valType:\"enumerated\",values:Object.keys(d.transforms)},c(T[S],M[S],O,p,x,E)}else p.push(h(\"object\",x,E))}}}else p.push(h(\"object\",x))}return c(u,m._fullLayout,f(d,g),p,\"layout\"),0===p.length?void 0:p};var d={object:function(e,t){return(\"layout\"===e&&\"\"===t?\"The layout argument\":\"data\"===e[0]&&\"\"===t?\"Trace \"+e[1]+\" in the data argument\":p(e)+\"key \"+t)+\" must be linked to an object container\"},array:function(e,t){return(\"data\"===e?\"The data argument\":p(e)+\"key \"+t)+\" must be linked to an array container\"},schema:function(e,t){return p(e)+\"key \"+t+\" is not part of the schema\"},unused:function(e,t,n){var r=l(n)?\"container\":\"key\";return p(e)+r+\" \"+t+\" did not get coerced\"},dynamic:function(e,t,n,r){return[p(e)+\"key\",t,\"(set to '\"+n+\"')\",\"got reset to\",\"'\"+r+\"'\",\"during defaults.\"].join(\" \")},invisible:function(e,t){return(t?p(e)+\"item \"+t:\"Trace \"+e[1])+\" got defaulted to be not visible\"},value:function(e,t,n){return[p(e)+\"key \"+t,\"is set to an invalid value (\"+n+\")\"].join(\" \")}};function p(e){return s(e)?\"In data trace \"+e[1]+\", \":\"In \"+e+\", \"}function h(e,t,n,a,i){var o,l;n=n||\"\",s(t)?(o=t[0],l=t[1]):(o=t,l=null);var u=function(e){if(!s(e))return String(e);for(var t=\"\",n=0;n<e.length;n++){var r=e[n];\"number\"==typeof r?t=t.substr(0,t.length-1)+\"[\"+r+\"]\":t+=r,n<e.length-1&&(t+=\".\")}return t}(n),c=d[e](t,u,a,i);return r.log(c),{code:e,container:o,trace:l,path:n,astr:u,msg:c}}function m(e,t){var n=v(t),r=n.keyMinusId,a=n.id;return!!(r in e&&e[r]._isSubplotObj&&a)||t in e}function g(e,t){return t in e?e[t]:e[v(t).keyMinusId]}var y=r.counterRegex(\"([a-z]+)\");function v(e){var t=e.match(y);return{keyMinusId:t&&t[1],id:t&&t[2]}}},{\"../lib\":287,\"../plots/plots\":371,\"./plot_config\":321,\"./plot_schema\":322}],328:[function(e,t,n){\"use strict\";t.exports={mode:{valType:\"enumerated\",dflt:\"afterall\",values:[\"immediate\",\"next\",\"afterall\"]},direction:{valType:\"enumerated\",values:[\"forward\",\"reverse\"],dflt:\"forward\"},fromcurrent:{valType:\"boolean\",dflt:!1},frame:{duration:{valType:\"number\",min:0,dflt:500},redraw:{valType:\"boolean\",dflt:!0}},transition:{duration:{valType:\"number\",min:0,dflt:500,editType:\"none\"},easing:{valType:\"enumerated\",dflt:\"cubic-in-out\",values:[\"linear\",\"quad\",\"cubic\",\"sin\",\"exp\",\"circle\",\"elastic\",\"back\",\"bounce\",\"linear-in\",\"quad-in\",\"cubic-in\",\"sin-in\",\"exp-in\",\"circle-in\",\"elastic-in\",\"back-in\",\"bounce-in\",\"linear-out\",\"quad-out\",\"cubic-out\",\"sin-out\",\"exp-out\",\"circle-out\",\"elastic-out\",\"back-out\",\"bounce-out\",\"linear-in-out\",\"quad-in-out\",\"cubic-in-out\",\"sin-in-out\",\"exp-in-out\",\"circle-in-out\",\"elastic-in-out\",\"back-in-out\",\"bounce-in-out\"],editType:\"none\"},ordering:{valType:\"enumerated\",values:[\"layout first\",\"traces first\"],dflt:\"layout first\",editType:\"none\"}}}},{}],329:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"../plot_api/plot_template\");t.exports=function(e,t,n){var i,o,l=n.name,s=n.inclusionAttr||\"visible\",u=t[l],c=r.isArrayOrTypedArray(e[l])?e[l]:[],f=t[l]=[],d=a.arrayTemplater(t,l,s);for(i=0;i<c.length;i++){var p=c[i];r.isPlainObject(p)?o=d.newItem(p):(o=d.newItem({}))[s]=!1,o._index=i,!1!==o[s]&&n.handleItemDefaults(p,o,t,n),f.push(o)}var h=d.defaultItems();for(i=0;i<h.length;i++)(o=h[i])._index=f.length,n.handleItemDefaults({},o,t,n,{}),f.push(o);if(r.isArrayOrTypedArray(u)){var m=Math.min(u.length,f.length);for(i=0;i<m;i++)r.relinkPrivateKeys(f[i],u[i])}return f}},{\"../lib\":287,\"../plot_api/plot_template\":323}],330:[function(e,t,n){\"use strict\";var r=e(\"./font_attributes\"),a=e(\"../components/fx/attributes\");t.exports={type:{valType:\"enumerated\",values:[],dflt:\"scatter\",editType:\"calc+clearAxisTypes\",_noTemplating:!0},visible:{valType:\"enumerated\",values:[!0,!1,\"legendonly\"],dflt:!0,editType:\"calc\"},showlegend:{valType:\"boolean\",dflt:!0,editType:\"style\"},legendgroup:{valType:\"string\",dflt:\"\",editType:\"style\"},legendgrouptitle:{text:{valType:\"string\",dflt:\"\",editType:\"style\"},font:r({editType:\"style\"}),editType:\"style\"},legendrank:{valType:\"number\",dflt:1e3,editType:\"style\"},opacity:{valType:\"number\",min:0,max:1,dflt:1,editType:\"style\"},name:{valType:\"string\",editType:\"style\"},uid:{valType:\"string\",editType:\"plot\",anim:!0},ids:{valType:\"data_array\",editType:\"calc\",anim:!0},customdata:{valType:\"data_array\",editType:\"calc\"},meta:{valType:\"any\",arrayOk:!0,editType:\"plot\"},selectedpoints:{valType:\"any\",editType:\"calc\"},hoverinfo:{valType:\"flaglist\",flags:[\"x\",\"y\",\"z\",\"text\",\"name\"],extras:[\"all\",\"none\",\"skip\"],arrayOk:!0,dflt:\"all\",editType:\"none\"},hoverlabel:a.hoverlabel,stream:{token:{valType:\"string\",noBlank:!0,strict:!0,editType:\"calc\"},maxpoints:{valType:\"number\",min:0,max:1e4,dflt:500,editType:\"calc\"},editType:\"calc\"},transforms:{_isLinkedToArray:\"transform\",editType:\"calc\"},uirevision:{valType:\"any\",editType:\"none\"}}},{\"../components/fx/attributes\":188,\"./font_attributes\":365}],331:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=a.dateTime2ms,o=a.incrementMonth,l=e(\"../../constants/numerical\").ONEAVGMONTH;t.exports=function(e,t,n,a){if(\"date\"!==t.type)return{vals:a};var s=e[n+\"periodalignment\"];if(!s)return{vals:a};var u,c=e[n+\"period\"];if(r(c)){if((c=+c)<=0)return{vals:a}}else if(\"string\"==typeof c&&\"M\"===c.charAt(0)){var f=+c.substring(1);if(!(f>0&&Math.round(f)===f))return{vals:a};u=f}for(var d=t.calendar,p=\"start\"===s,h=\"end\"===s,m=e[n+\"period0\"],g=i(m,d)||0,y=[],v=[],b=[],x=a.length,w=0;w<x;w++){var _,k,T,M=a[w];if(u){for(_=Math.round((M-g)/(u*l)),T=o(g,u*_,d);T>M;)T=o(T,-u,d);for(;T<=M;)T=o(T,u,d);k=o(T,-u,d)}else{for(T=g+(_=Math.round((M-g)/c))*c;T>M;)T-=c;for(;T<=M;)T+=c;k=T-c}y[w]=p?k:h?T:(k+T)/2,v[w]=k,b[w]=T}return{vals:y,starts:v,ends:b}}},{\"../../constants/numerical\":267,\"../../lib\":287,\"fast-isnumeric\":33}],332:[function(e,t,n){\"use strict\";t.exports={xaxis:{valType:\"subplotid\",dflt:\"x\",editType:\"calc+clearAxisTypes\"},yaxis:{valType:\"subplotid\",dflt:\"y\",editType:\"calc+clearAxisTypes\"}}},{}],333:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"fast-isnumeric\"),i=e(\"../../lib\"),o=e(\"../../constants/numerical\").FP_SAFE,l=e(\"../../registry\"),s=e(\"../../components/drawing\"),u=e(\"./axis_ids\"),c=u.getFromId,f=u.isLinked;function d(e,t){var n,r,a=[],o=e._fullLayout,l=h(o,t,0),s=h(o,t,1),u=m(e,t),c=u.min,f=u.max;if(0===c.length||0===f.length)return i.simpleMap(t.range,t.r2l);var d=c[0].val,g=f[0].val;for(n=1;n<c.length&&d===g;n++)d=Math.min(d,c[n].val);for(n=1;n<f.length&&d===g;n++)g=Math.max(g,f[n].val);var y=!1;if(t.range){var v=i.simpleMap(t.range,t.r2l);y=v[1]<v[0]}\"reversed\"===t.autorange&&(y=!0,t.autorange=!0);var b,x,w,_,k,T,M=t.rangemode,S=\"tozero\"===M,E=\"nonnegative\"===M,C=t._length,O=C/10,A=0;for(n=0;n<c.length;n++)for(b=c[n],r=0;r<f.length;r++)(T=(x=f[r]).val-b.val-p(t,b.val,x.val))>0&&((k=C-l(b)-s(x))>O?T/k>A&&(w=b,_=x,A=T/k):T/C>A&&(w={val:b.val,nopad:1},_={val:x.val,nopad:1},A=T/C));if(d===g){var D=d-1,P=d+1;if(S)if(0===d)a=[0,1];else{var R=(d>0?f:c).reduce((function(e,t){return Math.max(e,s(t))}),0),L=d/(1-Math.min(.5,R/C));a=d>0?[0,L]:[L,0]}else a=E?[Math.max(0,D),Math.max(1,P)]:[D,P]}else S?(w.val>=0&&(w={val:0,nopad:1}),_.val<=0&&(_={val:0,nopad:1})):E&&(w.val-A*l(w)<0&&(w={val:0,nopad:1}),_.val<=0&&(_={val:1,nopad:1})),A=(_.val-w.val-p(t,b.val,x.val))/(C-l(w)-s(_)),a=[w.val-A*l(w),_.val+A*s(_)];return y&&a.reverse(),i.simpleMap(a,t.l2r||Number)}function p(e,t,n){var r=0;if(e.rangebreaks)for(var a=e.locateBreaks(t,n),i=0;i<a.length;i++){var o=a[i];r+=o.max-o.min}return r}function h(e,t,n){var a=.05*t._length,o=t._anchorAxis||{};if(-1!==(t.ticklabelposition||\"\").indexOf(\"inside\")||-1!==(o.ticklabelposition||\"\").indexOf(\"inside\")){var l=\"reversed\"===t.autorange;if(!l){var u=i.simpleMap(t.range,t.r2l);l=u[1]<u[0]}l&&(n=!n)}var c=0;return f(e,t._id)||(c=function(e,t,n){var a=0,o=\"x\"===t._id.charAt(0);for(var l in e._plots){var u=e._plots[l];if(t._id===u.xaxis._id||t._id===u.yaxis._id){var c=(o?u.yaxis:u.xaxis)||{};if(-1!==(c.ticklabelposition||\"\").indexOf(\"inside\")&&(!n&&(\"left\"===c.side||\"bottom\"===c.side)||n&&(\"top\"===c.side||\"right\"===c.side))){if(c._vals){var f=i.deg2rad(c._tickAngles[c._id+\"tick\"]||0),d=Math.abs(Math.cos(f)),p=Math.abs(Math.sin(f));if(!c._vals[0].bb){var h=c._id+\"tick\";c._selections[h].each((function(e){var t=r.select(this);t.select(\".text-math-group\").empty()&&(e.bb=s.bBox(t.node()))}))}for(var m=0;m<c._vals.length;m++){var g=c._vals[m].bb;if(g){var y=6+g.width,v=6+g.height;a=Math.max(a,o?Math.max(y*d,v*p):Math.max(v*d,y*p))}}}\"inside\"===c.ticks&&\"inside\"===c.ticklabelposition&&(a+=c.ticklen||0)}}}return a}(e,t,n)),a=Math.max(c,a),\"domain\"===t.constrain&&t._inputDomain&&(a*=(t._inputDomain[1]-t._inputDomain[0])/(t.domain[1]-t.domain[0])),function(e){return e.nopad?0:e.pad+(e.extrapad?a:c)}}function m(e,t,n){var r,a,i,o=t._id,l=e._fullData,s=e._fullLayout,u=[],f=[];function d(e,t){for(r=0;r<t.length;r++){var n=e[t[r]],l=(n._extremes||{})[o];if(!0===n.visible&&l){for(a=0;a<l.min.length;a++)i=l.min[a],g(u,i.val,i.pad,{extrapad:i.extrapad});for(a=0;a<l.max.length;a++)i=l.max[a],y(f,i.val,i.pad,{extrapad:i.extrapad})}}}if(d(l,t._traceIndices),d(s.annotations||[],t._annIndices||[]),d(s.shapes||[],t._shapeIndices||[]),t._matchGroup&&!n)for(var p in t._matchGroup)if(p!==t._id){var h=c(e,p),v=m(e,h,!0),b=t._length/h._length;for(a=0;a<v.min.length;a++)i=v.min[a],g(u,i.val,i.pad*b,{extrapad:i.extrapad});for(a=0;a<v.max.length;a++)i=v.max[a],y(f,i.val,i.pad*b,{extrapad:i.extrapad})}return{min:u,max:f}}function g(e,t,n,r){v(e,t,n,r,x)}function y(e,t,n,r){v(e,t,n,r,w)}function v(e,t,n,r,a){for(var i=r.tozero,o=r.extrapad,l=!0,s=0;s<e.length&&l;s++){var u=e[s];if(a(u.val,t)&&u.pad>=n&&(u.extrapad||!o)){l=!1;break}a(t,u.val)&&u.pad<=n&&(o||!u.extrapad)&&(e.splice(s,1),s--)}if(l){var c=i&&0===t;e.push({val:t,pad:c?0:n,extrapad:!c&&o})}}function b(e){return a(e)&&Math.abs(e)<o}function x(e,t){return e<=t}function w(e,t){return e>=t}t.exports={getAutoRange:d,makePadFn:h,doAutoRange:function(e,t,n){if(t.setScale(),t.autorange){t.range=n?n.slice():d(e,t),t._r=t.range.slice(),t._rl=i.simpleMap(t._r,t.r2l);var r=t._input,a={};a[t._attr+\".range\"]=t.range,a[t._attr+\".autorange\"]=t.autorange,l.call(\"_storeDirectGUIEdit\",e.layout,e._fullLayout._preGUI,a),r.range=t.range.slice(),r.autorange=t.autorange}var o=t._anchorAxis;if(o&&o.rangeslider){var s=o.rangeslider[t._name];s&&\"auto\"===s.rangemode&&(s.range=d(e,t)),o._input.rangeslider[t._name]=i.extendFlat({},s)}},findExtremes:function(e,t,n){n||(n={}),e._m||e.setScale();var r,i,l,s,u,c,f,d,p,h=[],m=[],v=t.length,x=n.padded||!1,w=n.tozero&&(\"linear\"===e.type||\"-\"===e.type),_=\"log\"===e.type,k=!1,T=n.vpadLinearized||!1;function M(e){if(Array.isArray(e))return k=!0,function(t){return Math.max(Number(e[t]||0),0)};var t=Math.max(Number(e||0),0);return function(){return t}}var S=M((e._m>0?n.ppadplus:n.ppadminus)||n.ppad||0),E=M((e._m>0?n.ppadminus:n.ppadplus)||n.ppad||0),C=M(n.vpadplus||n.vpad),O=M(n.vpadminus||n.vpad);if(!k){if(d=1/0,p=-1/0,_)for(r=0;r<v;r++)(i=t[r])<d&&i>0&&(d=i),i>p&&i<o&&(p=i);else for(r=0;r<v;r++)(i=t[r])<d&&i>-o&&(d=i),i>p&&i<o&&(p=i);t=[d,p],v=2}var A={tozero:w,extrapad:x};function D(n){l=t[n],a(l)&&(c=S(n),f=E(n),T?(s=e.c2l(l)-O(n),u=e.c2l(l)+C(n)):(d=l-O(n),p=l+C(n),_&&d<p/10&&(d=p/10),s=e.c2l(d),u=e.c2l(p)),w&&(s=Math.min(0,s),u=Math.max(0,u)),b(s)&&g(h,s,f,A),b(u)&&y(m,u,c,A))}var P=Math.min(6,v);for(r=0;r<P;r++)D(r);for(r=v-1;r>=P;r--)D(r);return{min:h,max:m,opts:n}},concatExtremes:m}},{\"../../components/drawing\":179,\"../../constants/numerical\":267,\"../../lib\":287,\"../../registry\":378,\"./axis_ids\":338,\"@plotly/d3\":20,\"fast-isnumeric\":33}],334:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"fast-isnumeric\"),i=e(\"../../plots/plots\"),o=e(\"../../registry\"),l=e(\"../../lib\"),s=l.strTranslate,u=e(\"../../lib/svg_text_utils\"),c=e(\"../../components/titles\"),f=e(\"../../components/color\"),d=e(\"../../components/drawing\"),p=e(\"./layout_attributes\"),h=e(\"./clean_ticks\"),m=e(\"../../constants/numerical\"),g=m.ONEMAXYEAR,y=m.ONEAVGYEAR,v=m.ONEMINYEAR,b=m.ONEMAXQUARTER,x=m.ONEAVGQUARTER,w=m.ONEMINQUARTER,_=m.ONEMAXMONTH,k=m.ONEAVGMONTH,T=m.ONEMINMONTH,M=m.ONEWEEK,S=m.ONEDAY,E=S/2,C=m.ONEHOUR,O=m.ONEMIN,A=m.ONESEC,D=m.MINUS_SIGN,P=m.BADNUM,R={K:\"zeroline\"},L={K:\"gridline\",L:\"path\"},I={K:\"tick\",L:\"path\"},j={K:\"tick\",L:\"text\"},N=e(\"../../constants/alignment\"),z=N.MID_SHIFT,F=N.CAP_SHIFT,Z=N.LINE_SPACING,B=N.OPPOSITE_SIDE,q=t.exports={};q.setConvert=e(\"./set_convert\");var H=e(\"./axis_autotype\"),U=e(\"./axis_ids\"),W=U.idSort,V=U.isLinked;q.id2name=U.id2name,q.name2id=U.name2id,q.cleanId=U.cleanId,q.list=U.list,q.listIds=U.listIds,q.getFromId=U.getFromId,q.getFromTrace=U.getFromTrace;var Y=e(\"./autorange\");function G(e){var t=1e-4*(e[1]-e[0]);return[e[0]-t,e[1]+t]}q.getAutoRange=Y.getAutoRange,q.findExtremes=Y.findExtremes,q.coerceRef=function(e,t,n,r,a,i){var o=r.charAt(r.length-1),s=n._fullLayout._subplots[o+\"axis\"],u=r+\"ref\",c={};return a||(a=s[0]||(\"string\"==typeof i?i:i[0])),i||(i=a),s=s.concat(s.map((function(e){return e+\" domain\"}))),c[u]={valType:\"enumerated\",values:s.concat(i?\"string\"==typeof i?[i]:i:[]),dflt:a},l.coerce(e,t,c,u)},q.getRefType=function(e){return void 0===e?e:\"paper\"===e?\"paper\":\"pixel\"===e?\"pixel\":/( domain)$/.test(e)?\"domain\":\"range\"},q.coercePosition=function(e,t,n,r,a,i){var o,s;if(\"range\"!==q.getRefType(r))o=l.ensureNumber,s=n(a,i);else{var u=q.getFromId(t,r);s=n(a,i=u.fraction2r(i)),o=u.cleanPos}e[a]=o(s)},q.cleanPosition=function(e,t,n){return(\"paper\"===n||\"pixel\"===n?l.ensureNumber:q.getFromId(t,n).cleanPos)(e)},q.redrawComponents=function(e,t){t=t||q.listIds(e);var n=e._fullLayout;function r(r,a,i,l){for(var s=o.getComponentMethod(r,a),u={},c=0;c<t.length;c++)for(var f=n[q.id2name(t[c])][i],d=0;d<f.length;d++){var p=f[d];if(!u[p]&&(s(e,p),u[p]=1,l))return}}r(\"annotations\",\"drawOne\",\"_annIndices\"),r(\"shapes\",\"drawOne\",\"_shapeIndices\"),r(\"images\",\"draw\",\"_imgIndices\",!0)};var $=q.getDataConversions=function(e,t,n,r){var a,i=\"x\"===n||\"y\"===n||\"z\"===n?n:r;if(Array.isArray(i)){if(a={type:H(r,void 0,{autotypenumbers:e._fullLayout.autotypenumbers}),_categories:[]},q.setConvert(a),\"category\"===a.type)for(var o=0;o<r.length;o++)a.d2c(r[o])}else a=q.getFromTrace(e,t,i);return a?{d2c:a.d2c,c2d:a.c2d}:\"ids\"===i?{d2c:K,c2d:K}:{d2c:X,c2d:X}};function X(e){return+e}function K(e){return String(e)}function J(e){return+e.substring(1)}q.getDataToCoordFunc=function(e,t,n,r){return $(e,t,n,r).d2c},q.counterLetter=function(e){var t=e.charAt(0);return\"x\"===t?\"y\":\"y\"===t?\"x\":void 0},q.minDtick=function(e,t,n,r){-1===[\"log\",\"category\",\"multicategory\"].indexOf(e.type)&&r?void 0===e._minDtick?(e._minDtick=t,e._forceTick0=n):e._minDtick&&((e._minDtick/t+1e-6)%1<2e-6&&((n-e._forceTick0)/t%1+1.000001)%1<2e-6?(e._minDtick=t,e._forceTick0=n):((t/e._minDtick+1e-6)%1>2e-6||((n-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},q.saveRangeInitial=function(e,t){for(var n=q.list(e,\"\",!0),r=!1,a=0;a<n.length;a++){var i=n[a],o=void 0===i._rangeInitial,l=o||!(i.range[0]===i._rangeInitial[0]&&i.range[1]===i._rangeInitial[1]);(o&&!1===i.autorange||t&&l)&&(i._rangeInitial=i.range.slice(),r=!0)}return r},q.saveShowSpikeInitial=function(e,t){for(var n=q.list(e,\"\",!0),r=!1,a=\"on\",i=0;i<n.length;i++){var o=n[i],l=void 0===o._showSpikeInitial,s=l||!(o.showspikes===o._showspikes);(l||t&&s)&&(o._showSpikeInitial=o.showspikes,r=!0),\"on\"!==a||o.showspikes||(a=\"off\")}return e._fullLayout._cartesianSpikesEnabled=a,r},q.autoBin=function(e,t,n,r,i,o){var s,u=l.aggNums(Math.min,null,e),c=l.aggNums(Math.max,null,e);if(\"category\"===t.type||\"multicategory\"===t.type)return{start:u-.5,end:c+.5,size:Math.max(1,Math.round(o)||1),_dataSpan:c-u};if(i||(i=t.calendar),s=\"log\"===t.type?{type:\"linear\",range:[u,c]}:{type:t.type,range:l.simpleMap([u,c],t.c2r,0,i),calendar:i},q.setConvert(s),o=o&&h.dtick(o,s.type))s.dtick=o,s.tick0=h.tick0(void 0,s.type,i);else{var f;if(n)f=(c-u)/n;else{var d=l.distinctVals(e),p=Math.pow(10,Math.floor(Math.log(d.minDiff)/Math.LN10)),m=p*l.roundUp(d.minDiff/p,[.9,1.9,4.9,9.9],!0);f=Math.max(m,2*l.stdev(e)/Math.pow(e.length,r?.25:.4)),a(f)||(f=1)}q.autoTicks(s,f)}var g,y=s.dtick,v=q.tickIncrement(q.tickFirst(s),y,\"reverse\",i);if(\"number\"==typeof y)g=(v=function(e,t,n,r,i){var o=0,l=0,s=0,u=0;function c(t){return(1+100*(t-e)/n.dtick)%100<2}for(var f=0;f<t.length;f++)t[f]%1==0?s++:a(t[f])||u++,c(t[f])&&o++,c(t[f]+n.dtick/2)&&l++;var d=t.length-u;if(s===d&&\"date\"!==n.type)n.dtick<1?e=r-.5*n.dtick:(e-=.5)+n.dtick<r&&(e+=n.dtick);else if(l<.1*d&&(o>.3*d||c(r)||c(i))){var p=n.dtick/2;e+=e+p<r?p:-p}return e}(v,e,s,u,c))+(1+Math.floor((c-v)/y))*y;else for(\"M\"===s.dtick.charAt(0)&&(v=function(e,t,n,r,a){var i=l.findExactDates(t,a);if(i.exactDays>.8){var o=Number(n.substr(1));i.exactYears>.8&&o%12==0?e=q.tickIncrement(e,\"M6\",\"reverse\")+1.5*S:i.exactMonths>.8?e=q.tickIncrement(e,\"M1\",\"reverse\")+15.5*S:e-=E;var s=q.tickIncrement(e,n);if(s<=r)return s}return e}(v,e,y,u,i)),g=v;g<=c;)g=q.tickIncrement(g,y,!1,i);return{start:t.c2r(v,0,i),end:t.c2r(g,0,i),size:y,_dataSpan:c-u}},q.prepTicks=function(e,t){var n=l.simpleMap(e.range,e.r2l,void 0,void 0,t);if(e._dtickInit=e.dtick,e._tick0Init=e.tick0,\"auto\"===e.tickmode||!e.dtick){var r,i=e.nticks;i||(\"category\"===e.type||\"multicategory\"===e.type?(r=e.tickfont?l.bigFont(e.tickfont.size||12):15,i=e._length/r):(r=\"y\"===e._id.charAt(0)?40:80,i=l.constrain(e._length/r,4,9)+1),\"radialaxis\"===e._name&&(i*=2)),\"array\"===e.tickmode&&(i*=100),e._roughDTick=Math.abs(n[1]-n[0])/i,q.autoTicks(e,e._roughDTick),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}\"period\"===e.ticklabelmode&&function(e){var t;function n(){return!(a(e.dtick)||\"M\"!==e.dtick.charAt(0))}var r=n(),i=q.getTickFormat(e);if(i){var o=e._dtickInit!==e.dtick;/%[fLQsSMX]/.test(i)||(/%[HI]/.test(i)?(t=C,o&&!r&&e.dtick<C&&(e.dtick=C)):/%p/.test(i)?(t=E,o&&!r&&e.dtick<E&&(e.dtick=E)):/%[Aadejuwx]/.test(i)?(t=S,o&&!r&&e.dtick<S&&(e.dtick=S)):/%[UVW]/.test(i)?(t=M,o&&!r&&e.dtick<M&&(e.dtick=M)):/%[Bbm]/.test(i)?(t=k,o&&(r?J(e.dtick)<1:e.dtick<T)&&(e.dtick=\"M1\")):/%[q]/.test(i)?(t=x,o&&(r?J(e.dtick)<3:e.dtick<w)&&(e.dtick=\"M3\")):/%[Yy]/.test(i)&&(t=y,o&&(r?J(e.dtick)<12:e.dtick<v)&&(e.dtick=\"M12\")))}(r=n())&&e.tick0===e._dowTick0&&(e.tick0=e._rawTick0),e._definedDelta=t}(e),e.tick0||(e.tick0=\"date\"===e.type?\"2000-01-01\":0),\"date\"===e.type&&e.dtick<.1&&(e.dtick=.1),le(e)},q.calcTicks=function(e,t){q.prepTicks(e,t);var n=l.simpleMap(e.range,e.r2l,void 0,void 0,t);if(\"array\"===e.tickmode)return function(e){var t=e.tickvals,n=e.ticktext,r=new Array(t.length),a=G(l.simpleMap(e.range,e.r2l)),i=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]),s=0;Array.isArray(n)||(n=[]);var u=\"category\"===e.type?e.d2l_noadd:e.d2l;\"log\"===e.type&&\"L\"!==String(e.dtick).charAt(0)&&(e.dtick=\"L\"+Math.pow(10,Math.floor(Math.min(e.range[0],e.range[1]))-1));for(var c=0;c<t.length;c++){var f=u(t[c]);f>i&&f<o&&(void 0===n[c]?r[s]=q.tickText(e,f):r[s]=se(e,f,String(n[c])),s++)}return s<t.length&&r.splice(s,t.length-s),e.rangebreaks&&(r=r.filter((function(t){return e.maskBreaks(t.x)!==P}))),r}(e);var r=G(n),i=r[0],o=r[1],s=n[1]<n[0],u=Math.min(n[0],n[1]),c=Math.max(n[0],n[1]),f=a(e.dtick),d=\"log\"===e.type&&!(f||\"L\"===e.dtick.charAt(0)),p=\"period\"===e.ticklabelmode;if(e._tmin=q.tickFirst(e,t),e._tmin<i!==s)return[];\"category\"!==e.type&&\"multicategory\"!==e.type||(o=s?Math.max(-.5,o):Math.min(e._categories.length-.5,o));var h=e._tmin;e.rangebreaks&&e._tick0Init!==e.tick0&&(h=Se(h,e),s||(h=q.tickIncrement(h,e.dtick,!s,e.calendar))),p&&(h=q.tickIncrement(h,e.dtick,!s,e.calendar));var m,O=e.ticklabelstep,A=Math.max(1e3,e._length||0),D=[],R=null;f?m=e.dtick:\"date\"===e.type?\"string\"==typeof e.dtick&&\"M\"===e.dtick.charAt(0)&&(m=k*e.dtick.substring(1)):m=e._roughDTick;for(var L,I,j=Math.round((e.r2l(h)-e.r2l(e.tick0))/m)-1;s?h>=o:h<=o;h=q.tickIncrement(h,e.dtick,s,e.calendar)){if(j++,e.rangebreaks&&!s){if(h<i)continue;if(e.maskBreaks(h)===P&&Se(h,e)>=c)break}if(D.length>A||h===R)break;R=h;var N=!1;d&&h!==(0|h)&&(N=!0);var z={minor:N,value:h};O>1&&j%O&&(z.skipLabel=!0),D.push(z)}if(p&&function(e,t,n){for(var r=0;r<e.length;r++){var a=e[r].value,i=r,o=r+1;r<e.length-1?(i=r,o=r+1):r>0?(i=r-1,o=r):(i=r,o=r);var l,s=e[i].value,u=e[o].value,c=Math.abs(u-s),f=n||c,d=0;f>=v?d=c>=v&&c<=g?c:y:n===x&&f>=w?d=c>=w&&c<=b?c:x:f>=T?d=c>=T&&c<=_?c:k:n===M&&f>=M?d=M:f>=S?d=S:n===E&&f>=E?d=E:n===C&&f>=C&&(d=C),d>=c&&(d=c,l=!0);var p=a+d;if(t.rangebreaks&&d>0){for(var h=0,m=0;m<84;m++){var O=(m+.5)/84;t.maskBreaks(a*(1-O)+O*p)!==P&&h++}(d*=h/84)||(e[r].drop=!0),l&&c>M&&(d=c)}(d>0||0===r)&&(e[r].periodX=a+d/2)}}(D,e,e._definedDelta),e.rangebreaks){var F=\"y\"===e._id.charAt(0),Z=1;\"auto\"===e.tickmode&&(Z=e.tickfont?e.tickfont.size:12);var B=NaN;for(L=D.length-1;L>-1;L--)if(D[L].drop)D.splice(L,1);else{D[L].value=Se(D[L].value,e);var H=e.c2p(D[L].value);(F?B>H-Z:B<H+Z)?D.splice(s?L+1:L,1):B=H}}Me(e)&&360===Math.abs(n[1]-n[0])&&D.pop(),e._tmax=(D[D.length-1]||{}).value,e._prevDateHead=\"\",e._inCalcTicks=!0;var U,W,V=function(t){t.text=\" \",e._prevDateHead=I},Y=[];for(L=0;L<D.length;L++){var $=D[L].minor,X=D[L].value;I=e._prevDateHead,U=q.tickText(e,X,!1,$),void 0!==(W=D[L].periodX)&&(U.periodX=W,(W>c||W<u)&&(W>c&&(U.periodX=c),W<u&&(U.periodX=u),V(U))),D[L].skipLabel&&V(U),Y.push(U)}return e._inCalcTicks=!1,Y};var Q=[2,5,10],ee=[1,2,3,6,12],te=[1,2,5,10,15,30],ne=[1,2,3,7,14],re=[-.046,0,.301,.477,.602,.699,.778,.845,.903,.954,1],ae=[-.301,0,.301,.699,1],ie=[15,30,45,90,180];function oe(e,t,n){return t*l.roundUp(e/t,n)}function le(e){var t=e.dtick;if(e._tickexponent=0,a(t)||\"string\"==typeof t||(t=1),\"category\"!==e.type&&\"multicategory\"!==e.type||(e._tickround=null),\"date\"===e.type){var n=e.r2l(e.tick0),r=e.l2r(n).replace(/(^-|i)/g,\"\"),i=r.length;if(\"M\"===String(t).charAt(0))i>10||\"01-01\"!==r.substr(5)?e._tickround=\"d\":e._tickround=+t.substr(1)%12==0?\"y\":\"m\";else if(t>=S&&i<=10||t>=15*S)e._tickround=\"d\";else if(t>=O&&i<=16||t>=C)e._tickround=\"M\";else if(t>=A&&i<=19||t>=O)e._tickround=\"S\";else{var o=e.l2r(n+t).replace(/^-/,\"\").length;e._tickround=Math.max(i,o)-20,e._tickround<0&&(e._tickround=4)}}else if(a(t)||\"L\"===t.charAt(0)){var l=e.range.map(e.r2d||Number);a(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var s=Math.max(Math.abs(l[0]),Math.abs(l[1])),u=Math.floor(Math.log(s)/Math.LN10+.01),c=void 0===e.minexponent?3:e.minexponent;Math.abs(u)>c&&(ce(e.exponentformat)&&!fe(u)?e._tickexponent=3*Math.round((u-1)/3):e._tickexponent=u)}else e._tickround=null}function se(e,t,n){var r=e.tickfont||{};return{x:t,dx:0,dy:0,text:n||\"\",fontSize:r.size,font:r.family,fontColor:r.color}}q.autoTicks=function(e,t){var n;function r(e){return Math.pow(e,Math.floor(Math.log(t)/Math.LN10))}if(\"date\"===e.type){e.tick0=l.dateTick0(e.calendar,0);var i=2*t;if(i>y)t/=y,n=r(10),e.dtick=\"M\"+12*oe(t,n,Q);else if(i>k)t/=k,e.dtick=\"M\"+oe(t,1,ee);else if(i>S){e.dtick=oe(t,S,e._hasDayOfWeekBreaks?[1,2,7,14]:ne);var o=q.getTickFormat(e),s=\"period\"===e.ticklabelmode;s&&(e._rawTick0=e.tick0),/%[uVW]/.test(o)?e.tick0=l.dateTick0(e.calendar,2):e.tick0=l.dateTick0(e.calendar,1),s&&(e._dowTick0=e.tick0)}else i>C?e.dtick=oe(t,C,ee):i>O?e.dtick=oe(t,O,te):i>A?e.dtick=oe(t,A,te):(n=r(10),e.dtick=oe(t,n,Q))}else if(\"log\"===e.type){e.tick0=0;var u=l.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(u[1]-u[0])<1){var c=1.5*Math.abs((u[1]-u[0])/t);t=Math.abs(Math.pow(10,u[1])-Math.pow(10,u[0]))/c,n=r(10),e.dtick=\"L\"+oe(t,n,Q)}else e.dtick=t>.3?\"D2\":\"D1\"}else\"category\"===e.type||\"multicategory\"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):Me(e)?(e.tick0=0,n=1,e.dtick=oe(t,n,ie)):(e.tick0=0,n=r(10),e.dtick=oe(t,n,Q));if(0===e.dtick&&(e.dtick=1),!a(e.dtick)&&\"string\"!=typeof e.dtick){var f=e.dtick;throw e.dtick=1,\"ax.dtick error: \"+String(f)}},q.tickIncrement=function(e,t,n,i){var o=n?-1:1;if(a(t))return l.increment(e,o*t);var s=t.charAt(0),u=o*Number(t.substr(1));if(\"M\"===s)return l.incrementMonth(e,u,i);if(\"L\"===s)return Math.log(Math.pow(10,e)+u)/Math.LN10;if(\"D\"===s){var c=\"D2\"===t?ae:re,f=e+.01*o,d=l.roundUp(l.mod(f,1),c,n);return Math.floor(f)+Math.log(r.round(Math.pow(10,d),1))/Math.LN10}throw\"unrecognized dtick \"+String(t)},q.tickFirst=function(e,t){var n=e.r2l||Number,i=l.simpleMap(e.range,n,void 0,void 0,t),o=i[1]<i[0],s=o?Math.floor:Math.ceil,u=G(i)[0],c=e.dtick,f=n(e.tick0);if(a(c)){var d=s((u-f)/c)*c+f;return\"category\"!==e.type&&\"multicategory\"!==e.type||(d=l.constrain(d,0,e._categories.length-1)),d}var p=c.charAt(0),h=Number(c.substr(1));if(\"M\"===p){for(var m,g,y,v=0,b=f;v<10;){if(((m=q.tickIncrement(b,c,o,e.calendar))-u)*(b-u)<=0)return o?Math.min(b,m):Math.max(b,m);g=(u-(b+m)/2)/(m-b),y=p+(Math.abs(Math.round(g))||1)*h,b=q.tickIncrement(b,y,g<0?!o:o,e.calendar),v++}return l.error(\"tickFirst did not converge\",e),b}if(\"L\"===p)return Math.log(s((Math.pow(10,u)-f)/h)*h+f)/Math.LN10;if(\"D\"===p){var x=\"D2\"===c?ae:re,w=l.roundUp(l.mod(u,1),x,o);return Math.floor(u)+Math.log(r.round(Math.pow(10,w),1))/Math.LN10}throw\"unrecognized dtick \"+String(c)},q.tickText=function(e,t,n,r){var i,o=se(e,t),s=\"array\"===e.tickmode,u=n||s,c=e.type,f=\"category\"===c?e.d2l_noadd:e.d2l;if(s&&Array.isArray(e.ticktext)){var d=l.simpleMap(e.range,e.r2l),p=(Math.abs(d[1]-d[0])-(e._lBreaks||0))/1e4;for(i=0;i<e.ticktext.length&&!(Math.abs(t-f(e.tickvals[i]))<p);i++);if(i<e.ticktext.length)return o.text=String(e.ticktext[i]),o}function h(r){if(void 0===r)return!0;if(n)return\"none\"===r;var a={first:e._tmin,last:e._tmax}[r];return\"all\"!==r&&t!==a}var m=n?\"never\":\"none\"!==e.exponentformat&&h(e.showexponent)?\"hide\":\"\";if(\"date\"===c?function(e,t,n,r){var i=e._tickround,o=n&&e.hoverformat||q.getTickFormat(e);r&&(i=a(i)?4:{y:\"m\",m:\"d\",d:\"M\",M:\"S\",S:4}[i]);var s,u=l.formatDate(t.x,o,i,e._dateFormat,e.calendar,e._extraFormat),c=u.indexOf(\"\\n\");if(-1!==c&&(s=u.substr(c+1),u=u.substr(0,c)),r&&(\"00:00:00\"===u||\"00:00\"===u?(u=s,s=\"\"):8===u.length&&(u=u.replace(/:00$/,\"\"))),s)if(n)\"d\"===i?u+=\", \"+s:u=s+(u?\", \"+u:\"\");else if(e._inCalcTicks&&e._prevDateHead===s){var f=Ee(e),d=e._trueSide||e.side;(!f&&\"top\"===d||f&&\"bottom\"===d)&&(u+=\"<br> \")}else e._prevDateHead=s,u+=\"<br>\"+s;t.text=u}(e,o,n,u):\"log\"===c?function(e,t,n,r,i){var o=e.dtick,s=t.x,u=e.tickformat,c=\"string\"==typeof o&&o.charAt(0);if(\"never\"===i&&(i=\"\"),r&&\"L\"!==c&&(o=\"L3\",c=\"L\"),u||\"L\"===c)t.text=de(Math.pow(10,s),e,i,r);else if(a(o)||\"D\"===c&&l.mod(s+.01,1)<.1){var f=Math.round(s),d=Math.abs(f),p=e.exponentformat;\"power\"===p||ce(p)&&fe(f)?(t.text=0===f?1:1===f?\"10\":\"10<sup>\"+(f>1?\"\":D)+d+\"</sup>\",t.fontSize*=1.25):(\"e\"===p||\"E\"===p)&&d>2?t.text=\"1\"+p+(f>0?\"+\":D)+d:(t.text=de(Math.pow(10,s),e,\"\",\"fakehover\"),\"D1\"===o&&\"y\"===e._id.charAt(0)&&(t.dy-=t.fontSize/6))}else{if(\"D\"!==c)throw\"unrecognized dtick \"+String(o);t.text=String(Math.round(Math.pow(10,l.mod(s,1)))),t.fontSize*=.75}if(\"D1\"===e.dtick){var h=String(t.text).charAt(0);\"0\"!==h&&\"1\"!==h||(\"y\"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(s<0?.5:.25)))}}(e,o,0,u,m):\"category\"===c?function(e,t){var n=e._categories[Math.round(t.x)];void 0===n&&(n=\"\"),t.text=String(n)}(e,o):\"multicategory\"===c?function(e,t,n){var r=Math.round(t.x),a=e._categories[r]||[],i=void 0===a[1]?\"\":String(a[1]),o=void 0===a[0]?\"\":String(a[0]);n?t.text=o+\" - \"+i:(t.text=i,t.text2=o)}(e,o,n):Me(e)?function(e,t,n,r,a){if(\"radians\"!==e.thetaunit||n)t.text=de(t.x,e,a,r);else{var i=t.x/180;if(0===i)t.text=\"0\";else{var o=function(e){function t(e,t){return Math.abs(e-t)<=1e-6}var n=function(e){for(var n=1;!t(Math.round(e*n)/n,e);)n*=10;return n}(e),r=e*n,a=Math.abs(function e(n,r){return t(r,0)?n:e(r,n%r)}(r,n));return[Math.round(r/a),Math.round(n/a)]}(i);if(o[1]>=100)t.text=de(l.deg2rad(t.x),e,a,r);else{var s=t.x<0;1===o[1]?1===o[0]?t.text=\"π\":t.text=o[0]+\"π\":t.text=[\"<sup>\",o[0],\"</sup>\",\"⁄\",\"<sub>\",o[1],\"</sub>\",\"π\"].join(\"\"),s&&(t.text=D+t.text)}}}}(e,o,n,u,m):function(e,t,n,r,a){\"never\"===a?a=\"\":\"all\"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(a=\"hide\"),t.text=de(t.x,e,a,r)}(e,o,0,u,m),r||(e.tickprefix&&!h(e.showtickprefix)&&(o.text=e.tickprefix+o.text),e.ticksuffix&&!h(e.showticksuffix)&&(o.text+=e.ticksuffix)),\"boundaries\"===e.tickson||e.showdividers){var g=function(t){var n=e.l2p(t);return n>=0&&n<=e._length?t:null};o.xbnd=[g(o.x-.5),g(o.x+e.dtick-.5)]}return o},q.hoverLabelText=function(e,t,n){n&&(e=l.extendFlat({},e,{hoverformat:n}));var r=Array.isArray(t)?t[0]:t,a=Array.isArray(t)?t[1]:void 0;if(void 0!==a&&a!==r)return q.hoverLabelText(e,r,n)+\" - \"+q.hoverLabelText(e,a,n);var i=\"log\"===e.type&&r<=0,o=q.tickText(e,e.c2l(i?-r:r),\"hover\").text;return i?0===r?\"0\":D+o:o};var ue=[\"f\",\"p\",\"n\",\"μ\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\"];function ce(e){return\"SI\"===e||\"B\"===e}function fe(e){return e>14||e<-15}function de(e,t,n,r){var i=e<0,o=t._tickround,s=n||t.exponentformat||\"B\",u=t._tickexponent,c=q.getTickFormat(t),f=t.separatethousands;if(r){var d={exponentformat:s,minexponent:t.minexponent,dtick:\"none\"===t.showexponent?t.dtick:a(e)&&Math.abs(e)||1,range:\"none\"===t.showexponent?t.range.map(t.r2d):[0,e||1]};le(d),o=(Number(d._tickround)||0)+4,u=d._tickexponent,t.hoverformat&&(c=t.hoverformat)}if(c)return t._numFormat(c)(e).replace(/-/g,D);var p,h=Math.pow(10,-o)/2;if(\"none\"===s&&(u=0),(e=Math.abs(e))<h)e=\"0\",i=!1;else{if(e+=h,u&&(e*=Math.pow(10,-u),o+=u),0===o)e=String(Math.floor(e));else if(o<0){e=(e=String(Math.round(e))).substr(0,e.length+o);for(var m=o;m<0;m++)e+=\"0\"}else{var g=(e=String(e)).indexOf(\".\")+1;g&&(e=e.substr(0,g+o).replace(/\\.?0+$/,\"\"))}e=l.numSeparate(e,t._separators,f)}return u&&\"hide\"!==s&&(ce(s)&&fe(u)&&(s=\"power\"),p=u<0?D+-u:\"power\"!==s?\"+\"+u:String(u),\"e\"===s||\"E\"===s?e+=s+p:\"power\"===s?e+=\"×10<sup>\"+p+\"</sup>\":\"B\"===s&&9===u?e+=\"B\":ce(s)&&(e+=ue[u/3+5])),i?D+e:e}function pe(e,t){for(var n=[],r={},a=0;a<t.length;a++){var i=t[a];r[i.text2]?r[i.text2].push(i.x):r[i.text2]=[i.x]}for(var o in r)n.push(se(e,l.interp(r[o],.5),o));return n}function he(e){return void 0!==e.periodX?e.periodX:e.x}function me(e){return[e.text,e.x,e.axInfo,e.font,e.fontSize,e.fontColor].join(\"_\")}function ge(e){var t=e.title.font.size,n=(e.title.text.match(u.BR_TAG_ALL)||[]).length;return e.title.hasOwnProperty(\"standoff\")?n?t*(F+n*Z):t*F:n?t*(n+1)*Z:t}function ye(e,t){var n=e.l2p(t);return n>1&&n<e._length-1}function ve(e){var t=r.select(e),n=t.select(\".text-math-group\");return n.empty()?t.select(\"text\"):n}function be(e){return e._id+\".automargin\"}function xe(e){return be(e)+\".mirror\"}function we(e){return e._id+\".rangeslider\"}function _e(e,t){for(var n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n])}function ke(e,t,n){var r,a,i=[],o=[],s=e.layout;for(r=0;r<t.length;r++)i.push(q.getFromId(e,t[r]));for(r=0;r<n.length;r++)o.push(q.getFromId(e,n[r]));var u=Object.keys(p),c=[\"anchor\",\"domain\",\"overlaying\",\"position\",\"side\",\"tickangle\",\"editType\"],f=[\"linear\",\"log\"];for(r=0;r<u.length;r++){var d=u[r],h=i[0][d],m=o[0][d],g=!0,y=!1,v=!1;if(\"_\"!==d.charAt(0)&&\"function\"!=typeof h&&-1===c.indexOf(d)){for(a=1;a<i.length&&g;a++){var b=i[a][d];\"type\"===d&&-1!==f.indexOf(h)&&-1!==f.indexOf(b)&&h!==b?y=!0:b!==h&&(g=!1)}for(a=1;a<o.length&&g;a++){var x=o[a][d];\"type\"===d&&-1!==f.indexOf(m)&&-1!==f.indexOf(x)&&m!==x?v=!0:o[a][d]!==m&&(g=!1)}g&&(y&&(s[i[0]._name].type=\"linear\"),v&&(s[o[0]._name].type=\"linear\"),Te(s,d,i,o,e._fullLayout._dfltTitle))}}for(r=0;r<e._fullLayout.annotations.length;r++){var w=e._fullLayout.annotations[r];-1!==t.indexOf(w.xref)&&-1!==n.indexOf(w.yref)&&l.swapAttrs(s.annotations[r],[\"?\"])}}function Te(e,t,n,r,a){var i,o=l.nestedProperty,s=o(e[n[0]._name],t).get(),u=o(e[r[0]._name],t).get();for(\"title\"===t&&(s&&s.text===a.x&&(s.text=a.y),u&&u.text===a.y&&(u.text=a.x)),i=0;i<n.length;i++)o(e,n[i]._name+\".\"+t).set(u);for(i=0;i<r.length;i++)o(e,r[i]._name+\".\"+t).set(s)}function Me(e){return\"angularaxis\"===e._id}function Se(e,t){for(var n=t._rangebreaks.length,r=0;r<n;r++){var a=t._rangebreaks[r];if(e>=a.min&&e<a.max)return a.max}return e}function Ee(e){return-1!==(e.ticklabelposition||\"\").indexOf(\"inside\")}function Ce(e,t){Ee(e._anchorAxis||{})&&e._hideCounterAxisInsideTickLabels&&e._hideCounterAxisInsideTickLabels(t)}q.getTickFormat=function(e){var t,n,r,a,i,o,l,s;function u(e){return\"string\"!=typeof e?e:Number(e.replace(\"M\",\"\"))*k}function c(e,t){var n=[\"L\",\"D\"];if(typeof e==typeof t){if(\"number\"==typeof e)return e-t;var r=n.indexOf(e.charAt(0)),a=n.indexOf(t.charAt(0));return r===a?Number(e.replace(/(L|D)/g,\"\"))-Number(t.replace(/(L|D)/g,\"\")):r-a}return\"number\"==typeof e?1:-1}function f(e,t){var n=null===t[0],r=null===t[1],a=c(e,t[0])>=0,i=c(e,t[1])<=0;return(n||a)&&(r||i)}if(e.tickformatstops&&e.tickformatstops.length>0)switch(e.type){case\"date\":case\"linear\":for(t=0;t<e.tickformatstops.length;t++)if((r=e.tickformatstops[t]).enabled&&(a=e.dtick,o=void 0,l=void 0,s=void 0,o=u||function(e){return e},l=(i=r.dtickrange)[0],s=i[1],(!l&&\"number\"!=typeof l||o(l)<=o(a))&&(!s&&\"number\"!=typeof s||o(s)>=o(a)))){n=r;break}break;case\"log\":for(t=0;t<e.tickformatstops.length;t++)if((r=e.tickformatstops[t]).enabled&&f(e.dtick,r.dtickrange)){n=r;break}}return n?n.value:e.tickformat},q.getSubplots=function(e,t){var n=e._fullLayout._subplots,r=n.cartesian.concat(n.gl2d||[]),a=t?q.findSubplotsWithAxis(r,t):r;return a.sort((function(e,t){var n=e.substr(1).split(\"y\"),r=t.substr(1).split(\"y\");return n[0]===r[0]?+n[1]-+r[1]:+n[0]-+r[0]})),a},q.findSubplotsWithAxis=function(e,t){for(var n=new RegExp(\"x\"===t._id.charAt(0)?\"^\"+t._id+\"y\":t._id+\"$\"),r=[],a=0;a<e.length;a++){var i=e[a];n.test(i)&&r.push(i)}return r},q.makeClipPaths=function(e){var t=e._fullLayout;if(!t._hasOnlyLargeSploms){var n,a,i={_offset:0,_length:t.width,_id:\"\"},o={_offset:0,_length:t.height,_id:\"\"},l=q.list(e,\"x\",!0),s=q.list(e,\"y\",!0),u=[];for(n=0;n<l.length;n++)for(u.push({x:l[n],y:o}),a=0;a<s.length;a++)0===n&&u.push({x:i,y:s[a]}),u.push({x:l[n],y:s[a]});var c=t._clips.selectAll(\".axesclip\").data(u,(function(e){return e.x._id+e.y._id}));c.enter().append(\"clipPath\").classed(\"axesclip\",!0).attr(\"id\",(function(e){return\"clip\"+t._uid+e.x._id+e.y._id})).append(\"rect\"),c.exit().remove(),c.each((function(e){r.select(this).select(\"rect\").attr({x:e.x._offset||0,y:e.y._offset||0,width:e.x._length||1,height:e.y._length||1})}))}},q.draw=function(e,t,n){var r=e._fullLayout;\"redraw\"===t&&r._paper.selectAll(\"g.subplot\").each((function(e){var t=e[0],n=r._plots[t];if(n){var a=n.xaxis,i=n.yaxis;n.xaxislayer.selectAll(\".\"+a._id+\"tick\").remove(),n.yaxislayer.selectAll(\".\"+i._id+\"tick\").remove(),n.xaxislayer.selectAll(\".\"+a._id+\"tick2\").remove(),n.yaxislayer.selectAll(\".\"+i._id+\"tick2\").remove(),n.xaxislayer.selectAll(\".\"+a._id+\"divider\").remove(),n.yaxislayer.selectAll(\".\"+i._id+\"divider\").remove(),n.gridlayer&&n.gridlayer.selectAll(\"path\").remove(),n.zerolinelayer&&n.zerolinelayer.selectAll(\"path\").remove(),r._infolayer.select(\".g-\"+a._id+\"title\").remove(),r._infolayer.select(\".g-\"+i._id+\"title\").remove()}}));var a=t&&\"redraw\"!==t?t:q.listIds(e);return l.syncOrAsync(a.map((function(t){return function(){if(t){var r=q.getFromId(e,t),a=q.drawOne(e,r,n);return r._r=r.range.slice(),r._rl=l.simpleMap(r._r,r.r2l),a}}})))},q.drawOne=function(e,t,n){var r,a,s;n=n||{},t.setScale();var u=e._fullLayout,p=t._id,h=p.charAt(0),m=q.counterLetter(p),g=u._plots[t._mainSubplot];if(g){var y=g[h+\"axislayer\"],v=t._mainLinePosition,b=t._mainMirrorPosition,x=t._vals=q.calcTicks(t),w=[t.mirror,v,b].join(\"_\");for(r=0;r<x.length;r++)x[r].axInfo=w;t._selections={},t._tickAngles&&(t._prevTickAngles=t._tickAngles),t._tickAngles={},t._depth=null;var _={};if(t.visible){var k,T,M=q.makeTransTickFn(t),S=q.makeTransTickLabelFn(t),E=\"inside\"===t.ticks,C=\"outside\"===t.ticks;if(\"boundaries\"===t.tickson){var O=function(e,t){var n,r=[],a=function(e,t){var n=e.xbnd[t];null!==n&&r.push(l.extendFlat({},e,{x:n}))};if(t.length){for(n=0;n<t.length;n++)a(t[n],0);a(t[n-1],1)}return r}(0,x);T=q.clipEnds(t,O),k=E?T:O}else T=q.clipEnds(t,x),k=E&&\"period\"!==t.ticklabelmode?T:x;var A=t._gridVals=T,D=function(e,t){var n,r,a=[],i=t.length&&t[t.length-1].x<t[0].x,o=function(e,t){var n=e.xbnd[t];null!==n&&a.push(l.extendFlat({},e,{x:n}))};if(e.showdividers&&t.length){for(n=0;n<t.length;n++){var s=t[n];s.text2!==r&&o(s,i?1:0),r=s.text2}o(t[n-1],i?0:1)}return a}(t,x);if(!u._hasOnlyLargeSploms){var P=t._subplotsWith,R={};for(r=0;r<P.length;r++){a=P[r];var L=(s=u._plots[a])[m+\"axis\"],I=L._mainAxis._id;if(!R[I]){R[I]=1;var j=\"x\"===h?\"M0,\"+L._offset+\"v\"+L._length:\"M\"+L._offset+\",0h\"+L._length;q.drawGrid(e,t,{vals:A,counterAxis:L,layer:s.gridlayer.select(\".\"+p),path:j,transFn:M}),q.drawZeroLine(e,t,{counterAxis:L,layer:s.zerolinelayer,path:j,transFn:M})}}}var N=q.getTickSigns(t),z=[];if(t.ticks){var F,H,U,W=q.makeTickPath(t,v,N[2]);if(t._anchorAxis&&t.mirror&&!0!==t.mirror?(F=q.makeTickPath(t,b,N[3]),H=W+F):(F=\"\",H=W),t.showdividers&&C&&\"boundaries\"===t.tickson){var V={};for(r=0;r<D.length;r++)V[D[r].x]=1;U=function(e){return V[e.x]?F:H}}else U=H;q.drawTicks(e,t,{vals:k,layer:y,path:U,transFn:M}),\"allticks\"===t.mirror&&(z=Object.keys(t._linepositions||{}))}for(r=0;r<z.length;r++){a=z[r],s=u._plots[a];var Y=t._linepositions[a]||[],G=q.makeTickPath(t,Y[0],N[0])+q.makeTickPath(t,Y[1],N[1]);q.drawTicks(e,t,{vals:k,layer:s[h+\"axislayer\"],path:G,transFn:M})}var $=[];if($.push((function(){return q.drawLabels(e,t,{vals:x,layer:y,plotinfo:s,transFn:S,labelFns:q.makeLabelFns(t,v)})})),\"multicategory\"===t.type){var X={x:2,y:10}[h];$.push((function(){var n={x:\"height\",y:\"width\"}[h],r=J()[n]+X+(t._tickAngles[p+\"tick\"]?t.tickfont.size*Z:0);return q.drawLabels(e,t,{vals:pe(t,x),layer:y,cls:p+\"tick2\",repositionOnUpdate:!0,secondary:!0,transFn:M,labelFns:q.makeLabelFns(t,v+r*N[4])})})),$.push((function(){return t._depth=N[4]*(J(\"tick2\")[t.side]-v),function(e,t,n){var r=t._id+\"divider\",a=n.vals,i=n.layer.selectAll(\"path.\"+r).data(a,me);i.exit().remove(),i.enter().insert(\"path\",\":first-child\").classed(r,1).classed(\"crisp\",1).call(f.stroke,t.dividercolor).style(\"stroke-width\",d.crispRound(e,t.dividerwidth,1)+\"px\"),i.attr(\"transform\",n.transFn).attr(\"d\",n.path)}(e,t,{vals:D,layer:y,path:q.makeTickPath(t,v,N[4],t._depth),transFn:M})}))}else t.title.hasOwnProperty(\"standoff\")&&$.push((function(){t._depth=N[4]*(J()[t.side]-v)}));var K=o.getComponentMethod(\"rangeslider\",\"isVisible\")(t);return $.push((function(){var n,r,a,l,s=t.side.charAt(0),c=B[t.side].charAt(0),f=q.getPxPosition(e,t),d=C?t.ticklen:0;if((t.automargin||K)&&(\"multicategory\"===t.type?n=J(\"tick2\"):(n=J(),\"x\"===h&&\"b\"===s&&(t._depth=Math.max(n.width>0?n.bottom-f:0,d)))),t.automargin){r={x:0,y:0,r:0,l:0,t:0,b:0};var p=[0,1];if(\"x\"===h){if(\"b\"===s?r[s]=t._depth:(r[s]=t._depth=Math.max(n.width>0?f-n.top:0,d),p.reverse()),n.width>0){var g=n.right-(t._offset+t._length);g>0&&(r.xr=1,r.r=g);var y=t._offset-n.left;y>0&&(r.xl=0,r.l=y)}}else if(\"l\"===s?r[s]=t._depth=Math.max(n.height>0?f-n.left:0,d):(r[s]=t._depth=Math.max(n.height>0?n.right-f:0,d),p.reverse()),n.height>0){var v=n.bottom-(t._offset+t._length);v>0&&(r.yb=0,r.b=v);var b=t._offset-n.top;b>0&&(r.yt=1,r.t=b)}r[m]=\"free\"===t.anchor?t.position:t._anchorAxis.domain[p[0]],t.title.text!==u._dfltTitle[h]&&(r[s]+=ge(t)+(t.title.standoff||0)),t.mirror&&\"free\"!==t.anchor&&((a={x:0,y:0,r:0,l:0,t:0,b:0})[c]=t.linewidth,t.mirror&&!0!==t.mirror&&(a[c]+=d),!0===t.mirror||\"ticks\"===t.mirror?a[m]=t._anchorAxis.domain[p[1]]:\"all\"!==t.mirror&&\"allticks\"!==t.mirror||(a[m]=[t._counterDomainMin,t._counterDomainMax][p[1]]))}K&&(l=o.getComponentMethod(\"rangeslider\",\"autoMarginOpts\")(e,t)),i.autoMargin(e,be(t),r),i.autoMargin(e,xe(t),a),i.autoMargin(e,we(t),l)})),n.skipTitle||K&&\"bottom\"===t.side||$.push((function(){return function(e,t){var n,r=e._fullLayout,a=t._id,i=a.charAt(0),o=t.title.font.size;if(t.title.hasOwnProperty(\"standoff\"))n=t._depth+t.title.standoff+ge(t);else{var l=Ee(t);if(\"multicategory\"===t.type)n=t._depth;else{var s=1.5*o;l&&(s=.5*o,\"outside\"===t.ticks&&(s+=t.ticklen)),n=10+s+(t.linewidth?t.linewidth-1:0)}l||(n+=\"x\"===i?\"top\"===t.side?o*(t.showticklabels?1:0):o*(t.showticklabels?1.5:.5):\"right\"===t.side?o*(t.showticklabels?1:.5):o*(t.showticklabels?.5:0))}var u,f,p,h,m=q.getPxPosition(e,t);if(\"x\"===i?(f=t._offset+t._length/2,p=\"top\"===t.side?m-n:m+n):(p=t._offset+t._length/2,f=\"right\"===t.side?m+n:m-n,u={rotate:\"-90\",offset:0}),\"multicategory\"!==t.type){var g=t._selections[t._id+\"tick\"];if(h={selection:g,side:t.side},g&&g.node()&&g.node().parentNode){var y=d.getTranslate(g.node().parentNode);h.offsetLeft=y.x,h.offsetTop=y.y}t.title.hasOwnProperty(\"standoff\")&&(h.pad=0)}return c.draw(e,a+\"title\",{propContainer:t,propName:t._name+\".title.text\",placeholder:r._dfltTitle[i],avoid:h,transform:u,attributes:{x:f,y:p,\"text-anchor\":\"middle\"}})}(e,t)})),l.syncOrAsync($)}}function J(e){var n=p+(e||\"tick\");return _[n]||(_[n]=function(e,t){var n,r,a,i;return e._selections[t].size()?(n=1/0,r=-1/0,a=1/0,i=-1/0,e._selections[t].each((function(){var e=ve(this),t=d.bBox(e.node().parentNode);n=Math.min(n,t.top),r=Math.max(r,t.bottom),a=Math.min(a,t.left),i=Math.max(i,t.right)}))):(n=0,r=0,a=0,i=0),{top:n,bottom:r,left:a,right:i,height:r-n,width:i-a}}(t,n)),_[n]}},q.getTickSigns=function(e){var t=e._id.charAt(0),n={x:\"top\",y:\"right\"}[t],r=e.side===n?1:-1,a=[-1,1,r,-r];return\"inside\"!==e.ticks==(\"x\"===t)&&(a=a.map((function(e){return-e}))),e.side&&a.push({l:-1,t:-1,r:1,b:1}[e.side.charAt(0)]),a},q.makeTransTickFn=function(e){return\"x\"===e._id.charAt(0)?function(t){return s(e._offset+e.l2p(t.x),0)}:function(t){return s(0,e._offset+e.l2p(t.x))}},q.makeTransTickLabelFn=function(e){var t=function(e){var t=e.ticklabelposition||\"\",n=function(e){return-1!==t.indexOf(e)},r=n(\"top\"),a=n(\"left\"),i=n(\"right\"),o=n(\"bottom\"),l=n(\"inside\"),s=o||a||r||i;if(!s&&!l)return[0,0];var u=e.side,c=s?(e.tickwidth||0)/2:0,f=3,d=e.tickfont?e.tickfont.size:12;return(o||r)&&(c+=d*F,f+=(e.linewidth||0)/2),(a||i)&&(c+=(e.linewidth||0)/2,f+=3),l&&\"top\"===u&&(f-=d*(1-F)),(a||r)&&(c=-c),\"bottom\"!==u&&\"right\"!==u||(f=-f),[s?c:0,l?f:0]}(e),n=t[0],r=t[1];return\"x\"===e._id.charAt(0)?function(t){return s(n+e._offset+e.l2p(he(t)),r)}:function(t){return s(r,n+e._offset+e.l2p(he(t)))}},q.makeTickPath=function(e,t,n,r){r=void 0!==r?r:e.ticklen;var a=e._id.charAt(0),i=(e.linewidth||1)/2;return\"x\"===a?\"M0,\"+(t+i*n)+\"v\"+r*n:\"M\"+(t+i*n)+\",0h\"+r*n},q.makeLabelFns=function(e,t,n){var r=e.ticklabelposition||\"\",i=function(e){return-1!==r.indexOf(e)},o=i(\"top\"),s=i(\"left\"),u=i(\"right\"),c=i(\"bottom\")||s||o||u,f=i(\"inside\"),d=\"inside\"===r&&\"inside\"===e.ticks||!f&&\"outside\"===e.ticks&&\"boundaries\"!==e.tickson,p=0,h=0,m=d?e.ticklen:0;if(f?m*=-1:c&&(m=0),d&&(p+=m,n)){var g=l.deg2rad(n);p=m*Math.cos(g)+1,h=m*Math.sin(g)}e.showticklabels&&(d||e.showline)&&(p+=.2*e.tickfont.size);var y,v,b,x,w,_={labelStandoff:p+=(e.linewidth||1)/2*(f?-1:1),labelShift:h},k=0,T=e.side,M=e._id.charAt(0),S=e.tickangle;if(\"x\"===M)x=(w=!f&&\"bottom\"===T||f&&\"top\"===T)?1:-1,f&&(x*=-1),y=h*x,v=t+p*x,b=w?1:-.2,90===Math.abs(S)&&(f?b+=z:b=-90===S&&\"bottom\"===T?F:90===S&&\"top\"===T?z:.5,k=z/2*(S/90)),_.xFn=function(e){return e.dx+y+k*e.fontSize},_.yFn=function(e){return e.dy+v+e.fontSize*b},_.anchorFn=function(e,t){if(c){if(s)return\"end\";if(u)return\"start\"}return a(t)&&0!==t&&180!==t?t*x<0!==f?\"end\":\"start\":\"middle\"},_.heightFn=function(t,n,r){return n<-60||n>60?-.5*r:\"top\"===e.side!==f?-r:0};else if(\"y\"===M){if(x=(w=!f&&\"left\"===T||f&&\"right\"===T)?1:-1,f&&(x*=-1),y=p,v=h*x,b=0,f||90!==Math.abs(S)||(b=-90===S&&\"left\"===T||90===S&&\"right\"===T?F:.5),f){var E=a(S)?+S:0;if(0!==E){var C=l.deg2rad(E);k=Math.abs(Math.sin(C))*F*x,b=0}}_.xFn=function(e){return e.dx+t-(y+e.fontSize*b)*x+k*e.fontSize},_.yFn=function(e){return e.dy+v+e.fontSize*z},_.anchorFn=function(e,t){return a(t)&&90===Math.abs(t)?\"middle\":w?\"end\":\"start\"},_.heightFn=function(t,n,r){return\"right\"===e.side&&(n*=-1),n<-30?-r:n<30?-.5*r:0}}return _},q.drawTicks=function(e,t,n){n=n||{};var r=t._id+\"tick\",a=n.vals;\"period\"===t.ticklabelmode&&(a=a.slice()).shift();var i=n.layer.selectAll(\"path.\"+r).data(t.ticks?a:[],me);i.exit().remove(),i.enter().append(\"path\").classed(r,1).classed(\"ticks\",1).classed(\"crisp\",!1!==n.crisp).call(f.stroke,t.tickcolor).style(\"stroke-width\",d.crispRound(e,t.tickwidth,1)+\"px\").attr(\"d\",n.path).style(\"display\",null),Ce(t,[I]),i.attr(\"transform\",n.transFn)},q.drawGrid=function(e,t,n){n=n||{};var r=t._id+\"grid\",a=n.vals,i=n.counterAxis;if(!1===t.showgrid)a=[];else if(i&&q.shouldShowZeroLine(e,t,i))for(var o=\"array\"===t.tickmode,l=0;l<a.length;l++){var s=a[l].x;if(o?!s:Math.abs(s)<t.dtick/100){if(a=a.slice(0,l).concat(a.slice(l+1)),!o)break;l--}}var u=n.layer.selectAll(\"path.\"+r).data(a,me);u.exit().remove(),u.enter().append(\"path\").classed(r,1).classed(\"crisp\",!1!==n.crisp),t._gw=d.crispRound(e,t.gridwidth,1),u.attr(\"transform\",n.transFn).attr(\"d\",n.path).call(f.stroke,t.gridcolor||\"#ddd\").style(\"stroke-width\",t._gw+\"px\").style(\"display\",null),Ce(t,[L]),\"function\"==typeof n.path&&u.attr(\"d\",n.path)},q.drawZeroLine=function(e,t,n){n=n||n;var r=t._id+\"zl\",a=q.shouldShowZeroLine(e,t,n.counterAxis),i=n.layer.selectAll(\"path.\"+r).data(a?[{x:0,id:t._id}]:[]);i.exit().remove(),i.enter().append(\"path\").classed(r,1).classed(\"zl\",1).classed(\"crisp\",!1!==n.crisp).each((function(){n.layer.selectAll(\"path\").sort((function(e,t){return W(e.id,t.id)}))})),i.attr(\"transform\",n.transFn).attr(\"d\",n.path).call(f.stroke,t.zerolinecolor||f.defaultLine).style(\"stroke-width\",d.crispRound(e,t.zerolinewidth,t._gw||1)+\"px\").style(\"display\",null),Ce(t,[R])},q.drawLabels=function(e,t,n){n=n||{};var i=e._fullLayout,o=t._id,c=o.charAt(0),f=n.cls||o+\"tick\",p=n.vals,h=n.labelFns,m=n.secondary?0:t.tickangle,g=(t._prevTickAngles||{})[f],y=n.layer.selectAll(\"g.\"+f).data(t.showticklabels?p:[],me),v=[];function b(e,i){e.each((function(e){var o=r.select(this),l=o.select(\".text-math-group\"),c=h.anchorFn(e,i),f=n.transFn.call(o.node(),e)+(a(i)&&0!=+i?\" rotate(\"+i+\",\"+h.xFn(e)+\",\"+(h.yFn(e)-e.fontSize/2)+\")\":\"\"),p=u.lineCount(o),m=Z*e.fontSize,g=h.heightFn(e,a(i)?+i:0,(p-1)*m);if(g&&(f+=s(0,g)),l.empty()){var y=o.select(\"text\");y.attr({transform:f,\"text-anchor\":c}),y.style(\"opacity\",1),t._adjustTickLabelsOverflow&&t._adjustTickLabelsOverflow()}else{var v=d.bBox(l.node()).width*{end:-.5,start:.5}[c];l.attr(\"transform\",f+s(v,0))}}))}y.enter().append(\"g\").classed(f,1).append(\"text\").attr(\"text-anchor\",\"middle\").each((function(t){var n=r.select(this),a=e._promises.length;n.call(u.positionText,h.xFn(t),h.yFn(t)).call(d.font,t.font,t.fontSize,t.fontColor).text(t.text).call(u.convertToTspans,e),e._promises[a]?v.push(e._promises.pop().then((function(){b(n,m)}))):b(n,m)})),Ce(t,[j]),y.exit().remove(),n.repositionOnUpdate&&y.each((function(e){r.select(this).select(\"text\").call(u.positionText,h.xFn(e),h.yFn(e))})),t._adjustTickLabelsOverflow=function(){var n=t.ticklabeloverflow;if(n&&\"allow\"!==n){var a=-1!==n.indexOf(\"hide\"),o=\"x\"===t._id.charAt(0),s=0,u=o?e._fullLayout.width:e._fullLayout.height;if(-1!==n.indexOf(\"domain\")){var c=l.simpleMap(t.range,t.r2l);s=t.l2p(c[0])+t._offset,u=t.l2p(c[1])+t._offset}var f=Math.min(s,u),p=Math.max(s,u),h=t.side,m=1/0,g=-1/0;for(var v in y.each((function(e){var n=r.select(this);if(n.select(\".text-math-group\").empty()){var i=d.bBox(n.node()),l=0;o?(i.right>p||i.left<f)&&(l=1):(i.bottom>p||i.top+(t.tickangle?0:e.fontSize/4)<f)&&(l=1);var s=n.select(\"text\");l?a&&s.style(\"opacity\",0):(s.style(\"opacity\",1),m=\"bottom\"===h||\"right\"===h?Math.min(m,o?i.top:i.left):-1/0,g=\"top\"===h||\"left\"===h?Math.max(g,o?i.bottom:i.right):1/0)}})),i._plots){var b=i._plots[v];if(t._id===b.xaxis._id||t._id===b.yaxis._id){var x=o?b.yaxis:b.xaxis;x&&(x[\"_visibleLabelMin_\"+t._id]=m,x[\"_visibleLabelMax_\"+t._id]=g)}}}},t._hideCounterAxisInsideTickLabels=function(e){var n=\"x\"===t._id.charAt(0),a=[];for(var o in i._plots){var l=i._plots[o];t._id!==l.xaxis._id&&t._id!==l.yaxis._id||a.push(n?l.yaxis:l.xaxis)}a.forEach((function(n,a){n&&Ee(n)&&(e||[R,L,I,j]).forEach((function(e){var o=\"tick\"===e.K&&\"text\"===e.L&&\"period\"===t.ticklabelmode,l=i._plots[t._mainSubplot];(e.K===R.K?l.zerolinelayer.selectAll(\".\"+t._id+\"zl\"):e.K===L.K?l.gridlayer.selectAll(\".\"+t._id):l[t._id.charAt(0)+\"axislayer\"]).each((function(){var i=r.select(this);e.L&&(i=i.selectAll(e.L)),i.each((function(i){var l=t.l2p(o?he(i):i.x)+t._offset,s=r.select(this);l<t[\"_visibleLabelMax_\"+n._id]&&l>t[\"_visibleLabelMin_\"+n._id]?s.style(\"display\",\"none\"):\"tick\"!==e.K||a||s.style(\"display\",null)}))}))}))}))},b(y,g+1?g:m);var x=null;t._selections&&(t._selections[f]=y);var w=[function(){return v.length&&Promise.all(v)}];t.automargin&&i._redrawFromAutoMarginCount&&90===g?(x=90,w.push((function(){b(y,g)}))):w.push((function(){if(b(y,m),p.length&&\"x\"===c&&!a(m)&&(\"log\"!==t.type||\"D\"!==String(t.dtick).charAt(0))){x=0;var e,r=0,i=[];if(y.each((function(e){r=Math.max(r,e.fontSize);var n=t.l2p(e.x),a=ve(this),o=d.bBox(a.node());i.push({top:0,bottom:10,height:10,left:n-o.width/2,right:n+o.width/2+2,width:o.width+2})})),\"boundaries\"!==t.tickson&&!t.showdividers||n.secondary){var o=p.length,s=Math.abs((p[o-1].x-p[0].x)*t._m)/(o-1),u=t.ticklabelposition||\"\",f=function(e){return-1!==u.indexOf(e)},h=f(\"top\"),g=f(\"left\"),v=f(\"right\"),w=f(\"bottom\")||g||h||v?(t.tickwidth||0)+6:0,_=s<2.5*r||\"multicategory\"===t.type||\"realaxis\"===t._name;for(e=0;e<i.length-1;e++)if(l.bBoxIntersect(i[e],i[e+1],w)){x=_?90:30;break}}else{var k=2;for(t.ticks&&(k+=t.tickwidth/2),e=0;e<i.length;e++){var T=p[e].xbnd,M=i[e];if(null!==T[0]&&M.left-t.l2p(T[0])<k||null!==T[1]&&t.l2p(T[1])-M.right<k){x=90;break}}}x&&b(y,x)}})),t._tickAngles&&w.push((function(){t._tickAngles[f]=null===x?a(m)?m:0:x}));var _=t._anchorAxis;_&&_.autorange&&Ee(t)&&!V(i,t._id)&&(i._insideTickLabelsAutorange||(i._insideTickLabelsAutorange={}),i._insideTickLabelsAutorange[_._name+\".autorange\"]=_.autorange,w.push((function(){y.each((function(e,n){var r=ve(this);r.select(\".text-math-group\").empty()&&(t._vals[n].bb=d.bBox(r.node()))}))})));var k=l.syncOrAsync(w);return k&&k.then&&e._promises.push(k),k},q.getPxPosition=function(e,t){var n,r=e._fullLayout._size,a=t._id.charAt(0),i=t.side;return\"free\"!==t.anchor?n=t._anchorAxis:\"x\"===a?n={_offset:r.t+(1-(t.position||0))*r.h,_length:0}:\"y\"===a&&(n={_offset:r.l+(t.position||0)*r.w,_length:0}),\"top\"===i||\"left\"===i?n._offset:\"bottom\"===i||\"right\"===i?n._offset+n._length:void 0},q.shouldShowZeroLine=function(e,t,n){var r=l.simpleMap(t.range,t.r2l);return r[0]*r[1]<=0&&t.zeroline&&(\"linear\"===t.type||\"-\"===t.type)&&!(t.rangebreaks&&t.maskBreaks(0)===P)&&(ye(t,0)||!function(e,t,n,r){var a=n._mainAxis;if(a){var i=e._fullLayout,o=t._id.charAt(0),l=q.counterLetter(t._id),s=t._offset+(Math.abs(r[0])<Math.abs(r[1])==(\"x\"===o)?0:t._length),u=i._plots[n._mainSubplot];if(!(u.mainplotinfo||u).overlays.length)return p(n);for(var c=q.list(e,l),f=0;f<c.length;f++){var d=c[f];if(d._mainAxis===a&&p(d))return!0}}function p(e){if(!e.showline||!e.linewidth)return!1;var n=Math.max((e.linewidth+t.zerolinewidth)/2,1);function r(e){return\"number\"==typeof e&&Math.abs(e-s)<n}if(r(e._mainLinePosition)||r(e._mainMirrorPosition))return!0;var a=e._linepositions||{};for(var i in a)if(r(a[i][0])||r(a[i][1]))return!0}}(e,t,n,r)||function(e,t){for(var n=e._fullData,r=t._mainSubplot,a=t._id.charAt(0),i=0;i<n.length;i++){var l=n[i];if(!0===l.visible&&l.xaxis+l.yaxis===r){if(o.traceIs(l,\"bar-like\")&&l.orientation==={x:\"h\",y:\"v\"}[a])return!0;if(l.fill&&l.fill.charAt(l.fill.length-1)===a)return!0}}return!1}(e,t))},q.clipEnds=function(e,t){return t.filter((function(t){return ye(e,t.x)}))},q.allowAutoMargin=function(e){for(var t=q.list(e,\"\",!0),n=0;n<t.length;n++){var r=t[n];r.automargin&&(i.allowAutoMargin(e,be(r)),r.mirror&&i.allowAutoMargin(e,xe(r))),o.getComponentMethod(\"rangeslider\",\"isVisible\")(r)&&i.allowAutoMargin(e,we(r))}},q.swap=function(e,t){for(var n=function(e,t){var n,r,a=[];for(n=0;n<t.length;n++){var i=[],o=e._fullData[t[n]].xaxis,l=e._fullData[t[n]].yaxis;if(o&&l){for(r=0;r<a.length;r++)-1===a[r].x.indexOf(o)&&-1===a[r].y.indexOf(l)||i.push(r);if(i.length){var s,u=a[i[0]];if(i.length>1)for(r=1;r<i.length;r++)s=a[i[r]],_e(u.x,s.x),_e(u.y,s.y);_e(u.x,[o]),_e(u.y,[l])}else a.push({x:[o],y:[l]})}}return a}(e,t),r=0;r<n.length;r++)ke(e,n[r].x,n[r].y)}},{\"../../components/color\":157,\"../../components/drawing\":179,\"../../components/titles\":255,\"../../constants/alignment\":262,\"../../constants/numerical\":267,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../plots/plots\":371,\"../../registry\":378,\"./autorange\":333,\"./axis_autotype\":335,\"./axis_ids\":338,\"./clean_ticks\":340,\"./layout_attributes\":349,\"./set_convert\":356,\"@plotly/d3\":20,\"fast-isnumeric\":33}],335:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=e(\"../../constants/numerical\").BADNUM,o=a.isArrayOrTypedArray,l=a.isDateTime,s=a.cleanNumber,u=Math.round;function c(e,t){return t?r(e):\"number\"==typeof e}function f(e){return Math.max(1,(e-1)/1e3)}t.exports=function(e,t,n){var a=e,d=n.noMultiCategory;if(o(a)&&!a.length)return\"-\";if(!d&&function(e){return o(e[0])&&o(e[1])}(a))return\"multicategory\";if(d&&Array.isArray(a[0])){for(var p=[],h=0;h<a.length;h++)if(o(a[h]))for(var m=0;m<a[h].length;m++)p.push(a[h][m]);a=p}if(function(e,t){for(var n=e.length,a=f(n),i=0,o=0,s={},c=0;c<n;c+=a){var d=e[u(c)],p=String(d);s[p]||(s[p]=1,l(d,t)&&i++,r(d)&&o++)}return i>2*o}(a,t))return\"date\";var g=\"strict\"!==n.autotypenumbers;return function(e,t){for(var n=e.length,r=f(n),a=0,o=0,l={},c=0;c<n;c+=r){var d=e[u(c)],p=String(d);if(!l[p]){l[p]=1;var h=typeof d;\"boolean\"===h?o++:(t?s(d)!==i:\"number\"===h)?a++:\"string\"===h&&o++}}return o>2*a}(a,g)?\"category\":function(e,t){for(var n=e.length,r=0;r<n;r++)if(c(e[r],t))return!0;return!1}(a,g)?\"linear\":\"-\"}},{\"../../constants/numerical\":267,\"../../lib\":287,\"fast-isnumeric\":33}],336:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../registry\"),i=e(\"../../lib\"),o=e(\"../array_container_defaults\"),l=e(\"./layout_attributes\"),s=e(\"./tick_value_defaults\"),u=e(\"./tick_mark_defaults\"),c=e(\"./tick_label_defaults\"),f=e(\"./prefix_suffix_defaults\"),d=e(\"./category_order_defaults\"),p=e(\"./line_grid_defaults\"),h=e(\"./set_convert\"),m=e(\"./constants\").WEEKDAY_PATTERN,g=e(\"./constants\").HOUR_PATTERN;function y(e,t,n){function a(n,r){return i.coerce(e,t,l.rangebreaks,n,r)}if(a(\"enabled\")){var o=a(\"bounds\");if(o&&o.length>=2){var s,u,c=\"\";if(2===o.length)for(s=0;s<2;s++)if(u=b(o[s])){c=m;break}var f=a(\"pattern\",c);if(f===m)for(s=0;s<2;s++)(u=b(o[s]))&&(t.bounds[s]=o[s]=u-1);if(f)for(s=0;s<2;s++)switch(u=o[s],f){case m:if(!r(u))return void(t.enabled=!1);if((u=+u)!==Math.floor(u)||u<0||u>=7)return void(t.enabled=!1);t.bounds[s]=o[s]=u;break;case g:if(!r(u))return void(t.enabled=!1);if((u=+u)<0||u>24)return void(t.enabled=!1);t.bounds[s]=o[s]=u}if(!1===n.autorange){var d=n.range;if(d[0]<d[1]){if(o[0]<d[0]&&o[1]>d[1])return void(t.enabled=!1)}else if(o[0]>d[0]&&o[1]<d[1])return void(t.enabled=!1)}}else{var p=a(\"values\");if(!p||!p.length)return void(t.enabled=!1);a(\"dvalue\")}}}t.exports=function(e,t,n,r,g){var v,b=r.letter,x=r.font||{},w=r.splomStash||{},_=n(\"visible\",!r.visibleDflt),k=t._template||{},T=t.type||k.type||\"-\";\"date\"===T&&(a.getComponentMethod(\"calendars\",\"handleDefaults\")(e,t,\"calendar\",r.calendar),r.noTicklabelmode||(v=n(\"ticklabelmode\")));var M=\"\";r.noTicklabelposition&&\"multicategory\"!==T||(M=i.coerce(e,t,{ticklabelposition:{valType:\"enumerated\",dflt:\"outside\",values:\"period\"===v?[\"outside\",\"inside\"]:\"x\"===b?[\"outside\",\"inside\",\"outside left\",\"inside left\",\"outside right\",\"inside right\"]:[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside bottom\",\"inside bottom\"]}},\"ticklabelposition\")),r.noTicklabeloverflow||n(\"ticklabeloverflow\",-1!==M.indexOf(\"inside\")?\"hide past domain\":\"category\"===T||\"multicategory\"===T?\"allow\":\"hide past div\"),h(t,g);var S=!t.isValidRange(e.range);S&&r.reverseDflt&&(S=\"reversed\"),!n(\"autorange\",S)||\"linear\"!==T&&\"-\"!==T||n(\"rangemode\"),n(\"range\"),t.cleanRange(),d(e,t,n,r),\"category\"===T||r.noHover||n(\"hoverformat\");var E=n(\"color\"),C=E!==l.color.dflt?E:x.color,O=w.label||g._dfltTitle[b];if(f(e,t,n,T,r),!_)return t;n(\"title.text\",O),i.coerceFont(n,\"title.font\",{family:x.family,size:i.bigFont(x.size),color:C}),s(e,t,n,T),c(e,t,n,T,r),u(e,t,n,r),p(e,t,n,{dfltColor:E,bgColor:r.bgColor,showGrid:r.showGrid,attributes:l}),(t.showline||t.ticks)&&n(\"mirror\"),r.automargin&&n(\"automargin\");var A,D=\"multicategory\"===T;if(r.noTickson||\"category\"!==T&&!D||!t.ticks&&!t.showgrid||(D&&(A=\"boundaries\"),\"boundaries\"===n(\"tickson\",A)&&delete t.ticklabelposition),D&&n(\"showdividers\")&&(n(\"dividercolor\"),n(\"dividerwidth\")),\"date\"===T)if(o(e,t,{name:\"rangebreaks\",inclusionAttr:\"enabled\",handleItemDefaults:y}),t.rangebreaks.length){for(var P=0;P<t.rangebreaks.length;P++)if(t.rangebreaks[P].pattern===m){t._hasDayOfWeekBreaks=!0;break}if(h(t,g),g._has(\"scattergl\")||g._has(\"splom\"))for(var R=0;R<r.data.length;R++){var L=r.data[R];\"scattergl\"!==L.type&&\"splom\"!==L.type||(L.visible=!1,i.warn(L.type+\" traces do not work on axes with rangebreaks. Setting trace \"+L.index+\" to `visible: false`.\"))}}else delete t.rangebreaks;return t};var v={sun:1,mon:2,tue:3,wed:4,thu:5,fri:6,sat:7};function b(e){if(\"string\"==typeof e)return v[e.substr(0,3).toLowerCase()]}},{\"../../lib\":287,\"../../registry\":378,\"../array_container_defaults\":329,\"./category_order_defaults\":339,\"./constants\":341,\"./layout_attributes\":349,\"./line_grid_defaults\":351,\"./prefix_suffix_defaults\":353,\"./set_convert\":356,\"./tick_label_defaults\":358,\"./tick_mark_defaults\":359,\"./tick_value_defaults\":360,\"fast-isnumeric\":33}],337:[function(e,t,n){\"use strict\";var r=e(\"../../constants/docs\"),a=r.FORMAT_LINK,i=r.DATE_FORMAT_LINK;function o(e,t){return[\"Sets the \"+e+\" formatting rule\"+(t?\"for `\"+t+\"` \":\"\"),\"using d3 formatting mini-languages\",\"which are very similar to those in Python. For numbers, see: \"+a+\".\"].join(\" \")}function l(e,t){return o(e,t)+[\" And for dates see: \"+i+\".\",\"We add two items to d3's date formatter:\",\"*%h* for half of the year as a decimal number as well as\",\"*%{n}f* for fractional seconds\",\"with n digits. For example, *2016-10-13 09:15:23.456* with tickformat\",\"*%H~%M~%S.%2f* would display *09~15~23.46*\"].join(\" \")}t.exports={axisHoverFormat:function(e,t){return{valType:\"string\",dflt:\"\",editType:\"none\",description:(t?o:l)(\"hover text\",e)+[\"By default the values are formatted using \"+(t?\"generic number format\":\"`\"+e+\"axis.hoverformat`\")+\".\"].join(\" \")}},descriptionOnlyNumbers:o,descriptionWithDates:l}},{\"../../constants/docs\":264}],338:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"./constants\");function i(e,t){if(t&&t.length)for(var n=0;n<t.length;n++)if(t[n][e])return!0;return!1}n.id2name=function(e){if(\"string\"==typeof e&&e.match(a.AX_ID_PATTERN)){var t=e.split(\" \")[0].substr(1);return\"1\"===t&&(t=\"\"),e.charAt(0)+\"axis\"+t}},n.name2id=function(e){if(e.match(a.AX_NAME_PATTERN)){var t=e.substr(5);return\"1\"===t&&(t=\"\"),e.charAt(0)+t}},n.cleanId=function(e,t,n){var r=/( domain)$/.test(e);if(\"string\"==typeof e&&e.match(a.AX_ID_PATTERN)&&(!t||e.charAt(0)===t)&&(!r||n)){var i=e.split(\" \")[0].substr(1).replace(/^0+/,\"\");return\"1\"===i&&(i=\"\"),e.charAt(0)+i+(r&&n?\" domain\":\"\")}},n.list=function(e,t,r){var a=e._fullLayout;if(!a)return[];var i,o=n.listIds(e,t),l=new Array(o.length);for(i=0;i<o.length;i++){var s=o[i];l[i]=a[s.charAt(0)+\"axis\"+s.substr(1)]}if(!r){var u=a._subplots.gl3d||[];for(i=0;i<u.length;i++){var c=a[u[i]];t?l.push(c[t+\"axis\"]):l.push(c.xaxis,c.yaxis,c.zaxis)}}return l},n.listIds=function(e,t){var n=e._fullLayout;if(!n)return[];var r=n._subplots;return t?r[t+\"axis\"]:r.xaxis.concat(r.yaxis)},n.getFromId=function(e,t,r){var a=e._fullLayout;return t=void 0===t||\"string\"!=typeof t?t:t.replace(\" domain\",\"\"),\"x\"===r?t=t.replace(/y[0-9]*/,\"\"):\"y\"===r&&(t=t.replace(/x[0-9]*/,\"\")),a[n.id2name(t)]},n.getFromTrace=function(e,t,a){var i=e._fullLayout,o=null;if(r.traceIs(t,\"gl3d\")){var l=t.scene;\"scene\"===l.substr(0,5)&&(o=i[l][a+\"axis\"])}else o=n.getFromId(e,t[a+\"axis\"]||a);return o},n.idSort=function(e,t){var n=e.charAt(0),r=t.charAt(0);return n!==r?n>r?1:-1:+(e.substr(1)||1)-+(t.substr(1)||1)},n.ref2id=function(e){return!!/^[xyz]/.test(e)&&e.split(\" \")[0]},n.isLinked=function(e,t){return i(t,e._axisMatchGroups)||i(t,e._axisConstraintGroups)}},{\"../../registry\":378,\"./constants\":341}],339:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r){if(\"category\"===t.type){var a,i=e.categoryarray,o=Array.isArray(i)&&i.length>0;o&&(a=\"array\");var l,s=n(\"categoryorder\",a);\"array\"===s&&(l=n(\"categoryarray\")),o||\"array\"!==s||(s=t.categoryorder=\"trace\"),\"trace\"===s?t._initialCategories=[]:\"array\"===s?t._initialCategories=l.slice():(l=function(e,t){var n,r,a,i=t.dataAttr||e._id.charAt(0),o={};if(t.axData)n=t.axData;else for(n=[],r=0;r<t.data.length;r++){var l=t.data[r];l[i+\"axis\"]===e._id&&n.push(l)}for(r=0;r<n.length;r++){var s=n[r][i];for(a=0;a<s.length;a++){var u=s[a];null!=u&&(o[u]=1)}}return Object.keys(o)}(t,r).sort(),\"category ascending\"===s?t._initialCategories=l:\"category descending\"===s&&(t._initialCategories=l.reverse()))}}},{}],340:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=e(\"../../constants/numerical\"),o=i.ONEDAY,l=i.ONEWEEK;n.dtick=function(e,t){var n=\"log\"===t,a=\"date\"===t,i=\"category\"===t,l=a?o:1;if(!e)return l;if(r(e))return(e=Number(e))<=0?l:i?Math.max(1,Math.round(e)):a?Math.max(.1,e):e;if(\"string\"!=typeof e||!a&&!n)return l;var s=e.charAt(0),u=e.substr(1);return(u=r(u)?Number(u):0)<=0||!(a&&\"M\"===s&&u===Math.round(u)||n&&\"L\"===s||n&&\"D\"===s&&(1===u||2===u))?l:e},n.tick0=function(e,t,n,i){return\"date\"===t?a.cleanDate(e,a.dateTick0(n,i%l==0?1:0)):\"D1\"!==i&&\"D2\"!==i?r(e)?Number(e):0:void 0}},{\"../../constants/numerical\":267,\"../../lib\":287,\"fast-isnumeric\":33}],341:[function(e,t,n){\"use strict\";var r=e(\"../../lib/regex\").counter;t.exports={idRegex:{x:r(\"x\",\"( domain)?\"),y:r(\"y\",\"( domain)?\")},attrRegex:r(\"[xy]axis\"),xAxisMatch:r(\"xaxis\"),yAxisMatch:r(\"yaxis\"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:\"hour\",WEEKDAY_PATTERN:\"day of week\",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:\"-select\",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:[\"imagelayer\",\"heatmaplayer\",\"contourcarpetlayer\",\"contourlayer\",\"funnellayer\",\"waterfalllayer\",\"barlayer\",\"carpetlayer\",\"violinlayer\",\"boxlayer\",\"ohlclayer\",\"scattercarpetlayer\",\"scatterlayer\"],clipOnAxisFalseQuery:[\".scatterlayer\",\".barlayer\",\".funnellayer\",\".waterfalllayer\"],layerValue2layerClass:{\"above traces\":\"above\",\"below traces\":\"below\"}}},{\"../../lib/regex\":303}],342:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./autorange\"),i=e(\"./axis_ids\").id2name,o=e(\"./layout_attributes\"),l=e(\"./scale_zoom\"),s=e(\"./set_convert\"),u=e(\"../../constants/numerical\").ALMOST_EQUAL,c=e(\"../../constants/alignment\").FROM_BL;function f(e,t,n){var a=n.axIds,l=n.layoutOut,s=n.hasImage,u=l._axisConstraintGroups,c=l._axisMatchGroups,f=t._id,m=f.charAt(0),g=((l._splomAxes||{})[m]||{})[f]||{},y=t._id,v=\"x\"===y.charAt(0);function b(n,a){return r.coerce(e,t,o,n,a)}t._matchGroup=null,t._constraintGroup=null,b(\"constrain\",s?\"domain\":\"range\"),r.coerce(e,t,{constraintoward:{valType:\"enumerated\",values:v?[\"left\",\"center\",\"right\"]:[\"bottom\",\"middle\",\"top\"],dflt:v?\"center\":\"middle\"}},\"constraintoward\");var x,w,_=t.type,k=[];for(x=0;x<a.length;x++)(w=a[x])!==y&&l[i(w)].type===_&&k.push(w);var T=p(u,y);if(T){var M=[];for(x=0;x<k.length;x++)T[w=k[x]]||M.push(w);k=M}var S,E,C=k.length;C&&(e.matches||g.matches)&&(S=r.coerce(e,t,{matches:{valType:\"enumerated\",values:k,dflt:-1!==k.indexOf(g.matches)?g.matches:void 0}},\"matches\"));var O=s&&!v?t.anchor:void 0;if(C&&!S&&(e.scaleanchor||O)&&(E=r.coerce(e,t,{scaleanchor:{valType:\"enumerated\",values:k}},\"scaleanchor\",O)),S){t._matchGroup=h(c,y,S,1);var A=l[i(S)],D=d(l,t)/d(l,A);v!==(\"x\"===S.charAt(0))&&(D=(v?\"x\":\"y\")+D),h(u,y,S,D)}else e.matches&&-1!==a.indexOf(e.matches)&&r.warn(\"ignored \"+t._name+'.matches: \"'+e.matches+'\" to avoid an infinite loop');if(E){var P=b(\"scaleratio\");P||(P=t.scaleratio=1),h(u,y,E,P)}else e.scaleanchor&&-1!==a.indexOf(e.scaleanchor)&&r.warn(\"ignored \"+t._name+'.scaleanchor: \"'+e.scaleanchor+'\" to avoid either an infinite loop and possibly inconsistent scaleratios, or because this axis declares a *matches* constraint.')}function d(e,t){var n=t.domain;return n||(n=e[i(t.overlaying)].domain),n[1]-n[0]}function p(e,t){for(var n=0;n<e.length;n++)if(e[n][t])return e[n];return null}function h(e,t,n,r){var a,i,o,l,s,u=p(e,t);null===u?((u={})[t]=1,s=e.length,e.push(u)):s=e.indexOf(u);var c=Object.keys(u);for(a=0;a<e.length;a++)if(o=e[a],a!==s&&o[n]){var f=o[n];for(i=0;i<c.length;i++)o[l=c[i]]=m(f,m(r,u[l]));return void e.splice(s,1)}if(1!==r)for(i=0;i<c.length;i++){var d=c[i];u[d]=m(r,u[d])}u[n]=1}function m(e,t){var n,r,a=\"\",i=\"\";\"string\"==typeof e&&(n=(a=e.match(/^[xy]*/)[0]).length,e=+e.substr(n)),\"string\"==typeof t&&(r=(i=t.match(/^[xy]*/)[0]).length,t=+t.substr(r));var o=e*t;return n||r?n&&r&&a.charAt(0)!==i.charAt(0)?n===r?o:(n>r?a.substr(r):i.substr(n))+o:a+i+e*t:o}function g(e,t){for(var n=t._size,r=n.h/n.w,a={},i=Object.keys(e),o=0;o<i.length;o++){var l=i[o],s=e[l];if(\"string\"==typeof s){var u=s.match(/^[xy]*/)[0],c=u.length;s=+s.substr(c);for(var f=\"y\"===u.charAt(0)?r:1/r,d=0;d<c;d++)s*=f}a[l]=s}return a}function y(e,t){var n=e._inputDomain,r=c[e.constraintoward],a=n[0]+(n[1]-n[0])*r;e.domain=e._input.domain=[a+(n[0]-a)/t,a+(n[1]-a)/t],e.setScale()}n.handleDefaults=function(e,t,n){var a,o,l,u,c,d,p,h,m=n.axIds,g=n.axHasImage,y=t._axisConstraintGroups=[],v=t._axisMatchGroups=[];for(a=0;a<m.length;a++)f(c=e[u=i(m[a])],d=t[u],{axIds:m,layoutOut:t,hasImage:g[u]});function b(e,n){for(a=0;a<e.length;a++)for(l in o=e[a])t[i(l)][n]=o}for(b(v,\"_matchGroup\"),a=0;a<y.length;a++)for(l in o=y[a])if((d=t[i(l)]).fixedrange){for(var x in o){var w=i(x);!1===(e[w]||{}).fixedrange&&r.warn(\"fixedrange was specified as false for axis \"+w+\" but was overridden because another axis in its constraint group has fixedrange true\"),t[w].fixedrange=!0}break}for(a=0;a<y.length;){for(l in o=y[a]){(d=t[i(l)])._matchGroup&&Object.keys(d._matchGroup).length===Object.keys(o).length&&(y.splice(a,1),a--);break}a++}b(y,\"_constraintGroup\");var _=[\"constrain\",\"range\",\"autorange\",\"rangemode\",\"rangebreaks\",\"categoryorder\",\"categoryarray\"],k=!1,T=!1;function M(){h=d[p],\"rangebreaks\"===p&&(T=d._hasDayOfWeekBreaks)}for(a=0;a<v.length;a++){o=v[a];for(var S=0;S<_.length;S++){var E;for(l in p=_[S],h=null,o)if(c=e[u=i(l)],d=t[u],p in d){if(!d.matches&&(E=d,p in c)){M();break}null===h&&p in c&&M()}if(\"range\"===p&&h&&(k=!0),\"autorange\"===p&&null===h&&k&&(h=!1),null===h&&p in E&&(h=E[p]),null!==h)for(l in o)(d=t[i(l)])[p]=\"range\"===p?h.slice():h,\"rangebreaks\"===p&&(d._hasDayOfWeekBreaks=T,s(d,t))}}},n.enforce=function(e){var t,n,r,o,s,c,f,d,p=e._fullLayout,h=p._axisConstraintGroups||[];for(t=0;t<h.length;t++){r=g(h[t],p);var m=Object.keys(r),v=1/0,b=0,x=1/0,w={},_={},k=!1;for(n=0;n<m.length;n++)_[o=m[n]]=s=p[i(o)],s._inputDomain?s.domain=s._inputDomain.slice():s._inputDomain=s.domain.slice(),s._inputRange||(s._inputRange=s.range.slice()),s.setScale(),w[o]=c=Math.abs(s._m)/r[o],v=Math.min(v,c),\"domain\"!==s.constrain&&s._constraintShrinkable||(x=Math.min(x,c)),delete s._constraintShrinkable,b=Math.max(b,c),\"domain\"===s.constrain&&(k=!0);if(!(v>u*b)||k)for(n=0;n<m.length;n++)if(c=w[o=m[n]],f=(s=_[o]).constrain,c!==x||\"domain\"===f)if(d=c/x,\"range\"===f)l(s,d);else{var T=s._inputDomain,M=(s.domain[1]-s.domain[0])/(T[1]-T[0]),S=(s.r2l(s.range[1])-s.r2l(s.range[0]))/(s.r2l(s._inputRange[1])-s.r2l(s._inputRange[0]));if((d/=M)*S<1){s.domain=s._input.domain=T.slice(),l(s,d);continue}if(S<1&&(s.range=s._input.range=s._inputRange.slice(),d*=S),s.autorange){var E=s.r2l(s.range[0]),C=s.r2l(s.range[1]),O=(E+C)/2,A=O,D=O,P=Math.abs(C-O),R=O-P*d*1.0001,L=O+P*d*1.0001,I=a.makePadFn(p,s,0),j=a.makePadFn(p,s,1);y(s,d);var N,z,F=Math.abs(s._m),Z=a.concatExtremes(e,s),B=Z.min,q=Z.max;for(z=0;z<B.length;z++)(N=B[z].val-I(B[z])/F)>R&&N<A&&(A=N);for(z=0;z<q.length;z++)(N=q[z].val+j(q[z])/F)<L&&N>D&&(D=N);d/=(D-A)/(2*P),A=s.l2r(A),D=s.l2r(D),s.range=s._input.range=E<C?[A,D]:[D,A]}y(s,d)}}},n.getAxisGroup=function(e,t){for(var n=e._axisMatchGroups,r=0;r<n.length;r++)if(n[r][t])return\"g\"+r;return t},n.clean=function(e,t){if(t._inputDomain){for(var n=!1,r=t._id,a=e._fullLayout._axisConstraintGroups,i=0;i<a.length;i++)if(a[i][r]){n=!0;break}n&&\"domain\"===t.constrain||(t._input.domain=t.domain=t._inputDomain,delete t._inputDomain)}}},{\"../../constants/alignment\":262,\"../../constants/numerical\":267,\"../../lib\":287,\"./autorange\":333,\"./axis_ids\":338,\"./layout_attributes\":349,\"./scale_zoom\":354,\"./set_convert\":356}],343:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../lib\"),i=a.numberFormat,o=e(\"tinycolor2\"),l=e(\"has-passive-events\"),s=e(\"../../registry\"),u=a.strTranslate,c=e(\"../../lib/svg_text_utils\"),f=e(\"../../components/color\"),d=e(\"../../components/drawing\"),p=e(\"../../components/fx\"),h=e(\"./axes\"),m=e(\"../../lib/setcursor\"),g=e(\"../../components/dragelement\"),y=e(\"../../components/dragelement/helpers\"),v=y.selectingOrDrawing,b=y.freeMode,x=e(\"../../constants/alignment\").FROM_TL,w=e(\"../../lib/clear_gl_canvases\"),_=e(\"../../plot_api/subroutines\").redrawReglTraces,k=e(\"../plots\"),T=e(\"./axis_ids\").getFromId,M=e(\"./select\").prepSelect,S=e(\"./select\").clearSelect,E=e(\"./select\").selectOnClick,C=e(\"./scale_zoom\"),O=e(\"./constants\"),A=O.MINDRAG,D=O.MINZOOM,P=!0;function R(e,t,n,r){var i=a.ensureSingle(e.draglayer,t,n,(function(t){t.classed(\"drag\",!0).style({fill:\"transparent\",\"stroke-width\":0}).attr(\"data-subplot\",e.id)}));return i.call(m,r),i.node()}function L(e,t,n,a,i,o,l){var s=R(e,\"rect\",t,n);return r.select(s).call(d.setRect,a,i,o,l),s}function I(e,t){for(var n=0;n<e.length;n++)if(!e[n].fixedrange)return t;return\"\"}function j(e,t,n,r,a){for(var i=0;i<e.length;i++){var o=e[i];if(!o.fixedrange)if(o.rangebreaks){var l=\"y\"===o._id.charAt(0),s=l?1-t:t,u=l?1-n:n;r[o._name+\".range[0]\"]=o.l2r(o.p2l(s*o._length)),r[o._name+\".range[1]\"]=o.l2r(o.p2l(u*o._length))}else{var c=o._rl[0],f=o._rl[1]-c;r[o._name+\".range[0]\"]=o.l2r(c+f*t),r[o._name+\".range[1]\"]=o.l2r(c+f*n)}}if(a&&a.length){var d=(t+(1-n))/2;j(a,d,1-d,r,[])}}function N(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(!r.fixedrange)if(r.rangebreaks){var a=r._length,i=(r.p2l(0+t)-r.p2l(0)+(r.p2l(a+t)-r.p2l(a)))/2;r.range=[r.l2r(r._rl[0]-i),r.l2r(r._rl[1]-i)]}else r.range=[r.l2r(r._rl[0]-t/r._m),r.l2r(r._rl[1]-t/r._m)]}}function z(e){return 1-(e>=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function F(e,t,n,r,a){return e.append(\"path\").attr(\"class\",\"zoombox\").style({fill:t>.2?\"rgba(0,0,0,0)\":\"rgba(255,255,255,0)\",\"stroke-width\":0}).attr(\"transform\",u(n,r)).attr(\"d\",a+\"Z\")}function Z(e,t,n){return e.append(\"path\").attr(\"class\",\"zoombox-corners\").style({fill:f.background,stroke:f.defaultLine,\"stroke-width\":1,opacity:0}).attr(\"transform\",u(t,n)).attr(\"d\",\"M0,0Z\")}function B(e,t,n,r,a,i){e.attr(\"d\",r+\"M\"+n.l+\",\"+n.t+\"v\"+n.h+\"h\"+n.w+\"v-\"+n.h+\"h-\"+n.w+\"Z\"),q(e,t,a,i)}function q(e,t,n,r){n||(e.transition().style(\"fill\",r>.2?\"rgba(0,0,0,0.4)\":\"rgba(255,255,255,0.3)\").duration(200),t.transition().style(\"opacity\",1).duration(200))}function H(e){r.select(e).selectAll(\".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners\").remove()}function U(e){P&&e.data&&e._context.showTips&&(a.notifier(a._(e,\"Double-click to zoom back out\"),\"long\"),P=!1)}function W(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,D)/2);return\"M\"+(e.l-3.5)+\",\"+(e.t-.5+t)+\"h3v\"+-t+\"h\"+t+\"v-3h-\"+(t+3)+\"ZM\"+(e.r+3.5)+\",\"+(e.t-.5+t)+\"h-3v\"+-t+\"h\"+-t+\"v-3h\"+(t+3)+\"ZM\"+(e.r+3.5)+\",\"+(e.b+.5-t)+\"h-3v\"+t+\"h\"+-t+\"v3h\"+(t+3)+\"ZM\"+(e.l-3.5)+\",\"+(e.b+.5-t)+\"h3v\"+t+\"h\"+t+\"v3h-\"+(t+3)+\"Z\"}function V(e,t,n,r,i){for(var o,l,s,u,c=!1,f={},d={},p=(i||{}).xaHash,h=(i||{}).yaHash,m=0;m<t.length;m++){var g=t[m];for(o in n)if(g[o]){for(s in g)i&&(p[s]||h[s])||(\"x\"===s.charAt(0)?n:r)[s]||(f[s]=o);for(l in r)i&&(p[l]||h[l])||!g[l]||(c=!0)}for(l in r)if(g[l])for(u in g)i&&(p[u]||h[u])||(\"x\"===u.charAt(0)?n:r)[u]||(d[u]=l)}c&&(a.extendFlat(f,d),d={});var y={},v=[];for(s in f){var b=T(e,s);v.push(b),y[b._id]=b}var x={},w=[];for(u in d){var _=T(e,u);w.push(_),x[_._id]=_}return{xaHash:y,yaHash:x,xaxes:v,yaxes:w,xLinks:f,yLinks:d,isSubplotConstrained:c}}function Y(e,t){if(l){var n=void 0!==e.onwheel?\"wheel\":\"mousewheel\";e._onwheel&&e.removeEventListener(n,e._onwheel),e._onwheel=t,e.addEventListener(n,t,{passive:!1})}else void 0!==e.onwheel?e.onwheel=t:void 0!==e.onmousewheel?e.onmousewheel=t:e.isAddedWheelEvent||(e.isAddedWheelEvent=!0,e.addEventListener(\"wheel\",t,{passive:!1}))}function G(e){var t=[];for(var n in e)t.push(e[n]);return t}t.exports={makeDragBox:function(e,t,n,l,u,f,m,y){var P,R,q,$,X,K,J,Q,ee,te,ne,re,ae,ie,oe,le,se,ue,ce,fe,de,pe,he,me=e._fullLayout._zoomlayer,ge=m+y===\"nsew\",ye=1===(m+y).length;function ve(){if(P=t.xaxis,R=t.yaxis,ee=P._length,te=R._length,J=P._offset,Q=R._offset,(q={})[P._id]=P,($={})[R._id]=R,m&&y)for(var n=t.overlays,r=0;r<n.length;r++){var a=n[r].xaxis;q[a._id]=a;var i=n[r].yaxis;$[i._id]=i}X=G(q),K=G($),ae=I(X,y),ie=I(K,m),oe=!ie&&!ae,re=V(e,e._fullLayout._axisMatchGroups,q,$);var o=(ne=V(e,e._fullLayout._axisConstraintGroups,q,$,re)).isSubplotConstrained||re.isSubplotConstrained;le=y||o,se=m||o;var l=e._fullLayout;ue=l._has(\"scattergl\"),ce=l._has(\"splom\"),fe=l._has(\"svg\")}ve();var be=function(e,t,n){return e?\"nsew\"===e?n?\"\":\"pan\"===t?\"move\":\"crosshair\":e.toLowerCase()+\"-resize\":\"pointer\"}(ie+ae,e._fullLayout.dragmode,ge),xe=L(t,m+y+\"drag\",be,n,l,u,f);if(oe&&!ge)return xe.onmousedown=null,xe.style.pointerEvents=\"none\",xe;var we,_e,ke,Te,Me,Se,Ee,Ce,Oe,Ae,De={element:xe,gd:e,plotinfo:t};function Pe(){De.plotinfo.selection=!1,S(e)}function Re(e,n){var a=De.gd;if(a._fullLayout._activeShapeIndex>=0)a._fullLayout._deactivateShape(a);else{var o=a._fullLayout.clickmode;if(H(a),2!==e||ye||Ue(),ge)o.indexOf(\"select\")>-1&&E(n,a,X,K,t.id,De),o.indexOf(\"event\")>-1&&p.click(a,n,t.id);else if(1===e&&ye){var l=m?R:P,u=\"s\"===m||\"w\"===y?0:1,f=l._name+\".range[\"+u+\"]\",d=function(e,t){var n,r=e.range[t],a=Math.abs(r-e.range[1-t]);return\"date\"===e.type?r:\"log\"===e.type?(n=Math.ceil(Math.max(0,-Math.log(a)/Math.LN10))+3,i(\".\"+n+\"g\")(Math.pow(10,r))):(n=Math.floor(Math.log(Math.abs(r))/Math.LN10)-Math.floor(Math.log(a)/Math.LN10)+4,i(\".\"+String(n)+\"g\")(r))}(l,u),h=\"left\",g=\"middle\";if(l.fixedrange)return;m?(g=\"n\"===m?\"top\":\"bottom\",\"right\"===l.side&&(h=\"right\")):\"e\"===y&&(h=\"right\"),a._context.showAxisRangeEntryBoxes&&r.select(xe).call(c.makeEditable,{gd:a,immediate:!0,background:a._fullLayout.paper_bgcolor,text:String(d),fill:l.tickfont?l.tickfont.color:\"#444\",horizontalAlign:h,verticalAlign:g}).on(\"edit\",(function(e){var t=l.d2r(e);void 0!==t&&s.call(\"_guiRelayout\",a,f,t)}))}}}function Le(t,n){if(e._transitioningWithDuration)return!1;var r=Math.max(0,Math.min(ee,pe*t+we)),a=Math.max(0,Math.min(te,he*n+_e)),i=Math.abs(r-we),o=Math.abs(a-_e);function l(){Ee=\"\",ke.r=ke.l,ke.t=ke.b,Oe.attr(\"d\",\"M0,0Z\")}if(ke.l=Math.min(we,r),ke.r=Math.max(we,r),ke.t=Math.min(_e,a),ke.b=Math.max(_e,a),ne.isSubplotConstrained)i>D||o>D?(Ee=\"xy\",i/ee>o/te?(o=i*te/ee,_e>a?ke.t=_e-o:ke.b=_e+o):(i=o*ee/te,we>r?ke.l=we-i:ke.r=we+i),Oe.attr(\"d\",W(ke))):l();else if(re.isSubplotConstrained)if(i>D||o>D){Ee=\"xy\";var s=Math.min(ke.l/ee,(te-ke.b)/te),u=Math.max(ke.r/ee,(te-ke.t)/te);ke.l=s*ee,ke.r=u*ee,ke.b=(1-s)*te,ke.t=(1-u)*te,Oe.attr(\"d\",W(ke))}else l();else!ie||o<Math.min(Math.max(.6*i,A),D)?i<A||!ae?l():(ke.t=0,ke.b=te,Ee=\"x\",Oe.attr(\"d\",function(e,t){return\"M\"+(e.l-.5)+\",\"+(t-D-.5)+\"h-3v\"+(2*D+1)+\"h3ZM\"+(e.r+.5)+\",\"+(t-D-.5)+\"h3v\"+(2*D+1)+\"h-3Z\"}(ke,_e))):!ae||i<Math.min(.6*o,D)?(ke.l=0,ke.r=ee,Ee=\"y\",Oe.attr(\"d\",function(e,t){return\"M\"+(t-D-.5)+\",\"+(e.t-.5)+\"v-3h\"+(2*D+1)+\"v3ZM\"+(t-D-.5)+\",\"+(e.b+.5)+\"v3h\"+(2*D+1)+\"v-3Z\"}(ke,we))):(Ee=\"xy\",Oe.attr(\"d\",W(ke)));ke.w=ke.r-ke.l,ke.h=ke.b-ke.t,Ee&&(Ae=!0),e._dragged=Ae,B(Ce,Oe,ke,Me,Se,Te),Ie(),e.emit(\"plotly_relayouting\",de),Se=!0}function Ie(){de={},\"xy\"!==Ee&&\"x\"!==Ee||(j(X,ke.l/ee,ke.r/ee,de,ne.xaxes),qe(\"x\",de)),\"xy\"!==Ee&&\"y\"!==Ee||(j(K,(te-ke.b)/te,(te-ke.t)/te,de,ne.yaxes),qe(\"y\",de))}function je(){Ie(),H(e),We(),U(e)}De.prepFn=function(t,n,r){var i=De.dragmode,l=e._fullLayout.dragmode;l!==i&&(De.dragmode=l),ve(),pe=e._fullLayout._invScaleX,he=e._fullLayout._invScaleY,oe||(ge?t.shiftKey?\"pan\"===l?l=\"zoom\":v(l)||(l=\"pan\"):t.ctrlKey&&(l=\"pan\"):l=\"pan\"),b(l)?De.minDrag=1:De.minDrag=void 0,v(l)?(De.xaxes=X,De.yaxes=K,M(t,n,r,De,l)):(De.clickFn=Re,v(i)&&Pe(),oe||(\"zoom\"===l?(De.moveFn=Le,De.doneFn=je,De.minDrag=1,function(t,n,r){var i=xe.getBoundingClientRect();we=n-i.left,_e=r-i.top,e._fullLayout._calcInverseTransform(e);var l=a.apply3DTransform(e._fullLayout._invTransform)(we,_e);we=l[0],_e=l[1],ke={l:we,r:we,w:0,t:_e,b:_e,h:0},Te=e._hmpixcount?e._hmlumcount/e._hmpixcount:o(e._fullLayout.plot_bgcolor).getLuminance(),Se=!1,Ee=\"xy\",Ae=!1,Ce=F(me,Te,J,Q,Me=\"M0,0H\"+ee+\"V\"+te+\"H0V0\"),Oe=Z(me,J,Q)}(0,n,r)):\"pan\"===l&&(De.moveFn=Be,De.doneFn=We))),e._fullLayout._redrag=function(){var t=e._dragdata;if(t&&t.element===xe){var n=e._fullLayout.dragmode;v(n)||(ve(),Ve([0,0,ee,te]),De.moveFn(t.dx,t.dy))}}},g.init(De);var Ne=[0,0,ee,te],ze=null,Fe=O.REDRAWDELAY,Ze=t.mainplot?e._fullLayout._plots[t.mainplot]:t;function Be(t,n){if(t*=pe,n*=he,!e._transitioningWithDuration){if(e._fullLayout._replotting=!0,\"ew\"===ae||\"ns\"===ie){var r=ae?-t:0,a=ie?-n:0;if(re.isSubplotConstrained){if(ae&&ie){var i=(t/ee-n/te)/2;r=-(t=i*ee),a=-(n=-i*te)}ie?r=-a*ee/te:a=-r*te/ee}return ae&&(N(X,t),qe(\"x\")),ie&&(N(K,n),qe(\"y\")),Ve([r,a,ee,te]),He(),void e.emit(\"plotly_relayouting\",de)}var o,l,s=\"w\"===ae==(\"n\"===ie)?1:-1;if(ae&&ie&&(ne.isSubplotConstrained||re.isSubplotConstrained)){var u=(t/ee+s*n/te)/2;t=u*ee,n=s*u*te}if(\"w\"===ae?t=p(X,0,t):\"e\"===ae?t=p(X,1,-t):ae||(t=0),\"n\"===ie?n=p(K,1,n):\"s\"===ie?n=p(K,0,-n):ie||(n=0),o=\"w\"===ae?t:0,l=\"n\"===ie?n:0,ne.isSubplotConstrained&&!re.isSubplotConstrained||re.isSubplotConstrained&&ae&&ie&&s>0){var c;if(re.isSubplotConstrained||!ae&&1===ie.length){for(c=0;c<X.length;c++)X[c].range=X[c]._r.slice(),C(X[c],1-n/te);o=(t=n*ee/te)/2}if(re.isSubplotConstrained||!ie&&1===ae.length){for(c=0;c<K.length;c++)K[c].range=K[c]._r.slice(),C(K[c],1-t/ee);l=(n=t*te/ee)/2}}re.isSubplotConstrained&&ie||qe(\"x\"),re.isSubplotConstrained&&ae||qe(\"y\");var f=ee-t,d=te-n;!re.isSubplotConstrained||ae&&ie||(ae?(l=o?0:t*te/ee,d=f*te/ee):(o=l?0:n*ee/te,f=d*ee/te)),Ve([o,l,f,d]),He(),e.emit(\"plotly_relayouting\",de)}function p(e,t,n){for(var r,a,i=1-t,o=0;o<e.length;o++){var l=e[o];if(!l.fixedrange){r=l,a=l._rl[i]+(l._rl[t]-l._rl[i])/z(n/l._length);var s=l.l2r(a);!1!==s&&void 0!==s&&(l.range[t]=s)}}return r._length*(r._rl[t]-a)/(r._rl[t]-r._rl[i])}}function qe(e,t){for(var n=re.isSubplotConstrained?{x:K,y:X}[e]:re[e+\"axes\"],r=re.isSubplotConstrained?{x:X,y:K}[e]:[],a=0;a<n.length;a++){var i=n[a],o=i._id,l=re.xLinks[o]||re.yLinks[o],s=r[0]||q[l]||$[l];s&&(t?(t[i._name+\".range[0]\"]=t[s._name+\".range[0]\"],t[i._name+\".range[1]\"]=t[s._name+\".range[1]\"]):i.range=s.range.slice())}}function He(){var t,n=[];function r(e){for(t=0;t<e.length;t++)e[t].fixedrange||n.push(e[t]._id)}for(le&&(r(X),r(ne.xaxes),r(re.xaxes)),se&&(r(K),r(ne.yaxes),r(re.yaxes)),de={},t=0;t<n.length;t++){var a=n[t],i=T(e,a);h.drawOne(e,i,{skipTitle:!0}),de[i._name+\".range[0]\"]=i.range[0],de[i._name+\".range[1]\"]=i.range[1]}h.redrawComponents(e,n)}function Ue(){if(!e._transitioningWithDuration){var t=e._context.doubleClick,n=[];ae&&(n=n.concat(X)),ie&&(n=n.concat(K)),re.xaxes&&(n=n.concat(re.xaxes)),re.yaxes&&(n=n.concat(re.yaxes));var r,a,i,o={};if(\"reset+autosize\"===t)for(t=\"autosize\",a=0;a<n.length;a++)if((r=n[a])._rangeInitial&&(r.range[0]!==r._rangeInitial[0]||r.range[1]!==r._rangeInitial[1])||!r._rangeInitial&&!r.autorange){t=\"reset\";break}if(\"autosize\"===t)for(a=0;a<n.length;a++)(r=n[a]).fixedrange||(o[r._name+\".autorange\"]=!0);else if(\"reset\"===t)for((ae||ne.isSubplotConstrained)&&(n=n.concat(ne.xaxes)),ie&&!ne.isSubplotConstrained&&(n=n.concat(ne.yaxes)),ne.isSubplotConstrained&&(ae?ie||(n=n.concat(K)):n=n.concat(X)),a=0;a<n.length;a++)(r=n[a]).fixedrange||(r._rangeInitial?(i=r._rangeInitial,o[r._name+\".range[0]\"]=i[0],o[r._name+\".range[1]\"]=i[1]):o[r._name+\".autorange\"]=!0);e.emit(\"plotly_doubleclick\",null),s.call(\"_guiRelayout\",e,o)}}function We(){Ve([0,0,ee,te]),a.syncOrAsync([k.previousPromises,function(){e._fullLayout._replotting=!1,s.call(\"_guiRelayout\",e,de)}],e)}function Ve(t){var n,r,i,o,l=e._fullLayout,u=l._plots,c=l._subplots.cartesian;if(ce&&s.subplotsRegistry.splom.drag(e),ue)for(n=0;n<c.length;n++)if(i=(r=u[c[n]]).xaxis,o=r.yaxis,r._scene){var f=a.simpleMap(i.range,i.r2l),p=a.simpleMap(o.range,o.r2l);r._scene.update({range:[f[0],p[0],f[1],p[1]]})}if((ce||ue)&&(w(e),_(e)),fe){var h=t[2]/P._length,g=t[3]/R._length;for(n=0;n<c.length;n++){i=(r=u[c[n]]).xaxis,o=r.yaxis;var v,b,x,k,T=(le||re.isSubplotConstrained)&&!i.fixedrange&&q[i._id],M=(se||re.isSubplotConstrained)&&!o.fixedrange&&$[o._id];if(T?(v=h,x=y||re.isSubplotConstrained?t[0]:$e(i,v)):re.xaHash[i._id]?(v=h,x=t[0]*i._length/P._length):re.yaHash[i._id]?(v=g,x=\"ns\"===ie?-t[1]*i._length/R._length:$e(i,v,{n:\"top\",s:\"bottom\"}[ie])):x=Ge(i,v=Ye(i,h,g)),M?(b=g,k=m||re.isSubplotConstrained?t[1]:$e(o,b)):re.yaHash[o._id]?(b=g,k=t[1]*o._length/R._length):re.xaHash[o._id]?(b=h,k=\"ew\"===ae?-t[0]*o._length/P._length:$e(o,b,{e:\"right\",w:\"left\"}[ae])):k=Ge(o,b=Ye(o,h,g)),v||b){v||(v=1),b||(b=1);var S=i._offset-x/v,E=o._offset-k/b;r.clipRect.call(d.setTranslate,x,k).call(d.setScale,v,b),r.plot.call(d.setTranslate,S,E).call(d.setScale,1/v,1/b),v===r.xScaleFactor&&b===r.yScaleFactor||(d.setPointGroupScale(r.zoomScalePts,v,b),d.setTextPointsScale(r.zoomScaleTxt,v,b)),d.hideOutsideRangePoints(r.clipOnAxisFalseTraces,r),r.xScaleFactor=v,r.yScaleFactor=b}}}}function Ye(e,t,n){return e.fixedrange?0:le&&ne.xaHash[e._id]?t:se&&(ne.isSubplotConstrained?ne.xaHash:ne.yaHash)[e._id]?n:0}function Ge(e,t){return t?(e.range=e._r.slice(),C(e,t),$e(e,t)):0}function $e(e,t,n){return e._length*(1-t)*x[n||e.constraintoward||\"middle\"]}return m.length*y.length!=1&&Y(xe,(function(t){if(e._context._scrollZoom.cartesian||e._fullLayout._enablescrollzoom){if(Pe(),e._transitioningWithDuration)return t.preventDefault(),void t.stopPropagation();ve(),clearTimeout(ze);var n=-t.deltaY;if(isFinite(n)||(n=t.wheelDelta/10),isFinite(n)){var r,i=Math.exp(-Math.min(Math.max(n,-20),20)/200),o=Ze.draglayer.select(\".nsewdrag\").node().getBoundingClientRect(),l=(t.clientX-o.left)/o.width,s=(o.bottom-t.clientY)/o.height;if(le){for(y||(l=.5),r=0;r<X.length;r++)u(X[r],l,i);qe(\"x\"),Ne[2]*=i,Ne[0]+=Ne[2]*l*(1/i-1)}if(se){for(m||(s=.5),r=0;r<K.length;r++)u(K[r],s,i);qe(\"y\"),Ne[3]*=i,Ne[1]+=Ne[3]*(1-s)*(1/i-1)}Ve(Ne),He(),e.emit(\"plotly_relayouting\",de),ze=setTimeout((function(){e._fullLayout&&(Ne=[0,0,ee,te],We())}),Fe),t.preventDefault()}else a.log(\"Did not find wheel motion attributes: \",t)}function u(e,t,n){if(!e.fixedrange){var r=a.simpleMap(e.range,e.r2l),i=r[0]+(r[1]-r[0])*t;e.range=r.map((function(t){return e.l2r(i+(t-i)*n)}))}}})),xe},makeDragger:R,makeRectDragger:L,makeZoombox:F,makeCorners:Z,updateZoombox:B,xyCorners:W,transitionZoombox:q,removeZoombox:H,showDoubleClickNotifier:U,attachWheelEventHandler:Y}},{\"../../components/color\":157,\"../../components/dragelement\":176,\"../../components/dragelement/helpers\":175,\"../../components/drawing\":179,\"../../components/fx\":197,\"../../constants/alignment\":262,\"../../lib\":287,\"../../lib/clear_gl_canvases\":275,\"../../lib/setcursor\":307,\"../../lib/svg_text_utils\":310,\"../../plot_api/subroutines\":324,\"../../registry\":378,\"../plots\":371,\"./axes\":334,\"./axis_ids\":338,\"./constants\":341,\"./scale_zoom\":354,\"./select\":355,\"@plotly/d3\":20,\"has-passive-events\":65,tinycolor2:121}],344:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../components/fx\"),i=e(\"../../components/dragelement\"),o=e(\"../../lib/setcursor\"),l=e(\"./dragbox\").makeDragBox,s=e(\"./constants\").DRAGGERSIZE;n.initInteractions=function(e){var t=e._fullLayout;if(e._context.staticPlot)r.select(e).selectAll(\".drag\").remove();else if(t._has(\"cartesian\")||t._has(\"splom\")){Object.keys(t._plots||{}).sort((function(e,n){if((t._plots[e].mainplot&&!0)===(t._plots[n].mainplot&&!0)){var r=e.split(\"y\"),a=n.split(\"y\");return r[0]===a[0]?Number(r[1]||1)-Number(a[1]||1):Number(r[0]||1)-Number(a[0]||1)}return t._plots[e].mainplot?1:-1})).forEach((function(n){var r=t._plots[n],o=r.xaxis,u=r.yaxis;if(!r.mainplot){var c=l(e,r,o._offset,u._offset,o._length,u._length,\"ns\",\"ew\");c.onmousemove=function(t){e._fullLayout._rehover=function(){e._fullLayout._hoversubplot===n&&e._fullLayout._plots[n]&&a.hover(e,t,n)},a.hover(e,t,n),e._fullLayout._lasthover=c,e._fullLayout._hoversubplot=n},c.onmouseout=function(t){e._dragging||(e._fullLayout._hoversubplot=null,i.unhover(e,t))},e._context.showAxisDragHandles&&(l(e,r,o._offset-s,u._offset-s,s,s,\"n\",\"w\"),l(e,r,o._offset+o._length,u._offset-s,s,s,\"n\",\"e\"),l(e,r,o._offset-s,u._offset+u._length,s,s,\"s\",\"w\"),l(e,r,o._offset+o._length,u._offset+u._length,s,s,\"s\",\"e\"))}if(e._context.showAxisDragHandles){if(n===o._mainSubplot){var f=o._mainLinePosition;\"top\"===o.side&&(f-=s),l(e,r,o._offset+.1*o._length,f,.8*o._length,s,\"\",\"ew\"),l(e,r,o._offset,f,.1*o._length,s,\"\",\"w\"),l(e,r,o._offset+.9*o._length,f,.1*o._length,s,\"\",\"e\")}if(n===u._mainSubplot){var d=u._mainLinePosition;\"right\"!==u.side&&(d-=s),l(e,r,d,u._offset+.1*u._length,s,.8*u._length,\"ns\",\"\"),l(e,r,d,u._offset+.9*u._length,s,.1*u._length,\"s\",\"\"),l(e,r,d,u._offset,s,.1*u._length,\"n\",\"\")}}}));var o=t._hoverlayer.node();o.onmousemove=function(n){n.target=e._fullLayout._lasthover,a.hover(e,n,t._hoversubplot)},o.onclick=function(t){t.target=e._fullLayout._lasthover,a.click(e,t)},o.onmousedown=function(t){e._fullLayout._lasthover.onmousedown(t)},n.updateFx(e)}},n.updateFx=function(e){var t=e._fullLayout,n=\"pan\"===t.dragmode?\"move\":\"crosshair\";o(t._draggers,n)}},{\"../../components/dragelement\":176,\"../../components/fx\":197,\"../../lib/setcursor\":307,\"./constants\":341,\"./dragbox\":343,\"@plotly/d3\":20}],345:[function(e,t,n){\"use strict\";t.exports={clearOutlineControllers:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(\".outline-controllers\").remove()},clearSelect:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(\".select-outline\").remove(),e._fullLayout._drawing=!1}}},{}],346:[function(e,t,n){\"use strict\";var r=e(\"../../lib\").strTranslate;function a(e,t){switch(e.type){case\"log\":return e.p2d(t);case\"date\":return e.p2r(t,0,e.calendar);default:return e.p2r(t)}}t.exports={p2r:a,r2p:function(e,t){switch(e.type){case\"log\":return e.d2p(t);case\"date\":return e.r2p(t,0,e.calendar);default:return e.r2p(t)}},axValue:function(e){var t=\"y\"===e._id.charAt(0)?1:0;return function(n){return a(e,n[t])}},getTransform:function(e){return r(e.xaxis._offset,e.yaxis._offset)}}},{\"../../lib\":287}],347:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../lib\"),i=e(\"./axis_ids\");t.exports=function(e){return function(t,n){var o=t[e];if(Array.isArray(o))for(var l=r.subplotsRegistry.cartesian,s=l.idRegex,u=n._subplots,c=u.xaxis,f=u.yaxis,d=u.cartesian,p=n._has(\"cartesian\")||n._has(\"gl2d\"),h=0;h<o.length;h++){var m=o[h];if(a.isPlainObject(m)){var g=i.cleanId(m.xref,\"x\",!1),y=i.cleanId(m.yref,\"y\",!1),v=s.x.test(g),b=s.y.test(y);if(v||b){p||a.pushUnique(n._basePlotModules,l);var x=!1;v&&-1===c.indexOf(g)&&(c.push(g),x=!0),b&&-1===f.indexOf(y)&&(f.push(y),x=!0),x&&v&&b&&d.push(g+y)}}}}}},{\"../../lib\":287,\"../../registry\":378,\"./axis_ids\":338}],348:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../registry\"),i=e(\"../../lib\"),o=e(\"../plots\"),l=e(\"../../components/drawing\"),s=e(\"../get_data\").getModuleCalcData,u=e(\"./axis_ids\"),c=e(\"./constants\"),f=e(\"../../constants/xmlns_namespaces\"),d=i.ensureSingle;function p(e,t,n){return i.ensureSingle(e,t,n,(function(e){e.datum(n)}))}function h(e,t,n,i,o){for(var u,f,d,p=c.traceLayerClasses,h=e._fullLayout,m=h._modules,g=[],y=[],v=0;v<m.length;v++){var b=(u=m[v]).name,x=a.modules[b].categories;if(x.svg){var w=u.layerName||b+\"layer\",_=u.plot;d=(f=s(n,_))[0],n=f[1],d.length&&g.push({i:p.indexOf(w),className:w,plotMethod:_,cdModule:d}),x.zoomScale&&y.push(\".\"+w)}}g.sort((function(e,t){return e.i-t.i}));var k=t.plot.selectAll(\"g.mlayer\").data(g,(function(e){return e.className}));if(k.enter().append(\"g\").attr(\"class\",(function(e){return e.className})).classed(\"mlayer\",!0).classed(\"rangeplot\",t.isRangePlot),k.exit().remove(),k.order(),k.each((function(n){var a=r.select(this),s=n.className;n.plotMethod(e,t,n.cdModule,a,i,o),-1===c.clipOnAxisFalseQuery.indexOf(\".\"+s)&&l.setClipUrl(a,t.layerClipId,e)})),h._has(\"scattergl\")&&(u=a.getModule(\"scattergl\"),d=s(n,u)[0],u.plot(e,t,d)),!e._context.staticPlot&&(t._hasClipOnAxisFalse&&(t.clipOnAxisFalseTraces=t.plot.selectAll(c.clipOnAxisFalseQuery.join(\",\")).selectAll(\".trace\")),y.length)){var T=t.plot.selectAll(y.join(\",\")).selectAll(\".trace\");t.zoomScalePts=T.selectAll(\"path.point\"),t.zoomScaleTxt=T.selectAll(\".textpoint\")}}function m(e,t){var n=t.plotgroup,r=t.id,a=c.layerValue2layerClass[t.xaxis.layer],i=c.layerValue2layerClass[t.yaxis.layer],o=e._fullLayout._hasOnlyLargeSploms;if(t.mainplot){var l=t.mainplotinfo,s=l.plotgroup,f=r+\"-x\",h=r+\"-y\";t.gridlayer=l.gridlayer,t.zerolinelayer=l.zerolinelayer,d(l.overlinesBelow,\"path\",f),d(l.overlinesBelow,\"path\",h),d(l.overaxesBelow,\"g\",f),d(l.overaxesBelow,\"g\",h),t.plot=d(l.overplot,\"g\",r),d(l.overlinesAbove,\"path\",f),d(l.overlinesAbove,\"path\",h),d(l.overaxesAbove,\"g\",f),d(l.overaxesAbove,\"g\",h),t.xlines=s.select(\".overlines-\"+a).select(\".\"+f),t.ylines=s.select(\".overlines-\"+i).select(\".\"+h),t.xaxislayer=s.select(\".overaxes-\"+a).select(\".\"+f),t.yaxislayer=s.select(\".overaxes-\"+i).select(\".\"+h)}else if(o)t.xlines=d(n,\"path\",\"xlines-above\"),t.ylines=d(n,\"path\",\"ylines-above\"),t.xaxislayer=d(n,\"g\",\"xaxislayer-above\"),t.yaxislayer=d(n,\"g\",\"yaxislayer-above\");else{var m=d(n,\"g\",\"layer-subplot\");t.shapelayer=d(m,\"g\",\"shapelayer\"),t.imagelayer=d(m,\"g\",\"imagelayer\"),t.gridlayer=d(n,\"g\",\"gridlayer\"),t.zerolinelayer=d(n,\"g\",\"zerolinelayer\"),d(n,\"path\",\"xlines-below\"),d(n,\"path\",\"ylines-below\"),t.overlinesBelow=d(n,\"g\",\"overlines-below\"),d(n,\"g\",\"xaxislayer-below\"),d(n,\"g\",\"yaxislayer-below\"),t.overaxesBelow=d(n,\"g\",\"overaxes-below\"),t.plot=d(n,\"g\",\"plot\"),t.overplot=d(n,\"g\",\"overplot\"),t.xlines=d(n,\"path\",\"xlines-above\"),t.ylines=d(n,\"path\",\"ylines-above\"),t.overlinesAbove=d(n,\"g\",\"overlines-above\"),d(n,\"g\",\"xaxislayer-above\"),d(n,\"g\",\"yaxislayer-above\"),t.overaxesAbove=d(n,\"g\",\"overaxes-above\"),t.xlines=n.select(\".xlines-\"+a),t.ylines=n.select(\".ylines-\"+i),t.xaxislayer=n.select(\".xaxislayer-\"+a),t.yaxislayer=n.select(\".yaxislayer-\"+i)}o||(p(t.gridlayer,\"g\",t.xaxis._id),p(t.gridlayer,\"g\",t.yaxis._id),t.gridlayer.selectAll(\"g\").map((function(e){return e[0]})).sort(u.idSort)),t.xlines.style(\"fill\",\"none\").classed(\"crisp\",!0),t.ylines.style(\"fill\",\"none\").classed(\"crisp\",!0)}function g(e,t){if(e){var n={};for(var a in e.each((function(e){var a=e[0];r.select(this).remove(),y(a,t),n[a]=!0})),t._plots)for(var i=t._plots[a].overlays||[],o=0;o<i.length;o++){var l=i[o];n[l.id]&&l.plot.selectAll(\".trace\").remove()}}}function y(e,t){t._draggers.selectAll(\"g.\"+e).remove(),t._defs.select(\"#clip\"+t._uid+e+\"plot\").remove()}n.name=\"cartesian\",n.attr=[\"xaxis\",\"yaxis\"],n.idRoot=[\"x\",\"y\"],n.idRegex=c.idRegex,n.attrRegex=c.attrRegex,n.attributes=e(\"./attributes\"),n.layoutAttributes=e(\"./layout_attributes\"),n.supplyLayoutDefaults=e(\"./layout_defaults\"),n.transitionAxes=e(\"./transition_axes\"),n.finalizeSubplots=function(e,t){var n,r,a,o=t._subplots,l=o.xaxis,s=o.yaxis,f=o.cartesian,d=f.concat(o.gl2d||[]),p={},h={};for(n=0;n<d.length;n++){var m=d[n].split(\"y\");p[m[0]]=1,h[\"y\"+m[1]]=1}for(n=0;n<l.length;n++)p[r=l[n]]||(a=(e[u.id2name(r)]||{}).anchor,c.idRegex.y.test(a)||(a=\"y\"),f.push(r+a),d.push(r+a),h[a]||(h[a]=1,i.pushUnique(s,a)));for(n=0;n<s.length;n++)h[a=s[n]]||(r=(e[u.id2name(a)]||{}).anchor,c.idRegex.x.test(r)||(r=\"x\"),f.push(r+a),d.push(r+a),p[r]||(p[r]=1,i.pushUnique(l,r)));if(!d.length){for(var g in r=\"\",a=\"\",e)c.attrRegex.test(g)&&(\"x\"===g.charAt(0)?(!r||+g.substr(5)<+r.substr(5))&&(r=g):(!a||+g.substr(5)<+a.substr(5))&&(a=g));r=r?u.name2id(r):\"x\",a=a?u.name2id(a):\"y\",l.push(r),s.push(a),f.push(r+a)}},n.plot=function(e,t,n,r){var a,i=e._fullLayout,o=i._subplots.cartesian,l=e.calcdata;if(!Array.isArray(t))for(t=[],a=0;a<l.length;a++)t.push(a);for(a=0;a<o.length;a++){for(var s,u=o[a],c=i._plots[u],f=[],d=0;d<l.length;d++){var p=l[d],m=p[0].trace;m.xaxis+m.yaxis===u&&((-1!==t.indexOf(m.index)||m.carpet)&&(s&&s[0].trace.xaxis+s[0].trace.yaxis===u&&-1!==[\"tonextx\",\"tonexty\",\"tonext\"].indexOf(m.fill)&&-1===f.indexOf(s)&&f.push(s),f.push(p)),s=p)}h(e,c,f,n,r)}},n.clean=function(e,t,n,r){var a,i,o,l=r._plots||{},s=t._plots||{},c=r._subplots||{};if(r._hasOnlyLargeSploms&&!t._hasOnlyLargeSploms)for(o in l)(a=l[o]).plotgroup&&a.plotgroup.remove();var f=r._has&&r._has(\"gl\"),d=t._has&&t._has(\"gl\");if(f&&!d)for(o in l)(a=l[o])._scene&&a._scene.destroy();if(c.xaxis&&c.yaxis){var p=u.listIds({_fullLayout:r});for(i=0;i<p.length;i++){var h=p[i];t[u.id2name(h)]||r._infolayer.selectAll(\".g-\"+h+\"title\").remove()}}var m=r._has&&r._has(\"cartesian\"),v=t._has&&t._has(\"cartesian\");if(m&&!v)g(r._cartesianlayer.selectAll(\".subplot\"),r),r._defs.selectAll(\".axesclip\").remove(),delete r._axisConstraintGroups,delete r._axisMatchGroups;else if(c.cartesian)for(i=0;i<c.cartesian.length;i++){var b=c.cartesian[i];if(!s[b]){var x=\".\"+b+\",.\"+b+\"-x,.\"+b+\"-y\";r._cartesianlayer.selectAll(x).remove(),y(b,r)}}},n.drawFramework=function(e){var t=e._fullLayout,n=function(e){var t,n,r,a,i,o,l=e._fullLayout,s=l._subplots.cartesian,u=s.length,c=[],f=[];for(t=0;t<u;t++){r=s[t],i=(a=l._plots[r]).xaxis,o=a.yaxis;var d=i._mainAxis,p=o._mainAxis,h=d._id+p._id,m=l._plots[h];a.overlays=[],h!==r&&m?(a.mainplot=h,a.mainplotinfo=m,f.push(r)):(a.mainplot=void 0,a.mainplotinfo=void 0,c.push(r))}for(t=0;t<f.length;t++)r=f[t],(a=l._plots[r]).mainplotinfo.overlays.push(a);var g=c.concat(f),y=new Array(u);for(t=0;t<u;t++){r=g[t],i=(a=l._plots[r]).xaxis,o=a.yaxis;var v=[r,i.layer,o.layer,i.overlaying||\"\",o.overlaying||\"\"];for(n=0;n<a.overlays.length;n++)v.push(a.overlays[n].id);y[t]=v}return y}(e),a=t._cartesianlayer.selectAll(\".subplot\").data(n,String);a.enter().append(\"g\").attr(\"class\",(function(e){return\"subplot \"+e[0]})),a.order(),a.exit().call(g,t),a.each((function(n){var a=n[0],i=t._plots[a];i.plotgroup=r.select(this),m(e,i),i.draglayer=d(t._draggers,\"g\",a)}))},n.rangePlot=function(e,t,n){m(e,t),h(e,t,n),o.style(e)},n.toSVG=function(e){var t=e._fullLayout._glimages,n=r.select(e).selectAll(\".svg-container\");n.filter((function(e,t){return t===n.size()-1})).selectAll(\".gl-canvas-context, .gl-canvas-focus\").each((function(){var e=this.toDataURL(\"image/png\");t.append(\"svg:image\").attr({xmlns:f.svg,\"xlink:href\":e,preserveAspectRatio:\"none\",x:0,y:0,width:this.style.width,height:this.style.height})}))},n.updateFx=e(\"./graph_interact\").updateFx},{\"../../components/drawing\":179,\"../../constants/xmlns_namespaces\":268,\"../../lib\":287,\"../../registry\":378,\"../get_data\":367,\"../plots\":371,\"./attributes\":332,\"./axis_ids\":338,\"./constants\":341,\"./graph_interact\":344,\"./layout_attributes\":349,\"./layout_defaults\":350,\"./transition_axes\":361,\"@plotly/d3\":20}],349:[function(e,t,n){\"use strict\";var r=e(\"../font_attributes\"),a=e(\"../../components/color/attributes\"),i=e(\"../../components/drawing/attributes\").dash,o=e(\"../../lib/extend\").extendFlat,l=e(\"../../plot_api/plot_template\").templatedArray,s=e(\"../../plots/cartesian/axis_format_attributes\").descriptionWithDates,u=e(\"../../constants/numerical\").ONEDAY,c=e(\"./constants\"),f=c.HOUR_PATTERN,d=c.WEEKDAY_PATTERN;t.exports={visible:{valType:\"boolean\",editType:\"plot\"},color:{valType:\"color\",dflt:a.defaultLine,editType:\"ticks\"},title:{text:{valType:\"string\",editType:\"ticks\"},font:r({editType:\"ticks\"}),standoff:{valType:\"number\",min:0,editType:\"ticks\"},editType:\"ticks\"},type:{valType:\"enumerated\",values:[\"-\",\"linear\",\"log\",\"date\",\"category\",\"multicategory\"],dflt:\"-\",editType:\"calc\",_noTemplating:!0},autotypenumbers:{valType:\"enumerated\",values:[\"convert types\",\"strict\"],dflt:\"convert types\",editType:\"calc\"},autorange:{valType:\"enumerated\",values:[!0,!1,\"reversed\"],dflt:!0,editType:\"axrange\",impliedEdits:{\"range[0]\":void 0,\"range[1]\":void 0}},rangemode:{valType:\"enumerated\",values:[\"normal\",\"tozero\",\"nonnegative\"],dflt:\"normal\",editType:\"plot\"},range:{valType:\"info_array\",items:[{valType:\"any\",editType:\"axrange\",impliedEdits:{\"^autorange\":!1},anim:!0},{valType:\"any\",editType:\"axrange\",impliedEdits:{\"^autorange\":!1},anim:!0}],editType:\"axrange\",impliedEdits:{autorange:!1},anim:!0},fixedrange:{valType:\"boolean\",dflt:!1,editType:\"calc\"},scaleanchor:{valType:\"enumerated\",values:[c.idRegex.x.toString(),c.idRegex.y.toString()],editType:\"plot\"},scaleratio:{valType:\"number\",min:0,dflt:1,editType:\"plot\"},constrain:{valType:\"enumerated\",values:[\"range\",\"domain\"],editType:\"plot\"},constraintoward:{valType:\"enumerated\",values:[\"left\",\"center\",\"right\",\"top\",\"middle\",\"bottom\"],editType:\"plot\"},matches:{valType:\"enumerated\",values:[c.idRegex.x.toString(),c.idRegex.y.toString()],editType:\"calc\"},rangebreaks:l(\"rangebreak\",{enabled:{valType:\"boolean\",dflt:!0,editType:\"calc\"},bounds:{valType:\"info_array\",items:[{valType:\"any\",editType:\"calc\"},{valType:\"any\",editType:\"calc\"}],editType:\"calc\"},pattern:{valType:\"enumerated\",values:[d,f,\"\"],editType:\"calc\"},values:{valType:\"info_array\",freeLength:!0,editType:\"calc\",items:{valType:\"any\",editType:\"calc\"}},dvalue:{valType:\"number\",editType:\"calc\",min:0,dflt:u},editType:\"calc\"}),tickmode:{valType:\"enumerated\",values:[\"auto\",\"linear\",\"array\"],editType:\"ticks\",impliedEdits:{tick0:void 0,dtick:void 0}},nticks:{valType:\"integer\",min:0,dflt:0,editType:\"ticks\"},tick0:{valType:\"any\",editType:\"ticks\",impliedEdits:{tickmode:\"linear\"}},dtick:{valType:\"any\",editType:\"ticks\",impliedEdits:{tickmode:\"linear\"}},ticklabelstep:{valType:\"integer\",min:1,dflt:1,editType:\"ticks\"},tickvals:{valType:\"data_array\",editType:\"ticks\"},ticktext:{valType:\"data_array\",editType:\"ticks\"},ticks:{valType:\"enumerated\",values:[\"outside\",\"inside\",\"\"],editType:\"ticks\"},tickson:{valType:\"enumerated\",values:[\"labels\",\"boundaries\"],dflt:\"labels\",editType:\"ticks\"},ticklabelmode:{valType:\"enumerated\",values:[\"instant\",\"period\"],dflt:\"instant\",editType:\"ticks\"},ticklabelposition:{valType:\"enumerated\",values:[\"outside\",\"inside\",\"outside top\",\"inside top\",\"outside left\",\"inside left\",\"outside right\",\"inside right\",\"outside bottom\",\"inside bottom\"],dflt:\"outside\",editType:\"calc\"},ticklabeloverflow:{valType:\"enumerated\",values:[\"allow\",\"hide past div\",\"hide past domain\"],editType:\"calc\"},mirror:{valType:\"enumerated\",values:[!0,\"ticks\",!1,\"all\",\"allticks\"],dflt:!1,editType:\"ticks+layoutstyle\"},ticklen:{valType:\"number\",min:0,dflt:5,editType:\"ticks\"},tickwidth:{valType:\"number\",min:0,dflt:1,editType:\"ticks\"},tickcolor:{valType:\"color\",dflt:a.defaultLine,editType:\"ticks\"},showticklabels:{valType:\"boolean\",dflt:!0,editType:\"ticks\"},automargin:{valType:\"boolean\",dflt:!1,editType:\"ticks\"},showspikes:{valType:\"boolean\",dflt:!1,editType:\"modebar\"},spikecolor:{valType:\"color\",dflt:null,editType:\"none\"},spikethickness:{valType:\"number\",dflt:3,editType:\"none\"},spikedash:o({},i,{dflt:\"dash\",editType:\"none\"}),spikemode:{valType:\"flaglist\",flags:[\"toaxis\",\"across\",\"marker\"],dflt:\"toaxis\",editType:\"none\"},spikesnap:{valType:\"enumerated\",values:[\"data\",\"cursor\",\"hovered data\"],dflt:\"hovered data\",editType:\"none\"},tickfont:r({editType:\"ticks\"}),tickangle:{valType:\"angle\",dflt:\"auto\",editType:\"ticks\"},tickprefix:{valType:\"string\",dflt:\"\",editType:\"ticks\"},showtickprefix:{valType:\"enumerated\",values:[\"all\",\"first\",\"last\",\"none\"],dflt:\"all\",editType:\"ticks\"},ticksuffix:{valType:\"string\",dflt:\"\",editType:\"ticks\"},showticksuffix:{valType:\"enumerated\",values:[\"all\",\"first\",\"last\",\"none\"],dflt:\"all\",editType:\"ticks\"},showexponent:{valType:\"enumerated\",values:[\"all\",\"first\",\"last\",\"none\"],dflt:\"all\",editType:\"ticks\"},exponentformat:{valType:\"enumerated\",values:[\"none\",\"e\",\"E\",\"power\",\"SI\",\"B\"],dflt:\"B\",editType:\"ticks\"},minexponent:{valType:\"number\",dflt:3,min:0,editType:\"ticks\"},separatethousands:{valType:\"boolean\",dflt:!1,editType:\"ticks\"},tickformat:{valType:\"string\",dflt:\"\",editType:\"ticks\",description:s(\"tick label\")},tickformatstops:l(\"tickformatstop\",{enabled:{valType:\"boolean\",dflt:!0,editType:\"ticks\"},dtickrange:{valType:\"info_array\",items:[{valType:\"any\",editType:\"ticks\"},{valType:\"any\",editType:\"ticks\"}],editType:\"ticks\"},value:{valType:\"string\",dflt:\"\",editType:\"ticks\"},editType:\"ticks\"}),hoverformat:{valType:\"string\",dflt:\"\",editType:\"none\",description:s(\"hover text\")},showline:{valType:\"boolean\",dflt:!1,editType:\"ticks+layoutstyle\"},linecolor:{valType:\"color\",dflt:a.defaultLine,editType:\"layoutstyle\"},linewidth:{valType:\"number\",min:0,dflt:1,editType:\"ticks+layoutstyle\"},showgrid:{valType:\"boolean\",editType:\"ticks\"},gridcolor:{valType:\"color\",dflt:a.lightLine,editType:\"ticks\"},gridwidth:{valType:\"number\",min:0,dflt:1,editType:\"ticks\"},zeroline:{valType:\"boolean\",editType:\"ticks\"},zerolinecolor:{valType:\"color\",dflt:a.defaultLine,editType:\"ticks\"},zerolinewidth:{valType:\"number\",dflt:1,editType:\"ticks\"},showdividers:{valType:\"boolean\",dflt:!0,editType:\"ticks\"},dividercolor:{valType:\"color\",dflt:a.defaultLine,editType:\"ticks\"},dividerwidth:{valType:\"number\",dflt:1,editType:\"ticks\"},anchor:{valType:\"enumerated\",values:[\"free\",c.idRegex.x.toString(),c.idRegex.y.toString()],editType:\"plot\"},side:{valType:\"enumerated\",values:[\"top\",\"bottom\",\"left\",\"right\"],editType:\"plot\"},overlaying:{valType:\"enumerated\",values:[\"free\",c.idRegex.x.toString(),c.idRegex.y.toString()],editType:\"plot\"},layer:{valType:\"enumerated\",values:[\"above traces\",\"below traces\"],dflt:\"above traces\",editType:\"plot\"},domain:{valType:\"info_array\",items:[{valType:\"number\",min:0,max:1,editType:\"plot\"},{valType:\"number\",min:0,max:1,editType:\"plot\"}],dflt:[0,1],editType:\"plot\"},position:{valType:\"number\",min:0,max:1,dflt:0,editType:\"plot\"},categoryorder:{valType:\"enumerated\",values:[\"trace\",\"category ascending\",\"category descending\",\"array\",\"total ascending\",\"total descending\",\"min ascending\",\"min descending\",\"max ascending\",\"max descending\",\"sum ascending\",\"sum descending\",\"mean ascending\",\"mean descending\",\"median ascending\",\"median descending\"],dflt:\"trace\",editType:\"calc\"},categoryarray:{valType:\"data_array\",editType:\"calc\"},uirevision:{valType:\"any\",editType:\"none\"},editType:\"calc\",_deprecated:{autotick:{valType:\"boolean\",editType:\"ticks\"},title:{valType:\"string\",editType:\"ticks\"},titlefont:r({editType:\"ticks\"})}}},{\"../../components/color/attributes\":156,\"../../components/drawing/attributes\":178,\"../../constants/numerical\":267,\"../../lib/extend\":281,\"../../plot_api/plot_template\":323,\"../../plots/cartesian/axis_format_attributes\":337,\"../font_attributes\":365,\"./constants\":341}],350:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../components/color\"),i=e(\"../../components/fx/helpers\").isUnifiedHover,o=e(\"../../components/fx/hovermode_defaults\"),l=e(\"../../plot_api/plot_template\"),s=e(\"../layout_attributes\"),u=e(\"./layout_attributes\"),c=e(\"./type_defaults\"),f=e(\"./axis_defaults\"),d=e(\"./constraints\"),p=e(\"./position_defaults\"),h=e(\"./axis_ids\"),m=h.id2name,g=h.name2id,y=e(\"./constants\").AX_ID_PATTERN,v=e(\"../../registry\"),b=v.traceIs,x=v.getComponentMethod;function w(e,t,n){Array.isArray(e[t])?e[t].push(n):e[t]=[n]}t.exports=function(e,t,n){var v,_,k=t.autotypenumbers,T={},M={},S={},E={},C={},O={},A={},D={},P={},R={};for(v=0;v<n.length;v++){var L=n[v];if(b(L,\"cartesian\")||b(L,\"gl2d\")){var I,j;if(L.xaxis)I=m(L.xaxis),w(T,I,L);else if(L.xaxes)for(_=0;_<L.xaxes.length;_++)w(T,m(L.xaxes[_]),L);if(L.yaxis)j=m(L.yaxis),w(T,j,L);else if(L.yaxes)for(_=0;_<L.yaxes.length;_++)w(T,m(L.yaxes[_]),L);\"funnel\"===L.type?\"h\"===L.orientation?(I&&(M[I]=!0),j&&(A[j]=!0)):j&&(S[j]=!0):\"image\"===L.type?(j&&(D[j]=!0),I&&(D[I]=!0)):(j&&(C[j]=!0,O[j]=!0),b(L,\"carpet\")&&(\"carpet\"!==L.type||L._cheater)||I&&(E[I]=!0)),\"carpet\"===L.type&&L._cheater&&I&&(M[I]=!0),b(L,\"2dMap\")&&(P[I]=!0,P[j]=!0),b(L,\"oriented\")&&(R[\"h\"===L.orientation?j:I]=!0)}}var N=t._subplots,z=N.xaxis,F=N.yaxis,Z=r.simpleMap(z,m),B=r.simpleMap(F,m),q=Z.concat(B),H=a.background;z.length&&F.length&&(H=r.coerce(e,t,s,\"plot_bgcolor\"));var U,W,V,Y,G,$=a.combine(H,t.paper_bgcolor);function X(){var e=T[U]||[];G._traceIndices=e.map((function(e){return e._expandedIndex})),G._annIndices=[],G._shapeIndices=[],G._imgIndices=[],G._subplotsWith=[],G._counterAxes=[],G._name=G._attr=U,G._id=W}function K(e,t){return r.coerce(Y,G,u,e,t)}function J(e,t){return r.coerce2(Y,G,u,e,t)}function Q(e){return\"x\"===e?F:z}function ee(t,n){for(var r=\"x\"===t?Z:B,a=[],i=0;i<r.length;i++){var o=r[i];o===n||(e[o]||{}).overlaying||a.push(g(o))}return a}var te={x:Q(\"x\"),y:Q(\"y\")},ne=te.x.concat(te.y),re={},ae=[];function ie(){var e=Y.matches;y.test(e)&&-1===ne.indexOf(e)&&(re[e]=Y.type,ae=Object.keys(re))}var oe=o(e,t),le=i(oe);for(v=0;v<q.length;v++){U=q[v],W=g(U),V=U.charAt(0),r.isPlainObject(e[U])||(e[U]={}),Y=e[U],G=l.newContainer(t,U,V+\"axis\"),X();var se=\"x\"===V&&!E[U]&&M[U]||\"y\"===V&&!C[U]&&S[U],ue=\"y\"===V&&(!O[U]&&A[U]||D[U]),ce={letter:V,font:t.font,outerTicks:P[U],showGrid:!R[U],data:T[U]||[],bgColor:$,calendar:t.calendar,automargin:!0,visibleDflt:se,reverseDflt:ue,autotypenumbersDflt:k,splomStash:((t._splomAxes||{})[V]||{})[W]};K(\"uirevision\",t.uirevision),c(Y,G,K,ce),f(Y,G,K,ce,t);var fe=le&&V===oe.charAt(0),de=J(\"spikecolor\",le?G.color:void 0),pe=J(\"spikethickness\",le?1.5:void 0),he=J(\"spikedash\",le?\"dot\":void 0),me=J(\"spikemode\",le?\"across\":void 0),ge=J(\"spikesnap\");K(\"showspikes\",!!(fe||de||pe||he||me||ge))||(delete G.spikecolor,delete G.spikethickness,delete G.spikedash,delete G.spikemode,delete G.spikesnap),p(Y,G,K,{letter:V,counterAxes:te[V],overlayableAxes:ee(V,U),grid:t.grid}),K(\"title.standoff\"),ie(),G._input=Y}for(v=0;v<ae.length;){W=ae[v++],V=(U=m(W)).charAt(0),r.isPlainObject(e[U])||(e[U]={}),Y=e[U],G=l.newContainer(t,U,V+\"axis\"),X();var ye={letter:V,font:t.font,outerTicks:P[U],showGrid:!R[U],data:[],bgColor:$,calendar:t.calendar,automargin:!0,visibleDflt:!1,reverseDflt:!1,autotypenumbersDflt:k,splomStash:((t._splomAxes||{})[V]||{})[W]};K(\"uirevision\",t.uirevision),G.type=re[W]||\"linear\",f(Y,G,K,ye,t),p(Y,G,K,{letter:V,counterAxes:te[V],overlayableAxes:ee(V,U),grid:t.grid}),K(\"fixedrange\"),ie(),G._input=Y}var ve=x(\"rangeslider\",\"handleDefaults\"),be=x(\"rangeselector\",\"handleDefaults\");for(v=0;v<Z.length;v++)U=Z[v],Y=e[U],G=t[U],ve(e,t,U),\"date\"===G.type&&be(Y,G,t,B,G.calendar),K(\"fixedrange\");for(v=0;v<B.length;v++){U=B[v],Y=e[U],G=t[U];var xe=t[m(G.anchor)];K(\"fixedrange\",x(\"rangeslider\",\"isVisible\")(xe))}d.handleDefaults(e,t,{axIds:ne.concat(ae).sort(h.idSort),axHasImage:D})}},{\"../../components/color\":157,\"../../components/fx/helpers\":193,\"../../components/fx/hovermode_defaults\":196,\"../../lib\":287,\"../../plot_api/plot_template\":323,\"../../registry\":378,\"../layout_attributes\":369,\"./axis_defaults\":336,\"./axis_ids\":338,\"./constants\":341,\"./constraints\":342,\"./layout_attributes\":349,\"./position_defaults\":352,\"./type_defaults\":362}],351:[function(e,t,n){\"use strict\";var r=e(\"tinycolor2\").mix,a=e(\"../../components/color/attributes\").lightFraction,i=e(\"../../lib\");t.exports=function(e,t,n,o){var l=(o=o||{}).dfltColor;function s(n,r){return i.coerce2(e,t,o.attributes,n,r)}var u=s(\"linecolor\",l),c=s(\"linewidth\");n(\"showline\",o.showLine||!!u||!!c)||(delete t.linecolor,delete t.linewidth);var f=s(\"gridcolor\",r(l,o.bgColor,o.blend||a).toRgbString()),d=s(\"gridwidth\");if(n(\"showgrid\",o.showGrid||!!f||!!d)||(delete t.gridcolor,delete t.gridwidth),!o.noZeroLine){var p=s(\"zerolinecolor\",l),h=s(\"zerolinewidth\");n(\"zeroline\",o.showGrid||!!p||!!h)||(delete t.zerolinecolor,delete t.zerolinewidth)}}},{\"../../components/color/attributes\":156,\"../../lib\":287,tinycolor2:121}],352:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\");t.exports=function(e,t,n,i){var o,l,s,u,c=i.counterAxes||[],f=i.overlayableAxes||[],d=i.letter,p=i.grid;p&&(l=p._domains[d][p._axisMap[t._id]],o=p._anchors[t._id],l&&(s=p[d+\"side\"].split(\" \")[0],u=p.domain[d][\"right\"===s||\"top\"===s?1:0])),l=l||[0,1],o=o||(r(e.position)?\"free\":c[0]||\"free\"),s=s||(\"x\"===d?\"bottom\":\"left\"),u=u||0,\"free\"===a.coerce(e,t,{anchor:{valType:\"enumerated\",values:[\"free\"].concat(c),dflt:o}},\"anchor\")&&n(\"position\",u),a.coerce(e,t,{side:{valType:\"enumerated\",values:\"x\"===d?[\"bottom\",\"top\"]:[\"left\",\"right\"],dflt:s}},\"side\");var h=!1;if(f.length&&(h=a.coerce(e,t,{overlaying:{valType:\"enumerated\",values:[!1].concat(f),dflt:!1}},\"overlaying\")),!h){var m=n(\"domain\",l);m[0]>m[1]-1/4096&&(t.domain=l),a.noneOrAll(e.domain,t.domain,l)}return n(\"layer\"),t}},{\"../../lib\":287,\"fast-isnumeric\":33}],353:[function(e,t,n){\"use strict\";var r=e(\"./show_dflt\");t.exports=function(e,t,n,a,i){i||(i={});var o=i.tickSuffixDflt,l=r(e);n(\"tickprefix\")&&n(\"showtickprefix\",l),n(\"ticksuffix\",o)&&n(\"showticksuffix\",l)}},{\"./show_dflt\":357}],354:[function(e,t,n){\"use strict\";var r=e(\"../../constants/alignment\").FROM_BL;t.exports=function(e,t,n){void 0===n&&(n=r[e.constraintoward||\"center\"]);var a=[e.r2l(e.range[0]),e.r2l(e.range[1])],i=a[0]+(a[1]-a[0])*n;e.range=e._input.range=[e.l2r(i+(a[0]-i)*t),e.l2r(i+(a[1]-i)*t)],e.setScale()}},{\"../../constants/alignment\":262}],355:[function(e,t,n){\"use strict\";var r=e(\"polybooljs\"),a=e(\"../../registry\"),i=e(\"../../components/drawing\").dashStyle,o=e(\"../../components/color\"),l=e(\"../../components/fx\"),s=e(\"../../components/fx/helpers\").makeEventData,u=e(\"../../components/dragelement/helpers\"),c=u.freeMode,f=u.rectMode,d=u.drawMode,p=u.openMode,h=u.selectMode,m=e(\"../../components/shapes/draw_newshape/display_outlines\"),g=e(\"../../components/shapes/draw_newshape/helpers\").handleEllipse,y=e(\"../../components/shapes/draw_newshape/newshapes\"),v=e(\"../../lib\"),b=e(\"../../lib/polygon\"),x=e(\"../../lib/throttle\"),w=e(\"./axis_ids\").getFromId,_=e(\"../../lib/clear_gl_canvases\"),k=e(\"../../plot_api/subroutines\").redrawReglTraces,T=e(\"./constants\"),M=T.MINSELECT,S=b.filter,E=b.tester,C=e(\"./handle_outline\").clearSelect,O=e(\"./helpers\"),A=O.p2r,D=O.axValue,P=O.getTransform;function R(e,t,n,r,a,i,o){var l,s,u,c,f,d,h,g,y,v=t._hoverdata,b=t._fullLayout.clickmode.indexOf(\"event\")>-1,x=[];if(function(e){return e&&Array.isArray(e)&&!0!==e[0].hoverOnBox}(v)){N(e,t,i);var w=function(e,t){var n,r,a=e[0],i=-1,o=[];for(r=0;r<t.length;r++)if(n=t[r],a.fullData._expandedIndex===n.cd[0].trace._expandedIndex){if(!0===a.hoverOnBox)break;void 0!==a.pointNumber?i=a.pointNumber:void 0!==a.binNumber&&(i=a.binNumber,o=a.pointNumbers);break}return{pointNumber:i,pointNumbers:o,searchInfo:n}}(v,l=F(t,n,r,a));if(w.pointNumbers.length>0?function(e,t){var n,r,a,i=[];for(a=0;a<e.length;a++)(n=e[a]).cd[0].trace.selectedpoints&&n.cd[0].trace.selectedpoints.length>0&&i.push(n);if(1===i.length&&i[0]===t.searchInfo&&(r=t.searchInfo.cd[0].trace).selectedpoints.length===t.pointNumbers.length){for(a=0;a<t.pointNumbers.length;a++)if(r.selectedpoints.indexOf(t.pointNumbers[a])<0)return!1;return!0}return!1}(l,w):function(e){var t,n,r=0;for(n=0;n<e.length;n++)if((t=e[n].cd[0].trace).selectedpoints){if(t.selectedpoints.length>1)return!1;if((r+=t.selectedpoints.length)>1)return!1}return 1===r}(l)&&(d=Z(w))){for(o&&o.remove(),y=0;y<l.length;y++)(s=l[y])._module.selectPoints(s,!1);B(t,l),z(i),b&&t.emit(\"plotly_deselect\",null)}else{for(h=e.shiftKey&&(void 0!==d?d:Z(w)),u=function(e,t,n){return{pointNumber:e,searchInfo:t,subtract:n}}(w.pointNumber,w.searchInfo,h),c=j(i.selectionDefs.concat([u])),y=0;y<l.length;y++)if(f=q(l[y]._module.selectPoints(l[y],c),l[y]),x.length)for(var _=0;_<f.length;_++)x.push(f[_]);else x=f;if(B(t,l,g={points:x}),u&&i&&i.selectionDefs.push(u),o){var k=i.mergedPolygons,T=p(i.dragmode);m(H(k,T),o,i)}b&&t.emit(\"plotly_selected\",g)}}}function L(e){return\"pointNumber\"in e&&\"searchInfo\"in e}function I(e){return{xmin:0,xmax:0,ymin:0,ymax:0,pts:[],contains:function(t,n,r,a){var i=e.searchInfo.cd[0].trace._expandedIndex;return a.cd[0].trace._expandedIndex===i&&r===e.pointNumber},isRect:!1,degenerate:!1,subtract:e.subtract}}function j(e){for(var t=[],n=L(e[0])?0:e[0][0][0],r=n,a=L(e[0])?0:e[0][0][1],i=a,o=0;o<e.length;o++)if(L(e[o]))t.push(I(e[o]));else{var l=b.tester(e[o]);l.subtract=e[o].subtract,t.push(l),n=Math.min(n,l.xmin),r=Math.max(r,l.xmax),a=Math.min(a,l.ymin),i=Math.max(i,l.ymax)}return{xmin:n,xmax:r,ymin:a,ymax:i,pts:[],contains:function(e,n,r,a){for(var i=!1,o=0;o<t.length;o++)t[o].contains(e,n,r,a)&&(i=!1===t[o].subtract);return i},isRect:!1,degenerate:!1}}function N(e,t,n){t._fullLayout._drawing=!1;var r=t._fullLayout,a=n.plotinfo,i=n.dragmode,o=r._lastSelectedSubplot&&r._lastSelectedSubplot===a.id,l=(e.shiftKey||e.altKey)&&!(d(i)&&p(i));o&&l&&a.selection&&a.selection.selectionDefs&&!n.selectionDefs?(n.selectionDefs=a.selection.selectionDefs,n.mergedPolygons=a.selection.mergedPolygons):l&&a.selection||z(n),o||(C(t),r._lastSelectedSubplot=a.id)}function z(e){var t=e.dragmode,n=e.plotinfo,r=e.gd;if(r._fullLayout._activeShapeIndex>=0&&r._fullLayout._deactivateShape(r),d(t)){var i=r._fullLayout._zoomlayer.selectAll(\".select-outline-\"+n.id);if(i&&r._fullLayout._drawing){var o=y(i,e);o&&a.call(\"_guiRelayout\",r,{shapes:o}),r._fullLayout._drawing=!1}}n.selection={},n.selection.selectionDefs=e.selectionDefs=[],n.selection.mergedPolygons=e.mergedPolygons=[]}function F(e,t,n,r){var a,i,o,l=[],s=t.map((function(e){return e._id})),u=n.map((function(e){return e._id}));for(o=0;o<e.calcdata.length;o++)if(!0===(i=(a=e.calcdata[o])[0].trace).visible&&i._module&&i._module.selectPoints)if(!r||i.subplot!==r&&i.geo!==r)if(\"splom\"===i.type&&i._xaxes[s[0]]&&i._yaxes[u[0]]){var c=d(i._module,a,t[0],n[0]);c.scene=e._fullLayout._splomScenes[i.uid],l.push(c)}else if(\"sankey\"===i.type){var f=d(i._module,a,t[0],n[0]);l.push(f)}else{if(-1===s.indexOf(i.xaxis))continue;if(-1===u.indexOf(i.yaxis))continue;l.push(d(i._module,a,w(e,i.xaxis),w(e,i.yaxis)))}else l.push(d(i._module,a,t[0],n[0]));return l;function d(e,t,n,r){return{_module:e,cd:t,xaxis:n,yaxis:r}}}function Z(e){var t=e.searchInfo.cd[0].trace,n=e.pointNumber,r=e.pointNumbers,a=r.length>0?r[0]:n;return!!t.selectedpoints&&t.selectedpoints.indexOf(a)>-1}function B(e,t,n){var r,i,o,l;for(r=0;r<t.length;r++){var s=t[r].cd[0].trace._fullInput,u=e._fullLayout._tracePreGUI[s.uid]||{};void 0===u.selectedpoints&&(u.selectedpoints=s._input.selectedpoints||null)}if(n){var c=n.points||[];for(r=0;r<t.length;r++)(l=t[r].cd[0].trace)._input.selectedpoints=l._fullInput.selectedpoints=[],l._fullInput!==l&&(l.selectedpoints=[]);for(r=0;r<c.length;r++){var f=c[r],d=f.data,p=f.fullData;f.pointIndices?([].push.apply(d.selectedpoints,f.pointIndices),l._fullInput!==l&&[].push.apply(p.selectedpoints,f.pointIndices)):(d.selectedpoints.push(f.pointIndex),l._fullInput!==l&&p.selectedpoints.push(f.pointIndex))}}else for(r=0;r<t.length;r++)delete(l=t[r].cd[0].trace).selectedpoints,delete l._input.selectedpoints,l._fullInput!==l&&delete l._fullInput.selectedpoints;var h=!1;for(r=0;r<t.length;r++){l=(o=(i=t[r]).cd)[0].trace,a.traceIs(l,\"regl\")&&(h=!0);var m=i._module,g=m.styleOnSelect||m.style;g&&(g(e,o,o[0].node3),o[0].nodeRangePlot3&&g(e,o,o[0].nodeRangePlot3))}h&&(_(e),k(e))}function q(e,t){if(Array.isArray(e))for(var n=t.cd,r=t.cd[0].trace,a=0;a<e.length;a++)e[a]=s(e[a],r,n);return e}function H(e,t){for(var n=[],r=0;r<e.length;r++){n[r]=[];for(var a=0;a<e[r].length;a++){n[r][a]=[],n[r][a][0]=a?\"L\":\"M\";for(var i=0;i<e[r][a].length;i++)n[r][a].push(e[r][a][i])}t||n[r].push([\"Z\",n[r][0][1],n[r][0][2]])}return n}t.exports={prepSelect:function(e,t,n,a,s){var u=c(s),y=f(s),b=p(s),w=d(s),_=h(s),k=\"drawcircle\"===s,C=\"drawline\"===s||k,O=a.gd,L=O._fullLayout,I=L._zoomlayer,Z=a.element.getBoundingClientRect(),U=a.plotinfo,W=P(U),V=t-Z.left,Y=n-Z.top;L._calcInverseTransform(O);var G=v.apply3DTransform(L._invTransform)(V,Y);V=G[0],Y=G[1];var $,X,K,J,Q,ee,te,ne=L._invScaleX,re=L._invScaleY,ae=V,ie=Y,oe=\"M\"+V+\",\"+Y,le=a.xaxes[0]._length,se=a.yaxes[0]._length,ue=a.xaxes.concat(a.yaxes),ce=e.altKey&&!(d(s)&&b);N(e,O,a),u&&($=S([[V,Y]],T.BENDPX));var fe=I.selectAll(\"path.select-outline-\"+U.id).data(w?[0]:[1,2]),de=L.newshape;fe.enter().append(\"path\").attr(\"class\",(function(e){return\"select-outline select-outline-\"+e+\" select-outline-\"+U.id})).style(w?{opacity:de.opacity/2,fill:b?void 0:de.fillcolor,stroke:de.line.color,\"stroke-dasharray\":i(de.line.dash,de.line.width),\"stroke-width\":de.line.width+\"px\"}:{}).attr(\"fill-rule\",de.fillrule).classed(\"cursor-move\",!!w).attr(\"transform\",W).attr(\"d\",oe+\"Z\");var pe,he=I.append(\"path\").attr(\"class\",\"zoombox-corners\").style({fill:o.background,stroke:o.defaultLine,\"stroke-width\":1}).attr(\"transform\",W).attr(\"d\",\"M0,0Z\"),me=L._uid+T.SELECTID,ge=[],ye=F(O,a.xaxes,a.yaxes,a.subplot);function ve(e,t){return e-t}pe=U.fillRangeItems?U.fillRangeItems:y?function(e,t){var n=e.range={};for(Q=0;Q<ue.length;Q++){var r=ue[Q],a=r._id.charAt(0);n[r._id]=[A(r,t[a+\"min\"]),A(r,t[a+\"max\"])].sort(ve)}}:function(e,t,n){var r=e.lassoPoints={};for(Q=0;Q<ue.length;Q++){var a=ue[Q];r[a._id]=n.filtered.map(D(a))}},a.moveFn=function(e,t){ae=Math.max(0,Math.min(le,ne*e+V)),ie=Math.max(0,Math.min(se,re*t+Y));var n=Math.abs(ae-V),i=Math.abs(ie-Y);if(y){var o,l,s;if(_){var c=L.selectdirection;switch(o=\"any\"===c?i<Math.min(.6*n,M)?\"h\":n<Math.min(.6*i,M)?\"v\":\"d\":c){case\"h\":l=k?se/2:0,s=se;break;case\"v\":l=k?le/2:0,s=le}}if(w)switch(L.newshape.drawdirection){case\"vertical\":o=\"h\",l=k?se/2:0,s=se;break;case\"horizontal\":o=\"v\",l=k?le/2:0,s=le;break;case\"ortho\":n<i?(o=\"h\",l=Y,s=ie):(o=\"v\",l=V,s=ae);break;default:o=\"d\"}\"h\"===o?((J=C?g(k,[ae,l],[ae,s]):[[V,l],[V,s],[ae,s],[ae,l]]).xmin=C?ae:Math.min(V,ae),J.xmax=C?ae:Math.max(V,ae),J.ymin=Math.min(l,s),J.ymax=Math.max(l,s),he.attr(\"d\",\"M\"+J.xmin+\",\"+(Y-M)+\"h-4v\"+2*M+\"h4ZM\"+(J.xmax-1)+\",\"+(Y-M)+\"h4v\"+2*M+\"h-4Z\")):\"v\"===o?((J=C?g(k,[l,ie],[s,ie]):[[l,Y],[l,ie],[s,ie],[s,Y]]).xmin=Math.min(l,s),J.xmax=Math.max(l,s),J.ymin=C?ie:Math.min(Y,ie),J.ymax=C?ie:Math.max(Y,ie),he.attr(\"d\",\"M\"+(V-M)+\",\"+J.ymin+\"v-4h\"+2*M+\"v4ZM\"+(V-M)+\",\"+(J.ymax-1)+\"v4h\"+2*M+\"v-4Z\")):\"d\"===o&&((J=C?g(k,[V,Y],[ae,ie]):[[V,Y],[V,ie],[ae,ie],[ae,Y]]).xmin=Math.min(V,ae),J.xmax=Math.max(V,ae),J.ymin=Math.min(Y,ie),J.ymax=Math.max(Y,ie),he.attr(\"d\",\"M0,0Z\"))}else u&&($.addPt([ae,ie]),J=$.filtered);a.selectionDefs&&a.selectionDefs.length?(K=function(e,t,n){return n?r.difference({regions:e,inverted:!1},{regions:[t],inverted:!1}).regions:r.union({regions:e,inverted:!1},{regions:[t],inverted:!1}).regions}(a.mergedPolygons,J,ce),J.subtract=ce,X=j(a.selectionDefs.concat([J]))):(K=[J],X=E(J)),m(H(K,b),fe,a),_&&x.throttle(me,T.SELECTDELAY,(function(){var e;ge=[];var t,n=[];for(Q=0;Q<ye.length;Q++)if(t=(ee=ye[Q])._module.selectPoints(ee,X),n.push(t),e=q(t,ee),ge.length)for(var r=0;r<e.length;r++)ge.push(e[r]);else ge=e;B(O,ye,te={points:ge}),pe(te,J,$),a.gd.emit(\"plotly_selecting\",te)}))},a.clickFn=function(e,t){if(he.remove(),O._fullLayout._activeShapeIndex>=0)O._fullLayout._deactivateShape(O);else if(!w){var n=L.clickmode;x.done(me).then((function(){if(x.clear(me),2===e){for(fe.remove(),Q=0;Q<ye.length;Q++)(ee=ye[Q])._module.selectPoints(ee,!1);B(O,ye),z(a),O.emit(\"plotly_deselect\",null)}else n.indexOf(\"select\")>-1&&R(t,O,a.xaxes,a.yaxes,a.subplot,a,fe),\"event\"===n&&O.emit(\"plotly_selected\",void 0);l.click(O,t)})).catch(v.error)}},a.doneFn=function(){he.remove(),x.done(me).then((function(){x.clear(me),a.gd.emit(\"plotly_selected\",te),J&&a.selectionDefs&&(J.subtract=ce,a.selectionDefs.push(J),a.mergedPolygons.length=0,[].push.apply(a.mergedPolygons,K)),a.doneFnCompleted&&a.doneFnCompleted(ge)})).catch(v.error),w&&z(a)}},clearSelect:C,clearSelectionsCache:z,selectOnClick:R}},{\"../../components/color\":157,\"../../components/dragelement/helpers\":175,\"../../components/drawing\":179,\"../../components/fx\":197,\"../../components/fx/helpers\":193,\"../../components/shapes/draw_newshape/display_outlines\":245,\"../../components/shapes/draw_newshape/helpers\":246,\"../../components/shapes/draw_newshape/newshapes\":247,\"../../lib\":287,\"../../lib/clear_gl_canvases\":275,\"../../lib/polygon\":299,\"../../lib/throttle\":311,\"../../plot_api/subroutines\":324,\"../../registry\":378,\"./axis_ids\":338,\"./constants\":341,\"./handle_outline\":345,\"./helpers\":346,polybooljs:75}],356:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"d3-time-format\").utcFormat,i=e(\"../../lib\"),o=i.numberFormat,l=e(\"fast-isnumeric\"),s=i.cleanNumber,u=i.ms2DateTime,c=i.dateTime2ms,f=i.ensureNumber,d=i.isArrayOrTypedArray,p=e(\"../../constants/numerical\"),h=p.FP_SAFE,m=p.BADNUM,g=p.LOG_CLIP,y=p.ONEWEEK,v=p.ONEDAY,b=p.ONEHOUR,x=p.ONEMIN,w=p.ONESEC,_=e(\"./axis_ids\"),k=e(\"./constants\"),T=k.HOUR_PATTERN,M=k.WEEKDAY_PATTERN;function S(e){return Math.pow(10,e)}function E(e){return null!=e}t.exports=function(e,t){t=t||{};var n=e._id||\"x\",p=n.charAt(0);function C(t,n){if(t>0)return Math.log(t)/Math.LN10;if(t<=0&&n&&e.range&&2===e.range.length){var r=e.range[0],a=e.range[1];return.5*(r+a-2*g*Math.abs(r-a))}return m}function O(t,n,r,a){if((a||{}).msUTC&&l(t))return+t;var o=c(t,r||e.calendar);if(o===m){if(!l(t))return m;t=+t;var s=Math.floor(10*i.mod(t+.05,1)),u=Math.round(t-s/10);o=c(new Date(u))+s/10}return o}function A(t,n,r){return u(t,n,r||e.calendar)}function D(t){return e._categories[Math.round(t)]}function P(t){if(E(t)){if(void 0===e._categoriesMap&&(e._categoriesMap={}),void 0!==e._categoriesMap[t])return e._categoriesMap[t];e._categories.push(\"number\"==typeof t?String(t):t);var n=e._categories.length-1;return e._categoriesMap[t]=n,n}return m}function R(t){if(e._categoriesMap)return e._categoriesMap[t]}function L(e){var t=R(e);return void 0!==t?t:l(e)?+e:void 0}function I(e){return l(e)?+e:R(e)}function j(e,t,n){return r.round(n+t*e,2)}function N(e,t,n){return(e-n)/t}var z=function(t){return l(t)?j(t,e._m,e._b):m},F=function(t){return N(t,e._m,e._b)};if(e.rangebreaks){var Z=\"y\"===p;z=function(t){if(!l(t))return m;var n=e._rangebreaks.length;if(!n)return j(t,e._m,e._b);var r=Z;e.range[0]>e.range[1]&&(r=!r);for(var a=r?-1:1,i=a*t,o=0,s=0;s<n;s++){var u=a*e._rangebreaks[s].min,c=a*e._rangebreaks[s].max;if(i<u)break;if(!(i>c)){o=i<(u+c)/2?s:s+1;break}o=s+1}var f=e._B[o]||0;return isFinite(f)?j(t,e._m2,f):0},F=function(t){var n=e._rangebreaks.length;if(!n)return N(t,e._m,e._b);for(var r=0,a=0;a<n&&!(t<e._rangebreaks[a].pmin);a++)t>e._rangebreaks[a].pmax&&(r=a+1);return N(t,e._m2,e._B[r])}}e.c2l=\"log\"===e.type?C:f,e.l2c=\"log\"===e.type?S:f,e.l2p=z,e.p2l=F,e.c2p=\"log\"===e.type?function(e,t){return z(C(e,t))}:z,e.p2c=\"log\"===e.type?function(e){return S(F(e))}:F,-1!==[\"linear\",\"-\"].indexOf(e.type)?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=s,e.c2d=e.c2r=e.l2d=e.l2r=f,e.d2p=e.r2p=function(t){return e.l2p(s(t))},e.p2d=e.p2r=F,e.cleanPos=f):\"log\"===e.type?(e.d2r=e.d2l=function(e,t){return C(s(e),t)},e.r2d=e.r2c=function(e){return S(s(e))},e.d2c=e.r2l=s,e.c2d=e.l2r=f,e.c2r=C,e.l2d=S,e.d2p=function(t,n){return e.l2p(e.d2r(t,n))},e.p2d=function(e){return S(F(e))},e.r2p=function(t){return e.l2p(s(t))},e.p2r=F,e.cleanPos=f):\"date\"===e.type?(e.d2r=e.r2d=i.identity,e.d2c=e.r2c=e.d2l=e.r2l=O,e.c2d=e.c2r=e.l2d=e.l2r=A,e.d2p=e.r2p=function(t,n,r){return e.l2p(O(t,0,r))},e.p2d=e.p2r=function(e,t,n){return A(F(e),t,n)},e.cleanPos=function(t){return i.cleanDate(t,m,e.calendar)}):\"category\"===e.type?(e.d2c=e.d2l=P,e.r2d=e.c2d=e.l2d=D,e.d2r=e.d2l_noadd=L,e.r2c=function(t){var n=I(t);return void 0!==n?n:e.fraction2r(.5)},e.l2r=e.c2r=f,e.r2l=I,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return D(F(e))},e.r2p=e.d2p,e.p2r=F,e.cleanPos=function(e){return\"string\"==typeof e&&\"\"!==e?e:f(e)}):\"multicategory\"===e.type&&(e.r2d=e.c2d=e.l2d=D,e.d2r=e.d2l_noadd=L,e.r2c=function(t){var n=L(t);return void 0!==n?n:e.fraction2r(.5)},e.r2c_just_indices=R,e.l2r=e.c2r=f,e.r2l=L,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return D(F(e))},e.r2p=e.d2p,e.p2r=F,e.cleanPos=function(e){return Array.isArray(e)||\"string\"==typeof e&&\"\"!==e?e:f(e)},e.setupMultiCategory=function(r){var a,o,l=e._traceIndices,s=e._matchGroup;if(s&&0===e._categories.length)for(var u in s)if(u!==n){var c=t[_.id2name(u)];l=l.concat(c._traceIndices)}var f=[[0,{}],[0,{}]],h=[];for(a=0;a<l.length;a++){var m=r[l[a]];if(p in m){var g=m[p],y=m._length||i.minRowLength(g);if(d(g[0])&&d(g[1]))for(o=0;o<y;o++){var v=g[0][o],b=g[1][o];E(v)&&E(b)&&(h.push([v,b]),v in f[0][1]||(f[0][1][v]=f[0][0]++),b in f[1][1]||(f[1][1][b]=f[1][0]++))}}}for(h.sort((function(e,t){var n=f[0][1],r=n[e[0]]-n[t[0]];if(r)return r;var a=f[1][1];return a[e[1]]-a[t[1]]})),a=0;a<h.length;a++)P(h[a])}),e.fraction2r=function(t){var n=e.r2l(e.range[0]),r=e.r2l(e.range[1]);return e.l2r(n+t*(r-n))},e.r2fraction=function(t){var n=e.r2l(e.range[0]),r=e.r2l(e.range[1]);return(e.r2l(t)-n)/(r-n)},e.cleanRange=function(t,n){n||(n={}),t||(t=\"range\");var r,a,o=i.nestedProperty(e,t).get();if(a=(a=\"date\"===e.type?i.dfltRange(e.calendar):\"y\"===p?k.DFLTRANGEY:\"realaxis\"===e._name?[0,1]:n.dfltRange||k.DFLTRANGEX).slice(),\"tozero\"!==e.rangemode&&\"nonnegative\"!==e.rangemode||(a[0]=0),o&&2===o.length)for(\"date\"!==e.type||e.autorange||(o[0]=i.cleanDate(o[0],m,e.calendar),o[1]=i.cleanDate(o[1],m,e.calendar)),r=0;r<2;r++)if(\"date\"===e.type){if(!i.isDateTime(o[r],e.calendar)){e[t]=a;break}if(e.r2l(o[0])===e.r2l(o[1])){var s=i.constrain(e.r2l(o[0]),i.MIN_MS+1e3,i.MAX_MS-1e3);o[0]=e.l2r(s-1e3),o[1]=e.l2r(s+1e3);break}}else{if(!l(o[r])){if(!l(o[1-r])){e[t]=a;break}o[r]=o[1-r]*(r?10:.1)}if(o[r]<-h?o[r]=-h:o[r]>h&&(o[r]=h),o[0]===o[1]){var u=Math.max(1,Math.abs(1e-6*o[0]));o[0]-=u,o[1]+=u}}else i.nestedProperty(e,t).set(a)},e.setScale=function(n){var r=t._size;if(e.overlaying){var a=_.getFromId({_fullLayout:t},e.overlaying);e.domain=a.domain}var i=n&&e._r?\"_r\":\"range\",o=e.calendar;e.cleanRange(i);var l,s,u=e.r2l(e[i][0],o),c=e.r2l(e[i][1],o),f=\"y\"===p;if(f?(e._offset=r.t+(1-e.domain[1])*r.h,e._length=r.h*(e.domain[1]-e.domain[0]),e._m=e._length/(u-c),e._b=-e._m*c):(e._offset=r.l+e.domain[0]*r.w,e._length=r.w*(e.domain[1]-e.domain[0]),e._m=e._length/(c-u),e._b=-e._m*u),e._rangebreaks=[],e._lBreaks=0,e._m2=0,e._B=[],e.rangebreaks&&(e._rangebreaks=e.locateBreaks(Math.min(u,c),Math.max(u,c)),e._rangebreaks.length)){for(l=0;l<e._rangebreaks.length;l++)s=e._rangebreaks[l],e._lBreaks+=Math.abs(s.max-s.min);var d=f;u>c&&(d=!d),d&&e._rangebreaks.reverse();var h=d?-1:1;for(e._m2=h*e._length/(Math.abs(c-u)-e._lBreaks),e._B.push(-e._m2*(f?c:u)),l=0;l<e._rangebreaks.length;l++)s=e._rangebreaks[l],e._B.push(e._B[e._B.length-1]-h*e._m2*(s.max-s.min));for(l=0;l<e._rangebreaks.length;l++)(s=e._rangebreaks[l]).pmin=z(s.min),s.pmax=z(s.max)}if(!isFinite(e._m)||!isFinite(e._b)||e._length<0)throw t._replotting=!1,new Error(\"Something went wrong with axis scaling\")},e.maskBreaks=function(t){var n,r,a,o,l,u=e.rangebreaks||[];u._cachedPatterns||(u._cachedPatterns=u.map((function(t){return t.enabled&&t.bounds?i.simpleMap(t.bounds,t.pattern?s:e.d2c):null}))),u._cachedValues||(u._cachedValues=u.map((function(t){return t.enabled&&t.values?i.simpleMap(t.values,e.d2c).sort(i.sorterAsc):null})));for(var c=0;c<u.length;c++){var f=u[c];if(f.enabled)if(f.bounds){var d=f.pattern;switch(r=(n=u._cachedPatterns[c])[0],a=n[1],d){case M:o=(l=new Date(t)).getUTCDay(),r>a&&(a+=7,o<r&&(o+=7));break;case T:o=(l=new Date(t)).getUTCHours()+(l.getUTCMinutes()/60+l.getUTCSeconds()/3600+l.getUTCMilliseconds()/36e5),r>a&&(a+=24,o<r&&(o+=24));break;case\"\":o=t}if(o>=r&&o<a)return m}else for(var p=u._cachedValues[c],h=0;h<p.length;h++)if(a=(r=p[h])+f.dvalue,t>=r&&t<a)return m}return t},e.locateBreaks=function(t,n){var r,a,o,l,u=[];if(!e.rangebreaks)return u;var c=e.rangebreaks.slice().sort((function(e,t){return e.pattern===M&&t.pattern===T?-1:t.pattern===M&&e.pattern===T?1:0})),f=function(e,r){if((e=i.constrain(e,t,n))!==(r=i.constrain(r,t,n))){for(var a=!0,o=0;o<u.length;o++){var l=u[o];e<l.max&&r>=l.min&&(e<l.min&&(l.min=e),r>l.max&&(l.max=r),a=!1)}a&&u.push({min:e,max:r})}};for(r=0;r<c.length;r++){var d=c[r];if(d.enabled)if(d.bounds){var p=t,h=n;d.pattern&&(p=Math.floor(p)),o=(a=i.simpleMap(d.bounds,d.pattern?s:e.r2l))[0],l=a[1];var m,g,_=new Date(p);switch(d.pattern){case M:g=y,m=(l-o+(l<o?7:0))*v,p+=o*v-(_.getUTCDay()*v+_.getUTCHours()*b+_.getUTCMinutes()*x+_.getUTCSeconds()*w+_.getUTCMilliseconds());break;case T:g=v,m=(l-o+(l<o?24:0))*b,p+=o*b-(_.getUTCHours()*b+_.getUTCMinutes()*x+_.getUTCSeconds()*w+_.getUTCMilliseconds());break;default:p=Math.min(a[0],a[1]),m=g=(h=Math.max(a[0],a[1]))-p}for(var k=p;k<h;k+=g)f(k,k+m)}else for(var S=i.simpleMap(d.values,e.d2c),E=0;E<S.length;E++)f(o=S[E],l=o+d.dvalue)}return u.sort((function(e,t){return e.min-t.min})),u},e.makeCalcdata=function(t,n,r){var a,o,l,s,u=e.type,c=\"date\"===u&&t[n+\"calendar\"];if(n in t){if(a=t[n],s=t._length||i.minRowLength(a),i.isTypedArray(a)&&(\"linear\"===u||\"log\"===u)){if(s===a.length)return a;if(a.subarray)return a.subarray(0,s)}if(\"multicategory\"===u)return function(e,t){for(var n=new Array(t),r=0;r<t;r++){var a=(e[0]||[])[r],i=(e[1]||[])[r];n[r]=R([a,i])}return n}(a,s);for(o=new Array(s),l=0;l<s;l++)o[l]=e.d2c(a[l],0,c,r)}else{var f=n+\"0\"in t?e.d2c(t[n+\"0\"],0,c):0,d=t[\"d\"+n]?Number(t[\"d\"+n]):1;for(a=t[{x:\"y\",y:\"x\"}[n]],s=t._length||a.length,o=new Array(s),l=0;l<s;l++)o[l]=f+l*d}if(e.rangebreaks)for(l=0;l<s;l++)o[l]=e.maskBreaks(o[l]);return o},e.isValidRange=function(t){return Array.isArray(t)&&2===t.length&&l(e.r2l(t[0]))&&l(e.r2l(t[1]))},e.isPtWithinRange=function(t,n){var r=e.c2l(t[p],null,n),a=e.r2l(e.range[0]),i=e.r2l(e.range[1]);return a<i?a<=r&&r<=i:i<=r&&r<=a},e._emptyCategories=function(){e._categories=[],e._categoriesMap={}},e.clearCalc=function(){var n=e._matchGroup;if(n){var r=null,a=null;for(var i in n){var o=t[_.id2name(i)];if(o._categories){r=o._categories,a=o._categoriesMap;break}}r&&a?(e._categories=r,e._categoriesMap=a):e._emptyCategories()}else e._emptyCategories();if(e._initialCategories)for(var l=0;l<e._initialCategories.length;l++)P(e._initialCategories[l])},e.sortByInitialCategories=function(){var r=[];if(e._emptyCategories(),e._initialCategories)for(var a=0;a<e._initialCategories.length;a++)P(e._initialCategories[a]);r=r.concat(e._traceIndices);var i=e._matchGroup;for(var o in i)if(n!==o){var l=t[_.id2name(o)];l._categories=e._categories,l._categoriesMap=e._categoriesMap,r=r.concat(l._traceIndices)}return r};var B=t._d3locale;\"date\"===e.type&&(e._dateFormat=B?B.timeFormat:a,e._extraFormat=t._extraFormat),e._separators=t.separators,e._numFormat=B?B.numberFormat:o,delete e._minDtick,delete e._forceTick0}},{\"../../constants/numerical\":267,\"../../lib\":287,\"./axis_ids\":338,\"./constants\":341,\"@plotly/d3\":20,\"d3-time-format\":30,\"fast-isnumeric\":33}],357:[function(e,t,n){\"use strict\";t.exports=function(e){var t=[\"showexponent\",\"showtickprefix\",\"showticksuffix\"].filter((function(t){return void 0!==e[t]}));if(t.every((function(n){return e[n]===e[t[0]]}))||1===t.length)return e[t[0]]}},{}],358:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../components/color\").contrast,i=e(\"./layout_attributes\"),o=e(\"./show_dflt\"),l=e(\"../array_container_defaults\");function s(e,t){function n(n,a){return r.coerce(e,t,i.tickformatstops,n,a)}n(\"enabled\")&&(n(\"dtickrange\"),n(\"value\"))}t.exports=function(e,t,n,u,c){c||(c={});var f=o(e);if(n(\"showticklabels\")){var d=c.font||{},p=t.color,h=-1!==(t.ticklabelposition||\"\").indexOf(\"inside\")?a(c.bgColor):p&&p!==i.color.dflt?p:d.color;if(r.coerceFont(n,\"tickfont\",{family:d.family,size:d.size,color:h}),c.noTicklabelstep||\"multicategory\"===u||\"log\"===u||n(\"ticklabelstep\"),c.noAng||n(\"tickangle\"),\"category\"!==u){var m=n(\"tickformat\");l(e,t,{name:\"tickformatstops\",inclusionAttr:\"enabled\",handleItemDefaults:s}),t.tickformatstops.length||delete t.tickformatstops,c.noExp||m||\"date\"===u||(n(\"showexponent\",f),n(\"exponentformat\"),n(\"minexponent\"),n(\"separatethousands\"))}}}},{\"../../components/color\":157,\"../../lib\":287,\"../array_container_defaults\":329,\"./layout_attributes\":349,\"./show_dflt\":357}],359:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./layout_attributes\");t.exports=function(e,t,n,i){var o=r.coerce2(e,t,a,\"ticklen\"),l=r.coerce2(e,t,a,\"tickwidth\"),s=r.coerce2(e,t,a,\"tickcolor\",t.color);n(\"ticks\",i.outerTicks||o||l||s?\"outside\":\"\")||(delete t.ticklen,delete t.tickwidth,delete t.tickcolor)}},{\"../../lib\":287,\"./layout_attributes\":349}],360:[function(e,t,n){\"use strict\";var r=e(\"./clean_ticks\"),a=e(\"../../lib\").isArrayOrTypedArray;t.exports=function(e,t,n,i){function o(n){var r=e[n];return void 0!==r?r:(t._template||{})[n]}var l=o(\"tick0\"),s=o(\"dtick\"),u=o(\"tickvals\"),c=n(\"tickmode\",a(u)?\"array\":s?\"linear\":\"auto\");if(\"auto\"===c)n(\"nticks\");else if(\"linear\"===c){var f=t.dtick=r.dtick(s,i);t.tick0=r.tick0(l,i,t.calendar,f)}else\"multicategory\"!==i&&(void 0===n(\"tickvals\")?t.tickmode=\"auto\":n(\"ticktext\"))}},{\"../../lib\":287,\"./clean_ticks\":340}],361:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../registry\"),i=e(\"../../lib\"),o=e(\"../../components/drawing\"),l=e(\"./axes\");t.exports=function(e,t,n,s){var u=e._fullLayout;if(0!==t.length){var c,f,d,p;s&&(c=s());var h=r.ease(n.easing);return e._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(p),p=null,function(){for(var n={},r=0;r<t.length;r++){var i=t[r],o=i.plotinfo.xaxis,l=i.plotinfo.yaxis;i.xr0&&(n[o._name+\".range\"]=i.xr0.slice()),i.yr0&&(n[l._name+\".range\"]=i.yr0.slice())}return a.call(\"relayout\",e,n).then((function(){for(var e=0;e<t.length;e++)m(t[e].plotinfo)}))}()})),f=Date.now(),p=window.requestAnimationFrame((function r(){d=Date.now();for(var i=Math.min(1,(d-f)/n.duration),o=h(i),l=0;l<t.length;l++)g(t[l],o);d-f>n.duration?(function(){for(var n={},r=0;r<t.length;r++){var i=t[r],o=i.plotinfo.xaxis,l=i.plotinfo.yaxis;i.xr1&&(n[o._name+\".range\"]=i.xr1.slice()),i.yr1&&(n[l._name+\".range\"]=i.yr1.slice())}c&&c(),a.call(\"relayout\",e,n).then((function(){for(var e=0;e<t.length;e++)m(t[e].plotinfo)}))}(),p=window.cancelAnimationFrame(r)):p=window.requestAnimationFrame(r)})),Promise.resolve()}function m(e){var t=e.xaxis,n=e.yaxis;u._defs.select(\"#\"+e.clipId+\"> rect\").call(o.setTranslate,0,0).call(o.setScale,1,1),e.plot.call(o.setTranslate,t._offset,n._offset).call(o.setScale,1,1);var r=e.plot.selectAll(\".scatterlayer .trace\");r.selectAll(\".point\").call(o.setPointGroupScale,1,1),r.selectAll(\".textpoint\").call(o.setTextPointsScale,1,1),r.call(o.hideOutsideRangePoints,e)}function g(t,n){var r=t.plotinfo,a=r.xaxis,s=r.yaxis,u=a._length,c=s._length,f=!!t.xr1,d=!!t.yr1,p=[];if(f){var h=i.simpleMap(t.xr0,a.r2l),m=i.simpleMap(t.xr1,a.r2l),g=h[1]-h[0],y=m[1]-m[0];p[0]=(h[0]*(1-n)+n*m[0]-h[0])/(h[1]-h[0])*u,p[2]=u*(1-n+n*y/g),a.range[0]=a.l2r(h[0]*(1-n)+n*m[0]),a.range[1]=a.l2r(h[1]*(1-n)+n*m[1])}else p[0]=0,p[2]=u;if(d){var v=i.simpleMap(t.yr0,s.r2l),b=i.simpleMap(t.yr1,s.r2l),x=v[1]-v[0],w=b[1]-b[0];p[1]=(v[1]*(1-n)+n*b[1]-v[1])/(v[0]-v[1])*c,p[3]=c*(1-n+n*w/x),s.range[0]=a.l2r(v[0]*(1-n)+n*b[0]),s.range[1]=s.l2r(v[1]*(1-n)+n*b[1])}else p[1]=0,p[3]=c;l.drawOne(e,a,{skipTitle:!0}),l.drawOne(e,s,{skipTitle:!0}),l.redrawComponents(e,[a._id,s._id]);var _=f?u/p[2]:1,k=d?c/p[3]:1,T=f?p[0]:0,M=d?p[1]:0,S=f?p[0]/p[2]*u:0,E=d?p[1]/p[3]*c:0,C=a._offset-S,O=s._offset-E;r.clipRect.call(o.setTranslate,T,M).call(o.setScale,1/_,1/k),r.plot.call(o.setTranslate,C,O).call(o.setScale,_,k),o.setPointGroupScale(r.zoomScalePts,1/_,1/k),o.setTextPointsScale(r.zoomScaleTxt,1/_,1/k)}l.redrawComponents(e)}},{\"../../components/drawing\":179,\"../../lib\":287,\"../../registry\":378,\"./axes\":334,\"@plotly/d3\":20}],362:[function(e,t,n){\"use strict\";var r=e(\"../../registry\").traceIs,a=e(\"./axis_autotype\");function i(e){return{v:\"x\",h:\"y\"}[e.orientation||\"v\"]}function o(e,t){var n=i(e),a=r(e,\"box-violin\"),o=r(e._fullInput||{},\"candlestick\");return a&&!o&&t===n&&void 0===e[n]&&void 0===e[n+\"0\"]}t.exports=function(e,t,n,l){n(\"autotypenumbers\",l.autotypenumbersDflt),\"-\"===n(\"type\",(l.splomStash||{}).type)&&(function(e,t){if(\"-\"===e.type){var n,l=e._id,s=l.charAt(0);-1!==l.indexOf(\"scene\")&&(l=s);var u=function(e,t,n){for(var r=0;r<e.length;r++){var a=e[r];if(\"splom\"===a.type&&a._length>0&&(a[\"_\"+n+\"axes\"]||{})[t])return a;if((a[n+\"axis\"]||n)===t){if(o(a,n))return a;if((a[n]||[]).length||a[n+\"0\"])return a}}}(t,l,s);if(u)if(\"histogram\"!==u.type||s!=={v:\"y\",h:\"x\"}[u.orientation||\"v\"]){var c=s+\"calendar\",f=u[c],d={noMultiCategory:!r(u,\"cartesian\")||r(u,\"noMultiCategory\")};if(\"box\"===u.type&&u._hasPreCompStats&&s==={h:\"x\",v:\"y\"}[u.orientation||\"v\"]&&(d.noMultiCategory=!0),d.autotypenumbers=e.autotypenumbers,o(u,s)){var p=i(u),h=[];for(n=0;n<t.length;n++){var m=t[n];r(m,\"box-violin\")&&(m[s+\"axis\"]||s)===l&&(void 0!==m[p]?h.push(m[p][0]):void 0!==m.name?h.push(m.name):h.push(\"text\"),m[c]!==f&&(f=void 0))}e.type=a(h,f,d)}else if(\"splom\"===u.type){var g=u.dimensions[u._axesDim[l]];g.visible&&(e.type=a(g.values,f,d))}else e.type=a(u[s]||[u[s+\"0\"]],f,d)}else e.type=\"linear\"}}(t,l.data),\"-\"===t.type?t.type=\"linear\":e.type=t.type)}},{\"../../registry\":378,\"./axis_autotype\":335}],363:[function(e,t,n){\"use strict\";var r=e(\"../registry\"),a=e(\"../lib\");function i(e,t,n){var r,i,o,l=!1;if(\"data\"===t.type)r=e._fullData[null!==t.traces?t.traces[0]:0];else{if(\"layout\"!==t.type)return!1;r=e._fullLayout}return i=a.nestedProperty(r,t.prop).get(),(o=n[t.type]=n[t.type]||{}).hasOwnProperty(t.prop)&&o[t.prop]!==i&&(l=!0),o[t.prop]=i,{changed:l,value:i}}function o(e,t){var n=[],r=t[0],i={};if(\"string\"==typeof r)i[r]=t[1];else{if(!a.isPlainObject(r))return n;i=r}return s(i,(function(e,t,r){n.push({type:\"layout\",prop:e,value:r})}),\"\",0),n}function l(e,t){var n,r,i,o,l=[];if(r=t[0],i=t[1],n=t[2],o={},\"string\"==typeof r)o[r]=i;else{if(!a.isPlainObject(r))return l;o=r,void 0===n&&(n=i)}return void 0===n&&(n=null),s(o,(function(t,r,a){var i,o;if(Array.isArray(a)){o=a.slice();var s=Math.min(o.length,e.data.length);n&&(s=Math.min(s,n.length)),i=[];for(var u=0;u<s;u++)i[u]=n?n[u]:u}else o=a,i=n?n.slice():null;if(null===i)Array.isArray(o)&&(o=o[0]);else if(Array.isArray(i)){if(!Array.isArray(o)){var c=o;o=[];for(var f=0;f<i.length;f++)o[f]=c}o.length=Math.min(i.length,o.length)}l.push({type:\"data\",prop:t,traces:i,value:o})}),\"\",0),l}function s(e,t,n,r){Object.keys(e).forEach((function(i){var o=e[i];if(\"_\"!==i[0]){var l=n+(r>0?\".\":\"\")+i;a.isPlainObject(o)?s(o,t,l,r+1):t(l,i,o)}}))}n.manageCommandObserver=function(e,t,r,o){var l={},s=!0;t&&t._commandObserver&&(l=t._commandObserver),l.cache||(l.cache={}),l.lookupTable={};var u=n.hasSimpleAPICommandBindings(e,r,l.lookupTable);if(t&&t._commandObserver){if(u)return l;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,l}if(u){i(e,u,l.cache),l.check=function(){if(s){var t=i(e,u,l.cache);return t.changed&&o&&void 0!==l.lookupTable[t.value]&&(l.disable(),Promise.resolve(o({value:t.value,type:u.type,prop:u.prop,traces:u.traces,index:l.lookupTable[t.value]})).then(l.enable,l.enable)),t.changed}};for(var c=[\"plotly_relayout\",\"plotly_redraw\",\"plotly_restyle\",\"plotly_update\",\"plotly_animatingframe\",\"plotly_afterplot\"],f=0;f<c.length;f++)e._internalOn(c[f],l.check);l.remove=function(){for(var t=0;t<c.length;t++)e._removeInternalListener(c[t],l.check)}}else a.log(\"Unable to automatically bind plot updates to API command\"),l.lookupTable={},l.remove=function(){};return l.disable=function(){s=!1},l.enable=function(){s=!0},t&&(t._commandObserver=l),l},n.hasSimpleAPICommandBindings=function(e,t,r){var a,i,o=t.length;for(a=0;a<o;a++){var l,s=t[a],u=s.method,c=s.args;if(Array.isArray(c)||(c=[]),!u)return!1;var f=n.computeAPICommandBindings(e,u,c);if(1!==f.length)return!1;if(i){if((l=f[0]).type!==i.type)return!1;if(l.prop!==i.prop)return!1;if(Array.isArray(i.traces)){if(!Array.isArray(l.traces))return!1;l.traces.sort();for(var d=0;d<i.traces.length;d++)if(i.traces[d]!==l.traces[d])return!1}else if(l.prop!==i.prop)return!1}else i=f[0],Array.isArray(i.traces)&&i.traces.sort();var p=(l=f[0]).value;if(Array.isArray(p)){if(1!==p.length)return!1;p=p[0]}r&&(r[p]=a)}return i},n.executeAPICommand=function(e,t,n){if(\"skip\"===t)return Promise.resolve();var i=r.apiMethodRegistry[t],o=[e];Array.isArray(n)||(n=[]);for(var l=0;l<n.length;l++)o.push(n[l]);return i.apply(null,o).catch((function(e){return a.warn(\"API call to Plotly.\"+t+\" rejected.\",e),Promise.reject(e)}))},n.computeAPICommandBindings=function(e,t,n){var r;switch(Array.isArray(n)||(n=[]),t){case\"restyle\":r=l(e,n);break;case\"relayout\":r=o(e,n);break;case\"update\":r=l(e,[n[0],n[2]]).concat(o(e,[n[1]]));break;case\"animate\":r=function(e,t){return Array.isArray(t[0])&&1===t[0].length&&-1!==[\"string\",\"number\"].indexOf(typeof t[0][0])?[{type:\"layout\",prop:\"_currentFrame\",value:t[0][0].toString()}]:[]}(0,n);break;default:r=[]}return r}},{\"../lib\":287,\"../registry\":378}],364:[function(e,t,n){\"use strict\";var r=e(\"../lib/extend\").extendFlat;n.attributes=function(e,t){t=t||{};var n={valType:\"info_array\",editType:(e=e||{}).editType,items:[{valType:\"number\",min:0,max:1,editType:e.editType},{valType:\"number\",min:0,max:1,editType:e.editType}],dflt:[0,1]},a=(e.name&&e.name,e.trace,t.description&&t.description,{x:r({},n,{}),y:r({},n,{}),editType:e.editType});return e.noGridCell||(a.row={valType:\"integer\",min:0,dflt:0,editType:e.editType},a.column={valType:\"integer\",min:0,dflt:0,editType:e.editType}),a},n.defaults=function(e,t,n,r){var a=r&&r.x||[0,1],i=r&&r.y||[0,1],o=t.grid;if(o){var l=n(\"domain.column\");void 0!==l&&(l<o.columns?a=o._domains.x[l]:delete e.domain.column);var s=n(\"domain.row\");void 0!==s&&(s<o.rows?i=o._domains.y[s]:delete e.domain.row)}var u=n(\"domain.x\",a),c=n(\"domain.y\",i);u[0]<u[1]||(e.domain.x=a.slice()),c[0]<c[1]||(e.domain.y=i.slice())}},{\"../lib/extend\":281}],365:[function(e,t,n){\"use strict\";t.exports=function(e){var t=e.editType,n=e.colorEditType;void 0===n&&(n=t);var r={family:{valType:\"string\",noBlank:!0,strict:!0,editType:t},size:{valType:\"number\",min:1,editType:t},color:{valType:\"color\",editType:n},editType:t};return e.autoSize&&(r.size.dflt=\"auto\"),e.autoColor&&(r.color.dflt=\"auto\"),e.arrayOk&&(r.family.arrayOk=!0,r.size.arrayOk=!0,r.color.arrayOk=!0),r}},{}],366:[function(e,t,n){\"use strict\";t.exports={_isLinkedToArray:\"frames_entry\",group:{valType:\"string\"},name:{valType:\"string\"},traces:{valType:\"any\"},baseframe:{valType:\"string\"},data:{valType:\"any\"},layout:{valType:\"any\"}}},{}],367:[function(e,t,n){\"use strict\";var r=e(\"../registry\"),a=e(\"./cartesian/constants\").SUBPLOT_PATTERN;n.getSubplotCalcData=function(e,t,n){var a=r.subplotsRegistry[t];if(!a)return[];for(var i=a.attr,o=[],l=0;l<e.length;l++){var s=e[l];s[0].trace[i]===n&&o.push(s)}return o},n.getModuleCalcData=function(e,t){var n,a=[],i=[];if(!(n=\"string\"==typeof t?r.getModule(t).plot:\"function\"==typeof t?t:t.plot))return[a,e];for(var o=0;o<e.length;o++){var l=e[o],s=l[0].trace;!0===s.visible&&0!==s._length&&(s._module.plot===n?a.push(l):i.push(l))}return[a,i]},n.getSubplotData=function(e,t,n){if(!r.subplotsRegistry[t])return[];var i,o,l,s=r.subplotsRegistry[t].attr,u=[];if(\"gl2d\"===t){var c=n.match(a);o=\"x\"+c[1],l=\"y\"+c[2]}for(var f=0;f<e.length;f++)i=e[f],\"gl2d\"===t&&r.traceIs(i,\"gl2d\")?i[s[0]]===o&&i[s[1]]===l&&u.push(i):i[s]===n&&u.push(i);return u}},{\"../registry\":378,\"./cartesian/constants\":341}],368:[function(e,t,n){\"use strict\";function r(e,t){var n,r,a=[0,0,0,0];for(n=0;n<4;++n)for(r=0;r<4;++r)a[r]+=e[4*n+r]*t[n];return a}t.exports=function(e,t){return r(e.projection,r(e.view,r(e.model,[t[0],t[1],t[2],1])))}},{}],369:[function(e,t,n){\"use strict\";var r=e(\"./font_attributes\"),a=e(\"./animation_attributes\"),i=e(\"../components/color/attributes\"),o=e(\"../components/shapes/draw_newshape/attributes\"),l=e(\"./pad_attributes\"),s=e(\"../lib/extend\").extendFlat,u=r({editType:\"calc\"});u.family.dflt='\"Open Sans\", verdana, arial, sans-serif',u.size.dflt=12,u.color.dflt=i.defaultLine,t.exports={font:u,title:{text:{valType:\"string\",editType:\"layoutstyle\"},font:r({editType:\"layoutstyle\"}),xref:{valType:\"enumerated\",dflt:\"container\",values:[\"container\",\"paper\"],editType:\"layoutstyle\"},yref:{valType:\"enumerated\",dflt:\"container\",values:[\"container\",\"paper\"],editType:\"layoutstyle\"},x:{valType:\"number\",min:0,max:1,dflt:.5,editType:\"layoutstyle\"},y:{valType:\"number\",min:0,max:1,dflt:\"auto\",editType:\"layoutstyle\"},xanchor:{valType:\"enumerated\",dflt:\"auto\",values:[\"auto\",\"left\",\"center\",\"right\"],editType:\"layoutstyle\"},yanchor:{valType:\"enumerated\",dflt:\"auto\",values:[\"auto\",\"top\",\"middle\",\"bottom\"],editType:\"layoutstyle\"},pad:s(l({editType:\"layoutstyle\"}),{}),editType:\"layoutstyle\"},uniformtext:{mode:{valType:\"enumerated\",values:[!1,\"hide\",\"show\"],dflt:!1,editType:\"plot\"},minsize:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},editType:\"plot\"},autosize:{valType:\"boolean\",dflt:!1,editType:\"none\"},width:{valType:\"number\",min:10,dflt:700,editType:\"plot\"},height:{valType:\"number\",min:10,dflt:450,editType:\"plot\"},margin:{l:{valType:\"number\",min:0,dflt:80,editType:\"plot\"},r:{valType:\"number\",min:0,dflt:80,editType:\"plot\"},t:{valType:\"number\",min:0,dflt:100,editType:\"plot\"},b:{valType:\"number\",min:0,dflt:80,editType:\"plot\"},pad:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},autoexpand:{valType:\"boolean\",dflt:!0,editType:\"plot\"},editType:\"plot\"},computed:{valType:\"any\",editType:\"none\"},paper_bgcolor:{valType:\"color\",dflt:i.background,editType:\"plot\"},plot_bgcolor:{valType:\"color\",dflt:i.background,editType:\"layoutstyle\"},autotypenumbers:{valType:\"enumerated\",values:[\"convert types\",\"strict\"],dflt:\"convert types\",editType:\"calc\"},separators:{valType:\"string\",editType:\"plot\"},hidesources:{valType:\"boolean\",dflt:!1,editType:\"plot\"},showlegend:{valType:\"boolean\",editType:\"legend\"},colorway:{valType:\"colorlist\",dflt:i.defaults,editType:\"calc\"},datarevision:{valType:\"any\",editType:\"calc\"},uirevision:{valType:\"any\",editType:\"none\"},editrevision:{valType:\"any\",editType:\"none\"},selectionrevision:{valType:\"any\",editType:\"none\"},template:{valType:\"any\",editType:\"calc\"},newshape:o.newshape,activeshape:o.activeshape,meta:{valType:\"any\",arrayOk:!0,editType:\"plot\"},transition:s({},a.transition,{editType:\"none\"}),_deprecated:{title:{valType:\"string\",editType:\"layoutstyle\"},titlefont:r({editType:\"layoutstyle\"})}}},{\"../components/color/attributes\":156,\"../components/shapes/draw_newshape/attributes\":242,\"../lib/extend\":281,\"./animation_attributes\":328,\"./font_attributes\":365,\"./pad_attributes\":370}],370:[function(e,t,n){\"use strict\";t.exports=function(e){var t=e.editType;return{t:{valType:\"number\",dflt:0,editType:t},r:{valType:\"number\",dflt:0,editType:t},b:{valType:\"number\",dflt:0,editType:t},l:{valType:\"number\",dflt:0,editType:t},editType:t}}},{}],371:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"d3-time-format\").timeFormatLocale,i=e(\"d3-format\").formatLocale,o=e(\"fast-isnumeric\"),l=e(\"../registry\"),s=e(\"../plot_api/plot_schema\"),u=e(\"../plot_api/plot_template\"),c=e(\"../lib\"),f=e(\"../components/color\"),d=e(\"../constants/numerical\").BADNUM,p=e(\"./cartesian/axis_ids\"),h=e(\"./cartesian/handle_outline\").clearSelect,m=e(\"./animation_attributes\"),g=e(\"./frame_attributes\"),y=e(\"../plots/get_data\").getModuleCalcData,v=c.relinkPrivateKeys,b=c._,x=t.exports={};c.extendFlat(x,l),x.attributes=e(\"./attributes\"),x.attributes.type.values=x.allTypes,x.fontAttrs=e(\"./font_attributes\"),x.layoutAttributes=e(\"./layout_attributes\"),x.fontWeight=\"normal\";var w=x.transformsRegistry,_=e(\"./command\");x.executeAPICommand=_.executeAPICommand,x.computeAPICommandBindings=_.computeAPICommandBindings,x.manageCommandObserver=_.manageCommandObserver,x.hasSimpleAPICommandBindings=_.hasSimpleAPICommandBindings,x.redrawText=function(e){return e=c.getGraphDiv(e),new Promise((function(t){setTimeout((function(){e._fullLayout&&(l.getComponentMethod(\"annotations\",\"draw\")(e),l.getComponentMethod(\"legend\",\"draw\")(e),l.getComponentMethod(\"colorbar\",\"draw\")(e),t(x.previousPromises(e)))}),300)}))},x.resize=function(e){var t;e=c.getGraphDiv(e);var n=new Promise((function(n,r){e&&!c.isHidden(e)||r(new Error(\"Resize must be passed a displayed plot div element.\")),e._redrawTimer&&clearTimeout(e._redrawTimer),e._resolveResize&&(t=e._resolveResize),e._resolveResize=n,e._redrawTimer=setTimeout((function(){if(!e.layout||e.layout.width&&e.layout.height||c.isHidden(e))n(e);else{delete e.layout.width,delete e.layout.height;var t=e.changed;e.autoplay=!0,l.call(\"relayout\",e,{autosize:!0}).then((function(){e.changed=t,e._resolveResize===n&&(delete e._resolveResize,n(e))}))}}),100)}));return t&&t(n),n},x.previousPromises=function(e){if((e._promises||[]).length)return Promise.all(e._promises).then((function(){e._promises=[]}))},x.addLinks=function(e){if(e._context.showLink||e._context.showSources){var t=e._fullLayout,n=c.ensureSingle(t._paper,\"text\",\"js-plot-link-container\",(function(e){e.style({\"font-family\":'\"Open Sans\", Arial, sans-serif',\"font-size\":\"12px\",fill:f.defaultLine,\"pointer-events\":\"all\"}).each((function(){var e=r.select(this);e.append(\"tspan\").classed(\"js-link-to-tool\",!0),e.append(\"tspan\").classed(\"js-link-spacer\",!0),e.append(\"tspan\").classed(\"js-sourcelinks\",!0)}))})),a=n.node(),i={y:t._paper.attr(\"height\")-9};document.body.contains(a)&&a.getComputedTextLength()>=t.width-20?(i[\"text-anchor\"]=\"start\",i.x=5):(i[\"text-anchor\"]=\"end\",i.x=t._paper.attr(\"width\")-7),n.attr(i);var o=n.select(\".js-link-to-tool\"),l=n.select(\".js-link-spacer\"),s=n.select(\".js-sourcelinks\");e._context.showSources&&e._context.showSources(e),e._context.showLink&&function(e,t){t.text(\"\");var n=t.append(\"a\").attr({\"xlink:xlink:href\":\"#\",class:\"link--impt link--embedview\",\"font-weight\":\"bold\"}).text(e._context.linkText+\" \"+String.fromCharCode(187));if(e._context.sendData)n.on(\"click\",(function(){x.sendDataToCloud(e)}));else{var r=window.location.pathname.split(\"/\"),a=window.location.search;n.attr({\"xlink:xlink:show\":\"new\",\"xlink:xlink:href\":\"/\"+r[2].split(\".\")[0]+\"/\"+r[1]+a})}}(e,o),l.text(o.text()&&s.text()?\" - \":\"\")}},x.sendDataToCloud=function(e){var t=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(t){e.emit(\"plotly_beforeexport\");var n=r.select(e).append(\"div\").attr(\"id\",\"hiddenform\").style(\"display\",\"none\"),a=n.append(\"form\").attr({action:t+\"/external\",method:\"post\",target:\"_blank\"});return a.append(\"input\").attr({type:\"text\",name:\"data\"}).node().value=x.graphJson(e,!1,\"keepdata\"),a.node().submit(),n.remove(),e.emit(\"plotly_afterexport\"),!1}};var k=[\"days\",\"shortDays\",\"months\",\"shortMonths\",\"periods\",\"dateTime\",\"date\",\"time\",\"decimal\",\"thousands\",\"grouping\",\"currency\"],T=[\"year\",\"month\",\"dayMonth\",\"dayMonthYear\"];function M(e,t){var n=e._context.locale;n||(n=\"en-US\");var r=!1,a={};function i(e){for(var n=!0,i=0;i<t.length;i++){var o=t[i];a[o]||(e[o]?a[o]=e[o]:n=!1)}n&&(r=!0)}for(var o=0;o<2;o++){for(var s=e._context.locales,u=0;u<2;u++){var c=(s[n]||{}).format;if(c&&(i(c),r))break;s=l.localeRegistry}var f=n.split(\"-\")[0];if(r||f===n)break;n=f}return r||i(l.localeRegistry.en.format),a}function S(e,t){var n={_fullLayout:t},r=\"x\"===e._id.charAt(0),a=e._mainAxis._anchorAxis,i=\"\",o=\"\",l=\"\";if(a&&(l=a._mainAxis._id,i=r?e._id+l:l+e._id),!i||!t._plots[i]){i=\"\";for(var s=e._counterAxes,u=0;u<s.length;u++){var c=s[u],f=r?e._id+c:c+e._id;o||(o=f);var d=p.getFromId(n,c);if(l&&d.overlaying===l){i=f;break}}}return i||o}function E(e){var t=e.transforms;if(Array.isArray(t)&&t.length)for(var n=0;n<t.length;n++){var r=t[n],a=r._module||w[r.type];if(a&&a.makesData)return!0}return!1}function C(e,t,n,r){for(var a=e.transforms,i=[e],o=0;o<a.length;o++){var l=a[o],s=w[l.type];s&&s.transform&&(i=s.transform(i,{transform:l,fullTrace:e,fullData:t,layout:n,fullLayout:r,transformIndex:o}))}return i}function O(e){return\"string\"==typeof e&&\"px\"===e.substr(e.length-2)&&parseFloat(e)}function A(e){var t=e.margin;if(!e._size){var n=e._size={l:Math.round(t.l),r:Math.round(t.r),t:Math.round(t.t),b:Math.round(t.b),p:Math.round(t.pad)};n.w=Math.round(e.width)-n.l-n.r,n.h=Math.round(e.height)-n.t-n.b}e._pushmargin||(e._pushmargin={}),e._pushmarginIds||(e._pushmarginIds={})}x.supplyDefaults=function(e,t){var n=t&&t.skipUpdateCalc,r=e._fullLayout||{};if(r._skipDefaults)delete r._skipDefaults;else{var o,s=e._fullLayout={},u=e.layout||{},f=e._fullData||[],d=e._fullData=[],p=e.data||[],m=e.calcdata||[],g=e._context||{};e._transitionData||x.createTransitionData(e),s._dfltTitle={plot:b(e,\"Click to enter Plot title\"),x:b(e,\"Click to enter X axis title\"),y:b(e,\"Click to enter Y axis title\"),colorbar:b(e,\"Click to enter Colorscale title\"),annotation:b(e,\"new text\")},s._traceWord=b(e,\"trace\");var y=M(e,k);if(s._mapboxAccessToken=g.mapboxAccessToken,r._initialAutoSizeIsDone){var w=r.width,_=r.height;x.supplyLayoutGlobalDefaults(u,s,y),u.width||(s.width=w),u.height||(s.height=_),x.sanitizeMargins(s)}else{x.supplyLayoutGlobalDefaults(u,s,y);var S=!u.width||!u.height,E=s.autosize,C=g.autosizable;S&&(E||C)?x.plotAutoSize(e,u,s):S&&x.sanitizeMargins(s),!E&&S&&(u.width=s.width,u.height=s.height)}s._d3locale=function(e,t){return e.decimal=t.charAt(0),e.thousands=t.charAt(1),{numberFormat:function(t){try{t=i(e).format(c.adjustFormat(t))}catch(e){return c.warnBadFormat(t),c.noFormat}return t},timeFormat:a(e).utcFormat}}(y,s.separators),s._extraFormat=M(e,T),s._initialAutoSizeIsDone=!0,s._dataLength=p.length,s._modules=[],s._visibleModules=[],s._basePlotModules=[];var O=s._subplots=function(){var e,t,n=l.collectableSubplotTypes,r={};if(!n){n=[];var a=l.subplotsRegistry;for(var i in a){var o=a[i].attr;if(o&&(n.push(i),Array.isArray(o)))for(t=0;t<o.length;t++)c.pushUnique(n,o[t])}}for(e=0;e<n.length;e++)r[n[e]]=[];return r}(),D=s._splomAxes={x:{},y:{}},P=s._splomSubplots={};s._splomGridDflt={},s._scatterStackOpts={},s._firstScatter={},s._alignmentOpts={},s._colorAxes={},s._requestRangeslider={},s._traceUids=function(e,t){var n,r,a=t.length,i=[];for(n=0;n<e.length;n++){var o=e[n]._fullInput;o!==r&&i.push(o),r=o}var l=i.length,s=new Array(a),u={};function f(e,t){s[t]=e,u[e]=1}function d(e,t){if(e&&\"string\"==typeof e&&!u[e])return f(e,t),!0}for(n=0;n<a;n++){var p=t[n].uid;\"number\"==typeof p&&(p=String(p)),d(p,n)||n<l&&d(i[n].uid,n)||f(c.randstr(u),n)}return s}(f,p),s._globalTransforms=(e._context||{}).globalTransforms,x.supplyDataDefaults(p,d,u,s);var R=Object.keys(D.x),L=Object.keys(D.y);if(R.length>1&&L.length>1){for(l.getComponentMethod(\"grid\",\"sizeDefaults\")(u,s),o=0;o<R.length;o++)c.pushUnique(O.xaxis,R[o]);for(o=0;o<L.length;o++)c.pushUnique(O.yaxis,L[o]);for(var I in P)c.pushUnique(O.cartesian,I)}if(s._has=x._hasPlotType.bind(s),f.length===d.length)for(o=0;o<d.length;o++)v(d[o],f[o]);x.supplyLayoutModuleDefaults(u,s,d,e._transitionData);var j=s._visibleModules,N=[];for(o=0;o<j.length;o++){var z=j[o].crossTraceDefaults;z&&c.pushUnique(N,z)}for(o=0;o<N.length;o++)N[o](d,s);s._hasOnlyLargeSploms=1===s._basePlotModules.length&&\"splom\"===s._basePlotModules[0].name&&R.length>15&&L.length>15&&0===s.shapes.length&&0===s.images.length,x.linkSubplots(d,s,f,r),x.cleanPlot(d,s,f,r);var F=!(!r._has||!r._has(\"gl2d\")),Z=!(!s._has||!s._has(\"gl2d\")),B=!(!r._has||!r._has(\"cartesian\"))||F,q=!(!s._has||!s._has(\"cartesian\"))||Z;B&&!q?r._bgLayer.remove():q&&!B&&(s._shouldCreateBgLayer=!0),r._zoomlayer&&!e._dragging&&h({_fullLayout:r}),function(e,t){var n,r=[];t.meta&&(n=t._meta={meta:t.meta,layout:{meta:t.meta}});for(var a=0;a<e.length;a++){var i=e[a];i.meta?r[i.index]=i._meta={meta:i.meta}:t.meta&&(i._meta={meta:t.meta}),t.meta&&(i._meta.layout={meta:t.meta})}r.length&&(n||(n=t._meta={}),n.data=r)}(d,s),v(s,r),l.getComponentMethod(\"colorscale\",\"crossTraceDefaults\")(d,s),s._preGUI||(s._preGUI={}),s._tracePreGUI||(s._tracePreGUI={});var H,U=s._tracePreGUI,W={};for(H in U)W[H]=\"old\";for(o=0;o<d.length;o++)W[H=d[o]._fullInput.uid]||(U[H]={}),W[H]=\"new\";for(H in W)\"old\"===W[H]&&delete U[H];A(s),l.getComponentMethod(\"rangeslider\",\"makeData\")(s),n||m.length!==d.length||x.supplyDefaultsUpdateCalc(m,d)}},x.supplyDefaultsUpdateCalc=function(e,t){for(var n=0;n<t.length;n++){var r=t[n],a=(e[n]||[])[0];if(a&&a.trace){var i=a.trace;if(i._hasCalcTransform){var o,l,s,u=i._arrayAttrs;for(o=0;o<u.length;o++)l=u[o],s=c.nestedProperty(i,l).get().slice(),c.nestedProperty(r,l).set(s)}a.trace=r}}},x.createTransitionData=function(e){e._transitionData||(e._transitionData={}),e._transitionData._frames||(e._transitionData._frames=[]),e._transitionData._frameHash||(e._transitionData._frameHash={}),e._transitionData._counter||(e._transitionData._counter=0),e._transitionData._interruptCallbacks||(e._transitionData._interruptCallbacks=[])},x._hasPlotType=function(e){var t,n=this._basePlotModules||[];for(t=0;t<n.length;t++)if(n[t].name===e)return!0;var r=this._modules||[];for(t=0;t<r.length;t++){var a=r[t].name;if(a===e)return!0;var i=l.modules[a];if(i&&i.categories[e])return!0}return!1},x.cleanPlot=function(e,t,n,r){var a,i,o=r._basePlotModules||[];for(a=0;a<o.length;a++){var l=o[a];l.clean&&l.clean(e,t,n,r)}var s=r._has&&r._has(\"gl\"),u=t._has&&t._has(\"gl\");s&&!u&&void 0!==r._glcontainer&&(r._glcontainer.selectAll(\".gl-canvas\").remove(),r._glcontainer.selectAll(\".no-webgl\").remove(),r._glcanvas=null);var c=!!r._infolayer;e:for(a=0;a<n.length;a++){var f=n[a].uid;for(i=0;i<e.length;i++)if(f===e[i].uid)continue e;c&&r._infolayer.select(\".cb\"+f).remove()}},x.linkSubplots=function(e,t,n,r){var a,i,o=r._plots||{},s=t._plots={},u=t._subplots,f={_fullData:e,_fullLayout:t},d=u.cartesian.concat(u.gl2d||[]);for(a=0;a<d.length;a++){var h,m=d[a],g=o[m],y=p.getFromId(f,m,\"x\"),v=p.getFromId(f,m,\"y\");for(g?h=s[m]=g:(h=s[m]={}).id=m,y._counterAxes.push(v._id),v._counterAxes.push(y._id),y._subplotsWith.push(m),v._subplotsWith.push(m),h.xaxis=y,h.yaxis=v,h._hasClipOnAxisFalse=!1,i=0;i<e.length;i++){var b=e[i];if(b.xaxis===h.xaxis._id&&b.yaxis===h.yaxis._id&&!1===b.cliponaxis){h._hasClipOnAxisFalse=!0;break}}}var x,w=p.list(f,null,!0);for(a=0;a<w.length;a++){var _=null;(x=w[a]).overlaying&&(_=p.getFromId(f,x.overlaying))&&_.overlaying&&(x.overlaying=!1,_=null),x._mainAxis=_||x,_&&(x.domain=_.domain.slice()),x._anchorAxis=\"free\"===x.anchor?null:p.getFromId(f,x.anchor)}for(a=0;a<w.length;a++)if((x=w[a])._counterAxes.sort(p.idSort),x._subplotsWith.sort(c.subplotSort),x._mainSubplot=S(x,t),x._counterAxes.length&&(x.spikemode&&-1!==x.spikemode.indexOf(\"across\")||x.automargin&&x.mirror&&\"free\"!==x.anchor||l.getComponentMethod(\"rangeslider\",\"isVisible\")(x))){var k=1,T=0;for(i=0;i<x._counterAxes.length;i++){var M=p.getFromId(f,x._counterAxes[i]);k=Math.min(k,M.domain[0]),T=Math.max(T,M.domain[1])}k<T&&(x._counterDomainMin=k,x._counterDomainMax=T)}},x.clearExpandedTraceDefaultColors=function(e){var t,n,r;for(n=[],(t=e._module._colorAttrs)||(e._module._colorAttrs=t=[],s.crawl(e._module.attributes,(function(e,r,a,i){n[i]=r,n.length=i+1,\"color\"===e.valType&&void 0===e.dflt&&t.push(n.join(\".\"))}))),r=0;r<t.length;r++)c.nestedProperty(e,\"_input.\"+t[r]).get()||c.nestedProperty(e,t[r]).set(null)},x.supplyDataDefaults=function(e,t,n,r){var a,i,o,s=r._modules,f=r._visibleModules,d=r._basePlotModules,p=0,h=0;function m(e){t.push(e);var n=e._module;n&&(c.pushUnique(s,n),!0===e.visible&&c.pushUnique(f,n),c.pushUnique(d,e._module.basePlotModule),p++,!1!==e._input.visible&&h++)}r._transformModules=[];var g={},y=[],b=(n.template||{}).data||{},w=u.traceTemplater(b);for(a=0;a<e.length;a++){if(o=e[a],(i=w.newTrace(o)).uid=r._traceUids[a],x.supplyTraceDefaults(o,i,h,r,a),i.index=a,i._input=o,i._expandedIndex=p,i.transforms&&i.transforms.length)for(var _=!1!==o.visible&&!1===i.visible,k=C(i,t,n,r),T=0;T<k.length;T++){var M=k[T],S={_template:i._template,type:i.type,uid:i.uid+T};_&&!1===M.visible&&delete M.visible,x.supplyTraceDefaults(M,S,p,r,a),v(S,M),S.index=a,S._input=o,S._fullInput=i,S._expandedIndex=p,S._expandedInput=M,m(S)}else i._fullInput=i,i._expandedInput=i,m(i);l.traceIs(i,\"carpetAxis\")&&(g[i.carpet]=i),l.traceIs(i,\"carpetDependent\")&&y.push(a)}for(a=0;a<y.length;a++)if((i=t[y[a]]).visible){var E=g[i.carpet];i._carpet=E,E&&E.visible?(i.xaxis=E.xaxis,i.yaxis=E.yaxis):i.visible=!1}},x.supplyAnimationDefaults=function(e){var t;e=e||{};var n={};function r(t,r){return c.coerce(e||{},n,m,t,r)}if(r(\"mode\"),r(\"direction\"),r(\"fromcurrent\"),Array.isArray(e.frame))for(n.frame=[],t=0;t<e.frame.length;t++)n.frame[t]=x.supplyAnimationFrameDefaults(e.frame[t]||{});else n.frame=x.supplyAnimationFrameDefaults(e.frame||{});if(Array.isArray(e.transition))for(n.transition=[],t=0;t<e.transition.length;t++)n.transition[t]=x.supplyAnimationTransitionDefaults(e.transition[t]||{});else n.transition=x.supplyAnimationTransitionDefaults(e.transition||{});return n},x.supplyAnimationFrameDefaults=function(e){var t={};function n(n,r){return c.coerce(e||{},t,m.frame,n,r)}return n(\"duration\"),n(\"redraw\"),t},x.supplyAnimationTransitionDefaults=function(e){var t={};function n(n,r){return c.coerce(e||{},t,m.transition,n,r)}return n(\"duration\"),n(\"easing\"),t},x.supplyFrameDefaults=function(e){var t={};function n(n,r){return c.coerce(e,t,g,n,r)}return n(\"group\"),n(\"name\"),n(\"traces\"),n(\"baseframe\"),n(\"data\"),n(\"layout\"),t},x.supplyTraceDefaults=function(e,t,n,r,a){var i,o=r.colorway||f.defaults,s=o[n%o.length];function u(n,r){return c.coerce(e,t,x.attributes,n,r)}var d=u(\"visible\");u(\"type\"),u(\"name\",r._traceWord+\" \"+a),u(\"uirevision\",r.uirevision);var p=x.getModule(t);if(t._module=p,p){var h=p.basePlotModule,m=h.attr,g=h.attributes;if(m&&g){var y=r._subplots,v=\"\";if(d||\"gl2d\"!==h.name){if(Array.isArray(m))for(i=0;i<m.length;i++){var b=m[i],w=c.coerce(e,t,g,b);y[b]&&c.pushUnique(y[b],w),v+=w}else v=c.coerce(e,t,g,m);y[h.name]&&c.pushUnique(y[h.name],v)}}}return d&&(u(\"customdata\"),u(\"ids\"),u(\"meta\"),l.traceIs(t,\"showLegend\")?(c.coerce(e,t,p.attributes.showlegend?p.attributes:x.attributes,\"showlegend\"),u(\"legendgroup\"),u(\"legendgrouptitle.text\"),u(\"legendrank\"),t._dfltShowLegend=!0):t._dfltShowLegend=!1,p&&p.supplyDefaults(e,t,s,r),l.traceIs(t,\"noOpacity\")||u(\"opacity\"),l.traceIs(t,\"notLegendIsolatable\")&&(t.visible=!!t.visible),l.traceIs(t,\"noHover\")||(t.hovertemplate||c.coerceHoverinfo(e,t,r),\"parcats\"!==t.type&&l.getComponentMethod(\"fx\",\"supplyDefaults\")(e,t,s,r)),p&&p.selectPoints&&u(\"selectedpoints\"),x.supplyTransformDefaults(e,t,r)),t},x.hasMakesDataTransform=E,x.supplyTransformDefaults=function(e,t,n){if(t._length||E(e)){var r=n._globalTransforms||[],a=n._transformModules||[];if(Array.isArray(e.transforms)||0!==r.length)for(var i=e.transforms||[],o=r.concat(i),l=t.transforms=[],s=0;s<o.length;s++){var u,f=o[s],d=f.type,p=w[d],h=!(f._module&&f._module===p),m=p&&\"function\"==typeof p.transform;p||c.warn(\"Unrecognized transform type \"+d+\".\"),p&&p.supplyDefaults&&(h||m)?((u=p.supplyDefaults(f,t,n,e)).type=d,u._module=p,c.pushUnique(a,p)):u=c.extendFlat({},f),l.push(u)}}},x.supplyLayoutGlobalDefaults=function(e,t,n){function r(n,r){return c.coerce(e,t,x.layoutAttributes,n,r)}var a=e.template;c.isPlainObject(a)&&(t.template=a,t._template=a.layout,t._dataTemplate=a.data),r(\"autotypenumbers\");var i=c.coerceFont(r,\"font\"),o=i.size;c.coerceFont(r,\"title.font\",c.extendFlat({},i,{size:Math.round(1.4*o)})),r(\"title.text\",t._dfltTitle.plot),r(\"title.xref\"),r(\"title.yref\"),r(\"title.x\"),r(\"title.y\"),r(\"title.xanchor\"),r(\"title.yanchor\"),r(\"title.pad.t\"),r(\"title.pad.r\"),r(\"title.pad.b\"),r(\"title.pad.l\"),r(\"uniformtext.mode\")&&r(\"uniformtext.minsize\"),r(\"autosize\",!(e.width&&e.height)),r(\"width\"),r(\"height\"),r(\"margin.l\"),r(\"margin.r\"),r(\"margin.t\"),r(\"margin.b\"),r(\"margin.pad\"),r(\"margin.autoexpand\"),e.width&&e.height&&x.sanitizeMargins(t),l.getComponentMethod(\"grid\",\"sizeDefaults\")(e,t),r(\"paper_bgcolor\"),r(\"separators\",n.decimal+n.thousands),r(\"hidesources\"),r(\"colorway\"),r(\"datarevision\");var s=r(\"uirevision\");r(\"editrevision\",s),r(\"selectionrevision\",s),l.getComponentMethod(\"modebar\",\"supplyLayoutDefaults\")(e,t),l.getComponentMethod(\"shapes\",\"supplyDrawNewShapeDefaults\")(e,t,r),r(\"meta\"),c.isPlainObject(e.transition)&&(r(\"transition.duration\"),r(\"transition.easing\"),r(\"transition.ordering\")),l.getComponentMethod(\"calendars\",\"handleDefaults\")(e,t,\"calendar\"),l.getComponentMethod(\"fx\",\"supplyLayoutGlobalDefaults\")(e,t,r)},x.plotAutoSize=function(e,t,n){var r,a,i=e._context||{},l=i.frameMargins,s=c.isPlotDiv(e);if(s&&e.emit(\"plotly_autosize\"),i.fillFrame)r=window.innerWidth,a=window.innerHeight,document.body.style.overflow=\"hidden\";else{var u=s?window.getComputedStyle(e):{};if(r=O(u.width)||O(u.maxWidth)||n.width,a=O(u.height)||O(u.maxHeight)||n.height,o(l)&&l>0){var f=1-2*l;r=Math.round(f*r),a=Math.round(f*a)}}var d=x.layoutAttributes.width.min,p=x.layoutAttributes.height.min;r<d&&(r=d),a<p&&(a=p);var h=!t.width&&Math.abs(n.width-r)>1,m=!t.height&&Math.abs(n.height-a)>1;(m||h)&&(h&&(n.width=r),m&&(n.height=a)),e._initialAutoSize||(e._initialAutoSize={width:r,height:a}),x.sanitizeMargins(n)},x.supplyLayoutModuleDefaults=function(e,t,n,r){var a,i,o,s=l.componentsRegistry,u=t._basePlotModules,f=l.subplotsRegistry.cartesian;for(a in s)(o=s[a]).includeBasePlot&&o.includeBasePlot(e,t);for(var d in u.length||u.push(f),t._has(\"cartesian\")&&(l.getComponentMethod(\"grid\",\"contentDefaults\")(e,t),f.finalizeSubplots(e,t)),t._subplots)t._subplots[d].sort(c.subplotSort);for(i=0;i<u.length;i++)(o=u[i]).supplyLayoutDefaults&&o.supplyLayoutDefaults(e,t,n);var p=t._modules;for(i=0;i<p.length;i++)(o=p[i]).supplyLayoutDefaults&&o.supplyLayoutDefaults(e,t,n);var h=t._transformModules;for(i=0;i<h.length;i++)(o=h[i]).supplyLayoutDefaults&&o.supplyLayoutDefaults(e,t,n,r);for(a in s)(o=s[a]).supplyLayoutDefaults&&o.supplyLayoutDefaults(e,t,n)},x.purge=function(e){var t=e._fullLayout||{};void 0!==t._glcontainer&&(t._glcontainer.selectAll(\".gl-canvas\").remove(),t._glcontainer.remove(),t._glcanvas=null),t._modeBar&&t._modeBar.destroy(),e._transitionData&&(e._transitionData._interruptCallbacks&&(e._transitionData._interruptCallbacks.length=0),e._transitionData._animationRaf&&window.cancelAnimationFrame(e._transitionData._animationRaf)),c.clearThrottle(),c.clearResponsive(e),delete e.data,delete e.layout,delete e._fullData,delete e._fullLayout,delete e.calcdata,delete e.empty,delete e.fid,delete e.undoqueue,delete e.undonum,delete e.autoplay,delete e.changed,delete e._promises,delete e._redrawTimer,delete e._hmlumcount,delete e._hmpixcount,delete e._transitionData,delete e._transitioning,delete e._initialAutoSize,delete e._transitioningWithDuration,delete e._dragging,delete e._dragged,delete e._dragdata,delete e._hoverdata,delete e._snapshotInProgress,delete e._editing,delete e._mouseDownTime,delete e._legendMouseDownTime,e.removeAllListeners&&e.removeAllListeners()},x.style=function(e){var t,n=e._fullLayout._visibleModules,r=[];for(t=0;t<n.length;t++){var a=n[t];a.style&&c.pushUnique(r,a.style)}for(t=0;t<r.length;t++)r[t](e)},x.sanitizeMargins=function(e){if(e&&e.margin){var t,n=e.width,r=e.height,a=e.margin,i=n-(a.l+a.r),o=r-(a.t+a.b);i<0&&(t=(n-1)/(a.l+a.r),a.l=Math.floor(t*a.l),a.r=Math.floor(t*a.r)),o<0&&(t=(r-1)/(a.t+a.b),a.t=Math.floor(t*a.t),a.b=Math.floor(t*a.b))}},x.clearAutoMarginIds=function(e){e._fullLayout._pushmarginIds={}},x.allowAutoMargin=function(e,t){e._fullLayout._pushmarginIds[t]=1},x.autoMargin=function(e,t,n){var r=e._fullLayout,a=r.width,i=r.height,o=r.margin,l=c.constrain(a-o.l-o.r,2,64),s=c.constrain(i-o.t-o.b,2,64),u=Math.max(0,a-l),f=Math.max(0,i-s),d=r._pushmargin,p=r._pushmarginIds;if(!1!==o.autoexpand){if(n){var h=n.pad;if(void 0===h&&(h=Math.min(12,o.l,o.r,o.t,o.b)),u){var m=(n.l+n.r)/u;m>1&&(n.l/=m,n.r/=m)}if(f){var g=(n.t+n.b)/f;g>1&&(n.t/=g,n.b/=g)}var y=void 0!==n.xl?n.xl:n.x,v=void 0!==n.xr?n.xr:n.x,b=void 0!==n.yt?n.yt:n.y,w=void 0!==n.yb?n.yb:n.y;d[t]={l:{val:y,size:n.l+h},r:{val:v,size:n.r+h},b:{val:w,size:n.b+h},t:{val:b,size:n.t+h}},p[t]=1}else delete d[t],delete p[t];if(!r._replotting)return x.doAutoMargin(e)}},x.doAutoMargin=function(e){var t=e._fullLayout,n=t.width,r=t.height;t._size||(t._size={}),A(t);var a=t._size,i=t.margin,s=c.extendFlat({},a),u=i.l,f=i.r,d=i.t,h=i.b,m=t._pushmargin,g=t._pushmarginIds;if(!1!==t.margin.autoexpand){for(var y in m)g[y]||delete m[y];for(var v in m.base={l:{val:0,size:u},r:{val:1,size:f},t:{val:1,size:d},b:{val:0,size:h}},m){var b=m[v].l||{},w=m[v].b||{},_=b.val,k=b.size,T=w.val,M=w.size;for(var S in m){if(o(k)&&m[S].r){var E=m[S].r.val,C=m[S].r.size;if(E>_){var O=(k*E+(C-n)*_)/(E-_),D=(C*(1-_)+(k-n)*(1-E))/(E-_);O+D>u+f&&(u=O,f=D)}}if(o(M)&&m[S].t){var P=m[S].t.val,R=m[S].t.size;if(P>T){var L=(M*P+(R-r)*T)/(P-T),I=(R*(1-T)+(M-r)*(1-P))/(P-T);L+I>h+d&&(h=L,d=I)}}}}}var j=c.constrain(n-i.l-i.r,2,64),N=c.constrain(r-i.t-i.b,2,64),z=Math.max(0,n-j),F=Math.max(0,r-N);if(z){var Z=(u+f)/z;Z>1&&(u/=Z,f/=Z)}if(F){var B=(h+d)/F;B>1&&(h/=B,d/=B)}if(a.l=Math.round(u),a.r=Math.round(f),a.t=Math.round(d),a.b=Math.round(h),a.p=Math.round(i.pad),a.w=Math.round(n)-a.l-a.r,a.h=Math.round(r)-a.t-a.b,!t._replotting&&x.didMarginChange(s,a)){\"_redrawFromAutoMarginCount\"in t?t._redrawFromAutoMarginCount++:t._redrawFromAutoMarginCount=1;var q=3*(1+Object.keys(g).length);if(t._redrawFromAutoMarginCount<q)return l.call(\"_doPlot\",e);t._size=s,c.warn(\"Too many auto-margin redraws.\")}!function(e){var t=p.list(e,\"\",!0);[\"_adjustTickLabelsOverflow\",\"_hideCounterAxisInsideTickLabels\"].forEach((function(e){for(var n=0;n<t.length;n++){var r=t[n][e];r&&r()}}))}(e)};var D=[\"l\",\"r\",\"t\",\"b\",\"p\",\"w\",\"h\"];function P(e,t,n){var r=!1,a=[x.previousPromises,function(){if(e._transitionData)return e._transitioning=!1,function(e){var t=Promise.resolve();if(!e)return t;for(;e.length;)t=t.then(e.shift());return t}(e._transitionData._interruptCallbacks)},n.prepareFn,x.rehover,function(){return e.emit(\"plotly_transitioning\",[]),new Promise((function(a){e._transitioning=!0,t.duration>0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push((function(){r=!0})),n.redraw&&e._transitionData._interruptCallbacks.push((function(){return l.call(\"redraw\",e)})),e._transitionData._interruptCallbacks.push((function(){e.emit(\"plotly_transitioninterrupted\",[])}));var i=0,o=0;function s(){return i++,function(){o++,r||o!==i||function(t){e._transitionData&&(function(e){if(e)for(;e.length;)e.shift()}(e._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(n.redraw)return l.call(\"redraw\",e)})).then((function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit(\"plotly_transitioned\",[])})).then(t))}(a)}}n.runFn(s),setTimeout(s())}))}],i=c.syncOrAsync(a,e);return i&&i.then||(i=Promise.resolve()),i.then((function(){return e}))}x.didMarginChange=function(e,t){for(var n=0;n<D.length;n++){var r=D[n],a=e[r],i=t[r];if(!o(a)||Math.abs(i-a)>1)return!0}return!1},x.graphJson=function(e,t,n,r,a,i){(a&&t&&!e._fullData||a&&!t&&!e._fullLayout)&&x.supplyDefaults(e);var o=a?e._fullData:e.data,l=a?e._fullLayout:e.layout,s=(e._transitionData||{})._frames;function u(e,t){if(\"function\"==typeof e)return t?\"_function_\":null;if(c.isPlainObject(e)){var r,a={};return Object.keys(e).sort().forEach((function(i){if(-1===[\"_\",\"[\"].indexOf(i.charAt(0)))if(\"function\"!=typeof e[i]){if(\"keepdata\"===n){if(\"src\"===i.substr(i.length-3))return}else if(\"keepstream\"===n){if(\"string\"==typeof(r=e[i+\"src\"])&&r.indexOf(\":\")>0&&!c.isPlainObject(e.stream))return}else if(\"keepall\"!==n&&\"string\"==typeof(r=e[i+\"src\"])&&r.indexOf(\":\")>0)return;a[i]=u(e[i],t)}else t&&(a[i]=\"_function\")})),a}return Array.isArray(e)?e.map((function(e){return u(e,t)})):c.isTypedArray(e)?c.simpleMap(e,c.identity):c.isJSDate(e)?c.ms2DateTimeLocal(+e):e}var f={data:(o||[]).map((function(e){var n=u(e);return t&&delete n.fit,n}))};if(!t&&(f.layout=u(l),a)){var d=l._size;f.layout.computed={margin:{b:d.b,l:d.l,r:d.r,t:d.t}}}return s&&(f.frames=u(s)),i&&(f.config=u(e._context,!0)),\"object\"===r?f:JSON.stringify(f)},x.modifyFrames=function(e,t){var n,r,a,i=e._transitionData._frames,o=e._transitionData._frameHash;for(n=0;n<t.length;n++)switch((r=t[n]).type){case\"replace\":a=r.value;var l=(i[r.index]||{}).name,s=a.name;i[r.index]=o[s]=a,s!==l&&(delete o[l],o[s]=a);break;case\"insert\":o[(a=r.value).name]=a,i.splice(r.index,0,a);break;case\"delete\":delete o[(a=i[r.index]).name],i.splice(r.index,1)}return Promise.resolve()},x.computeFrame=function(e,t){var n,r,a,i,o=e._transitionData._frameHash;if(!t)throw new Error(\"computeFrame must be given a string frame name\");var l=o[t.toString()];if(!l)return!1;for(var s=[l],u=[l.name];l.baseframe&&(l=o[l.baseframe.toString()])&&-1===u.indexOf(l.name);)s.push(l),u.push(l.name);for(var c={};l=s.pop();)if(l.layout&&(c.layout=x.extendLayout(c.layout,l.layout)),l.data){if(c.data||(c.data=[]),!(r=l.traces))for(r=[],n=0;n<l.data.length;n++)r[n]=n;for(c.traces||(c.traces=[]),n=0;n<l.data.length;n++)null!=(a=r[n])&&(-1===(i=c.traces.indexOf(a))&&(i=c.data.length,c.traces[i]=a),c.data[i]=x.extendTrace(c.data[i],l.data[n]))}return c},x.recomputeFrameHash=function(e){for(var t=e._transitionData._frameHash={},n=e._transitionData._frames,r=0;r<n.length;r++){var a=n[r];a&&a.name&&(t[a.name]=a)}},x.extendObjectWithContainers=function(e,t,n){var r,a,i,o,l,s,u,f=c.extendDeepNoArrays({},t||{}),d=c.expandObjectPaths(f),p={};if(n&&n.length)for(i=0;i<n.length;i++)void 0===(a=(r=c.nestedProperty(d,n[i])).get())?c.nestedProperty(p,n[i]).set(null):(r.set(null),c.nestedProperty(p,n[i]).set(a));if(e=c.extendDeepNoArrays(e||{},d),n&&n.length)for(i=0;i<n.length;i++)if(s=c.nestedProperty(p,n[i]).get()){for(u=(l=c.nestedProperty(e,n[i])).get(),Array.isArray(u)||(u=[],l.set(u)),o=0;o<s.length;o++){var h=s[o];u[o]=null===h?null:x.extendObjectWithContainers(u[o],h)}l.set(u)}return e},x.dataArrayContainers=[\"transforms\",\"dimensions\"],x.layoutArrayContainers=l.layoutArrayContainers,x.extendTrace=function(e,t){return x.extendObjectWithContainers(e,t,x.dataArrayContainers)},x.extendLayout=function(e,t){return x.extendObjectWithContainers(e,t,x.layoutArrayContainers)},x.transition=function(e,t,n,r,a,i){var o={redraw:a.redraw},l={},s=[];return o.prepareFn=function(){for(var a=Array.isArray(t)?t.length:0,i=r.slice(0,a),o=0;o<i.length;o++){var u=i[o],f=e._fullData[u]._module;if(f){if(f.animatable){var d=f.basePlotModule.name;l[d]||(l[d]=[]),l[d].push(u)}e.data[i[o]]=x.extendTrace(e.data[i[o]],t[o])}}var p=c.expandObjectPaths(c.extendDeepNoArrays({},n)),h=/^[xy]axis[0-9]*$/;for(var m in p)h.test(m)&&delete p[m].range;x.extendLayout(e.layout,p),delete e.calcdata,x.supplyDefaults(e),x.doCalcdata(e);var g=c.expandObjectPaths(n);if(g){var y=e._fullLayout._plots;for(var v in y){var b=y[v],w=b.xaxis,_=b.yaxis,k=w.range.slice(),T=_.range.slice(),M=null,S=null,E=null,C=null;Array.isArray(g[w._name+\".range\"])?M=g[w._name+\".range\"].slice():Array.isArray((g[w._name]||{}).range)&&(M=g[w._name].range.slice()),Array.isArray(g[_._name+\".range\"])?S=g[_._name+\".range\"].slice():Array.isArray((g[_._name]||{}).range)&&(S=g[_._name].range.slice()),k&&M&&(w.r2l(k[0])!==w.r2l(M[0])||w.r2l(k[1])!==w.r2l(M[1]))&&(E={xr0:k,xr1:M}),T&&S&&(_.r2l(T[0])!==_.r2l(S[0])||_.r2l(T[1])!==_.r2l(S[1]))&&(C={yr0:T,yr1:S}),(E||C)&&s.push(c.extendFlat({plotinfo:b},E,C))}}return Promise.resolve()},o.runFn=function(t){var r,a,o=e._fullLayout._basePlotModules,u=s.length;if(n)for(a=0;a<o.length;a++)o[a].transitionAxes&&o[a].transitionAxes(e,s,i,t);for(var f in u?((r=c.extendFlat({},i)).duration=0,delete l.cartesian):r=i,l){var d=l[f];e._fullData[d[0]]._module.basePlotModule.plot(e,d,r,t)}},P(e,i,o)},x.transitionFromReact=function(e,t,n,r){var a=e._fullLayout,i=a.transition,o={},l=[];return o.prepareFn=function(){var e=a._plots;for(var i in o.redraw=!1,\"some\"===t.anim&&(o.redraw=!0),\"some\"===n.anim&&(o.redraw=!0),e){var s=e[i],u=s.xaxis,f=s.yaxis,d=r[u._name].range.slice(),p=r[f._name].range.slice(),h=u.range.slice(),m=f.range.slice();u.setScale(),f.setScale();var g=null,y=null;u.r2l(d[0])===u.r2l(h[0])&&u.r2l(d[1])===u.r2l(h[1])||(g={xr0:d,xr1:h}),f.r2l(p[0])===f.r2l(m[0])&&f.r2l(p[1])===f.r2l(m[1])||(y={yr0:p,yr1:m}),(g||y)&&l.push(c.extendFlat({plotinfo:s},g,y))}return Promise.resolve()},o.runFn=function(n){for(var r,a,o,s=e._fullData,u=e._fullLayout._basePlotModules,f=[],d=0;d<s.length;d++)f.push(d);function p(){if(e._fullLayout)for(var t=0;t<u.length;t++)u[t].transitionAxes&&u[t].transitionAxes(e,l,r,n)}function h(){if(e._fullLayout)for(var t=0;t<u.length;t++)u[t].plot(e,o,a,n)}l.length&&t.anim?\"traces first\"===i.ordering?(r=c.extendFlat({},i,{duration:0}),o=f,a=i,setTimeout(p,i.duration),h()):(r=i,o=null,a=c.extendFlat({},i,{duration:0}),setTimeout(h,r.duration),p()):l.length?(r=i,p()):t.anim&&(o=f,a=i,h())},P(e,i,o)},x.doCalcdata=function(e,t){var n,r,a,i,o=p.list(e),u=e._fullData,f=e._fullLayout,h=new Array(u.length),m=(e.calcdata||[]).slice();for(e.calcdata=h,f._numBoxes=0,f._numViolins=0,f._violinScaleGroupStats={},e._hmpixcount=0,e._hmlumcount=0,f._piecolormap={},f._sunburstcolormap={},f._treemapcolormap={},f._iciclecolormap={},f._funnelareacolormap={},a=0;a<u.length;a++)Array.isArray(t)&&-1===t.indexOf(a)&&(h[a]=m[a]);for(a=0;a<u.length;a++)(n=u[a])._arrayAttrs=s.findArrayAttributes(n),n._extremes={};var g=f._subplots.polar||[];for(a=0;a<g.length;a++)o.push(f[g[a]].radialaxis,f[g[a]].angularaxis);for(var y in f._colorAxes){var v=f[y];!1!==v.cauto&&(delete v.cmin,delete v.cmax)}var b=!1;function x(t){if(n=u[t],r=n._module,!0===n.visible&&n.transforms){if(r&&r.calc){var a=r.calc(e,n);a[0]&&a[0].t&&a[0].t._scene&&delete a[0].t._scene.dirty}for(i=0;i<n.transforms.length;i++){var o=n.transforms[i];(r=w[o.type])&&r.calcTransform&&(n._hasCalcTransform=!0,b=!0,r.calcTransform(e,n,o))}}}function _(t,a){if(n=u[t],!!(r=n._module).isContainer===a){var o=[];if(!0===n.visible&&0!==n._length){delete n._indexToPoints;var l=n.transforms||[];for(i=l.length-1;i>=0;i--)if(l[i].enabled){n._indexToPoints=l[i]._indexToPoints;break}r&&r.calc&&(o=r.calc(e,n))}Array.isArray(o)&&o[0]||(o=[{x:d,y:d}]),o[0].t||(o[0].t={}),o[0].trace=n,h[t]=o}}for(L(o,u,f),a=0;a<u.length;a++)_(a,!0);for(a=0;a<u.length;a++)x(a);for(b&&L(o,u,f),a=0;a<u.length;a++)_(a,!0);for(a=0;a<u.length;a++)_(a,!1);I(e);var k=function(e,t){var n,r,a,i,o,s=[];function u(e,n,r){var a=n._id.charAt(0);if(\"histogram2dcontour\"===e){var i=n._counterAxes[0],o=p.getFromId(t,i),l=\"x\"===a||\"x\"===i&&\"category\"===o.type,s=\"y\"===a||\"y\"===i&&\"category\"===o.type;return function(e,t){return 0===e||0===t||l&&e===r[t].length-1||s&&t===r.length-1?-1:(\"y\"===a?t:e)-1}}return function(e,t){return\"y\"===a?t:e}}var f={min:function(e){return c.aggNums(Math.min,null,e)},max:function(e){return c.aggNums(Math.max,null,e)},sum:function(e){return c.aggNums((function(e,t){return e+t}),null,e)},total:function(e){return c.aggNums((function(e,t){return e+t}),null,e)},mean:function(e){return c.mean(e)},median:function(e){return c.median(e)}};for(n=0;n<e.length;n++){var d=e[n];if(\"category\"===d.type){var h=d.categoryorder.match(R);if(h){var m=h[1],g=h[2],y=d._id.charAt(0),v=\"x\"===y,b=[];for(r=0;r<d._categories.length;r++)b.push([d._categories[r],[]]);for(r=0;r<d._traceIndices.length;r++){var x=d._traceIndices[r],w=t._fullData[x];if(!0===w.visible){var _=w.type;l.traceIs(w,\"histogram\")&&(delete w._xautoBinFinished,delete w._yautoBinFinished);var k=\"splom\"===_,T=\"scattergl\"===_,M=t.calcdata[x];for(a=0;a<M.length;a++){var S,E,C=M[a];if(k){var O=w._axesDim[d._id];if(!v){var A=w._diag[O][0];A&&(d=t._fullLayout[p.id2name(A)])}var D=C.trace.dimensions[O].values;for(i=0;i<D.length;i++)for(S=d._categoriesMap[D[i]],o=0;o<C.trace.dimensions.length;o++)if(o!==O){var P=C.trace.dimensions[o];b[S][1].push(P.values[i])}}else if(T){for(i=0;i<C.t.x.length;i++)v?(S=C.t.x[i],E=C.t.y[i]):(S=C.t.y[i],E=C.t.x[i]),b[S][1].push(E);C.t&&C.t._scene&&delete C.t._scene.dirty}else if(C.hasOwnProperty(\"z\")){E=C.z;var L=u(w.type,d,E);for(i=0;i<E.length;i++)for(o=0;o<E[i].length;o++)(S=L(o,i))+1&&b[S][1].push(E[i][o])}else for(void 0===(S=C.p)&&(S=C[y]),void 0===(E=C.s)&&(E=C.v),void 0===E&&(E=v?C.y:C.x),Array.isArray(E)||(E=void 0===E?[]:[E]),i=0;i<E.length;i++)b[S][1].push(E[i])}}}d._categoriesValue=b;var I=[];for(r=0;r<b.length;r++)I.push([b[r][0],f[m](b[r][1])]);I.sort((function(e,t){return e[1]-t[1]})),d._categoriesAggregatedValue=I,d._initialCategories=I.map((function(e){return e[0]})),\"descending\"===g&&d._initialCategories.reverse(),s=s.concat(d.sortByInitialCategories())}}}return s}(o,e);if(k.length){for(f._numBoxes=0,f._numViolins=0,a=0;a<k.length;a++)_(k[a],!0);for(a=0;a<k.length;a++)_(k[a],!1);I(e)}l.getComponentMethod(\"fx\",\"calc\")(e),l.getComponentMethod(\"errorbars\",\"calc\")(e)};var R=/(total|sum|min|max|mean|median) (ascending|descending)/;function L(e,t,n){var r={};function a(e){e.clearCalc(),\"multicategory\"===e.type&&e.setupMultiCategory(t),r[e._id]=1}c.simpleMap(e,a);for(var i=n._axisMatchGroups||[],o=0;o<i.length;o++)for(var l in i[o])r[l]||a(n[p.id2name(l)])}function I(e){var t,n,r,a=e._fullLayout,i=a._visibleModules,o={};for(n=0;n<i.length;n++){var l=i[n],s=l.crossTraceCalc;if(s){var u=l.basePlotModule.name;o[u]?c.pushUnique(o[u],s):o[u]=[s]}}for(r in o){var f=o[r],d=a._subplots[r];if(Array.isArray(d))for(t=0;t<d.length;t++){var p=d[t],h=\"cartesian\"===r?a._plots[p]:a[p];for(n=0;n<f.length;n++)f[n](e,h,p)}else for(n=0;n<f.length;n++)f[n](e)}}x.rehover=function(e){e._fullLayout._rehover&&e._fullLayout._rehover()},x.redrag=function(e){e._fullLayout._redrag&&e._fullLayout._redrag()},x.generalUpdatePerTraceModule=function(e,t,n,r){var a,i=t.traceHash,o={};for(a=0;a<n.length;a++){var l=n[a],s=l[0].trace;s.visible&&(o[s.type]=o[s.type]||[],o[s.type].push(l))}for(var u in i)if(!o[u]){var f=i[u][0];f[0].trace.visible=!1,o[u]=[f]}for(var d in o){var p=o[d];p[0][0].trace._module.plot(e,t,c.filterVisible(p),r)}t.traceHash=o},x.plotBasePlot=function(e,t,n,r,a){var i=l.getModule(e),o=y(t.calcdata,i)[0];i.plot(t,o,r,a)},x.cleanBasePlot=function(e,t,n,r,a){var i=a._has&&a._has(e),o=n._has&&n._has(e);i&&!o&&a[\"_\"+e+\"layer\"].selectAll(\"g.trace\").remove()}},{\"../components/color\":157,\"../constants/numerical\":267,\"../lib\":287,\"../plot_api/plot_schema\":322,\"../plot_api/plot_template\":323,\"../plots/get_data\":367,\"../registry\":378,\"./animation_attributes\":328,\"./attributes\":330,\"./cartesian/axis_ids\":338,\"./cartesian/handle_outline\":345,\"./command\":363,\"./font_attributes\":365,\"./frame_attributes\":366,\"./layout_attributes\":369,\"@plotly/d3\":20,\"d3-format\":29,\"d3-time-format\":30,\"fast-isnumeric\":33}],372:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"../plot_api/plot_template\"),i=e(\"./domain\").defaults;t.exports=function(e,t,n,o){var l,s,u=o.type,c=o.attributes,f=o.handleDefaults,d=o.partition||\"x\",p=t._subplots[u],h=p.length,m=h&&p[0].replace(/\\d+$/,\"\");function g(e,t){return r.coerce(l,s,c,e,t)}for(var y=0;y<h;y++){var v=p[y];l=e[v]?e[v]:e[v]={},s=a.newContainer(t,v,m),o.noUirevision||g(\"uirevision\",t.uirevision);var b={};b[d]=[y/h,(y+1)/h],i(s,t,g,b),o.id=v,f(l,s,g,o)}}},{\"../lib\":287,\"../plot_api/plot_template\":323,\"./domain\":364}],373:[function(e,t,n){\"use strict\";var r=e(\"../constants/docs\");function a(e){var t=e.description?\" \"+e.description:\"\",n=e.keys||[];if(n.length>0){for(var r=[],a=0;a<n.length;a++)r[a]=\"`\"+n[a]+\"`\";t+=\"Finally, the template string has access to \",t=1===n.length?\"variable \"+r[0]:\"variables \"+r.slice(0,-1).join(\", \")+\" and \"+r.slice(-1)+\".\"}return t}r.FORMAT_LINK,r.DATE_FORMAT_LINK,n.hovertemplateAttrs=function(e,t){e=e||{},a(t=t||{});var n={valType:\"string\",dflt:\"\",editType:e.editType||\"none\"};return!1!==e.arrayOk&&(n.arrayOk=!0),n},n.texttemplateAttrs=function(e,t){e=e||{},a(t=t||{});var n={valType:\"string\",dflt:\"\",editType:e.editType||\"calc\"};return!1!==e.arrayOk&&(n.arrayOk=!0),n}},{\"../constants/docs\":264}],374:[function(e,t,n){\"use strict\";var r=e(\"./ternary\"),a=e(\"../../plots/get_data\").getSubplotCalcData,i=e(\"../../lib\").counterRegex;n.name=\"ternary\";var o=n.attr=\"subplot\";n.idRoot=\"ternary\",n.idRegex=n.attrRegex=i(\"ternary\"),(n.attributes={})[o]={valType:\"subplotid\",dflt:\"ternary\",editType:\"calc\"},n.layoutAttributes=e(\"./layout_attributes\"),n.supplyLayoutDefaults=e(\"./layout_defaults\"),n.plot=function(e){for(var t=e._fullLayout,n=e.calcdata,i=t._subplots.ternary,o=0;o<i.length;o++){var l=i[o],s=a(n,\"ternary\",l),u=t[l]._subplot;u||(u=new r({id:l,graphDiv:e,container:t._ternarylayer.node()},t),t[l]._subplot=u),u.plot(s,t,e._promises)}},n.clean=function(e,t,n,r){for(var a=r._subplots.ternary||[],i=0;i<a.length;i++){var o=a[i],l=r[o]._subplot;!t[o]&&l&&(l.plotContainer.remove(),l.clipDef.remove(),l.clipDefRelative.remove(),l.layers[\"a-title\"].remove(),l.layers[\"b-title\"].remove(),l.layers[\"c-title\"].remove())}}},{\"../../lib\":287,\"../../plots/get_data\":367,\"./layout_attributes\":375,\"./layout_defaults\":376,\"./ternary\":377}],375:[function(e,t,n){\"use strict\";var r=e(\"../../components/color/attributes\"),a=e(\"../domain\").attributes,i=e(\"../cartesian/layout_attributes\"),o=e(\"../../plot_api/edit_types\").overrideAll,l=e(\"../../lib/extend\").extendFlat,s={title:{text:i.title.text,font:i.title.font},color:i.color,tickmode:i.tickmode,nticks:l({},i.nticks,{dflt:6,min:1}),tick0:i.tick0,dtick:i.dtick,tickvals:i.tickvals,ticktext:i.ticktext,ticks:i.ticks,ticklen:i.ticklen,tickwidth:i.tickwidth,tickcolor:i.tickcolor,ticklabelstep:i.ticklabelstep,showticklabels:i.showticklabels,showtickprefix:i.showtickprefix,tickprefix:i.tickprefix,showticksuffix:i.showticksuffix,ticksuffix:i.ticksuffix,showexponent:i.showexponent,exponentformat:i.exponentformat,minexponent:i.minexponent,separatethousands:i.separatethousands,tickfont:i.tickfont,tickangle:i.tickangle,tickformat:i.tickformat,tickformatstops:i.tickformatstops,hoverformat:i.hoverformat,showline:l({},i.showline,{dflt:!0}),linecolor:i.linecolor,linewidth:i.linewidth,showgrid:l({},i.showgrid,{dflt:!0}),gridcolor:i.gridcolor,gridwidth:i.gridwidth,layer:i.layer,min:{valType:\"number\",dflt:0,min:0},_deprecated:{title:i._deprecated.title,titlefont:i._deprecated.titlefont}},u=t.exports=o({domain:a({name:\"ternary\"}),bgcolor:{valType:\"color\",dflt:r.background},sum:{valType:\"number\",dflt:1,min:0},aaxis:s,baxis:s,caxis:s},\"plot\",\"from-root\");u.uirevision={valType:\"any\",editType:\"none\"},u.aaxis.uirevision=u.baxis.uirevision=u.caxis.uirevision={valType:\"any\",editType:\"none\"}},{\"../../components/color/attributes\":156,\"../../lib/extend\":281,\"../../plot_api/edit_types\":316,\"../cartesian/layout_attributes\":349,\"../domain\":364}],376:[function(e,t,n){\"use strict\";var r=e(\"../../components/color\"),a=e(\"../../plot_api/plot_template\"),i=e(\"../../lib\"),o=e(\"../subplot_defaults\"),l=e(\"../cartesian/tick_label_defaults\"),s=e(\"../cartesian/prefix_suffix_defaults\"),u=e(\"../cartesian/tick_mark_defaults\"),c=e(\"../cartesian/tick_value_defaults\"),f=e(\"../cartesian/line_grid_defaults\"),d=e(\"./layout_attributes\"),p=[\"aaxis\",\"baxis\",\"caxis\"];function h(e,t,n,i){var o,l,s,u=n(\"bgcolor\"),c=n(\"sum\");i.bgColor=r.combine(u,i.paper_bgcolor);for(var f=0;f<p.length;f++)l=e[o=p[f]]||{},(s=a.newContainer(t,o))._name=o,m(l,s,i,t);var d=t.aaxis,h=t.baxis,g=t.caxis;d.min+h.min+g.min>=c&&(d.min=0,h.min=0,g.min=0,e.aaxis&&delete e.aaxis.min,e.baxis&&delete e.baxis.min,e.caxis&&delete e.caxis.min)}function m(e,t,n,r){var a=d[t._name];function o(n,r){return i.coerce(e,t,a,n,r)}o(\"uirevision\",r.uirevision),t.type=\"linear\";var p=o(\"color\"),h=p!==a.color.dflt?p:n.font.color,m=t._name.charAt(0).toUpperCase(),g=\"Component \"+m,y=o(\"title.text\",g);t._hovertitle=y===g?y:m,i.coerceFont(o,\"title.font\",{family:n.font.family,size:i.bigFont(n.font.size),color:h}),o(\"min\"),c(e,t,o,\"linear\"),s(e,t,o,\"linear\"),l(e,t,o,\"linear\"),u(e,t,o,{outerTicks:!0}),o(\"showticklabels\")&&(i.coerceFont(o,\"tickfont\",{family:n.font.family,size:n.font.size,color:h}),o(\"tickangle\"),o(\"tickformat\")),f(e,t,o,{dfltColor:p,bgColor:n.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:a}),o(\"hoverformat\"),o(\"layer\")}t.exports=function(e,t,n){o(e,t,n,{type:\"ternary\",attributes:d,handleDefaults:h,font:t.font,paper_bgcolor:t.paper_bgcolor})}},{\"../../components/color\":157,\"../../lib\":287,\"../../plot_api/plot_template\":323,\"../cartesian/line_grid_defaults\":351,\"../cartesian/prefix_suffix_defaults\":353,\"../cartesian/tick_label_defaults\":358,\"../cartesian/tick_mark_defaults\":359,\"../cartesian/tick_value_defaults\":360,\"../subplot_defaults\":372,\"./layout_attributes\":375}],377:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"tinycolor2\"),i=e(\"../../registry\"),o=e(\"../../lib\"),l=o.strTranslate,s=o._,u=e(\"../../components/color\"),c=e(\"../../components/drawing\"),f=e(\"../cartesian/set_convert\"),d=e(\"../../lib/extend\").extendFlat,p=e(\"../plots\"),h=e(\"../cartesian/axes\"),m=e(\"../../components/dragelement\"),g=e(\"../../components/fx\"),y=e(\"../../components/dragelement/helpers\"),v=y.freeMode,b=y.rectMode,x=e(\"../../components/titles\"),w=e(\"../cartesian/select\").prepSelect,_=e(\"../cartesian/select\").selectOnClick,k=e(\"../cartesian/select\").clearSelect,T=e(\"../cartesian/select\").clearSelectionsCache,M=e(\"../cartesian/constants\");function S(e,t){this.id=e.id,this.graphDiv=e.graphDiv,this.init(t),this.makeFramework(t),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}t.exports=S;var E=S.prototype;E.init=function(e){this.container=e._ternarylayer,this.defs=e._defs,this.layoutId=e._uid,this.traceHash={},this.layers={}},E.plot=function(e,t){var n=t[this.id],r=t._size;this._hasClipOnAxisFalse=!1;for(var a=0;a<e.length;a++)if(!1===e[a][0].trace.cliponaxis){this._hasClipOnAxisFalse=!0;break}this.updateLayers(n),this.adjustLayout(n,r),p.generalUpdatePerTraceModule(this.graphDiv,this,e,n),this.layers.plotbg.select(\"path\").call(u.fill,n.bgcolor)},E.makeFramework=function(e){var t=this.graphDiv,n=e[this.id],r=this.clipId=\"clip\"+this.layoutId+this.id,a=this.clipIdRelative=\"clip-relative\"+this.layoutId+this.id;this.clipDef=o.ensureSingleById(e._clips,\"clipPath\",r,(function(e){e.append(\"path\").attr(\"d\",\"M0,0Z\")})),this.clipDefRelative=o.ensureSingleById(e._clips,\"clipPath\",a,(function(e){e.append(\"path\").attr(\"d\",\"M0,0Z\")})),this.plotContainer=o.ensureSingle(this.container,\"g\",this.id),this.updateLayers(n),c.setClipUrl(this.layers.backplot,r,t),c.setClipUrl(this.layers.grids,r,t)},E.updateLayers=function(e){var t=this.layers,n=[\"draglayer\",\"plotbg\",\"backplot\",\"grids\"];\"below traces\"===e.aaxis.layer&&n.push(\"aaxis\",\"aline\"),\"below traces\"===e.baxis.layer&&n.push(\"baxis\",\"bline\"),\"below traces\"===e.caxis.layer&&n.push(\"caxis\",\"cline\"),n.push(\"frontplot\"),\"above traces\"===e.aaxis.layer&&n.push(\"aaxis\",\"aline\"),\"above traces\"===e.baxis.layer&&n.push(\"baxis\",\"bline\"),\"above traces\"===e.caxis.layer&&n.push(\"caxis\",\"cline\");var a=this.plotContainer.selectAll(\"g.toplevel\").data(n,String),i=[\"agrid\",\"bgrid\",\"cgrid\"];a.enter().append(\"g\").attr(\"class\",(function(e){return\"toplevel \"+e})).each((function(e){var n=r.select(this);t[e]=n,\"frontplot\"===e?n.append(\"g\").classed(\"scatterlayer\",!0):\"backplot\"===e?n.append(\"g\").classed(\"maplayer\",!0):\"plotbg\"===e?n.append(\"path\").attr(\"d\",\"M0,0Z\"):\"aline\"===e||\"bline\"===e||\"cline\"===e?n.append(\"path\"):\"grids\"===e&&i.forEach((function(e){t[e]=n.append(\"g\").classed(\"grid \"+e,!0)}))})),a.order()};var C=Math.sqrt(4/3);E.adjustLayout=function(e,t){var n,r,a,i,o,s,p=this,h=e.domain,m=(h.x[0]+h.x[1])/2,g=(h.y[0]+h.y[1])/2,y=h.x[1]-h.x[0],v=h.y[1]-h.y[0],b=y*t.w,x=v*t.h,w=e.sum,_=e.aaxis.min,k=e.baxis.min,T=e.caxis.min;b>C*x?a=(i=x)*C:i=(a=b)/C,o=y*a/b,s=v*i/x,n=t.l+t.w*m-a/2,r=t.t+t.h*(1-g)-i/2,p.x0=n,p.y0=r,p.w=a,p.h=i,p.sum=w,p.xaxis={type:\"linear\",range:[_+2*T-w,w-_-2*k],domain:[m-o/2,m+o/2],_id:\"x\"},f(p.xaxis,p.graphDiv._fullLayout),p.xaxis.setScale(),p.xaxis.isPtWithinRange=function(e){return e.a>=p.aaxis.range[0]&&e.a<=p.aaxis.range[1]&&e.b>=p.baxis.range[1]&&e.b<=p.baxis.range[0]&&e.c>=p.caxis.range[1]&&e.c<=p.caxis.range[0]},p.yaxis={type:\"linear\",range:[_,w-k-T],domain:[g-s/2,g+s/2],_id:\"y\"},f(p.yaxis,p.graphDiv._fullLayout),p.yaxis.setScale(),p.yaxis.isPtWithinRange=function(){return!0};var M=p.yaxis.domain[0],S=p.aaxis=d({},e.aaxis,{range:[_,w-k-T],side:\"left\",tickangle:(+e.aaxis.tickangle||0)-30,domain:[M,M+s*C],anchor:\"free\",position:0,_id:\"y\",_length:a});f(S,p.graphDiv._fullLayout),S.setScale();var E=p.baxis=d({},e.baxis,{range:[w-_-T,k],side:\"bottom\",domain:p.xaxis.domain,anchor:\"free\",position:0,_id:\"x\",_length:a});f(E,p.graphDiv._fullLayout),E.setScale();var O=p.caxis=d({},e.caxis,{range:[w-_-k,T],side:\"right\",tickangle:(+e.caxis.tickangle||0)+30,domain:[M,M+s*C],anchor:\"free\",position:0,_id:\"y\",_length:a});f(O,p.graphDiv._fullLayout),O.setScale();var A=\"M\"+n+\",\"+(r+i)+\"h\"+a+\"l-\"+a/2+\",-\"+i+\"Z\";p.clipDef.select(\"path\").attr(\"d\",A),p.layers.plotbg.select(\"path\").attr(\"d\",A);var D=\"M0,\"+i+\"h\"+a+\"l-\"+a/2+\",-\"+i+\"Z\";p.clipDefRelative.select(\"path\").attr(\"d\",D);var P=l(n,r);p.plotContainer.selectAll(\".scatterlayer,.maplayer\").attr(\"transform\",P),p.clipDefRelative.select(\"path\").attr(\"transform\",null);var R=l(n-E._offset,r+i);p.layers.baxis.attr(\"transform\",R),p.layers.bgrid.attr(\"transform\",R);var L=l(n+a/2,r)+\"rotate(30)\"+l(0,-S._offset);p.layers.aaxis.attr(\"transform\",L),p.layers.agrid.attr(\"transform\",L);var I=l(n+a/2,r)+\"rotate(-30)\"+l(0,-O._offset);p.layers.caxis.attr(\"transform\",I),p.layers.cgrid.attr(\"transform\",I),p.drawAxes(!0),p.layers.aline.select(\"path\").attr(\"d\",S.showline?\"M\"+n+\",\"+(r+i)+\"l\"+a/2+\",-\"+i:\"M0,0\").call(u.stroke,S.linecolor||\"#000\").style(\"stroke-width\",(S.linewidth||0)+\"px\"),p.layers.bline.select(\"path\").attr(\"d\",E.showline?\"M\"+n+\",\"+(r+i)+\"h\"+a:\"M0,0\").call(u.stroke,E.linecolor||\"#000\").style(\"stroke-width\",(E.linewidth||0)+\"px\"),p.layers.cline.select(\"path\").attr(\"d\",O.showline?\"M\"+(n+a/2)+\",\"+r+\"l\"+a/2+\",\"+i:\"M0,0\").call(u.stroke,O.linecolor||\"#000\").style(\"stroke-width\",(O.linewidth||0)+\"px\"),p.graphDiv._context.staticPlot||p.initInteractions(),c.setClipUrl(p.layers.frontplot,p._hasClipOnAxisFalse?null:p.clipId,p.graphDiv)},E.drawAxes=function(e){var t=this.graphDiv,n=this.id.substr(7)+\"title\",r=this.layers,a=this.aaxis,i=this.baxis,o=this.caxis;if(this.drawAx(a),this.drawAx(i),this.drawAx(o),e){var l=Math.max(a.showticklabels?a.tickfont.size/2:0,(o.showticklabels?.75*o.tickfont.size:0)+(\"outside\"===o.ticks?.87*o.ticklen:0)),u=(i.showticklabels?i.tickfont.size:0)+(\"outside\"===i.ticks?i.ticklen:0)+3;r[\"a-title\"]=x.draw(t,\"a\"+n,{propContainer:a,propName:this.id+\".aaxis.title\",placeholder:s(t,\"Click to enter Component A title\"),attributes:{x:this.x0+this.w/2,y:this.y0-a.title.font.size/3-l,\"text-anchor\":\"middle\"}}),r[\"b-title\"]=x.draw(t,\"b\"+n,{propContainer:i,propName:this.id+\".baxis.title\",placeholder:s(t,\"Click to enter Component B title\"),attributes:{x:this.x0-u,y:this.y0+this.h+.83*i.title.font.size+u,\"text-anchor\":\"middle\"}}),r[\"c-title\"]=x.draw(t,\"c\"+n,{propContainer:o,propName:this.id+\".caxis.title\",placeholder:s(t,\"Click to enter Component C title\"),attributes:{x:this.x0+this.w+u,y:this.y0+this.h+.83*o.title.font.size+u,\"text-anchor\":\"middle\"}})}},E.drawAx=function(e){var t,n=this.graphDiv,r=e._name,a=r.charAt(0),i=e._id,l=this.layers[r],s=a+\"tickLayout\",u=(t=e).ticks+String(t.ticklen)+String(t.showticklabels);this[s]!==u&&(l.selectAll(\".\"+i+\"tick\").remove(),this[s]=u),e.setScale();var c=h.calcTicks(e),f=h.clipEnds(e,c),d=h.makeTransTickFn(e),p=h.getTickSigns(e)[2],m=o.deg2rad(30),g=p*(e.linewidth||1)/2,y=p*e.ticklen,v=this.w,b=this.h,x=\"b\"===a?\"M0,\"+g+\"l\"+Math.sin(m)*y+\",\"+Math.cos(m)*y:\"M\"+g+\",0l\"+Math.cos(m)*y+\",\"+-Math.sin(m)*y,w={a:\"M0,0l\"+b+\",-\"+v/2,b:\"M0,0l-\"+v/2+\",-\"+b,c:\"M0,0l-\"+b+\",\"+v/2}[a];h.drawTicks(n,e,{vals:\"inside\"===e.ticks?f:c,layer:l,path:x,transFn:d,crisp:!1}),h.drawGrid(n,e,{vals:f,layer:this.layers[a+\"grid\"],path:w,transFn:d,crisp:!1}),h.drawLabels(n,e,{vals:c,layer:l,transFn:d,labelFns:h.makeLabelFns(e,0,30)})};var O=M.MINZOOM/2+.87,A=\"m-0.87,.5h\"+O+\"v3h-\"+(O+5.2)+\"l\"+(O/2+2.6)+\",-\"+(.87*O+4.5)+\"l2.6,1.5l-\"+O/2+\",\"+.87*O+\"Z\",D=\"m0.87,.5h-\"+O+\"v3h\"+(O+5.2)+\"l-\"+(O/2+2.6)+\",-\"+(.87*O+4.5)+\"l-2.6,1.5l\"+O/2+\",\"+.87*O+\"Z\",P=\"m0,1l\"+O/2+\",\"+.87*O+\"l2.6,-1.5l-\"+(O/2+2.6)+\",-\"+(.87*O+4.5)+\"l-\"+(O/2+2.6)+\",\"+(.87*O+4.5)+\"l2.6,1.5l\"+O/2+\",-\"+.87*O+\"Z\",R=!0;function L(e){r.select(e).selectAll(\".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners\").remove()}E.clearSelect=function(){T(this.dragOptions),k(this.dragOptions.gd)},E.initInteractions=function(){var e,t,n,r,f,d,p,h,y,x,k,T,S=this,E=S.layers.plotbg.select(\"path\").node(),O=S.graphDiv,I=O._fullLayout._zoomlayer;function j(e){var t={};return t[S.id+\".aaxis.min\"]=e.a,t[S.id+\".baxis.min\"]=e.b,t[S.id+\".caxis.min\"]=e.c,t}function N(e,t){var n=O._fullLayout.clickmode;L(O),2===e&&(O.emit(\"plotly_doubleclick\",null),i.call(\"_guiRelayout\",O,j({a:0,b:0,c:0}))),n.indexOf(\"select\")>-1&&1===e&&_(t,O,[S.xaxis],[S.yaxis],S.id,S.dragOptions),n.indexOf(\"event\")>-1&&g.click(O,t,S.id)}function z(e,t){return 1-t/S.h}function F(e,t){return 1-(e+(S.h-t)/Math.sqrt(3))/S.w}function Z(e,t){return(e-(S.h-t)/Math.sqrt(3))/S.w}function B(a,i){var o=n+a*e,l=r+i*t,s=Math.max(0,Math.min(1,z(0,r),z(0,l))),u=Math.max(0,Math.min(1,F(n,r),F(o,l))),c=Math.max(0,Math.min(1,Z(n,r),Z(o,l))),m=(s/2+c)*S.w,g=(1-s/2-u)*S.w,v=(m+g)/2,b=g-m,w=(1-s)*S.h,_=w-b/C;b<M.MINZOOM?(p=f,k.attr(\"d\",y),T.attr(\"d\",\"M0,0Z\")):(p={a:f.a+s*d,b:f.b+u*d,c:f.c+c*d},k.attr(\"d\",y+\"M\"+m+\",\"+w+\"H\"+g+\"L\"+v+\",\"+_+\"L\"+m+\",\"+w+\"Z\"),T.attr(\"d\",\"M\"+n+\",\"+r+\"m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2ZM\"+m+\",\"+w+A+\"M\"+g+\",\"+w+D+\"M\"+v+\",\"+_+P)),x||(k.transition().style(\"fill\",h>.2?\"rgba(0,0,0,0.4)\":\"rgba(255,255,255,0.3)\").duration(200),T.transition().style(\"opacity\",1).duration(200),x=!0),O.emit(\"plotly_relayouting\",j(p))}function q(){L(O),p!==f&&(i.call(\"_guiRelayout\",O,j(p)),R&&O.data&&O._context.showTips&&(o.notifier(s(O,\"Double-click to zoom back out\"),\"long\"),R=!1))}function H(e,t){var n=e/S.xaxis._m,r=t/S.yaxis._m,a=[(p={a:f.a-r,b:f.b+(n+r)/2,c:f.c-(n-r)/2}).a,p.b,p.c].sort(o.sorterAsc),i=a.indexOf(p.a),s=a.indexOf(p.b),u=a.indexOf(p.c);a[0]<0&&(a[1]+a[0]/2<0?(a[2]+=a[0]+a[1],a[0]=a[1]=0):(a[2]+=a[0]/2,a[1]+=a[0]/2,a[0]=0),p={a:a[i],b:a[s],c:a[u]},t=(f.a-p.a)*S.yaxis._m,e=(f.c-p.c-f.b+p.b)*S.xaxis._m);var d=l(S.x0+e,S.y0+t);S.plotContainer.selectAll(\".scatterlayer,.maplayer\").attr(\"transform\",d);var h=l(-e,-t);S.clipDefRelative.select(\"path\").attr(\"transform\",h),S.aaxis.range=[p.a,S.sum-p.b-p.c],S.baxis.range=[S.sum-p.a-p.c,p.b],S.caxis.range=[S.sum-p.a-p.b,p.c],S.drawAxes(!1),S._hasClipOnAxisFalse&&S.plotContainer.select(\".scatterlayer\").selectAll(\".trace\").call(c.hideOutsideRangePoints,S),O.emit(\"plotly_relayouting\",j(p))}function U(){i.call(\"_guiRelayout\",O,j(p))}this.dragOptions={element:E,gd:O,plotinfo:{id:S.id,domain:O._fullLayout[S.id].domain,xaxis:S.xaxis,yaxis:S.yaxis},subplot:S.id,prepFn:function(i,s,c){S.dragOptions.xaxes=[S.xaxis],S.dragOptions.yaxes=[S.yaxis],e=O._fullLayout._invScaleX,t=O._fullLayout._invScaleY;var m=S.dragOptions.dragmode=O._fullLayout.dragmode;v(m)?S.dragOptions.minDrag=1:S.dragOptions.minDrag=void 0,\"zoom\"===m?(S.dragOptions.moveFn=B,S.dragOptions.clickFn=N,S.dragOptions.doneFn=q,function(e,t,i){var s=E.getBoundingClientRect();n=t-s.left,r=i-s.top,O._fullLayout._calcInverseTransform(O);var c=O._fullLayout._invTransform,m=o.apply3DTransform(c)(n,r);n=m[0],r=m[1],f={a:S.aaxis.range[0],b:S.baxis.range[1],c:S.caxis.range[1]},p=f,d=S.aaxis.range[1]-f.a,h=a(S.graphDiv._fullLayout[S.id].bgcolor).getLuminance(),y=\"M0,\"+S.h+\"L\"+S.w/2+\", 0L\"+S.w+\",\"+S.h+\"Z\",x=!1,k=I.append(\"path\").attr(\"class\",\"zoombox\").attr(\"transform\",l(S.x0,S.y0)).style({fill:h>.2?\"rgba(0,0,0,0)\":\"rgba(255,255,255,0)\",\"stroke-width\":0}).attr(\"d\",y),T=I.append(\"path\").attr(\"class\",\"zoombox-corners\").attr(\"transform\",l(S.x0,S.y0)).style({fill:u.background,stroke:u.defaultLine,\"stroke-width\":1,opacity:0}).attr(\"d\",\"M0,0Z\"),S.clearSelect(O)}(0,s,c)):\"pan\"===m?(S.dragOptions.moveFn=H,S.dragOptions.clickFn=N,S.dragOptions.doneFn=U,f={a:S.aaxis.range[0],b:S.baxis.range[1],c:S.caxis.range[1]},p=f,S.clearSelect(O)):(b(m)||v(m))&&w(i,s,c,S.dragOptions,m)}},E.onmousemove=function(e){g.hover(O,e,S.id),O._fullLayout._lasthover=E,O._fullLayout._hoversubplot=S.id},E.onmouseout=function(e){O._dragging||m.unhover(O,e)},m.init(this.dragOptions)}},{\"../../components/color\":157,\"../../components/dragelement\":176,\"../../components/dragelement/helpers\":175,\"../../components/drawing\":179,\"../../components/fx\":197,\"../../components/titles\":255,\"../../lib\":287,\"../../lib/extend\":281,\"../../registry\":378,\"../cartesian/axes\":334,\"../cartesian/constants\":341,\"../cartesian/select\":355,\"../cartesian/set_convert\":356,\"../plots\":371,\"@plotly/d3\":20,tinycolor2:121}],378:[function(e,t,n){\"use strict\";var r=e(\"./lib/loggers\"),a=e(\"./lib/noop\"),i=e(\"./lib/push_unique\"),o=e(\"./lib/is_plain_object\"),l=e(\"./lib/dom\").addStyleRule,s=e(\"./lib/extend\"),u=e(\"./plots/attributes\"),c=e(\"./plots/layout_attributes\"),f=s.extendFlat,d=s.extendDeepAll;function p(e){var t=e.name,a=e.categories,i=e.meta;if(n.modules[t])r.log(\"Type \"+t+\" already registered\");else{n.subplotsRegistry[e.basePlotModule.name]||function(e){var t=e.name;if(n.subplotsRegistry[t])r.log(\"Plot type \"+t+\" already registered.\");else for(var a in y(e),n.subplotsRegistry[t]=e,n.componentsRegistry)x(a,e.name)}(e.basePlotModule);for(var o={},s=0;s<a.length;s++)o[a[s]]=!0,n.allCategories[a[s]]=!0;for(var u in n.modules[t]={_module:e,categories:o},i&&Object.keys(i).length&&(n.modules[t].meta=i),n.allTypes.push(t),n.componentsRegistry)v(u,t);e.layoutAttributes&&f(n.traceLayoutAttributes,e.layoutAttributes);var c=e.basePlotModule,d=c.name;if(\"mapbox\"===d){var p=c.constants.styleRules;for(var h in p)l(\".js-plotly-plot .plotly .mapboxgl-\"+h,p[h])}\"geo\"!==d&&\"mapbox\"!==d||void 0===typeof window||void 0!==window.PlotlyGeoAssets||(window.PlotlyGeoAssets={topojson:{}})}}function h(e){if(\"string\"!=typeof e.name)throw new Error(\"Component module *name* must be a string.\");var t=e.name;for(var r in n.componentsRegistry[t]=e,e.layoutAttributes&&(e.layoutAttributes._isLinkedToArray&&i(n.layoutArrayContainers,t),y(e)),n.modules)v(t,r);for(var a in n.subplotsRegistry)x(t,a);for(var o in n.transformsRegistry)b(t,o);e.schema&&e.schema.layout&&d(c,e.schema.layout)}function m(e){if(\"string\"!=typeof e.name)throw new Error(\"Transform module *name* must be a string.\");var t=\"Transform module \"+e.name,a=\"function\"==typeof e.transform,i=\"function\"==typeof e.calcTransform;if(!a&&!i)throw new Error(t+\" is missing a *transform* or *calcTransform* method.\");for(var l in a&&i&&r.log([t+\" has both a *transform* and *calcTransform* methods.\",\"Please note that all *transform* methods are executed\",\"before all *calcTransform* methods.\"].join(\" \")),o(e.attributes)||r.log(t+\" registered without an *attributes* object.\"),\"function\"!=typeof e.supplyDefaults&&r.log(t+\" registered without a *supplyDefaults* method.\"),n.transformsRegistry[e.name]=e,n.componentsRegistry)b(l,e.name)}function g(e){var t=e.name,r=t.split(\"-\")[0],a=e.dictionary,i=e.format,o=a&&Object.keys(a).length,l=i&&Object.keys(i).length,s=n.localeRegistry,u=s[t];if(u||(s[t]=u={}),r!==t){var c=s[r];c||(s[r]=c={}),o&&c.dictionary===u.dictionary&&(c.dictionary=a),l&&c.format===u.format&&(c.format=i)}o&&(u.dictionary=a),l&&(u.format=i)}function y(e){if(e.layoutAttributes){var t=e.layoutAttributes._arrayAttrRegexps;if(t)for(var r=0;r<t.length;r++)i(n.layoutArrayRegexes,t[r])}}function v(e,t){var r=n.componentsRegistry[e].schema;if(r&&r.traces){var a=r.traces[t];a&&d(n.modules[t]._module.attributes,a)}}function b(e,t){var r=n.componentsRegistry[e].schema;if(r&&r.transforms){var a=r.transforms[t];a&&d(n.transformsRegistry[t].attributes,a)}}function x(e,t){var r=n.componentsRegistry[e].schema;if(r&&r.subplots){var a=n.subplotsRegistry[t],i=a.layoutAttributes,o=\"subplot\"===a.attr?a.name:a.attr;Array.isArray(o)&&(o=o[0]);var l=r.subplots[o];i&&l&&d(i,l)}}function w(e){return\"object\"==typeof e&&(e=e.type),e}n.modules={},n.allCategories={},n.allTypes=[],n.subplotsRegistry={},n.transformsRegistry={},n.componentsRegistry={},n.layoutArrayContainers=[],n.layoutArrayRegexes=[],n.traceLayoutAttributes={},n.localeRegistry={},n.apiMethodRegistry={},n.collectableSubplotTypes=null,n.register=function(e){if(n.collectableSubplotTypes=null,!e)throw new Error(\"No argument passed to Plotly.register.\");e&&!Array.isArray(e)&&(e=[e]);for(var t=0;t<e.length;t++){var r=e[t];if(!r)throw new Error(\"Invalid module was attempted to be registered!\");switch(r.moduleType){case\"trace\":p(r);break;case\"transform\":m(r);break;case\"component\":h(r);break;case\"locale\":g(r);break;case\"apiMethod\":var a=r.name;n.apiMethodRegistry[a]=r.fn;break;default:throw new Error(\"Invalid module was attempted to be registered!\")}}},n.getModule=function(e){var t=n.modules[w(e)];return!!t&&t._module},n.traceIs=function(e,t){if(\"various\"===(e=w(e)))return!1;var a=n.modules[e];return a||(e&&r.log(\"Unrecognized trace type \"+e+\".\"),a=n.modules[u.type.dflt]),!!a.categories[t]},n.getTransformIndices=function(e,t){for(var n=[],r=e.transforms||[],a=0;a<r.length;a++)r[a].type===t&&n.push(a);return n},n.hasTransform=function(e,t){for(var n=e.transforms||[],r=0;r<n.length;r++)if(n[r].type===t)return!0;return!1},n.getComponentMethod=function(e,t){var r=n.componentsRegistry[e];return r&&r[t]||a},n.call=function(){var e=arguments[0],t=[].slice.call(arguments,1);return n.apiMethodRegistry[e].apply(null,t)}},{\"./lib/dom\":279,\"./lib/extend\":281,\"./lib/is_plain_object\":288,\"./lib/loggers\":291,\"./lib/noop\":296,\"./lib/push_unique\":301,\"./plots/attributes\":330,\"./plots/layout_attributes\":369}],379:[function(e,t,n){\"use strict\";var r=e(\"../registry\"),a=e(\"../lib\"),i=a.extendFlat,o=a.extendDeep;function l(e){var t;switch(e){case\"themes__thumb\":t={autosize:!0,width:150,height:150,title:{text:\"\"},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case\"thumbnail\":t={title:{text:\"\"},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:\"\",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:t={}}return t}t.exports=function(e,t){var n,a,s=e.data,u=e.layout,c=o([],s),f=o({},u,l(t.tileClass)),d=e._context||{};if(t.width&&(f.width=t.width),t.height&&(f.height=t.height),\"thumbnail\"===t.tileClass||\"themes__thumb\"===t.tileClass){f.annotations=[];var p=Object.keys(f);for(n=0;n<p.length;n++)a=p[n],[\"xaxis\",\"yaxis\",\"zaxis\"].indexOf(a.slice(0,5))>-1&&(f[p[n]].title={text:\"\"});for(n=0;n<c.length;n++){var h=c[n];h.showscale=!1,h.marker&&(h.marker.showscale=!1),r.traceIs(h,\"pie-like\")&&(h.textposition=\"none\")}}if(Array.isArray(t.annotations))for(n=0;n<t.annotations.length;n++)f.annotations.push(t.annotations[n]);var m=Object.keys(f).filter((function(e){return e.match(/^scene\\d*$/)}));if(m.length){var g={};for(\"thumbnail\"===t.tileClass&&(g={title:{text:\"\"},showaxeslabels:!1,showticklabels:!1,linetickenable:!1}),n=0;n<m.length;n++){var y=f[m[n]];y.xaxis||(y.xaxis={}),y.yaxis||(y.yaxis={}),y.zaxis||(y.zaxis={}),i(y.xaxis,g),i(y.yaxis,g),i(y.zaxis,g),y._scene=null}}var v=document.createElement(\"div\");t.tileClass&&(v.className=t.tileClass);var b={gd:v,td:v,layout:f,data:c,config:{staticPlot:void 0===t.staticPlot||t.staticPlot,plotGlPixelRatio:void 0===t.plotGlPixelRatio?2:t.plotGlPixelRatio,displaylogo:t.displaylogo||!1,showLink:t.showLink||!1,showTips:t.showTips||!1,mapboxAccessToken:d.mapboxAccessToken}};return\"transparent\"!==t.setBackground&&(b.config.setBackground=t.setBackground||\"opaque\"),b.gd.defaultLayout=l(t.tileClass),b}},{\"../lib\":287,\"../registry\":378}],380:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"../plot_api/to_image\"),i=e(\"./filesaver\"),o=e(\"./helpers\");t.exports=function(e,t){var n;return r.isPlainObject(e)||(n=r.getGraphDiv(e)),(t=t||{}).format=t.format||\"png\",t.width=t.width||null,t.height=t.height||null,t.imageDataOnly=!0,new Promise((function(l,s){n&&n._snapshotInProgress&&s(new Error(\"Snapshotting already in progress.\")),r.isIE()&&\"svg\"!==t.format&&s(new Error(o.MSG_IE_BAD_FORMAT)),n&&(n._snapshotInProgress=!0);var u=a(e,t),c=t.filename||e.fn||\"newplot\";c+=\".\"+t.format.replace(\"-\",\".\"),u.then((function(e){return n&&(n._snapshotInProgress=!1),i(e,c,t.format)})).then((function(e){l(e)})).catch((function(e){n&&(n._snapshotInProgress=!1),s(e)}))}))}},{\"../lib\":287,\"../plot_api/to_image\":326,\"./filesaver\":381,\"./helpers\":382}],381:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"./helpers\");t.exports=function(e,t,n){var i=document.createElement(\"a\"),o=\"download\"in i;return new Promise((function(l,s){var u,c;if(r.isIE())return u=a.createBlob(e,\"svg\"),window.navigator.msSaveBlob(u,t),u=null,l(t);if(o)return u=a.createBlob(e,n),c=a.createObjectURL(u),i.href=c,i.download=t,document.body.appendChild(i),i.click(),document.body.removeChild(i),a.revokeObjectURL(c),u=null,l(t);if(r.isSafari()){var f=\"svg\"===n?\",\":\";base64,\";return a.octetStream(f+encodeURIComponent(e)),l(t)}s(new Error(\"download error\"))}))}},{\"../lib\":287,\"./helpers\":382}],382:[function(e,t,n){\"use strict\";var r=e(\"../registry\");n.getDelay=function(e){return e._has&&(e._has(\"gl3d\")||e._has(\"gl2d\")||e._has(\"mapbox\"))?500:0},n.getRedrawFunc=function(e){return function(){r.getComponentMethod(\"colorbar\",\"draw\")(e)}},n.encodeSVG=function(e){return\"data:image/svg+xml,\"+encodeURIComponent(e)},n.encodeJSON=function(e){return\"data:application/json,\"+encodeURIComponent(e)};var a=window.URL||window.webkitURL;n.createObjectURL=function(e){return a.createObjectURL(e)},n.revokeObjectURL=function(e){return a.revokeObjectURL(e)},n.createBlob=function(e,t){if(\"svg\"===t)return new window.Blob([e],{type:\"image/svg+xml;charset=utf-8\"});if(\"full-json\"===t)return new window.Blob([e],{type:\"application/json;charset=utf-8\"});var n=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),a=0;a<t;a++)r[a]=e.charCodeAt(a);return n}(window.atob(e));return new window.Blob([n],{type:\"image/\"+t})},n.octetStream=function(e){document.location.href=\"data:application/octet-stream\"+e},n.IMAGE_URL_PREFIX=/^data:image\\/\\w+;base64,/,n.MSG_IE_BAD_FORMAT=\"Sorry IE does not support downloading from canvas. Try {format:'svg'} instead.\"},{\"../registry\":378}],383:[function(e,t,n){\"use strict\";var r=e(\"./helpers\"),a={getDelay:r.getDelay,getRedrawFunc:r.getRedrawFunc,clone:e(\"./cloneplot\"),toSVG:e(\"./tosvg\"),svgToImg:e(\"./svgtoimg\"),toImage:e(\"./toimage\"),downloadImage:e(\"./download\")};t.exports=a},{\"./cloneplot\":379,\"./download\":380,\"./helpers\":382,\"./svgtoimg\":384,\"./toimage\":385,\"./tosvg\":386}],384:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"events\").EventEmitter,i=e(\"./helpers\");t.exports=function(e){var t=e.emitter||new a,n=new Promise((function(a,o){var l=window.Image,s=e.svg,u=e.format||\"png\";if(r.isIE()&&\"svg\"!==u){var c=new Error(i.MSG_IE_BAD_FORMAT);return o(c),e.promise?n:t.emit(\"error\",c)}var f,d,p=e.canvas,h=e.scale||1,m=e.width||300,g=e.height||150,y=h*m,v=h*g,b=p.getContext(\"2d\"),x=new l;\"svg\"===u||r.isSafari()?d=i.encodeSVG(s):(f=i.createBlob(s,\"svg\"),d=i.createObjectURL(f)),p.width=y,p.height=v,x.onload=function(){var n;switch(f=null,i.revokeObjectURL(d),\"svg\"!==u&&b.drawImage(x,0,0,y,v),u){case\"jpeg\":n=p.toDataURL(\"image/jpeg\");break;case\"png\":n=p.toDataURL(\"image/png\");break;case\"webp\":n=p.toDataURL(\"image/webp\");break;case\"svg\":n=d;break;default:var r=\"Image format is not jpeg, png, svg or webp.\";if(o(new Error(r)),!e.promise)return t.emit(\"error\",r)}a(n),e.promise||t.emit(\"success\",n)},x.onerror=function(n){if(f=null,i.revokeObjectURL(d),o(n),!e.promise)return t.emit(\"error\",n)},x.src=d}));return e.promise?n:t}},{\"../lib\":287,\"./helpers\":382,events:27}],385:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,a=e(\"../registry\"),i=e(\"../lib\"),o=e(\"./helpers\"),l=e(\"./cloneplot\"),s=e(\"./tosvg\"),u=e(\"./svgtoimg\");t.exports=function(e,t){var n=new r,c=l(e,{format:\"png\"}),f=c.gd;f.style.position=\"absolute\",f.style.left=\"-5000px\",document.body.appendChild(f);var d=o.getRedrawFunc(f);return a.call(\"_doPlot\",f,c.data,c.layout,c.config).then(d).then((function(){var e=o.getDelay(f._fullLayout);setTimeout((function(){var e=s(f),r=document.createElement(\"canvas\");r.id=i.randstr(),(n=u({format:t.format,width:f._fullLayout.width,height:f._fullLayout.height,canvas:r,emitter:n,svg:e})).clean=function(){f&&document.body.removeChild(f)}}),e)})).catch((function(e){n.emit(\"error\",e)})),n}},{\"../lib\":287,\"../registry\":378,\"./cloneplot\":379,\"./helpers\":382,\"./svgtoimg\":384,\"./tosvg\":386,events:27}],386:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../lib\"),i=e(\"../components/drawing\"),o=e(\"../components/color\"),l=e(\"../constants/xmlns_namespaces\"),s=/\"/g,u=new RegExp('(\"TOBESTRIPPED)|(TOBESTRIPPED\")',\"g\");t.exports=function(e,t,n){var c,f,d=e._fullLayout,p=d._paper,h=d._toppaper,m=d.width,g=d.height;p.insert(\"rect\",\":first-child\").call(i.setRect,0,0,m,g).call(o.fill,d.paper_bgcolor);var y=d._basePlotModules||[];for(c=0;c<y.length;c++){var v=y[c];v.toSVG&&v.toSVG(e)}if(h){var b=h.node().childNodes,x=Array.prototype.slice.call(b);for(c=0;c<x.length;c++){var w=x[c];w.childNodes.length&&p.node().appendChild(w)}}d._draggers&&d._draggers.remove(),p.node().style.background=\"\",p.selectAll(\"text\").attr({\"data-unformatted\":null,\"data-math\":null}).each((function(){var e=r.select(this);if(\"hidden\"!==this.style.visibility&&\"none\"!==this.style.display){e.style({visibility:null,display:null});var t=this.style.fontFamily;t&&-1!==t.indexOf('\"')&&e.style(\"font-family\",t.replace(s,\"TOBESTRIPPED\"))}else e.remove()}));var _=[];if(d._gradientUrlQueryParts)for(f in d._gradientUrlQueryParts)_.push(f);if(d._patternUrlQueryParts)for(f in d._patternUrlQueryParts)_.push(f);_.length&&p.selectAll(_.join(\",\")).each((function(){var e=r.select(this),t=this.style.fill;t&&-1!==t.indexOf(\"url(\")&&e.style(\"fill\",t.replace(s,\"TOBESTRIPPED\"));var n=this.style.stroke;n&&-1!==n.indexOf(\"url(\")&&e.style(\"stroke\",n.replace(s,\"TOBESTRIPPED\"))})),\"pdf\"!==t&&\"eps\"!==t||p.selectAll(\"#MathJax_SVG_glyphs path\").attr(\"stroke-width\",0),p.node().setAttributeNS(l.xmlns,\"xmlns\",l.svg),p.node().setAttributeNS(l.xmlns,\"xmlns:xlink\",l.xlink),\"svg\"===t&&n&&(p.attr(\"width\",n*m),p.attr(\"height\",n*g),p.attr(\"viewBox\",\"0 0 \"+m+\" \"+g));var k=(new window.XMLSerializer).serializeToString(p.node());return k=function(e){var t=r.select(\"body\").append(\"div\").style({display:\"none\"}).html(\"\"),n=e.replace(/(&[^;]*;)/gi,(function(e){return\"<\"===e?\"<\":\"&rt;\"===e?\">\":-1!==e.indexOf(\"<\")||-1!==e.indexOf(\">\")?\"\":t.html(e).text()}));return t.remove(),n}(k),k=(k=k.replace(/&(?!\\w+;|\\#[0-9]+;| \\#x[0-9A-F]+;)/g,\"&\")).replace(u,\"'\"),a.isIE()&&(k=(k=(k=k.replace(/\"/gi,\"'\")).replace(/(\\('#)([^']*)('\\))/gi,'(\"#$2\")')).replace(/(\\\\')/gi,'\"')),k}},{\"../components/color\":157,\"../components/drawing\":179,\"../constants/xmlns_namespaces\":268,\"../lib\":287,\"@plotly/d3\":20}],387:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports=function(e,t){for(var n=0;n<e.length;n++)e[n].i=n;r.mergeArray(t.text,e,\"tx\"),r.mergeArray(t.hovertext,e,\"htx\");var a=t.marker;if(a){r.mergeArray(a.opacity,e,\"mo\",!0),r.mergeArray(a.color,e,\"mc\");var i=a.line;i&&(r.mergeArray(i.color,e,\"mlc\"),r.mergeArrayCastPositive(i.width,e,\"mlw\"))}}},{\"../../lib\":287}],388:[function(e,t,n){\"use strict\";var r=e(\"../scatter/attributes\"),a=e(\"../../plots/cartesian/axis_format_attributes\").axisHoverFormat,i=e(\"../../plots/template_attributes\").hovertemplateAttrs,o=e(\"../../plots/template_attributes\").texttemplateAttrs,l=e(\"../../components/colorscale/attributes\"),s=e(\"../../plots/font_attributes\"),u=e(\"./constants\"),c=e(\"../../components/drawing/attributes\").pattern,f=e(\"../../lib/extend\").extendFlat,d=s({editType:\"calc\",arrayOk:!0,colorEditType:\"style\"}),p=f({},r.marker.line.width,{dflt:0}),h=f({width:p,editType:\"calc\"},l(\"marker.line\")),m=f({line:h,editType:\"calc\"},l(\"marker\"),{opacity:{valType:\"number\",arrayOk:!0,dflt:1,min:0,max:1,editType:\"style\"},pattern:c});t.exports={x:r.x,x0:r.x0,dx:r.dx,y:r.y,y0:r.y0,dy:r.dy,xperiod:r.xperiod,yperiod:r.yperiod,xperiod0:r.xperiod0,yperiod0:r.yperiod0,xperiodalignment:r.xperiodalignment,yperiodalignment:r.yperiodalignment,xhoverformat:a(\"x\"),yhoverformat:a(\"y\"),text:r.text,texttemplate:o({editType:\"plot\"},{keys:u.eventDataKeys}),hovertext:r.hovertext,hovertemplate:i({},{keys:u.eventDataKeys}),textposition:{valType:\"enumerated\",values:[\"inside\",\"outside\",\"auto\",\"none\"],dflt:\"auto\",arrayOk:!0,editType:\"calc\"},insidetextanchor:{valType:\"enumerated\",values:[\"end\",\"middle\",\"start\"],dflt:\"end\",editType:\"plot\"},textangle:{valType:\"angle\",dflt:\"auto\",editType:\"plot\"},textfont:f({},d,{}),insidetextfont:f({},d,{}),outsidetextfont:f({},d,{}),constraintext:{valType:\"enumerated\",values:[\"inside\",\"outside\",\"both\",\"none\"],dflt:\"both\",editType:\"calc\"},cliponaxis:f({},r.cliponaxis,{}),orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],editType:\"calc+clearAxisTypes\"},base:{valType:\"any\",dflt:null,arrayOk:!0,editType:\"calc\"},offset:{valType:\"number\",dflt:null,arrayOk:!0,editType:\"calc\"},width:{valType:\"number\",dflt:null,min:0,arrayOk:!0,editType:\"calc\"},marker:m,offsetgroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},alignmentgroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},selected:{marker:{opacity:r.selected.marker.opacity,color:r.selected.marker.color,editType:\"style\"},textfont:r.selected.textfont,editType:\"style\"},unselected:{marker:{opacity:r.unselected.marker.opacity,color:r.unselected.marker.color,editType:\"style\"},textfont:r.unselected.textfont,editType:\"style\"},_deprecated:{bardir:{valType:\"enumerated\",editType:\"calc\",values:[\"v\",\"h\"]}}}},{\"../../components/colorscale/attributes\":164,\"../../components/drawing/attributes\":178,\"../../lib/extend\":281,\"../../plots/cartesian/axis_format_attributes\":337,\"../../plots/font_attributes\":365,\"../../plots/template_attributes\":373,\"../scatter/attributes\":500,\"./constants\":390}],389:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axes\"),a=e(\"../../plots/cartesian/align_period\"),i=e(\"../../components/colorscale/helpers\").hasColorscale,o=e(\"../../components/colorscale/calc\"),l=e(\"./arrays_to_calcdata\"),s=e(\"../scatter/calc_selection\");t.exports=function(e,t){var n,u,c,f,d,p,h=r.getFromId(e,t.xaxis||\"x\"),m=r.getFromId(e,t.yaxis||\"y\"),g={msUTC:!(!t.base&&0!==t.base)};\"h\"===t.orientation?(n=h.makeCalcdata(t,\"x\",g),c=m.makeCalcdata(t,\"y\"),f=a(t,m,\"y\",c),d=!!t.yperiodalignment,p=\"y\"):(n=m.makeCalcdata(t,\"y\",g),c=h.makeCalcdata(t,\"x\"),f=a(t,h,\"x\",c),d=!!t.xperiodalignment,p=\"x\"),u=f.vals;for(var y=Math.min(u.length,n.length),v=new Array(y),b=0;b<y;b++)v[b]={p:u[b],s:n[b]},d&&(v[b].orig_p=c[b],v[b][p+\"End\"]=f.ends[b],v[b][p+\"Start\"]=f.starts[b]),t.ids&&(v[b].id=String(t.ids[b]));return i(t,\"marker\")&&o(e,t,{vals:t.marker.color,containerStr:\"marker\",cLetter:\"c\"}),i(t,\"marker.line\")&&o(e,t,{vals:t.marker.line.color,containerStr:\"marker.line\",cLetter:\"c\"}),l(v,t),s(v,t),v}},{\"../../components/colorscale/calc\":165,\"../../components/colorscale/helpers\":168,\"../../plots/cartesian/align_period\":331,\"../../plots/cartesian/axes\":334,\"../scatter/calc_selection\":502,\"./arrays_to_calcdata\":387}],390:[function(e,t,n){\"use strict\";t.exports={TEXTPAD:3,eventDataKeys:[\"value\",\"label\"]}},{}],391:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\").isArrayOrTypedArray,i=e(\"../../constants/numerical\").BADNUM,o=e(\"../../registry\"),l=e(\"../../plots/cartesian/axes\"),s=e(\"../../plots/cartesian/constraints\").getAxisGroup,u=e(\"./sieve.js\");function c(e,t,n,o,c){if(o.length){var x,w,_,k;switch(function(e,t){var n,i;for(n=0;n<t.length;n++){var o,l=t[n],s=l[0].trace,u=\"funnel\"===s.type?s._base:s.base,c=\"h\"===s.orientation?s.xcalendar:s.ycalendar,f=\"category\"===e.type||\"multicategory\"===e.type?function(){return null}:e.d2c;if(a(u)){for(i=0;i<Math.min(u.length,l.length);i++)o=f(u[i],0,c),r(o)?(l[i].b=+o,l[i].hasB=1):l[i].b=0;for(;i<l.length;i++)l[i].b=0}else{o=f(u,0,c);var d=r(o);for(o=d?o:0,i=0;i<l.length;i++)l[i].b=o,d&&(l[i].hasB=1)}}}(n,o),c.mode){case\"overlay\":f(t,n,o,c);break;case\"group\":for(x=[],w=[],_=0;_<o.length;_++)void 0===(k=o[_])[0].trace.offset?w.push(k):x.push(k);w.length&&function(e,t,n,r,a){var o=new u(r,{posAxis:t,sepNegVal:!1,overlapNoMerge:!a.norm});(function(e,t,n,r){for(var a=e._fullLayout,i=n.positions,o=n.distinctPositions,l=n.minDiff,u=n.traces,c=u.length,f=i.length!==o.length,d=l*(1-r.gap),g=s(a,t._id)+u[0][0].trace.orientation,y=a._alignmentOpts[g]||{},v=0;v<c;v++){var b,x,w=u[v],_=w[0].trace,k=y[_.alignmentgroup]||{},T=Object.keys(k.offsetGroups||{}).length,M=(b=T?d/T:f?d/c:d)*(1-(r.groupgap||0));x=T?((2*_._offsetIndex+1-T)*b-M)/2:f?((2*v+1-c)*b-M)/2:-M/2;var S=w[0].t;S.barwidth=M,S.poffset=x,S.bargroupwidth=d,S.bardelta=l}n.binWidth=u[0][0].t.barwidth/100,p(n),h(t,n),m(t,n,f)})(e,t,o,a),function(e,t){for(var n=e.traces,r=0;r<n.length;r++){var a=n[r];if(void 0===a[0].trace.base)for(var o=new u([a],{posAxis:t,sepNegVal:!0,overlapNoMerge:!0}),l=0;l<a.length;l++){var s=a[l];if(s.p!==i){var c=o.put(s.p,s.b+s.s);c&&(s.b=c)}}}}(o,t),a.norm?(y(o),v(n,o,a)):g(n,o)}(e,t,n,w,c),x.length&&f(t,n,x,c);break;case\"stack\":case\"relative\":for(x=[],w=[],_=0;_<o.length;_++)void 0===(k=o[_])[0].trace.base?w.push(k):x.push(k);w.length&&function(e,t,n,r,a){var o=new u(r,{posAxis:t,sepNegVal:\"relative\"===a.mode,overlapNoMerge:!(a.norm||\"stack\"===a.mode||\"relative\"===a.mode)});d(t,o,a),function(e,t,n){var r,a,o,s,u,c,f=b(e),d=t.traces;for(s=0;s<d.length;s++)if(\"funnel\"===(a=(r=d[s])[0].trace).type)for(u=0;u<r.length;u++)(c=r[u]).s!==i&&t.put(c.p,-.5*c.s);for(s=0;s<d.length;s++){o=\"funnel\"===(a=(r=d[s])[0].trace).type;var p=[];for(u=0;u<r.length;u++)if((c=r[u]).s!==i){var h;h=o?c.s:c.s+c.b;var m=t.put(c.p,h),g=m+h;c.b=m,c[f]=g,n.norm||(p.push(g),c.hasB&&p.push(m))}n.norm||(a._extremes[e._id]=l.findExtremes(e,p,{tozero:!0,padded:!0}))}}(n,o,a);for(var s=0;s<r.length;s++)for(var c=r[s],f=0;f<c.length;f++){var p=c[f];p.s!==i&&p.b+p.s===o.get(p.p,p.s)&&(p._outmost=!0)}a.norm&&v(n,o,a)}(0,t,n,w,c),x.length&&f(t,n,x,c)}!function(e,t){var n,a,i,o=b(t),l={},s=1/0,u=-1/0;for(n=0;n<e.length;n++)for(i=e[n],a=0;a<i.length;a++){var c=i[a].p;r(c)&&(s=Math.min(s,c),u=Math.max(u,c))}var f=1e4/(u-s),d=l.round=function(e){return String(Math.round(f*(e-s)))};for(n=0;n<e.length;n++){(i=e[n])[0].t.extents=l;var p=i[0].t.poffset,h=Array.isArray(p);for(a=0;a<i.length;a++){var m=i[a],g=m[o]-m.w/2;if(r(g)){var y=m[o]+m.w/2,v=d(m.p);l[v]?l[v]=[Math.min(g,l[v][0]),Math.max(y,l[v][1])]:l[v]=[g,y]}m.p0=m.p+(h?p[a]:p),m.p1=m.p0+m.w,m.s0=m.b,m.s1=m.s0+m.s}}}(o,t)}}function f(e,t,n,r){for(var a=0;a<n.length;a++){var i=n[a],o=new u([i],{posAxis:e,sepNegVal:!1,overlapNoMerge:!r.norm});d(e,o,r),r.norm?(y(o),v(t,o,r)):g(t,o)}}function d(e,t,n){for(var r=t.minDiff,a=t.traces,i=r*(1-n.gap),o=i*(1-(n.groupgap||0)),l=-o/2,s=0;s<a.length;s++){var u=a[s][0].t;u.barwidth=o,u.poffset=l,u.bargroupwidth=i,u.bardelta=r}t.binWidth=a[0][0].t.barwidth/100,p(t),h(e,t),m(e,t)}function p(e){var t,n,i=e.traces;for(t=0;t<i.length;t++){var o,l=i[t],s=l[0],u=s.trace,c=s.t,f=u._offset||u.offset,d=c.poffset;if(a(f)){for(o=Array.prototype.slice.call(f,0,l.length),n=0;n<o.length;n++)r(o[n])||(o[n]=d);for(n=o.length;n<l.length;n++)o.push(d);c.poffset=o}else void 0!==f&&(c.poffset=f);var p=u._width||u.width,h=c.barwidth;if(a(p)){var m=Array.prototype.slice.call(p,0,l.length);for(n=0;n<m.length;n++)r(m[n])||(m[n]=h);for(n=m.length;n<l.length;n++)m.push(h);if(c.barwidth=m,void 0===f){for(o=[],n=0;n<l.length;n++)o.push(d+(h-m[n])/2);c.poffset=o}}else void 0!==p&&(c.barwidth=p,void 0===f&&(c.poffset=d+(h-p)/2))}}function h(e,t){for(var n=t.traces,r=b(e),a=0;a<n.length;a++)for(var i=n[a],o=i[0].t,l=o.poffset,s=Array.isArray(l),u=o.barwidth,c=Array.isArray(u),f=0;f<i.length;f++){var d=i[f],p=d.w=c?u[f]:u;d[r]=d.p+(s?l[f]:l)+p/2}}function m(e,t,n){var r=t.traces,a=t.minDiff/2;l.minDtick(e,t.minDiff,t.distinctPositions[0],n);for(var i=0;i<r.length;i++){var o,s,u,c,f=r[i],d=f[0],p=d.trace,h=[];for(c=0;c<f.length;c++)s=(o=f[c]).p-a,u=o.p+a,h.push(s,u);if(p.width||p.offset){var m=d.t,g=m.poffset,y=m.barwidth,v=Array.isArray(g),b=Array.isArray(y);for(c=0;c<f.length;c++){o=f[c];var x=v?g[c]:g,w=b?y[c]:y;u=(s=o.p+x)+w,h.push(s,u)}}p._extremes[e._id]=l.findExtremes(e,h,{padded:!1})}}function g(e,t){for(var n=t.traces,r=b(e),a=0;a<n.length;a++){for(var i=n[a],o=i[0].trace,s=[],u=!1,c=0;c<i.length;c++){var f=i[c],d=f.b,p=d+f.s;f[r]=p,s.push(p),f.hasB&&s.push(d),f.hasB&&f.b||(u=!0)}o._extremes[e._id]=l.findExtremes(e,s,{tozero:u,padded:!0})}}function y(e){for(var t=e.traces,n=0;n<t.length;n++)for(var r=t[n],a=0;a<r.length;a++){var o=r[a];o.s!==i&&e.put(o.p,o.b+o.s)}}function v(e,t,n){var a=t.traces,o=b(e),s=\"fraction\"===n.norm?1:100,u=s/1e9,c=e.l2c(e.c2l(0)),f=\"stack\"===n.mode?s:c;function d(t){return r(e.c2l(t))&&(t<c-u||t>f+u||!r(c))}for(var p=0;p<a.length;p++){for(var h=a[p],m=h[0].trace,g=[],y=!1,v=!1,x=0;x<h.length;x++){var w=h[x];if(w.s!==i){var _=Math.abs(s/t.get(w.p,w.s));w.b*=_,w.s*=_;var k=w.b,T=k+w.s;w[o]=T,g.push(T),v=v||d(T),w.hasB&&(g.push(k),v=v||d(k)),w.hasB&&w.b||(y=!0)}}m._extremes[e._id]=l.findExtremes(e,g,{tozero:y,padded:v})}}function b(e){return e._id.charAt(0)}t.exports={crossTraceCalc:function(e,t){for(var n=t.xaxis,r=t.yaxis,a=e._fullLayout,i=e._fullData,l=e.calcdata,s=[],u=[],f=0;f<i.length;f++){var d=i[f];if(!0===d.visible&&o.traceIs(d,\"bar\")&&d.xaxis===n._id&&d.yaxis===r._id&&(\"h\"===d.orientation?s.push(l[f]):u.push(l[f]),d._computePh))for(var p=e.calcdata[f],h=0;h<p.length;h++)\"function\"==typeof p[h].ph0&&(p[h].ph0=p[h].ph0()),\"function\"==typeof p[h].ph1&&(p[h].ph1=p[h].ph1())}var m={xCat:\"category\"===n.type||\"multicategory\"===n.type,yCat:\"category\"===r.type||\"multicategory\"===r.type,mode:a.barmode,norm:a.barnorm,gap:a.bargap,groupgap:a.bargroupgap};c(e,n,r,u,m),c(e,r,n,s,m)},setGroupPositions:c}},{\"../../constants/numerical\":267,\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"../../plots/cartesian/constraints\":342,\"../../registry\":378,\"./sieve.js\":401,\"fast-isnumeric\":33}],392:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../components/color\"),i=e(\"../../registry\"),o=e(\"../scatter/xy_defaults\"),l=e(\"../scatter/period_defaults\"),s=e(\"./style_defaults\"),u=e(\"../../plots/cartesian/constraints\").getAxisGroup,c=e(\"./attributes\"),f=r.coerceFont;function d(e,t,n,r){var a=t.orientation,i=t[{v:\"x\",h:\"y\"}[a]+\"axis\"],o=u(n,i)+a,l=n._alignmentOpts||{},s=r(\"alignmentgroup\"),c=l[o];c||(c=l[o]={});var f=c[s];f?f.traces.push(t):f=c[s]={traces:[t],alignmentIndex:Object.keys(c).length,offsetGroups:{}};var d=r(\"offsetgroup\"),p=f.offsetGroups,h=p[d];d&&(h||(h=p[d]={offsetIndex:Object.keys(p).length}),t._offsetIndex=h.offsetIndex)}function p(e,t,n,a,i,o){var l=!(!1===(o=o||{}).moduleHasSelected),s=!(!1===o.moduleHasUnselected),u=!(!1===o.moduleHasConstrain),c=!(!1===o.moduleHasCliponaxis),d=!(!1===o.moduleHasTextangle),p=!(!1===o.moduleHasInsideanchor),h=!!o.hasPathbar,m=Array.isArray(i)||\"auto\"===i,g=m||\"inside\"===i,y=m||\"outside\"===i;if(g||y){var v=f(a,\"textfont\",n.font),b=r.extendFlat({},v),x=!(e.textfont&&e.textfont.color);if(x&&delete b.color,f(a,\"insidetextfont\",b),h){var w=r.extendFlat({},v);x&&delete w.color,f(a,\"pathbar.textfont\",w)}y&&f(a,\"outsidetextfont\",v),l&&a(\"selected.textfont.color\"),s&&a(\"unselected.textfont.color\"),u&&a(\"constraintext\"),c&&a(\"cliponaxis\"),d&&a(\"textangle\"),a(\"texttemplate\")}g&&p&&a(\"insidetextanchor\")}t.exports={supplyDefaults:function(e,t,n,u){function f(n,a){return r.coerce(e,t,c,n,a)}if(o(e,t,u,f)){l(e,t,u,f),f(\"xhoverformat\"),f(\"yhoverformat\"),f(\"orientation\",t.x&&!t.y?\"h\":\"v\"),f(\"base\"),f(\"offset\"),f(\"width\"),f(\"text\"),f(\"hovertext\"),f(\"hovertemplate\");var d=f(\"textposition\");p(e,t,u,f,d,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),s(e,t,f,n,u);var h=(t.marker.line||{}).color,m=i.getComponentMethod(\"errorbars\",\"supplyDefaults\");m(e,t,h||a.defaultLine,{axis:\"y\"}),m(e,t,h||a.defaultLine,{axis:\"x\",inherit:\"y\"}),r.coerceSelectionMarkerOpacity(t,f)}else t.visible=!1},crossTraceDefaults:function(e,t){var n;function a(e){return r.coerce(n._input,n,c,e)}if(\"group\"===t.barmode)for(var i=0;i<e.length;i++)\"bar\"===(n=e[i]).type&&(n._input,d(0,n,t,a))},handleGroupingDefaults:d,handleText:p}},{\"../../components/color\":157,\"../../lib\":287,\"../../plots/cartesian/constraints\":342,\"../../registry\":378,\"../scatter/period_defaults\":520,\"../scatter/xy_defaults\":527,\"./attributes\":388,\"./style_defaults\":403}],393:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){return e.x=\"xVal\"in t?t.xVal:t.x,e.y=\"yVal\"in t?t.yVal:t.y,t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),\"h\"===n.orientation?(e.label=e.y,e.value=e.x):(e.label=e.x,e.value=e.y),e}},{}],394:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"tinycolor2\"),i=e(\"../../lib\").isArrayOrTypedArray;n.coerceString=function(e,t,n){if(\"string\"==typeof t){if(t||!e.noBlank)return t}else if((\"number\"==typeof t||!0===t)&&!e.strict)return String(t);return void 0!==n?n:e.dflt},n.coerceNumber=function(e,t,n){if(r(t)){t=+t;var a=e.min,i=e.max;if(!(void 0!==a&&t<a||void 0!==i&&t>i))return t}return void 0!==n?n:e.dflt},n.coerceColor=function(e,t,n){return a(t).isValid()?t:void 0!==n?n:e.dflt},n.coerceEnumerated=function(e,t,n){return e.coerceNumber&&(t=+t),-1!==e.values.indexOf(t)?t:void 0!==n?n:e.dflt},n.getValue=function(e,t){var n;return Array.isArray(e)?t<e.length&&(n=e[t]):n=e,n},n.getLineWidth=function(e,t){return 0<t.mlw?t.mlw:i(e.marker.line.width)?0:e.marker.line.width}},{\"../../lib\":287,\"fast-isnumeric\":33,tinycolor2:121}],395:[function(e,t,n){\"use strict\";var r=e(\"../../components/fx\"),a=e(\"../../registry\"),i=e(\"../../components/color\"),o=e(\"../../lib\").fillText,l=e(\"./helpers\").getLineWidth,s=e(\"../../plots/cartesian/axes\").hoverLabelText,u=e(\"../../constants/numerical\").BADNUM;function c(e,t,n,a,i){var l,c,f,d,p,h,m,g=e.cd,y=g[0].trace,v=g[0].t,b=\"closest\"===a,x=\"waterfall\"===y.type,w=e.maxHoverDistance,_=e.maxSpikeDistance;\"h\"===y.orientation?(l=n,c=t,f=\"y\",d=\"x\",p=L,h=P):(l=t,c=n,f=\"x\",d=\"y\",h=L,p=P);var k=y[f+\"period\"],T=b||k;function M(e){return E(e,-1)}function S(e){return E(e,1)}function E(e,t){var n=e.w;return e[f]+t*n/2}function C(e){return e[f+\"End\"]-e[f+\"Start\"]}var O=b?M:k?function(e){return e.p-C(e)/2}:function(e){return Math.min(M(e),e.p-v.bardelta/2)},A=b?S:k?function(e){return e.p+C(e)/2}:function(e){return Math.max(S(e),e.p+v.bardelta/2)};function D(e,t,n){return i.finiteRange&&(n=0),r.inbox(e-l,t-l,n+Math.min(1,Math.abs(t-e)/m)-1)}function P(e){return D(O(e),A(e),w)}function R(e){var t=e[d];if(x){var n=Math.abs(e.rawS)||0;c>0?t+=n:c<0&&(t-=n)}return t}function L(e){var t=c,n=e.b,a=R(e);return r.inbox(n-t,a-t,w+(a-t)/(a-n)-1)}var I=e[f+\"a\"],j=e[d+\"a\"];m=Math.abs(I.r2c(I.range[1])-I.r2c(I.range[0]));var N=r.getDistanceFunction(a,p,h,(function(e){return(p(e)+h(e))/2}));if(r.getClosest(g,N,e),!1!==e.index&&g[e.index].p!==u){T||(O=function(e){return Math.min(M(e),e.p-v.bargroupwidth/2)},A=function(e){return Math.max(S(e),e.p+v.bargroupwidth/2)});var z=g[e.index],F=y.base?z.b+z.s:z.s;e[d+\"0\"]=e[d+\"1\"]=j.c2p(z[d],!0),e[d+\"LabelVal\"]=F;var Z=v.extents[v.extents.round(z.p)];e[f+\"0\"]=I.c2p(b?O(z):Z[0],!0),e[f+\"1\"]=I.c2p(b?A(z):Z[1],!0);var B=void 0!==z.orig_p;return e[f+\"LabelVal\"]=B?z.orig_p:z.p,e.labelLabel=s(I,e[f+\"LabelVal\"],y[f+\"hoverformat\"]),e.valueLabel=s(j,e[d+\"LabelVal\"],y[d+\"hoverformat\"]),e.baseLabel=s(j,z.b,y[d+\"hoverformat\"]),e.spikeDistance=(function(e){var t=c,n=e.b,a=R(e);return r.inbox(n-t,a-t,_+(a-t)/(a-n)-1)}(z)+function(e){return D(M(e),S(e),_)}(z))/2,e[f+\"Spike\"]=I.c2p(z.p,!0),o(z,y,e),e.hovertemplate=y.hovertemplate,e}}function f(e,t){var n=t.mcc||e.marker.color,r=t.mlcc||e.marker.line.color,a=l(e,t);return i.opacity(n)?n:i.opacity(r)&&a?r:void 0}t.exports={hoverPoints:function(e,t,n,r,i){var o=c(e,t,n,r,i);if(o){var l=o.cd,s=l[0].trace,u=l[o.index];return o.color=f(s,u),a.getComponentMethod(\"errorbars\",\"hoverInfo\")(u,s,o),[o]}},hoverOnBars:c,getTraceColor:f}},{\"../../components/color\":157,\"../../components/fx\":197,\"../../constants/numerical\":267,\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"../../registry\":378,\"./helpers\":394}],396:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),layoutAttributes:e(\"./layout_attributes\"),supplyDefaults:e(\"./defaults\").supplyDefaults,crossTraceDefaults:e(\"./defaults\").crossTraceDefaults,supplyLayoutDefaults:e(\"./layout_defaults\"),calc:e(\"./calc\"),crossTraceCalc:e(\"./cross_trace_calc\").crossTraceCalc,colorbar:e(\"../scatter/marker_colorbar\"),arraysToCalcdata:e(\"./arrays_to_calcdata\"),plot:e(\"./plot\").plot,style:e(\"./style\").style,styleOnSelect:e(\"./style\").styleOnSelect,hoverPoints:e(\"./hover\").hoverPoints,eventData:e(\"./event_data\"),selectPoints:e(\"./select\"),moduleType:\"trace\",name:\"bar\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"bar-like\",\"cartesian\",\"svg\",\"bar\",\"oriented\",\"errorBarsOK\",\"showLegend\",\"zoomScale\"],animatable:!0,meta:{}}},{\"../../plots/cartesian\":348,\"../scatter/marker_colorbar\":518,\"./arrays_to_calcdata\":387,\"./attributes\":388,\"./calc\":389,\"./cross_trace_calc\":391,\"./defaults\":392,\"./event_data\":393,\"./hover\":395,\"./layout_attributes\":397,\"./layout_defaults\":398,\"./plot\":399,\"./select\":400,\"./style\":402}],397:[function(e,t,n){\"use strict\";t.exports={barmode:{valType:\"enumerated\",values:[\"stack\",\"group\",\"overlay\",\"relative\"],dflt:\"group\",editType:\"calc\"},barnorm:{valType:\"enumerated\",values:[\"\",\"fraction\",\"percent\"],dflt:\"\",editType:\"calc\"},bargap:{valType:\"number\",min:0,max:1,editType:\"calc\"},bargroupgap:{valType:\"number\",min:0,max:1,dflt:0,editType:\"calc\"}}},{}],398:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"../../lib\"),o=e(\"./layout_attributes\");t.exports=function(e,t,n){function l(n,r){return i.coerce(e,t,o,n,r)}for(var s=!1,u=!1,c=!1,f={},d=l(\"barmode\"),p=0;p<n.length;p++){var h=n[p];if(r.traceIs(h,\"bar\")&&h.visible){if(s=!0,\"group\"===d){var m=h.xaxis+h.yaxis;f[m]&&(c=!0),f[m]=!0}h.visible&&\"histogram\"===h.type&&\"category\"!==a.getFromId({_fullLayout:t},h[\"v\"===h.orientation?\"xaxis\":\"yaxis\"]).type&&(u=!0)}}s?(\"overlay\"!==d&&l(\"barnorm\"),l(\"bargap\",u&&!c?0:.2),l(\"bargroupgap\")):delete t.barmode}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"../../registry\":378,\"./layout_attributes\":397}],399:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"fast-isnumeric\"),i=e(\"../../lib\"),o=e(\"../../lib/svg_text_utils\"),l=e(\"../../components/color\"),s=e(\"../../components/drawing\"),u=e(\"../../registry\"),c=e(\"../../plots/cartesian/axes\").tickText,f=e(\"./uniform_text\"),d=f.recordMinTextSize,p=f.clearMinTextSize,h=e(\"./style\"),m=e(\"./helpers\"),g=e(\"./constants\"),y=e(\"./attributes\"),v=y.text,b=y.textposition,x=e(\"../../components/fx/helpers\").appendArrayPointValue,w=g.TEXTPAD;function _(e){return e.id}function k(e){if(e.ids)return _}function T(e,t){return e<t?1:-1}function M(e,t,n,r){var a;return!t.uniformtext.mode&&S(n)?(r&&(a=r()),e.transition().duration(n.duration).ease(n.easing).each(\"end\",(function(){a&&a()})).each(\"interrupt\",(function(){a&&a()}))):e}function S(e){return e&&e.duration>0}function E(e){return\"auto\"===e?0:e}function C(e,t){var n=Math.PI/180*t,r=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n));return{x:e.width*a+e.height*r,y:e.width*r+e.height*a}}function O(e,t,n,r,a,i){var o=!!i.isHorizontal,l=!!i.constrained,s=i.angle||0,u=i.anchor||\"end\",c=\"end\"===u,f=\"start\"===u,d=((i.leftToRight||0)+1)/2,p=1-d,h=a.width,m=a.height,g=Math.abs(t-e),y=Math.abs(r-n),v=g>2*w&&y>2*w?w:0;g-=2*v,y-=2*v;var b=E(s);\"auto\"!==s||h<=g&&m<=y||!(h>g||m>y)||(h>y||m>g)&&h<m==g<y||(b+=90);var x=C(a,b),_=1;l&&(_=Math.min(1,g/x.x,y/x.y));var k=a.left*p+a.right*d,M=(a.top+a.bottom)/2,S=(e+w)*p+(t-w)*d,O=(n+r)/2,A=0,D=0;if(f||c){var P=(o?x.x:x.y)/2,R=o?T(e,t):T(n,r);o?f?(S=e+R*v,A=-R*P):(S=t-R*v,A=R*P):f?(O=n+R*v,D=-R*P):(O=r-R*v,D=R*P)}return{textX:k,textY:M,targetX:S,targetY:O,anchorX:A,anchorY:D,scale:_,rotate:b}}t.exports={plot:function(e,t,n,f,g,y){var _=t.xaxis,A=t.yaxis,D=e._fullLayout;g||(g={mode:D.barmode,norm:D.barmode,gap:D.bargap,groupgap:D.bargroupgap},p(\"bar\",D));var P=i.makeTraceGroups(f,n,\"trace bars\").each((function(n){var u=r.select(this),f=n[0].trace,p=\"waterfall\"===f.type,P=\"funnel\"===f.type,R=\"bar\"===f.type||P,L=0;p&&f.connector.visible&&\"between\"===f.connector.mode&&(L=f.connector.line.width/2);var I=\"h\"===f.orientation,j=S(g),N=i.ensureSingle(u,\"g\",\"points\"),z=k(f),F=N.selectAll(\"g.point\").data(i.identity,z);F.enter().append(\"g\").classed(\"point\",!0),F.exit().remove(),F.each((function(u,p){var k,S,P=r.select(this),N=function(e,t,n,r){var a=[],i=[],o=r?t:n,l=r?n:t;return a[0]=o.c2p(e.s0,!0),i[0]=l.c2p(e.p0,!0),a[1]=o.c2p(e.s1,!0),i[1]=l.c2p(e.p1,!0),r?[a,i]:[i,a]}(u,_,A,I),z=N[0][0],F=N[0][1],Z=N[1][0],B=N[1][1],q=0==(I?F-z:B-Z);if(q&&R&&m.getLineWidth(f,u)&&(q=!1),q||(q=!(a(z)&&a(F)&&a(Z)&&a(B))),u.isBlank=q,q&&(I?F=z:B=Z),L&&!q&&(I?(z-=T(z,F)*L,F+=T(z,F)*L):(Z-=T(Z,B)*L,B+=T(Z,B)*L)),\"waterfall\"===f.type){if(!q){var H=f[u.dir].marker;k=H.line.width,S=H.color}}else k=m.getLineWidth(f,u),S=u.mc||f.marker.color;function U(e){var t=r.round(k/2%1,2);return 0===g.gap&&0===g.groupgap?r.round(Math.round(e)-t,2):e}if(!e._context.staticPlot){var W=l.opacity(S)<1||k>.01?U:function(e,t,n){return n&&e===t?e:Math.abs(e-t)>=2?U(e):e>t?Math.ceil(e):Math.floor(e)};z=W(z,F,I),F=W(F,z,I),Z=W(Z,B,!I),B=W(B,Z,!I)}var V=M(i.ensureSingle(P,\"path\"),D,g,y);if(V.style(\"vector-effect\",\"non-scaling-stroke\").attr(\"d\",isNaN((F-z)*(B-Z))||q&&e._context.staticPlot?\"M0,0Z\":\"M\"+z+\",\"+Z+\"V\"+B+\"H\"+F+\"V\"+Z+\"Z\").call(s.setClipUrl,t.layerClipId,e),!D.uniformtext.mode&&j){var Y=s.makePointStyleFns(f);s.singlePointStyle(u,V,f,Y,e)}!function(e,t,n,r,a,l,u,f,p,g,y){var _,k=t.xaxis,S=t.yaxis,A=e._fullLayout;function D(t,n,r){return i.ensureSingle(t,\"text\").text(n).attr({class:\"bartext bartext-\"+_,\"text-anchor\":\"middle\",\"data-notex\":1}).call(s.font,r).call(o.convertToTspans,e)}var P=r[0].trace,R=\"h\"===P.orientation,L=function(e,t,n,r,a){var o,l=t[0].trace;return o=l.texttemplate?function(e,t,n,r,a){var o=t[0].trace,l=i.castOption(o,n,\"texttemplate\");if(!l)return\"\";var s,u,f,d,p=\"histogram\"===o.type,h=\"waterfall\"===o.type,m=\"funnel\"===o.type,g=\"h\"===o.orientation;function y(e){return c(d,d.c2l(e),!0).text}g?(s=\"y\",u=a,f=\"x\",d=r):(s=\"x\",u=r,f=\"y\",d=a);var v,b=t[n],w={};w.label=b.p,w.labelLabel=w[s+\"Label\"]=(v=b.p,c(u,u.c2l(v),!0).text);var _=i.castOption(o,b.i,\"text\");(0===_||_)&&(w.text=_),w.value=b.s,w.valueLabel=w[f+\"Label\"]=y(b.s);var k={};x(k,o,b.i),(p||void 0===k.x)&&(k.x=g?w.value:w.label),(p||void 0===k.y)&&(k.y=g?w.label:w.value),(p||void 0===k.xLabel)&&(k.xLabel=g?w.valueLabel:w.labelLabel),(p||void 0===k.yLabel)&&(k.yLabel=g?w.labelLabel:w.valueLabel),h&&(w.delta=+b.rawS||b.s,w.deltaLabel=y(w.delta),w.final=b.v,w.finalLabel=y(w.final),w.initial=w.final-w.delta,w.initialLabel=y(w.initial)),m&&(w.value=b.s,w.valueLabel=y(w.value),w.percentInitial=b.begR,w.percentInitialLabel=i.formatPercent(b.begR),w.percentPrevious=b.difR,w.percentPreviousLabel=i.formatPercent(b.difR),w.percentTotal=b.sumR,w.percenTotalLabel=i.formatPercent(b.sumR));var T=i.castOption(o,b.i,\"customdata\");return T&&(w.customdata=T),i.texttemplateString(l,w,e._d3locale,k,w,o._meta||{})}(e,t,n,r,a):l.textinfo?function(e,t,n,r){var a=e[0].trace,o=\"h\"===a.orientation,l=\"waterfall\"===a.type,s=\"funnel\"===a.type;function u(e){return c(o?n:r,+e,!0).text}var f,d,p=a.textinfo,h=e[t],m=p.split(\"+\"),g=[],y=function(e){return-1!==m.indexOf(e)};if(y(\"label\")&&g.push((d=e[t].p,c(o?r:n,d,!0).text)),y(\"text\")&&(0===(f=i.castOption(a,h.i,\"text\"))||f)&&g.push(f),l){var v=+h.rawS||h.s,b=h.v,x=b-v;y(\"initial\")&&g.push(u(x)),y(\"delta\")&&g.push(u(v)),y(\"final\")&&g.push(u(b))}if(s){y(\"value\")&&g.push(u(h.s));var w=0;y(\"percent initial\")&&w++,y(\"percent previous\")&&w++,y(\"percent total\")&&w++;var _=w>1;y(\"percent initial\")&&(f=i.formatPercent(h.begR),_&&(f+=\" of initial\"),g.push(f)),y(\"percent previous\")&&(f=i.formatPercent(h.difR),_&&(f+=\" of previous\"),g.push(f)),y(\"percent total\")&&(f=i.formatPercent(h.sumR),_&&(f+=\" of total\"),g.push(f))}return g.join(\"<br>\")}(t,n,r,a):m.getValue(l.text,n),m.coerceString(v,o)}(A,r,a,k,S);_=function(e,t){var n=m.getValue(e.textposition,t);return m.coerceEnumerated(b,n)}(P,a);var I=\"stack\"===g.mode||\"relative\"===g.mode,j=r[a],N=!I||j._outmost;if(L&&\"none\"!==_&&(!j.isBlank&&l!==u&&f!==p||\"auto\"!==_&&\"inside\"!==_)){var z=A.font,F=h.getBarColor(r[a],P),Z=h.getInsideTextFont(P,a,z,F),B=h.getOutsideTextFont(P,a,z),q=n.datum();R?\"log\"===k.type&&q.s0<=0&&(l=k.range[0]<k.range[1]?0:k._length):\"log\"===S.type&&q.s0<=0&&(f=S.range[0]<S.range[1]?S._length:0);var H,U,W,V,Y,G=Math.abs(u-l)-2*w,$=Math.abs(p-f)-2*w;if(\"outside\"===_&&(N||j.hasB||(_=\"inside\")),\"auto\"===_&&(N?(_=\"inside\",H=D(n,L,Y=i.ensureUniformFontSize(e,Z)),W=(U=s.bBox(H.node())).width,V=U.height,W>0&&V>0&&(W<=G&&V<=$||W<=$&&V<=G||(R?G>=W*($/V):$>=V*(G/W)))?_=\"inside\":(_=\"outside\",H.remove(),H=null)):_=\"inside\"),!H){var X=(H=D(n,L,Y=i.ensureUniformFontSize(e,\"outside\"===_?B:Z))).attr(\"transform\");if(H.attr(\"transform\",\"\"),W=(U=s.bBox(H.node())).width,V=U.height,H.attr(\"transform\",X),W<=0||V<=0)return void H.remove()}var K,J=P.textangle;K=\"outside\"===_?function(e,t,n,r,a,i){var o,l=!!i.isHorizontal,s=!!i.constrained,u=i.angle||0,c=a.width,f=a.height,d=Math.abs(t-e),p=Math.abs(r-n);o=l?p>2*w?w:0:d>2*w?w:0;var h=1;s&&(h=l?Math.min(1,p/f):Math.min(1,d/c));var m=E(u),g=C(a,m),y=(l?g.x:g.y)/2,v=(a.left+a.right)/2,b=(a.top+a.bottom)/2,x=(e+t)/2,_=(n+r)/2,k=0,M=0,S=l?T(t,e):T(n,r);return l?(x=t-S*o,k=S*y):(_=r+S*o,M=-S*y),{textX:v,textY:b,targetX:x,targetY:_,anchorX:k,anchorY:M,scale:h,rotate:m}}(l,u,f,p,U,{isHorizontal:R,constrained:\"both\"===P.constraintext||\"outside\"===P.constraintext,angle:J}):O(l,u,f,p,U,{isHorizontal:R,constrained:\"both\"===P.constraintext||\"inside\"===P.constraintext,angle:J,anchor:P.insidetextanchor}),K.fontSize=Y.size,d(\"histogram\"===P.type?\"bar\":P.type,K,A),j.transform=K,M(H,A,g,y).attr(\"transform\",i.getTextTransform(K))}else n.select(\"text\").remove()}(e,t,P,n,p,z,F,Z,B,g,y),t.layerClipId&&s.hideOutsideRangePoint(u,P.select(\"text\"),_,A,f.xcalendar,f.ycalendar)}));var Z=!1===f.cliponaxis;s.setClipUrl(u,Z?null:t.layerClipId,e)}));u.getComponentMethod(\"errorbars\",\"plot\")(e,P,t,g)},toMoveInsideBar:O}},{\"../../components/color\":157,\"../../components/drawing\":179,\"../../components/fx/helpers\":193,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../plots/cartesian/axes\":334,\"../../registry\":378,\"./attributes\":388,\"./constants\":390,\"./helpers\":394,\"./style\":402,\"./uniform_text\":404,\"@plotly/d3\":20,\"fast-isnumeric\":33}],400:[function(e,t,n){\"use strict\";function r(e,t,n,r,a){var i=t.c2p(r?e.s0:e.p0,!0),o=t.c2p(r?e.s1:e.p1,!0),l=n.c2p(r?e.p0:e.s0,!0),s=n.c2p(r?e.p1:e.s1,!0);return a?[(i+o)/2,(l+s)/2]:r?[o,(l+s)/2]:[(i+o)/2,s]}t.exports=function(e,t){var n,a=e.cd,i=e.xaxis,o=e.yaxis,l=a[0].trace,s=\"funnel\"===l.type,u=\"h\"===l.orientation,c=[];if(!1===t)for(n=0;n<a.length;n++)a[n].selected=0;else for(n=0;n<a.length;n++){var f=a[n],d=\"ct\"in f?f.ct:r(f,i,o,u,s);t.contains(d,!1,n,e)?(c.push({pointNumber:n,x:i.c2d(f.x),y:o.c2d(f.y)}),f.selected=1):f.selected=0}return c}},{}],401:[function(e,t,n){\"use strict\";t.exports=i;var r=e(\"../../lib\").distinctVals,a=e(\"../../constants/numerical\").BADNUM;function i(e,t){this.traces=e,this.sepNegVal=t.sepNegVal,this.overlapNoMerge=t.overlapNoMerge;for(var n=1/0,i=[],o=0;o<e.length;o++){for(var l=e[o],s=0;s<l.length;s++){var u=l[s];u.p!==a&&i.push(u.p)}l[0]&&l[0].width1&&(n=Math.min(l[0].width1,n))}this.positions=i;var c=r(i);this.distinctPositions=c.vals,1===c.vals.length&&n!==1/0?this.minDiff=n:this.minDiff=Math.min(c.minDiff,n);var f=(t.posAxis||{}).type;\"category\"!==f&&\"multicategory\"!==f||(this.minDiff=1),this.binWidth=this.minDiff,this.bins={}}i.prototype.put=function(e,t){var n=this.getLabel(e,t),r=this.bins[n]||0;return this.bins[n]=r+t,r},i.prototype.get=function(e,t){var n=this.getLabel(e,t);return this.bins[n]||0},i.prototype.getLabel=function(e,t){return(t<0&&this.sepNegVal?\"v\":\"^\")+(this.overlapNoMerge?e:Math.round(e/this.binWidth))}},{\"../../constants/numerical\":267,\"../../lib\":287}],402:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../components/color\"),i=e(\"../../components/drawing\"),o=e(\"../../lib\"),l=e(\"../../registry\"),s=e(\"./uniform_text\").resizeText,u=e(\"./attributes\"),c=u.textfont,f=u.insidetextfont,d=u.outsidetextfont,p=e(\"./helpers\");function h(e,t,n){i.pointStyle(e.selectAll(\"path\"),t,n),m(e,t,n)}function m(e,t,n){e.selectAll(\"text\").each((function(e){var a=r.select(this),l=o.ensureUniformFontSize(n,g(a,e,t,n));i.font(a,l)}))}function g(e,t,n,r){var a=r._fullLayout.font,i=n.textfont;if(e.classed(\"bartext-inside\")){var o=w(t,n);i=v(n,t.i,a,o)}else e.classed(\"bartext-outside\")&&(i=b(n,t.i,a));return i}function y(e,t,n){return x(c,e.textfont,t,n)}function v(e,t,n,r){var i=y(e,t,n);return(void 0===e._input.textfont||void 0===e._input.textfont.color||Array.isArray(e.textfont.color)&&void 0===e.textfont.color[t])&&(i={color:a.contrast(r),family:i.family,size:i.size}),x(f,e.insidetextfont,t,i)}function b(e,t,n){var r=y(e,t,n);return x(d,e.outsidetextfont,t,r)}function x(e,t,n,r){t=t||{};var a=p.getValue(t.family,n),i=p.getValue(t.size,n),o=p.getValue(t.color,n);return{family:p.coerceString(e.family,a,r.family),size:p.coerceNumber(e.size,i,r.size),color:p.coerceColor(e.color,o,r.color)}}function w(e,t){return\"waterfall\"===t.type?t[e.dir].marker.color:e.mcc||e.mc||t.marker.color}t.exports={style:function(e){var t=r.select(e).selectAll(\"g.barlayer\").selectAll(\"g.trace\");s(e,t,\"bar\");var n=t.size(),a=e._fullLayout;t.style(\"opacity\",(function(e){return e[0].trace.opacity})).each((function(e){(\"stack\"===a.barmode&&n>1||0===a.bargap&&0===a.bargroupgap&&!e[0].trace.marker.line.width)&&r.select(this).attr(\"shape-rendering\",\"crispEdges\")})),t.selectAll(\"g.points\").each((function(t){h(r.select(this),t[0].trace,e)})),l.getComponentMethod(\"errorbars\",\"style\")(t)},styleTextPoints:m,styleOnSelect:function(e,t,n){var a=t[0].trace;a.selectedpoints?function(e,t,n){i.selectedPointStyle(e.selectAll(\"path\"),t),function(e,t,n){e.each((function(e){var a,l=r.select(this);if(e.selected){a=o.ensureUniformFontSize(n,g(l,e,t,n));var s=t.selected.textfont&&t.selected.textfont.color;s&&(a.color=s),i.font(l,a)}else i.selectedTextStyle(l,t)}))}(e.selectAll(\"text\"),t,n)}(n,a,e):(h(n,a,e),l.getComponentMethod(\"errorbars\",\"style\")(n))},getInsideTextFont:v,getOutsideTextFont:b,getBarColor:w,resizeText:s}},{\"../../components/color\":157,\"../../components/drawing\":179,\"../../lib\":287,\"../../registry\":378,\"./attributes\":388,\"./helpers\":394,\"./uniform_text\":404,\"@plotly/d3\":20}],403:[function(e,t,n){\"use strict\";var r=e(\"../../components/color\"),a=e(\"../../components/colorscale/helpers\").hasColorscale,i=e(\"../../components/colorscale/defaults\"),o=e(\"../../lib\").coercePattern;t.exports=function(e,t,n,l,s){var u=n(\"marker.color\",l),c=a(e,\"marker\");c&&i(e,t,s,n,{prefix:\"marker.\",cLetter:\"c\"}),n(\"marker.line.color\",r.defaultLine),a(e,\"marker.line\")&&i(e,t,s,n,{prefix:\"marker.line.\",cLetter:\"c\"}),n(\"marker.line.width\"),n(\"marker.opacity\"),o(n,\"marker.pattern\",u,c),n(\"selected.marker.color\"),n(\"unselected.marker.color\")}},{\"../../components/color\":157,\"../../components/colorscale/defaults\":167,\"../../components/colorscale/helpers\":168,\"../../lib\":287}],404:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../lib\");function i(e){return\"_\"+e+\"Text_minsize\"}t.exports={recordMinTextSize:function(e,t,n){if(n.uniformtext.mode){var r=i(e),a=n.uniformtext.minsize,o=t.scale*t.fontSize;t.hide=o<a,n[r]=n[r]||1/0,t.hide||(n[r]=Math.min(n[r],Math.max(o,a)))}},clearMinTextSize:function(e,t){t[i(e)]=void 0},resizeText:function(e,t,n){var i=e._fullLayout,o=i[\"_\"+n+\"Text_minsize\"];if(o){var l,s=\"hide\"===i.uniformtext.mode;switch(n){case\"funnelarea\":case\"pie\":case\"sunburst\":l=\"g.slice\";break;case\"treemap\":case\"icicle\":l=\"g.slice, g.pathbar\";break;default:l=\"g.points > g.point\"}t.selectAll(l).each((function(e){var t=e.transform;t&&(t.scale=s&&t.hide?0:o/t.fontSize,r.select(this).select(\"text\").attr(\"transform\",a.getTextTransform(t)))}))}}}},{\"../../lib\":287,\"@plotly/d3\":20}],405:[function(e,t,n){\"use strict\";var r=e(\"../scatter/attributes\"),a=e(\"../bar/attributes\"),i=e(\"../../components/color/attributes\"),o=e(\"../../plots/cartesian/axis_format_attributes\").axisHoverFormat,l=e(\"../../plots/template_attributes\").hovertemplateAttrs,s=e(\"../../lib/extend\").extendFlat,u=r.marker,c=u.line;t.exports={y:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},x:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},x0:{valType:\"any\",editType:\"calc+clearAxisTypes\"},y0:{valType:\"any\",editType:\"calc+clearAxisTypes\"},dx:{valType:\"number\",editType:\"calc\"},dy:{valType:\"number\",editType:\"calc\"},xperiod:r.xperiod,yperiod:r.yperiod,xperiod0:r.xperiod0,yperiod0:r.yperiod0,xperiodalignment:r.xperiodalignment,yperiodalignment:r.yperiodalignment,xhoverformat:o(\"x\"),yhoverformat:o(\"y\"),name:{valType:\"string\",editType:\"calc+clearAxisTypes\"},q1:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},median:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},q3:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},lowerfence:{valType:\"data_array\",editType:\"calc\"},upperfence:{valType:\"data_array\",editType:\"calc\"},notched:{valType:\"boolean\",editType:\"calc\"},notchwidth:{valType:\"number\",min:0,max:.5,dflt:.25,editType:\"calc\"},notchspan:{valType:\"data_array\",editType:\"calc\"},boxpoints:{valType:\"enumerated\",values:[\"all\",\"outliers\",\"suspectedoutliers\",!1],editType:\"calc\"},jitter:{valType:\"number\",min:0,max:1,editType:\"calc\"},pointpos:{valType:\"number\",min:-2,max:2,editType:\"calc\"},boxmean:{valType:\"enumerated\",values:[!0,\"sd\",!1],editType:\"calc\"},mean:{valType:\"data_array\",editType:\"calc\"},sd:{valType:\"data_array\",editType:\"calc\"},orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],editType:\"calc+clearAxisTypes\"},quartilemethod:{valType:\"enumerated\",values:[\"linear\",\"exclusive\",\"inclusive\"],dflt:\"linear\",editType:\"calc\"},width:{valType:\"number\",min:0,dflt:0,editType:\"calc\"},marker:{outliercolor:{valType:\"color\",dflt:\"rgba(0, 0, 0, 0)\",editType:\"style\"},symbol:s({},u.symbol,{arrayOk:!1,editType:\"plot\"}),opacity:s({},u.opacity,{arrayOk:!1,dflt:1,editType:\"style\"}),size:s({},u.size,{arrayOk:!1,editType:\"calc\"}),color:s({},u.color,{arrayOk:!1,editType:\"style\"}),line:{color:s({},c.color,{arrayOk:!1,dflt:i.defaultLine,editType:\"style\"}),width:s({},c.width,{arrayOk:!1,dflt:0,editType:\"style\"}),outliercolor:{valType:\"color\",editType:\"style\"},outlierwidth:{valType:\"number\",min:0,dflt:1,editType:\"style\"},editType:\"style\"},editType:\"plot\"},line:{color:{valType:\"color\",editType:\"style\"},width:{valType:\"number\",min:0,dflt:2,editType:\"style\"},editType:\"plot\"},fillcolor:r.fillcolor,whiskerwidth:{valType:\"number\",min:0,max:1,dflt:.5,editType:\"calc\"},offsetgroup:a.offsetgroup,alignmentgroup:a.alignmentgroup,selected:{marker:r.selected.marker,editType:\"style\"},unselected:{marker:r.unselected.marker,editType:\"style\"},text:s({},r.text,{}),hovertext:s({},r.hovertext,{}),hovertemplate:l({}),hoveron:{valType:\"flaglist\",flags:[\"boxes\",\"points\"],dflt:\"boxes+points\",editType:\"style\"}}},{\"../../components/color/attributes\":156,\"../../lib/extend\":281,\"../../plots/cartesian/axis_format_attributes\":337,\"../../plots/template_attributes\":373,\"../bar/attributes\":388,\"../scatter/attributes\":500}],406:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"../../plots/cartesian/align_period\"),o=e(\"../../lib\"),l=e(\"../../constants/numerical\").BADNUM,s=o._;t.exports=function(e,t){var n,u,v,b,x,w,_,k=e._fullLayout,T=a.getFromId(e,t.xaxis||\"x\"),M=a.getFromId(e,t.yaxis||\"y\"),S=[],E=\"violin\"===t.type?\"_numViolins\":\"_numBoxes\";\"h\"===t.orientation?(v=T,b=\"x\",x=M,w=\"y\",_=!!t.yperiodalignment):(v=M,b=\"y\",x=T,w=\"x\",_=!!t.xperiodalignment);var C,O,A,D,P,R,L=function(e,t,n,a){var l,s=t+\"0\"in e;if(t in e||s&&\"d\"+t in e){var u=n.makeCalcdata(e,t);return[i(e,n,t,u).vals,u]}l=s?e[t+\"0\"]:\"name\"in e&&(\"category\"===n.type||r(e.name)&&-1!==[\"linear\",\"log\"].indexOf(n.type)||o.isDateTime(e.name)&&\"date\"===n.type)?e.name:a;for(var c=\"multicategory\"===n.type?n.r2c_just_indices(l):n.d2c(l,0,e[t+\"calendar\"]),f=e._length,d=new Array(f),p=0;p<f;p++)d[p]=c;return[d]}(t,w,x,k[E]),I=L[0],j=L[1],N=o.distinctVals(I,x),z=N.vals,F=N.minDiff/2,Z=\"all\"===(t.boxpoints||t.points)?o.identity:function(e){return e.v<C.lf||e.v>C.uf};if(t._hasPreCompStats){var B=t[b],q=function(e){return v.d2c((t[e]||[])[n])},H=1/0,U=-1/0;for(n=0;n<t._length;n++){var W=I[n];if(r(W)){if((C={}).pos=C[w]=W,_&&j&&(C.orig_p=j[n]),C.q1=q(\"q1\"),C.med=q(\"median\"),C.q3=q(\"q3\"),O=[],B&&o.isArrayOrTypedArray(B[n]))for(u=0;u<B[n].length;u++)(R=v.d2c(B[n][u]))!==l&&(c(P={v:R,i:[n,u]},t,[n,u]),O.push(P));if(C.pts=O.sort(f),D=(A=C[b]=O.map(d)).length,C.med!==l&&C.q1!==l&&C.q3!==l&&C.med>=C.q1&&C.q3>=C.med){var V=q(\"lowerfence\");C.lf=V!==l&&V<=C.q1?V:p(C,A,D);var Y=q(\"upperfence\");C.uf=Y!==l&&Y>=C.q3?Y:h(C,A,D);var G=q(\"mean\");C.mean=G!==l?G:D?o.mean(A,D):(C.q1+C.q3)/2;var $=q(\"sd\");C.sd=G!==l&&$>=0?$:D?o.stdev(A,D,C.mean):C.q3-C.q1,C.lo=m(C),C.uo=g(C);var X=q(\"notchspan\");X=X!==l&&X>0?X:y(C,D),C.ln=C.med-X,C.un=C.med+X;var K=C.lf,J=C.uf;t.boxpoints&&A.length&&(K=Math.min(K,A[0]),J=Math.max(J,A[D-1])),t.notched&&(K=Math.min(K,C.ln),J=Math.max(J,C.un)),C.min=K,C.max=J}else{var Q;o.warn([\"Invalid input - make sure that q1 <= median <= q3\",\"q1 = \"+C.q1,\"median = \"+C.med,\"q3 = \"+C.q3].join(\"\\n\")),Q=C.med!==l?C.med:C.q1!==l?C.q3!==l?(C.q1+C.q3)/2:C.q1:C.q3!==l?C.q3:0,C.med=Q,C.q1=C.q3=Q,C.lf=C.uf=Q,C.mean=C.sd=Q,C.ln=C.un=Q,C.min=C.max=Q}H=Math.min(H,C.min),U=Math.max(U,C.max),C.pts2=O.filter(Z),S.push(C)}}t._extremes[v._id]=a.findExtremes(v,[H,U],{padded:!0})}else{var ee=v.makeCalcdata(t,b),te=function(e,t){for(var n=e.length,r=new Array(n+1),a=0;a<n;a++)r[a]=e[a]-t;return r[n]=e[n-1]+t,r}(z,F),ne=z.length,re=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=[];return t}(ne);for(n=0;n<t._length;n++)if(R=ee[n],r(R)){var ae=o.findBin(I[n],te);ae>=0&&ae<ne&&(c(P={v:R,i:n},t,n),re[ae].push(P))}var ie=1/0,oe=-1/0,le=t.quartilemethod,se=\"exclusive\"===le,ue=\"inclusive\"===le;for(n=0;n<ne;n++)if(re[n].length>0){var ce,fe;(C={}).pos=C[w]=z[n],O=C.pts=re[n].sort(f),D=(A=C[b]=O.map(d)).length,C.min=A[0],C.max=A[D-1],C.mean=o.mean(A,D),C.sd=o.stdev(A,D,C.mean),C.med=o.interp(A,.5),D%2&&(se||ue)?(se?(ce=A.slice(0,D/2),fe=A.slice(D/2+1)):ue&&(ce=A.slice(0,D/2+1),fe=A.slice(D/2)),C.q1=o.interp(ce,.5),C.q3=o.interp(fe,.5)):(C.q1=o.interp(A,.25),C.q3=o.interp(A,.75)),C.lf=p(C,A,D),C.uf=h(C,A,D),C.lo=m(C),C.uo=g(C);var de=y(C,D);C.ln=C.med-de,C.un=C.med+de,ie=Math.min(ie,C.ln),oe=Math.max(oe,C.un),C.pts2=O.filter(Z),S.push(C)}t._extremes[v._id]=a.findExtremes(v,t.notched?ee.concat([ie,oe]):ee,{padded:!0})}return function(e,t){if(o.isArrayOrTypedArray(t.selectedpoints))for(var n=0;n<e.length;n++){for(var r=e[n].pts||[],a={},i=0;i<r.length;i++)a[r[i].i]=i;o.tagSelected(r,t,a)}}(S,t),S.length>0?(S[0].t={num:k[E],dPos:F,posLetter:w,valLetter:b,labels:{med:s(e,\"median:\"),min:s(e,\"min:\"),q1:s(e,\"q1:\"),q3:s(e,\"q3:\"),max:s(e,\"max:\"),mean:\"sd\"===t.boxmean?s(e,\"mean ± σ:\"):s(e,\"mean:\"),lf:s(e,\"lower fence:\"),uf:s(e,\"upper fence:\")}},k[E]++,S):[{t:{empty:!0}}]};var u={text:\"tx\",hovertext:\"htx\"};function c(e,t,n){for(var r in u)o.isArrayOrTypedArray(t[r])&&(Array.isArray(n)?o.isArrayOrTypedArray(t[r][n[0]])&&(e[u[r]]=t[r][n[0]][n[1]]):e[u[r]]=t[r][n])}function f(e,t){return e.v-t.v}function d(e){return e.v}function p(e,t,n){return 0===n?e.q1:Math.min(e.q1,t[Math.min(o.findBin(2.5*e.q1-1.5*e.q3,t,!0)+1,n-1)])}function h(e,t,n){return 0===n?e.q3:Math.max(e.q3,t[Math.max(o.findBin(2.5*e.q3-1.5*e.q1,t),0)])}function m(e){return 4*e.q1-3*e.q3}function g(e){return 4*e.q3-3*e.q1}function y(e,t){return 0===t?0:1.57*(e.q3-e.q1)/Math.sqrt(t)}},{\"../../constants/numerical\":267,\"../../lib\":287,\"../../plots/cartesian/align_period\":331,\"../../plots/cartesian/axes\":334,\"fast-isnumeric\":33}],407:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axes\"),a=e(\"../../lib\"),i=e(\"../../plots/cartesian/constraints\").getAxisGroup,o=[\"v\",\"h\"];function l(e,t,n,o){var l,s,u,c=t.calcdata,f=t._fullLayout,d=o._id,p=d.charAt(0),h=[],m=0;for(l=0;l<n.length;l++)for(u=c[n[l]],s=0;s<u.length;s++)h.push(o.c2l(u[s].pos,!0)),m+=(u[s].pts2||[]).length;if(h.length){var g=a.distinctVals(h);\"category\"!==o.type&&\"multicategory\"!==o.type||(g.minDiff=1);var y=g.minDiff/2;r.minDtick(o,g.minDiff,g.vals[0],!0);var v=f[\"violin\"===e?\"_numViolins\":\"_numBoxes\"],b=\"group\"===f[e+\"mode\"]&&v>1,x=1-f[e+\"gap\"],w=1-f[e+\"groupgap\"];for(l=0;l<n.length;l++){var _,k,T,M,S,E,C=(u=c[n[l]])[0].trace,O=u[0].t,A=C.width,D=C.side;if(A)_=k=M=A/2,T=0;else if(_=y,b){var P=i(f,o._id)+C.orientation,R=(f._alignmentOpts[P]||{})[C.alignmentgroup]||{},L=Object.keys(R.offsetGroups||{}).length,I=L||v;k=_*x*w/I,T=2*_*(((L?C._offsetIndex:O.num)+.5)/I-.5)*x,M=_*x/I}else k=_*x*w,T=0,M=_;O.dPos=_,O.bPos=T,O.bdPos=k,O.wHover=M;var j,N,z,F,Z,B,q=T+k,H=Boolean(A);if(\"positive\"===D?(S=_*(A?1:.5),j=q,E=j=T):\"negative\"===D?(S=j=T,E=_*(A?1:.5),N=q):(S=E=_,j=N=q),(C.boxpoints||C.points)&&m>0){var U=C.pointpos,W=C.jitter,V=C.marker.size/2,Y=0;U+W>=0&&((Y=q*(U+W))>S?(H=!0,Z=V,z=Y):Y>j&&(Z=V,z=S)),Y<=S&&(z=S);var G=0;U-W<=0&&((G=-q*(U-W))>E?(H=!0,B=V,F=G):G>N&&(B=V,F=E)),G<=E&&(F=E)}else z=S,F=E;var $=new Array(u.length);for(s=0;s<u.length;s++)$[s]=u[s].pos;C._extremes[d]=r.findExtremes(o,$,{padded:H,vpadminus:F,vpadplus:z,vpadLinearized:!0,ppadminus:{x:B,y:Z}[p],ppadplus:{x:Z,y:B}[p]})}}}t.exports={crossTraceCalc:function(e,t){for(var n=e.calcdata,r=t.xaxis,a=t.yaxis,i=0;i<o.length;i++){for(var s=o[i],u=\"h\"===s?a:r,c=[],f=0;f<n.length;f++){var d=n[f],p=d[0].t,h=d[0].trace;!0!==h.visible||\"box\"!==h.type&&\"candlestick\"!==h.type||p.empty||(h.orientation||\"v\")!==s||h.xaxis!==r._id||h.yaxis!==a._id||c.push(f)}l(\"box\",e,c,u)}},setPositionOffset:l}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"../../plots/cartesian/constraints\":342}],408:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../registry\"),i=e(\"../../components/color\"),o=e(\"../scatter/period_defaults\"),l=e(\"../bar/defaults\").handleGroupingDefaults,s=e(\"../../plots/cartesian/axis_autotype\"),u=e(\"./attributes\");function c(e,t,n,i){function o(e){var t=0;return e&&e.length&&(t+=1,r.isArrayOrTypedArray(e[0])&&e[0].length&&(t+=1)),t}function l(t){return r.validate(e[t],u[t])}var c,f=n(\"y\"),d=n(\"x\");if(\"box\"===t.type){var p=n(\"q1\"),h=n(\"median\"),m=n(\"q3\");t._hasPreCompStats=p&&p.length&&h&&h.length&&m&&m.length,c=Math.min(r.minRowLength(p),r.minRowLength(h),r.minRowLength(m))}var g,y,v=o(f),b=o(d),x=v&&r.minRowLength(f),w=b&&r.minRowLength(d),_=i.calendar,k={autotypenumbers:i.autotypenumbers};if(t._hasPreCompStats)switch(String(b)+String(v)){case\"00\":var T=l(\"x0\")||l(\"dx\");g=!l(\"y0\")&&!l(\"dy\")||T?\"v\":\"h\",y=c;break;case\"10\":g=\"v\",y=Math.min(c,w);break;case\"20\":g=\"h\",y=Math.min(c,d.length);break;case\"01\":g=\"h\",y=Math.min(c,x);break;case\"02\":g=\"v\",y=Math.min(c,f.length);break;case\"12\":g=\"v\",y=Math.min(c,w,f.length);break;case\"21\":g=\"h\",y=Math.min(c,d.length,x);break;case\"11\":y=0;break;case\"22\":var M,S=!1;for(M=0;M<d.length;M++)if(\"category\"===s(d[M],_,k)){S=!0;break}if(S)g=\"v\",y=Math.min(c,w,f.length);else{for(M=0;M<f.length;M++)if(\"category\"===s(f[M],_,k)){S=!0;break}S?(g=\"h\",y=Math.min(c,d.length,x)):(g=\"v\",y=Math.min(c,w,f.length))}}else v>0?(g=\"v\",y=b>0?Math.min(w,x):Math.min(x)):b>0?(g=\"h\",y=Math.min(w)):y=0;if(y){t._length=y;var E=n(\"orientation\",g);t._hasPreCompStats?\"v\"===E&&0===b?(n(\"x0\",0),n(\"dx\",1)):\"h\"===E&&0===v&&(n(\"y0\",0),n(\"dy\",1)):\"v\"===E&&0===b?n(\"x0\"):\"h\"===E&&0===v&&n(\"y0\"),a.getComponentMethod(\"calendars\",\"handleTraceDefaults\")(e,t,[\"x\",\"y\"],i)}else t.visible=!1}function f(e,t,n,a){var i=a.prefix,o=r.coerce2(e,t,u,\"marker.outliercolor\"),l=n(\"marker.line.outliercolor\"),s=\"outliers\";t._hasPreCompStats?s=\"all\":(o||l)&&(s=\"suspectedoutliers\");var c=n(i+\"points\",s);c?(n(\"jitter\",\"all\"===c?.3:0),n(\"pointpos\",\"all\"===c?-1.5:0),n(\"marker.symbol\"),n(\"marker.opacity\"),n(\"marker.size\"),n(\"marker.color\",t.line.color),n(\"marker.line.color\"),n(\"marker.line.width\"),\"suspectedoutliers\"===c&&(n(\"marker.line.outliercolor\",t.marker.color),n(\"marker.line.outlierwidth\")),n(\"selected.marker.color\"),n(\"unselected.marker.color\"),n(\"selected.marker.size\"),n(\"unselected.marker.size\"),n(\"text\"),n(\"hovertext\")):delete t.marker;var f=n(\"hoveron\");\"all\"!==f&&-1===f.indexOf(\"points\")||n(\"hovertemplate\"),r.coerceSelectionMarkerOpacity(t,n)}t.exports={supplyDefaults:function(e,t,n,a){function l(n,a){return r.coerce(e,t,u,n,a)}if(c(e,t,l,a),!1!==t.visible){o(e,t,a,l),l(\"xhoverformat\"),l(\"yhoverformat\");var s=t._hasPreCompStats;s&&(l(\"lowerfence\"),l(\"upperfence\")),l(\"line.color\",(e.marker||{}).color||n),l(\"line.width\"),l(\"fillcolor\",i.addOpacity(t.line.color,.5));var d=!1;if(s){var p=l(\"mean\"),h=l(\"sd\");p&&p.length&&(d=!0,h&&h.length&&(d=\"sd\"))}l(\"boxmean\",d),l(\"whiskerwidth\"),l(\"width\"),l(\"quartilemethod\");var m=!1;if(s){var g=l(\"notchspan\");g&&g.length&&(m=!0)}else r.validate(e.notchwidth,u.notchwidth)&&(m=!0);l(\"notched\",m)&&l(\"notchwidth\"),f(e,t,l,{prefix:\"box\"})}},crossTraceDefaults:function(e,t){var n,a;function i(e){return r.coerce(a._input,a,u,e)}for(var o=0;o<e.length;o++){var s=(a=e[o]).type;\"box\"!==s&&\"violin\"!==s||(n=a._input,\"group\"===t[s+\"mode\"]&&l(n,a,t,i))}},handleSampleDefaults:c,handlePointsDefaults:f}},{\"../../components/color\":157,\"../../lib\":287,\"../../plots/cartesian/axis_autotype\":335,\"../../registry\":378,\"../bar/defaults\":392,\"../scatter/period_defaults\":520,\"./attributes\":405}],409:[function(e,t,n){\"use strict\";t.exports=function(e,t){return t.hoverOnBox&&(e.hoverOnBox=t.hoverOnBox),\"xVal\"in t&&(e.x=t.xVal),\"yVal\"in t&&(e.y=t.yVal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),e}},{}],410:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axes\"),a=e(\"../../lib\"),i=e(\"../../components/fx\"),o=e(\"../../components/color\"),l=a.fillText;function s(e,t,n,l){var s,u,c,f,d,p,h,m,g,y,v,b,x,w,_=e.cd,k=e.xa,T=e.ya,M=_[0].trace,S=_[0].t,E=\"violin\"===M.type,C=[],O=S.bdPos,A=S.wHover,D=function(e){return c.c2l(e.pos)+S.bPos-c.c2l(p)};E&&\"both\"!==M.side?(\"positive\"===M.side&&(g=function(e){var t=D(e);return i.inbox(t,t+A,y)},b=O,x=0),\"negative\"===M.side&&(g=function(e){var t=D(e);return i.inbox(t-A,t,y)},b=0,x=O)):(g=function(e){var t=D(e);return i.inbox(t-A,t+A,y)},b=x=O),w=E?function(e){return i.inbox(e.span[0]-d,e.span[1]-d,y)}:function(e){return i.inbox(e.min-d,e.max-d,y)},\"h\"===M.orientation?(d=t,p=n,h=w,m=g,s=\"y\",c=T,u=\"x\",f=k):(d=n,p=t,h=g,m=w,s=\"x\",c=k,u=\"y\",f=T);var P=Math.min(1,O/Math.abs(c.r2c(c.range[1])-c.r2c(c.range[0])));function R(e){return(h(e)+m(e))/2}y=e.maxHoverDistance-P,v=e.maxSpikeDistance-P;var L=i.getDistanceFunction(l,h,m,R);if(i.getClosest(_,L,e),!1===e.index)return[];var I=_[e.index],j=M.line.color,N=(M.marker||{}).color;o.opacity(j)&&M.line.width?e.color=j:o.opacity(N)&&M.boxpoints?e.color=N:e.color=M.fillcolor,e[s+\"0\"]=c.c2p(I.pos+S.bPos-x,!0),e[s+\"1\"]=c.c2p(I.pos+S.bPos+b,!0),e[s+\"LabelVal\"]=void 0!==I.orig_p?I.orig_p:I.pos;var z=s+\"Spike\";e.spikeDistance=R(I)*v/y,e[z]=c.c2p(I.pos,!0);var F={},Z=[\"med\",\"q1\",\"q3\",\"min\",\"max\"];(M.boxmean||(M.meanline||{}).visible)&&Z.push(\"mean\"),(M.boxpoints||M.points)&&Z.push(\"lf\",\"uf\");for(var B=0;B<Z.length;B++){var q=Z[B];if(q in I&&!(I[q]in F)){F[I[q]]=!0;var H=I[q],U=f.c2p(H,!0),W=a.extendFlat({},e);W.attr=q,W[u+\"0\"]=W[u+\"1\"]=U,W[u+\"LabelVal\"]=H,W[u+\"Label\"]=(S.labels?S.labels[q]+\" \":\"\")+r.hoverLabelText(f,H,M[u+\"hoverformat\"]),W.hoverOnBox=!0,\"mean\"===q&&\"sd\"in I&&\"sd\"===M.boxmean&&(W[u+\"err\"]=I.sd),e.name=\"\",e.spikeDistance=void 0,e[z]=void 0,W.hovertemplate=!1,C.push(W)}}return C}function u(e,t,n){for(var r,o,s,u=e.cd,c=e.xa,f=e.ya,d=u[0].trace,p=c.c2p(t),h=f.c2p(n),m=i.quadrature((function(e){var t=Math.max(3,e.mrc||0);return Math.max(Math.abs(c.c2p(e.x)-p)-t,1-3/t)}),(function(e){var t=Math.max(3,e.mrc||0);return Math.max(Math.abs(f.c2p(e.y)-h)-t,1-3/t)})),g=!1,y=0;y<u.length;y++){o=u[y];for(var v=0;v<(o.pts||[]).length;v++){var b=m(s=o.pts[v]);b<=e.distance&&(e.distance=b,g=[y,v])}}if(!g)return!1;s=(o=u[g[0]]).pts[g[1]];var x=c.c2p(s.x,!0),w=f.c2p(s.y,!0),_=s.mrc||1;r=a.extendFlat({},e,{index:s.i,color:(d.marker||{}).color,name:d.name,x0:x-_,x1:x+_,y0:w-_,y1:w+_,spikeDistance:e.distance,hovertemplate:d.hovertemplate});var k,T=o.orig_p,M=void 0!==T?T:o.pos;return\"h\"===d.orientation?(k=f,r.xLabelVal=s.x,r.yLabelVal=M):(k=c,r.xLabelVal=M,r.yLabelVal=s.y),r[k._id.charAt(0)+\"Spike\"]=k.c2p(o.pos,!0),l(s,d,r),r}t.exports={hoverPoints:function(e,t,n,r){var a,i=e.cd[0].trace.hoveron,o=[];return-1!==i.indexOf(\"boxes\")&&(o=o.concat(s(e,t,n,r))),-1!==i.indexOf(\"points\")&&(a=u(e,t,n)),\"closest\"===r?a?[a]:o:a?(o.push(a),o):o},hoverOnBoxes:s,hoverOnPoints:u}},{\"../../components/color\":157,\"../../components/fx\":197,\"../../lib\":287,\"../../plots/cartesian/axes\":334}],411:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),layoutAttributes:e(\"./layout_attributes\"),supplyDefaults:e(\"./defaults\").supplyDefaults,crossTraceDefaults:e(\"./defaults\").crossTraceDefaults,supplyLayoutDefaults:e(\"./layout_defaults\").supplyLayoutDefaults,calc:e(\"./calc\"),crossTraceCalc:e(\"./cross_trace_calc\").crossTraceCalc,plot:e(\"./plot\").plot,style:e(\"./style\").style,styleOnSelect:e(\"./style\").styleOnSelect,hoverPoints:e(\"./hover\").hoverPoints,eventData:e(\"./event_data\"),selectPoints:e(\"./select\"),moduleType:\"trace\",name:\"box\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"cartesian\",\"svg\",\"symbols\",\"oriented\",\"box-violin\",\"showLegend\",\"boxLayout\",\"zoomScale\"],meta:{}}},{\"../../plots/cartesian\":348,\"./attributes\":405,\"./calc\":406,\"./cross_trace_calc\":407,\"./defaults\":408,\"./event_data\":409,\"./hover\":410,\"./layout_attributes\":412,\"./layout_defaults\":413,\"./plot\":414,\"./select\":415,\"./style\":416}],412:[function(e,t,n){\"use strict\";t.exports={boxmode:{valType:\"enumerated\",values:[\"group\",\"overlay\"],dflt:\"overlay\",editType:\"calc\"},boxgap:{valType:\"number\",min:0,max:1,dflt:.3,editType:\"calc\"},boxgroupgap:{valType:\"number\",min:0,max:1,dflt:.3,editType:\"calc\"}}},{}],413:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../lib\"),i=e(\"./layout_attributes\");function o(e,t,n,a,i){for(var o=i+\"Layout\",l=!1,s=0;s<n.length;s++){var u=n[s];if(r.traceIs(u,o)){l=!0;break}}l&&(a(i+\"mode\"),a(i+\"gap\"),a(i+\"groupgap\"))}t.exports={supplyLayoutDefaults:function(e,t,n){o(0,0,n,(function(n,r){return a.coerce(e,t,i,n,r)}),\"box\")},_supply:o}},{\"../../lib\":287,\"../../registry\":378,\"./layout_attributes\":412}],414:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../lib\"),i=e(\"../../components/drawing\");function o(e,t,n,i){var o,l,s=\"h\"===n.orientation,u=t.val,c=t.pos,f=!!c.rangebreaks,d=i.bPos,p=i.wdPos||0,h=i.bPosPxOffset||0,m=n.whiskerwidth||0,g=n.notched||!1,y=g?1-2*n.notchwidth:1;Array.isArray(i.bdPos)?(o=i.bdPos[0],l=i.bdPos[1]):(o=i.bdPos,l=i.bdPos);var v=e.selectAll(\"path.box\").data(\"violin\"!==n.type||n.box.visible?a.identity:[]);v.enter().append(\"path\").style(\"vector-effect\",\"non-scaling-stroke\").attr(\"class\",\"box\"),v.exit().remove(),v.each((function(e){if(e.empty)return\"M0,0Z\";var t=c.c2l(e.pos+d,!0),i=c.l2p(t-o)+h,v=c.l2p(t+l)+h,b=f?(i+v)/2:c.l2p(t)+h,x=n.whiskerwidth,w=f?i*x+(1-x)*b:c.l2p(t-p)+h,_=f?v*x+(1-x)*b:c.l2p(t+p)+h,k=c.l2p(t-o*y)+h,T=c.l2p(t+l*y)+h,M=u.c2p(e.q1,!0),S=u.c2p(e.q3,!0),E=a.constrain(u.c2p(e.med,!0),Math.min(M,S)+1,Math.max(M,S)-1),C=void 0===e.lf||!1===n.boxpoints,O=u.c2p(C?e.min:e.lf,!0),A=u.c2p(C?e.max:e.uf,!0),D=u.c2p(e.ln,!0),P=u.c2p(e.un,!0);s?r.select(this).attr(\"d\",\"M\"+E+\",\"+k+\"V\"+T+\"M\"+M+\",\"+i+\"V\"+v+(g?\"H\"+D+\"L\"+E+\",\"+T+\"L\"+P+\",\"+v:\"\")+\"H\"+S+\"V\"+i+(g?\"H\"+P+\"L\"+E+\",\"+k+\"L\"+D+\",\"+i:\"\")+\"ZM\"+M+\",\"+b+\"H\"+O+\"M\"+S+\",\"+b+\"H\"+A+(0===m?\"\":\"M\"+O+\",\"+w+\"V\"+_+\"M\"+A+\",\"+w+\"V\"+_)):r.select(this).attr(\"d\",\"M\"+k+\",\"+E+\"H\"+T+\"M\"+i+\",\"+M+\"H\"+v+(g?\"V\"+D+\"L\"+T+\",\"+E+\"L\"+v+\",\"+P:\"\")+\"V\"+S+\"H\"+i+(g?\"V\"+P+\"L\"+k+\",\"+E+\"L\"+i+\",\"+D:\"\")+\"ZM\"+b+\",\"+M+\"V\"+O+\"M\"+b+\",\"+S+\"V\"+A+(0===m?\"\":\"M\"+w+\",\"+O+\"H\"+_+\"M\"+w+\",\"+A+\"H\"+_))}))}function l(e,t,n,r){var o=t.x,l=t.y,s=r.bdPos,u=r.bPos,c=n.boxpoints||n.points;a.seedPseudoRandom();var f=e.selectAll(\"g.points\").data(c?function(e){return e.forEach((function(e){e.t=r,e.trace=n})),e}:[]);f.enter().append(\"g\").attr(\"class\",\"points\"),f.exit().remove();var d=f.selectAll(\"path\").data((function(e){var t,r,i=e.pts2,o=Math.max((e.max-e.min)/10,e.q3-e.q1),l=1e-9*o,f=.01*o,d=[],p=0;if(n.jitter){if(0===o)for(p=1,d=new Array(i.length),t=0;t<i.length;t++)d[t]=1;else for(t=0;t<i.length;t++){var h=Math.max(0,t-5),m=i[h].v,g=Math.min(i.length-1,t+5),y=i[g].v;\"all\"!==c&&(i[t].v<e.lf?y=Math.min(y,e.lf):m=Math.max(m,e.uf));var v=Math.sqrt(f*(g-h)/(y-m+l))||0;v=a.constrain(Math.abs(v),0,1),d.push(v),p=Math.max(v,p)}r=2*n.jitter/(p||1)}for(t=0;t<i.length;t++){var b=i[t],x=b.v,w=n.jitter?r*d[t]*(a.pseudoRandom()-.5):0,_=e.pos+u+s*(n.pointpos+w);\"h\"===n.orientation?(b.y=_,b.x=x):(b.x=_,b.y=x),\"suspectedoutliers\"===c&&x<e.uo&&x>e.lo&&(b.so=!0)}return i}));d.enter().append(\"path\").classed(\"point\",!0),d.exit().remove(),d.call(i.translatePoints,o,l)}function s(e,t,n,i){var o,l,s=t.val,u=t.pos,c=!!u.rangebreaks,f=i.bPos,d=i.bPosPxOffset||0,p=n.boxmean||(n.meanline||{}).visible;Array.isArray(i.bdPos)?(o=i.bdPos[0],l=i.bdPos[1]):(o=i.bdPos,l=i.bdPos);var h=e.selectAll(\"path.mean\").data(\"box\"===n.type&&n.boxmean||\"violin\"===n.type&&n.box.visible&&n.meanline.visible?a.identity:[]);h.enter().append(\"path\").attr(\"class\",\"mean\").style({fill:\"none\",\"vector-effect\":\"non-scaling-stroke\"}),h.exit().remove(),h.each((function(e){var t=u.c2l(e.pos+f,!0),a=u.l2p(t-o)+d,i=u.l2p(t+l)+d,h=c?(a+i)/2:u.l2p(t)+d,m=s.c2p(e.mean,!0),g=s.c2p(e.mean-e.sd,!0),y=s.c2p(e.mean+e.sd,!0);\"h\"===n.orientation?r.select(this).attr(\"d\",\"M\"+m+\",\"+a+\"V\"+i+(\"sd\"===p?\"m0,0L\"+g+\",\"+h+\"L\"+m+\",\"+a+\"L\"+y+\",\"+h+\"Z\":\"\")):r.select(this).attr(\"d\",\"M\"+a+\",\"+m+\"H\"+i+(\"sd\"===p?\"m0,0L\"+h+\",\"+g+\"L\"+a+\",\"+m+\"L\"+h+\",\"+y+\"Z\":\"\"))}))}t.exports={plot:function(e,t,n,i){var u=t.xaxis,c=t.yaxis;a.makeTraceGroups(i,n,\"trace boxes\").each((function(e){var t,n,a=r.select(this),i=e[0],f=i.t,d=i.trace;f.wdPos=f.bdPos*d.whiskerwidth,!0!==d.visible||f.empty?a.remove():(\"h\"===d.orientation?(t=c,n=u):(t=u,n=c),o(a,{pos:t,val:n},d,f),l(a,{x:u,y:c},d,f),s(a,{pos:t,val:n},d,f))}))},plotBoxAndWhiskers:o,plotPoints:l,plotBoxMean:s}},{\"../../components/drawing\":179,\"../../lib\":287,\"@plotly/d3\":20}],415:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n,r,a=e.cd,i=e.xaxis,o=e.yaxis,l=[];if(!1===t)for(n=0;n<a.length;n++)for(r=0;r<(a[n].pts||[]).length;r++)a[n].pts[r].selected=0;else for(n=0;n<a.length;n++)for(r=0;r<(a[n].pts||[]).length;r++){var s=a[n].pts[r],u=i.c2p(s.x),c=o.c2p(s.y);t.contains([u,c],null,s.i,e)?(l.push({pointNumber:s.i,x:i.c2d(s.x),y:o.c2d(s.y)}),s.selected=1):s.selected=0}return l}},{}],416:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../components/color\"),i=e(\"../../components/drawing\");t.exports={style:function(e,t,n){var o=n||r.select(e).selectAll(\"g.trace.boxes\");o.style(\"opacity\",(function(e){return e[0].trace.opacity})),o.each((function(t){var n=r.select(this),o=t[0].trace,l=o.line.width;function s(e,t,n,r){e.style(\"stroke-width\",t+\"px\").call(a.stroke,n).call(a.fill,r)}var u=n.selectAll(\"path.box\");if(\"candlestick\"===o.type)u.each((function(e){if(!e.empty){var t=r.select(this),n=o[e.dir];s(t,n.line.width,n.line.color,n.fillcolor),t.style(\"opacity\",o.selectedpoints&&!e.selected?.3:1)}}));else{s(u,l,o.line.color,o.fillcolor),n.selectAll(\"path.mean\").style({\"stroke-width\":l,\"stroke-dasharray\":2*l+\"px,\"+l+\"px\"}).call(a.stroke,o.line.color);var c=n.selectAll(\"path.point\");i.pointStyle(c,o,e)}}))},styleOnSelect:function(e,t,n){var r=t[0].trace,a=n.selectAll(\"path.point\");r.selectedpoints?i.selectedPointStyle(a,r):i.pointStyle(a,r,e)}}},{\"../../components/color\":157,\"../../components/drawing\":179,\"@plotly/d3\":20}],417:[function(e,t,n){\"use strict\";var r=e(\"../heatmap/attributes\"),a=e(\"../scatter/attributes\"),i=e(\"../../plots/cartesian/axis_format_attributes\"),o=i.axisHoverFormat,l=i.descriptionOnlyNumbers,s=e(\"../../components/colorscale/attributes\"),u=e(\"../../components/drawing/attributes\").dash,c=e(\"../../plots/font_attributes\"),f=e(\"../../lib/extend\").extendFlat,d=e(\"../../constants/filter_ops\"),p=d.COMPARISON_OPS2,h=d.INTERVAL_OPS,m=a.line;t.exports=f({z:r.z,x:r.x,x0:r.x0,dx:r.dx,y:r.y,y0:r.y0,dy:r.dy,xperiod:r.xperiod,yperiod:r.yperiod,xperiod0:a.xperiod0,yperiod0:a.yperiod0,xperiodalignment:r.xperiodalignment,yperiodalignment:r.yperiodalignment,text:r.text,hovertext:r.hovertext,transpose:r.transpose,xtype:r.xtype,ytype:r.ytype,xhoverformat:o(\"x\"),yhoverformat:o(\"y\"),zhoverformat:o(\"z\",1),hovertemplate:r.hovertemplate,texttemplate:f({},r.texttemplate,{}),textfont:f({},r.textfont,{}),hoverongaps:r.hoverongaps,connectgaps:f({},r.connectgaps,{}),fillcolor:{valType:\"color\",editType:\"calc\"},autocontour:{valType:\"boolean\",dflt:!0,editType:\"calc\",impliedEdits:{\"contours.start\":void 0,\"contours.end\":void 0,\"contours.size\":void 0}},ncontours:{valType:\"integer\",dflt:15,min:1,editType:\"calc\"},contours:{type:{valType:\"enumerated\",values:[\"levels\",\"constraint\"],dflt:\"levels\",editType:\"calc\"},start:{valType:\"number\",dflt:null,editType:\"plot\",impliedEdits:{\"^autocontour\":!1}},end:{valType:\"number\",dflt:null,editType:\"plot\",impliedEdits:{\"^autocontour\":!1}},size:{valType:\"number\",dflt:null,min:0,editType:\"plot\",impliedEdits:{\"^autocontour\":!1}},coloring:{valType:\"enumerated\",values:[\"fill\",\"heatmap\",\"lines\",\"none\"],dflt:\"fill\",editType:\"calc\"},showlines:{valType:\"boolean\",dflt:!0,editType:\"plot\"},showlabels:{valType:\"boolean\",dflt:!1,editType:\"plot\"},labelfont:c({editType:\"plot\",colorEditType:\"style\"}),labelformat:{valType:\"string\",dflt:\"\",editType:\"plot\",description:l(\"contour label\")},operation:{valType:\"enumerated\",values:[].concat(p).concat(h),dflt:\"=\",editType:\"calc\"},value:{valType:\"any\",dflt:0,editType:\"calc\"},editType:\"calc\",impliedEdits:{autocontour:!1}},line:{color:f({},m.color,{editType:\"style+colorbars\"}),width:{valType:\"number\",min:0,editType:\"style+colorbars\"},dash:u,smoothing:f({},m.smoothing,{}),editType:\"plot\"}},s(\"\",{cLetter:\"z\",autoColorDflt:!1,editTypeOverride:\"calc\"}))},{\"../../components/colorscale/attributes\":164,\"../../components/drawing/attributes\":178,\"../../constants/filter_ops\":265,\"../../lib/extend\":281,\"../../plots/cartesian/axis_format_attributes\":337,\"../../plots/font_attributes\":365,\"../heatmap/attributes\":439,\"../scatter/attributes\":500}],418:[function(e,t,n){\"use strict\";var r=e(\"../../components/colorscale\"),a=e(\"../heatmap/calc\"),i=e(\"./set_contours\"),o=e(\"./end_plus\");t.exports=function(e,t){var n=a(e,t),l=n[0].z;i(t,l);var s,u=t.contours,c=r.extractOpts(t);if(\"heatmap\"===u.coloring&&c.auto&&!1===t.autocontour){var f=u.start,d=o(u),p=u.size||1,h=Math.floor((d-f)/p)+1;isFinite(p)||(p=1,h=1);var m=f-p/2;s=[m,m+h*p]}else s=l;return r.calc(e,t,{vals:s,cLetter:\"z\"}),n}},{\"../../components/colorscale\":169,\"../heatmap/calc\":440,\"./end_plus\":428,\"./set_contours\":436}],419:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n,r=e[0],a=r.z;switch(t.type){case\"levels\":var i=Math.min(a[0][0],a[0][1]);for(n=0;n<e.length;n++){var o=e[n];o.prefixBoundary=!o.edgepaths.length&&(i>o.level||o.starts.length&&i===o.level)}break;case\"constraint\":if(r.prefixBoundary=!1,r.edgepaths.length)return;var l=r.x.length,s=r.y.length,u=-1/0,c=1/0;for(n=0;n<s;n++)c=Math.min(c,a[n][0]),c=Math.min(c,a[n][l-1]),u=Math.max(u,a[n][0]),u=Math.max(u,a[n][l-1]);for(n=1;n<l-1;n++)c=Math.min(c,a[0][n]),c=Math.min(c,a[s-1][n]),u=Math.max(u,a[0][n]),u=Math.max(u,a[s-1][n]);var f,d,p=t.value;switch(t._operation){case\">\":p>u&&(r.prefixBoundary=!0);break;case\"<\":(p<c||r.starts.length&&p===c)&&(r.prefixBoundary=!0);break;case\"[]\":f=Math.min(p[0],p[1]),((d=Math.max(p[0],p[1]))<c||f>u||r.starts.length&&d===c)&&(r.prefixBoundary=!0);break;case\"][\":f=Math.min(p[0],p[1]),d=Math.max(p[0],p[1]),f<c&&d>u&&(r.prefixBoundary=!0)}}}},{}],420:[function(e,t,n){\"use strict\";var r=e(\"../../components/colorscale\"),a=e(\"./make_color_map\"),i=e(\"./end_plus\");t.exports={min:\"zmin\",max:\"zmax\",calc:function(e,t,n){var o=t.contours,l=t.line,s=o.size||1,u=o.coloring,c=a(t,{isColorbar:!0});if(\"heatmap\"===u){var f=r.extractOpts(t);n._fillgradient=f.reversescale?r.flipScale(f.colorscale):f.colorscale,n._zrange=[f.min,f.max]}else\"fill\"===u&&(n._fillcolor=c);n._line={color:\"lines\"===u?c:l.color,width:!1!==o.showlines?l.width:0,dash:l.dash},n._levels={start:o.start,end:i(o),size:s}}}},{\"../../components/colorscale\":169,\"./end_plus\":428,\"./make_color_map\":433}],421:[function(e,t,n){\"use strict\";t.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},{}],422:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"./label_defaults\"),i=e(\"../../components/color\"),o=i.addOpacity,l=i.opacity,s=e(\"../../constants/filter_ops\"),u=s.CONSTRAINT_REDUCTION,c=s.COMPARISON_OPS2;t.exports=function(e,t,n,i,s,f){var d,p,h,m=t.contours,g=n(\"contours.operation\");m._operation=u[g],function(e,t){var n;-1===c.indexOf(t.operation)?(e(\"contours.value\",[0,1]),Array.isArray(t.value)?t.value.length>2?t.value=t.value.slice(2):0===t.length?t.value=[0,1]:t.length<2?(n=parseFloat(t.value[0]),t.value=[n,n+1]):t.value=[parseFloat(t.value[0]),parseFloat(t.value[1])]:r(t.value)&&(n=parseFloat(t.value),t.value=[n,n+1])):(e(\"contours.value\",0),r(t.value)||(Array.isArray(t.value)?t.value=parseFloat(t.value[0]):t.value=0))}(n,m),\"=\"===g?d=m.showlines=!0:(d=n(\"contours.showlines\"),h=n(\"fillcolor\",o((e.line||{}).color||s,.5))),d&&(p=n(\"line.color\",h&&l(h)?o(t.fillcolor,1):s),n(\"line.width\",2),n(\"line.dash\")),n(\"line.smoothing\"),a(n,i,p,f)}},{\"../../components/color\":157,\"../../constants/filter_ops\":265,\"./label_defaults\":432,\"fast-isnumeric\":33}],423:[function(e,t,n){\"use strict\";var r=e(\"../../constants/filter_ops\"),a=e(\"fast-isnumeric\");function i(e,t){var n,i=Array.isArray(t);function o(e){return a(e)?+e:null}return-1!==r.COMPARISON_OPS2.indexOf(e)?n=o(i?t[0]:t):-1!==r.INTERVAL_OPS.indexOf(e)?n=i?[o(t[0]),o(t[1])]:[o(t),o(t)]:-1!==r.SET_OPS.indexOf(e)&&(n=i?t.map(o):[o(t)]),n}function o(e){return function(t){t=i(e,t);var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return{start:n,end:r,size:r-n}}}function l(e){return function(t){return{start:t=i(e,t),end:1/0,size:1/0}}}t.exports={\"[]\":o(\"[]\"),\"][\":o(\"][\"),\">\":l(\">\"),\"<\":l(\"<\"),\"=\":l(\"=\")}},{\"../../constants/filter_ops\":265,\"fast-isnumeric\":33}],424:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r){var a=r(\"contours.start\"),i=r(\"contours.end\"),o=!1===a||!1===i,l=n(\"contours.size\");!(o?t.autocontour=!0:n(\"autocontour\",!1))&&l||n(\"ncontours\")}},{}],425:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");function a(e){return r.extendFlat({},e,{edgepaths:r.extendDeep([],e.edgepaths),paths:r.extendDeep([],e.paths),starts:r.extendDeep([],e.starts)})}t.exports=function(e,t){var n,i,o,l=function(e){return e.reverse()},s=function(e){return e};switch(t){case\"=\":case\"<\":return e;case\">\":for(1!==e.length&&r.warn(\"Contour data invalid for the specified inequality operation.\"),i=e[0],n=0;n<i.edgepaths.length;n++)i.edgepaths[n]=l(i.edgepaths[n]);for(n=0;n<i.paths.length;n++)i.paths[n]=l(i.paths[n]);for(n=0;n<i.starts.length;n++)i.starts[n]=l(i.starts[n]);return e;case\"][\":var u=l;l=s,s=u;case\"[]\":for(2!==e.length&&r.warn(\"Contour data invalid for the specified inequality range operation.\"),i=a(e[0]),o=a(e[1]),n=0;n<i.edgepaths.length;n++)i.edgepaths[n]=l(i.edgepaths[n]);for(n=0;n<i.paths.length;n++)i.paths[n]=l(i.paths[n]);for(n=0;n<i.starts.length;n++)i.starts[n]=l(i.starts[n]);for(;o.edgepaths.length;)i.edgepaths.push(s(o.edgepaths.shift()));for(;o.paths.length;)i.paths.push(s(o.paths.shift()));for(;o.starts.length;)i.starts.push(s(o.starts.shift()));return[i]}}},{\"../../lib\":287}],426:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../heatmap/xyz_defaults\"),i=e(\"../scatter/period_defaults\"),o=e(\"./constraint_defaults\"),l=e(\"./contours_defaults\"),s=e(\"./style_defaults\"),u=e(\"../heatmap/label_defaults\"),c=e(\"./attributes\");t.exports=function(e,t,n,f){function d(n,a){return r.coerce(e,t,c,n,a)}if(a(e,t,d,f)){i(e,t,f,d),d(\"xhoverformat\"),d(\"yhoverformat\"),d(\"text\"),d(\"hovertext\"),d(\"hoverongaps\"),d(\"hovertemplate\");var p=\"constraint\"===d(\"contours.type\");d(\"connectgaps\",r.isArray1D(t.z)),p?o(e,t,d,f,n):(l(e,t,d,(function(n){return r.coerce2(e,t,c,n)})),s(e,t,d,f)),t.contours&&\"heatmap\"===t.contours.coloring&&u(d,f)}else t.visible=!1}},{\"../../lib\":287,\"../heatmap/label_defaults\":449,\"../heatmap/xyz_defaults\":454,\"../scatter/period_defaults\":520,\"./attributes\":417,\"./constraint_defaults\":422,\"./contours_defaults\":424,\"./style_defaults\":438}],427:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./constraint_mapping\"),i=e(\"./end_plus\");t.exports=function(e,t,n){for(var o=\"constraint\"===e.type?a[e._operation](e.value):e,l=o.size,s=[],u=i(o),c=n.trace._carpetTrace,f=c?{xaxis:c.aaxis,yaxis:c.baxis,x:n.a,y:n.b}:{xaxis:t.xaxis,yaxis:t.yaxis,x:n.x,y:n.y},d=o.start;d<u;d+=l)if(s.push(r.extendFlat({level:d,crossings:{},starts:[],edgepaths:[],paths:[],z:n.z,smoothing:n.trace.line.smoothing},f)),s.length>1e3){r.warn(\"Too many contours, clipping at 1000\",e);break}return s}},{\"../../lib\":287,\"./constraint_mapping\":423,\"./end_plus\":428}],428:[function(e,t,n){\"use strict\";t.exports=function(e){return e.end+e.size/1e6}},{}],429:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./constants\");function i(e,t,n,r){return Math.abs(e[0]-t[0])<n&&Math.abs(e[1]-t[1])<r}function o(e,t,n,o,s){var u,c=t.join(\",\"),f=e.crossings[c],d=function(e,t,n){var r=0,i=0;return e>20&&t?208===e||1114===e?r=0===n[0]?1:-1:i=0===n[1]?1:-1:-1!==a.BOTTOMSTART.indexOf(e)?i=1:-1!==a.LEFTSTART.indexOf(e)?r=1:-1!==a.TOPSTART.indexOf(e)?i=-1:r=-1,[r,i]}(f,n,t),p=[l(e,t,[-d[0],-d[1]])],h=e.z.length,m=e.z[0].length,g=t.slice(),y=d.slice();for(u=0;u<1e4;u++){if(f>20?(f=a.CHOOSESADDLE[f][(d[0]||d[1])<0?0:1],e.crossings[c]=a.SADDLEREMAINDER[f]):delete e.crossings[c],!(d=a.NEWDELTA[f])){r.log(\"Found bad marching index:\",f,t,e.level);break}p.push(l(e,t,d)),t[0]+=d[0],t[1]+=d[1],c=t.join(\",\"),i(p[p.length-1],p[p.length-2],o,s)&&p.pop();var v=d[0]&&(t[0]<0||t[0]>m-2)||d[1]&&(t[1]<0||t[1]>h-2);if(t[0]===g[0]&&t[1]===g[1]&&d[0]===y[0]&&d[1]===y[1]||n&&v)break;f=e.crossings[c]}1e4===u&&r.log(\"Infinite loop in contour?\");var b,x,w,_,k,T,M,S,E,C,O,A,D,P,R,L=i(p[0],p[p.length-1],o,s),I=0,j=.2*e.smoothing,N=[],z=0;for(u=1;u<p.length;u++)A=p[u],D=p[u-1],P=void 0,R=void 0,P=A[2]-D[2],R=A[3]-D[3],I+=M=Math.sqrt(P*P+R*R),N.push(M);var F=I/N.length*j;function Z(e){return p[e%p.length]}for(u=p.length-2;u>=z;u--)if((b=N[u])<F){for(w=0,x=u-1;x>=z&&b+N[x]<F;x--)b+=N[x];if(L&&u===p.length-2)for(w=0;w<x&&b+N[w]<F;w++)b+=N[w];k=u-x+w+1,T=Math.floor((u+x+w+2)/2),_=L||u!==p.length-2?L||-1!==x?k%2?Z(T):[(Z(T)[0]+Z(T+1)[0])/2,(Z(T)[1]+Z(T+1)[1])/2]:p[0]:p[p.length-1],p.splice(x+1,u-x+1,_),u=x+1,w&&(z=w),L&&(u===p.length-2?p[w]=p[p.length-1]:0===u&&(p[p.length-1]=p[0]))}for(p.splice(0,z),u=0;u<p.length;u++)p[u].length=2;if(!(p.length<2))if(L)p.pop(),e.paths.push(p);else{n||r.log(\"Unclosed interior contour?\",e.level,g.join(\",\"),p.join(\"L\"));var B=!1;for(S=0;S<e.edgepaths.length;S++)if(C=e.edgepaths[S],!B&&i(C[0],p[p.length-1],o,s)){p.pop(),B=!0;var q=!1;for(E=0;E<e.edgepaths.length;E++)if(i((O=e.edgepaths[E])[O.length-1],p[0],o,s)){q=!0,p.shift(),e.edgepaths.splice(S,1),E===S?e.paths.push(p.concat(O)):(E>S&&E--,e.edgepaths[E]=O.concat(p,C));break}q||(e.edgepaths[S]=p.concat(C))}for(S=0;S<e.edgepaths.length&&!B;S++)i((C=e.edgepaths[S])[C.length-1],p[0],o,s)&&(p.shift(),e.edgepaths[S]=C.concat(p),B=!0);B||e.edgepaths.push(p)}}function l(e,t,n){var r=t[0]+Math.max(n[0],0),a=t[1]+Math.max(n[1],0),i=e.z[a][r],o=e.xaxis,l=e.yaxis;if(n[1]){var s=(e.level-i)/(e.z[a][r+1]-i),u=(1!==s?(1-s)*o.c2l(e.x[r]):0)+(0!==s?s*o.c2l(e.x[r+1]):0);return[o.c2p(o.l2c(u),!0),l.c2p(e.y[a],!0),r+s,a]}var c=(e.level-i)/(e.z[a+1][r]-i),f=(1!==c?(1-c)*l.c2l(e.y[a]):0)+(0!==c?c*l.c2l(e.y[a+1]):0);return[o.c2p(e.x[r],!0),l.c2p(l.l2c(f),!0),r,a+c]}t.exports=function(e,t,n){var a,i,l,s;for(t=t||.01,n=n||.01,i=0;i<e.length;i++){for(l=e[i],s=0;s<l.starts.length;s++)o(l,l.starts[s],\"edge\",t,n);for(a=0;Object.keys(l.crossings).length&&a<1e4;)a++,o(l,Object.keys(l.crossings)[0].split(\",\").map(Number),void 0,t,n);1e4===a&&r.log(\"Infinite loop in contour?\")}}},{\"../../lib\":287,\"./constants\":421}],430:[function(e,t,n){\"use strict\";var r=e(\"../../components/color\"),a=e(\"../heatmap/hover\");t.exports=function(e,t,n,i,o){o||(o={}),o.isContour=!0;var l=a(e,t,n,i,o);return l&&l.forEach((function(e){var t=e.trace;\"constraint\"===t.contours.type&&(t.fillcolor&&r.opacity(t.fillcolor)?e.color=r.addOpacity(t.fillcolor,1):t.contours.showlines&&r.opacity(t.line.color)&&(e.color=r.addOpacity(t.line.color,1)))})),l}},{\"../../components/color\":157,\"../heatmap/hover\":446}],431:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),supplyDefaults:e(\"./defaults\"),calc:e(\"./calc\"),plot:e(\"./plot\").plot,style:e(\"./style\"),colorbar:e(\"./colorbar\"),hoverPoints:e(\"./hover\"),moduleType:\"trace\",name:\"contour\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"cartesian\",\"svg\",\"2dMap\",\"contour\",\"showLegend\"],meta:{}}},{\"../../plots/cartesian\":348,\"./attributes\":417,\"./calc\":418,\"./colorbar\":420,\"./defaults\":426,\"./hover\":430,\"./plot\":435,\"./style\":437}],432:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports=function(e,t,n,a){if(a||(a={}),e(\"contours.showlabels\")){var i=t.font;r.coerceFont(e,\"contours.labelfont\",{family:i.family,size:i.size,color:n}),e(\"contours.labelformat\")}!1!==a.hasHover&&e(\"zhoverformat\")}},{\"../../lib\":287}],433:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../components/colorscale\"),i=e(\"./end_plus\");t.exports=function(e){var t=e.contours,n=t.start,o=i(t),l=t.size||1,s=Math.floor((o-n)/l)+1,u=\"lines\"===t.coloring?0:1,c=a.extractOpts(e);isFinite(l)||(l=1,s=1);var f,d,p=c.reversescale?a.flipScale(c.colorscale):c.colorscale,h=p.length,m=new Array(h),g=new Array(h);if(\"heatmap\"===t.coloring){var y=c.min,v=c.max;for(d=0;d<h;d++)f=p[d],m[d]=f[0]*(v-y)+y,g[d]=f[1];var b=r.extent([y,v,t.start,t.start+l*(s-1)]),x=b[y<v?0:1],w=b[y<v?1:0];x!==y&&(m.splice(0,0,x),g.splice(0,0,g[0])),w!==v&&(m.push(w),g.push(g[g.length-1]))}else for(d=0;d<h;d++)f=p[d],m[d]=(f[0]*(s+u-1)-u/2)*l+n,g[d]=f[1];return a.makeColorScaleFunc({domain:m,range:g},{noNumericCheck:!0})}},{\"../../components/colorscale\":169,\"./end_plus\":428,\"@plotly/d3\":20}],434:[function(e,t,n){\"use strict\";var r=e(\"./constants\");function a(e,t){var n=(t[0][0]>e?0:1)+(t[0][1]>e?0:2)+(t[1][1]>e?0:4)+(t[1][0]>e?0:8);return 5===n||10===n?e>(t[0][0]+t[0][1]+t[1][0]+t[1][1])/4?5===n?713:1114:5===n?104:208:15===n?0:n}t.exports=function(e){var t,n,i,o,l,s,u,c,f,d=e[0].z,p=d.length,h=d[0].length,m=2===p||2===h;for(n=0;n<p-1;n++)for(o=[],0===n&&(o=o.concat(r.BOTTOMSTART)),n===p-2&&(o=o.concat(r.TOPSTART)),t=0;t<h-1;t++)for(i=o.slice(),0===t&&(i=i.concat(r.LEFTSTART)),t===h-2&&(i=i.concat(r.RIGHTSTART)),l=t+\",\"+n,s=[[d[n][t],d[n][t+1]],[d[n+1][t],d[n+1][t+1]]],f=0;f<e.length;f++)(u=a((c=e[f]).level,s))&&(c.crossings[l]=u,-1!==i.indexOf(u)&&(c.starts.push([t,n]),m&&-1!==i.indexOf(u,i.indexOf(u)+1)&&c.starts.push([t,n])))}},{\"./constants\":421}],435:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../lib\"),i=e(\"../../components/drawing\"),o=e(\"../../components/colorscale\"),l=e(\"../../lib/svg_text_utils\"),s=e(\"../../plots/cartesian/axes\"),u=e(\"../../plots/cartesian/set_convert\"),c=e(\"../heatmap/plot\"),f=e(\"./make_crossings\"),d=e(\"./find_all_paths\"),p=e(\"./empty_pathinfo\"),h=e(\"./convert_to_constraints\"),m=e(\"./close_boundaries\"),g=e(\"./constants\"),y=g.LABELOPTIMIZER;function v(e,t){var n,r,o,l,s,u,c,f=\"\",d=0,p=e.edgepaths.map((function(e,t){return t})),h=!0;function m(e){return Math.abs(e[1]-t[2][1])<.01}function g(e){return Math.abs(e[0]-t[0][0])<.01}function y(e){return Math.abs(e[0]-t[2][0])<.01}for(;p.length;){for(u=i.smoothopen(e.edgepaths[d],e.smoothing),f+=h?u:u.replace(/^M/,\"L\"),p.splice(p.indexOf(d),1),n=e.edgepaths[d][e.edgepaths[d].length-1],l=-1,o=0;o<4;o++){if(!n){a.log(\"Missing end?\",d,e);break}for(c=n,Math.abs(c[1]-t[0][1])<.01&&!y(n)?r=t[1]:g(n)?r=t[0]:m(n)?r=t[3]:y(n)&&(r=t[2]),s=0;s<e.edgepaths.length;s++){var v=e.edgepaths[s][0];Math.abs(n[0]-r[0])<.01?Math.abs(n[0]-v[0])<.01&&(v[1]-n[1])*(r[1]-v[1])>=0&&(r=v,l=s):Math.abs(n[1]-r[1])<.01?Math.abs(n[1]-v[1])<.01&&(v[0]-n[0])*(r[0]-v[0])>=0&&(r=v,l=s):a.log(\"endpt to newendpt is not vert. or horz.\",n,r,v)}if(n=r,l>=0)break;f+=\"L\"+r}if(l===e.edgepaths.length){a.log(\"unclosed perimeter path\");break}d=l,(h=-1===p.indexOf(d))&&(d=p[0],f+=\"Z\")}for(d=0;d<e.paths.length;d++)f+=i.smoothclosed(e.paths[d],e.smoothing);return f}function b(e,t,n,r){var i=t.width/2,o=t.height/2,l=e.x,s=e.y,u=e.theta,c=Math.cos(u)*i,f=Math.sin(u)*i,d=(l>r.center?r.right-l:l-r.left)/(c+Math.abs(Math.sin(u)*o)),p=(s>r.middle?r.bottom-s:s-r.top)/(Math.abs(f)+Math.cos(u)*o);if(d<1||p<1)return 1/0;var h=y.EDGECOST*(1/(d-1)+1/(p-1));h+=y.ANGLECOST*u*u;for(var m=l-c,g=s-f,v=l+c,b=s+f,x=0;x<n.length;x++){var w=n[x],_=Math.cos(w.theta)*w.width/2,k=Math.sin(w.theta)*w.width/2,T=2*a.segmentDistance(m,g,v,b,w.x-_,w.y-k,w.x+_,w.y+k)/(t.height+w.height),M=w.level===t.level,S=M?y.SAMELEVELDISTANCE:1;if(T<=S)return 1/0;h+=y.NEIGHBORCOST*(M?y.SAMELEVELFACTOR:1)/(T-S)}return h}function x(e){var t,n,r=e.trace._emptypoints,a=[],i=e.z.length,o=e.z[0].length,l=[];for(t=0;t<o;t++)l.push(1);for(t=0;t<i;t++)a.push(l.slice());for(t=0;t<r.length;t++)a[(n=r[t])[0]][n[1]]=0;return e.zmask=a,a}n.plot=function(e,t,o,l){var s=t.xaxis,u=t.yaxis;a.makeTraceGroups(l,o,\"contour\").each((function(o){var l=r.select(this),y=o[0],b=y.trace,w=y.x,_=y.y,k=b.contours,T=p(k,t,y),M=a.ensureSingle(l,\"g\",\"heatmapcoloring\"),S=[];\"heatmap\"===k.coloring&&(S=[o]),c(e,t,S,M),f(T),d(T);var E=s.c2p(w[0],!0),C=s.c2p(w[w.length-1],!0),O=u.c2p(_[0],!0),A=u.c2p(_[_.length-1],!0),D=[[E,A],[C,A],[C,O],[E,O]],P=T;\"constraint\"===k.type&&(P=h(T,k._operation)),function(e,t,n){var r=a.ensureSingle(e,\"g\",\"contourbg\").selectAll(\"path\").data(\"fill\"===n.coloring?[0]:[]);r.enter().append(\"path\"),r.exit().remove(),r.attr(\"d\",\"M\"+t.join(\"L\")+\"Z\").style(\"stroke\",\"none\")}(l,D,k),function(e,t,n,i){var o=\"fill\"===i.coloring||\"constraint\"===i.type&&\"=\"!==i._operation,l=\"M\"+n.join(\"L\")+\"Z\";o&&m(t,i);var s=a.ensureSingle(e,\"g\",\"contourfill\").selectAll(\"path\").data(o?t:[]);s.enter().append(\"path\"),s.exit().remove(),s.each((function(e){var t=(e.prefixBoundary?l:\"\")+v(e,n);t?r.select(this).attr(\"d\",t).style(\"stroke\",\"none\"):r.select(this).remove()}))}(l,P,D,k),function(e,t,o,l,s){var u=a.ensureSingle(e,\"g\",\"contourlines\"),c=!1!==s.showlines,f=s.showlabels,d=c&&f,p=n.createLines(u,c||f,t),h=n.createLineClip(u,d,o,l.trace.uid),m=e.selectAll(\"g.contourlabels\").data(f?[0]:[]);if(m.exit().remove(),m.enter().append(\"g\").classed(\"contourlabels\",!0),f){var y=[],v=[];a.clearLocationCache();var b=n.labelFormatter(o,l),x=i.tester.append(\"text\").attr(\"data-notex\",1).call(i.font,s.labelfont),w=t[0].xaxis,_=t[0].yaxis,k=w._length,T=_._length,M=w.range,S=_.range,E=a.aggNums(Math.min,null,l.x),C=a.aggNums(Math.max,null,l.x),O=a.aggNums(Math.min,null,l.y),A=a.aggNums(Math.max,null,l.y),D=Math.max(w.c2p(E,!0),0),P=Math.min(w.c2p(C,!0),k),R=Math.max(_.c2p(A,!0),0),L=Math.min(_.c2p(O,!0),T),I={};M[0]<M[1]?(I.left=D,I.right=P):(I.left=P,I.right=D),S[0]<S[1]?(I.top=R,I.bottom=L):(I.top=L,I.bottom=R),I.middle=(I.top+I.bottom)/2,I.center=(I.left+I.right)/2,y.push([[I.left,I.top],[I.right,I.top],[I.right,I.bottom],[I.left,I.bottom]]);var j=Math.sqrt(k*k+T*T),N=g.LABELDISTANCE*j/Math.max(1,t.length/g.LABELINCREASE);p.each((function(e){var t=n.calcTextOpts(e.level,b,x,o);r.select(this).selectAll(\"path\").each((function(){var e=a.getVisibleSegment(this,I,t.height/2);if(e&&!(e.len<(t.width+t.height)*g.LABELMIN))for(var r=Math.min(Math.ceil(e.len/N),g.LABELMAX),i=0;i<r;i++){var o=n.findBestTextLocation(this,e,t,v,I);if(!o)break;n.addLabelData(o,t,v,y)}}))})),x.remove(),n.drawLabels(m,v,o,h,d?y:null)}f&&!c&&p.remove()}(l,T,e,y,k),function(e,t,n,r,o){var l=r.trace,s=n._fullLayout._clips,u=\"clip\"+l.uid,c=s.selectAll(\"#\"+u).data(l.connectgaps?[]:[0]);if(c.enter().append(\"clipPath\").classed(\"contourclip\",!0).attr(\"id\",u),c.exit().remove(),!1===l.connectgaps){var p={level:.9,crossings:{},starts:[],edgepaths:[],paths:[],xaxis:t.xaxis,yaxis:t.yaxis,x:r.x,y:r.y,z:x(r),smoothing:0};f([p]),d([p]),m([p],{type:\"levels\"}),a.ensureSingle(c,\"path\",\"\").attr(\"d\",(p.prefixBoundary?\"M\"+o.join(\"L\")+\"Z\":\"\")+v(p,o))}else u=null;i.setClipUrl(e,u,n)}(l,t,e,y,D)}))},n.createLines=function(e,t,n){var r=n[0].smoothing,a=e.selectAll(\"g.contourlevel\").data(t?n:[]);if(a.exit().remove(),a.enter().append(\"g\").classed(\"contourlevel\",!0),t){var o=a.selectAll(\"path.openline\").data((function(e){return e.pedgepaths||e.edgepaths}));o.exit().remove(),o.enter().append(\"path\").classed(\"openline\",!0),o.attr(\"d\",(function(e){return i.smoothopen(e,r)})).style(\"stroke-miterlimit\",1).style(\"vector-effect\",\"non-scaling-stroke\");var l=a.selectAll(\"path.closedline\").data((function(e){return e.ppaths||e.paths}));l.exit().remove(),l.enter().append(\"path\").classed(\"closedline\",!0),l.attr(\"d\",(function(e){return i.smoothclosed(e,r)})).style(\"stroke-miterlimit\",1).style(\"vector-effect\",\"non-scaling-stroke\")}return a},n.createLineClip=function(e,t,n,r){var a=t?\"clipline\"+r:null,o=n._fullLayout._clips.selectAll(\"#\"+a).data(t?[0]:[]);return o.exit().remove(),o.enter().append(\"clipPath\").classed(\"contourlineclip\",!0).attr(\"id\",a),i.setClipUrl(e,a,n),o},n.labelFormatter=function(e,t){var n=e._fullLayout,r=t.trace,a=r.contours,i={type:\"linear\",_id:\"ycontour\",showexponent:\"all\",exponentformat:\"B\"};if(a.labelformat)i.tickformat=a.labelformat,u(i,n);else{var l=o.extractOpts(r);if(l&&l.colorbar&&l.colorbar._axis)i=l.colorbar._axis;else{if(\"constraint\"===a.type){var c=a.value;Array.isArray(c)?i.range=[c[0],c[c.length-1]]:i.range=[c,c]}else i.range=[a.start,a.end],i.nticks=(a.end-a.start)/a.size;i.range[0]===i.range[1]&&(i.range[1]+=i.range[0]||1),i.nticks||(i.nticks=1e3),u(i,n),s.prepTicks(i),i._tmin=null,i._tmax=null}}return function(e){return s.tickText(i,e).text}},n.calcTextOpts=function(e,t,n,r){var a=t(e);n.text(a).call(l.convertToTspans,r);var o=n.node(),s=i.bBox(o,!0);return{text:a,width:s.width,height:s.height,fontSize:+o.style[\"font-size\"].replace(\"px\",\"\"),level:e,dy:(s.top+s.bottom)/2}},n.findBestTextLocation=function(e,t,n,r,i){var o,l,s,u,c,f=n.width;t.isClosed?(l=t.len/y.INITIALSEARCHPOINTS,o=t.min+l/2,s=t.max):(l=(t.len-f)/(y.INITIALSEARCHPOINTS+1),o=t.min+l+f/2,s=t.max-(l+f)/2);for(var d=1/0,p=0;p<y.ITERATIONS;p++){for(var h=o;h<s;h+=l){var m=a.getTextLocation(e,t.total,h,f),g=b(m,n,r,i);g<d&&(d=g,c=m,u=h)}if(d>2*y.MAXCOST)break;p&&(l/=2),s=(o=u-l/2)+1.5*l}if(d<=y.MAXCOST)return c},n.addLabelData=function(e,t,n,r){var a=t.fontSize,i=t.width+a/3,o=Math.max(0,t.height-a/3),l=e.x,s=e.y,u=e.theta,c=Math.sin(u),f=Math.cos(u),d=function(e,t){return[l+e*f-t*c,s+e*c+t*f]},p=[d(-i/2,-o/2),d(-i/2,o/2),d(i/2,o/2),d(i/2,-o/2)];n.push({text:t.text,x:l,y:s,dy:t.dy,theta:u,level:t.level,width:i,height:o}),r.push(p)},n.drawLabels=function(e,t,n,i,o){var s=e.selectAll(\"text\").data(t,(function(e){return e.text+\",\"+e.x+\",\"+e.y+\",\"+e.theta}));if(s.exit().remove(),s.enter().append(\"text\").attr({\"data-notex\":1,\"text-anchor\":\"middle\"}).each((function(e){var t=e.x+Math.sin(e.theta)*e.dy,a=e.y-Math.cos(e.theta)*e.dy;r.select(this).text(e.text).attr({x:t,y:a,transform:\"rotate(\"+180*e.theta/Math.PI+\" \"+t+\" \"+a+\")\"}).call(l.convertToTspans,n)})),o){for(var u=\"\",c=0;c<o.length;c++)u+=\"M\"+o[c].join(\"L\")+\"Z\";a.ensureSingle(i,\"path\",\"\").attr(\"d\",u)}}},{\"../../components/colorscale\":169,\"../../components/drawing\":179,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../plots/cartesian/axes\":334,\"../../plots/cartesian/set_convert\":356,\"../heatmap/plot\":451,\"./close_boundaries\":419,\"./constants\":421,\"./convert_to_constraints\":425,\"./empty_pathinfo\":427,\"./find_all_paths\":429,\"./make_crossings\":434,\"@plotly/d3\":20}],436:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axes\"),a=e(\"../../lib\");function i(e,t,n){var a={type:\"linear\",range:[e,t]};return r.autoTicks(a,(t-e)/(n||15)),a}t.exports=function(e,t){var n=e.contours;if(e.autocontour){var o=e.zmin,l=e.zmax;(e.zauto||void 0===o)&&(o=a.aggNums(Math.min,null,t)),(e.zauto||void 0===l)&&(l=a.aggNums(Math.max,null,t));var s=i(o,l,e.ncontours);n.size=s.dtick,n.start=r.tickFirst(s),s.range.reverse(),n.end=r.tickFirst(s),n.start===o&&(n.start+=n.size),n.end===l&&(n.end-=n.size),n.start>n.end&&(n.start=n.end=(n.start+n.end)/2),e._input.contours||(e._input.contours={}),a.extendFlat(e._input.contours,{start:n.start,end:n.end,size:n.size}),e._input.autocontour=!0}else if(\"constraint\"!==n.type){var u,c=n.start,f=n.end,d=e._input.contours;c>f&&(n.start=d.start=f,f=n.end=d.end=c,c=n.start),n.size>0||(u=c===f?1:i(c,f,e.ncontours).dtick,d.size=n.size=u)}}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334}],437:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../components/drawing\"),i=e(\"../heatmap/style\"),o=e(\"./make_color_map\");t.exports=function(e){var t=r.select(e).selectAll(\"g.contour\");t.style(\"opacity\",(function(e){return e[0].trace.opacity})),t.each((function(e){var t=r.select(this),n=e[0].trace,i=n.contours,l=n.line,s=i.size||1,u=i.start,c=\"constraint\"===i.type,f=!c&&\"lines\"===i.coloring,d=!c&&\"fill\"===i.coloring,p=f||d?o(n):null;t.selectAll(\"g.contourlevel\").each((function(e){r.select(this).selectAll(\"path\").call(a.lineGroupStyle,l.width,f?p(e.level):l.color,l.dash)}));var h=i.labelfont;if(t.selectAll(\"g.contourlabels text\").each((function(e){a.font(r.select(this),{family:h.family,size:h.size,color:h.color||(f?p(e.level):l.color)})})),c)t.selectAll(\"g.contourfill path\").style(\"fill\",n.fillcolor);else if(d){var m;t.selectAll(\"g.contourfill path\").style(\"fill\",(function(e){return void 0===m&&(m=e.level),p(e.level+.5*s)})),void 0===m&&(m=u),t.selectAll(\"g.contourbg path\").style(\"fill\",p(m-.5*s))}})),i(e)}},{\"../../components/drawing\":179,\"../heatmap/style\":452,\"./make_color_map\":433,\"@plotly/d3\":20}],438:[function(e,t,n){\"use strict\";var r=e(\"../../components/colorscale/defaults\"),a=e(\"./label_defaults\");t.exports=function(e,t,n,i,o){var l,s=n(\"contours.coloring\"),u=\"\";\"fill\"===s&&(l=n(\"contours.showlines\")),!1!==l&&(\"lines\"!==s&&(u=n(\"line.color\",\"#000\")),n(\"line.width\",.5),n(\"line.dash\")),\"none\"!==s&&(!0!==e.showlegend&&(t.showlegend=!1),t._dfltShowLegend=!1,r(e,t,i,n,{prefix:\"\",cLetter:\"z\"})),n(\"line.smoothing\"),a(n,i,u,o)}},{\"../../components/colorscale/defaults\":167,\"./label_defaults\":432}],439:[function(e,t,n){\"use strict\";var r=e(\"../scatter/attributes\"),a=e(\"../../plots/attributes\"),i=e(\"../../plots/font_attributes\"),o=e(\"../../plots/cartesian/axis_format_attributes\").axisHoverFormat,l=e(\"../../plots/template_attributes\").hovertemplateAttrs,s=e(\"../../plots/template_attributes\").texttemplateAttrs,u=e(\"../../components/colorscale/attributes\"),c=e(\"../../lib/extend\").extendFlat;t.exports=c({z:{valType:\"data_array\",editType:\"calc\"},x:c({},r.x,{impliedEdits:{xtype:\"array\"}}),x0:c({},r.x0,{impliedEdits:{xtype:\"scaled\"}}),dx:c({},r.dx,{impliedEdits:{xtype:\"scaled\"}}),y:c({},r.y,{impliedEdits:{ytype:\"array\"}}),y0:c({},r.y0,{impliedEdits:{ytype:\"scaled\"}}),dy:c({},r.dy,{impliedEdits:{ytype:\"scaled\"}}),xperiod:c({},r.xperiod,{impliedEdits:{xtype:\"scaled\"}}),yperiod:c({},r.yperiod,{impliedEdits:{ytype:\"scaled\"}}),xperiod0:c({},r.xperiod0,{impliedEdits:{xtype:\"scaled\"}}),yperiod0:c({},r.yperiod0,{impliedEdits:{ytype:\"scaled\"}}),xperiodalignment:c({},r.xperiodalignment,{impliedEdits:{xtype:\"scaled\"}}),yperiodalignment:c({},r.yperiodalignment,{impliedEdits:{ytype:\"scaled\"}}),text:{valType:\"data_array\",editType:\"calc\"},hovertext:{valType:\"data_array\",editType:\"calc\"},transpose:{valType:\"boolean\",dflt:!1,editType:\"calc\"},xtype:{valType:\"enumerated\",values:[\"array\",\"scaled\"],editType:\"calc+clearAxisTypes\"},ytype:{valType:\"enumerated\",values:[\"array\",\"scaled\"],editType:\"calc+clearAxisTypes\"},zsmooth:{valType:\"enumerated\",values:[\"fast\",\"best\",!1],dflt:!1,editType:\"calc\"},hoverongaps:{valType:\"boolean\",dflt:!0,editType:\"none\"},connectgaps:{valType:\"boolean\",editType:\"calc\"},xgap:{valType:\"number\",dflt:0,min:0,editType:\"plot\"},ygap:{valType:\"number\",dflt:0,min:0,editType:\"plot\"},xhoverformat:o(\"x\"),yhoverformat:o(\"y\"),zhoverformat:o(\"z\",1),hovertemplate:l(),texttemplate:s({arrayOk:!1,editType:\"plot\"},{keys:[\"x\",\"y\",\"z\",\"text\"]}),textfont:i({editType:\"plot\",autoSize:!0,autoColor:!0,colorEditType:\"style\"}),showlegend:c({},a.showlegend,{dflt:!1})},{transforms:void 0},u(\"\",{cLetter:\"z\",autoColorDflt:!1}))},{\"../../components/colorscale/attributes\":164,\"../../lib/extend\":281,\"../../plots/attributes\":330,\"../../plots/cartesian/axis_format_attributes\":337,\"../../plots/font_attributes\":365,\"../../plots/template_attributes\":373,\"../scatter/attributes\":500}],440:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../lib\"),i=e(\"../../plots/cartesian/axes\"),o=e(\"../../plots/cartesian/align_period\"),l=e(\"../histogram2d/calc\"),s=e(\"../../components/colorscale/calc\"),u=e(\"./convert_column_xyz\"),c=e(\"./clean_2d_array\"),f=e(\"./interp2d\"),d=e(\"./find_empties\"),p=e(\"./make_bound_array\"),h=e(\"../../constants/numerical\").BADNUM;function m(e){for(var t=[],n=e.length,r=0;r<n;r++){var a=e[r];a!==h&&t.push(a)}return t}t.exports=function(e,t){var n,g,y,v,b,x,w,_,k,T,M,S=i.getFromId(e,t.xaxis||\"x\"),E=i.getFromId(e,t.yaxis||\"y\"),C=r.traceIs(t,\"contour\"),O=r.traceIs(t,\"histogram\"),A=r.traceIs(t,\"gl2d\"),D=C?\"best\":t.zsmooth;if(S._minDtick=0,E._minDtick=0,O)v=(M=l(e,t)).orig_x,n=M.x,g=M.x0,y=M.dx,_=M.orig_y,b=M.y,x=M.y0,w=M.dy,k=M.z;else{var P=t.z;a.isArray1D(P)?(u(t,S,E,\"x\",\"y\",[\"z\"]),n=t._x,b=t._y,P=t._z):(v=t.x?S.makeCalcdata(t,\"x\"):[],_=t.y?E.makeCalcdata(t,\"y\"):[],n=o(t,S,\"x\",v).vals,b=o(t,E,\"y\",_).vals,t._x=n,t._y=b),g=t.x0,y=t.dx,x=t.y0,w=t.dy,k=c(P,t,S,E)}function R(e){D=t._input.zsmooth=t.zsmooth=!1,a.warn('cannot use zsmooth: \"fast\": '+e)}if((S.rangebreaks||E.rangebreaks)&&(k=function(e,t,n){for(var r=[],a=-1,i=0;i<n.length;i++)if(t[i]!==h){r[++a]=[];for(var o=0;o<n[i].length;o++)e[o]!==h&&r[a].push(n[i][o])}return r}(n,b,k),O||(n=m(n),b=m(b),t._x=n,t._y=b)),O||!C&&!t.connectgaps||(t._emptypoints=d(k),f(k,t._emptypoints)),\"fast\"===D)if(\"log\"===S.type||\"log\"===E.type)R(\"log axis found\");else if(!O){if(n.length){var L=(n[n.length-1]-n[0])/(n.length-1),I=Math.abs(L/100);for(T=0;T<n.length-1;T++)if(Math.abs(n[T+1]-n[T]-L)>I){R(\"x scale is not linear\");break}}if(b.length&&\"fast\"===D){var j=(b[b.length-1]-b[0])/(b.length-1),N=Math.abs(j/100);for(T=0;T<b.length-1;T++)if(Math.abs(b[T+1]-b[T]-j)>N){R(\"y scale is not linear\");break}}}var z=a.maxRowLength(k),F=\"scaled\"===t.xtype?\"\":n,Z=p(t,F,g,y,z,S),B=\"scaled\"===t.ytype?\"\":b,q=p(t,B,x,w,k.length,E);A||(t._extremes[S._id]=i.findExtremes(S,Z),t._extremes[E._id]=i.findExtremes(E,q));var H={x:Z,y:q,z:k,text:t._text||t.text,hovertext:t._hovertext||t.hovertext};if(t.xperiodalignment&&v&&(H.orig_x=v),t.yperiodalignment&&_&&(H.orig_y=_),F&&F.length===Z.length-1&&(H.xCenter=F),B&&B.length===q.length-1&&(H.yCenter=B),O&&(H.xRanges=M.xRanges,H.yRanges=M.yRanges,H.pts=M.pts),C||s(e,t,{vals:k,cLetter:\"z\"}),C&&t.contours&&\"heatmap\"===t.contours.coloring){var U={type:\"contour\"===t.type?\"heatmap\":\"histogram2d\",xcalendar:t.xcalendar,ycalendar:t.ycalendar};H.xfill=p(U,F,g,y,z,S),H.yfill=p(U,B,x,w,k.length,E)}return[H]}},{\"../../components/colorscale/calc\":165,\"../../constants/numerical\":267,\"../../lib\":287,\"../../plots/cartesian/align_period\":331,\"../../plots/cartesian/axes\":334,\"../../registry\":378,\"../histogram2d/calc\":469,\"./clean_2d_array\":441,\"./convert_column_xyz\":443,\"./find_empties\":445,\"./interp2d\":448,\"./make_bound_array\":450}],441:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=e(\"../../constants/numerical\").BADNUM;t.exports=function(e,t,n,o){var l,s,u,c,f,d;function p(e){if(r(e))return+e}if(t&&t.transpose){for(l=0,f=0;f<e.length;f++)l=Math.max(l,e[f].length);if(0===l)return!1;u=function(e){return e.length},c=function(e,t,n){return(e[n]||[])[t]}}else l=e.length,u=function(e,t){return e[t].length},c=function(e,t,n){return(e[t]||[])[n]};var h=function(e,t,n){return t===i||n===i?i:c(e,t,n)};function m(e){if(t&&\"carpet\"!==t.type&&\"contourcarpet\"!==t.type&&e&&\"category\"===e.type&&t[\"_\"+e._id.charAt(0)].length){var n=e._id.charAt(0),r={},o=t[\"_\"+n+\"CategoryMap\"]||t[n];for(f=0;f<o.length;f++)r[o[f]]=f;return function(t){var n=r[e._categories[t]];return n+1?n:i}}return a.identity}var g=m(n),y=m(o);o&&\"category\"===o.type&&(l=o._categories.length);var v=new Array(l);for(f=0;f<l;f++)for(s=n&&\"category\"===n.type?n._categories.length:u(e,f),v[f]=new Array(s),d=0;d<s;d++)v[f][d]=p(h(e,y(f),g(d)));return v}},{\"../../constants/numerical\":267,\"../../lib\":287,\"fast-isnumeric\":33}],442:[function(e,t,n){\"use strict\";t.exports={min:\"zmin\",max:\"zmax\"}},{}],443:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../constants/numerical\").BADNUM,i=e(\"../../plots/cartesian/align_period\");t.exports=function(e,t,n,o,l,s){var u=e._length,c=t.makeCalcdata(e,o),f=n.makeCalcdata(e,l);c=i(e,t,o,c).vals,f=i(e,n,l,f).vals;var d,p,h,m,g=e.text,y=void 0!==g&&r.isArray1D(g),v=e.hovertext,b=void 0!==v&&r.isArray1D(v),x=r.distinctVals(c),w=x.vals,_=r.distinctVals(f),k=_.vals,T=[],M=k.length,S=w.length;for(d=0;d<s.length;d++)T[d]=r.init2dArray(M,S);y&&(h=r.init2dArray(M,S)),b&&(m=r.init2dArray(M,S));var E=r.init2dArray(M,S);for(d=0;d<u;d++)if(c[d]!==a&&f[d]!==a){var C=r.findBin(c[d]+x.minDiff/2,w),O=r.findBin(f[d]+_.minDiff/2,k);for(p=0;p<s.length;p++){var A=e[s[p]];T[p][O][C]=A[d],E[O][C]=d}y&&(h[O][C]=g[d]),b&&(m[O][C]=v[d])}for(e[\"_\"+o]=w,e[\"_\"+l]=k,p=0;p<s.length;p++)e[\"_\"+s[p]]=T[p];y&&(e._text=h),b&&(e._hovertext=m),t&&\"category\"===t.type&&(e[\"_\"+o+\"CategoryMap\"]=w.map((function(e){return t._categories[e]}))),n&&\"category\"===n.type&&(e[\"_\"+l+\"CategoryMap\"]=k.map((function(e){return n._categories[e]}))),e._after2before=E}},{\"../../constants/numerical\":267,\"../../lib\":287,\"../../plots/cartesian/align_period\":331}],444:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./xyz_defaults\"),i=e(\"./label_defaults\"),o=e(\"../scatter/period_defaults\"),l=e(\"./style_defaults\"),s=e(\"../../components/colorscale/defaults\"),u=e(\"./attributes\");t.exports=function(e,t,n,c){function f(n,a){return r.coerce(e,t,u,n,a)}a(e,t,f,c)?(o(e,t,c,f),f(\"xhoverformat\"),f(\"yhoverformat\"),f(\"text\"),f(\"hovertext\"),f(\"hovertemplate\"),i(f,c),l(e,t,f,c),f(\"hoverongaps\"),f(\"connectgaps\",r.isArray1D(t.z)&&!1!==t.zsmooth),s(e,t,c,f,{prefix:\"\",cLetter:\"z\"})):t.visible=!1}},{\"../../components/colorscale/defaults\":167,\"../../lib\":287,\"../scatter/period_defaults\":520,\"./attributes\":439,\"./label_defaults\":449,\"./style_defaults\":453,\"./xyz_defaults\":454}],445:[function(e,t,n){\"use strict\";var r=e(\"../../lib\").maxRowLength;t.exports=function(e){var t,n,a,i,o,l,s,u,c=[],f={},d=[],p=e[0],h=[],m=[0,0,0],g=r(e);for(n=0;n<e.length;n++)for(t=h,h=p,p=e[n+1]||[],a=0;a<g;a++)void 0===h[a]&&((l=(void 0!==h[a-1]?1:0)+(void 0!==h[a+1]?1:0)+(void 0!==t[a]?1:0)+(void 0!==p[a]?1:0))?(0===n&&l++,0===a&&l++,n===e.length-1&&l++,a===h.length-1&&l++,l<4&&(f[[n,a]]=[n,a,l]),c.push([n,a,l])):d.push([n,a]));for(;d.length;){for(s={},u=!1,o=d.length-1;o>=0;o--)(l=((f[[(n=(i=d[o])[0])-1,a=i[1]]]||m)[2]+(f[[n+1,a]]||m)[2]+(f[[n,a-1]]||m)[2]+(f[[n,a+1]]||m)[2])/20)&&(s[i]=[n,a,l],d.splice(o,1),u=!0);if(!u)throw\"findEmpties iterated with no new neighbors\";for(i in s)f[i]=s[i],c.push(s[i])}return c.sort((function(e,t){return t[2]-e[2]}))}},{\"../../lib\":287}],446:[function(e,t,n){\"use strict\";var r=e(\"../../components/fx\"),a=e(\"../../lib\"),i=e(\"../../plots/cartesian/axes\"),o=e(\"../../components/colorscale\").extractOpts;t.exports=function(e,t,n,l,s){s||(s={});var u,c,f,d,p=s.isContour,h=e.cd[0],m=h.trace,g=e.xa,y=e.ya,v=h.x,b=h.y,x=h.z,w=h.xCenter,_=h.yCenter,k=h.zmask,T=m.zhoverformat,M=v,S=b;if(!1!==e.index){try{f=Math.round(e.index[1]),d=Math.round(e.index[0])}catch(t){return void a.error(\"Error hovering on heatmap, pointNumber must be [row,col], found:\",e.index)}if(f<0||f>=x[0].length||d<0||d>x.length)return}else{if(r.inbox(t-v[0],t-v[v.length-1],0)>0||r.inbox(n-b[0],n-b[b.length-1],0)>0)return;if(p){var E;for(M=[2*v[0]-v[1]],E=1;E<v.length;E++)M.push((v[E]+v[E-1])/2);for(M.push([2*v[v.length-1]-v[v.length-2]]),S=[2*b[0]-b[1]],E=1;E<b.length;E++)S.push((b[E]+b[E-1])/2);S.push([2*b[b.length-1]-b[b.length-2]])}f=Math.max(0,Math.min(M.length-2,a.findBin(t,M))),d=Math.max(0,Math.min(S.length-2,a.findBin(n,S)))}var C,O,A=g.c2p(v[f]),D=g.c2p(v[f+1]),P=y.c2p(b[d]),R=y.c2p(b[d+1]);p?(C=h.orig_x||v,O=h.orig_y||b,D=A,u=C[f],R=P,c=O[d]):(C=h.orig_x||w||v,O=h.orig_y||_||b,u=w?C[f]:(C[f]+C[f+1])/2,c=_?O[d]:(O[d]+O[d+1])/2,g&&\"category\"===g.type&&(u=v[f]),y&&\"category\"===y.type&&(c=b[d]),m.zsmooth&&(A=D=g.c2p(u),P=R=y.c2p(c)));var L=x[d][f];if(k&&!k[d][f]&&(L=void 0),void 0!==L||m.hoverongaps){var I;Array.isArray(h.hovertext)&&Array.isArray(h.hovertext[d])?I=h.hovertext[d][f]:Array.isArray(h.text)&&Array.isArray(h.text[d])&&(I=h.text[d][f]);var j=o(m),N={type:\"linear\",range:[j.min,j.max],hoverformat:T,_separators:g._separators,_numFormat:g._numFormat},z=i.tickText(N,L,\"hover\").text;return[a.extendFlat(e,{index:m._after2before?m._after2before[d][f]:[d,f],distance:e.maxHoverDistance,spikeDistance:e.maxSpikeDistance,x0:A,x1:D,y0:P,y1:R,xLabelVal:u,yLabelVal:c,zLabelVal:L,zLabel:z,text:I})]}}},{\"../../components/colorscale\":169,\"../../components/fx\":197,\"../../lib\":287,\"../../plots/cartesian/axes\":334}],447:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),supplyDefaults:e(\"./defaults\"),calc:e(\"./calc\"),plot:e(\"./plot\"),colorbar:e(\"./colorbar\"),style:e(\"./style\"),hoverPoints:e(\"./hover\"),moduleType:\"trace\",name:\"heatmap\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"cartesian\",\"svg\",\"2dMap\",\"showLegend\"],meta:{}}},{\"../../plots/cartesian\":348,\"./attributes\":439,\"./calc\":440,\"./colorbar\":442,\"./defaults\":444,\"./hover\":446,\"./plot\":451,\"./style\":452}],448:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=[[-1,0],[1,0],[0,-1],[0,1]];function i(e){return.5-.25*Math.min(1,.5*e)}function o(e,t,n){var r,i,o,l,s,u,c,f,d,p,h,m,g,y=0;for(l=0;l<t.length;l++){for(i=(r=t[l])[0],o=r[1],h=e[i][o],p=0,d=0,s=0;s<4;s++)(c=e[i+(u=a[s])[0]])&&void 0!==(f=c[o+u[1]])&&(0===p?m=g=f:(m=Math.min(m,f),g=Math.max(g,f)),d++,p+=f);if(0===d)throw\"iterateInterp2d order is wrong: no defined neighbors\";e[i][o]=p/d,void 0===h?d<4&&(y=1):(e[i][o]=(1+n)*e[i][o]-n*h,g>m&&(y=Math.max(y,Math.abs(e[i][o]-h)/(g-m))))}return y}t.exports=function(e,t){var n,a=1;for(o(e,t),n=0;n<t.length&&!(t[n][2]<4);n++);for(t=t.slice(n),n=0;n<100&&a>.01;n++)a=o(e,t,i(a));return a>.01&&r.log(\"interp2d didn't converge quickly\",a),e}},{\"../../lib\":287}],449:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports=function(e,t){e(\"texttemplate\");var n=r.extendFlat({},t.font,{color:\"auto\",size:\"auto\"});r.coerceFont(e,\"textfont\",n)}},{\"../../lib\":287}],450:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../lib\").isArrayOrTypedArray;t.exports=function(e,t,n,i,o,l){var s,u,c,f=[],d=r.traceIs(e,\"contour\"),p=r.traceIs(e,\"histogram\"),h=r.traceIs(e,\"gl2d\");if(a(t)&&t.length>1&&!p&&\"category\"!==l.type){var m=t.length;if(!(m<=o))return d?t.slice(0,o):t.slice(0,o+1);if(d||h)f=t.slice(0,o);else if(1===o)f=[t[0]-.5,t[0]+.5];else{for(f=[1.5*t[0]-.5*t[1]],c=1;c<m;c++)f.push(.5*(t[c-1]+t[c]));f.push(1.5*t[m-1]-.5*t[m-2])}if(m<o){var g=f[f.length-1],y=g-f[f.length-2];for(c=m;c<o;c++)g+=y,f.push(g)}}else{var v=e[l._id.charAt(0)+\"calendar\"];for(s=p?l.r2c(n,0,v):a(t)&&1===t.length?t[0]:void 0===n?0:(\"log\"===l.type?l.d2c:l.r2c)(n,0,v),u=i||1,c=d||h?0:-.5;c<o;c++)f.push(s+u*c)}return f}},{\"../../lib\":287,\"../../registry\":378}],451:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"tinycolor2\"),i=e(\"../../registry\"),o=e(\"../../components/drawing\"),l=e(\"../../plots/cartesian/axes\"),s=e(\"../../lib\"),u=e(\"../../lib/svg_text_utils\"),c=e(\"../scatter/format_labels\"),f=e(\"../../components/color\"),d=e(\"../../components/colorscale\").extractOpts,p=e(\"../../components/colorscale\").makeColorScaleFuncFromTrace,h=e(\"../../constants/xmlns_namespaces\"),m=e(\"../../constants/alignment\").LINE_SPACING;function g(e){return e.selectAll(\"g.heatmap-label\")}function y(e){g(e).remove()}function v(e,t){var n=t.length-2,r=s.constrain(s.findBin(e,t),0,n),a=t[r],i=t[r+1],o=s.constrain(r+(e-a)/(i-a)-.5,0,n),l=Math.round(o),u=Math.abs(o-l);return o&&o!==n&&u?{bin0:l,frac:u,bin1:Math.round(l+u/(o-l))}:{bin0:l,bin1:l,frac:0}}function b(e,t){var n=t.length-1,r=s.constrain(s.findBin(e,t),0,n),a=t[r],i=(e-a)/(t[r+1]-a)||0;return i<=0?{bin0:r,bin1:r,frac:0}:i<.5?{bin0:r,bin1:r+1,frac:i}:{bin0:r+1,bin1:r,frac:1-i}}function x(e,t,n){e[t]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=Math.round(255*n[3])}t.exports=function(e,t,n,w){var _=t.xaxis,k=t.yaxis;s.makeTraceGroups(w,n,\"hm\").each((function(t){var n,w,T,M,S,E,C,O,A=r.select(this),D=t[0],P=D.trace,R=P.xgap||0,L=P.ygap||0,I=D.z,j=D.x,N=D.y,z=D.xCenter,F=D.yCenter,Z=i.traceIs(P,\"contour\"),B=Z?\"best\":P.zsmooth,q=I.length,H=s.maxRowLength(I),U=!1,W=!1;for(E=0;void 0===n&&E<j.length-1;)n=_.c2p(j[E]),E++;for(E=j.length-1;void 0===w&&E>0;)w=_.c2p(j[E]),E--;for(w<n&&(T=w,w=n,n=T,U=!0),E=0;void 0===M&&E<N.length-1;)M=k.c2p(N[E]),E++;for(E=N.length-1;void 0===S&&E>0;)S=k.c2p(N[E]),E--;if(S<M&&(T=M,M=S,S=T,W=!0),Z&&(z=j,F=N,j=D.xfill,N=D.yfill),\"fast\"!==B){var V=\"best\"===B?0:.5;n=Math.max(-V*_._length,n),w=Math.min((1+V)*_._length,w),M=Math.max(-V*k._length,M),S=Math.min((1+V)*k._length,S)}var Y,G,$=Math.round(w-n),X=Math.round(S-M);if($<=0||X<=0)return A.selectAll(\"image\").data([]).exit().remove(),void y(A);\"fast\"===B?(Y=H,G=q):(Y=$,G=X);var K=document.createElement(\"canvas\");K.width=Y,K.height=G;var J,Q,ee=K.getContext(\"2d\"),te=p(P,{noNumericCheck:!0,returnArray:!0});\"fast\"===B?(J=U?function(e){return H-1-e}:s.identity,Q=W?function(e){return q-1-e}:s.identity):(J=function(e){return s.constrain(Math.round(_.c2p(j[e])-n),0,$)},Q=function(e){return s.constrain(Math.round(k.c2p(N[e])-M),0,X)});var ne,re,ae,ie,oe=Q(0),le=[oe,oe],se=U?0:1,ue=W?0:1,ce=0,fe=0,de=0,pe=0;function he(e,t){if(void 0!==e){var n=te(e);return n[0]=Math.round(n[0]),n[1]=Math.round(n[1]),n[2]=Math.round(n[2]),ce+=t,fe+=n[0]*t,de+=n[1]*t,pe+=n[2]*t,n}return[0,0,0,0]}function me(e,t,n,r){var a=e[n.bin0];if(void 0===a)return he(void 0,1);var i,o=e[n.bin1],l=t[n.bin0],s=t[n.bin1],u=o-a||0,c=l-a||0;return i=void 0===o?void 0===s?0:void 0===l?2*(s-a):2*(2*s-l-a)/3:void 0===s?void 0===l?0:2*(2*a-o-l)/3:void 0===l?2*(2*s-o-a)/3:s+a-o-l,he(a+n.frac*u+r.frac*(c+n.frac*i))}if(B){var ge,ye=0;try{ge=new Uint8Array($*X*4)}catch(e){ge=new Array($*X*4)}if(\"best\"===B){var ve,be,xe,we=z||j,_e=F||N,ke=new Array(we.length),Te=new Array(_e.length),Me=new Array($),Se=z?b:v,Ee=F?b:v;for(E=0;E<we.length;E++)ke[E]=Math.round(_.c2p(we[E])-n);for(E=0;E<_e.length;E++)Te[E]=Math.round(k.c2p(_e[E])-M);for(E=0;E<$;E++)Me[E]=Se(E,ke);for(C=0;C<X;C++)for(be=I[(ve=Ee(C,Te)).bin0],xe=I[ve.bin1],E=0;E<$;E++,ye+=4)x(ge,ye,ie=me(be,xe,Me[E],ve))}else for(C=0;C<q;C++)for(ae=I[C],le=Q(C),E=0;E<$;E++)ie=he(ae[E],1),x(ge,ye=4*(le*$+J(E)),ie);var Ce=ee.createImageData($,X);try{Ce.data.set(ge)}catch(e){var Oe=Ce.data,Ae=Oe.length;for(C=0;C<Ae;C++)Oe[C]=ge[C]}ee.putImageData(Ce,0,0)}else{var De=Math.floor(R/2),Pe=Math.floor(L/2);for(C=0;C<q;C++)if(ae=I[C],le.reverse(),le[ue]=Q(C+1),le[0]!==le[1]&&void 0!==le[0]&&void 0!==le[1])for(ne=[re=J(0),re],E=0;E<H;E++)ne.reverse(),ne[se]=J(E+1),ne[0]!==ne[1]&&void 0!==ne[0]&&void 0!==ne[1]&&(ie=he(ae[E],(ne[1]-ne[0])*(le[1]-le[0])),ee.fillStyle=\"rgba(\"+ie.join(\",\")+\")\",ee.fillRect(ne[0]+De,le[0]+Pe,ne[1]-ne[0]-R,le[1]-le[0]-L))}fe=Math.round(fe/ce),de=Math.round(de/ce),pe=Math.round(pe/ce);var Re=a(\"rgb(\"+fe+\",\"+de+\",\"+pe+\")\");e._hmpixcount=(e._hmpixcount||0)+ce,e._hmlumcount=(e._hmlumcount||0)+ce*Re.getLuminance();var Le=A.selectAll(\"image\").data(t);Le.enter().append(\"svg:image\").attr({xmlns:h.svg,preserveAspectRatio:\"none\"}),Le.attr({height:X,width:$,x:n,y:M,\"xlink:href\":K.toDataURL(\"image/png\")}),y(A);var Ie=P.texttemplate;if(Ie){var je=d(P),Ne={type:\"linear\",range:[je.min,je.max],_separators:_._separators,_numFormat:_._numFormat},ze=\"histogram2dcontour\"===P.type,Fe=\"contour\"===P.type,Ze=Fe?q-1:q,Be=Fe?1:0,qe=Fe?H-1:H,He=[];for(E=Fe?1:0;E<Ze;E++){var Ue;if(Fe)Ue=D.y[E];else if(ze){if(0===E||E===q-1)continue;Ue=D.y[E]}else if(D.yCenter)Ue=D.yCenter[E];else{if(E+1===q&&void 0===D.y[E+1])continue;Ue=(D.y[E]+D.y[E+1])/2}var We=Math.round(k.c2p(Ue));if(!(0>We||We>k._length))for(C=Be;C<qe;C++){var Ve;if(Fe)Ve=D.x[C];else if(ze){if(0===C||C===H-1)continue;Ve=D.x[C]}else if(D.xCenter)Ve=D.xCenter[C];else{if(C+1===H&&void 0===D.x[C+1])continue;Ve=(D.x[C]+D.x[C+1])/2}var Ye=Math.round(_.c2p(Ve));if(!(0>Ye||Ye>_._length)){var Ge=c({x:Ve,y:Ue},P,e._fullLayout);Ge.x=Ve,Ge.y=Ue;var $e=D.z[E][C];void 0===$e?(Ge.z=\"\",Ge.zLabel=\"\"):(Ge.z=$e,Ge.zLabel=l.tickText(Ne,$e,\"hover\").text);var Xe=D.text&&D.text[E]&&D.text[E][C];void 0!==Xe&&!1!==Xe||(Xe=\"\"),Ge.text=Xe;var Ke=s.texttemplateString(Ie,Ge,e._fullLayout._d3locale,Ge,P._meta||{});if(Ke){var Je=Ke.split(\"<br>\"),Qe=Je.length,et=0;for(O=0;O<Qe;O++)et=Math.max(et,Je[O].length);He.push({l:Qe,c:et,t:Ke,x:Ye,y:We,z:$e})}}}}var tt=P.textfont,nt=tt.family,rt=tt.size,at=e._fullLayout.font.size;if(!rt||\"auto\"===rt){var it=1/0,ot=1/0,lt=0,st=0;for(O=0;O<He.length;O++){var ut=He[O];if(lt=Math.max(lt,ut.l),st=Math.max(st,ut.c),O<He.length-1){var ct=He[O+1],ft=Math.abs(ct.x-ut.x),dt=Math.abs(ct.y-ut.y);ft&&(it=Math.min(it,ft)),dt&&(ot=Math.min(ot,dt))}}isFinite(it)&&isFinite(ot)?(it-=R,ot-=L,it/=st,ot/=lt,it/=m/2,ot/=m,rt=Math.min(Math.floor(it),Math.floor(ot),at)):rt=at}if(rt<=0||!isFinite(rt))return;g(A).data(He).enter().append(\"g\").classed(\"heatmap-label\",1).append(\"text\").attr(\"text-anchor\",\"middle\").each((function(t){var n=r.select(this),a=tt.color;a&&\"auto\"!==a||(a=f.contrast(\"rgba(\"+te(t.z).join()+\")\")),n.attr(\"data-notex\",1).call(u.positionText,function(e){return e.x}(t),function(e){return e.y-rt*(e.l*m/2-1)}(t)).call(o.font,nt,rt,a).text(t.t).call(u.convertToTspans,e)}))}}))}},{\"../../components/color\":157,\"../../components/colorscale\":169,\"../../components/drawing\":179,\"../../constants/alignment\":262,\"../../constants/xmlns_namespaces\":268,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../plots/cartesian/axes\":334,\"../../registry\":378,\"../scatter/format_labels\":509,\"@plotly/d3\":20,tinycolor2:121}],452:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\");t.exports=function(e){r.select(e).selectAll(\".hm image\").style(\"opacity\",(function(e){return e.trace.opacity}))}},{\"@plotly/d3\":20}],453:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){!1===n(\"zsmooth\")&&(n(\"xgap\"),n(\"ygap\")),n(\"zhoverformat\")}},{}],454:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=e(\"../../registry\");function o(e,t){var n=t(e);return\"scaled\"===(n?t(e+\"type\",\"array\"):\"scaled\")&&(t(e+\"0\"),t(\"d\"+e)),n}t.exports=function(e,t,n,l,s,u){var c,f,d=n(\"z\");if(s=s||\"x\",u=u||\"y\",void 0===d||!d.length)return 0;if(a.isArray1D(e.z)){c=n(s),f=n(u);var p=a.minRowLength(c),h=a.minRowLength(f);if(0===p||0===h)return 0;t._length=Math.min(p,h,d.length)}else{if(c=o(s,n),f=o(u,n),!function(e){for(var t,n=!0,i=!1,o=!1,l=0;l<e.length;l++){if(t=e[l],!a.isArrayOrTypedArray(t)){n=!1;break}t.length>0&&(i=!0);for(var s=0;s<t.length;s++)if(r(t[s])){o=!0;break}}return n&&i&&o}(d))return 0;n(\"transpose\"),t._length=null}return\"heatmapgl\"===e.type||i.getComponentMethod(\"calendars\",\"handleTraceDefaults\")(e,t,[s,u],l),!0}},{\"../../lib\":287,\"../../registry\":378,\"fast-isnumeric\":33}],455:[function(e,t,n){\"use strict\";var r=e(\"../bar/attributes\"),a=e(\"../../plots/cartesian/axis_format_attributes\").axisHoverFormat,i=e(\"../../plots/template_attributes\").hovertemplateAttrs,o=e(\"../../plots/template_attributes\").texttemplateAttrs,l=e(\"../../plots/font_attributes\"),s=e(\"./bin_attributes\"),u=e(\"./constants\"),c=e(\"../../lib/extend\").extendFlat;t.exports={x:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},y:{valType:\"data_array\",editType:\"calc+clearAxisTypes\"},xhoverformat:a(\"x\"),yhoverformat:a(\"y\"),text:c({},r.text,{}),hovertext:c({},r.hovertext,{}),orientation:r.orientation,histfunc:{valType:\"enumerated\",values:[\"count\",\"sum\",\"avg\",\"min\",\"max\"],dflt:\"count\",editType:\"calc\"},histnorm:{valType:\"enumerated\",values:[\"\",\"percent\",\"probability\",\"density\",\"probability density\"],dflt:\"\",editType:\"calc\"},cumulative:{enabled:{valType:\"boolean\",dflt:!1,editType:\"calc\"},direction:{valType:\"enumerated\",values:[\"increasing\",\"decreasing\"],dflt:\"increasing\",editType:\"calc\"},currentbin:{valType:\"enumerated\",values:[\"include\",\"exclude\",\"half\"],dflt:\"include\",editType:\"calc\"},editType:\"calc\"},nbinsx:{valType:\"integer\",min:0,dflt:0,editType:\"calc\"},xbins:s(\"x\",!0),nbinsy:{valType:\"integer\",min:0,dflt:0,editType:\"calc\"},ybins:s(\"y\",!0),autobinx:{valType:\"boolean\",dflt:null,editType:\"calc\"},autobiny:{valType:\"boolean\",dflt:null,editType:\"calc\"},bingroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},hovertemplate:i({},{keys:u.eventDataKeys}),texttemplate:o({arrayOk:!1,editType:\"plot\"},{keys:[\"label\",\"value\"]}),textposition:c({},r.textposition,{arrayOk:!1}),textfont:l({arrayOk:!1,editType:\"plot\",colorEditType:\"style\"}),outsidetextfont:l({arrayOk:!1,editType:\"plot\",colorEditType:\"style\"}),insidetextfont:l({arrayOk:!1,editType:\"plot\",colorEditType:\"style\"}),insidetextanchor:r.insidetextanchor,textangle:r.textangle,cliponaxis:r.cliponaxis,constraintext:r.constraintext,marker:r.marker,offsetgroup:r.offsetgroup,alignmentgroup:r.alignmentgroup,selected:r.selected,unselected:r.unselected,_deprecated:{bardir:r._deprecated.bardir}}},{\"../../lib/extend\":281,\"../../plots/cartesian/axis_format_attributes\":337,\"../../plots/font_attributes\":365,\"../../plots/template_attributes\":373,\"../bar/attributes\":388,\"./bin_attributes\":457,\"./constants\":461}],456:[function(e,t,n){\"use strict\";t.exports=function(e,t){for(var n=e.length,r=0,a=0;a<n;a++)t[a]?(e[a]/=t[a],r+=e[a]):e[a]=null;return r}},{}],457:[function(e,t,n){\"use strict\";t.exports=function(e,t){return{start:{valType:\"any\",editType:\"calc\"},end:{valType:\"any\",editType:\"calc\"},size:{valType:\"any\",editType:\"calc\"},editType:\"calc\"}}},{}],458:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\");t.exports={count:function(e,t,n){return n[e]++,1},sum:function(e,t,n,a){var i=a[t];return r(i)?(i=Number(i),n[e]+=i,i):0},avg:function(e,t,n,a,i){var o=a[t];return r(o)&&(o=Number(o),n[e]+=o,i[e]++),0},min:function(e,t,n,a){var i=a[t];if(r(i)){if(i=Number(i),!r(n[e]))return n[e]=i,i;if(n[e]>i){var o=i-n[e];return n[e]=i,o}}return 0},max:function(e,t,n,a){var i=a[t];if(r(i)){if(i=Number(i),!r(n[e]))return n[e]=i,i;if(n[e]<i){var o=i-n[e];return n[e]=i,o}}return 0}}},{\"fast-isnumeric\":33}],459:[function(e,t,n){\"use strict\";var r=e(\"../../constants/numerical\"),a=r.ONEAVGYEAR,i=r.ONEAVGMONTH,o=r.ONEDAY,l=r.ONEHOUR,s=r.ONEMIN,u=r.ONESEC,c=e(\"../../plots/cartesian/axes\").tickIncrement;function f(e,t,n,r){if(e*t<=0)return 1/0;for(var a=Math.abs(t-e),i=\"date\"===n.type,o=d(a,i),l=0;l<10;l++){var s=d(80*o,i);if(o===s)break;if(!p(s,e,t,i,n,r))break;o=s}return o}function d(e,t){return t&&e>u?e>o?e>1.1*a?a:e>1.1*i?i:o:e>l?l:e>s?s:u:Math.pow(10,Math.floor(Math.log(e)/Math.LN10))}function p(e,t,n,r,i,l){if(r&&e>o){var s=h(t,i,l),u=h(n,i,l),c=e===a?0:1;return s[c]!==u[c]}return Math.floor(n/e)-Math.floor(t/e)>.1}function h(e,t,n){var r=t.c2d(e,a,n).split(\"-\");return\"\"===r[0]&&(r.unshift(),r[0]=\"-\"+r[0]),r}t.exports=function(e,t,n,r,i){var l,s,u=-1.1*t,d=-.1*t,p=e-d,h=n[0],m=n[1],g=Math.min(f(h+d,h+p,r,i),f(m+d,m+p,r,i)),y=Math.min(f(h+u,h+d,r,i),f(m+u,m+d,r,i));if(g>y&&y<Math.abs(m-h)/4e3?(l=g,s=!1):(l=Math.min(g,y),s=!0),\"date\"===r.type&&l>o){var v=l===a?1:6,b=l===a?\"M12\":\"M1\";return function(t,n){var o=r.c2d(t,a,i),l=o.indexOf(\"-\",v);l>0&&(o=o.substr(0,l));var u=r.d2c(o,0,i);if(u<t){var f=c(u,b,!1,i);(u+f)/2<t+e&&(u=f)}return n&&s?c(u,b,!0,i):u}}return function(t,n){var r=l*Math.round(t/l);return r+l/10<t&&r+.9*l<t+e&&(r+=l),n&&s&&(r-=l),r}}},{\"../../constants/numerical\":267,\"../../plots/cartesian/axes\":334}],460:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=e(\"../../registry\"),o=e(\"../../plots/cartesian/axes\"),l=e(\"../bar/arrays_to_calcdata\"),s=e(\"./bin_functions\"),u=e(\"./norm_functions\"),c=e(\"./average\"),f=e(\"./bin_label_vals\");function d(e,t,n,l,s){var u,c,f,p,h,m,g,y=l+\"bins\",v=e._fullLayout,b=t[\"_\"+l+\"bingroup\"],x=v._histogramBinOpts[b],w=\"overlay\"===v.barmode,_=function(e){return n.r2c(e,0,p)},k=function(e){return n.c2r(e,0,p)},T=\"date\"===n.type?function(e){return e||0===e?a.cleanDate(e,null,p):null}:function(e){return r(e)?Number(e):null};function M(e,t,n){t[e+\"Found\"]?(t[e]=T(t[e]),null===t[e]&&(t[e]=n[e])):(m[e]=t[e]=n[e],a.nestedProperty(c[0],y+\".\"+e).set(n[e]))}if(t[\"_\"+l+\"autoBinFinished\"])delete t[\"_\"+l+\"autoBinFinished\"];else{c=x.traces;var S=[],E=!0,C=!1,O=!1;for(u=0;u<c.length;u++)if((f=c[u]).visible){var A=x.dirs[u];h=f[\"_\"+A+\"pos0\"]=n.makeCalcdata(f,A),S=a.concat(S,h),delete f[\"_\"+l+\"autoBinFinished\"],!0===t.visible&&(E?E=!1:(delete f._autoBin,f[\"_\"+l+\"autoBinFinished\"]=1),i.traceIs(f,\"2dMap\")&&(C=!0),\"histogram2dcontour\"===f.type&&(O=!0))}p=c[0][l+\"calendar\"];var D=o.autoBin(S,n,x.nbins,C,p,x.sizeFound&&x.size),P=c[0]._autoBin={};if(m=P[x.dirs[0]]={},O&&(x.size||(D.start=k(o.tickIncrement(_(D.start),D.size,!0,p))),void 0===x.end&&(D.end=k(o.tickIncrement(_(D.end),D.size,!1,p)))),w&&!i.traceIs(t,\"2dMap\")&&0===D._dataSpan&&\"category\"!==n.type&&\"multicategory\"!==n.type){if(s)return[D,h,!0];D=function(e,t,n,r,i){var o,l,s,u=e._fullLayout,c=function(e,t){for(var n=t.xaxis,r=t.yaxis,a=t.orientation,i=[],o=e._fullData,l=0;l<o.length;l++){var s=o[l];\"histogram\"===s.type&&!0===s.visible&&s.orientation===a&&s.xaxis===n&&s.yaxis===r&&i.push(s)}return i}(e,t),f=!1,p=1/0,h=[t];for(o=0;o<c.length;o++)if((l=c[o])===t)f=!0;else if(f){var m=d(e,l,n,r,!0),g=m[0],y=m[2];l[\"_\"+r+\"autoBinFinished\"]=1,l[\"_\"+r+\"pos0\"]=m[1],y?h.push(l):p=Math.min(p,g.size)}else s=u._histogramBinOpts[l[\"_\"+r+\"bingroup\"]],p=Math.min(p,s.size||l[i].size);var v=new Array(h.length);for(o=0;o<h.length;o++)for(var b=h[o][\"_\"+r+\"pos0\"],x=0;x<b.length;x++)if(void 0!==b[x]){v[o]=b[x];break}for(isFinite(p)||(p=a.distinctVals(v).minDiff),o=0;o<h.length;o++){var w=(l=h[o])[r+\"calendar\"],_={start:n.c2r(v[o]-p/2,0,w),end:n.c2r(v[o]+p/2,0,w),size:p};l._input[i]=l[i]=_,(s=u._histogramBinOpts[l[\"_\"+r+\"bingroup\"]])&&a.extendFlat(s,_)}return t[i]}(e,t,n,l,y)}(g=f.cumulative||{}).enabled&&\"include\"!==g.currentbin&&(\"decreasing\"===g.direction?D.start=k(o.tickIncrement(_(D.start),D.size,!0,p)):D.end=k(o.tickIncrement(_(D.end),D.size,!1,p))),x.size=D.size,x.sizeFound||(m.size=D.size,a.nestedProperty(c[0],y+\".size\").set(D.size)),M(\"start\",x,D),M(\"end\",x,D)}h=t[\"_\"+l+\"pos0\"],delete t[\"_\"+l+\"pos0\"];var R=t._input[y]||{},L=a.extendFlat({},x),I=x.start,j=n.r2l(R.start),N=void 0!==j;if((x.startFound||N)&&j!==n.r2l(I)){var z=N?j:a.aggNums(Math.min,null,h),F={type:\"category\"===n.type||\"multicategory\"===n.type?\"linear\":n.type,r2l:n.r2l,dtick:x.size,tick0:I,calendar:p,range:[z,o.tickIncrement(z,x.size,!1,p)].map(n.l2r)},Z=o.tickFirst(F);Z>n.r2l(z)&&(Z=o.tickIncrement(Z,x.size,!0,p)),L.start=n.l2r(Z),N||a.nestedProperty(t,y+\".start\").set(L.start)}var B=x.end,q=n.r2l(R.end),H=void 0!==q;if((x.endFound||H)&&q!==n.r2l(B)){var U=H?q:a.aggNums(Math.max,null,h);L.end=n.l2r(U),H||a.nestedProperty(t,y+\".start\").set(L.end)}var W=\"autobin\"+l;return!1===t._input[W]&&(t._input[y]=a.extendFlat({},t[y]||{}),delete t._input[W],delete t[W]),[L,h]}t.exports={calc:function(e,t){var n,i,p,h,m=[],g=[],y=\"h\"===t.orientation,v=o.getFromId(e,y?t.yaxis:t.xaxis),b=y?\"y\":\"x\",x={x:\"y\",y:\"x\"}[b],w=t[b+\"calendar\"],_=t.cumulative,k=d(e,t,v,b),T=k[0],M=k[1],S=\"string\"==typeof T.size,E=[],C=S?E:T,O=[],A=[],D=[],P=0,R=t.histnorm,L=t.histfunc,I=-1!==R.indexOf(\"density\");_.enabled&&I&&(R=R.replace(/ ?density$/,\"\"),I=!1);var j,N=\"max\"===L||\"min\"===L?null:0,z=s.count,F=u[R],Z=!1,B=function(e){return v.r2c(e,0,w)};for(a.isArrayOrTypedArray(t[x])&&\"count\"!==L&&(j=t[x],Z=\"avg\"===L,z=s[L]),n=B(T.start),p=B(T.end)+(n-o.tickIncrement(n,T.size,!1,w))/1e6;n<p&&m.length<1e6&&(i=o.tickIncrement(n,T.size,!1,w),m.push((n+i)/2),g.push(N),D.push([]),E.push(n),I&&O.push(1/(i-n)),Z&&A.push(0),!(i<=n));)n=i;E.push(n),S||\"date\"!==v.type||(C={start:B(C.start),end:B(C.end),size:C.size}),e._fullLayout._roundFnOpts||(e._fullLayout._roundFnOpts={});var q=t[\"_\"+b+\"bingroup\"],H={leftGap:1/0,rightGap:1/0};q&&(e._fullLayout._roundFnOpts[q]||(e._fullLayout._roundFnOpts[q]=H),H=e._fullLayout._roundFnOpts[q]);var U,W=g.length,V=!0,Y=H.leftGap,G=H.rightGap,$={};for(n=0;n<M.length;n++){var X=M[n];(h=a.findBin(X,C))>=0&&h<W&&(P+=z(h,n,g,j,A),V&&D[h].length&&X!==M[D[h][0]]&&(V=!1),D[h].push(n),$[n]=h,Y=Math.min(Y,X-E[h]),G=Math.min(G,E[h+1]-X))}H.leftGap=Y,H.rightGap=G,V||(U=function(t,n){return function(){var r=e._fullLayout._roundFnOpts[q];return f(r.leftGap,r.rightGap,E,v,w)(t,n)}}),Z&&(P=c(g,A)),F&&F(g,P,O),_.enabled&&function(e,t,n){var r,a,i;function o(t){i=e[t],e[t]/=2}function l(t){a=e[t],e[t]=i+a/2,i+=a}if(\"half\"===n)if(\"increasing\"===t)for(o(0),r=1;r<e.length;r++)l(r);else for(o(e.length-1),r=e.length-2;r>=0;r--)l(r);else if(\"increasing\"===t){for(r=1;r<e.length;r++)e[r]+=e[r-1];\"exclude\"===n&&(e.unshift(0),e.pop())}else{for(r=e.length-2;r>=0;r--)e[r]+=e[r+1];\"exclude\"===n&&(e.push(0),e.shift())}}(g,_.direction,_.currentbin);var K=Math.min(m.length,g.length),J=[],Q=0,ee=K-1;for(n=0;n<K;n++)if(g[n]){Q=n;break}for(n=K-1;n>=Q;n--)if(g[n]){ee=n;break}for(n=Q;n<=ee;n++)if(r(m[n])&&r(g[n])){var te={p:m[n],s:g[n],b:0};_.enabled||(te.pts=D[n],V?te.ph0=te.ph1=D[n].length?M[D[n][0]]:m[n]:(t._computePh=!0,te.ph0=U(E[n]),te.ph1=U(E[n+1],!0))),J.push(te)}return 1===J.length&&(J[0].width1=o.tickIncrement(J[0].p,T.size,!1,w)-J[0].p),l(J,t),a.isArrayOrTypedArray(t.selectedpoints)&&a.tagSelected(J,t,$),J},calcAllAutoBins:d}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"../../registry\":378,\"../bar/arrays_to_calcdata\":387,\"./average\":456,\"./bin_functions\":458,\"./bin_label_vals\":459,\"./norm_functions\":467,\"fast-isnumeric\":33}],461:[function(e,t,n){\"use strict\";t.exports={eventDataKeys:[\"binNumber\"]}},{}],462:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axis_ids\"),i=e(\"../../registry\").traceIs,o=e(\"../bar/defaults\").handleGroupingDefaults,l=r.nestedProperty,s=e(\"../../plots/cartesian/constraints\").getAxisGroup,u=[{aStr:{x:\"xbins.start\",y:\"ybins.start\"},name:\"start\"},{aStr:{x:\"xbins.end\",y:\"ybins.end\"},name:\"end\"},{aStr:{x:\"xbins.size\",y:\"ybins.size\"},name:\"size\"},{aStr:{x:\"nbinsx\",y:\"nbinsy\"},name:\"nbins\"}],c=[\"x\",\"y\"];t.exports=function(e,t){var n,f,d,p,h,m,g,y=t._histogramBinOpts={},v=[],b={},x=[];function w(e,t){return r.coerce(n._input,n,n._module.attributes,e,t)}function _(e){return\"v\"===e.orientation?\"x\":\"y\"}function k(e,n,i){var o=e.uid+\"__\"+i;n||(n=o);var l=function(e,n){return a.getFromTrace({_fullLayout:t},e,n).type}(e,i),s=e[i+\"calendar\"]||\"\",u=y[n],c=!0;u&&(l===u.axType&&s===u.calendar?(c=!1,u.traces.push(e),u.dirs.push(i)):(n=o,l!==u.axType&&r.warn([\"Attempted to group the bins of trace\",e.index,\"set on a\",\"type:\"+l,\"axis\",\"with bins on\",\"type:\"+u.axType,\"axis.\"].join(\" \")),s!==u.calendar&&r.warn([\"Attempted to group the bins of trace\",e.index,\"set with a\",s,\"calendar\",\"with bins\",u.calendar?\"on a \"+u.calendar+\" calendar\":\"w/o a set calendar\"].join(\" \")))),c&&(y[n]={traces:[e],dirs:[i],axType:l,calendar:e[i+\"calendar\"]||\"\"}),e[\"_\"+i+\"bingroup\"]=n}for(h=0;h<e.length;h++)n=e[h],i(n,\"histogram\")&&(v.push(n),delete n._xautoBinFinished,delete n._yautoBinFinished,i(n,\"2dMap\")||o(n._input,n,t,w));var T=t._alignmentOpts||{};for(h=0;h<v.length;h++){if(n=v[h],d=\"\",!i(n,\"2dMap\")){if(p=_(n),\"group\"===t.barmode&&n.alignmentgroup){var M=n[p+\"axis\"],S=s(t,M)+n.orientation;(T[S]||{})[n.alignmentgroup]&&(d=S)}d||\"overlay\"===t.barmode||(d=s(t,n.xaxis)+s(t,n.yaxis)+_(n))}d?(b[d]||(b[d]=[]),b[d].push(n)):x.push(n)}for(d in b)if(1!==(f=b[d]).length){var E=!1;for(f.length&&(n=f[0],E=w(\"bingroup\")),d=E||d,h=0;h<f.length;h++){var C=(n=f[h])._input.bingroup;C&&C!==d&&r.warn([\"Trace\",n.index,\"must match\",\"within bingroup\",d+\".\",\"Ignoring its bingroup:\",C,\"setting.\"].join(\" \")),n.bingroup=d,k(n,d,_(n))}}else x.push(f[0]);for(h=0;h<x.length;h++){n=x[h];var O=w(\"bingroup\");if(i(n,\"2dMap\"))for(g=0;g<2;g++){var A=w((p=c[g])+\"bingroup\",O?O+\"__\"+p:null);k(n,A,p)}else k(n,O,_(n))}for(d in y){var D=y[d];for(f=D.traces,m=0;m<u.length;m++){var P,R,L=u[m],I=L.name;if(\"nbins\"!==I||!D.sizeFound){for(h=0;h<f.length;h++){if(n=f[h],p=D.dirs[h],P=L.aStr[p],void 0!==l(n._input,P).get()){D[I]=w(P),D[I+\"Found\"]=!0;break}(R=(n._autoBin||{})[p]||{})[I]&&l(n,P).set(R[I])}if(\"start\"===I||\"end\"===I)for(;h<f.length;h++)(n=f[h])[\"_\"+p+\"bingroup\"]&&w(P,(R=(n._autoBin||{})[p]||{})[I]);\"nbins\"!==I||D.sizeFound||D.nbinsFound||(n=f[0],D[I]=w(P))}}}}},{\"../../lib\":287,\"../../plots/cartesian/axis_ids\":338,\"../../plots/cartesian/constraints\":342,\"../../registry\":378,\"../bar/defaults\":392}],463:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../lib\"),i=e(\"../../components/color\"),o=e(\"../bar/defaults\").handleText,l=e(\"../bar/style_defaults\"),s=e(\"./attributes\");t.exports=function(e,t,n,u){function c(n,r){return a.coerce(e,t,s,n,r)}var f=c(\"x\"),d=c(\"y\");c(\"cumulative.enabled\")&&(c(\"cumulative.direction\"),c(\"cumulative.currentbin\")),c(\"text\");var p=c(\"textposition\");o(e,t,u,c,p,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),c(\"hovertext\"),c(\"hovertemplate\"),c(\"xhoverformat\"),c(\"yhoverformat\");var h=c(\"orientation\",d&&!f?\"h\":\"v\"),m=\"v\"===h?\"x\":\"y\",g=\"v\"===h?\"y\":\"x\",y=f&&d?Math.min(a.minRowLength(f)&&a.minRowLength(d)):a.minRowLength(t[m]||[]);if(y){t._length=y,r.getComponentMethod(\"calendars\",\"handleTraceDefaults\")(e,t,[\"x\",\"y\"],u),t[g]&&c(\"histfunc\"),c(\"histnorm\"),c(\"autobin\"+m),l(e,t,c,n,u),a.coerceSelectionMarkerOpacity(t,c);var v=(t.marker.line||{}).color,b=r.getComponentMethod(\"errorbars\",\"supplyDefaults\");b(e,t,v||i.defaultLine,{axis:\"y\"}),b(e,t,v||i.defaultLine,{axis:\"x\",inherit:\"y\"})}else t.visible=!1}},{\"../../components/color\":157,\"../../lib\":287,\"../../registry\":378,\"../bar/defaults\":392,\"../bar/style_defaults\":403,\"./attributes\":455}],464:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r,a){if(e.x=\"xVal\"in t?t.xVal:t.x,e.y=\"yVal\"in t?t.yVal:t.y,\"zLabelVal\"in t&&(e.z=t.zLabelVal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),!(n.cumulative||{}).enabled){var i,o=Array.isArray(a)?r[0].pts[a[0]][a[1]]:r[a].pts;if(e.pointNumbers=o,e.binNumber=e.pointNumber,delete e.pointNumber,delete e.pointIndex,n._indexToPoints){i=[];for(var l=0;l<o.length;l++)i=i.concat(n._indexToPoints[o[l]])}else i=o;e.pointIndices=i}return e}},{}],465:[function(e,t,n){\"use strict\";var r=e(\"../bar/hover\").hoverPoints,a=e(\"../../plots/cartesian/axes\").hoverLabelText;t.exports=function(e,t,n,i,o){var l=r(e,t,n,i,o);if(l){var s=(e=l[0]).cd[e.index],u=e.cd[0].trace;if(!u.cumulative.enabled){var c=\"h\"===u.orientation?\"y\":\"x\";e[c+\"Label\"]=a(e[c+\"a\"],[s.ph0,s.ph1],u[c+\"hoverformat\"])}return l}}},{\"../../plots/cartesian/axes\":334,\"../bar/hover\":395}],466:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),layoutAttributes:e(\"../bar/layout_attributes\"),supplyDefaults:e(\"./defaults\"),crossTraceDefaults:e(\"./cross_trace_defaults\"),supplyLayoutDefaults:e(\"../bar/layout_defaults\"),calc:e(\"./calc\").calc,crossTraceCalc:e(\"../bar/cross_trace_calc\").crossTraceCalc,plot:e(\"../bar/plot\").plot,layerName:\"barlayer\",style:e(\"../bar/style\").style,styleOnSelect:e(\"../bar/style\").styleOnSelect,colorbar:e(\"../scatter/marker_colorbar\"),hoverPoints:e(\"./hover\"),selectPoints:e(\"../bar/select\"),eventData:e(\"./event_data\"),moduleType:\"trace\",name:\"histogram\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"bar-like\",\"cartesian\",\"svg\",\"bar\",\"histogram\",\"oriented\",\"errorBarsOK\",\"showLegend\"],meta:{}}},{\"../../plots/cartesian\":348,\"../bar/cross_trace_calc\":391,\"../bar/layout_attributes\":397,\"../bar/layout_defaults\":398,\"../bar/plot\":399,\"../bar/select\":400,\"../bar/style\":402,\"../scatter/marker_colorbar\":518,\"./attributes\":455,\"./calc\":460,\"./cross_trace_defaults\":462,\"./defaults\":463,\"./event_data\":464,\"./hover\":465}],467:[function(e,t,n){\"use strict\";t.exports={percent:function(e,t){for(var n=e.length,r=100/t,a=0;a<n;a++)e[a]*=r},probability:function(e,t){for(var n=e.length,r=0;r<n;r++)e[r]/=t},density:function(e,t,n,r){var a=e.length;r=r||1;for(var i=0;i<a;i++)e[i]*=n[i]*r},\"probability density\":function(e,t,n,r){var a=e.length;r&&(t/=r);for(var i=0;i<a;i++)e[i]*=n[i]/t}}},{}],468:[function(e,t,n){\"use strict\";var r=e(\"../histogram/attributes\"),a=e(\"../histogram/bin_attributes\"),i=e(\"../heatmap/attributes\"),o=e(\"../../plots/attributes\"),l=e(\"../../plots/cartesian/axis_format_attributes\").axisHoverFormat,s=e(\"../../plots/template_attributes\").hovertemplateAttrs,u=e(\"../../plots/template_attributes\").texttemplateAttrs,c=e(\"../../components/colorscale/attributes\"),f=e(\"../../lib/extend\").extendFlat;t.exports=f({x:r.x,y:r.y,z:{valType:\"data_array\",editType:\"calc\"},marker:{color:{valType:\"data_array\",editType:\"calc\"},editType:\"calc\"},histnorm:r.histnorm,histfunc:r.histfunc,nbinsx:r.nbinsx,xbins:a(\"x\"),nbinsy:r.nbinsy,ybins:a(\"y\"),autobinx:r.autobinx,autobiny:r.autobiny,bingroup:f({},r.bingroup,{}),xbingroup:f({},r.bingroup,{}),ybingroup:f({},r.bingroup,{}),xgap:i.xgap,ygap:i.ygap,zsmooth:i.zsmooth,xhoverformat:l(\"x\"),yhoverformat:l(\"y\"),zhoverformat:l(\"z\",1),hovertemplate:s({},{keys:\"z\"}),texttemplate:u({arrayOk:!1,editType:\"plot\"},{keys:\"z\"}),textfont:i.textfont,showlegend:f({},o.showlegend,{dflt:!1})},c(\"\",{cLetter:\"z\",autoColorDflt:!1}))},{\"../../components/colorscale/attributes\":164,\"../../lib/extend\":281,\"../../plots/attributes\":330,\"../../plots/cartesian/axis_format_attributes\":337,\"../../plots/template_attributes\":373,\"../heatmap/attributes\":439,\"../histogram/attributes\":455,\"../histogram/bin_attributes\":457}],469:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"../histogram/bin_functions\"),o=e(\"../histogram/norm_functions\"),l=e(\"../histogram/average\"),s=e(\"../histogram/bin_label_vals\"),u=e(\"../histogram/calc\").calcAllAutoBins;function c(e,t,n,r){var a,i=new Array(e);if(r)for(a=0;a<e;a++)i[a]=1/(t[a+1]-t[a]);else{var o=1/n;for(a=0;a<e;a++)i[a]=o}return i}function f(e,t){return{start:e(t.start),end:e(t.end),size:t.size}}function d(e,t,n,r,a,i){var o,l=e.length-1,u=new Array(l),c=s(n,r,e,a,i);for(o=0;o<l;o++){var f=(t||[])[o];u[o]=void 0===f?[c(e[o]),c(e[o+1],!0)]:[f,f]}return u}t.exports=function(e,t){var n,s,p,h,m=a.getFromId(e,t.xaxis),g=a.getFromId(e,t.yaxis),y=t.xcalendar,v=t.ycalendar,b=function(e){return m.r2c(e,0,y)},x=function(e){return g.r2c(e,0,v)},w=u(e,t,m,\"x\"),_=w[0],k=w[1],T=u(e,t,g,\"y\"),M=T[0],S=T[1],E=t._length;k.length>E&&k.splice(E,k.length-E),S.length>E&&S.splice(E,S.length-E);var C=[],O=[],A=[],D=\"string\"==typeof _.size,P=\"string\"==typeof M.size,R=[],L=[],I=D?R:_,j=P?L:M,N=0,z=[],F=[],Z=t.histnorm,B=t.histfunc,q=-1!==Z.indexOf(\"density\"),H=\"max\"===B||\"min\"===B?null:0,U=i.count,W=o[Z],V=!1,Y=[],G=[],$=\"z\"in t?t.z:\"marker\"in t&&Array.isArray(t.marker.color)?t.marker.color:\"\";$&&\"count\"!==B&&(V=\"avg\"===B,U=i[B]);var X=_.size,K=b(_.start),J=b(_.end)+(K-a.tickIncrement(K,X,!1,y))/1e6;for(n=K;n<J;n=a.tickIncrement(n,X,!1,y))O.push(H),R.push(n),V&&A.push(0);R.push(n);var Q,ee=O.length,te=(n-K)/ee,ne=(Q=K+te/2,m.c2r(Q,0,y)),re=M.size,ae=x(M.start),ie=x(M.end)+(ae-a.tickIncrement(ae,re,!1,v))/1e6;for(n=ae;n<ie;n=a.tickIncrement(n,re,!1,v)){C.push(O.slice()),L.push(n);var oe=new Array(ee);for(s=0;s<ee;s++)oe[s]=[];F.push(oe),V&&z.push(A.slice())}L.push(n);var le=C.length,se=(n-ae)/le,ue=function(e){return g.c2r(e,0,v)}(ae+se/2);q&&(Y=c(O.length,I,te,D),G=c(C.length,j,se,P)),D||\"date\"!==m.type||(I=f(b,I)),P||\"date\"!==g.type||(j=f(x,j));var ce=!0,fe=!0,de=new Array(ee),pe=new Array(le),he=1/0,me=1/0,ge=1/0,ye=1/0;for(n=0;n<E;n++){var ve=k[n],be=S[n];p=r.findBin(ve,I),h=r.findBin(be,j),p>=0&&p<ee&&h>=0&&h<le&&(N+=U(p,n,C[h],$,z[h]),F[h][p].push(n),ce&&(void 0===de[p]?de[p]=ve:de[p]!==ve&&(ce=!1)),fe&&(void 0===pe[h]?pe[h]=be:pe[h]!==be&&(fe=!1)),he=Math.min(he,ve-R[p]),me=Math.min(me,R[p+1]-ve),ge=Math.min(ge,be-L[h]),ye=Math.min(ye,L[h+1]-be))}if(V)for(h=0;h<le;h++)N+=l(C[h],z[h]);if(W)for(h=0;h<le;h++)W(C[h],N,Y,G[h]);return{x:k,xRanges:d(R,ce&&de,he,me,m,y),x0:ne,dx:te,y:S,yRanges:d(L,fe&&pe,ge,ye,g,v),y0:ue,dy:se,z:C,pts:F}}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"../histogram/average\":456,\"../histogram/bin_functions\":458,\"../histogram/bin_label_vals\":459,\"../histogram/calc\":460,\"../histogram/norm_functions\":467}],470:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./sample_defaults\"),i=e(\"../heatmap/style_defaults\"),o=e(\"../../components/colorscale/defaults\"),l=e(\"../heatmap/label_defaults\"),s=e(\"./attributes\");t.exports=function(e,t,n,u){function c(n,a){return r.coerce(e,t,s,n,a)}a(e,t,c,u),!1!==t.visible&&(i(e,t,c,u),o(e,t,u,c,{prefix:\"\",cLetter:\"z\"}),c(\"hovertemplate\"),l(c,u),c(\"xhoverformat\"),c(\"yhoverformat\"))}},{\"../../components/colorscale/defaults\":167,\"../../lib\":287,\"../heatmap/label_defaults\":449,\"../heatmap/style_defaults\":453,\"./attributes\":468,\"./sample_defaults\":473}],471:[function(e,t,n){\"use strict\";var r=e(\"../heatmap/hover\"),a=e(\"../../plots/cartesian/axes\").hoverLabelText;t.exports=function(e,t,n,i,o){var l=r(e,t,n,i,o);if(l){var s=(e=l[0]).index,u=s[0],c=s[1],f=e.cd[0],d=f.trace,p=f.xRanges[c],h=f.yRanges[u];return e.xLabel=a(e.xa,[p[0],p[1]],d.xhoverformat),e.yLabel=a(e.ya,[h[0],h[1]],d.yhoverformat),l}}},{\"../../plots/cartesian/axes\":334,\"../heatmap/hover\":446}],472:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),supplyDefaults:e(\"./defaults\"),crossTraceDefaults:e(\"../histogram/cross_trace_defaults\"),calc:e(\"../heatmap/calc\"),plot:e(\"../heatmap/plot\"),layerName:\"heatmaplayer\",colorbar:e(\"../heatmap/colorbar\"),style:e(\"../heatmap/style\"),hoverPoints:e(\"./hover\"),eventData:e(\"../histogram/event_data\"),moduleType:\"trace\",name:\"histogram2d\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"cartesian\",\"svg\",\"2dMap\",\"histogram\",\"showLegend\"],meta:{}}},{\"../../plots/cartesian\":348,\"../heatmap/calc\":440,\"../heatmap/colorbar\":442,\"../heatmap/plot\":451,\"../heatmap/style\":452,\"../histogram/cross_trace_defaults\":462,\"../histogram/event_data\":464,\"./attributes\":468,\"./defaults\":470,\"./hover\":471}],473:[function(e,t,n){\"use strict\";var r=e(\"../../registry\"),a=e(\"../../lib\");t.exports=function(e,t,n,i){var o=n(\"x\"),l=n(\"y\"),s=a.minRowLength(o),u=a.minRowLength(l);s&&u?(t._length=Math.min(s,u),r.getComponentMethod(\"calendars\",\"handleTraceDefaults\")(e,t,[\"x\",\"y\"],i),(n(\"z\")||n(\"marker.color\"))&&n(\"histfunc\"),n(\"histnorm\"),n(\"autobinx\"),n(\"autobiny\")):t.visible=!1}},{\"../../lib\":287,\"../../registry\":378}],474:[function(e,t,n){\"use strict\";var r=e(\"../histogram2d/attributes\"),a=e(\"../contour/attributes\"),i=e(\"../../components/colorscale/attributes\"),o=e(\"../../plots/cartesian/axis_format_attributes\").axisHoverFormat,l=e(\"../../lib/extend\").extendFlat;t.exports=l({x:r.x,y:r.y,z:r.z,marker:r.marker,histnorm:r.histnorm,histfunc:r.histfunc,nbinsx:r.nbinsx,xbins:r.xbins,nbinsy:r.nbinsy,ybins:r.ybins,autobinx:r.autobinx,autobiny:r.autobiny,bingroup:r.bingroup,xbingroup:r.xbingroup,ybingroup:r.ybingroup,autocontour:a.autocontour,ncontours:a.ncontours,contours:a.contours,line:{color:a.line.color,width:l({},a.line.width,{dflt:.5}),dash:a.line.dash,smoothing:a.line.smoothing,editType:\"plot\"},xhoverformat:o(\"x\"),yhoverformat:o(\"y\"),zhoverformat:o(\"z\",1),hovertemplate:r.hovertemplate,texttemplate:a.texttemplate,textfont:a.textfont},i(\"\",{cLetter:\"z\",editTypeOverride:\"calc\"}))},{\"../../components/colorscale/attributes\":164,\"../../lib/extend\":281,\"../../plots/cartesian/axis_format_attributes\":337,\"../contour/attributes\":417,\"../histogram2d/attributes\":468}],475:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../histogram2d/sample_defaults\"),i=e(\"../contour/contours_defaults\"),o=e(\"../contour/style_defaults\"),l=e(\"../heatmap/label_defaults\"),s=e(\"./attributes\");t.exports=function(e,t,n,u){function c(n,a){return r.coerce(e,t,s,n,a)}a(e,t,c,u),!1!==t.visible&&(i(e,t,c,(function(n){return r.coerce2(e,t,s,n)})),o(e,t,c,u),c(\"xhoverformat\"),c(\"yhoverformat\"),c(\"hovertemplate\"),t.contours&&\"heatmap\"===t.contours.coloring&&l(c,u))}},{\"../../lib\":287,\"../contour/contours_defaults\":424,\"../contour/style_defaults\":438,\"../heatmap/label_defaults\":449,\"../histogram2d/sample_defaults\":473,\"./attributes\":474}],476:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),supplyDefaults:e(\"./defaults\"),crossTraceDefaults:e(\"../histogram/cross_trace_defaults\"),calc:e(\"../contour/calc\"),plot:e(\"../contour/plot\").plot,layerName:\"contourlayer\",style:e(\"../contour/style\"),colorbar:e(\"../contour/colorbar\"),hoverPoints:e(\"../contour/hover\"),moduleType:\"trace\",name:\"histogram2dcontour\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"cartesian\",\"svg\",\"2dMap\",\"contour\",\"histogram\",\"showLegend\"],meta:{}}},{\"../../plots/cartesian\":348,\"../contour/calc\":418,\"../contour/colorbar\":420,\"../contour/hover\":430,\"../contour/plot\":435,\"../contour/style\":437,\"../histogram/cross_trace_defaults\":462,\"./attributes\":474,\"./defaults\":475}],477:[function(e,t,n){\"use strict\";for(var r=e(\"../../plots/attributes\"),a=e(\"../../plots/template_attributes\").hovertemplateAttrs,i=e(\"../../lib/extend\").extendFlat,o=e(\"./constants\").colormodel,l=[\"rgb\",\"rgba\",\"rgba256\",\"hsl\",\"hsla\"],s=[],u=[],c=0;c<l.length;c++){var f=o[l[c]];s.push(\"For the `\"+l[c]+\"` colormodel, it is [\"+(f.zminDflt||f.min).join(\", \")+\"].\"),u.push(\"For the `\"+l[c]+\"` colormodel, it is [\"+(f.zmaxDflt||f.max).join(\", \")+\"].\")}t.exports=i({source:{valType:\"string\",editType:\"calc\"},z:{valType:\"data_array\",editType:\"calc\"},colormodel:{valType:\"enumerated\",values:l,editType:\"calc\"},zsmooth:{valType:\"enumerated\",values:[\"fast\",!1],dflt:!1,editType:\"plot\"},zmin:{valType:\"info_array\",items:[{valType:\"number\",editType:\"calc\"},{valType:\"number\",editType:\"calc\"},{valType:\"number\",editType:\"calc\"},{valType:\"number\",editType:\"calc\"}],editType:\"calc\"},zmax:{valType:\"info_array\",items:[{valType:\"number\",editType:\"calc\"},{valType:\"number\",editType:\"calc\"},{valType:\"number\",editType:\"calc\"},{valType:\"number\",editType:\"calc\"}],editType:\"calc\"},x0:{valType:\"any\",dflt:0,editType:\"calc+clearAxisTypes\"},y0:{valType:\"any\",dflt:0,editType:\"calc+clearAxisTypes\"},dx:{valType:\"number\",dflt:1,editType:\"calc\"},dy:{valType:\"number\",dflt:1,editType:\"calc\"},text:{valType:\"data_array\",editType:\"plot\"},hovertext:{valType:\"data_array\",editType:\"plot\"},hoverinfo:i({},r.hoverinfo,{flags:[\"x\",\"y\",\"z\",\"color\",\"name\",\"text\"],dflt:\"x+y+z+text+name\"}),hovertemplate:a({},{keys:[\"z\",\"color\",\"colormodel\"]}),transforms:void 0})},{\"../../lib/extend\":281,\"../../plots/attributes\":330,\"../../plots/template_attributes\":373,\"./constants\":479}],478:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./constants\"),i=e(\"fast-isnumeric\"),o=e(\"../../plots/cartesian/axes\"),l=e(\"../../lib\").maxRowLength,s=e(\"./helpers\").getImageSize;function u(e,t,n,a){return function(i){return r.constrain((i-e)*t,n,a)}}function c(e,t){return function(n){return r.constrain(n,e,t)}}t.exports=function(e,t){var n,r;if(t._hasZ)n=t.z.length,r=l(t.z);else if(t._hasSource){var f=s(t.source);n=f.height,r=f.width}var d,p=o.getFromId(e,t.xaxis||\"x\"),h=o.getFromId(e,t.yaxis||\"y\"),m=p.d2c(t.x0)-t.dx/2,g=h.d2c(t.y0)-t.dy/2,y=[m,m+r*t.dx],v=[g,g+n*t.dy];if(p&&\"log\"===p.type)for(d=0;d<r;d++)y.push(m+d*t.dx);if(h&&\"log\"===h.type)for(d=0;d<n;d++)v.push(g+d*t.dy);return t._extremes[p._id]=o.findExtremes(p,y),t._extremes[h._id]=o.findExtremes(h,v),t._scaler=function(e){var t=a.colormodel[e.colormodel],n=(t.colormodel||e.colormodel).length;e._sArray=[];for(var r=0;r<n;r++)t.min[r]!==e.zmin[r]||t.max[r]!==e.zmax[r]?e._sArray.push(u(e.zmin[r],(t.max[r]-t.min[r])/(e.zmax[r]-e.zmin[r]),t.min[r],t.max[r])):e._sArray.push(c(t.min[r],t.max[r]));return function(t){for(var r=t.slice(0,n),a=0;a<n;a++){var o=r[a];if(!i(o))return!1;r[a]=e._sArray[a](o)}return r}}(t),[{x0:m,y0:g,z:t.z,w:r,h:n}]}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"./constants\":479,\"./helpers\":482,\"fast-isnumeric\":33}],479:[function(e,t,n){\"use strict\";t.exports={colormodel:{rgb:{min:[0,0,0],max:[255,255,255],fmt:function(e){return e.slice(0,3)},suffix:[\"\",\"\",\"\"]},rgba:{min:[0,0,0,0],max:[255,255,255,1],fmt:function(e){return e.slice(0,4)},suffix:[\"\",\"\",\"\",\"\"]},rgba256:{colormodel:\"rgba\",zminDflt:[0,0,0,0],zmaxDflt:[255,255,255,255],min:[0,0,0,0],max:[255,255,255,1],fmt:function(e){return e.slice(0,4)},suffix:[\"\",\"\",\"\",\"\"]},hsl:{min:[0,0,0],max:[360,100,100],fmt:function(e){var t=e.slice(0,3);return t[1]=t[1]+\"%\",t[2]=t[2]+\"%\",t},suffix:[\"°\",\"%\",\"%\"]},hsla:{min:[0,0,0,0],max:[360,100,100,1],fmt:function(e){var t=e.slice(0,4);return t[1]=t[1]+\"%\",t[2]=t[2]+\"%\",t},suffix:[\"°\",\"%\",\"%\",\"\"]}},pixelatedStyle:[\"image-rendering: optimizeSpeed\",\"image-rendering: -moz-crisp-edges\",\"image-rendering: -o-crisp-edges\",\"image-rendering: -webkit-optimize-contrast\",\"image-rendering: optimize-contrast\",\"image-rendering: crisp-edges\",\"image-rendering: pixelated\",\"\"].join(\"; \")}},{}],480:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./attributes\"),i=e(\"./constants\"),o=e(\"../../snapshot/helpers\").IMAGE_URL_PREFIX;t.exports=function(e,t){function n(n,i){return r.coerce(e,t,a,n,i)}n(\"source\"),t.source&&!t.source.match(o)&&delete t.source,t._hasSource=!!t.source;var l,s=n(\"z\");t._hasZ=!(void 0===s||!s.length||!s[0]||!s[0].length),t._hasZ||t._hasSource?(n(\"x0\"),n(\"y0\"),n(\"dx\"),n(\"dy\"),t._hasZ?(n(\"colormodel\",\"rgb\"),n(\"zmin\",(l=i.colormodel[t.colormodel]).zminDflt||l.min),n(\"zmax\",l.zmaxDflt||l.max)):t._hasSource&&(t.colormodel=\"rgba256\",l=i.colormodel[t.colormodel],t.zmin=l.zminDflt,t.zmax=l.zmaxDflt),n(\"zsmooth\"),n(\"text\"),n(\"hovertext\"),n(\"hovertemplate\"),t._length=null):t.visible=!1}},{\"../../lib\":287,\"../../snapshot/helpers\":382,\"./attributes\":477,\"./constants\":479}],481:[function(e,t,n){\"use strict\";t.exports=function(e,t){return\"xVal\"in t&&(e.x=t.xVal),\"yVal\"in t&&(e.y=t.yVal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),e.color=t.color,e.colormodel=t.trace.colormodel,e.z||(e.z=t.color),e}},{}],482:[function(e,t,n){\"use strict\";var r=e(\"probe-image-size/sync\"),a=e(\"../../snapshot/helpers\").IMAGE_URL_PREFIX,i=e(\"buffer/\").Buffer;n.getImageSize=function(e){var t=e.replace(a,\"\"),n=new i(t,\"base64\");return r(n)}},{\"../../snapshot/helpers\":382,\"buffer/\":28,\"probe-image-size/sync\":97}],483:[function(e,t,n){\"use strict\";var r=e(\"../../components/fx\"),a=e(\"../../lib\"),i=e(\"./constants\");t.exports=function(e,t,n){var o=e.cd[0],l=o.trace,s=e.xa,u=e.ya;if(!(r.inbox(t-o.x0,t-(o.x0+o.w*l.dx),0)>0||r.inbox(n-o.y0,n-(o.y0+o.h*l.dy),0)>0)){var c,f=Math.floor((t-o.x0)/l.dx),d=Math.floor(Math.abs(n-o.y0)/l.dy);if(l._hasZ?c=o.z[d][f]:l._hasSource&&(c=l._canvas.el.getContext(\"2d\").getImageData(f,d,1,1).data),c){var p,h=o.hi||l.hoverinfo;if(h){var m=h.split(\"+\");-1!==m.indexOf(\"all\")&&(m=[\"color\"]),-1!==m.indexOf(\"color\")&&(p=!0)}var g,y=i.colormodel[l.colormodel],v=y.colormodel||l.colormodel,b=v.length,x=l._scaler(c),w=y.suffix,_=[];(l.hovertemplate||p)&&(_.push(\"[\"+[x[0]+w[0],x[1]+w[1],x[2]+w[2]].join(\", \")),4===b&&_.push(\", \"+x[3]+w[3]),_.push(\"]\"),_=_.join(\"\"),e.extraText=v.toUpperCase()+\": \"+_),Array.isArray(l.hovertext)&&Array.isArray(l.hovertext[d])?g=l.hovertext[d][f]:Array.isArray(l.text)&&Array.isArray(l.text[d])&&(g=l.text[d][f]);var k=u.c2p(o.y0+(d+.5)*l.dy),T=o.x0+(f+.5)*l.dx,M=o.y0+(d+.5)*l.dy,S=\"[\"+c.slice(0,l.colormodel.length).join(\", \")+\"]\";return[a.extendFlat(e,{index:[d,f],x0:s.c2p(o.x0+f*l.dx),x1:s.c2p(o.x0+(f+1)*l.dx),y0:k,y1:k,color:x,xVal:T,xLabelVal:T,yVal:M,yLabelVal:M,zLabelVal:S,text:g,hovertemplateLabels:{zLabel:S,colorLabel:_,\"color[0]Label\":x[0]+w[0],\"color[1]Label\":x[1]+w[1],\"color[2]Label\":x[2]+w[2],\"color[3]Label\":x[3]+w[3]}})]}}}},{\"../../components/fx\":197,\"../../lib\":287,\"./constants\":479}],484:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),supplyDefaults:e(\"./defaults\"),calc:e(\"./calc\"),plot:e(\"./plot\"),style:e(\"./style\"),hoverPoints:e(\"./hover\"),eventData:e(\"./event_data\"),moduleType:\"trace\",name:\"image\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"cartesian\",\"svg\",\"2dMap\",\"noSortingByValue\"],animatable:!1,meta:{}}},{\"../../plots/cartesian\":348,\"./attributes\":477,\"./calc\":478,\"./defaults\":480,\"./event_data\":481,\"./hover\":483,\"./plot\":485,\"./style\":486}],485:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../lib\"),i=a.strTranslate,o=e(\"../../constants/xmlns_namespaces\"),l=e(\"./constants\"),s=a.isIOS()||a.isSafari()||a.isIE();t.exports=function(e,t,n,u){var c=t.xaxis,f=t.yaxis,d=!(s||e._context._exportedPlot);a.makeTraceGroups(u,n,\"im\").each((function(t){var n=r.select(this),s=t[0],u=s.trace,p=(\"fast\"===u.zsmooth||!1===u.zsmooth&&d)&&!u._hasZ&&u._hasSource&&\"linear\"===c.type&&\"linear\"===f.type;u._realImage=p;var h,m,g,y,v,b,x=s.z,w=s.x0,_=s.y0,k=s.w,T=s.h,M=u.dx,S=u.dy;for(b=0;void 0===h&&b<k;)h=c.c2p(w+b*M),b++;for(b=k;void 0===m&&b>0;)m=c.c2p(w+b*M),b--;for(b=0;void 0===y&&b<T;)y=f.c2p(_+b*S),b++;for(b=T;void 0===v&&b>0;)v=f.c2p(_+b*S),b--;m<h&&(g=m,m=h,h=g),v<y&&(g=y,y=v,v=g),p||(h=Math.max(-.5*c._length,h),m=Math.min(1.5*c._length,m),y=Math.max(-.5*f._length,y),v=Math.min(1.5*f._length,v));var E=Math.round(m-h),C=Math.round(v-y);if(E<=0||C<=0)n.selectAll(\"image\").data([]).exit().remove();else{var O=n.selectAll(\"image\").data([t]);O.enter().append(\"svg:image\").attr({xmlns:o.svg,preserveAspectRatio:\"none\"}),O.exit().remove();var A=!1===u.zsmooth?l.pixelatedStyle:\"\";if(p){var D=a.simpleMap(c.range,c.r2l),P=a.simpleMap(f.range,f.r2l),R=D[1]<D[0],L=P[1]>P[0];if(R||L){var I=h+E/2,j=y+C/2;A+=\"transform:\"+i(I+\"px\",j+\"px\")+\"scale(\"+(R?-1:1)+\",\"+(L?-1:1)+\")\"+i(-I+\"px\",-j+\"px\")+\";\"}}O.attr(\"style\",A);var N=new Promise((function(e){if(u._hasZ)e();else if(u._hasSource)if(u._canvas&&u._canvas.el.width===k&&u._canvas.el.height===T&&u._canvas.source===u.source)e();else{var t=document.createElement(\"canvas\");t.width=k,t.height=T;var n=t.getContext(\"2d\");u._image=u._image||new Image;var r=u._image;r.onload=function(){n.drawImage(r,0,0),u._canvas={el:t,source:u.source},e()},r.setAttribute(\"src\",u.source)}})).then((function(){var e;if(u._hasZ)e=z((function(e,t){return x[t][e]})).toDataURL(\"image/png\");else if(u._hasSource)if(p)e=u.source;else{var t=u._canvas.el.getContext(\"2d\").getImageData(0,0,k,T).data;e=z((function(e,n){var r=4*(n*k+e);return[t[r],t[r+1],t[r+2],t[r+3]]})).toDataURL(\"image/png\")}O.attr({\"xlink:href\":e,height:C,width:E,x:h,y:y})}));e._promises.push(N)}function z(e){var t=document.createElement(\"canvas\");t.width=E,t.height=C;var n,r=t.getContext(\"2d\"),i=function(e){return a.constrain(Math.round(c.c2p(w+e*M)-h),0,E)},o=function(e){return a.constrain(Math.round(f.c2p(_+e*S)-y),0,C)},d=l.colormodel[u.colormodel],p=d.colormodel||u.colormodel,m=d.fmt;for(b=0;b<s.w;b++){var g=i(b),v=i(b+1);if(v!==g&&!isNaN(v)&&!isNaN(g))for(var x=0;x<s.h;x++){var k=o(x),T=o(x+1);T===k||isNaN(T)||isNaN(k)||!e(b,x)||(n=u._scaler(e(b,x)),r.fillStyle=n?p+\"(\"+m(n).join(\",\")+\")\":\"rgba(0,0,0,0)\",r.fillRect(g,k,v-g,T-k))}}return t}}))}},{\"../../constants/xmlns_namespaces\":268,\"../../lib\":287,\"./constants\":479,\"@plotly/d3\":20}],486:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\");t.exports=function(e){r.select(e).selectAll(\".im image\").style(\"opacity\",(function(e){return e[0].trace.opacity}))}},{\"@plotly/d3\":20}],487:[function(e,t,n){\"use strict\";var r=e(\"../../plots/attributes\"),a=e(\"../../plots/domain\").attributes,i=e(\"../../plots/font_attributes\"),o=e(\"../../components/color/attributes\"),l=e(\"../../plots/template_attributes\").hovertemplateAttrs,s=e(\"../../plots/template_attributes\").texttemplateAttrs,u=e(\"../../lib/extend\").extendFlat,c=i({editType:\"plot\",arrayOk:!0,colorEditType:\"plot\"});t.exports={labels:{valType:\"data_array\",editType:\"calc\"},label0:{valType:\"number\",dflt:0,editType:\"calc\"},dlabel:{valType:\"number\",dflt:1,editType:\"calc\"},values:{valType:\"data_array\",editType:\"calc\"},marker:{colors:{valType:\"data_array\",editType:\"calc\"},line:{color:{valType:\"color\",dflt:o.defaultLine,arrayOk:!0,editType:\"style\"},width:{valType:\"number\",min:0,dflt:0,arrayOk:!0,editType:\"style\"},editType:\"calc\"},editType:\"calc\"},text:{valType:\"data_array\",editType:\"plot\"},hovertext:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"style\"},scalegroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},textinfo:{valType:\"flaglist\",flags:[\"label\",\"text\",\"value\",\"percent\"],extras:[\"none\"],editType:\"calc\"},hoverinfo:u({},r.hoverinfo,{flags:[\"label\",\"text\",\"value\",\"percent\",\"name\"]}),hovertemplate:l({},{keys:[\"label\",\"color\",\"value\",\"percent\",\"text\"]}),texttemplate:s({editType:\"plot\"},{keys:[\"label\",\"color\",\"value\",\"percent\",\"text\"]}),textposition:{valType:\"enumerated\",values:[\"inside\",\"outside\",\"auto\",\"none\"],dflt:\"auto\",arrayOk:!0,editType:\"plot\"},textfont:u({},c,{}),insidetextorientation:{valType:\"enumerated\",values:[\"horizontal\",\"radial\",\"tangential\",\"auto\"],dflt:\"auto\",editType:\"plot\"},insidetextfont:u({},c,{}),outsidetextfont:u({},c,{}),automargin:{valType:\"boolean\",dflt:!1,editType:\"plot\"},title:{text:{valType:\"string\",dflt:\"\",editType:\"plot\"},font:u({},c,{}),position:{valType:\"enumerated\",values:[\"top left\",\"top center\",\"top right\",\"middle center\",\"bottom left\",\"bottom center\",\"bottom right\"],editType:\"plot\"},editType:\"plot\"},domain:a({name:\"pie\",trace:!0,editType:\"calc\"}),hole:{valType:\"number\",min:0,max:1,dflt:0,editType:\"calc\"},sort:{valType:\"boolean\",dflt:!0,editType:\"calc\"},direction:{valType:\"enumerated\",values:[\"clockwise\",\"counterclockwise\"],dflt:\"counterclockwise\",editType:\"calc\"},rotation:{valType:\"number\",min:-360,max:360,dflt:0,editType:\"calc\"},pull:{valType:\"number\",min:0,max:1,dflt:0,arrayOk:!0,editType:\"calc\"},_deprecated:{title:{valType:\"string\",dflt:\"\",editType:\"calc\"},titlefont:u({},c,{}),titleposition:{valType:\"enumerated\",values:[\"top left\",\"top center\",\"top right\",\"middle center\",\"bottom left\",\"bottom center\",\"bottom right\"],editType:\"calc\"}}}},{\"../../components/color/attributes\":156,\"../../lib/extend\":281,\"../../plots/attributes\":330,\"../../plots/domain\":364,\"../../plots/font_attributes\":365,\"../../plots/template_attributes\":373}],488:[function(e,t,n){\"use strict\";var r=e(\"../../plots/plots\");n.name=\"pie\",n.plot=function(e,t,a,i){r.plotBasePlot(n.name,e,t,a,i)},n.clean=function(e,t,a,i){r.cleanBasePlot(n.name,e,t,a,i)}},{\"../../plots/plots\":371}],489:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"tinycolor2\"),i=e(\"../../components/color\"),o={};function l(e){return function(t,n){return!!t&&!!(t=a(t)).isValid()&&(t=i.addOpacity(t,t.getAlpha()),e[n]||(e[n]=t),t)}}function s(e,t){var n,r=JSON.stringify(e),i=t[r];if(!i){for(i=e.slice(),n=0;n<e.length;n++)i.push(a(e[n]).lighten(20).toHexString());for(n=0;n<e.length;n++)i.push(a(e[n]).darken(20).toHexString());t[r]=i}return i}t.exports={calc:function(e,t){var n,a,i=[],o=e._fullLayout,s=o.hiddenlabels||[],u=t.labels,c=t.marker.colors||[],f=t.values,d=t._length,p=t._hasValues&&d;if(t.dlabel)for(u=new Array(d),n=0;n<d;n++)u[n]=String(t.label0+n*t.dlabel);var h={},m=l(o[\"_\"+t.type+\"colormap\"]),g=0,y=!1;for(n=0;n<d;n++){var v,b,x;if(p){if(v=f[n],!r(v))continue;v=+v}else v=1;void 0!==(b=u[n])&&\"\"!==b||(b=n);var w=h[b=String(b)];void 0===w?(h[b]=i.length,(x=-1!==s.indexOf(b))||(g+=v),i.push({v:v,label:b,color:m(c[n],b),i:n,pts:[n],hidden:x})):(y=!0,(a=i[w]).v+=v,a.pts.push(n),a.hidden||(g+=v),!1===a.color&&c[n]&&(a.color=m(c[n],b)))}return i=i.filter((function(e){return e.v>=0})),(\"funnelarea\"===t.type?y:t.sort)&&i.sort((function(e,t){return t.v-e.v})),i[0]&&(i[0].vTotal=g),i},crossTraceCalc:function(e,t){var n=(t||{}).type;n||(n=\"pie\");var r=e._fullLayout,a=e.calcdata,i=r[n+\"colorway\"],l=r[\"_\"+n+\"colormap\"];r[\"extend\"+n+\"colors\"]&&(i=s(i,o));for(var u=0,c=0;c<a.length;c++){var f=a[c];if(f[0].trace.type===n)for(var d=0;d<f.length;d++){var p=f[d];!1===p.color&&(l[p.label]?p.color=l[p.label]:(l[p.label]=p.color=i[u%i.length],u++))}}},makePullColorFn:l,generateExtendedColors:s}},{\"../../components/color\":157,\"fast-isnumeric\":33,tinycolor2:121}],490:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=e(\"./attributes\"),o=e(\"../../plots/domain\").defaults,l=e(\"../bar/defaults\").handleText;function s(e,t){var n=Array.isArray(e),i=a.isArrayOrTypedArray(t),o=Math.min(n?e.length:1/0,i?t.length:1/0);if(isFinite(o)||(o=0),o&&i){for(var l,s=0;s<o;s++){var u=t[s];if(r(u)&&u>0){l=!0;break}}l||(o=0)}return{hasLabels:n,hasValues:i,len:o}}t.exports={handleLabelsAndValues:s,supplyDefaults:function(e,t,n,r){function u(n,r){return a.coerce(e,t,i,n,r)}var c=s(u(\"labels\"),u(\"values\")),f=c.len;if(t._hasLabels=c.hasLabels,t._hasValues=c.hasValues,!t._hasLabels&&t._hasValues&&(u(\"label0\"),u(\"dlabel\")),f){t._length=f,u(\"marker.line.width\")&&u(\"marker.line.color\"),u(\"marker.colors\"),u(\"scalegroup\");var d,p=u(\"text\"),h=u(\"texttemplate\");if(h||(d=u(\"textinfo\",Array.isArray(p)?\"text+percent\":\"percent\")),u(\"hovertext\"),u(\"hovertemplate\"),h||d&&\"none\"!==d){var m=u(\"textposition\");l(e,t,r,u,m,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(m)||\"auto\"===m||\"outside\"===m)&&u(\"automargin\"),(\"inside\"===m||\"auto\"===m||Array.isArray(m))&&u(\"insidetextorientation\")}o(t,r,u);var g=u(\"hole\");if(u(\"title.text\")){var y=u(\"title.position\",g?\"middle center\":\"top center\");g||\"middle center\"!==y||(t.title.position=\"top center\"),a.coerceFont(u,\"title.font\",r.font)}u(\"sort\"),u(\"direction\"),u(\"rotation\"),u(\"pull\")}else t.visible=!1}}},{\"../../lib\":287,\"../../plots/domain\":364,\"../bar/defaults\":392,\"./attributes\":487,\"fast-isnumeric\":33}],491:[function(e,t,n){\"use strict\";var r=e(\"../../components/fx/helpers\").appendArrayMultiPointValues;t.exports=function(e,t){var n={curveNumber:t.index,pointNumbers:e.pts,data:t._input,fullData:t,label:e.label,color:e.color,value:e.v,percent:e.percent,text:e.text,bbox:e.bbox,v:e.v};return 1===e.pts.length&&(n.pointNumber=n.i=e.pts[0]),r(n,t,e.pts),\"funnelarea\"===t.type&&(delete n.v,delete n.i),n}},{\"../../components/fx/helpers\":193}],492:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");function a(e){return-1!==e.indexOf(\"e\")?e.replace(/[.]?0+e/,\"e\"):-1!==e.indexOf(\".\")?e.replace(/[.]?0+$/,\"\"):e}n.formatPiePercent=function(e,t){var n=a((100*e).toPrecision(3));return r.numSeparate(n,t)+\"%\"},n.formatPieValue=function(e,t){var n=a(e.toPrecision(10));return r.numSeparate(n,t)},n.getFirstFilled=function(e,t){if(Array.isArray(e))for(var n=0;n<t.length;n++){var r=e[t[n]];if(r||0===r||\"\"===r)return r}},n.castOption=function(e,t){return Array.isArray(e)?n.getFirstFilled(e,t):e||void 0},n.getRotationAngle=function(e){return(\"auto\"===e?0:e)*Math.PI/180}},{\"../../lib\":287}],493:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),supplyDefaults:e(\"./defaults\").supplyDefaults,supplyLayoutDefaults:e(\"./layout_defaults\"),layoutAttributes:e(\"./layout_attributes\"),calc:e(\"./calc\").calc,crossTraceCalc:e(\"./calc\").crossTraceCalc,plot:e(\"./plot\").plot,style:e(\"./style\"),styleOne:e(\"./style_one\"),moduleType:\"trace\",name:\"pie\",basePlotModule:e(\"./base_plot\"),categories:[\"pie-like\",\"pie\",\"showLegend\"],meta:{}}},{\"./attributes\":487,\"./base_plot\":488,\"./calc\":489,\"./defaults\":490,\"./layout_attributes\":494,\"./layout_defaults\":495,\"./plot\":496,\"./style\":497,\"./style_one\":498}],494:[function(e,t,n){\"use strict\";t.exports={hiddenlabels:{valType:\"data_array\",editType:\"calc\"},piecolorway:{valType:\"colorlist\",editType:\"calc\"},extendpiecolors:{valType:\"boolean\",dflt:!0,editType:\"calc\"}}},{}],495:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./layout_attributes\");t.exports=function(e,t){function n(n,i){return r.coerce(e,t,a,n,i)}n(\"hiddenlabels\"),n(\"piecolorway\",t.colorway),n(\"extendpiecolors\")}},{\"../../lib\":287,\"./layout_attributes\":494}],496:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../plots/plots\"),i=e(\"../../components/fx\"),o=e(\"../../components/color\"),l=e(\"../../components/drawing\"),s=e(\"../../lib\"),u=s.strScale,c=s.strTranslate,f=e(\"../../lib/svg_text_utils\"),d=e(\"../bar/uniform_text\"),p=d.recordMinTextSize,h=d.clearMinTextSize,m=e(\"../bar/constants\").TEXTPAD,g=e(\"./helpers\"),y=e(\"./event_data\"),v=e(\"../../lib\").isValidTextValue;function b(e,t,n){var a=n[0],o=a.cx,l=a.cy,u=a.trace,c=\"funnelarea\"===u.type;\"_hasHoverLabel\"in u||(u._hasHoverLabel=!1),\"_hasHoverEvent\"in u||(u._hasHoverEvent=!1),e.on(\"mouseover\",(function(e){var n=t._fullLayout,f=t._fullData[u.index];if(!t._dragging&&!1!==n.hovermode){var d=f.hoverinfo;if(Array.isArray(d)&&(d=i.castHoverinfo({hoverinfo:[g.castOption(d,e.pts)],_module:u._module},n,0)),\"all\"===d&&(d=\"label+text+value+percent+name\"),f.hovertemplate||\"none\"!==d&&\"skip\"!==d&&d){var p=e.rInscribed||0,h=o+e.pxmid[0]*(1-p),m=l+e.pxmid[1]*(1-p),v=n.separators,b=[];if(d&&-1!==d.indexOf(\"label\")&&b.push(e.label),e.text=g.castOption(f.hovertext||f.text,e.pts),d&&-1!==d.indexOf(\"text\")){var x=e.text;s.isValidTextValue(x)&&b.push(x)}e.value=e.v,e.valueLabel=g.formatPieValue(e.v,v),d&&-1!==d.indexOf(\"value\")&&b.push(e.valueLabel),e.percent=e.v/a.vTotal,e.percentLabel=g.formatPiePercent(e.percent,v),d&&-1!==d.indexOf(\"percent\")&&b.push(e.percentLabel);var w=f.hoverlabel,_=w.font,k=[];i.loneHover({trace:u,x0:h-p*a.r,x1:h+p*a.r,y:m,_x0:c?o+e.TL[0]:h-p*a.r,_x1:c?o+e.TR[0]:h+p*a.r,_y0:c?l+e.TL[1]:m-p*a.r,_y1:c?l+e.BL[1]:m+p*a.r,text:b.join(\"<br>\"),name:f.hovertemplate||-1!==d.indexOf(\"name\")?f.name:void 0,idealAlign:e.pxmid[0]<0?\"left\":\"right\",color:g.castOption(w.bgcolor,e.pts)||e.color,borderColor:g.castOption(w.bordercolor,e.pts),fontFamily:g.castOption(_.family,e.pts),fontSize:g.castOption(_.size,e.pts),fontColor:g.castOption(_.color,e.pts),nameLength:g.castOption(w.namelength,e.pts),textAlign:g.castOption(w.align,e.pts),hovertemplate:g.castOption(f.hovertemplate,e.pts),hovertemplateLabels:e,eventData:[y(e,f)]},{container:n._hoverlayer.node(),outerContainer:n._paper.node(),gd:t,inOut_bbox:k}),e.bbox=k[0],u._hasHoverLabel=!0}u._hasHoverEvent=!0,t.emit(\"plotly_hover\",{points:[y(e,f)],event:r.event})}})),e.on(\"mouseout\",(function(e){var n=t._fullLayout,a=t._fullData[u.index],o=r.select(this).datum();u._hasHoverEvent&&(e.originalEvent=r.event,t.emit(\"plotly_unhover\",{points:[y(o,a)],event:r.event}),u._hasHoverEvent=!1),u._hasHoverLabel&&(i.loneUnhover(n._hoverlayer.node()),u._hasHoverLabel=!1)})),e.on(\"click\",(function(e){var n=t._fullLayout,a=t._fullData[u.index];t._dragging||!1===n.hovermode||(t._hoverdata=[y(e,a)],i.click(t,r.event))}))}function x(e,t,n){var r=g.castOption(e.insidetextfont.color,t.pts);!r&&e._input.textfont&&(r=g.castOption(e._input.textfont.color,t.pts));var a=g.castOption(e.insidetextfont.family,t.pts)||g.castOption(e.textfont.family,t.pts)||n.family,i=g.castOption(e.insidetextfont.size,t.pts)||g.castOption(e.textfont.size,t.pts)||n.size;return{color:r||o.contrast(t.color),family:a,size:i}}function w(e,t){for(var n,r,a=0;a<e.length;a++)if((r=(n=e[a][0]).trace).title.text){var i=r.title.text;r._meta&&(i=s.templateString(i,r._meta));var o=l.tester.append(\"text\").attr(\"data-notex\",1).text(i).call(l.font,r.title.font).call(f.convertToTspans,t),u=l.bBox(o.node(),!0);n.titleBox={width:u.width,height:u.height},o.remove()}}function _(e,t,n){var r=n.r||t.rpx1,a=t.rInscribed;if(t.startangle===t.stopangle)return{rCenter:1-a,scale:0,rotate:0,textPosAngle:0};var i,o=t.ring,l=1===o&&Math.abs(t.startangle-t.stopangle)===2*Math.PI,s=t.halfangle,u=t.midangle,c=n.trace.insidetextorientation,f=\"horizontal\"===c,d=\"tangential\"===c,p=\"radial\"===c,h=\"auto\"===c,m=[];if(!h){var g,y=function(n,a){if(function(e,t){var n=e.startangle,r=e.stopangle;return n>t&&t>r||n<t&&t<r}(t,n)){var l=Math.abs(n-t.startangle),s=Math.abs(n-t.stopangle),u=l<s?l:s;(i=\"tan\"===a?T(e,r,o,u,0):k(e,r,o,u,Math.PI/2)).textPosAngle=n,m.push(i)}};if(f||d){for(g=4;g>=-4;g-=2)y(Math.PI*g,\"tan\");for(g=4;g>=-4;g-=2)y(Math.PI*(g+1),\"tan\")}if(f||p){for(g=4;g>=-4;g-=2)y(Math.PI*(g+1.5),\"rad\");for(g=4;g>=-4;g-=2)y(Math.PI*(g+.5),\"rad\")}}if(l||h||f){var v=Math.sqrt(e.width*e.width+e.height*e.height);if((i={scale:a*r*2/v,rCenter:1-a,rotate:0}).textPosAngle=(t.startangle+t.stopangle)/2,i.scale>=1)return i;m.push(i)}(h||p)&&((i=k(e,r,o,s,u)).textPosAngle=(t.startangle+t.stopangle)/2,m.push(i)),(h||d)&&((i=T(e,r,o,s,u)).textPosAngle=(t.startangle+t.stopangle)/2,m.push(i));for(var b=0,x=0,w=0;w<m.length;w++){var _=m[w].scale;if(x<_&&(x=_,b=w),!h&&x>=1)break}return m[b]}function k(e,t,n,r,a){t=Math.max(0,t-2*m);var i=e.width/e.height,o=E(i,r,t,n);return{scale:2*o/e.height,rCenter:M(i,o/t),rotate:S(a)}}function T(e,t,n,r,a){t=Math.max(0,t-2*m);var i=e.height/e.width,o=E(i,r,t,n);return{scale:2*o/e.width,rCenter:M(i,o/t),rotate:S(a+Math.PI/2)}}function M(e,t){return Math.cos(t)-e*t}function S(e){return(180/Math.PI*e+720)%180-90}function E(e,t,n,r){var a=e+1/(2*Math.tan(t));return n*Math.min(1/(Math.sqrt(a*a+.5)+a),r/(Math.sqrt(e*e+r/2)+e))}function C(e,t){return e.v!==t.vTotal||t.trace.hole?Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2):1}function O(e,t){var n=t.pxmid[0],r=t.pxmid[1],a=e.width/2,i=e.height/2;return n<0&&(a*=-1),r<0&&(i*=-1),{scale:1,rCenter:1,rotate:0,x:a+Math.abs(i)*(a>0?1:-1)/2,y:i/(1+n*n/(r*r)),outside:!0}}function A(e,t){var n,r,a,i=e.trace,o={x:e.cx,y:e.cy},l={tx:0,ty:0};l.ty+=i.title.font.size,a=P(i),-1!==i.title.position.indexOf(\"top\")?(o.y-=(1+a)*e.r,l.ty-=e.titleBox.height):-1!==i.title.position.indexOf(\"bottom\")&&(o.y+=(1+a)*e.r);var s,u=e.r/(void 0===(s=e.trace.aspectratio)?1:s),c=t.w*(i.domain.x[1]-i.domain.x[0])/2;return-1!==i.title.position.indexOf(\"left\")?(c+=u,o.x-=(1+a)*u,l.tx+=e.titleBox.width/2):-1!==i.title.position.indexOf(\"center\")?c*=2:-1!==i.title.position.indexOf(\"right\")&&(c+=u,o.x+=(1+a)*u,l.tx-=e.titleBox.width/2),n=c/e.titleBox.width,r=D(e,t)/e.titleBox.height,{x:o.x,y:o.y,scale:Math.min(n,r),tx:l.tx,ty:l.ty}}function D(e,t){var n=e.trace,r=t.h*(n.domain.y[1]-n.domain.y[0]);return Math.min(e.titleBox.height,r/2)}function P(e){var t,n=e.pull;if(!n)return 0;if(Array.isArray(n))for(n=0,t=0;t<e.pull.length;t++)e.pull[t]>n&&(n=e.pull[t]);return n}function R(e,t){for(var n=[],r=0;r<e.length;r++){var a=e[r][0],i=a.trace,o=i.domain,l=t.w*(o.x[1]-o.x[0]),s=t.h*(o.y[1]-o.y[0]);i.title.text&&\"middle center\"!==i.title.position&&(s-=D(a,t));var u=l/2,c=s/2;\"funnelarea\"!==i.type||i.scalegroup||(c/=i.aspectratio),a.r=Math.min(u,c)/(1+P(i)),a.cx=t.l+t.w*(i.domain.x[1]+i.domain.x[0])/2,a.cy=t.t+t.h*(1-i.domain.y[0])-s/2,i.title.text&&-1!==i.title.position.indexOf(\"bottom\")&&(a.cy-=D(a,t)),i.scalegroup&&-1===n.indexOf(i.scalegroup)&&n.push(i.scalegroup)}!function(e,t){for(var n,r,a,i=0;i<t.length;i++){var o=1/0,l=t[i];for(r=0;r<e.length;r++)if((a=(n=e[r][0]).trace).scalegroup===l){var s;if(\"pie\"===a.type)s=n.r*n.r;else if(\"funnelarea\"===a.type){var u,c;a.aspectratio>1?c=(u=n.r)/a.aspectratio:u=(c=n.r)*a.aspectratio,s=(u*=(1+a.baseratio)/2)*c}o=Math.min(o,s/n.vTotal)}for(r=0;r<e.length;r++)if((a=(n=e[r][0]).trace).scalegroup===l){var f=o*n.vTotal;\"funnelarea\"===a.type&&(f/=(1+a.baseratio)/2,f/=a.aspectratio),n.r=Math.sqrt(f)}}}(e,n)}function L(e,t){return[e*Math.sin(t),-e*Math.cos(t)]}function I(e,t,n){var r=e._fullLayout,a=n.trace,i=a.texttemplate,o=a.textinfo;if(!i&&o&&\"none\"!==o){var l,u=o.split(\"+\"),c=function(e){return-1!==u.indexOf(e)},f=c(\"label\"),d=c(\"text\"),p=c(\"value\"),h=c(\"percent\"),m=r.separators;if(l=f?[t.label]:[],d){var y=g.getFirstFilled(a.text,t.pts);v(y)&&l.push(y)}p&&l.push(g.formatPieValue(t.v,m)),h&&l.push(g.formatPiePercent(t.v/n.vTotal,m)),t.text=l.join(\"<br>\")}if(i){var b=s.castOption(a,t.i,\"texttemplate\");if(b){var x=function(e){return{label:e.label,value:e.v,valueLabel:g.formatPieValue(e.v,r.separators),percent:e.v/n.vTotal,percentLabel:g.formatPiePercent(e.v/n.vTotal,r.separators),color:e.color,text:e.text,customdata:s.castOption(a,e.i,\"customdata\")}}(t),w=g.getFirstFilled(a.text,t.pts);(v(w)||\"\"===w)&&(x.text=w),t.text=s.texttemplateString(b,x,e._fullLayout._d3locale,x,a._meta||{})}else t.text=\"\"}}function j(e,t){var n=e.rotate*Math.PI/180,r=Math.cos(n),a=Math.sin(n),i=(t.left+t.right)/2,o=(t.top+t.bottom)/2;e.textX=i*r-o*a,e.textY=i*a+o*r,e.noCenter=!0}t.exports={plot:function(e,t){var n=e._fullLayout,i=n._size;h(\"pie\",n),w(t,e),R(t,i);var d=s.makeTraceGroups(n._pielayer,t,\"trace\").each((function(t){var d=r.select(this),h=t[0],m=h.trace;!function(e){var t,n,r,a=e[0],i=a.r,o=a.trace,l=g.getRotationAngle(o.rotation),s=2*Math.PI/a.vTotal,u=\"px0\",c=\"px1\";if(\"counterclockwise\"===o.direction){for(t=0;t<e.length&&e[t].hidden;t++);if(t===e.length)return;l+=s*e[t].v,s*=-1,u=\"px1\",c=\"px0\"}for(r=L(i,l),t=0;t<e.length;t++)(n=e[t]).hidden||(n[u]=r,n.startangle=l,l+=s*n.v/2,n.pxmid=L(i,l),n.midangle=l,r=L(i,l+=s*n.v/2),n.stopangle=l,n[c]=r,n.largeArc=n.v>a.vTotal/2?1:0,n.halfangle=Math.PI*Math.min(n.v/a.vTotal,.5),n.ring=1-o.hole,n.rInscribed=C(n,a))}(t),d.attr(\"stroke-linejoin\",\"round\"),d.each((function(){var y=r.select(this).selectAll(\"g.slice\").data(t);y.enter().append(\"g\").classed(\"slice\",!0),y.exit().remove();var v=[[[],[]],[[],[]]],w=!1;y.each((function(a,i){if(a.hidden)r.select(this).selectAll(\"path,g\").remove();else{a.pointNumber=a.i,a.curveNumber=m.index,v[a.pxmid[1]<0?0:1][a.pxmid[0]<0?0:1].push(a);var o=h.cx,u=h.cy,c=r.select(this),d=c.selectAll(\"path.surface\").data([a]);if(d.enter().append(\"path\").classed(\"surface\",!0).style({\"pointer-events\":\"all\"}),c.call(b,e,t),m.pull){var y=+g.castOption(m.pull,a.pts)||0;y>0&&(o+=y*a.pxmid[0],u+=y*a.pxmid[1])}a.cxFinal=o,a.cyFinal=u;var k=m.hole;if(a.v===h.vTotal){var T=\"M\"+(o+a.px0[0])+\",\"+(u+a.px0[1])+A(a.px0,a.pxmid,!0,1)+A(a.pxmid,a.px0,!0,1)+\"Z\";k?d.attr(\"d\",\"M\"+(o+k*a.px0[0])+\",\"+(u+k*a.px0[1])+A(a.px0,a.pxmid,!1,k)+A(a.pxmid,a.px0,!1,k)+\"Z\"+T):d.attr(\"d\",T)}else{var M=A(a.px0,a.px1,!0,1);if(k){var S=1-k;d.attr(\"d\",\"M\"+(o+k*a.px1[0])+\",\"+(u+k*a.px1[1])+A(a.px1,a.px0,!1,k)+\"l\"+S*a.px0[0]+\",\"+S*a.px0[1]+M+\"Z\")}else d.attr(\"d\",\"M\"+o+\",\"+u+\"l\"+a.px0[0]+\",\"+a.px0[1]+M+\"Z\")}I(e,a,h);var E=g.castOption(m.textposition,a.pts),C=c.selectAll(\"g.slicetext\").data(a.text&&\"none\"!==E?[0]:[]);C.enter().append(\"g\").classed(\"slicetext\",!0),C.exit().remove(),C.each((function(){var c=s.ensureSingle(r.select(this),\"text\",\"\",(function(e){e.attr(\"data-notex\",1)})),d=s.ensureUniformFontSize(e,\"outside\"===E?function(e,t,n){return{color:g.castOption(e.outsidetextfont.color,t.pts)||g.castOption(e.textfont.color,t.pts)||n.color,family:g.castOption(e.outsidetextfont.family,t.pts)||g.castOption(e.textfont.family,t.pts)||n.family,size:g.castOption(e.outsidetextfont.size,t.pts)||g.castOption(e.textfont.size,t.pts)||n.size}}(m,a,n.font):x(m,a,n.font));c.text(a.text).attr({class:\"slicetext\",transform:\"\",\"text-anchor\":\"middle\"}).call(l.font,d).call(f.convertToTspans,e);var y,v=l.bBox(c.node());if(\"outside\"===E)y=O(v,a);else if(y=_(v,a,h),\"auto\"===E&&y.scale<1){var b=s.ensureUniformFontSize(e,m.outsidetextfont);c.call(l.font,b),y=O(v=l.bBox(c.node()),a)}var k=y.textPosAngle,T=void 0===k?a.pxmid:L(h.r,k);if(y.targetX=o+T[0]*y.rCenter+(y.x||0),y.targetY=u+T[1]*y.rCenter+(y.y||0),j(y,v),y.outside){var M=y.targetY;a.yLabelMin=M-v.height/2,a.yLabelMid=M,a.yLabelMax=M+v.height/2,a.labelExtraX=0,a.labelExtraY=0,w=!0}y.fontSize=d.size,p(m.type,y,n),t[i].transform=y,c.attr(\"transform\",s.getTextTransform(y))}))}function A(e,t,n,r){var i=r*(t[0]-e[0]),o=r*(t[1]-e[1]);return\"a\"+r*h.r+\",\"+r*h.r+\" 0 \"+a.largeArc+(n?\" 1 \":\" 0 \")+i+\",\"+o}}));var k=r.select(this).selectAll(\"g.titletext\").data(m.title.text?[0]:[]);if(k.enter().append(\"g\").classed(\"titletext\",!0),k.exit().remove(),k.each((function(){var t,n=s.ensureSingle(r.select(this),\"text\",\"\",(function(e){e.attr(\"data-notex\",1)})),a=m.title.text;m._meta&&(a=s.templateString(a,m._meta)),n.text(a).attr({class:\"titletext\",transform:\"\",\"text-anchor\":\"middle\"}).call(l.font,m.title.font).call(f.convertToTspans,e),t=\"middle center\"===m.title.position?function(e){var t=Math.sqrt(e.titleBox.width*e.titleBox.width+e.titleBox.height*e.titleBox.height);return{x:e.cx,y:e.cy,scale:e.trace.hole*e.r*2/t,tx:0,ty:-e.titleBox.height/2+e.trace.title.font.size}}(h):A(h,i),n.attr(\"transform\",c(t.x,t.y)+u(Math.min(1,t.scale))+c(t.tx,t.ty))})),w&&function(e,t){var n,r,a,i,o,l,s,u,c,f,d,p,h;function m(e,t){return e.pxmid[1]-t.pxmid[1]}function y(e,t){return t.pxmid[1]-e.pxmid[1]}function v(e,n){n||(n={});var a,u,c,d,p=n.labelExtraY+(r?n.yLabelMax:n.yLabelMin),h=r?e.yLabelMin:e.yLabelMax,m=r?e.yLabelMax:e.yLabelMin,y=e.cyFinal+o(e.px0[1],e.px1[1]),v=p-h;if(v*s>0&&(e.labelExtraY=v),Array.isArray(t.pull))for(u=0;u<f.length;u++)(c=f[u])===e||(g.castOption(t.pull,e.pts)||0)>=(g.castOption(t.pull,c.pts)||0)||((e.pxmid[1]-c.pxmid[1])*s>0?(v=c.cyFinal+o(c.px0[1],c.px1[1])-h-e.labelExtraY)*s>0&&(e.labelExtraY+=v):(m+e.labelExtraY-y)*s>0&&(a=3*l*Math.abs(u-f.indexOf(e)),(d=c.cxFinal+i(c.px0[0],c.px1[0])+a-(e.cxFinal+e.pxmid[0])-e.labelExtraX)*l>0&&(e.labelExtraX+=d)))}for(r=0;r<2;r++)for(a=r?m:y,o=r?Math.max:Math.min,s=r?1:-1,n=0;n<2;n++){for(i=n?Math.max:Math.min,l=n?1:-1,(u=e[r][n]).sort(a),c=e[1-r][n],f=c.concat(u),p=[],d=0;d<u.length;d++)void 0!==u[d].yLabelMid&&p.push(u[d]);for(h=!1,d=0;r&&d<c.length;d++)if(void 0!==c[d].yLabelMid){h=c[d];break}for(d=0;d<p.length;d++){var b=d&&p[d-1];h&&!d&&(b=h),v(p[d],b)}}}(v,m),function(e,t){e.each((function(e){var n=r.select(this);if(e.labelExtraX||e.labelExtraY){var a=n.select(\"g.slicetext text\");e.transform.targetX+=e.labelExtraX,e.transform.targetY+=e.labelExtraY,a.attr(\"transform\",s.getTextTransform(e.transform));var i=e.cxFinal+e.pxmid[0],l=\"M\"+i+\",\"+(e.cyFinal+e.pxmid[1]),u=(e.yLabelMax-e.yLabelMin)*(e.pxmid[0]<0?-1:1)/4;if(e.labelExtraX){var c=e.labelExtraX*e.pxmid[1]/e.pxmid[0],f=e.yLabelMid+e.labelExtraY-(e.cyFinal+e.pxmid[1]);Math.abs(c)>Math.abs(f)?l+=\"l\"+f*e.pxmid[0]/e.pxmid[1]+\",\"+f+\"H\"+(i+e.labelExtraX+u):l+=\"l\"+e.labelExtraX+\",\"+c+\"v\"+(f-c)+\"h\"+u}else l+=\"V\"+(e.yLabelMid+e.labelExtraY)+\"h\"+u;s.ensureSingle(n,\"path\",\"textline\").call(o.stroke,t.outsidetextfont.color).attr({\"stroke-width\":Math.min(2,t.outsidetextfont.size/8),d:l,fill:\"none\"})}else n.select(\"path.textline\").remove()}))}(y,m),w&&m.automargin){var T=l.bBox(d.node()),M=m.domain,S=i.w*(M.x[1]-M.x[0]),E=i.h*(M.y[1]-M.y[0]),C=(.5*S-h.r)/i.w,D=(.5*E-h.r)/i.h;a.autoMargin(e,\"pie.\"+m.uid+\".automargin\",{xl:M.x[0]-C,xr:M.x[1]+C,yb:M.y[0]-D,yt:M.y[1]+D,l:Math.max(h.cx-h.r-T.left,0),r:Math.max(T.right-(h.cx+h.r),0),b:Math.max(T.bottom-(h.cy+h.r),0),t:Math.max(h.cy-h.r-T.top,0),pad:5})}}))}));setTimeout((function(){d.selectAll(\"tspan\").each((function(){var e=r.select(this);e.attr(\"dy\")&&e.attr(\"dy\",e.attr(\"dy\"))}))}),0)},formatSliceLabel:I,transformInsideText:_,determineInsideTextFont:x,positionTitleOutside:A,prerenderTitles:w,layoutAreas:R,attachFxHandlers:b,computeTransform:j}},{\"../../components/color\":157,\"../../components/drawing\":179,\"../../components/fx\":197,\"../../lib\":287,\"../../lib/svg_text_utils\":310,\"../../plots/plots\":371,\"../bar/constants\":390,\"../bar/uniform_text\":404,\"./event_data\":491,\"./helpers\":492,\"@plotly/d3\":20}],497:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"./style_one\"),i=e(\"../bar/uniform_text\").resizeText;t.exports=function(e){var t=e._fullLayout._pielayer.selectAll(\".trace\");i(e,t,\"pie\"),t.each((function(e){var t=e[0].trace,n=r.select(this);n.style({opacity:t.opacity}),n.selectAll(\"path.surface\").each((function(e){r.select(this).call(a,e,t)}))}))}},{\"../bar/uniform_text\":404,\"./style_one\":498,\"@plotly/d3\":20}],498:[function(e,t,n){\"use strict\";var r=e(\"../../components/color\"),a=e(\"./helpers\").castOption;t.exports=function(e,t,n){var i=n.marker.line,o=a(i.color,t.pts)||r.defaultLine,l=a(i.width,t.pts)||0;e.style(\"stroke-width\",l).call(r.fill,t.color).call(r.stroke,o)}},{\"../../components/color\":157,\"./helpers\":492}],499:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports=function(e,t){for(var n=0;n<e.length;n++)e[n].i=n;r.mergeArray(t.text,e,\"tx\"),r.mergeArray(t.texttemplate,e,\"txt\"),r.mergeArray(t.hovertext,e,\"htx\"),r.mergeArray(t.customdata,e,\"data\"),r.mergeArray(t.textposition,e,\"tp\"),t.textfont&&(r.mergeArrayCastPositive(t.textfont.size,e,\"ts\"),r.mergeArray(t.textfont.color,e,\"tc\"),r.mergeArray(t.textfont.family,e,\"tf\"));var a=t.marker;if(a){r.mergeArrayCastPositive(a.size,e,\"ms\"),r.mergeArrayCastPositive(a.opacity,e,\"mo\"),r.mergeArray(a.symbol,e,\"mx\"),r.mergeArray(a.color,e,\"mc\");var i=a.line;a.line&&(r.mergeArray(i.color,e,\"mlc\"),r.mergeArrayCastPositive(i.width,e,\"mlw\"));var o=a.gradient;o&&\"none\"!==o.type&&(r.mergeArray(o.type,e,\"mgt\"),r.mergeArray(o.color,e,\"mgc\"))}}},{\"../../lib\":287}],500:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axis_format_attributes\").axisHoverFormat,a=e(\"../../plots/template_attributes\").texttemplateAttrs,i=e(\"../../plots/template_attributes\").hovertemplateAttrs,o=e(\"../../components/colorscale/attributes\"),l=e(\"../../plots/font_attributes\"),s=e(\"../../components/drawing/attributes\").dash,u=e(\"../../components/drawing\"),c=e(\"./constants\"),f=e(\"../../lib/extend\").extendFlat;t.exports={x:{valType:\"data_array\",editType:\"calc+clearAxisTypes\",anim:!0},x0:{valType:\"any\",dflt:0,editType:\"calc+clearAxisTypes\",anim:!0},dx:{valType:\"number\",dflt:1,editType:\"calc\",anim:!0},y:{valType:\"data_array\",editType:\"calc+clearAxisTypes\",anim:!0},y0:{valType:\"any\",dflt:0,editType:\"calc+clearAxisTypes\",anim:!0},dy:{valType:\"number\",dflt:1,editType:\"calc\",anim:!0},xperiod:{valType:\"any\",dflt:0,editType:\"calc\"},yperiod:{valType:\"any\",dflt:0,editType:\"calc\"},xperiod0:{valType:\"any\",editType:\"calc\"},yperiod0:{valType:\"any\",editType:\"calc\"},xperiodalignment:{valType:\"enumerated\",values:[\"start\",\"middle\",\"end\"],dflt:\"middle\",editType:\"calc\"},yperiodalignment:{valType:\"enumerated\",values:[\"start\",\"middle\",\"end\"],dflt:\"middle\",editType:\"calc\"},xhoverformat:r(\"x\"),yhoverformat:r(\"y\"),stackgroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},orientation:{valType:\"enumerated\",values:[\"v\",\"h\"],editType:\"calc\"},groupnorm:{valType:\"enumerated\",values:[\"\",\"fraction\",\"percent\"],dflt:\"\",editType:\"calc\"},stackgaps:{valType:\"enumerated\",values:[\"infer zero\",\"interpolate\"],dflt:\"infer zero\",editType:\"calc\"},text:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"calc\"},texttemplate:a({},{}),hovertext:{valType:\"string\",dflt:\"\",arrayOk:!0,editType:\"style\"},mode:{valType:\"flaglist\",flags:[\"lines\",\"markers\",\"text\"],extras:[\"none\"],editType:\"calc\"},hoveron:{valType:\"flaglist\",flags:[\"points\",\"fills\"],editType:\"style\"},hovertemplate:i({},{keys:c.eventDataKeys}),line:{color:{valType:\"color\",editType:\"style\",anim:!0},width:{valType:\"number\",min:0,dflt:2,editType:\"style\",anim:!0},shape:{valType:\"enumerated\",values:[\"linear\",\"spline\",\"hv\",\"vh\",\"hvh\",\"vhv\"],dflt:\"linear\",editType:\"plot\"},smoothing:{valType:\"number\",min:0,max:1.3,dflt:1,editType:\"plot\"},dash:f({},s,{editType:\"style\"}),simplify:{valType:\"boolean\",dflt:!0,editType:\"plot\"},editType:\"plot\"},connectgaps:{valType:\"boolean\",dflt:!1,editType:\"calc\"},cliponaxis:{valType:\"boolean\",dflt:!0,editType:\"plot\"},fill:{valType:\"enumerated\",values:[\"none\",\"tozeroy\",\"tozerox\",\"tonexty\",\"tonextx\",\"toself\",\"tonext\"],editType:\"calc\"},fillcolor:{valType:\"color\",editType:\"style\",anim:!0},marker:f({symbol:{valType:\"enumerated\",values:u.symbolList,dflt:\"circle\",arrayOk:!0,editType:\"style\"},opacity:{valType:\"number\",min:0,max:1,arrayOk:!0,editType:\"style\",anim:!0},size:{valType:\"number\",min:0,dflt:6,arrayOk:!0,editType:\"calc\",anim:!0},maxdisplayed:{valType:\"number\",min:0,dflt:0,editType:\"plot\"},sizeref:{valType:\"number\",dflt:1,editType:\"calc\"},sizemin:{valType:\"number\",min:0,dflt:0,editType:\"calc\"},sizemode:{valType:\"enumerated\",values:[\"diameter\",\"area\"],dflt:\"diameter\",editType:\"calc\"},line:f({width:{valType:\"number\",min:0,arrayOk:!0,editType:\"style\",anim:!0},editType:\"calc\"},o(\"marker.line\",{anim:!0})),gradient:{type:{valType:\"enumerated\",values:[\"radial\",\"horizontal\",\"vertical\",\"none\"],arrayOk:!0,dflt:\"none\",editType:\"calc\"},color:{valType:\"color\",arrayOk:!0,editType:\"calc\"},editType:\"calc\"},editType:\"calc\"},o(\"marker\",{anim:!0})),selected:{marker:{opacity:{valType:\"number\",min:0,max:1,editType:\"style\"},color:{valType:\"color\",editType:\"style\"},size:{valType:\"number\",min:0,editType:\"style\"},editType:\"style\"},textfont:{color:{valType:\"color\",editType:\"style\"},editType:\"style\"},editType:\"style\"},unselected:{marker:{opacity:{valType:\"number\",min:0,max:1,editType:\"style\"},color:{valType:\"color\",editType:\"style\"},size:{valType:\"number\",min:0,editType:\"style\"},editType:\"style\"},textfont:{color:{valType:\"color\",editType:\"style\"},editType:\"style\"},editType:\"style\"},textposition:{valType:\"enumerated\",values:[\"top left\",\"top center\",\"top right\",\"middle left\",\"middle center\",\"middle right\",\"bottom left\",\"bottom center\",\"bottom right\"],dflt:\"middle center\",arrayOk:!0,editType:\"calc\"},textfont:l({editType:\"calc\",colorEditType:\"style\",arrayOk:!0})}},{\"../../components/colorscale/attributes\":164,\"../../components/drawing\":179,\"../../components/drawing/attributes\":178,\"../../lib/extend\":281,\"../../plots/cartesian/axis_format_attributes\":337,\"../../plots/font_attributes\":365,\"../../plots/template_attributes\":373,\"./constants\":504}],501:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../../lib\"),i=e(\"../../plots/cartesian/axes\"),o=e(\"../../plots/cartesian/align_period\"),l=e(\"../../constants/numerical\").BADNUM,s=e(\"./subtypes\"),u=e(\"./colorscale_calc\"),c=e(\"./arrays_to_calcdata\"),f=e(\"./calc_selection\");function d(e,t,n,r,a,o,l){var u=t._length,c=e._fullLayout,f=n._id,d=r._id,p=c._firstScatter[m(t)]===t.uid,h=(g(t,c,n,r)||{}).orientation,y=t.fill;n._minDtick=0,r._minDtick=0;var v={padded:!0},b={padded:!0};l&&(v.ppad=b.ppad=l);var x=u<2||a[0]!==a[u-1]||o[0]!==o[u-1];x&&(\"tozerox\"===y||\"tonextx\"===y&&(p||\"h\"===h))?v.tozero=!0:(t.error_y||{}).visible||\"tonexty\"!==y&&\"tozeroy\"!==y&&(s.hasMarkers(t)||s.hasText(t))||(v.padded=!1,v.ppad=0),x&&(\"tozeroy\"===y||\"tonexty\"===y&&(p||\"v\"===h))?b.tozero=!0:\"tonextx\"!==y&&\"tozerox\"!==y||(b.padded=!1),f&&(t._extremes[f]=i.findExtremes(n,a,v)),d&&(t._extremes[d]=i.findExtremes(r,o,b))}function p(e,t){if(s.hasMarkers(e)){var n,r=e.marker,o=1.6*(e.marker.sizeref||1);if(n=\"area\"===e.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/o),3)}:function(e){return Math.max((e||0)/o,3)},a.isArrayOrTypedArray(r.size)){var l={type:\"linear\"};i.setConvert(l);for(var u=l.makeCalcdata(e.marker,\"size\"),c=new Array(t),f=0;f<t;f++)c[f]=n(u[f]);return c}return n(r.size)}}function h(e,t){var n=m(t),r=e._firstScatter;r[n]||(r[n]=t.uid)}function m(e){var t=e.stackgroup;return e.xaxis+e.yaxis+e.type+(t?\"-\"+t:\"\")}function g(e,t,n,r){var a=e.stackgroup;if(a){var i=t._scatterStackOpts[n._id+r._id][a],o=\"v\"===i.orientation?r:n;return\"linear\"===o.type||\"log\"===o.type?i:void 0}}t.exports={calc:function(e,t){var n,s,m,y,v,b,x=e._fullLayout,w=i.getFromId(e,t.xaxis||\"x\"),_=i.getFromId(e,t.yaxis||\"y\"),k=w.makeCalcdata(t,\"x\"),T=_.makeCalcdata(t,\"y\"),M=o(t,w,\"x\",k),S=o(t,_,\"y\",T),E=M.vals,C=S.vals,O=t._length,A=new Array(O),D=t.ids,P=g(t,x,w,_),R=!1;h(x,t);var L,I=\"x\",j=\"y\";P?(a.pushUnique(P.traceIndices,t._expandedIndex),(n=\"v\"===P.orientation)?(j=\"s\",L=\"x\"):(I=\"s\",L=\"y\"),v=\"interpolate\"===P.stackgaps):d(e,t,w,_,E,C,p(t,O));var N=!!t.xperiodalignment,z=!!t.yperiodalignment;for(s=0;s<O;s++){var F=A[s]={},Z=r(E[s]),B=r(C[s]);Z&&B?(F[I]=E[s],F[j]=C[s],N&&(F.orig_x=k[s],F.xEnd=M.ends[s],F.xStart=M.starts[s]),z&&(F.orig_y=T[s],F.yEnd=S.ends[s],F.yStart=S.starts[s])):P&&(n?Z:B)?(F[L]=n?E[s]:C[s],F.gap=!0,v?(F.s=l,R=!0):F.s=0):F[I]=F[j]=l,D&&(F.id=String(D[s]))}if(c(A,t),u(e,t),f(A,t),P){for(s=0;s<A.length;)A[s][L]===l?A.splice(s,1):s++;if(a.sort(A,(function(e,t){return e[L]-t[L]||e.i-t.i})),R){for(s=0;s<A.length-1&&A[s].gap;)s++;for((b=A[s].s)||(b=A[s].s=0),m=0;m<s;m++)A[m].s=b;for(y=A.length-1;y>s&&A[y].gap;)y--;for(b=A[y].s,m=A.length-1;m>y;m--)A[m].s=b;for(;s<y;)if(A[++s].gap){for(m=s+1;A[m].gap;)m++;for(var q=A[s-1][L],H=A[s-1].s,U=(A[m].s-H)/(A[m][L]-q);s<m;)A[s].s=H+(A[s][L]-q)*U,s++}}}return A},calcMarkerSize:p,calcAxisExpansion:d,setFirstScatter:h,getStackOpts:g}},{\"../../constants/numerical\":267,\"../../lib\":287,\"../../plots/cartesian/align_period\":331,\"../../plots/cartesian/axes\":334,\"./arrays_to_calcdata\":499,\"./calc_selection\":502,\"./colorscale_calc\":503,\"./subtypes\":525,\"fast-isnumeric\":33}],502:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports=function(e,t){r.isArrayOrTypedArray(t.selectedpoints)&&r.tagSelected(e,t)}},{\"../../lib\":287}],503:[function(e,t,n){\"use strict\";var r=e(\"../../components/colorscale/helpers\").hasColorscale,a=e(\"../../components/colorscale/calc\"),i=e(\"./subtypes\");t.exports=function(e,t){i.hasLines(t)&&r(t,\"line\")&&a(e,t,{vals:t.line.color,containerStr:\"line\",cLetter:\"c\"}),i.hasMarkers(t)&&(r(t,\"marker\")&&a(e,t,{vals:t.marker.color,containerStr:\"marker\",cLetter:\"c\"}),r(t,\"marker.line\")&&a(e,t,{vals:t.marker.line.color,containerStr:\"marker.line\",cLetter:\"c\"}))}},{\"../../components/colorscale/calc\":165,\"../../components/colorscale/helpers\":168,\"./subtypes\":525}],504:[function(e,t,n){\"use strict\";t.exports={PTS_LINESONLY:20,minTolerance:.2,toleranceGrowth:10,maxScreensAway:20,eventDataKeys:[]}},{}],505:[function(e,t,n){\"use strict\";var r=e(\"./calc\");function a(e,t,n,r,a,i,o){a[r]=!0;var l={i:null,gap:!0,s:0};if(l[o]=n,e.splice(t,0,l),t&&n===e[t-1][o]){var s=e[t-1];l.s=s.s,l.i=s.i,l.gap=s.gap}else i&&(l.s=function(e,t,n,r){var a=e[t-1],i=e[t+1];return i?a?a.s+(i.s-a.s)*(n-a[r])/(i[r]-a[r]):i.s:a.s}(e,t,n,o));t||(e[0].t=e[1].t,e[0].trace=e[1].trace,delete e[1].t,delete e[1].trace)}t.exports=function(e,t){var n=t.xaxis,i=t.yaxis,o=n._id+i._id,l=e._fullLayout._scatterStackOpts[o];if(l){var s,u,c,f,d,p,h,m,g,y,v,b,x,w,_,k=e.calcdata;for(var T in l){var M=(y=l[T]).traceIndices;if(M.length){for(v=\"interpolate\"===y.stackgaps,b=y.groupnorm,\"v\"===y.orientation?(x=\"x\",w=\"y\"):(x=\"y\",w=\"x\"),_=new Array(M.length),s=0;s<_.length;s++)_[s]=!1;p=k[M[0]];var S=new Array(p.length);for(s=0;s<p.length;s++)S[s]=p[s][x];for(s=1;s<M.length;s++){for(d=k[M[s]],u=c=0;u<d.length;u++){for(h=d[u][x];h>S[c]&&c<S.length;c++)a(d,u,S[c],s,_,v,x),u++;if(h!==S[c]){for(f=0;f<s;f++)a(k[M[f]],c,h,f,_,v,x);S.splice(c,0,h)}c++}for(;c<S.length;c++)a(d,u,S[c],s,_,v,x),u++}var E=S.length;for(u=0;u<p.length;u++){for(m=p[u][w]=p[u].s,s=1;s<M.length;s++)(d=k[M[s]])[0].trace._rawLength=d[0].trace._length,d[0].trace._length=E,m+=d[u].s,d[u][w]=m;if(b)for(g=(\"fraction\"===b?m:m/100)||1,s=0;s<M.length;s++){var C=k[M[s]][u];C[w]/=g,C.sNorm=C.s/g}}for(s=0;s<M.length;s++){var O=(d=k[M[s]])[0].trace,A=r.calcMarkerSize(O,O._rawLength),D=Array.isArray(A);if(A&&_[s]||D){var P=A;for(A=new Array(E),u=0;u<E;u++)A[u]=d[u].gap?0:D?P[d[u].i]:P}var R=new Array(E),L=new Array(E);for(u=0;u<E;u++)R[u]=d[u].x,L[u]=d[u].y;r.calcAxisExpansion(e,O,n,i,R,L,A),d[0].t.orientation=y.orientation}}}}}},{\"./calc\":501}],506:[function(e,t,n){\"use strict\";t.exports=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(\"scatter\"===n.type){var r=n.fill;if(\"none\"!==r&&\"toself\"!==r&&(n.opacity=void 0,\"tonexty\"===r||\"tonextx\"===r))for(var a=t-1;a>=0;a--){var i=e[a];if(\"scatter\"===i.type&&i.xaxis===n.xaxis&&i.yaxis===n.yaxis){i.opacity=void 0;break}}}}}},{}],507:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../registry\"),i=e(\"./attributes\"),o=e(\"./constants\"),l=e(\"./subtypes\"),s=e(\"./xy_defaults\"),u=e(\"./period_defaults\"),c=e(\"./stack_defaults\"),f=e(\"./marker_defaults\"),d=e(\"./line_defaults\"),p=e(\"./line_shape_defaults\"),h=e(\"./text_defaults\"),m=e(\"./fillcolor_defaults\");t.exports=function(e,t,n,g){function y(n,a){return r.coerce(e,t,i,n,a)}var v=s(e,t,g,y);if(v||(t.visible=!1),t.visible){u(e,t,g,y),y(\"xhoverformat\"),y(\"yhoverformat\");var b=c(e,t,g,y),x=!b&&v<o.PTS_LINESONLY?\"lines+markers\":\"lines\";y(\"text\"),y(\"hovertext\"),y(\"mode\",x),l.hasLines(t)&&(d(e,t,n,g,y),p(e,t,y),y(\"connectgaps\"),y(\"line.simplify\")),l.hasMarkers(t)&&f(e,t,n,g,y,{gradient:!0}),l.hasText(t)&&(y(\"texttemplate\"),h(e,t,g,y));var w=[];(l.hasMarkers(t)||l.hasText(t))&&(y(\"cliponaxis\"),y(\"marker.maxdisplayed\"),w.push(\"points\")),y(\"fill\",b?b.fillDflt:\"none\"),\"none\"!==t.fill&&(m(e,t,n,y),l.hasLines(t)||p(e,t,y));var _=(t.line||{}).color,k=(t.marker||{}).color;\"tonext\"!==t.fill&&\"toself\"!==t.fill||w.push(\"fills\"),y(\"hoveron\",w.join(\"+\")||\"points\"),\"fills\"!==t.hoveron&&y(\"hovertemplate\");var T=a.getComponentMethod(\"errorbars\",\"supplyDefaults\");T(e,t,_||k||n,{axis:\"y\"}),T(e,t,_||k||n,{axis:\"x\",inherit:\"y\"}),r.coerceSelectionMarkerOpacity(t,y)}}},{\"../../lib\":287,\"../../registry\":378,\"./attributes\":500,\"./constants\":504,\"./fillcolor_defaults\":508,\"./line_defaults\":513,\"./line_shape_defaults\":515,\"./marker_defaults\":519,\"./period_defaults\":520,\"./stack_defaults\":523,\"./subtypes\":525,\"./text_defaults\":526,\"./xy_defaults\":527}],508:[function(e,t,n){\"use strict\";var r=e(\"../../components/color\"),a=e(\"../../lib\").isArrayOrTypedArray;t.exports=function(e,t,n,i){var o=!1;if(t.marker){var l=t.marker.color,s=(t.marker.line||{}).color;l&&!a(l)?o=l:s&&!a(s)&&(o=s)}i(\"fillcolor\",r.addOpacity((t.line||{}).color||o||n,.5))}},{\"../../components/color\":157,\"../../lib\":287}],509:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axes\");t.exports=function(e,t,n){var a={},i={_fullLayout:n},o=r.getFromTrace(i,t,\"x\"),l=r.getFromTrace(i,t,\"y\");return a.xLabel=r.tickText(o,o.c2l(e.x),!0).text,a.yLabel=r.tickText(l,l.c2l(e.y),!0).text,a}},{\"../../plots/cartesian/axes\":334}],510:[function(e,t,n){\"use strict\";var r=e(\"../../components/color\"),a=e(\"./subtypes\");t.exports=function(e,t){var n,i;if(\"lines\"===e.mode)return(n=e.line.color)&&r.opacity(n)?n:e.fillcolor;if(\"none\"===e.mode)return e.fill?e.fillcolor:\"\";var o=t.mcc||(e.marker||{}).color,l=t.mlcc||((e.marker||{}).line||{}).color;return(i=o&&r.opacity(o)?o:l&&r.opacity(l)&&(t.mlw||((e.marker||{}).line||{}).width)?l:\"\")?r.opacity(i)<.3?r.addOpacity(i,.3):i:(n=(e.line||{}).color)&&r.opacity(n)&&a.hasLines(e)&&e.line.width?n:e.fillcolor}},{\"../../components/color\":157,\"./subtypes\":525}],511:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../components/fx\"),i=e(\"../../registry\"),o=e(\"./get_trace_color\"),l=e(\"../../components/color\"),s=r.fillText;t.exports=function(e,t,n,u){var c=e.cd,f=c[0].trace,d=e.xa,p=e.ya,h=d.c2p(t),m=p.c2p(n),g=[h,m],y=f.hoveron||\"\",v=-1!==f.mode.indexOf(\"markers\")?3:.5,b=!!f.xperiodalignment,x=!!f.yperiodalignment;if(-1!==y.indexOf(\"points\")){var w=function(e){var t=Math.max(v,e.mrc||0),n=d.c2p(e.x)-h,r=p.c2p(e.y)-m;return Math.max(Math.sqrt(n*n+r*r)-t,1-v/t)},_=a.getDistanceFunction(u,(function(e){if(b){var t=d.c2p(e.xStart),n=d.c2p(e.xEnd);return h>=Math.min(t,n)&&h<=Math.max(t,n)?0:1/0}var r=Math.max(3,e.mrc||0),a=1-1/r,i=Math.abs(d.c2p(e.x)-h);return i<r?a*i/r:i-r+a}),(function(e){if(x){var t=p.c2p(e.yStart),n=p.c2p(e.yEnd);return m>=Math.min(t,n)&&m<=Math.max(t,n)?0:1/0}var r=Math.max(3,e.mrc||0),a=1-1/r,i=Math.abs(p.c2p(e.y)-m);return i<r?a*i/r:i-r+a}),w);if(a.getClosest(c,_,e),!1!==e.index){var k=c[e.index],T=d.c2p(k.x,!0),M=p.c2p(k.y,!0),S=k.mrc||1;e.index=k.i;var E=c[0].t.orientation,C=E&&(k.sNorm||k.s),O=\"h\"===E?C:void 0!==k.orig_x?k.orig_x:k.x,A=\"v\"===E?C:void 0!==k.orig_y?k.orig_y:k.y;return r.extendFlat(e,{color:o(f,k),x0:T-S,x1:T+S,xLabelVal:O,y0:M-S,y1:M+S,yLabelVal:A,spikeDistance:w(k),hovertemplate:f.hovertemplate}),s(k,f,e),i.getComponentMethod(\"errorbars\",\"hoverInfo\")(k,f,e),[e]}}if(-1!==y.indexOf(\"fills\")&&f._polygons){var D,P,R,L,I,j,N,z,F,Z=f._polygons,B=[],q=!1,H=1/0,U=-1/0,W=1/0,V=-1/0;for(D=0;D<Z.length;D++)(R=Z[D]).contains(g)&&(q=!q,B.push(R),W=Math.min(W,R.ymin),V=Math.max(V,R.ymax));if(q){var Y=((W=Math.max(W,0))+(V=Math.min(V,p._length)))/2;for(D=0;D<B.length;D++)for(L=B[D].pts,P=1;P<L.length;P++)(z=L[P-1][1])>Y!=(F=L[P][1])>=Y&&(j=L[P-1][0],N=L[P][0],F-z&&(I=j+(N-j)*(Y-z)/(F-z),H=Math.min(H,I),U=Math.max(U,I)));H=Math.max(H,0),U=Math.min(U,d._length);var G=l.defaultLine;return l.opacity(f.fillcolor)?G=f.fillcolor:l.opacity((f.line||{}).color)&&(G=f.line.color),r.extendFlat(e,{distance:e.maxHoverDistance,x0:H,x1:U,y0:Y,y1:Y,color:G,hovertemplate:!1}),delete e.index,f.text&&!Array.isArray(f.text)?e.text=String(f.text):e.text=f.name,[e]}}}},{\"../../components/color\":157,\"../../components/fx\":197,\"../../lib\":287,\"../../registry\":378,\"./get_trace_color\":510}],512:[function(e,t,n){\"use strict\";var r=e(\"./subtypes\");t.exports={hasLines:r.hasLines,hasMarkers:r.hasMarkers,hasText:r.hasText,isBubble:r.isBubble,attributes:e(\"./attributes\"),supplyDefaults:e(\"./defaults\"),crossTraceDefaults:e(\"./cross_trace_defaults\"),calc:e(\"./calc\").calc,crossTraceCalc:e(\"./cross_trace_calc\"),arraysToCalcdata:e(\"./arrays_to_calcdata\"),plot:e(\"./plot\"),colorbar:e(\"./marker_colorbar\"),formatLabels:e(\"./format_labels\"),style:e(\"./style\").style,styleOnSelect:e(\"./style\").styleOnSelect,hoverPoints:e(\"./hover\"),selectPoints:e(\"./select\"),animatable:!0,moduleType:\"trace\",name:\"scatter\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"cartesian\",\"svg\",\"symbols\",\"errorBarsOK\",\"showLegend\",\"scatter-like\",\"zoomScale\"],meta:{}}},{\"../../plots/cartesian\":348,\"./arrays_to_calcdata\":499,\"./attributes\":500,\"./calc\":501,\"./cross_trace_calc\":505,\"./cross_trace_defaults\":506,\"./defaults\":507,\"./format_labels\":509,\"./hover\":511,\"./marker_colorbar\":518,\"./plot\":521,\"./select\":522,\"./style\":524,\"./subtypes\":525}],513:[function(e,t,n){\"use strict\";var r=e(\"../../lib\").isArrayOrTypedArray,a=e(\"../../components/colorscale/helpers\").hasColorscale,i=e(\"../../components/colorscale/defaults\");t.exports=function(e,t,n,o,l,s){var u=(e.marker||{}).color;l(\"line.color\",n),a(e,\"line\")?i(e,t,o,l,{prefix:\"line.\",cLetter:\"c\"}):l(\"line.color\",!r(u)&&u||n),l(\"line.width\"),(s||{}).noDash||l(\"line.dash\")}},{\"../../components/colorscale/defaults\":167,\"../../components/colorscale/helpers\":168,\"../../lib\":287}],514:[function(e,t,n){\"use strict\";var r=e(\"../../constants/numerical\"),a=r.BADNUM,i=r.LOG_CLIP,o=i+.5,l=i-.5,s=e(\"../../lib\"),u=s.segmentsIntersect,c=s.constrain,f=e(\"./constants\");t.exports=function(e,t){var n,r,i,d,p,h,m,g,y,v,b,x,w,_,k,T,M,S,E=t.xaxis,C=t.yaxis,O=\"log\"===E.type,A=\"log\"===C.type,D=E._length,P=C._length,R=t.connectGaps,L=t.baseTolerance,I=t.shape,j=\"linear\"===I,N=t.fill&&\"none\"!==t.fill,z=[],F=f.minTolerance,Z=e.length,B=new Array(Z),q=0;function H(n){var r=e[n];if(!r)return!1;var i=t.linearized?E.l2p(r.x):E.c2p(r.x),s=t.linearized?C.l2p(r.y):C.c2p(r.y);if(i===a){if(O&&(i=E.c2p(r.x,!0)),i===a)return!1;A&&s===a&&(i*=Math.abs(E._m*P*(E._m>0?o:l)/(C._m*D*(C._m>0?o:l)))),i*=1e3}if(s===a){if(A&&(s=C.c2p(r.y,!0)),s===a)return!1;s*=1e3}return[i,s]}function U(e,t,n,r){var a=n-e,i=r-t,o=.5-e,l=.5-t,s=a*a+i*i,u=a*o+i*l;if(u>0&&u<s){var c=o*i-l*a;if(c*c<s)return!0}}function W(e,t){var n=e[0]/D,r=e[1]/P,a=Math.max(0,-n,n-1,-r,r-1);return a&&void 0!==M&&U(n,r,M,S)&&(a=0),a&&t&&U(n,r,t[0]/D,t[1]/P)&&(a=0),(1+f.toleranceGrowth*a)*L}function V(e,t){var n=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(n*n+r*r)}var Y,G,$,X,K,J,Q,ee=f.maxScreensAway,te=-D*ee,ne=D*(1+ee),re=-P*ee,ae=P*(1+ee),ie=[[te,re,ne,re],[ne,re,ne,ae],[ne,ae,te,ae],[te,ae,te,re]];function oe(e){if(e[0]<te||e[0]>ne||e[1]<re||e[1]>ae)return[c(e[0],te,ne),c(e[1],re,ae)]}function le(e,t){return e[0]===t[0]&&(e[0]===te||e[0]===ne)||e[1]===t[1]&&(e[1]===re||e[1]===ae)||void 0}function se(e,t,n){return function(r,a){var i=oe(r),o=oe(a),l=[];if(i&&o&&le(i,o))return l;i&&l.push(i),o&&l.push(o);var u=2*s.constrain((r[e]+a[e])/2,t,n)-((i||r)[e]+(o||a)[e]);return u&&((i&&o?u>0==i[e]>o[e]?i:o:i||o)[e]+=u),l}}function ue(e){var t=e[0],n=e[1],r=t===B[q-1][0],a=n===B[q-1][1];if(!r||!a)if(q>1){var i=t===B[q-2][0],o=n===B[q-2][1];r&&(t===te||t===ne)&&i?o?q--:B[q-1]=e:a&&(n===re||n===ae)&&o?i?q--:B[q-1]=e:B[q++]=e}else B[q++]=e}function ce(e){B[q-1][0]!==e[0]&&B[q-1][1]!==e[1]&&ue([$,X]),ue(e),K=null,$=X=0}function fe(e){if(M=e[0]/D,S=e[1]/P,Y=e[0]<te?te:e[0]>ne?ne:0,G=e[1]<re?re:e[1]>ae?ae:0,Y||G){if(q)if(K){var t=Q(K,e);t.length>1&&(ce(t[0]),B[q++]=t[1])}else J=Q(B[q-1],e)[0],B[q++]=J;else B[q++]=[Y||e[0],G||e[1]];var n=B[q-1];Y&&G&&(n[0]!==Y||n[1]!==G)?(K&&($!==Y&&X!==G?ue($&&X?(r=K,i=(a=e)[0]-r[0],o=(a[1]-r[1])/i,(r[1]*a[0]-a[1]*r[0])/i>0?[o>0?te:ne,ae]:[o>0?ne:te,re]):[$||Y,X||G]):$&&X&&ue([$,X])),ue([Y,G])):$-Y&&X-G&&ue([Y||$,G||X]),K=e,$=Y,X=G}else K&&ce(Q(K,e)[0]),B[q++]=e;var r,a,i,o}for(\"linear\"===I||\"spline\"===I?Q=function(e,t){for(var n=[],r=0,a=0;a<4;a++){var i=ie[a],o=u(e[0],e[1],t[0],t[1],i[0],i[1],i[2],i[3]);o&&(!r||Math.abs(o.x-n[0][0])>1||Math.abs(o.y-n[0][1])>1)&&(o=[o.x,o.y],r&&V(o,e)<V(n[0],e)?n.unshift(o):n.push(o),r++)}return n}:\"hv\"===I||\"vh\"===I?Q=function(e,t){var n=[],r=oe(e),a=oe(t);return r&&a&&le(r,a)||(r&&n.push(r),a&&n.push(a)),n}:\"hvh\"===I?Q=se(0,te,ne):\"vhv\"===I&&(Q=se(1,re,ae)),n=0;n<Z;n++)if(r=H(n)){for(q=0,K=null,fe(r),n++;n<Z;n++){if(!(d=H(n))){if(R)continue;break}if(j&&t.simplify){var de=H(n+1);if(v=V(d,r),N&&(0===q||q===Z-1)||!(v<W(d,de)*F)){for(g=[(d[0]-r[0])/v,(d[1]-r[1])/v],p=r,b=v,x=_=k=0,m=!1,i=d,n++;n<e.length;n++){if(h=de,de=H(n+1),!h){if(R)continue;break}if(T=(y=[h[0]-r[0],h[1]-r[1]])[0]*g[1]-y[1]*g[0],_=Math.min(_,T),(k=Math.max(k,T))-_>W(h,de))break;i=h,(w=y[0]*g[0]+y[1]*g[1])>b?(b=w,d=h,m=!1):w<x&&(x=w,p=h,m=!0)}if(m?(fe(d),i!==p&&fe(p)):(p!==r&&fe(p),i!==d&&fe(d)),fe(i),n>=e.length||!h)break;fe(h),r=h}}else fe(d)}K&&ue([$||K[0],X||K[1]]),z.push(B.slice(0,q))}return z}},{\"../../constants/numerical\":267,\"../../lib\":287,\"./constants\":504}],515:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){\"spline\"===n(\"line.shape\")&&n(\"line.smoothing\")}},{}],516:[function(e,t,n){\"use strict\";var r={tonextx:1,tonexty:1,tonext:1};t.exports=function(e,t,n){var a,i,o,l,s,u={},c=!1,f=-1,d=0,p=-1;for(i=0;i<n.length;i++)(o=(a=n[i][0].trace).stackgroup||\"\")?o in u?s=u[o]:(s=u[o]=d,d++):a.fill in r&&p>=0?s=p:(s=p=d,d++),s<f&&(c=!0),a._groupIndex=f=s;var h=n.slice();c&&h.sort((function(e,t){var n=e[0].trace,r=t[0].trace;return n._groupIndex-r._groupIndex||n.index-r.index}));var m={};for(i=0;i<h.length;i++)o=(a=h[i][0].trace).stackgroup||\"\",!0===a.visible?(a._nexttrace=null,a.fill in r&&(l=m[o],a._prevtrace=l||null,l&&(l._nexttrace=a)),a._ownfill=a.fill&&(\"tozero\"===a.fill.substr(0,6)||\"toself\"===a.fill||\"to\"===a.fill.substr(0,2)&&!a._prevtrace),m[o]=a):a._prevtrace=a._nexttrace=a._ownfill=null;return h}},{}],517:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\");t.exports=function(e,t){t||(t=2);var n=e.marker,a=n.sizeref||1,i=n.sizemin||0,o=\"area\"===n.sizemode?function(e){return Math.sqrt(e/a)}:function(e){return e/a};return function(e){var n=o(e/t);return r(n)&&n>0?Math.max(n,i):0}}},{\"fast-isnumeric\":33}],518:[function(e,t,n){\"use strict\";t.exports={container:\"marker\",min:\"cmin\",max:\"cmax\"}},{}],519:[function(e,t,n){\"use strict\";var r=e(\"../../components/color\"),a=e(\"../../components/colorscale/helpers\").hasColorscale,i=e(\"../../components/colorscale/defaults\"),o=e(\"./subtypes\");t.exports=function(e,t,n,l,s,u){var c=o.isBubble(e),f=(e.line||{}).color;u=u||{},f&&(n=f),s(\"marker.symbol\"),s(\"marker.opacity\",c?.7:1),s(\"marker.size\"),s(\"marker.color\",n),a(e,\"marker\")&&i(e,t,l,s,{prefix:\"marker.\",cLetter:\"c\"}),u.noSelect||(s(\"selected.marker.color\"),s(\"unselected.marker.color\"),s(\"selected.marker.size\"),s(\"unselected.marker.size\")),u.noLine||(s(\"marker.line.color\",f&&!Array.isArray(f)&&t.marker.color!==f?f:c?r.background:r.defaultLine),a(e,\"marker.line\")&&i(e,t,l,s,{prefix:\"marker.line.\",cLetter:\"c\"}),s(\"marker.line.width\",c?1:0)),c&&(s(\"marker.sizeref\"),s(\"marker.sizemin\"),s(\"marker.sizemode\")),u.gradient&&\"none\"!==s(\"marker.gradient.type\")&&s(\"marker.gradient.color\")}},{\"../../components/color\":157,\"../../components/colorscale/defaults\":167,\"../../components/colorscale/helpers\":168,\"./subtypes\":525}],520:[function(e,t,n){\"use strict\";var r=e(\"../../lib\").dateTick0,a=e(\"../../constants/numerical\").ONEWEEK;function i(e,t){return r(t,e%a==0?1:0)}t.exports=function(e,t,n,r,a){if(a||(a={x:!0,y:!0}),a.x){var o=r(\"xperiod\");o&&(r(\"xperiod0\",i(o,t.xcalendar)),r(\"xperiodalignment\"))}if(a.y){var l=r(\"yperiod\");l&&(r(\"yperiod0\",i(l,t.ycalendar)),r(\"yperiodalignment\"))}}},{\"../../constants/numerical\":267,\"../../lib\":287}],521:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../registry\"),i=e(\"../../lib\"),o=i.ensureSingle,l=i.identity,s=e(\"../../components/drawing\"),u=e(\"./subtypes\"),c=e(\"./line_points\"),f=e(\"./link_traces\"),d=e(\"../../lib/polygon\").tester;function p(e,t,n,f,p,h,m){var g;!function(e,t,n,a,o){var l=n.xaxis,s=n.yaxis,c=r.extent(i.simpleMap(l.range,l.r2c)),f=r.extent(i.simpleMap(s.range,s.r2c)),d=a[0].trace;if(u.hasMarkers(d)){var p=d.marker.maxdisplayed;if(0!==p){var h=a.filter((function(e){return e.x>=c[0]&&e.x<=c[1]&&e.y>=f[0]&&e.y<=f[1]})),m=Math.ceil(h.length/p),g=0;o.forEach((function(e,n){var r=e[0].trace;u.hasMarkers(r)&&r.marker.maxdisplayed>0&&n<t&&g++}));var y=Math.round(g*m/3+Math.floor(g/3)*m/7.1);a.forEach((function(e){delete e.vis})),h.forEach((function(e,t){0===Math.round((t+y)%m)&&(e.vis=!0)}))}}}(0,t,n,f,p);var y=!!m&&m.duration>0;function v(e){return y?e.transition():e}var b=n.xaxis,x=n.yaxis,w=f[0].trace,_=w.line,k=r.select(h),T=o(k,\"g\",\"errorbars\"),M=o(k,\"g\",\"lines\"),S=o(k,\"g\",\"points\"),E=o(k,\"g\",\"text\");if(a.getComponentMethod(\"errorbars\",\"plot\")(e,T,n,m),!0===w.visible){var C,O;v(k).style(\"opacity\",w.opacity);var A=w.fill.charAt(w.fill.length-1);\"x\"!==A&&\"y\"!==A&&(A=\"\"),f[0][n.isRangePlot?\"nodeRangePlot3\":\"node3\"]=k;var D,P,R=\"\",L=[],I=w._prevtrace;I&&(R=I._prevRevpath||\"\",O=I._nextFill,L=I._polygons);var j,N,z,F,Z,B,q,H=\"\",U=\"\",W=[],V=i.noop;if(C=w._ownFill,u.hasLines(w)||\"none\"!==w.fill){for(O&&O.datum(f),-1!==[\"hv\",\"vh\",\"hvh\",\"vhv\"].indexOf(_.shape)?(j=s.steps(_.shape),N=s.steps(_.shape.split(\"\").reverse().join(\"\"))):j=N=\"spline\"===_.shape?function(e){var t=e[e.length-1];return e.length>1&&e[0][0]===t[0]&&e[0][1]===t[1]?s.smoothclosed(e.slice(1),_.smoothing):s.smoothopen(e,_.smoothing)}:function(e){return\"M\"+e.join(\"L\")},z=function(e){return N(e.reverse())},W=c(f,{xaxis:b,yaxis:x,connectGaps:w.connectgaps,baseTolerance:Math.max(_.width||1,3)/4,shape:_.shape,simplify:_.simplify,fill:w.fill}),q=w._polygons=new Array(W.length),g=0;g<W.length;g++)w._polygons[g]=d(W[g]);W.length&&(F=W[0][0],B=(Z=W[W.length-1])[Z.length-1]),V=function(e){return function(t){if(D=j(t),P=z(t),H?A?(H+=\"L\"+D.substr(1),U=P+\"L\"+U.substr(1)):(H+=\"Z\"+D,U=P+\"Z\"+U):(H=D,U=P),u.hasLines(w)&&t.length>1){var n=r.select(this);if(n.datum(f),e)v(n.style(\"opacity\",0).attr(\"d\",D).call(s.lineGroupStyle)).style(\"opacity\",1);else{var a=v(n);a.attr(\"d\",D),s.singleLineStyle(f,a)}}}}}var Y=M.selectAll(\".js-line\").data(W);v(Y.exit()).style(\"opacity\",0).remove(),Y.each(V(!1)),Y.enter().append(\"path\").classed(\"js-line\",!0).style(\"vector-effect\",\"non-scaling-stroke\").call(s.lineGroupStyle).each(V(!0)),s.setClipUrl(Y,n.layerClipId,e),W.length?(C?(C.datum(f),F&&B&&(A?(\"y\"===A?F[1]=B[1]=x.c2p(0,!0):\"x\"===A&&(F[0]=B[0]=b.c2p(0,!0)),v(C).attr(\"d\",\"M\"+B+\"L\"+F+\"L\"+H.substr(1)).call(s.singleFillStyle)):v(C).attr(\"d\",H+\"Z\").call(s.singleFillStyle))):O&&(\"tonext\"===w.fill.substr(0,6)&&H&&R?(\"tonext\"===w.fill?v(O).attr(\"d\",H+\"Z\"+R+\"Z\").call(s.singleFillStyle):v(O).attr(\"d\",H+\"L\"+R.substr(1)+\"Z\").call(s.singleFillStyle),w._polygons=w._polygons.concat(L)):($(O),w._polygons=null)),w._prevRevpath=U,w._prevPolygons=q):(C?$(C):O&&$(O),w._polygons=w._prevRevpath=w._prevPolygons=null),S.datum(f),E.datum(f),function(t,a,i){var o,c=i[0].trace,f=u.hasMarkers(c),d=u.hasText(c),p=ee(c),h=te,m=te;if(f||d){var g=l,w=c.stackgroup,_=w&&\"infer zero\"===e._fullLayout._scatterStackOpts[b._id+x._id][w].stackgaps;c.marker.maxdisplayed||c._needsCull?g=_?K:X:w&&!_&&(g=J),f&&(h=g),d&&(m=g)}var k,T=(o=t.selectAll(\"path.point\").data(h,p)).enter().append(\"path\").classed(\"point\",!0);y&&T.call(s.pointStyle,c,e).call(s.translatePoints,b,x).style(\"opacity\",0).transition().style(\"opacity\",1),o.order(),f&&(k=s.makePointStyleFns(c)),o.each((function(t){var a=r.select(this),i=v(a);s.translatePoint(t,i,b,x)?(s.singlePointStyle(t,i,c,k,e),n.layerClipId&&s.hideOutsideRangePoint(t,i,b,x,c.xcalendar,c.ycalendar),c.customdata&&a.classed(\"plotly-customdata\",null!==t.data&&void 0!==t.data)):i.remove()})),y?o.exit().transition().style(\"opacity\",0).remove():o.exit().remove(),(o=a.selectAll(\"g\").data(m,p)).enter().append(\"g\").classed(\"textpoint\",!0).append(\"text\"),o.order(),o.each((function(e){var t=r.select(this),a=v(t.select(\"text\"));s.translatePoint(e,a,b,x)?n.layerClipId&&s.hideOutsideRangePoint(e,t,b,x,c.xcalendar,c.ycalendar):t.remove()})),o.selectAll(\"text\").call(s.textPointStyle,c,e).each((function(e){var t=b.c2p(e.x),n=x.c2p(e.y);r.select(this).selectAll(\"tspan.line\").each((function(){v(r.select(this)).attr({x:t,y:n})}))})),o.exit().remove()}(S,E,f);var G=!1===w.cliponaxis?null:n.layerClipId;s.setClipUrl(S,G,e),s.setClipUrl(E,G,e)}function $(e){v(e).attr(\"d\",\"M0,0Z\")}function X(e){return e.filter((function(e){return!e.gap&&e.vis}))}function K(e){return e.filter((function(e){return e.vis}))}function J(e){return e.filter((function(e){return!e.gap}))}function Q(e){return e.id}function ee(e){if(e.ids)return Q}function te(){return!1}}t.exports=function(e,t,n,a,i,u){var c,d,h=!i,m=!!i&&i.duration>0,g=f(e,t,n);(c=a.selectAll(\"g.trace\").data(g,(function(e){return e[0].trace.uid}))).enter().append(\"g\").attr(\"class\",(function(e){return\"trace scatter trace\"+e[0].trace.uid})).style(\"stroke-miterlimit\",2),c.order(),function(e,t,n){t.each((function(t){var a=o(r.select(this),\"g\",\"fills\");s.setClipUrl(a,n.layerClipId,e);var i=t[0].trace,u=[];i._ownfill&&u.push(\"_ownFill\"),i._nexttrace&&u.push(\"_nextFill\");var c=a.selectAll(\"g\").data(u,l);c.enter().append(\"g\"),c.exit().each((function(e){i[e]=null})).remove(),c.order().each((function(e){i[e]=o(r.select(this),\"path\",\"js-fill\")}))}))}(e,c,t),m?(u&&(d=u()),r.transition().duration(i.duration).ease(i.easing).each(\"end\",(function(){d&&d()})).each(\"interrupt\",(function(){d&&d()})).each((function(){a.selectAll(\"g.trace\").each((function(n,r){p(e,r,t,n,g,this,i)}))}))):c.each((function(n,r){p(e,r,t,n,g,this,i)})),h&&c.exit().remove(),a.selectAll(\"path:not([d])\").remove()}},{\"../../components/drawing\":179,\"../../lib\":287,\"../../lib/polygon\":299,\"../../registry\":378,\"./line_points\":514,\"./link_traces\":516,\"./subtypes\":525,\"@plotly/d3\":20}],522:[function(e,t,n){\"use strict\";var r=e(\"./subtypes\");t.exports=function(e,t){var n,a,i,o,l=e.cd,s=e.xaxis,u=e.yaxis,c=[],f=l[0].trace;if(!r.hasMarkers(f)&&!r.hasText(f))return[];if(!1===t)for(n=0;n<l.length;n++)l[n].selected=0;else for(n=0;n<l.length;n++)a=l[n],i=s.c2p(a.x),o=u.c2p(a.y),null!==a.i&&t.contains([i,o],!1,n,e)?(c.push({pointNumber:a.i,x:s.c2d(a.x),y:u.c2d(a.y)}),a.selected=1):a.selected=0;return c}},{\"./subtypes\":525}],523:[function(e,t,n){\"use strict\";var r=[\"orientation\",\"groupnorm\",\"stackgaps\"];t.exports=function(e,t,n,a){var i=n._scatterStackOpts,o=a(\"stackgroup\");if(o){var l=t.xaxis+t.yaxis,s=i[l];s||(s=i[l]={});var u=s[o],c=!1;u?u.traces.push(t):(u=s[o]={traceIndices:[],traces:[t]},c=!0);for(var f={orientation:t.x&&!t.y?\"h\":\"v\"},d=0;d<r.length;d++){var p=r[d],h=p+\"Found\";if(!u[h]){var m=void 0!==e[p],g=\"orientation\"===p;if((m||c)&&(u[p]=a(p,f[p]),g&&(u.fillDflt=\"h\"===u[p]?\"tonextx\":\"tonexty\"),m&&(u[h]=!0,!c&&(delete u.traces[0][p],g))))for(var y=0;y<u.traces.length-1;y++){var v=u.traces[y];v._input.fill!==v.fill&&(v.fill=u.fillDflt)}}}return u}}},{}],524:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../components/drawing\"),i=e(\"../../registry\");function o(e,t,n){a.pointStyle(e.selectAll(\"path.point\"),t,n)}function l(e,t,n){a.textPointStyle(e.selectAll(\"text\"),t,n)}t.exports={style:function(e){var t=r.select(e).selectAll(\"g.trace.scatter\");t.style(\"opacity\",(function(e){return e[0].trace.opacity})),t.selectAll(\"g.points\").each((function(t){o(r.select(this),t.trace||t[0].trace,e)})),t.selectAll(\"g.text\").each((function(t){l(r.select(this),t.trace||t[0].trace,e)})),t.selectAll(\"g.trace path.js-line\").call(a.lineGroupStyle),t.selectAll(\"g.trace path.js-fill\").call(a.fillGroupStyle),i.getComponentMethod(\"errorbars\",\"style\")(t)},stylePoints:o,styleText:l,styleOnSelect:function(e,t,n){var r=t[0].trace;r.selectedpoints?(a.selectedPointStyle(n.selectAll(\"path.point\"),r),a.selectedTextStyle(n.selectAll(\"text\"),r)):(o(n,r,e),l(n,r,e))}}},{\"../../components/drawing\":179,\"../../registry\":378,\"@plotly/d3\":20}],525:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports={hasLines:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf(\"lines\")},hasMarkers:function(e){return e.visible&&(e.mode&&-1!==e.mode.indexOf(\"markers\")||\"splom\"===e.type)},hasText:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf(\"text\")},isBubble:function(e){return r.isPlainObject(e.marker)&&r.isArrayOrTypedArray(e.marker.size)}}},{\"../../lib\":287}],526:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports=function(e,t,n,a,i){i=i||{},a(\"textposition\"),r.coerceFont(a,\"textfont\",n.font),i.noSelect||(a(\"selected.textfont.color\"),a(\"unselected.textfont.color\"))}},{\"../../lib\":287}],527:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../registry\");t.exports=function(e,t,n,i){var o,l=i(\"x\"),s=i(\"y\");if(a.getComponentMethod(\"calendars\",\"handleTraceDefaults\")(e,t,[\"x\",\"y\"],n),l){var u=r.minRowLength(l);s?o=Math.min(u,r.minRowLength(s)):(o=u,i(\"y0\"),i(\"dy\"))}else{if(!s)return 0;o=r.minRowLength(s),i(\"x0\"),i(\"dx\")}return t._length=o,o}},{\"../../lib\":287,\"../../registry\":378}],528:[function(e,t,n){\"use strict\";var r=e(\"../../plots/template_attributes\").hovertemplateAttrs,a=e(\"../../plots/template_attributes\").texttemplateAttrs,i=e(\"../scatter/attributes\"),o=e(\"../../plots/attributes\"),l=e(\"../../components/colorscale/attributes\"),s=e(\"../../components/drawing/attributes\").dash,u=e(\"../../lib/extend\").extendFlat,c=i.marker,f=i.line,d=c.line;t.exports={a:{valType:\"data_array\",editType:\"calc\"},b:{valType:\"data_array\",editType:\"calc\"},c:{valType:\"data_array\",editType:\"calc\"},sum:{valType:\"number\",dflt:0,min:0,editType:\"calc\"},mode:u({},i.mode,{dflt:\"markers\"}),text:u({},i.text,{}),texttemplate:a({editType:\"plot\"},{keys:[\"a\",\"b\",\"c\",\"text\"]}),hovertext:u({},i.hovertext,{}),line:{color:f.color,width:f.width,dash:s,shape:u({},f.shape,{values:[\"linear\",\"spline\"]}),smoothing:f.smoothing,editType:\"calc\"},connectgaps:i.connectgaps,cliponaxis:i.cliponaxis,fill:u({},i.fill,{values:[\"none\",\"toself\",\"tonext\"],dflt:\"none\"}),fillcolor:i.fillcolor,marker:u({symbol:c.symbol,opacity:c.opacity,maxdisplayed:c.maxdisplayed,size:c.size,sizeref:c.sizeref,sizemin:c.sizemin,sizemode:c.sizemode,line:u({width:d.width,editType:\"calc\"},l(\"marker.line\")),gradient:c.gradient,editType:\"calc\"},l(\"marker\")),textfont:i.textfont,textposition:i.textposition,selected:i.selected,unselected:i.unselected,hoverinfo:u({},o.hoverinfo,{flags:[\"a\",\"b\",\"c\",\"text\",\"name\"]}),hoveron:i.hoveron,hovertemplate:r()}},{\"../../components/colorscale/attributes\":164,\"../../components/drawing/attributes\":178,\"../../lib/extend\":281,\"../../plots/attributes\":330,\"../../plots/template_attributes\":373,\"../scatter/attributes\":500}],529:[function(e,t,n){\"use strict\";var r=e(\"fast-isnumeric\"),a=e(\"../scatter/colorscale_calc\"),i=e(\"../scatter/arrays_to_calcdata\"),o=e(\"../scatter/calc_selection\"),l=e(\"../scatter/calc\").calcMarkerSize,s=[\"a\",\"b\",\"c\"],u={a:[\"b\",\"c\"],b:[\"a\",\"c\"],c:[\"a\",\"b\"]};t.exports=function(e,t){var n,c,f,d,p,h,m=e._fullLayout[t.subplot].sum,g=t.sum||m,y={a:t.a,b:t.b,c:t.c};for(n=0;n<s.length;n++)if(!y[f=s[n]]){for(p=y[u[f][0]],h=y[u[f][1]],d=new Array(p.length),c=0;c<p.length;c++)d[c]=g-p[c]-h[c];y[f]=d}var v,b,x,w,_,k,T=t._length,M=new Array(T);for(n=0;n<T;n++)v=y.a[n],b=y.b[n],x=y.c[n],r(v)&&r(b)&&r(x)?(1!=(w=m/((v=+v)+(b=+b)+(x=+x)))&&(v*=w,b*=w,x*=w),k=v,_=x-b,M[n]={x:_,y:k,a:v,b:b,c:x}):M[n]={x:!1,y:!1};return l(t,T),a(e,t),i(M,t),o(M,t),M}},{\"../scatter/arrays_to_calcdata\":499,\"../scatter/calc\":501,\"../scatter/calc_selection\":502,\"../scatter/colorscale_calc\":503,\"fast-isnumeric\":33}],530:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../scatter/constants\"),i=e(\"../scatter/subtypes\"),o=e(\"../scatter/marker_defaults\"),l=e(\"../scatter/line_defaults\"),s=e(\"../scatter/line_shape_defaults\"),u=e(\"../scatter/text_defaults\"),c=e(\"../scatter/fillcolor_defaults\"),f=e(\"./attributes\");t.exports=function(e,t,n,d){function p(n,a){return r.coerce(e,t,f,n,a)}var h,m=p(\"a\"),g=p(\"b\"),y=p(\"c\");if(m?(h=m.length,g?(h=Math.min(h,g.length),y&&(h=Math.min(h,y.length))):h=y?Math.min(h,y.length):0):g&&y&&(h=Math.min(g.length,y.length)),h){t._length=h,p(\"sum\"),p(\"text\"),p(\"hovertext\"),\"fills\"!==t.hoveron&&p(\"hovertemplate\"),p(\"mode\",h<a.PTS_LINESONLY?\"lines+markers\":\"lines\"),i.hasLines(t)&&(l(e,t,n,d,p),s(e,t,p),p(\"connectgaps\")),i.hasMarkers(t)&&o(e,t,n,d,p,{gradient:!0}),i.hasText(t)&&(p(\"texttemplate\"),u(e,t,d,p));var v=[];(i.hasMarkers(t)||i.hasText(t))&&(p(\"cliponaxis\"),p(\"marker.maxdisplayed\"),v.push(\"points\")),p(\"fill\"),\"none\"!==t.fill&&(c(e,t,n,p),i.hasLines(t)||s(e,t,p)),\"tonext\"!==t.fill&&\"toself\"!==t.fill||v.push(\"fills\"),p(\"hoveron\",v.join(\"+\")||\"points\"),r.coerceSelectionMarkerOpacity(t,p)}else t.visible=!1}},{\"../../lib\":287,\"../scatter/constants\":504,\"../scatter/fillcolor_defaults\":508,\"../scatter/line_defaults\":513,\"../scatter/line_shape_defaults\":515,\"../scatter/marker_defaults\":519,\"../scatter/subtypes\":525,\"../scatter/text_defaults\":526,\"./attributes\":528}],531:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r,a){if(t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),r[a]){var i=r[a];e.a=i.a,e.b=i.b,e.c=i.c}else e.a=t.a,e.b=t.b,e.c=t.c;return e}},{}],532:[function(e,t,n){\"use strict\";var r=e(\"../../plots/cartesian/axes\");t.exports=function(e,t,n){var a={},i=n[t.subplot]._subplot;return a.aLabel=r.tickText(i.aaxis,e.a,!0).text,a.bLabel=r.tickText(i.baxis,e.b,!0).text,a.cLabel=r.tickText(i.caxis,e.c,!0).text,a}},{\"../../plots/cartesian/axes\":334}],533:[function(e,t,n){\"use strict\";var r=e(\"../scatter/hover\");t.exports=function(e,t,n,a){var i=r(e,t,n,a);if(i&&!1!==i[0].index){var o=i[0];if(void 0===o.index){var l=1-o.y0/e.ya._length,s=e.xa._length,u=s*l/2,c=s-u;return o.x0=Math.max(Math.min(o.x0,c),u),o.x1=Math.max(Math.min(o.x1,c),u),i}var f=o.cd[o.index],d=o.trace,p=o.subplot;o.a=f.a,o.b=f.b,o.c=f.c,o.xLabelVal=void 0,o.yLabelVal=void 0;var h={};h[d.subplot]={_subplot:p};var m=d._module.formatLabels(f,d,h);o.aLabel=m.aLabel,o.bLabel=m.bLabel,o.cLabel=m.cLabel;var g=f.hi||d.hoverinfo,y=[];if(!d.hovertemplate){var v=g.split(\"+\");-1!==v.indexOf(\"all\")&&(v=[\"a\",\"b\",\"c\"]),-1!==v.indexOf(\"a\")&&b(p.aaxis,o.aLabel),-1!==v.indexOf(\"b\")&&b(p.baxis,o.bLabel),-1!==v.indexOf(\"c\")&&b(p.caxis,o.cLabel)}return o.extraText=y.join(\"<br>\"),o.hovertemplate=d.hovertemplate,i}function b(e,t){y.push(e._hovertitle+\": \"+t)}}},{\"../scatter/hover\":511}],534:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),supplyDefaults:e(\"./defaults\"),colorbar:e(\"../scatter/marker_colorbar\"),formatLabels:e(\"./format_labels\"),calc:e(\"./calc\"),plot:e(\"./plot\"),style:e(\"../scatter/style\").style,styleOnSelect:e(\"../scatter/style\").styleOnSelect,hoverPoints:e(\"./hover\"),selectPoints:e(\"../scatter/select\"),eventData:e(\"./event_data\"),moduleType:\"trace\",name:\"scatterternary\",basePlotModule:e(\"../../plots/ternary\"),categories:[\"ternary\",\"symbols\",\"showLegend\",\"scatter-like\"],meta:{}}},{\"../../plots/ternary\":374,\"../scatter/marker_colorbar\":518,\"../scatter/select\":522,\"../scatter/style\":524,\"./attributes\":528,\"./calc\":529,\"./defaults\":530,\"./event_data\":531,\"./format_labels\":532,\"./hover\":533,\"./plot\":535}],535:[function(e,t,n){\"use strict\";var r=e(\"../scatter/plot\");t.exports=function(e,t,n){var a=t.plotContainer;a.select(\".scatterlayer\").selectAll(\"*\").remove();var i={xaxis:t.xaxis,yaxis:t.yaxis,plot:a,layerClipId:t._hasClipOnAxisFalse?t.clipIdRelative:null},o=t.layers.frontplot.select(\"g.scatterlayer\");r(e,i,n,o)}},{\"../scatter/plot\":521}],536:[function(e,t,n){\"use strict\";var r=e(\"../box/attributes\"),a=e(\"../../lib/extend\").extendFlat,i=e(\"../../plots/cartesian/axis_format_attributes\").axisHoverFormat;t.exports={y:r.y,x:r.x,x0:r.x0,y0:r.y0,xhoverformat:i(\"x\"),yhoverformat:i(\"y\"),name:a({},r.name,{}),orientation:a({},r.orientation,{}),bandwidth:{valType:\"number\",min:0,editType:\"calc\"},scalegroup:{valType:\"string\",dflt:\"\",editType:\"calc\"},scalemode:{valType:\"enumerated\",values:[\"width\",\"count\"],dflt:\"width\",editType:\"calc\"},spanmode:{valType:\"enumerated\",values:[\"soft\",\"hard\",\"manual\"],dflt:\"soft\",editType:\"calc\"},span:{valType:\"info_array\",items:[{valType:\"any\",editType:\"calc\"},{valType:\"any\",editType:\"calc\"}],editType:\"calc\"},line:{color:{valType:\"color\",editType:\"style\"},width:{valType:\"number\",min:0,dflt:2,editType:\"style\"},editType:\"plot\"},fillcolor:r.fillcolor,points:a({},r.boxpoints,{}),jitter:a({},r.jitter,{}),pointpos:a({},r.pointpos,{}),width:a({},r.width,{}),marker:r.marker,text:r.text,hovertext:r.hovertext,hovertemplate:r.hovertemplate,box:{visible:{valType:\"boolean\",dflt:!1,editType:\"plot\"},width:{valType:\"number\",min:0,max:1,dflt:.25,editType:\"plot\"},fillcolor:{valType:\"color\",editType:\"style\"},line:{color:{valType:\"color\",editType:\"style\"},width:{valType:\"number\",min:0,editType:\"style\"},editType:\"style\"},editType:\"plot\"},meanline:{visible:{valType:\"boolean\",dflt:!1,editType:\"plot\"},color:{valType:\"color\",editType:\"style\"},width:{valType:\"number\",min:0,editType:\"style\"},editType:\"plot\"},side:{valType:\"enumerated\",values:[\"both\",\"positive\",\"negative\"],dflt:\"both\",editType:\"calc\"},offsetgroup:r.offsetgroup,alignmentgroup:r.alignmentgroup,selected:r.selected,unselected:r.unselected,hoveron:{valType:\"flaglist\",flags:[\"violins\",\"points\",\"kde\"],dflt:\"violins+points+kde\",extras:[\"all\"],editType:\"style\"}}},{\"../../lib/extend\":281,\"../../plots/cartesian/axis_format_attributes\":337,\"../box/attributes\":405}],537:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"../box/calc\"),o=e(\"./helpers\"),l=e(\"../../constants/numerical\").BADNUM;function s(e,t,n){var a=t.max-t.min;if(!a)return e.bandwidth?e.bandwidth:0;if(e.bandwidth)return Math.max(e.bandwidth,a/1e4);var i=n.length,o=r.stdev(n,i-1,t.mean);return Math.max(function(e,t,n){return 1.059*Math.min(t,n/1.349)*Math.pow(e,-.2)}(i,o,t.q3-t.q1),a/100)}function u(e,t,n,r){var i,o=e.spanmode,s=e.span||[],u=[t.min,t.max],c=[t.min-2*r,t.max+2*r];function f(r){var a=s[r],i=\"multicategory\"===n.type?n.r2c(a):n.d2c(a,0,e[t.valLetter+\"calendar\"]);return i===l?c[r]:i}var d={type:\"linear\",range:i=\"soft\"===o?c:\"hard\"===o?u:[f(0),f(1)]};return a.setConvert(d),d.cleanRange(),i}t.exports=function(e,t){var n=i(e,t);if(n[0].t.empty)return n;for(var l=e._fullLayout,c=a.getFromId(e,t[\"h\"===t.orientation?\"xaxis\":\"yaxis\"]),f=1/0,d=-1/0,p=0,h=0,m=0;m<n.length;m++){var g=n[m],y=g.pts.map(o.extractVal),v=g.bandwidth=s(t,g,y),b=g.span=u(t,g,c,v);if(g.min===g.max&&0===v)b=g.span=[g.min,g.max],g.density=[{v:1,t:b[0]}],g.bandwidth=v,p=Math.max(p,1);else{var x=b[1]-b[0],w=Math.ceil(x/(v/3)),_=x/w;if(!isFinite(_)||!isFinite(w))return r.error(\"Something went wrong with computing the violin span\"),n[0].t.empty=!0,n;var k=o.makeKDE(g,t,y);g.density=new Array(w);for(var T=0,M=b[0];M<b[1]+_/2;T++,M+=_){var S=k(M);g.density[T]={v:S,t:M},p=Math.max(p,S)}}h=Math.max(h,y.length),f=Math.min(f,b[0]),d=Math.max(d,b[1])}var E=a.findExtremes(c,[f,d],{padded:!0});if(t._extremes[c._id]=E,t.width)n[0].t.maxKDE=p;else{var C=l._violinScaleGroupStats,O=t.scalegroup,A=C[O];A?(A.maxKDE=Math.max(A.maxKDE,p),A.maxCount=Math.max(A.maxCount,h)):C[O]={maxKDE:p,maxCount:h}}return n[0].t.labels.kde=r._(e,\"kde:\"),n}},{\"../../constants/numerical\":267,\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"../box/calc\":406,\"./helpers\":540}],538:[function(e,t,n){\"use strict\";var r=e(\"../box/cross_trace_calc\").setPositionOffset,a=[\"v\",\"h\"];t.exports=function(e,t){for(var n=e.calcdata,i=t.xaxis,o=t.yaxis,l=0;l<a.length;l++){for(var s=a[l],u=\"h\"===s?o:i,c=[],f=0;f<n.length;f++){var d=n[f],p=d[0].t,h=d[0].trace;!0!==h.visible||\"violin\"!==h.type||p.empty||h.orientation!==s||h.xaxis!==i._id||h.yaxis!==o._id||c.push(f)}r(\"violin\",e,c,u)}}},{\"../box/cross_trace_calc\":407}],539:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../components/color\"),i=e(\"../box/defaults\"),o=e(\"./attributes\");t.exports=function(e,t,n,l){function s(n,a){return r.coerce(e,t,o,n,a)}function u(n,a){return r.coerce2(e,t,o,n,a)}if(i.handleSampleDefaults(e,t,s,l),!1!==t.visible){s(\"bandwidth\"),s(\"side\"),s(\"width\")||(s(\"scalegroup\",t.name),s(\"scalemode\"));var c,f=s(\"span\");Array.isArray(f)&&(c=\"manual\"),s(\"spanmode\",c);var d=s(\"line.color\",(e.marker||{}).color||n),p=s(\"line.width\"),h=s(\"fillcolor\",a.addOpacity(t.line.color,.5));i.handlePointsDefaults(e,t,s,{prefix:\"\"});var m=u(\"box.width\"),g=u(\"box.fillcolor\",h),y=u(\"box.line.color\",d),v=u(\"box.line.width\",p);s(\"box.visible\",Boolean(m||g||y||v))||(t.box={visible:!1});var b=u(\"meanline.color\",d),x=u(\"meanline.width\",p);s(\"meanline.visible\",Boolean(b||x))||(t.meanline={visible:!1})}}},{\"../../components/color\":157,\"../../lib\":287,\"../box/defaults\":408,\"./attributes\":536}],540:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=function(e){return 1/Math.sqrt(2*Math.PI)*Math.exp(-.5*e*e)};n.makeKDE=function(e,t,n){var r=n.length,i=a,o=e.bandwidth,l=1/(r*o);return function(e){for(var t=0,a=0;a<r;a++)t+=i((e-n[a])/o);return l*t}},n.getPositionOnKdePath=function(e,t,n){var a,i;\"h\"===t.orientation?(a=\"y\",i=\"x\"):(a=\"x\",i=\"y\");var o=r.findPointOnPath(e.path,n,i,{pathLength:e.pathLength}),l=e.posCenterPx,s=o[a];return[s,\"both\"===t.side?2*l-s:l]},n.getKdeValue=function(e,t,r){var a=e.pts.map(n.extractVal);return n.makeKDE(e,t,a)(r)/e.posDensityScale},n.extractVal=function(e){return e.v}},{\"../../lib\":287}],541:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"../../plots/cartesian/axes\"),i=e(\"../box/hover\"),o=e(\"./helpers\");t.exports=function(e,t,n,l,s){s||(s={});var u,c,f=s.hoverLayer,d=e.cd,p=d[0].trace,h=p.hoveron,m=-1!==h.indexOf(\"violins\"),g=-1!==h.indexOf(\"kde\"),y=[];if(m||g){var v=i.hoverOnBoxes(e,t,n,l);if(g&&v.length>0){var b,x,w,_,k,T=e.xa,M=e.ya;\"h\"===p.orientation?(k=t,b=\"y\",w=M,x=\"x\",_=T):(k=n,b=\"x\",w=T,x=\"y\",_=M);var S=d[e.index];if(k>=S.span[0]&&k<=S.span[1]){var E=r.extendFlat({},e),C=_.c2p(k,!0),O=o.getKdeValue(S,p,k),A=o.getPositionOnKdePath(S,p,C),D=w._offset,P=w._length;E[b+\"0\"]=A[0],E[b+\"1\"]=A[1],E[x+\"0\"]=E[x+\"1\"]=C,E[x+\"Label\"]=x+\": \"+a.hoverLabelText(_,k,p[x+\"hoverformat\"])+\", \"+d[0].t.labels.kde+\" \"+O.toFixed(3),E.spikeDistance=v[0].spikeDistance;var R=b+\"Spike\";E[R]=v[0][R],v[0].spikeDistance=void 0,v[0][R]=void 0,E.hovertemplate=!1,y.push(E),(c={stroke:e.color})[b+\"1\"]=r.constrain(D+A[0],D,D+P),c[b+\"2\"]=r.constrain(D+A[1],D,D+P),c[x+\"1\"]=c[x+\"2\"]=_._offset+C}}m&&(y=y.concat(v))}-1!==h.indexOf(\"points\")&&(u=i.hoverOnPoints(e,t,n));var L=f.selectAll(\".violinline-\"+p.uid).data(c?[0]:[]);return L.enter().append(\"line\").classed(\"violinline-\"+p.uid,!0).attr(\"stroke-width\",1.5),L.exit().remove(),L.attr(c),\"closest\"===l?u?[u]:y:u?(y.push(u),y):y}},{\"../../lib\":287,\"../../plots/cartesian/axes\":334,\"../box/hover\":410,\"./helpers\":540}],542:[function(e,t,n){\"use strict\";t.exports={attributes:e(\"./attributes\"),layoutAttributes:e(\"./layout_attributes\"),supplyDefaults:e(\"./defaults\"),crossTraceDefaults:e(\"../box/defaults\").crossTraceDefaults,supplyLayoutDefaults:e(\"./layout_defaults\"),calc:e(\"./calc\"),crossTraceCalc:e(\"./cross_trace_calc\"),plot:e(\"./plot\"),style:e(\"./style\"),styleOnSelect:e(\"../scatter/style\").styleOnSelect,hoverPoints:e(\"./hover\"),selectPoints:e(\"../box/select\"),moduleType:\"trace\",name:\"violin\",basePlotModule:e(\"../../plots/cartesian\"),categories:[\"cartesian\",\"svg\",\"symbols\",\"oriented\",\"box-violin\",\"showLegend\",\"violinLayout\",\"zoomScale\"],meta:{}}},{\"../../plots/cartesian\":348,\"../box/defaults\":408,\"../box/select\":415,\"../scatter/style\":524,\"./attributes\":536,\"./calc\":537,\"./cross_trace_calc\":538,\"./defaults\":539,\"./hover\":541,\"./layout_attributes\":543,\"./layout_defaults\":544,\"./plot\":545,\"./style\":546}],543:[function(e,t,n){\"use strict\";var r=e(\"../box/layout_attributes\"),a=e(\"../../lib\").extendFlat;t.exports={violinmode:a({},r.boxmode,{}),violingap:a({},r.boxgap,{}),violingroupgap:a({},r.boxgroupgap,{})}},{\"../../lib\":287,\"../box/layout_attributes\":412}],544:[function(e,t,n){\"use strict\";var r=e(\"../../lib\"),a=e(\"./layout_attributes\"),i=e(\"../box/layout_defaults\");t.exports=function(e,t,n){i._supply(e,t,n,(function(n,i){return r.coerce(e,t,a,n,i)}),\"violin\")}},{\"../../lib\":287,\"../box/layout_defaults\":413,\"./layout_attributes\":543}],545:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../lib\"),i=e(\"../../components/drawing\"),o=e(\"../box/plot\"),l=e(\"../scatter/line_points\"),s=e(\"./helpers\");t.exports=function(e,t,n,u){var c=e._fullLayout,f=t.xaxis,d=t.yaxis;function p(e){var t=l(e,{xaxis:f,yaxis:d,connectGaps:!0,baseTolerance:.75,shape:\"spline\",simplify:!0,linearized:!0});return i.smoothopen(t[0],1)}a.makeTraceGroups(u,n,\"trace violins\").each((function(e){var n=r.select(this),i=e[0],l=i.t,u=i.trace;if(!0!==u.visible||l.empty)n.remove();else{var h=l.bPos,m=l.bdPos,g=t[l.valLetter+\"axis\"],y=t[l.posLetter+\"axis\"],v=\"both\"===u.side,b=v||\"positive\"===u.side,x=v||\"negative\"===u.side,w=n.selectAll(\"path.violin\").data(a.identity);w.enter().append(\"path\").style(\"vector-effect\",\"non-scaling-stroke\").attr(\"class\",\"violin\"),w.exit().remove(),w.each((function(e){var t,n,a,i,o,s,f,d,w=r.select(this),_=e.density,k=_.length,T=y.c2l(e.pos+h,!0),M=y.l2p(T);if(u.width)t=l.maxKDE/m;else{var S=c._violinScaleGroupStats[u.scalegroup];t=\"count\"===u.scalemode?S.maxKDE/m*(S.maxCount/e.pts.length):S.maxKDE/m}if(b){for(f=new Array(k),o=0;o<k;o++)(d=f[o]={})[l.posLetter]=T+_[o].v/t,d[l.valLetter]=g.c2l(_[o].t,!0);n=p(f)}if(x){for(f=new Array(k),s=0,o=k-1;s<k;s++,o--)(d=f[s]={})[l.posLetter]=T-_[o].v/t,d[l.valLetter]=g.c2l(_[o].t,!0);a=p(f)}if(v)i=n+\"L\"+a.substr(1)+\"Z\";else{var E=[M,g.c2p(_[0].t)],C=[M,g.c2p(_[k-1].t)];\"h\"===u.orientation&&(E.reverse(),C.reverse()),i=b?\"M\"+E+\"L\"+n.substr(1)+\"L\"+C:\"M\"+C+\"L\"+a.substr(1)+\"L\"+E}w.attr(\"d\",i),e.posCenterPx=M,e.posDensityScale=t*m,e.path=w.node(),e.pathLength=e.path.getTotalLength()/(v?2:1)}));var _,k,T,M=u.box,S=M.width,E=(M.line||{}).width;v?(_=m*S,k=0):b?(_=[0,m*S/2],k=E*{x:1,y:-1}[l.posLetter]):(_=[m*S/2,0],k=E*{x:-1,y:1}[l.posLetter]),o.plotBoxAndWhiskers(n,{pos:y,val:g},u,{bPos:h,bdPos:_,bPosPxOffset:k}),o.plotBoxMean(n,{pos:y,val:g},u,{bPos:h,bdPos:_,bPosPxOffset:k}),!u.box.visible&&u.meanline.visible&&(T=a.identity);var C=n.selectAll(\"path.meanline\").data(T||[]);C.enter().append(\"path\").attr(\"class\",\"meanline\").style(\"fill\",\"none\").style(\"vector-effect\",\"non-scaling-stroke\"),C.exit().remove(),C.each((function(e){var t=g.c2p(e.mean,!0),n=s.getPositionOnKdePath(e,u,t);r.select(this).attr(\"d\",\"h\"===u.orientation?\"M\"+t+\",\"+n[0]+\"V\"+n[1]:\"M\"+n[0]+\",\"+t+\"H\"+n[1])})),o.plotPoints(n,{x:f,y:d},u,l)}}))}},{\"../../components/drawing\":179,\"../../lib\":287,\"../box/plot\":414,\"../scatter/line_points\":514,\"./helpers\":540,\"@plotly/d3\":20}],546:[function(e,t,n){\"use strict\";var r=e(\"@plotly/d3\"),a=e(\"../../components/color\"),i=e(\"../scatter/style\").stylePoints;t.exports=function(e){var t=r.select(e).selectAll(\"g.trace.violins\");t.style(\"opacity\",(function(e){return e[0].trace.opacity})),t.each((function(t){var n=t[0].trace,o=r.select(this),l=n.box||{},s=l.line||{},u=n.meanline||{},c=u.width;o.selectAll(\"path.violin\").style(\"stroke-width\",n.line.width+\"px\").call(a.stroke,n.line.color).call(a.fill,n.fillcolor),o.selectAll(\"path.box\").style(\"stroke-width\",s.width+\"px\").call(a.stroke,s.color).call(a.fill,l.fillcolor);var f={\"stroke-width\":c+\"px\",\"stroke-dasharray\":2*c+\"px,\"+c+\"px\"};o.selectAll(\"path.mean\").style(f).call(a.stroke,u.color),o.selectAll(\"path.meanline\").style(f).call(a.stroke,u.color),i(o,n,e)}))}},{\"../../components/color\":157,\"../scatter/style\":524,\"@plotly/d3\":20}],547:[function(e,t,n){\"use strict\";var r=e(\"../plots/cartesian/axes\"),a=e(\"../lib\"),i=e(\"../plot_api/plot_schema\"),o=e(\"./helpers\").pointsAccessorFunction,l=e(\"../constants/numerical\").BADNUM;n.moduleType=\"transform\",n.name=\"aggregate\";var s=n.attributes={enabled:{valType:\"boolean\",dflt:!0,editType:\"calc\"},groups:{valType:\"string\",strict:!0,noBlank:!0,arrayOk:!0,dflt:\"x\",editType:\"calc\"},aggregations:{_isLinkedToArray:\"aggregation\",target:{valType:\"string\",editType:\"calc\"},func:{valType:\"enumerated\",values:[\"count\",\"sum\",\"avg\",\"median\",\"mode\",\"rms\",\"stddev\",\"min\",\"max\",\"first\",\"last\",\"change\",\"range\"],dflt:\"first\",editType:\"calc\"},funcmode:{valType:\"enumerated\",values:[\"sample\",\"population\"],dflt:\"sample\",editType:\"calc\"},enabled:{valType:\"boolean\",dflt:!0,editType:\"calc\"},editType:\"calc\"},editType:\"calc\"},u=s.aggregations;function c(e,t,n,i){if(i.enabled){for(var o=i.target,s=a.nestedProperty(t,o),u=s.get(),c=function(e,t){var n=e.func,r=t.d2c,i=t.c2d;switch(n){case\"count\":return f;case\"first\":return d;case\"last\":return p;case\"sum\":return function(e,t){for(var n=0,a=0;a<t.length;a++){var o=r(e[t[a]]);o!==l&&(n+=o)}return i(n)};case\"avg\":return function(e,t){for(var n=0,a=0,o=0;o<t.length;o++){var s=r(e[t[o]]);s!==l&&(n+=s,a++)}return a?i(n/a):l};case\"min\":return function(e,t){for(var n=1/0,a=0;a<t.length;a++){var o=r(e[t[a]]);o!==l&&(n=Math.min(n,o))}return n===1/0?l:i(n)};case\"max\":return function(e,t){for(var n=-1/0,a=0;a<t.length;a++){var o=r(e[t[a]]);o!==l&&(n=Math.max(n,o))}return n===-1/0?l:i(n)};case\"range\":return function(e,t){for(var n=1/0,a=-1/0,o=0;o<t.length;o++){var s=r(e[t[o]]);s!==l&&(n=Math.min(n,s),a=Math.max(a,s))}return a===-1/0||n===1/0?l:i(a-n)};case\"change\":return function(e,t){var n=r(e[t[0]]),a=r(e[t[t.length-1]]);return n===l||a===l?l:i(a-n)};case\"median\":return function(e,t){for(var n=[],o=0;o<t.length;o++){var s=r(e[t[o]]);s!==l&&n.push(s)}if(!n.length)return l;n.sort(a.sorterAsc);var u=(n.length-1)/2;return i((n[Math.floor(u)]+n[Math.ceil(u)])/2)};case\"mode\":return function(e,t){for(var n={},a=0,o=l,s=0;s<t.length;s++){var u=r(e[t[s]]);if(u!==l){var c=n[u]=(n[u]||0)+1;c>a&&(a=c,o=u)}}return a?i(o):l};case\"rms\":return function(e,t){for(var n=0,a=0,o=0;o<t.length;o++){var s=r(e[t[o]]);s!==l&&(n+=s*s,a++)}return a?i(Math.sqrt(n/a)):l};case\"stddev\":return function(t,n){var a,i=0,o=0,s=1,u=l;for(a=0;a<n.length&&u===l;a++)u=r(t[n[a]]);if(u===l)return l;for(;a<n.length;a++){var c=r(t[n[a]]);if(c!==l){var f=c-u;i+=f,o+=f*f,s++}}var d=\"sample\"===e.funcmode?s-1:s;return d?Math.sqrt((o-i*i/s)/d):0}}}(i,r.getDataConversions(e,t,o,u)),h=new Array(n.length),m=0;m<n.length;m++)h[m]=c(u,n[m]);s.set(h),\"count\"===i.func&&a.pushUnique(t._arrayAttrs,o)}}function f(e,t){return t.length}function d(e,t){return e[t[0]]}function p(e,t){return e[t[t.length-1]]}n.supplyDefaults=function(e,t){var n,r={};function o(t,n){return a.coerce(e,r,s,t,n)}if(!o(\"enabled\"))return r;var l=i.findArrayAttributes(t),c={};for(n=0;n<l.length;n++)c[l[n]]=1;var f=o(\"groups\");if(!Array.isArray(f)){if(!c[f])return r.enabled=!1,r;c[f]=0}var d,p=e.aggregations||[],h=r.aggregations=new Array(p.length);function m(e,t){return a.coerce(p[n],d,u,e,t)}for(n=0;n<p.length;n++){d={_index:n};var g=m(\"target\"),y=m(\"func\");m(\"enabled\")&&g&&(c[g]||\"count\"===y&&void 0===c[g])?(\"stddev\"===y&&m(\"funcmode\"),c[g]=0,h[n]=d):h[n]={enabled:!1,_index:n}}for(n=0;n<l.length;n++)c[l[n]]&&h.push({target:l[n],func:u.func.dflt,enabled:!0,_index:-1});return r},n.calcTransform=function(e,t,n){if(n.enabled){var r=n.groups,i=a.getTargetArray(t,{target:r});if(i){var l,s,u,f,d={},p={},h=[],m=o(t.transforms,n),g=i.length;for(t._length&&(g=Math.min(g,t._length)),l=0;l<g;l++)void 0===(u=d[s=i[l]])?(d[s]=h.length,f=[l],h.push(f),p[d[s]]=m(l)):(h[u].push(l),p[d[s]]=(p[d[s]]||[]).concat(m(l)));n._indexToPoints=p;var y=n.aggregations;for(l=0;l<y.length;l++)c(e,t,h,y[l]);\"string\"==typeof r&&c(e,t,h,{target:r,func:\"first\",enabled:!0}),t._length=h.length}}}},{\"../constants/numerical\":267,\"../lib\":287,\"../plot_api/plot_schema\":322,\"../plots/cartesian/axes\":334,\"./helpers\":550}],548:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"../registry\"),i=e(\"../plots/cartesian/axes\"),o=e(\"./helpers\").pointsAccessorFunction,l=e(\"../constants/filter_ops\"),s=l.COMPARISON_OPS,u=l.INTERVAL_OPS,c=l.SET_OPS;n.moduleType=\"transform\",n.name=\"filter\",n.attributes={enabled:{valType:\"boolean\",dflt:!0,editType:\"calc\"},target:{valType:\"string\",strict:!0,noBlank:!0,arrayOk:!0,dflt:\"x\",editType:\"calc\"},operation:{valType:\"enumerated\",values:[].concat(s).concat(u).concat(c),dflt:\"=\",editType:\"calc\"},value:{valType:\"any\",dflt:0,editType:\"calc\"},preservegaps:{valType:\"boolean\",dflt:!1,editType:\"calc\"},editType:\"calc\"},n.supplyDefaults=function(e){var t={};function i(a,i){return r.coerce(e,t,n.attributes,a,i)}if(i(\"enabled\")){var o=i(\"target\");if(r.isArrayOrTypedArray(o)&&0===o.length)return t.enabled=!1,t;i(\"preservegaps\"),i(\"operation\"),i(\"value\");var l=a.getComponentMethod(\"calendars\",\"handleDefaults\");l(e,t,\"valuecalendar\",null),l(e,t,\"targetcalendar\",null)}return t},n.calcTransform=function(e,t,n){if(n.enabled){var a=r.getTargetArray(t,n);if(a){var l=n.target,f=a.length;t._length&&(f=Math.min(f,t._length));var d=n.targetcalendar,p=t._arrayAttrs,h=n.preservegaps;if(\"string\"==typeof l){var m=r.nestedProperty(t,l+\"calendar\").get();m&&(d=m)}var g,y,v=function(e,t,n){var r=e.operation,a=e.value,i=Array.isArray(a);function o(e){return-1!==e.indexOf(r)}var l,f=function(n){return t(n,0,e.valuecalendar)},d=function(e){return t(e,0,n)};switch(o(s)?l=f(i?a[0]:a):o(u)?l=i?[f(a[0]),f(a[1])]:[f(a),f(a)]:o(c)&&(l=i?a.map(f):[f(a)]),r){case\"=\":return function(e){return d(e)===l};case\"!=\":return function(e){return d(e)!==l};case\"<\":return function(e){return d(e)<l};case\"<=\":return function(e){return d(e)<=l};case\">\":return function(e){return d(e)>l};case\">=\":return function(e){return d(e)>=l};case\"[]\":return function(e){var t=d(e);return t>=l[0]&&t<=l[1]};case\"()\":return function(e){var t=d(e);return t>l[0]&&t<l[1]};case\"[)\":return function(e){var t=d(e);return t>=l[0]&&t<l[1]};case\"(]\":return function(e){var t=d(e);return t>l[0]&&t<=l[1]};case\"][\":return function(e){var t=d(e);return t<=l[0]||t>=l[1]};case\")(\":return function(e){var t=d(e);return t<l[0]||t>l[1]};case\"](\":return function(e){var t=d(e);return t<=l[0]||t>l[1]};case\")[\":return function(e){var t=d(e);return t<l[0]||t>=l[1]};case\"{}\":return function(e){return-1!==l.indexOf(d(e))};case\"}{\":return function(e){return-1===l.indexOf(d(e))}}}(n,i.getDataToCoordFunc(e,t,l,a),d),b={},x={},w=0;h?(g=function(e){b[e.astr]=r.extendDeep([],e.get()),e.set(new Array(f))},y=function(e,t){var n=b[e.astr][t];e.get()[t]=n}):(g=function(e){b[e.astr]=r.extendDeep([],e.get()),e.set([])},y=function(e,t){var n=b[e.astr][t];e.get().push(n)}),T(g);for(var _=o(t.transforms,n),k=0;k<f;k++)v(a[k])?(T(y,k),x[w++]=_(k)):h&&w++;n._indexToPoints=x,t._length=w}}function T(e,n){for(var a=0;a<p.length;a++)e(r.nestedProperty(t,p[a]),n)}}},{\"../constants/filter_ops\":265,\"../lib\":287,\"../plots/cartesian/axes\":334,\"../registry\":378,\"./helpers\":550}],549:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"../plot_api/plot_schema\"),i=e(\"../plots/plots\"),o=e(\"./helpers\").pointsAccessorFunction;function l(e,t){var n,l,s,u,c,f,d,p,h,m,g=t.transform,y=t.transformIndex,v=e.transforms[y].groups,b=o(e.transforms,g);if(!r.isArrayOrTypedArray(v)||0===v.length)return[e];var x=r.filterUnique(v),w=new Array(x.length),_=v.length,k=a.findArrayAttributes(e),T=g.styles||[],M={};for(n=0;n<T.length;n++)M[T[n].target]=T[n].value;g.styles&&(m=r.keyedContainer(g,\"styles\",\"target\",\"value.name\"));var S={},E={};for(n=0;n<x.length;n++){S[f=x[n]]=n,E[f]=0,(d=w[n]=r.extendDeepNoArrays({},e))._group=f,d.transforms[y]._indexToPoints={};var C=null;for(m&&(C=m.get(f)),d.name=C||\"\"===C?C:r.templateString(g.nameformat,{trace:e.name,group:f}),p=d.transforms,d.transforms=[],l=0;l<p.length;l++)d.transforms[l]=r.extendDeepNoArrays({},p[l]);for(l=0;l<k.length;l++)r.nestedProperty(d,k[l]).set([])}for(s=0;s<k.length;s++){for(u=k[s],l=0,h=[];l<x.length;l++)h[l]=r.nestedProperty(w[l],u).get();for(c=r.nestedProperty(e,u).get(),l=0;l<_;l++)h[S[v[l]]].push(c[l])}for(l=0;l<_;l++)(d=w[S[v[l]]]).transforms[y]._indexToPoints[E[v[l]]]=b(l),E[v[l]]++;for(n=0;n<x.length;n++)f=x[n],d=w[n],i.clearExpandedTraceDefaultColors(d),d=r.extendDeepNoArrays(d,M[f]||{});return w}n.moduleType=\"transform\",n.name=\"groupby\",n.attributes={enabled:{valType:\"boolean\",dflt:!0,editType:\"calc\"},groups:{valType:\"data_array\",dflt:[],editType:\"calc\"},nameformat:{valType:\"string\",editType:\"calc\"},styles:{_isLinkedToArray:\"style\",target:{valType:\"string\",editType:\"calc\"},value:{valType:\"any\",dflt:{},editType:\"calc\",_compareAsJSON:!0},editType:\"calc\"},editType:\"calc\"},n.supplyDefaults=function(e,t,a){var i,o={};function l(t,a){return r.coerce(e,o,n.attributes,t,a)}if(!l(\"enabled\"))return o;l(\"groups\"),l(\"nameformat\",a._dataLength>1?\"%{group} (%{trace})\":\"%{group}\");var s=e.styles,u=o.styles=[];if(s)for(i=0;i<s.length;i++){var c=u[i]={};r.coerce(s[i],u[i],n.attributes.styles,\"target\");var f=r.coerce(s[i],u[i],n.attributes.styles,\"value\");r.isPlainObject(f)?c.value=r.extendDeep({},f):f&&delete c.value}return o},n.transform=function(e,t){var n,r,a,i=[];for(r=0;r<e.length;r++)for(n=l(e[r],t),a=0;a<n.length;a++)i.push(n[a]);return i}},{\"../lib\":287,\"../plot_api/plot_schema\":322,\"../plots/plots\":371,\"./helpers\":550}],550:[function(e,t,n){\"use strict\";n.pointsAccessorFunction=function(e,t){for(var n,r,a=0;a<e.length&&(n=e[a])!==t;a++)n._indexToPoints&&!1!==n.enabled&&(r=n._indexToPoints);return r?function(e){return r[e]}:function(e){return[e]}}},{}],551:[function(e,t,n){\"use strict\";var r=e(\"../lib\"),a=e(\"../plots/cartesian/axes\"),i=e(\"./helpers\").pointsAccessorFunction,o=e(\"../constants/numerical\").BADNUM;n.moduleType=\"transform\",n.name=\"sort\",n.attributes={enabled:{valType:\"boolean\",dflt:!0,editType:\"calc\"},target:{valType:\"string\",strict:!0,noBlank:!0,arrayOk:!0,dflt:\"x\",editType:\"calc\"},order:{valType:\"enumerated\",values:[\"ascending\",\"descending\"],dflt:\"ascending\",editType:\"calc\"},editType:\"calc\"},n.supplyDefaults=function(e){var t={};function a(a,i){return r.coerce(e,t,n.attributes,a,i)}return a(\"enabled\")&&(a(\"target\"),a(\"order\")),t},n.calcTransform=function(e,t,n){if(n.enabled){var l=r.getTargetArray(t,n);if(l){var s=n.target,u=l.length;t._length&&(u=Math.min(u,t._length));var c,f,d=t._arrayAttrs,p=function(e,t,n,r){var a,i=new Array(r),l=new Array(r);for(a=0;a<r;a++)i[a]={v:t[a],i:a};for(i.sort(function(e,t){switch(e.order){case\"ascending\":return function(e,n){var r=t(e.v),a=t(n.v);return r===o?1:a===o?-1:r-a};case\"descending\":return function(e,n){var r=t(e.v),a=t(n.v);return r===o?1:a===o?-1:a-r}}}(e,n)),a=0;a<r;a++)l[a]=i[a].i;return l}(n,l,a.getDataToCoordFunc(e,t,s,l),u),h=i(t.transforms,n),m={};for(c=0;c<d.length;c++){var g=r.nestedProperty(t,d[c]),y=g.get(),v=new Array(u);for(f=0;f<u;f++)v[f]=y[p[f]];g.set(v)}for(f=0;f<u;f++)m[f]=h(p[f]);n._indexToPoints=m,t._length=u}}}},{\"../constants/numerical\":267,\"../lib\":287,\"../plots/cartesian/axes\":334,\"./helpers\":550}],552:[function(e,t,n){\"use strict\";n.version=\"2.9.0\"},{}]},{},[15])(15)},92703:function(e,t,n){\"use strict\";var r=n(50414);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==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:a};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){\"use strict\";e.exports=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\"},54087:function(e,t,n){for(var r=n(75),a=\"undefined\"==typeof window?n.g:window,i=[\"moz\",\"webkit\"],o=\"AnimationFrame\",l=a[\"request\"+o],s=a[\"cancel\"+o]||a[\"cancelRequest\"+o],u=0;!l&&u<i.length;u++)l=a[i[u]+\"Request\"+o],s=a[i[u]+\"Cancel\"+o]||a[i[u]+\"CancelRequest\"+o];if(!l||!s){var c=0,f=0,d=[];l=function(e){if(0===d.length){var t=r(),n=Math.max(0,16.666666666666668-(t-c));c=n+t,setTimeout((function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return d.push({handle:++f,callback:e,cancelled:!1}),f},s=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}},27890:function(e,t,n){\"use strict\";n.r(t),n.d(t,{DragDropContext:function(){return Na},Draggable:function(){return bi},Droppable:function(){return ki},resetServerContext:function(){return ja},useKeyboardSensor:function(){return ga},useMouseSensor:function(){return da},useTouchSensor:function(){return va}});var r=n(67294),a=n(51721),i=n(87462),o=n(4942);function l(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e){return\"Minified Redux error #\"+e+\"; visit https://redux.js.org/Errors?code=\"+e+\" for the full message or use the non-minified dev environment for full errors. \"}var c=\"function\"==typeof Symbol&&Symbol.observable||\"@@observable\",f=function(){return Math.random().toString(36).substring(7).split(\"\").join(\".\")},d={INIT:\"@@redux/INIT\"+f(),REPLACE:\"@@redux/REPLACE\"+f(),PROBE_UNKNOWN_ACTION:function(){return\"@@redux/PROBE_UNKNOWN_ACTION\"+f()}};function p(e){if(\"object\"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function h(e,t,n){var r;if(\"function\"==typeof t&&\"function\"==typeof n||\"function\"==typeof n&&\"function\"==typeof arguments[3])throw new Error(u(0));if(\"function\"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if(\"function\"!=typeof n)throw new Error(u(1));return n(h)(e,t)}if(\"function\"!=typeof e)throw new Error(u(2));var a=e,i=t,o=[],l=o,s=!1;function f(){l===o&&(l=o.slice())}function m(){if(s)throw new Error(u(3));return i}function g(e){if(\"function\"!=typeof e)throw new Error(u(4));if(s)throw new Error(u(5));var t=!0;return f(),l.push(e),function(){if(t){if(s)throw new Error(u(6));t=!1,f();var n=l.indexOf(e);l.splice(n,1),o=null}}}function y(e){if(!p(e))throw new Error(u(7));if(void 0===e.type)throw new Error(u(8));if(s)throw new Error(u(9));try{s=!0,i=a(i,e)}finally{s=!1}for(var t=o=l,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if(\"function\"!=typeof e)throw new Error(u(10));a=e,y({type:d.REPLACE})}function b(){var e,t=g;return(e={subscribe:function(e){if(\"object\"!=typeof e||null===e)throw new Error(u(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[c]=function(){return this},e}return y({type:d.INIT}),(r={dispatch:y,subscribe:g,getState:m,replaceReducer:v})[c]=b,r}function m(e,t){return function(){return t(e.apply(this,arguments))}}function g(e,t){if(\"function\"==typeof e)return m(e,t);if(\"object\"!=typeof e||null===e)throw new Error(u(16));var n={};for(var r in e){var a=e[r];\"function\"==typeof a&&(n[r]=m(a,t))}return n}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}n(45697);var v=r.createContext(null);var b=function(e){e()},x=function(){return b};var w={notify:function(){},get:function(){return[]}};function _(e,t){var n,r=w;function a(){o.onStateChange&&o.onStateChange()}function i(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){var e=x(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,a=n={callback:e,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){r&&null!==t&&(r=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}())}var o={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=w)},getListeners:function(){return r}};return o}var k=\"undefined\"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;var T=function(e){var t=e.store,n=e.context,a=e.children,i=(0,r.useMemo)((function(){var e=_(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),o=(0,r.useMemo)((function(){return t.getState()}),[t]);k((function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,o]);var l=n||v;return r.createElement(l.Provider,{value:i},a)};function M(){return M=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},M.apply(this,arguments)}function S(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var E=n(8679),C=n.n(E),O=n(59864),A=[\"getDisplayName\",\"methodName\",\"renderCountProp\",\"shouldHandleStateChanges\",\"storeKey\",\"withRef\",\"forwardRef\",\"context\"],D=[\"reactReduxForwardedRef\"],P=[],R=[null,null];function L(e,t){var n=e[1];return[t.payload,n+1]}function I(e,t,n){k((function(){return e.apply(void 0,t)}),n)}function j(e,t,n,r,a,i,o){e.current=r,t.current=a,n.current=!1,i.current&&(i.current=null,o())}function N(e,t,n,r,a,i,o,l,s,u){if(e){var c=!1,f=null,d=function(){if(!c){var e,n,d=t.getState();try{e=r(d,a.current)}catch(e){n=e,f=e}n||(f=null),e===i.current?o.current||s():(i.current=e,l.current=e,o.current=!0,u({type:\"STORE_UPDATED\",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var z=function(){return[null,0]};function F(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,i=void 0===a?function(e){return\"ConnectAdvanced(\"+e+\")\"}:a,o=n.methodName,l=void 0===o?\"connectAdvanced\":o,s=n.renderCountProp,u=void 0===s?void 0:s,c=n.shouldHandleStateChanges,f=void 0===c||c,d=n.storeKey,p=void 0===d?\"store\":d,h=(n.withRef,n.forwardRef),m=void 0!==h&&h,g=n.context,y=void 0===g?v:g,b=S(n,A),x=y;return function(t){var n=t.displayName||t.name||\"Component\",a=i(n),o=M({},b,{getDisplayName:i,methodName:l,renderCountProp:u,shouldHandleStateChanges:f,storeKey:p,displayName:a,wrappedComponentName:n,WrappedComponent:t}),s=b.pure;var c=s?r.useMemo:function(e){return e()};function d(n){var a=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=S(n,D);return[n.context,e,t]}),[n]),i=a[0],l=a[1],s=a[2],u=(0,r.useMemo)((function(){return i&&i.Consumer&&(0,O.isContextConsumer)(r.createElement(i.Consumer,null))?i:x}),[i,x]),d=(0,r.useContext)(u),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var h=p?n.store:d.store,m=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,o)}(h)}),[h]),g=(0,r.useMemo)((function(){if(!f)return R;var e=_(h,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,p,d]),y=g[0],v=g[1],b=(0,r.useMemo)((function(){return p?d:M({},d,{subscription:y})}),[p,d,y]),w=(0,r.useReducer)(L,P,z),k=w[0][0],T=w[1];if(k&&k.error)throw k.error;var E=(0,r.useRef)(),C=(0,r.useRef)(s),A=(0,r.useRef)(),F=(0,r.useRef)(!1),Z=c((function(){return A.current&&s===C.current?A.current:m(h.getState(),s)}),[h,k,s]);I(j,[C,E,F,s,Z,A,v]),I(N,[f,h,y,m,C,E,F,A,v,T],[h,y,m]);var B=(0,r.useMemo)((function(){return r.createElement(t,M({},Z,{ref:l}))}),[l,t,Z]);return(0,r.useMemo)((function(){return f?r.createElement(u.Provider,{value:b},B):B}),[u,B,b])}var h=s?r.memo(d):d;if(h.WrappedComponent=t,h.displayName=d.displayName=a,m){var g=r.forwardRef((function(e,t){return r.createElement(h,M({},e,{reactReduxForwardedRef:t}))}));return g.displayName=a,g.WrappedComponent=t,C()(g,t)}return C()(h,t)}}function Z(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function B(e,t){if(Z(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(var a=0;a<n.length;a++)if(!Object.prototype.hasOwnProperty.call(t,n[a])||!Z(e[n[a]],t[n[a]]))return!1;return!0}function q(e){return function(t,n){var r=e(t,n);function a(){return r}return a.dependsOnOwnProps=!1,a}}function H(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function U(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=H(e);var a=r(t,n);return\"function\"==typeof a&&(r.mapToProps=a,r.dependsOnOwnProps=H(a),a=r(t,n)),a},r}}var W=[function(e){return\"function\"==typeof e?U(e):void 0},function(e){return e?void 0:q((function(e){return{dispatch:e}}))},function(e){return e&&\"object\"==typeof e?q((function(t){return function(e,t){var n={},r=function(r){var a=e[r];\"function\"==typeof a&&(n[r]=function(){return t(a.apply(void 0,arguments))})};for(var a in e)r(a);return n}(e,t)})):void 0}];var V=[function(e){return\"function\"==typeof e?U(e):void 0},function(e){return e?void 0:q((function(){return{}}))}];function Y(e,t,n){return M({},n,e,t)}var G=[function(e){return\"function\"==typeof e?function(e){return function(t,n){n.displayName;var r,a=n.pure,i=n.areMergedPropsEqual,o=!1;return function(t,n,l){var s=e(t,n,l);return o?a&&i(s,r)||(r=s):(o=!0,r=s),r}}}(e):void 0},function(e){return e?void 0:function(){return Y}}],$=[\"initMapStateToProps\",\"initMapDispatchToProps\",\"initMergeProps\"];function X(e,t,n,r){return function(a,i){return n(e(a,i),t(r,i),i)}}function K(e,t,n,r,a){var i,o,l,s,u,c=a.areStatesEqual,f=a.areOwnPropsEqual,d=a.areStatePropsEqual,p=!1;function h(a,p){var h,m,g=!f(p,o),y=!c(a,i);return i=a,o=p,g&&y?(l=e(i,o),t.dependsOnOwnProps&&(s=t(r,o)),u=n(l,s,o)):g?(e.dependsOnOwnProps&&(l=e(i,o)),t.dependsOnOwnProps&&(s=t(r,o)),u=n(l,s,o)):y?(h=e(i,o),m=!d(h,l),l=h,m&&(u=n(l,s,o)),u):u}return function(a,c){return p?h(a,c):(l=e(i=a,o=c),s=t(r,o),u=n(l,s,o),p=!0,u)}}function J(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,a=t.initMergeProps,i=S(t,$),o=n(e,i),l=r(e,i),s=a(e,i);return(i.pure?K:X)(o,l,s,e,i)}var Q=[\"pure\",\"areStatesEqual\",\"areOwnPropsEqual\",\"areStatePropsEqual\",\"areMergedPropsEqual\"];function ee(e,t,n){for(var r=t.length-1;r>=0;r--){var a=t[r](e);if(a)return a}return function(t,r){throw new Error(\"Invalid value of type \"+typeof e+\" for \"+n+\" argument when connecting component \"+r.wrappedComponentName+\".\")}}function te(e,t){return e===t}function ne(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?F:n,a=t.mapStateToPropsFactories,i=void 0===a?V:a,o=t.mapDispatchToPropsFactories,l=void 0===o?W:o,s=t.mergePropsFactories,u=void 0===s?G:s,c=t.selectorFactory,f=void 0===c?J:c;return function(e,t,n,a){void 0===a&&(a={});var o=a,s=o.pure,c=void 0===s||s,d=o.areStatesEqual,p=void 0===d?te:d,h=o.areOwnPropsEqual,m=void 0===h?B:h,g=o.areStatePropsEqual,y=void 0===g?B:g,v=o.areMergedPropsEqual,b=void 0===v?B:v,x=S(o,Q),w=ee(e,i,\"mapStateToProps\"),_=ee(t,l,\"mapDispatchToProps\"),k=ee(n,u,\"mergeProps\");return r(f,M({methodName:\"connect\",getDisplayName:function(e){return\"Connect(\"+e+\")\"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:w,initMapDispatchToProps:_,initMergeProps:k,pure:c,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:y,areMergedPropsEqual:b},x))}}var re=ne();var ae,ie=n(73935);function oe(e,t){var n=(0,r.useState)((function(){return{inputs:t,result:e()}}))[0],a=(0,r.useRef)(!0),i=(0,r.useRef)(n),o=a.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return(0,r.useEffect)((function(){a.current=!1,i.current=o}),[o]),o.result}ae=ie.unstable_batchedUpdates,b=ae;var le=oe,se=function(e,t){return oe((function(){return e}),t)},ue=\"Invariant failed\";var ce=function(e,t){if(!e)throw new Error(ue)},fe=function(e){var t=e.top,n=e.right,r=e.bottom,a=e.left;return{top:t,right:n,bottom:r,left:a,width:n-a,height:r-t,x:a,y:t,center:{x:(n+a)/2,y:(r+t)/2}}},de=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},pe=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},he={top:0,right:0,bottom:0,left:0},me=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?he:n,a=e.border,i=void 0===a?he:a,o=e.padding,l=void 0===o?he:o,s=fe(de(t,r)),u=fe(pe(t,i)),c=fe(pe(u,l));return{marginBox:s,borderBox:fe(t),paddingBox:u,contentBox:c,margin:r,border:i,padding:l}},ge=function(e){var t=e.slice(0,-2);if(\"px\"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&ce(!1),n},ye=function(e,t){var n,r,a=e.borderBox,i=e.border,o=e.margin,l=e.padding,s=(r=t,{top:(n=a).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return me({borderBox:s,border:i,margin:o,padding:l})},ve=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),ye(e,t)},be=function(e,t){var n={top:ge(t.marginTop),right:ge(t.marginRight),bottom:ge(t.marginBottom),left:ge(t.marginLeft)},r={top:ge(t.paddingTop),right:ge(t.paddingRight),bottom:ge(t.paddingBottom),left:ge(t.paddingLeft)},a={top:ge(t.borderTopWidth),right:ge(t.borderRightWidth),bottom:ge(t.borderBottomWidth),left:ge(t.borderLeftWidth)};return me({borderBox:e,margin:n,padding:r,border:a})},xe=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return be(t,n)},we=Number.isNaN||function(e){return\"number\"==typeof e&&e!=e};function _e(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],a=t[n],!(r===a||we(r)&&we(a)))return!1;var r,a;return!0}var ke=function(e,t){var n;void 0===t&&(t=_e);var r,a=[],i=!1;return function(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];return i&&n===this&&t(o,a)||(r=e.apply(this,o),i=!0,n=this,a=o),r}},Te=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];t=a,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function Me(e,t){}Me.bind(null,\"warn\"),Me.bind(null,\"error\");function Se(){}function Ee(e,t,n){var r=t.map((function(t){var r=function(e,t){return(0,i.Z)({},e,{},t)}(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}var Ce=\"Invariant failed\";function Oe(e){this.message=e}function Ae(e,t){if(!e)throw new Oe(Ce)}Oe.prototype.toString=function(){return this.message};var De=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=Se,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof Oe&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error(\"Unable to find AppCallbacks in <ErrorBoundary/>\");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}(0,a.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=Ee(window,[{eventName:\"error\",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Oe))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(r.Component),Pe=function(e){return e+1},Re=function(e,t){var n=e.droppableId===t.droppableId,r=Pe(e.index),a=Pe(t.index);return n?\"\\n You have moved the item from position \"+r+\"\\n to position \"+a+\"\\n \":\"\\n You have moved the item from position \"+r+\"\\n in list \"+e.droppableId+\"\\n to list \"+t.droppableId+\"\\n in position \"+a+\"\\n \"},Le=function(e,t,n){return t.droppableId===n.droppableId?\"\\n The item \"+e+\"\\n has been combined with \"+n.draggableId:\"\\n The item \"+e+\"\\n in list \"+t.droppableId+\"\\n has been combined with \"+n.draggableId+\"\\n in list \"+n.droppableId+\"\\n \"},Ie=function(e){return\"\\n The item has returned to its starting position\\n of \"+Pe(e.index)+\"\\n\"},je=\"\\n Press space bar to start a drag.\\n When dragging you can use the arrow keys to move the item around and escape to cancel.\\n Some screen readers may require you to be in focus mode or to use your pass through key\\n\",Ne=function(e){return\"\\n You have lifted an item in position \"+Pe(e.source.index)+\"\\n\"},ze=function(e){var t=e.destination;if(t)return Re(e.source,t);var n=e.combine;return n?Le(e.draggableId,e.source,n):\"You are over an area that cannot be dropped on\"},Fe=function(e){if(\"CANCEL\"===e.reason)return\"\\n Movement cancelled.\\n \"+Ie(e.source)+\"\\n \";var t=e.destination,n=e.combine;return t?\"\\n You have dropped the item.\\n \"+Re(e.source,t)+\"\\n \":n?\"\\n You have dropped the item.\\n \"+Le(e.draggableId,e.source,n)+\"\\n \":\"\\n The item has been dropped while not over a drop area.\\n \"+Ie(e.source)+\"\\n \"},Ze={x:0,y:0},Be=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},qe=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},He=function(e,t){return e.x===t.x&&e.y===t.y},Ue=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},We=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r[\"x\"===e?\"y\":\"x\"]=n,r},Ve=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Ye=function(e,t){return Math.min.apply(Math,t.map((function(t){return Ve(e,t)})))},Ge=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},$e=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Xe=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},Ke=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=fe({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):fe(e)},Je=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,a=e.frame,o=function(e,t){return t?$e(e,t.scroll.diff.displacement):e}(t.marginBox,a),l=function(e,t,n){var r;return n&&n.increasedBy?(0,i.Z)({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(o,r,n);return{page:t,withPlaceholder:n,active:Ke(l,a)}},Qe=function(e,t){e.frame||Ae(!1);var n=e.frame,r=qe(t,n.scroll.initial),a=Ue(r),o=(0,i.Z)({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:a},max:n.scroll.max}}),l=Je({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o});return(0,i.Z)({},e,{frame:o,subject:l})};function et(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function tt(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function nt(e,t){if(e.find)return e.find(t);var n=tt(e,t);return-1!==n?e[n]:void 0}function rt(e){return Array.prototype.slice.call(e)}var at=ke((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),it=ke((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),ot=ke((function(e){return et(e)})),lt=ke((function(e){return et(e)})),st=ke((function(e,t){var n=lt(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function ut(e){return e.at&&\"REORDER\"===e.at.type?e.at.destination:null}function ct(e){return e.at&&\"COMBINE\"===e.at.type?e.at.combine:null}var ft=ke((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),dt=function(e,t){return e.descriptor.droppableId===t.descriptor.id},pt={point:Ze,value:0},ht={invisible:{},visible:{},all:[]},mt={displaced:ht,displacedBy:pt,at:null},gt=function(e,t){return function(n){return e<=n&&n<=t}},yt=function(e){var t=gt(e.top,e.bottom),n=gt(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var a=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(a&&i)return!0;var o=r.top<e.top&&r.bottom>e.bottom,l=r.left<e.left&&r.right>e.right;return!(!o||!l)||(o&&i||l&&a)}},vt=function(e){var t=gt(e.top,e.bottom),n=gt(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},bt={direction:\"vertical\",line:\"y\",crossAxisLine:\"x\",start:\"top\",end:\"bottom\",size:\"height\",crossAxisStart:\"left\",crossAxisEnd:\"right\",crossAxisSize:\"width\"},xt={direction:\"horizontal\",line:\"x\",crossAxisLine:\"y\",start:\"left\",end:\"right\",size:\"width\",crossAxisStart:\"top\",crossAxisEnd:\"bottom\",crossAxisSize:\"height\"},wt=function(e){var t=e.target,n=e.destination,r=e.viewport,a=e.withDroppableDisplacement,i=e.isVisibleThroughFrameFn,o=a?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Ze;return $e(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(o,n,i)&&function(e,t,n){return n(t)(e)}(o,r,i)},_t=function(e){return wt((0,i.Z)({},e,{isVisibleThroughFrameFn:yt}))},kt=function(e){return wt((0,i.Z)({},e,{isVisibleThroughFrameFn:vt}))};function Tt(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,a=e.viewport,i=e.forceShouldAnimate,o=e.last;return t.reduce((function(e,t){var l=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return fe(de(n,r))}(t,r),s=t.descriptor.id;if(e.all.push(s),!_t({target:l,destination:n,viewport:a,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var u=function(e,t,n){if(\"boolean\"==typeof n)return n;if(!t)return!0;var r=t.invisible,a=t.visible;if(r[e])return!1;var i=a[e];return!i||i.shouldAnimate}(s,o,i),c={draggableId:s,shouldAnimate:u};return e.visible[s]=c,e}),{all:[],visible:{},invisible:{}})}function Mt(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,a=e.destination,i=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:ht,displacedBy:r,at:{type:\"REORDER\",destination:{droppableId:a.descriptor.id,index:i}}}}function St(e){var t=e.draggable,n=e.insideDestination,r=e.destination,a=e.viewport,i=e.displacedBy,o=e.last,l=e.index,s=e.forceShouldAnimate,u=dt(t,r);if(null==l)return Mt({insideDestination:n,inHomeList:u,displacedBy:i,destination:r});var c=nt(n,(function(e){return e.descriptor.index===l}));if(!c)return Mt({insideDestination:n,inHomeList:u,displacedBy:i,destination:r});var f=ft(t,n),d=n.indexOf(c);return{displaced:Tt({afterDragging:f.slice(d),destination:r,displacedBy:i,last:o,viewport:a.frame,forceShouldAnimate:s}),displacedBy:i,at:{type:\"REORDER\",destination:{droppableId:r.descriptor.id,index:l}}}}function Et(e,t){return Boolean(t.effected[e])}var Ct=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,a=e.draggables,i=e.destination,o=e.insideDestination,l=e.previousImpact,s=e.viewport,u=e.afterCritical,c=l.at;if(c||Ae(!1),\"REORDER\"===c.type){var f=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,a=e.location;if(!r.length)return null;var i=a.index,o=t?i+1:i-1,l=r[0].descriptor.index,s=r[r.length-1].descriptor.index;return o<l||o>(n?s:s+1)?null:o}({isMovingForward:t,isInHomeList:n,location:c.destination,insideDestination:o});return null==f?null:St({draggable:r,insideDestination:o,destination:i,viewport:s,last:l.displaced,displacedBy:l.displacedBy,index:f})}var d=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,a=e.combine,i=e.afterCritical;if(!n.isCombineEnabled)return null;var o=a.draggableId,l=r[o].descriptor.index;return Et(o,i)?t?l:l-1:t?l+1:l}({isMovingForward:t,destination:i,displaced:l.displaced,draggables:a,combine:c.combine,afterCritical:u});return null==d?null:St({draggable:r,insideDestination:o,destination:i,viewport:s,last:l.displaced,displacedBy:l.displacedBy,index:d})},Ot=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,a=ct(n);a||Ae(!1);var i=a.draggableId,o=r[i].page.borderBox.center,l=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,a=e.displacedBy,i=Boolean(t.visible[r]||t.invisible[r]);return Et(r,n)?i?Ze:Ue(a.point):i?a.point:Ze}({displaced:n.displaced,afterCritical:t,combineWith:i,displacedBy:n.displacedBy});return Be(o,l)},At=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Dt=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Pt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return We(t.line,n.marginBox[t.end]+At(t,r),Dt(t,n.marginBox,r))},Rt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return We(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Dt(t,n.marginBox,r))},Lt=function(e){var t=e.impact,n=e.draggable,r=e.draggables,a=e.droppable,i=e.afterCritical,o=st(a.descriptor.id,r),l=n.page,s=a.axis;if(!o.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return We(t.line,n.contentBox[t.start]+At(t,r),Dt(t,n.contentBox,r))}({axis:s,moveInto:a.page,isMoving:l});var u=t.displaced,c=t.displacedBy,f=u.all[0];if(f){var d=r[f];if(Et(f,i))return Rt({axis:s,moveRelativeTo:d.page,isMoving:l});var p=ye(d.page,c.point);return Rt({axis:s,moveRelativeTo:p,isMoving:l})}var h=o[o.length-1];if(h.descriptor.id===n.descriptor.id)return l.borderBox.center;if(Et(h.descriptor.id,i)){var m=ye(h.page,Ue(i.displacedBy.point));return Pt({axis:s,moveRelativeTo:m,isMoving:l})}return Pt({axis:s,moveRelativeTo:h.page,isMoving:l})},It=function(e,t){var n=e.frame;return n?Be(t,n.scroll.diff.displacement):t},jt=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,a=e.draggables,i=e.afterCritical,o=n.page.borderBox.center,l=t.at;return r&&l?\"REORDER\"===l.type?Lt({impact:t,draggable:n,draggables:a,droppable:r,afterCritical:i}):Ot({impact:t,draggables:a,afterCritical:i}):o}(e),n=e.droppable;return n?It(n,t):t},Nt=function(e,t){var n=qe(t,e.scroll.initial),r=Ue(n);return{frame:fe({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function zt(e,t){return e.map((function(e){return t[e]}))}var Ft=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return Be(e.scroll.diff.displacement,t)}(e.viewport,t),a=qe(r,n.page.borderBox.center);return Be(n.client.borderBox.center,a)},Zt=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,a=e.viewport,o=e.withDroppableDisplacement,l=e.onlyOnMainAxis,s=void 0!==l&&l,u=qe(r,t.page.borderBox.center),c={target:$e(t.page.borderBox,u),destination:n,withDroppableDisplacement:o,viewport:a};return s?function(e){return wt((0,i.Z)({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=gt(e.top,e.bottom),r=gt(e.left,e.right);return function(e){return t===bt?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(c):kt(c)},Bt=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,a=e.draggables,o=e.previousImpact,l=e.viewport,s=e.previousPageBorderBoxCenter,u=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var f=st(r.descriptor.id,a),d=dt(n,r),p=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,a=e.insideDestination,o=e.previousImpact;if(!r.isCombineEnabled)return null;if(!ut(o))return null;function l(e){var t={type:\"COMBINE\",combine:{draggableId:e,droppableId:r.descriptor.id}};return(0,i.Z)({},o,{at:t})}var s=o.displaced.all,u=s.length?s[0]:null;if(t)return u?l(u):null;var c=ft(n,a);if(!u)return c.length?l(c[c.length-1].descriptor.id):null;var f=tt(c,(function(e){return e.descriptor.id===u}));-1===f&&Ae(!1);var d=f-1;return d<0?null:l(c[d].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:f,previousImpact:o})||Ct({isMovingForward:t,isInHomeList:d,draggable:n,draggables:a,destination:r,insideDestination:f,previousImpact:o,viewport:l,afterCritical:c});if(!p)return null;var h=jt({impact:p,draggable:n,droppable:r,draggables:a,afterCritical:c});if(Zt({draggable:n,destination:r,newPageBorderBoxCenter:h,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Ft({pageBorderBoxCenter:h,draggable:n,viewport:l}),impact:p,scrollJumpRequest:null};var m=qe(h,s),g=function(e){var t=e.impact,n=e.viewport,r=e.destination,a=e.draggables,o=e.maxScrollChange,l=Nt(n,Be(n.scroll.current,o)),s=r.frame?Qe(r,Be(r.frame.scroll.current,o)):r,u=t.displaced,c=Tt({afterDragging:zt(u.all,a),destination:r,displacedBy:t.displacedBy,viewport:l.frame,last:u,forceShouldAnimate:!1}),f=Tt({afterDragging:zt(u.all,a),destination:s,displacedBy:t.displacedBy,viewport:n.frame,last:u,forceShouldAnimate:!1}),d={},p={},h=[u,c,f];return u.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,h);t?p[e]=t:d[e]=!0})),(0,i.Z)({},t,{displaced:{all:u.all,invisible:d,visible:p}})}({impact:p,viewport:l,destination:r,draggables:a,maxScrollChange:m});return{clientSelection:u,impact:g,scrollJumpRequest:m}},qt=function(e){var t=e.subject.active;return t||Ae(!1),t},Ht=function(e,t){var n=e.page.borderBox.center;return Et(e.descriptor.id,t)?qe(n,t.displacedBy.point):n},Ut=function(e,t){var n=e.page.borderBox;return Et(e.descriptor.id,t)?$e(n,Ue(t.displacedBy.point)):n},Wt=ke((function(e,t){var n=t[e.line];return{value:n,point:We(e.line,n)}})),Vt=function(e,t){return(0,i.Z)({},e,{scroll:(0,i.Z)({},e.scroll,{max:t})})},Yt=function(e,t,n){var r=e.frame;dt(t,e)&&Ae(!1),e.subject.withPlaceholder&&Ae(!1);var a=Wt(e.axis,t.displaceBy).point,o=function(e,t,n){var r=e.axis;if(\"virtual\"===e.descriptor.mode)return We(r.line,t[r.line]);var a=e.subject.page.contentBox[r.size],i=st(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-a;return i<=0?null:We(r.line,i)}(e,a,n),l={placeholderSize:a,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r){var s=Je({page:e.subject.page,withPlaceholder:l,axis:e.axis,frame:e.frame});return(0,i.Z)({},e,{subject:s})}var u=o?Be(r.scroll.max,o):r.scroll.max,c=Vt(r,u),f=Je({page:e.subject.page,withPlaceholder:l,axis:e.axis,frame:c});return(0,i.Z)({},e,{subject:f,frame:c})},Gt=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,a=e.isOver,i=e.draggables,o=e.droppables,l=e.viewport,s=e.afterCritical,u=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,a=e.droppables,i=e.viewport,o=r.subject.active;if(!o)return null;var l=r.axis,s=gt(o[l.start],o[l.end]),u=ot(a).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return yt(i.frame)(qt(e))})).filter((function(e){var n=qt(e);return t?o[l.crossAxisEnd]<n[l.crossAxisEnd]:n[l.crossAxisStart]<o[l.crossAxisStart]})).filter((function(e){var t=qt(e),n=gt(t[l.start],t[l.end]);return s(t[l.start])||s(t[l.end])||n(o[l.start])||n(o[l.end])})).sort((function(e,n){var r=qt(e)[l.crossAxisStart],a=qt(n)[l.crossAxisStart];return t?r-a:a-r})).filter((function(e,t,n){return qt(e)[l.crossAxisStart]===qt(n[0])[l.crossAxisStart]}));if(!u.length)return null;if(1===u.length)return u[0];var c=u.filter((function(e){return gt(qt(e)[l.start],qt(e)[l.end])(n[l.line])}));return 1===c.length?c[0]:c.length>1?c.sort((function(e,t){return qt(e)[l.start]-qt(t)[l.start]}))[0]:u.sort((function(e,t){var r=Ye(n,Xe(qt(e))),a=Ye(n,Xe(qt(t)));return r!==a?r-a:qt(e)[l.start]-qt(t)[l.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:a,droppables:o,viewport:l});if(!u)return null;var c=st(u.descriptor.id,i),f=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,a=e.insideDestination,i=e.afterCritical,o=a.filter((function(e){return kt({target:Ut(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var a=Ve(t,It(r,Ht(e,i))),o=Ve(t,It(r,Ht(n,i)));return a<o?-1:o<a?1:e.descriptor.index-n.descriptor.index}));return o[0]||null}({pageBorderBoxCenter:n,viewport:l,destination:u,insideDestination:c,afterCritical:s}),d=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,a=e.draggable,i=e.draggables,o=e.destination,l=e.viewport,s=e.afterCritical;if(!n){if(r.length)return null;var u={displaced:ht,displacedBy:pt,at:{type:\"REORDER\",destination:{droppableId:o.descriptor.id,index:0}}},c=jt({impact:u,draggable:a,droppable:o,draggables:i,afterCritical:s}),f=dt(a,o)?o:Yt(o,a,i);return Zt({draggable:a,destination:f,newPageBorderBoxCenter:c,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?u:null}var d,p=Boolean(t[o.axis.line]<=n.page.borderBox.center[o.axis.line]),h=(d=n.descriptor.index,n.descriptor.id===a.descriptor.id||p?d:d+1),m=Wt(o.axis,a.displaceBy);return St({draggable:a,insideDestination:r,destination:o,viewport:l,displacedBy:m,last:ht,index:h})}({previousPageBorderBoxCenter:n,destination:u,draggable:r,draggables:i,moveRelativeTo:f,insideDestination:c,viewport:l,afterCritical:s});if(!d)return null;var p=jt({impact:d,draggable:r,droppable:u,draggables:i,afterCritical:s});return{clientSelection:Ft({pageBorderBoxCenter:p,draggable:r,viewport:l}),impact:d,scrollJumpRequest:null}},$t=function(e){var t=e.at;return t?\"REORDER\"===t.type?t.destination.droppableId:t.combine.droppableId:null},Xt=function(e){var t=e.state,n=e.type,r=function(e,t){var n=$t(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),a=Boolean(r),i=t.dimensions.droppables[t.critical.droppable.id],o=r||i,l=o.axis.direction,s=\"vertical\"===l&&(\"MOVE_UP\"===n||\"MOVE_DOWN\"===n)||\"horizontal\"===l&&(\"MOVE_LEFT\"===n||\"MOVE_RIGHT\"===n);if(s&&!a)return null;var u=\"MOVE_DOWN\"===n||\"MOVE_RIGHT\"===n,c=t.dimensions.draggables[t.critical.draggable.id],f=t.current.page.borderBoxCenter,d=t.dimensions,p=d.draggables,h=d.droppables;return s?Bt({isMovingForward:u,previousPageBorderBoxCenter:f,draggable:c,destination:o,draggables:p,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):Gt({isMovingForward:u,previousPageBorderBoxCenter:f,draggable:c,isOver:o,draggables:p,droppables:h,viewport:t.viewport,afterCritical:t.afterCritical})};function Kt(e){return\"DRAGGING\"===e.phase||\"COLLECTING\"===e.phase}function Jt(e){var t=gt(e.top,e.bottom),n=gt(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function Qt(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,a=ot(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,a=e.subject.active;if(!a)return!1;if(r=a,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(Jt(a)(t.center))return!0;var i=e.axis,o=a.center[i.crossAxisLine],l=t[i.crossAxisStart],s=t[i.crossAxisEnd],u=gt(a[i.crossAxisStart],a[i.crossAxisEnd]),c=u(l),f=u(s);return!c&&!f||(c?l<o:s>o)}));return a.length?1===a.length?a[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,a=n.page.borderBox.center,i=r.map((function(e){var n=e.axis,r=We(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:Ve(a,r)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:a}):null}var en=function(e,t){return fe($e(e,t))};function tn(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var nn=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,a=e.droppables,i=e.previousImpact,o=e.viewport,l=e.afterCritical,s=en(n.page.borderBox,t),u=Qt({pageBorderBox:s,draggable:n,droppables:a});if(!u)return mt;var c=a[u],f=st(c.descriptor.id,r),d=function(e,t){var n=e.frame;return n?en(t,n.scroll.diff.value):t}(c,s);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,a=e.destination,i=e.insideDestination,o=e.afterCritical;if(!a.isCombineEnabled)return null;var l=a.axis,s=Wt(a.axis,t.displaceBy),u=s.value,c=n[l.start],f=n[l.end],d=nt(ft(t,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox,a=n[l.size]/4,i=Et(t,o),s=tn({displaced:r.displaced,id:t});return i?s?f>n[l.start]+a&&f<n[l.end]-a:c>n[l.start]-u+a&&c<n[l.end]-u-a:s?f>n[l.start]+u+a&&f<n[l.end]+u-a:c>n[l.start]+a&&c<n[l.end]-a}));return d?{displacedBy:s,displaced:r.displaced,at:{type:\"COMBINE\",combine:{draggableId:d.descriptor.id,droppableId:a.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:d,draggable:n,previousImpact:i,destination:c,insideDestination:f,afterCritical:l})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,a=e.insideDestination,i=e.last,o=e.viewport,l=e.afterCritical,s=r.axis,u=Wt(r.axis,n.displaceBy),c=u.value,f=t[s.start],d=t[s.end],p=function(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:nt(ft(n,a),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[s.line],r=Et(t,l),a=tn({displaced:i,id:t});return r?a?d<=n:f<n-c:a?d<=n+c:f<n})),inHomeList:dt(n,r)});return St({draggable:n,insideDestination:a,destination:r,viewport:o,last:i,displacedBy:u,index:p})}({pageBorderBoxWithDroppableScroll:d,draggable:n,destination:c,insideDestination:f,last:i.displaced,viewport:o,afterCritical:l})},rn=function(e,t){var n;return(0,i.Z)({},e,((n={})[t.descriptor.id]=t,n))},an=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,a=$t(t),o=$t(n);if(!a)return r;if(a===o)return r;var l=r[a];if(!l.subject.withPlaceholder)return r;var s=function(e){var t=e.subject.withPlaceholder;t||Ae(!1);var n=e.frame;if(!n){var r=Je({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return(0,i.Z)({},e,{subject:r})}var a=t.oldFrameMaxScroll;a||Ae(!1);var o=Vt(n,a),l=Je({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null});return(0,i.Z)({},e,{subject:l,frame:o})}(l);return rn(r,s)},on=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,a=e.viewport,o=e.impact,l=e.scrollJumpRequest,s=a||t.viewport,u=r||t.dimensions,c=n||t.current.client.selection,f=qe(c,t.initial.client.selection),d={offset:f,selection:c,borderBoxCenter:Be(t.initial.client.borderBoxCenter,f)},p={selection:Be(d.selection,s.scroll.current),borderBoxCenter:Be(d.borderBoxCenter,s.scroll.current),offset:Be(d.offset,s.scroll.diff.value)},h={client:d,page:p};if(\"COLLECTING\"===t.phase)return(0,i.Z)({phase:\"COLLECTING\"},t,{dimensions:u,viewport:s,current:h});var m=u.draggables[t.critical.draggable.id],g=o||nn({pageOffset:p.offset,draggable:m,draggables:u.draggables,droppables:u.droppables,previousImpact:t.impact,viewport:s,afterCritical:t.afterCritical}),y=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,a=e.previousImpact,i=e.impact,o=an({previousImpact:a,impact:i,droppables:r}),l=$t(i);if(!l)return o;var s=r[l];if(dt(t,s))return o;if(s.subject.withPlaceholder)return o;var u=Yt(s,t,n);return rn(o,u)}({draggable:m,impact:g,previousImpact:t.impact,draggables:u.draggables,droppables:u.droppables});return(0,i.Z)({},t,{current:h,dimensions:{draggables:u.draggables,droppables:y},impact:g,viewport:s,scrollJumpRequest:l||null,forceShouldAnimate:!l&&null})};var ln=function(e){var t=e.impact,n=e.viewport,r=e.draggables,a=e.destination,o=e.forceShouldAnimate,l=t.displaced,s=function(e,t){return e.map((function(e){return t[e]}))}(l.all,r),u=Tt({afterDragging:s,destination:a,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:o,last:l});return(0,i.Z)({},t,{displaced:u})},sn=function(e){var t=e.impact,n=e.draggable,r=e.droppable,a=e.draggables,i=e.viewport,o=e.afterCritical,l=jt({impact:t,draggable:n,draggables:a,droppable:r,afterCritical:o});return Ft({pageBorderBoxCenter:l,draggable:n,viewport:i})},un=function(e){var t=e.state,n=e.dimensions,r=e.viewport;\"SNAP\"!==t.movementMode&&Ae(!1);var a=t.impact,i=r||t.viewport,o=n||t.dimensions,l=o.draggables,s=o.droppables,u=l[t.critical.draggable.id],c=$t(a);c||Ae(!1);var f=s[c],d=ln({impact:a,viewport:i,destination:f,draggables:l}),p=sn({impact:d,draggable:u,droppable:f,draggables:l,viewport:i,afterCritical:t.afterCritical});return on({impact:d,clientSelection:p,state:t,dimensions:o,viewport:i})},cn=function(e){var t=e.draggable,n=e.home,r=e.draggables,a=e.viewport,i=Wt(n.axis,t.displaceBy),o=st(n.descriptor.id,r),l=o.indexOf(t);-1===l&&Ae(!1);var s,u=o.slice(l+1),c=u.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),f={inVirtualList:\"virtual\"===n.descriptor.mode,displacedBy:i,effected:c};return{impact:{displaced:Tt({afterDragging:u,destination:n,displacedBy:i,last:null,viewport:a.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:\"REORDER\",destination:(s=t.descriptor,{index:s.index,droppableId:s.droppableId})}},afterCritical:f}},fn=function(e){0},dn=function(e){0},pn=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,a=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=function(e){var t=e.frame;return t||Ae(!1),t}(n[t]),l=o.scroll.diff.value,s=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,a=ye(t.client,n),o=ve(a,r);return(0,i.Z)({},t,{placeholder:(0,i.Z)({},t.placeholder,{client:a}),client:a,page:o})}({draggable:e,offset:Be(a,l),initialWindowScroll:r.scroll.initial});return s}))},hn=function(e){return\"SNAP\"===e.movementMode},mn=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:rn(e.droppables,t)}}(e.dimensions,t);return!hn(e)||n?on({state:e,dimensions:r}):un({state:e,dimensions:r})};function gn(e){return e.isDragging&&\"SNAP\"===e.movementMode?(0,i.Z)({phase:\"DRAGGING\"},e,{scrollJumpRequest:null}):e}var yn={phase:\"IDLE\",completed:null,shouldFlush:!1},vn=function(e,t){if(void 0===e&&(e=yn),\"FLUSH\"===t.type)return(0,i.Z)({},yn,{shouldFlush:!0});if(\"INITIAL_PUBLISH\"===t.type){\"IDLE\"!==e.phase&&Ae(!1);var n=t.payload,r=n.critical,a=n.clientSelection,o=n.viewport,l=n.dimensions,s=n.movementMode,u=l.draggables[r.draggable.id],c=l.droppables[r.droppable.id],f={selection:a,borderBoxCenter:u.client.borderBox.center,offset:Ze},d={client:f,page:{selection:Be(f.selection,o.scroll.initial),borderBoxCenter:Be(f.selection,o.scroll.initial),offset:Be(f.selection,o.scroll.diff.value)}},p=ot(l.droppables).every((function(e){return!e.isFixedOnPage})),h=cn({draggable:u,home:c,draggables:l.draggables,viewport:o}),m=h.impact;return{phase:\"DRAGGING\",isDragging:!0,critical:r,movementMode:s,dimensions:l,initial:d,current:d,isWindowScrollAllowed:p,impact:m,afterCritical:h.afterCritical,onLiftImpact:m,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if(\"COLLECTION_STARTING\"===t.type)return\"COLLECTING\"===e.phase||\"DROP_PENDING\"===e.phase?e:(\"DRAGGING\"!==e.phase&&Ae(!1),(0,i.Z)({phase:\"COLLECTING\"},e,{phase:\"COLLECTING\"}));if(\"PUBLISH_WHILE_DRAGGING\"===t.type)return\"COLLECTING\"!==e.phase&&\"DROP_PENDING\"!==e.phase&&Ae(!1),function(e){var t=e.state,n=e.published;fn();var r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return Qe(n,e.scroll)})),a=(0,i.Z)({},t.dimensions.droppables,{},at(r)),o=it(pn({additions:n.additions,updatedDroppables:a,viewport:t.viewport})),l=(0,i.Z)({},t.dimensions.draggables,{},o);n.removals.forEach((function(e){delete l[e]}));var s={droppables:a,draggables:l},u=$t(t.impact),c=u?s.droppables[u]:null,f=s.draggables[t.critical.draggable.id],d=s.droppables[t.critical.droppable.id],p=cn({draggable:f,home:d,draggables:l,viewport:t.viewport}),h=p.impact,m=p.afterCritical,g=c&&c.isCombineEnabled?t.impact:h,y=nn({pageOffset:t.current.page.offset,draggable:s.draggables[t.critical.draggable.id],draggables:s.draggables,droppables:s.droppables,previousImpact:g,viewport:t.viewport,afterCritical:m});dn();var v=(0,i.Z)({phase:\"DRAGGING\"},t,{phase:\"DRAGGING\",impact:y,onLiftImpact:h,dimensions:s,afterCritical:m,forceShouldAnimate:!1});return\"COLLECTING\"===t.phase?v:(0,i.Z)({phase:\"DROP_PENDING\"},v,{phase:\"DROP_PENDING\",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if(\"MOVE\"===t.type){if(\"DROP_PENDING\"===e.phase)return e;Kt(e)||Ae(!1);var g=t.payload.client;return He(g,e.current.client.selection)?e:on({state:e,clientSelection:g,impact:hn(e)?e.impact:null})}if(\"UPDATE_DROPPABLE_SCROLL\"===t.type){if(\"DROP_PENDING\"===e.phase)return gn(e);if(\"COLLECTING\"===e.phase)return gn(e);Kt(e)||Ae(!1);var y=t.payload,v=y.id,b=y.newScroll,x=e.dimensions.droppables[v];if(!x)return e;var w=Qe(x,b);return mn(e,w,!1)}if(\"UPDATE_DROPPABLE_IS_ENABLED\"===t.type){if(\"DROP_PENDING\"===e.phase)return e;Kt(e)||Ae(!1);var _=t.payload,k=_.id,T=_.isEnabled,M=e.dimensions.droppables[k];M||Ae(!1),M.isEnabled===T&&Ae(!1);var S=(0,i.Z)({},M,{isEnabled:T});return mn(e,S,!0)}if(\"UPDATE_DROPPABLE_IS_COMBINE_ENABLED\"===t.type){if(\"DROP_PENDING\"===e.phase)return e;Kt(e)||Ae(!1);var E=t.payload,C=E.id,O=E.isCombineEnabled,A=e.dimensions.droppables[C];A||Ae(!1),A.isCombineEnabled===O&&Ae(!1);var D=(0,i.Z)({},A,{isCombineEnabled:O});return mn(e,D,!0)}if(\"MOVE_BY_WINDOW_SCROLL\"===t.type){if(\"DROP_PENDING\"===e.phase||\"DROP_ANIMATING\"===e.phase)return e;Kt(e)||Ae(!1),e.isWindowScrollAllowed||Ae(!1);var P=t.payload.newScroll;if(He(e.viewport.scroll.current,P))return gn(e);var R=Nt(e.viewport,P);return hn(e)?un({state:e,viewport:R}):on({state:e,viewport:R})}if(\"UPDATE_VIEWPORT_MAX_SCROLL\"===t.type){if(!Kt(e))return e;var L=t.payload.maxScroll;if(He(L,e.viewport.scroll.max))return e;var I=(0,i.Z)({},e.viewport,{scroll:(0,i.Z)({},e.viewport.scroll,{max:L})});return(0,i.Z)({phase:\"DRAGGING\"},e,{viewport:I})}if(\"MOVE_UP\"===t.type||\"MOVE_DOWN\"===t.type||\"MOVE_LEFT\"===t.type||\"MOVE_RIGHT\"===t.type){if(\"COLLECTING\"===e.phase||\"DROP_PENDING\"===e.phase)return e;\"DRAGGING\"!==e.phase&&Ae(!1);var j=Xt({state:e,type:t.type});return j?on({state:e,impact:j.impact,clientSelection:j.clientSelection,scrollJumpRequest:j.scrollJumpRequest}):e}if(\"DROP_PENDING\"===t.type){var N=t.payload.reason;return\"COLLECTING\"!==e.phase&&Ae(!1),(0,i.Z)({phase:\"DROP_PENDING\"},e,{phase:\"DROP_PENDING\",isWaiting:!0,reason:N})}if(\"DROP_ANIMATE\"===t.type){var z=t.payload,F=z.completed,Z=z.dropDuration,B=z.newHomeClientOffset;return\"DRAGGING\"!==e.phase&&\"DROP_PENDING\"!==e.phase&&Ae(!1),{phase:\"DROP_ANIMATING\",completed:F,dropDuration:Z,newHomeClientOffset:B,dimensions:e.dimensions}}return\"DROP_COMPLETE\"===t.type?{phase:\"IDLE\",completed:t.payload.completed,shouldFlush:!1}:e},bn=function(e){return{type:\"PUBLISH_WHILE_DRAGGING\",payload:e}},xn=function(){return{type:\"COLLECTION_STARTING\",payload:null}},wn=function(e){return{type:\"UPDATE_DROPPABLE_SCROLL\",payload:e}},_n=function(e){return{type:\"UPDATE_DROPPABLE_IS_ENABLED\",payload:e}},kn=function(e){return{type:\"UPDATE_DROPPABLE_IS_COMBINE_ENABLED\",payload:e}},Tn=function(e){return{type:\"MOVE\",payload:e}},Mn=function(){return{type:\"MOVE_UP\",payload:null}},Sn=function(){return{type:\"MOVE_DOWN\",payload:null}},En=function(){return{type:\"MOVE_RIGHT\",payload:null}},Cn=function(){return{type:\"MOVE_LEFT\",payload:null}},On=function(e){return{type:\"DROP_COMPLETE\",payload:e}},An=function(e){return{type:\"DROP\",payload:e}},Dn=function(){return{type:\"DROP_ANIMATION_FINISHED\",payload:null}};var Pn=\"cubic-bezier(.2,1,.1,1)\",Rn={drop:0,combining:.7},Ln={drop:.75},In=.2+\"s \"+\"cubic-bezier(0.2, 0, 0, 1)\",jn={fluid:\"opacity \"+In,snap:\"transform \"+In+\", opacity \"+In,drop:function(e){var t=e+\"s \"+Pn;return\"transform \"+t+\", opacity \"+t},outOfTheWay:\"transform \"+In,placeholder:\"height \"+In+\", width \"+In+\", margin \"+In},Nn=function(e){return He(e,Ze)?null:\"translate(\"+e.x+\"px, \"+e.y+\"px)\"},zn=Nn,Fn=function(e,t){var n=Nn(e);return n?t?n+\" scale(\"+Ln.drop+\")\":n:null},Zn=.33,Bn=.55,qn=Bn-Zn,Hn=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if(\"DROP\"===r.type){var a=t(),o=r.payload.reason;if(\"COLLECTING\"!==a.phase){if(\"IDLE\"!==a.phase){\"DROP_PENDING\"===a.phase&&a.isWaiting&&Ae(!1),\"DRAGGING\"!==a.phase&&\"DROP_PENDING\"!==a.phase&&Ae(!1);var l=a.critical,s=a.dimensions,u=s.draggables[a.critical.draggable.id],c=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,a=e.home,o=e.viewport,l=e.onLiftImpact;return r.at&&\"DROP\"===n?\"REORDER\"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:(0,i.Z)({},r,{displaced:ht}),didDropInsideDroppable:!0}:{impact:ln({draggables:t,impact:l,destination:a,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:o,lastImpact:a.impact,afterCritical:a.afterCritical,onLiftImpact:a.onLiftImpact,home:a.dimensions.droppables[a.critical.droppable.id],viewport:a.viewport,draggables:a.dimensions.draggables}),f=c.impact,d=c.didDropInsideDroppable,p=d?ut(f):null,h=d?ct(f):null,m={index:l.draggable.index,droppableId:l.droppable.id},g={draggableId:u.descriptor.id,type:u.descriptor.type,source:m,reason:o,mode:a.movementMode,destination:p,combine:h},y=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,a=e.viewport,i=e.afterCritical,o=r.draggables,l=r.droppables,s=$t(t),u=s?l[s]:null,c=l[n.descriptor.droppableId],f=sn({impact:t,draggable:n,draggables:o,afterCritical:i,droppable:u||c,viewport:a});return qe(f,n.client.borderBox.center)}({impact:f,draggable:u,dimensions:s,viewport:a.viewport,afterCritical:a.afterCritical}),v={critical:a.critical,afterCritical:a.afterCritical,result:g,impact:f};if(!He(a.current.client.offset,y)||Boolean(g.combine)){var b=function(e){var t=e.current,n=e.destination,r=e.reason,a=Ve(t,n);if(a<=0)return Zn;if(a>=1500)return Bn;var i=Zn+qn*(a/1500);return Number((\"CANCEL\"===r?.6*i:i).toFixed(2))}({current:a.current.client.offset,destination:y,reason:o});n(function(e){return{type:\"DROP_ANIMATE\",payload:e}}({newHomeClientOffset:y,dropDuration:b,completed:v}))}else n(On({completed:v}))}}else n(function(e){return{type:\"DROP_PENDING\",payload:e}}({reason:o}))}else e(r)}}},Un=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Wn(e){var t=e.onWindowScroll;var n=Te((function(){t(Un())})),r=function(e){return{eventName:\"scroll\",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),a=Se;function i(){return a!==Se}return{start:function(){i()&&Ae(!1),a=Ee(window,[r])},stop:function(){i()||Ae(!1),n.cancel(),a(),a=Se},isActive:i}}var Vn=function(e){var t=Wn({onWindowScroll:function(t){e.dispatch({type:\"MOVE_BY_WINDOW_SCROLL\",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||\"INITIAL_PUBLISH\"!==n.type||t.start(),t.isActive()&&function(e){return\"DROP_COMPLETE\"===e.type||\"DROP_ANIMATE\"===e.type||\"FLUSH\"===e.type}(n)&&t.stop(),e(n)}}},Yn=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=tt(e,(function(e){return e.timerId===t}));-1===n&&Ae(!1),e.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:t};e.push(r)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},Gn=function(e,t){fn(),t(),dn()},$n=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Xn=function(e,t,n,r){if(e){var a=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),a=function(a){t||n||(t=!0,e(a),clearTimeout(r))};return a.wasCalled=function(){return t},a}(n);e(t,{announce:a}),a.wasCalled()||n(r(t))}else n(r(t))},Kn=function(e,t){var n=function(e,t){var n=Yn(),r=null,a=function(n){r||Ae(!1),r=null,Gn(0,(function(){return Xn(e().onDragEnd,n,t,Fe)}))};return{beforeCapture:function(t,n){r&&Ae(!1),Gn(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&Ae(!1),Gn(0,(function(){var r=e().onBeforeDragStart;r&&r($n(t,n))}))},start:function(a,i){r&&Ae(!1);var o=$n(a,i);r={mode:i,lastCritical:a,lastLocation:o.source,lastCombine:null},n.add((function(){Gn(0,(function(){return Xn(e().onDragStart,o,t,Ne)}))}))},update:function(a,o){var l=ut(o),s=ct(o);r||Ae(!1);var u=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(a,r.lastCritical);u&&(r.lastCritical=a);var c,f,d=(f=l,!(null==(c=r.lastLocation)&&null==f||null!=c&&null!=f&&c.droppableId===f.droppableId&&c.index===f.index));d&&(r.lastLocation=l);var p=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(r.lastCombine,s);if(p&&(r.lastCombine=s),u||d||p){var h=(0,i.Z)({},$n(a,r.mode),{combine:s,destination:l});n.add((function(){Gn(0,(function(){return Xn(e().onDragUpdate,h,t,ze)}))}))}},flush:function(){r||Ae(!1),n.flush()},drop:a,abort:function(){if(r){var e=(0,i.Z)({},$n(r.lastCritical,r.mode),{combine:null,destination:null,reason:\"CANCEL\"});a(e)}}}}(e,t);return function(e){return function(t){return function(r){if(\"BEFORE_INITIAL_CAPTURE\"!==r.type){if(\"INITIAL_PUBLISH\"===r.type){var a=r.payload.critical;return n.beforeStart(a,r.payload.movementMode),t(r),void n.start(a,r.payload.movementMode)}if(\"DROP_COMPLETE\"===r.type){var i=r.payload.completed.result;return n.flush(),t(r),void n.drop(i)}if(t(r),\"FLUSH\"!==r.type){var o=e.getState();\"DRAGGING\"===o.phase&&n.update(o.critical,o.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Jn=function(e){return function(t){return function(n){if(\"DROP_ANIMATION_FINISHED\"===n.type){var r=e.getState();\"DROP_ANIMATING\"!==r.phase&&Ae(!1),e.dispatch(On({completed:r.completed}))}else t(n)}}},Qn=function(e){var t=null,n=null;return function(r){return function(a){if(\"FLUSH\"!==a.type&&\"DROP_COMPLETE\"!==a.type&&\"DROP_ANIMATION_FINISHED\"!==a.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(a),\"DROP_ANIMATE\"===a.type){var i={eventName:\"scroll\",options:{capture:!0,passive:!1,once:!0},fn:function(){\"DROP_ANIMATING\"===e.getState().phase&&e.dispatch({type:\"DROP_ANIMATION_FINISHED\",payload:null})}};n=requestAnimationFrame((function(){n=null,t=Ee(window,[i])}))}}}},er=function(e){return function(t){return function(n){if(t(n),\"PUBLISH_WHILE_DRAGGING\"===n.type){var r=e.getState();\"DROP_PENDING\"===r.phase&&(r.isWaiting||e.dispatch(An({reason:r.reason})))}}}},tr=y,nr=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,a=e.styleMarshal,i=e.getResponders,o=e.announce,l=e.autoScroller;return h(vn,tr(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(u(15))},a={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(a)}));return r=y.apply(void 0,i)(n.dispatch),s(s({},n),{},{dispatch:r})}}}((t=a,function(){return function(e){return function(n){\"INITIAL_PUBLISH\"===n.type&&t.dragging(),\"DROP_ANIMATE\"===n.type&&t.dropping(n.payload.completed.result.reason),\"FLUSH\"!==n.type&&\"DROP_COMPLETE\"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){\"DROP_COMPLETE\"!==n.type&&\"FLUSH\"!==n.type&&\"DROP_ANIMATE\"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(a){if(\"LIFT\"===a.type){var i=a.payload,o=i.id,l=i.clientSelection,s=i.movementMode,u=n();\"DROP_ANIMATING\"===u.phase&&r(On({completed:u.completed})),\"IDLE\"!==n().phase&&Ae(!1),r({type:\"FLUSH\",payload:null}),r({type:\"BEFORE_INITIAL_CAPTURE\",payload:{draggableId:o,movementMode:s}});var c={draggableId:o,scrollOptions:{shouldPublishImmediately:\"SNAP\"===s}},f=e.startPublishing(c),d=f.critical,p=f.dimensions,h=f.viewport;r({type:\"INITIAL_PUBLISH\",payload:{critical:d,dimensions:p,clientSelection:l,movementMode:s,viewport:h}})}else t(a)}}}}(n),Hn,Jn,Qn,er,function(e){return function(t){return function(n){return function(r){if(function(e){return\"DROP_COMPLETE\"===e.type||\"DROP_ANIMATE\"===e.type||\"FLUSH\"===e.type}(r))return e.stop(),void n(r);if(\"INITIAL_PUBLISH\"===r.type){n(r);var a=t.getState();return\"DRAGGING\"!==a.phase&&Ae(!1),void e.start(a)}n(r),e.scroll(t.getState())}}}}(l),Vn,function(e){var t=!1;return function(){return function(n){return function(r){if(\"INITIAL_PUBLISH\"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if(\"FLUSH\"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if(\"DROP_COMPLETE\"===r.type){t=!1;var a=r.payload.completed.result;a.combine&&e.tryShiftRecord(a.draggableId,a.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),Kn(i,o))))};var rr=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,a=e.width,i=qe({x:n,y:t},{x:a,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},ar=function(){var e=document.documentElement;return e||Ae(!1),e},ir=function(){var e=ar();return rr({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},or=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry;fn();var a,i,o,l,s,u,c,f=(a=Un(),i=ir(),o=a.y,l=a.x,s=ar(),u=s.clientWidth,c=s.clientHeight,{frame:fe({top:o,left:l,right:l+u,bottom:o+c}),scroll:{initial:a,current:a,max:i,diff:{value:Ze,displacement:Ze}}}),d=f.scroll.current,p=t.droppable,h=r.droppable.getAllByType(p.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(d,n)})),m=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(d)})),g={draggables:it(m),droppables:at(h)};return dn(),{dimensions:g,critical:t,viewport:f}};function lr(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&\"virtual\"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var sr,ur,cr=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},a=null,i=function(){a||(n.collectionStarting(),a=requestAnimationFrame((function(){a=null,fn();var e=r,i=e.additions,o=e.removals,l=e.modified,s=Object.keys(i).map((function(e){return t.draggable.getById(e).getDimension(Ze)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),u=Object.keys(l).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),c={additions:s,removals:Object.keys(o),modified:u};r={additions:{},removals:{},modified:{}},dn(),n.publish(c)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],i()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],i()},stop:function(){a&&(cancelAnimationFrame(a),a=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),a=function(t){n||Ae(!1);var a=n.critical.draggable;\"ADDITION\"===t.type&&lr(e,a,t.value)&&r.add(t.value),\"REMOVAL\"===t.type&&lr(e,a,t.value)&&r.remove(t.value)},i={updateDroppableIsEnabled:function(r,a){e.droppable.exists(r)||Ae(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:a})},updateDroppableIsCombineEnabled:function(r,a){n&&(e.droppable.exists(r)||Ae(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:a}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,a){n&&(e.droppable.exists(r)||Ae(!1),t.updateDroppableScroll({id:r,newScroll:a}))},startPublishing:function(t){n&&Ae(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),o={draggable:r.descriptor,droppable:i.descriptor},l=e.subscribe(a);return n={critical:o,unsubscribe:l},or({critical:o,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}};return i},fr=function(e,t){return\"IDLE\"===e.phase||\"DROP_ANIMATING\"===e.phase&&(e.completed.result.draggableId!==t&&\"DROP\"===e.completed.result.reason)},dr=function(e){window.scrollBy(e.x,e.y)},pr=ke((function(e){return ot(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),hr=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var a=r[n];return a.frame?a:null}var i=function(e,t){var n=nt(pr(t),(function(t){return t.frame||Ae(!1),Jt(t.frame.pageMarginBox)(e)}));return n}(t,r);return i},mr=.25,gr=.05,yr=28,vr=function(e){return Math.pow(e,2)},br={stopDampeningAt:1200,accelerateAt:360},xr=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,a=n-t;return 0===a?0:(r-t)/a},wr=br.accelerateAt,_r=br.stopDampeningAt,kr=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,a=e.shouldUseTimeDampening,i=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return yr;if(e===t.startScrollingFrom)return 1;var n=xr({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=yr*vr(1-n);return Math.ceil(r)}(t,n);return 0===i?0:a?Math.max(function(e,t){var n=t,r=_r,a=Date.now()-n;if(a>=_r)return e;if(a<wr)return 1;var i=xr({startOfRange:wr,endOfRange:r,current:a}),o=e*vr(i);return Math.ceil(o)}(i,r),1):i},Tr=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,a=e.axis,i=e.shouldUseTimeDampening,o=function(e,t){return{startScrollingFrom:e[t.size]*mr,maxScrollValueAt:e[t.size]*gr}}(t,a);return n[a.end]<n[a.start]?kr({distanceToEdge:n[a.end],thresholds:o,dragStartTime:r,shouldUseTimeDampening:i}):-1*kr({distanceToEdge:n[a.start],thresholds:o,dragStartTime:r,shouldUseTimeDampening:i})},Mr=Ge((function(e){return 0===e?0:e})),Sr=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,a=e.center,i=e.shouldUseTimeDampening,o={top:a.y-n.top,right:n.right-a.x,bottom:n.bottom-a.y,left:a.x-n.left},l=Tr({container:n,distanceToEdges:o,dragStartTime:t,axis:bt,shouldUseTimeDampening:i}),s=Tr({container:n,distanceToEdges:o,dragStartTime:t,axis:xt,shouldUseTimeDampening:i}),u=Mr({x:s,y:l});if(He(u,Ze))return null;var c=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,a=n.height>t.height,i=n.width>t.width;return i||a?i&&a?null:{x:i?0:r.x,y:a?0:r.y}:r}({container:n,subject:r,proposedScroll:u});return c?He(c,Ze)?null:c:null},Er=Ge((function(e){return 0===e?0:e>0?1:-1})),Cr=(sr=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,a=Be(t,r),i={x:sr(a.x,n.x),y:sr(a.y,n.y)};return He(i,Ze)?null:i}),Or=function(e){var t=e.max,n=e.current,r=e.change,a={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},i=Er(r),o=Cr({max:a,current:n,change:i});return!o||(0!==i.x&&0===o.x||0!==i.y&&0===o.y)},Ar=function(e,t){return Or({current:e.scroll.current,max:e.scroll.max,change:t})},Dr=function(e,t){var n=e.frame;return!!n&&Or({current:n.scroll.current,max:n.scroll.max,change:t})},Pr=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,a=e.scrollWindow,i=e.scrollDroppable,o=t.current.page.borderBoxCenter,l=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var s=function(e){var t=e.viewport,n=e.subject,r=e.center,a=e.dragStartTime,i=e.shouldUseTimeDampening,o=Sr({dragStartTime:a,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return o&&Ar(t,o)?o:null}({dragStartTime:n,viewport:t.viewport,subject:l,center:o,shouldUseTimeDampening:r});if(s)return void a(s)}var u=hr({center:o,destination:$t(t.impact),droppables:t.dimensions.droppables});if(u){var c=function(e){var t=e.droppable,n=e.subject,r=e.center,a=e.dragStartTime,i=e.shouldUseTimeDampening,o=t.frame;if(!o)return null;var l=Sr({dragStartTime:a,container:o.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return l&&Dr(t,l)?l:null}({dragStartTime:n,droppable:u,subject:l,center:o,shouldUseTimeDampening:r});c&&i(u.descriptor.id,c)}},Rr=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,a=function(e,t){if(!Dr(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Dr(e,t)?Cr({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var a=qe(t,r);return n(e.descriptor.id,a),qe(t,a)},i=function(e,t,n){if(!e)return n;if(!Ar(t,n))return n;var a=function(e,t){if(!Ar(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return Cr({current:r,max:n,change:t})}(t,n);if(!a)return r(n),null;var i=qe(n,a);return r(i),qe(n,i)};return function(e){var n=e.scrollJumpRequest;if(n){var r=$t(e.impact);r||Ae(!1);var o=a(e.dimensions.droppables[r],n);if(o){var l=e.viewport,s=i(e.isWindowScrollAllowed,l,o);s&&function(e,n){var r=Be(e.current.client.selection,n);t({client:r})}(e,s)}}}},Lr=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,a=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=Te(t),a=Te(n),i=null,o=function(e){i||Ae(!1);var t=i,n=t.shouldUseTimeDampening,o=t.dragStartTime;Pr({state:e,scrollWindow:r,scrollDroppable:a,dragStartTime:o,shouldUseTimeDampening:n})};return{start:function(e){fn(),i&&Ae(!1);var t=Date.now(),n=!1,r=function(){n=!0};Pr({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},dn(),n&&o(e)},stop:function(){i&&(r.cancel(),a.cancel(),i=null)},scroll:o}}({scrollWindow:n,scrollDroppable:t}),i=Rr({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){\"DRAGGING\"===e.phase&&(\"FLUID\"!==e.movementMode?e.scrollJumpRequest&&i(e):a.scroll(e))},start:a.start,stop:a.stop}},Ir={base:ur=\"data-rbd-drag-handle\",draggableId:ur+\"-draggable-id\",contextId:ur+\"-context-id\"},jr=function(){var e=\"data-rbd-draggable\";return{base:e,contextId:e+\"-context-id\",id:e+\"-id\"}}(),Nr=function(){var e=\"data-rbd-droppable\";return{base:e,contextId:e+\"-context-id\",id:e+\"-id\"}}(),zr={contextId:\"data-rbd-scroll-container-context-id\"},Fr=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+\" { \"+n+\" }\":\"\"})).join(\" \")},Zr=\"undefined\"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,Br=function(){var e=document.querySelector(\"head\");return e||Ae(!1),e},qr=function(e){var t=document.createElement(\"style\");return e&&t.setAttribute(\"nonce\",e),t.type=\"text/css\",t};function Hr(e,t){var n=le((function(){return function(e){var t,n,r,a=(t=e,function(e){return\"[\"+e+'=\"'+t+'\"]'}),i=(n=\"\\n cursor: -webkit-grab;\\n cursor: grab;\\n \",{selector:a(Ir.contextId),styles:{always:\"\\n -webkit-touch-callout: none;\\n -webkit-tap-highlight-color: rgba(0,0,0,0);\\n touch-action: manipulation;\\n \",resting:n,dragging:\"pointer-events: none;\",dropAnimating:n}}),o=[(r=\"\\n transition: \"+jn.outOfTheWay+\";\\n \",{selector:a(jr.contextId),styles:{dragging:r,dropAnimating:r,userCancel:r}}),i,{selector:a(Nr.contextId),styles:{always:\"overflow-anchor: none;\"}},{selector:\"body\",styles:{dragging:\"\\n cursor: grabbing;\\n cursor: -webkit-grabbing;\\n user-select: none;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n overflow-anchor: none;\\n \"}}];return{always:Fr(o,\"always\"),resting:Fr(o,\"resting\"),dragging:Fr(o,\"dragging\"),dropAnimating:Fr(o,\"dropAnimating\"),userCancel:Fr(o,\"userCancel\")}}(e)}),[e]),a=(0,r.useRef)(null),i=(0,r.useRef)(null),o=se(ke((function(e){var t=i.current;t||Ae(!1),t.textContent=e})),[]),l=se((function(e){var t=a.current;t||Ae(!1),t.textContent=e}),[]);Zr((function(){(a.current||i.current)&&Ae(!1);var r=qr(t),s=qr(t);return a.current=r,i.current=s,r.setAttribute(\"data-rbd-always\",e),s.setAttribute(\"data-rbd-dynamic\",e),Br().appendChild(r),Br().appendChild(s),l(n.always),o(n.resting),function(){var e=function(e){var t=e.current;t||Ae(!1),Br().removeChild(t),e.current=null};e(a),e(i)}}),[t,l,o,n.always,n.resting,e]);var s=se((function(){return o(n.dragging)}),[o,n.dragging]),u=se((function(e){o(\"DROP\"!==e?n.userCancel:n.dropAnimating)}),[o,n.dropAnimating,n.userCancel]),c=se((function(){i.current&&o(n.resting)}),[o,n.resting]);return le((function(){return{dragging:s,dropping:u,resting:c}}),[s,u,c])}var Ur=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Wr(e){return e instanceof Ur(e).HTMLElement}function Vr(e,t){var n=\"[\"+Ir.contextId+'=\"'+e+'\"]',r=rt(document.querySelectorAll(n));if(!r.length)return null;var a=nt(r,(function(e){return e.getAttribute(Ir.draggableId)===t}));return a&&Wr(a)?a:null}function Yr(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function a(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:\"ADDITION\",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var a=t.descriptor.id,i=r(a);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[a],n({type:\"REMOVAL\",value:t}))},getById:function(e){var t=r(e);return t||Ae(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return et(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=a(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=a(e);return t||Ae(!1),t},findById:a,exists:function(e){return Boolean(a(e))},getAllByType:function(t){return et(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Gr=r.createContext(null),$r=function(){var e=document.body;return e||Ae(!1),e},Xr={position:\"absolute\",width:\"1px\",height:\"1px\",margin:\"-1px\",border:\"0\",padding:\"0\",overflow:\"hidden\",clip:\"rect(0 0 0 0)\",\"clip-path\":\"inset(100%)\"};var Kr=0,Jr={separator:\"::\"};function Qr(e,t){return void 0===t&&(t=Jr),le((function(){return\"\"+e+t.separator+Kr++}),[t.separator,e])}var ea=r.createContext(null);function ta(e){0}function na(e,t){ta()}function ra(){na()}function aa(e){var t=(0,r.useRef)(e);return(0,r.useEffect)((function(){t.current=e})),t}var ia,oa=((ia={})[13]=!0,ia[9]=!0,ia),la=function(e){oa[e.keyCode]&&e.preventDefault()},sa=function(){var e=\"visibilitychange\";return\"undefined\"==typeof document?e:nt([e,\"ms\"+e,\"webkit\"+e,\"moz\"+e,\"o\"+e],(function(e){return\"on\"+e in document}))||e}();var ua,ca={type:\"IDLE\"};function fa(e){var t=e.cancel,n=e.completed,r=e.getPhase,a=e.setPhase;return[{eventName:\"mousemove\",fn:function(e){var t=e.button,n=e.clientX,i=e.clientY;if(0===t){var o={x:n,y:i},l=r();if(\"DRAGGING\"===l.type)return e.preventDefault(),void l.actions.move(o);\"PENDING\"!==l.type&&Ae(!1);var s=l.point;if(u=s,c=o,Math.abs(c.x-u.x)>=5||Math.abs(c.y-u.y)>=5){var u,c;e.preventDefault();var f=l.actions.fluidLift(o);a({type:\"DRAGGING\",actions:f})}}}},{eventName:\"mouseup\",fn:function(e){var a=r();\"DRAGGING\"===a.type?(e.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:\"mousedown\",fn:function(e){\"DRAGGING\"===r().type&&e.preventDefault(),t()}},{eventName:\"keydown\",fn:function(e){if(\"PENDING\"!==r().type)return 27===e.keyCode?(e.preventDefault(),void t()):void la(e);t()}},{eventName:\"resize\",fn:t},{eventName:\"scroll\",options:{passive:!0,capture:!1},fn:function(){\"PENDING\"===r().type&&t()}},{eventName:\"webkitmouseforcedown\",fn:function(e){var n=r();\"IDLE\"===n.type&&Ae(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:sa,fn:t}]}function da(e){var t=(0,r.useRef)(ca),n=(0,r.useRef)(Se),a=le((function(){return{eventName:\"mousedown\",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var a=e.tryGetLock(r,l,{sourceEvent:t});if(a){t.preventDefault();var i={x:t.clientX,y:t.clientY};n.current(),c(a,i)}}}}}}),[e]),i=le((function(){return{eventName:\"webkitmouseforcewillbegin\",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),o=se((function(){n.current=Ee(window,[i,a],{passive:!1,capture:!0})}),[i,a]),l=se((function(){\"IDLE\"!==t.current.type&&(t.current=ca,n.current(),o())}),[o]),s=se((function(){var e=t.current;l(),\"DRAGGING\"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),\"PENDING\"===e.type&&e.actions.abort()}),[l]),u=se((function(){var e=fa({cancel:s,completed:l,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=Ee(window,e,{capture:!0,passive:!1})}),[s,l]),c=se((function(e,n){\"IDLE\"!==t.current.type&&Ae(!1),t.current={type:\"PENDING\",point:n,actions:e},u()}),[u]);Zr((function(){return o(),function(){n.current()}}),[o])}function pa(){}var ha=((ua={})[34]=!0,ua[33]=!0,ua[36]=!0,ua[35]=!0,ua);function ma(e,t){function n(){t(),e.cancel()}return[{eventName:\"keydown\",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(ha[r.keyCode]?r.preventDefault():la(r))}},{eventName:\"mousedown\",fn:n},{eventName:\"mouseup\",fn:n},{eventName:\"click\",fn:n},{eventName:\"touchstart\",fn:n},{eventName:\"resize\",fn:n},{eventName:\"wheel\",fn:n,options:{passive:!0}},{eventName:sa,fn:n}]}function ga(e){var t=(0,r.useRef)(pa),n=le((function(){return{eventName:\"keydown\",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var r=e.findClosestDraggableId(n);if(r){var i=e.tryGetLock(r,s,{sourceEvent:n});if(i){n.preventDefault();var o=!0,l=i.snapLift();t.current(),t.current=Ee(window,ma(l,s),{capture:!0,passive:!1})}}}function s(){o||Ae(!1),o=!1,t.current(),a()}}}}),[e]),a=se((function(){t.current=Ee(window,[n],{passive:!1,capture:!0})}),[n]);Zr((function(){return a(),function(){t.current()}}),[a])}var ya={type:\"IDLE\"};function va(e){var t=(0,r.useRef)(ya),n=(0,r.useRef)(Se),a=se((function(){return t.current}),[]),i=se((function(e){t.current=e}),[]),o=le((function(){return{eventName:\"touchstart\",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var a=e.tryGetLock(r,s,{sourceEvent:t});if(a){var i=t.touches[0],o={x:i.clientX,y:i.clientY};n.current(),d(a,o)}}}}}}),[e]),l=se((function(){n.current=Ee(window,[o],{capture:!0,passive:!1})}),[o]),s=se((function(){var e=t.current;\"IDLE\"!==e.type&&(\"PENDING\"===e.type&&clearTimeout(e.longPressTimerId),i(ya),n.current(),l())}),[l,i]),u=se((function(){var e=t.current;s(),\"DRAGGING\"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),\"PENDING\"===e.type&&e.actions.abort()}),[s]),c=se((function(){var e={capture:!0,passive:!1},t={cancel:u,completed:s,getPhase:a},r=Ee(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:\"touchmove\",options:{capture:!1},fn:function(e){var n=r();if(\"DRAGGING\"===n.type){n.hasMoved=!0;var a=e.touches[0],i={x:a.clientX,y:a.clientY};e.preventDefault(),n.actions.move(i)}else t()}},{eventName:\"touchend\",fn:function(e){var a=r();\"DRAGGING\"===a.type?(e.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:\"touchcancel\",fn:function(e){\"DRAGGING\"===r().type?(e.preventDefault(),t()):t()}},{eventName:\"touchforcechange\",fn:function(e){var n=r();\"IDLE\"===n.type&&Ae(!1);var a=e.touches[0];if(a&&a.force>=.15){var i=n.actions.shouldRespectForcePress();if(\"PENDING\"!==n.type)return i?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();i&&t()}}},{eventName:sa,fn:t}]}(t),e),i=Ee(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:\"orientationchange\",fn:t},{eventName:\"resize\",fn:t},{eventName:\"contextmenu\",fn:function(e){e.preventDefault()}},{eventName:\"keydown\",fn:function(e){\"DRAGGING\"===n().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:sa,fn:t}]}(t),e);n.current=function(){r(),i()}}),[u,a,s]),f=se((function(){var e=a();\"PENDING\"!==e.type&&Ae(!1);var t=e.actions.fluidLift(e.point);i({type:\"DRAGGING\",actions:t,hasMoved:!1})}),[a,i]),d=se((function(e,t){\"IDLE\"!==a().type&&Ae(!1);var n=setTimeout(f,120);i({type:\"PENDING\",point:t,actions:e,longPressTimerId:n}),c()}),[c,a,i,f]);Zr((function(){return l(),function(){n.current();var e=a();\"PENDING\"===e.type&&(clearTimeout(e.longPressTimerId),i(ya))}}),[a,l,i]),Zr((function(){return Ee(window,[{eventName:\"touchmove\",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}var ba={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function xa(e,t){if(null==t)return!1;if(Boolean(ba[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute(\"contenteditable\");return\"true\"===n||\"\"===n||t!==e&&xa(e,t.parentElement)}function wa(e,t){var n=t.target;return!!Wr(n)&&xa(e,n)}var _a=function(e){return fe(e.getBoundingClientRect()).center};var ka=function(){var e=\"matches\";return\"undefined\"==typeof document?e:nt([e,\"msMatchesSelector\",\"webkitMatchesSelector\"],(function(e){return e in Element.prototype}))||e}();function Ta(e,t){return null==e?null:e[ka](t)?e:Ta(e.parentElement,t)}function Ma(e,t){return e.closest?e.closest(t):Ta(e,t)}function Sa(e,t){var n,r=t.target;if(!((n=r)instanceof Ur(n).Element))return null;var a=function(e){return\"[\"+Ir.contextId+'=\"'+e+'\"]'}(e),i=Ma(r,a);return i&&Wr(i)?i:null}function Ea(e){e.preventDefault()}function Ca(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function Oa(e){var t=e.lockAPI,n=e.store,r=e.registry,a=e.draggableId;if(t.isClaimed())return!1;var i=r.draggable.findById(a);return!!i&&(!!i.options.isEnabled&&!!fr(n.getState(),a))}function Aa(e){var t=e.lockAPI,n=e.contextId,r=e.store,a=e.registry,o=e.draggableId,l=e.forceSensorStop,s=e.sourceEvent;if(!Oa({lockAPI:t,store:r,registry:a,draggableId:o}))return null;var u=a.draggable.getById(o),c=function(e,t){var n=\"[\"+jr.contextId+'=\"'+e+'\"]',r=nt(rt(document.querySelectorAll(n)),(function(e){return e.getAttribute(jr.id)===t}));return r&&Wr(r)?r:null}(n,u.descriptor.id);if(!c)return null;if(s&&!u.options.canDragInteractiveElements&&wa(c,s))return null;var f=t.claim(l||Se),d=\"PRE_DRAG\";function p(){return u.options.shouldRespectForcePress}function h(){return t.isActive(f)}var m=function(e,t){Ca({expected:e,phase:d,isLockActive:h,shouldWarn:!0})&&r.dispatch(t())}.bind(null,\"DRAGGING\");function g(e){function n(){t.release(),d=\"COMPLETED\"}function a(t,a){if(void 0===a&&(a={shouldBlockNextClick:!1}),e.cleanup(),a.shouldBlockNextClick){var i=Ee(window,[{eventName:\"click\",fn:Ea,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}n(),r.dispatch(An({reason:t}))}return\"PRE_DRAG\"!==d&&(n(),\"PRE_DRAG\"!==d&&Ae(!1)),r.dispatch(function(e){return{type:\"LIFT\",payload:e}}(e.liftActionArgs)),d=\"DRAGGING\",(0,i.Z)({isActive:function(){return Ca({expected:\"DRAGGING\",phase:d,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return a(\"DROP\",e)},cancel:function(e){return a(\"CANCEL\",e)}},e.actions)}return{isActive:function(){return Ca({expected:\"PRE_DRAG\",phase:d,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:function(e){var t=Te((function(e){m((function(){return Tn({client:e})}))})),n=g({liftActionArgs:{id:o,clientSelection:e,movementMode:\"FLUID\"},cleanup:function(){return t.cancel()},actions:{move:t}});return(0,i.Z)({},n,{move:t})},snapLift:function(){var e={moveUp:function(){return m(Mn)},moveRight:function(){return m(En)},moveDown:function(){return m(Sn)},moveLeft:function(){return m(Cn)}};return g({liftActionArgs:{id:o,clientSelection:_a(c),movementMode:\"SNAP\"},cleanup:Se,actions:e})},abort:function(){Ca({expected:\"PRE_DRAG\",phase:d,isLockActive:h,shouldWarn:!0})&&t.release()}}}var Da=[da,ga,va];function Pa(e){var t=e.contextId,n=e.store,a=e.registry,i=e.customSensors,o=e.enableDefaultSensors,l=[].concat(o?Da:[],i||[]),s=(0,r.useState)((function(){return function(){var e=null;function t(){e||Ae(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Ae(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],u=se((function(e,t){e.isDragging&&!t.isDragging&&s.tryAbandon()}),[s]);Zr((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();u(e,t),e=t}))}),[s,n,u]),Zr((function(){return s.tryAbandon}),[s.tryAbandon]);var c=se((function(e){return Oa({lockAPI:s,registry:a,store:n,draggableId:e})}),[s,a,n]),f=se((function(e,r,i){return Aa({lockAPI:s,registry:a,contextId:t,store:n,draggableId:e,forceSensorStop:r,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})}),[t,s,a,n]),d=se((function(e){return function(e,t){var n=Sa(e,t);return n?n.getAttribute(Ir.draggableId):null}(t,e)}),[t]),p=se((function(e){var t=a.draggable.findById(e);return t?t.options:null}),[a.draggable]),h=se((function(){s.isClaimed()&&(s.tryAbandon(),\"IDLE\"!==n.getState().phase&&n.dispatch({type:\"FLUSH\",payload:null}))}),[s,n]),m=se(s.isClaimed,[s]),g=le((function(){return{canGetLock:c,tryGetLock:f,findClosestDraggableId:d,findOptionsForDraggable:p,tryReleaseLock:h,isLockClaimed:m}}),[c,f,d,p,h,m]);ta();for(var y=0;y<l.length;y++)l[y](g)}function Ra(e){return e.current||Ae(!1),e.current}function La(e){var t=e.contextId,n=e.setCallbacks,a=e.sensors,o=e.nonce,l=e.dragHandleUsageInstructions,s=(0,r.useRef)(null);ra();var u=aa(e),c=se((function(){return function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(u.current)}),[u]),f=function(e){var t=le((function(){return function(e){return\"rbd-announcement-\"+e}(e)}),[e]),n=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=document.createElement(\"div\");return n.current=e,e.id=t,e.setAttribute(\"aria-live\",\"assertive\"),e.setAttribute(\"aria-atomic\",\"true\"),(0,i.Z)(e.style,Xr),$r().appendChild(e),function(){setTimeout((function(){var t=$r();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),se((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(t),d=function(e){var t=e.contextId,n=e.text,a=Qr(\"hidden-text\",{separator:\"-\"}),i=le((function(){return\"rbd-hidden-text-\"+(e={contextId:t,uniqueId:a}).contextId+\"-\"+e.uniqueId;var e}),[a,t]);return(0,r.useEffect)((function(){var e=document.createElement(\"div\");return e.id=i,e.textContent=n,e.style.display=\"none\",$r().appendChild(e),function(){var t=$r();t.contains(e)&&t.removeChild(e)}}),[i,n]),i}({contextId:t,text:l}),p=Hr(t,o),h=se((function(e){Ra(s).dispatch(e)}),[]),m=le((function(){return g({publishWhileDragging:bn,updateDroppableScroll:wn,updateDroppableIsEnabled:_n,updateDroppableIsCombineEnabled:kn,collectionStarting:xn},h)}),[h]),y=function(){var e=le(Yr,[]);return(0,r.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),v=le((function(){return cr(y,m)}),[y,m]),b=le((function(){return Lr((0,i.Z)({scrollWindow:dr,scrollDroppable:v.scrollDroppable},g({move:Tn},h)))}),[v.scrollDroppable,h]),x=function(e){var t=(0,r.useRef)({}),n=(0,r.useRef)(null),a=(0,r.useRef)(null),i=(0,r.useRef)(!1),o=se((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current;n[e]!==r&&delete n[e]}}),[]),l=se((function(t){var n=Vr(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),s=se((function(e,t){n.current===e&&(n.current=t)}),[]),u=se((function(){a.current||i.current&&(a.current=requestAnimationFrame((function(){a.current=null;var e=n.current;e&&l(e)})))}),[l]),c=se((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Ir.draggableId)===e&&(n.current=e)}),[]);return Zr((function(){return i.current=!0,function(){i.current=!1;var e=a.current;e&&cancelAnimationFrame(e)}}),[]),le((function(){return{register:o,tryRecordFocus:c,tryRestoreFocusRecorded:u,tryShiftRecord:s}}),[o,c,u,s])}(t),w=le((function(){return nr({announce:f,autoScroller:b,dimensionMarshal:v,focusMarshal:x,getResponders:c,styleMarshal:p})}),[f,b,v,x,c,p]);s.current=w;var _=se((function(){var e=Ra(s);\"IDLE\"!==e.getState().phase&&e.dispatch({type:\"FLUSH\",payload:null})}),[]),k=se((function(){var e=Ra(s).getState();return e.isDragging||\"DROP_ANIMATING\"===e.phase}),[]);n(le((function(){return{isDragging:k,tryAbort:_}}),[k,_]));var M=se((function(e){return fr(Ra(s).getState(),e)}),[]),S=se((function(){return Kt(Ra(s).getState())}),[]),E=le((function(){return{marshal:v,focus:x,contextId:t,canLift:M,isMovementAllowed:S,dragHandleUsageInstructionsId:d,registry:y}}),[t,v,d,x,M,S,y]);return Pa({contextId:t,store:w,registry:y,customSensors:a,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,r.useEffect)((function(){return _}),[_]),r.createElement(ea.Provider,{value:E},r.createElement(T,{context:Gr,store:w},e.children))}var Ia=0;function ja(){Ia=0,Kr=0}function Na(e){var t=le((function(){return\"\"+Ia++}),[]),n=e.dragHandleUsageInstructions||je;return r.createElement(De,null,(function(a){return r.createElement(La,{nonce:e.nonce,contextId:t,setCallbacks:a,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var za=function(e){return function(t){return e===t}},Fa=za(\"scroll\"),Za=za(\"auto\"),Ba=(za(\"visible\"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),qa=function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return Ba(n,Fa)||Ba(n,Za)},Ha=function e(t){return null==t||t===document.body||t===document.documentElement?null:qa(t)?t:e(t.parentElement)},Ua=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Wa=function e(t){return!!t&&(\"fixed\"===window.getComputedStyle(t).position||e(t.parentElement))},Va=function(e){return{closestScrollable:Ha(e),isFixedOnPage:Wa(e)}},Ya=function(e){var t=e.ref,n=e.descriptor,r=e.env,a=e.windowScroll,i=e.direction,o=e.isDropDisabled,l=e.isCombineEnabled,s=e.shouldClipSubject,u=r.closestScrollable,c=function(e,t){var n=xe(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,a=n.paddingBox.left-t.scrollLeft,i=r+t.scrollHeight,o=a+t.scrollWidth,l=de({top:r,right:o,bottom:i,left:a},n.border);return me({borderBox:l,margin:n.margin,border:n.border,padding:n.padding})}(t,u),f=ve(c,a),d=function(){if(!u)return null;var e=xe(u),t={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:e,page:ve(e,a),scroll:Ua(u),scrollSize:t,shouldClipSubject:s}}(),p=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,a=e.isFixedOnPage,i=e.direction,o=e.client,l=e.page,s=e.closest,u=function(){if(!s)return null;var e=s.scrollSize,t=s.client,n=rr({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:s.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:s.shouldClipSubject,scroll:{initial:s.scroll,current:s.scroll,max:n,diff:{value:Ze,displacement:Ze}}}}(),c=\"vertical\"===i?bt:xt;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:a,axis:c,isEnabled:n,client:o,page:l,frame:u,subject:Je({page:l,withPlaceholder:null,axis:c,frame:u})}}({descriptor:n,isEnabled:!o,isCombineEnabled:l,isFixedOnPage:r.isFixedOnPage,direction:i,client:c,page:f,closest:d});return p},Ga={passive:!1},$a={passive:!0},Xa=function(e){return e.shouldPublishImmediately?Ga:$a};function Ka(e){var t=(0,r.useContext)(e);return t||Ae(!1),t}var Ja=function(e){return e&&e.env.closestScrollable||null};function Qa(){}var ei={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},ti=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,a=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||\"close\"===r?ei:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:\"border-box\",width:a.width,height:a.height,marginTop:a.margin.top,marginRight:a.margin.right,marginBottom:a.margin.bottom,marginLeft:a.margin.left,flexShrink:\"0\",flexGrow:\"0\",pointerEvents:\"none\",transition:\"none\"!==r?jn.placeholder:null}};var ni=r.memo((function(e){var t=(0,r.useRef)(null),n=se((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),a=e.animate,i=e.onTransitionEnd,o=e.onClose,l=e.contextId,s=(0,r.useState)(\"open\"===e.animate),u=s[0],c=s[1];(0,r.useEffect)((function(){return u?\"open\"!==a?(n(),c(!1),Qa):t.current?Qa:(t.current=setTimeout((function(){t.current=null,c(!1)})),n):Qa}),[a,u,n]);var f=se((function(e){\"height\"===e.propertyName&&(i(),\"close\"===a&&o())}),[a,o,i]),d=ti({isAnimatingOpenOnMount:u,animate:e.animate,placeholder:e.placeholder});return r.createElement(e.placeholder.tagName,{style:d,\"data-rbd-placeholder-context-id\":l,onTransitionEnd:f,ref:e.innerRef})})),ri=r.createContext(null);var ai=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?\"open\":\"none\"},t.onClose=function(){\"close\"===t.state.animate&&t.setState({isVisible:!1})},t}return(0,a.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:\"open\"}:t.isVisible?{isVisible:!0,data:t.data,animate:\"close\"}:{isVisible:!1,animate:\"close\",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:\"none\"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(r.PureComponent),ii=5e3,oi=4500,li=function(e,t){return t?jn.drop(t.duration):e?jn.snap:jn.fluid},si=function(e,t){return e?t?Rn.drop:Rn.combining:null};function ui(e){return\"DRAGGING\"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,a=e.dropping,i=Boolean(r),o=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:\"SNAP\"===e.mode}(e),l=Boolean(a),s=l?Fn(n,i):zn(n);return{position:\"fixed\",top:t.marginBox.top,left:t.marginBox.left,boxSizing:\"border-box\",width:t.borderBox.width,height:t.borderBox.height,transition:li(o,a),transform:s,opacity:si(i,l),zIndex:l?oi:ii,pointerEvents:\"none\"}}(e):{transform:zn((t=e).offset),transition:t.shouldAnimateDisplacement?null:\"none\"};var t}function ci(e){var t=Qr(\"draggable\"),n=e.descriptor,a=e.registry,i=e.getDraggableRef,o=e.canDragInteractiveElements,l=e.shouldRespectForcePress,s=e.isEnabled,u=le((function(){return{canDragInteractiveElements:o,shouldRespectForcePress:l,isEnabled:s}}),[o,s,l]),c=se((function(e){var t=i();return t||Ae(!1),function(e,t,n){void 0===n&&(n=Ze);var r=window.getComputedStyle(t),a=t.getBoundingClientRect(),i=be(a,r),o=ve(i,n);return{descriptor:e,placeholder:{client:i,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:o}}(n,t,e)}),[n,i]),f=le((function(){return{uniqueId:t,descriptor:n,options:u,getDimension:c}}),[n,c,u,t]),d=(0,r.useRef)(f),p=(0,r.useRef)(!0);Zr((function(){return a.draggable.register(d.current),function(){return a.draggable.unregister(d.current)}}),[a.draggable]),Zr((function(){if(p.current)p.current=!1;else{var e=d.current;d.current=f,a.draggable.update(f,e)}}),[f,a.draggable])}function fi(e,t,n){na()}function di(e){e.preventDefault()}var pi=function(e,t){return e===t},hi=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function mi(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var gi={mapped:{type:\"SECONDARY\",offset:Ze,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:mi(null)}};var yi=re((function(){var e,t,n,r=(e=ke((function(e,t){return{x:e,y:t}})),t=ke((function(e,t,n,r,a){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(a),dropAnimation:a,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=ke((function(e,n,r,a,i,o,l){return{mapped:{type:\"DRAGGING\",dropping:null,draggingOver:i,combineWith:o,mode:n,offset:e,dimension:r,forceShouldAnimate:l,snapshot:t(n,a,i,o,null)}}})),function(r,a){if(r.isDragging){if(r.critical.draggable.id!==a.draggableId)return null;var i=r.current.client.offset,o=r.dimensions.draggables[a.draggableId],l=$t(r.impact),s=(c=r.impact).at&&\"COMBINE\"===c.at.type?c.at.combine.draggableId:null,u=r.forceShouldAnimate;return n(e(i.x,i.y),r.movementMode,o,a.isClone,l,s,u)}var c;if(\"DROP_ANIMATING\"===r.phase){var f=r.completed;if(f.result.draggableId!==a.draggableId)return null;var d=a.isClone,p=r.dimensions.draggables[a.draggableId],h=f.result,m=h.mode,g=hi(h),y=function(e){return e.combine?e.combine.draggableId:null}(h),v={duration:r.dropDuration,curve:Pn,moveTo:r.newHomeClientOffset,opacity:y?Rn.drop:null,scale:y?Ln.drop:null};return{mapped:{type:\"DRAGGING\",offset:r.newHomeClientOffset,dimension:p,dropping:v,draggingOver:g,combineWith:y,mode:m,forceShouldAnimate:null,snapshot:t(m,d,g,y,v)}}}return null}),a=function(){var e=ke((function(e,t){return{x:e,y:t}})),t=ke(mi),n=ke((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:\"SECONDARY\",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(Ze,e,!0):null},a=function(t,a,i,o){var l=i.displaced.visible[t],s=Boolean(o.inVirtualList&&o.effected[t]),u=ct(i),c=u&&u.draggableId===t?a:null;if(!l){if(!s)return r(c);if(i.displaced.invisible[t])return null;var f=Ue(o.displacedBy.point),d=e(f.x,f.y);return n(d,c,!0)}if(s)return r(c);var p=i.displacedBy.point,h=e(p.x,p.y);return n(h,c,l.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:a(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if(\"DROP_ANIMATING\"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:a(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(e,t){return r(e,t)||a(e,t)||gi}}),{dropAnimationFinished:Dn},null,{context:Gr,pure:!0,areStatePropsEqual:pi})((function(e){var t=(0,r.useRef)(null),n=se((function(e){t.current=e}),[]),a=se((function(){return t.current}),[]),i=Ka(ea),o=i.contextId,l=i.dragHandleUsageInstructionsId,s=i.registry,u=Ka(ri),c=u.type,f=u.droppableId,d=le((function(){return{id:e.draggableId,index:e.index,type:c,droppableId:f}}),[e.draggableId,e.index,c,f]),p=e.children,h=e.draggableId,m=e.isEnabled,g=e.shouldRespectForcePress,y=e.canDragInteractiveElements,v=e.isClone,b=e.mapped,x=e.dropAnimationFinished;fi(),ta(),v||ci(le((function(){return{descriptor:d,registry:s,getDraggableRef:a,canDragInteractiveElements:y,shouldRespectForcePress:g,isEnabled:m}}),[d,s,a,y,g,m]));var w=le((function(){return m?{tabIndex:0,role:\"button\",\"aria-describedby\":l,\"data-rbd-drag-handle-draggable-id\":h,\"data-rbd-drag-handle-context-id\":o,draggable:!1,onDragStart:di}:null}),[o,l,h,m]),_=se((function(e){\"DRAGGING\"===b.type&&b.dropping&&\"transform\"===e.propertyName&&x()}),[x,b]),k=le((function(){var e=ui(b),t=\"DRAGGING\"===b.type&&b.dropping?_:null;return{innerRef:n,draggableProps:{\"data-rbd-draggable-context-id\":o,\"data-rbd-draggable-id\":h,style:e,onTransitionEnd:t},dragHandleProps:w}}),[o,w,h,b,_,n]),T=le((function(){return{draggableId:d.id,type:d.type,source:{index:d.index,droppableId:d.droppableId}}}),[d.droppableId,d.id,d.index,d.type]);return p(k,b.snapshot,T)}));function vi(e){return Ka(ri).isUsingCloneFor!==e.draggableId||e.isClone?r.createElement(yi,e):null}function bi(e){var t=\"boolean\"!=typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),a=Boolean(e.shouldRespectForcePress);return r.createElement(vi,(0,i.Z)({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:a}))}var xi=function(e,t){return e===t.droppable.type},wi=function(e,t){return t.draggables[e.draggable.id]};var _i={mode:\"standard\",type:\"DEFAULT\",direction:\"vertical\",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Ae(!1),document.body}},ki=re((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=(0,i.Z)({},e,{shouldAnimatePlaceholder:!1}),n=ke((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=ke((function(r,a,i,o,l,s){var u=l.descriptor.id;if(l.descriptor.droppableId===r){var c=s?{render:s,dragging:n(l.descriptor)}:null,f={isDraggingOver:i,draggingOverWith:i?u:null,draggingFromThisWith:u,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!1,snapshot:f,useClone:c}}if(!a)return t;if(!o)return e;var d={isDraggingOver:i,draggingOverWith:u,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!0,snapshot:d,useClone:null}}));return function(n,a){var i=a.droppableId,o=a.type,l=!a.isDropDisabled,s=a.renderClone;if(n.isDragging){var u=n.critical;if(!xi(o,u))return t;var c=wi(u,n.dimensions),f=$t(n.impact)===i;return r(i,l,f,f,c,s)}if(\"DROP_ANIMATING\"===n.phase){var d=n.completed;if(!xi(o,d.critical))return t;var p=wi(d.critical,n.dimensions);return r(i,l,hi(d.result)===i,$t(d.impact)===i,p,s)}if(\"IDLE\"===n.phase&&n.completed&&!n.shouldFlush){var h=n.completed;if(!xi(o,h.critical))return t;var m=$t(h.impact)===i,g=Boolean(h.impact.at&&\"COMBINE\"===h.impact.at.type),y=h.critical.droppable.id===i;return m?g?e:t:y?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:\"UPDATE_VIEWPORT_MAX_SCROLL\",payload:e}}},null,{context:Gr,pure:!0,areStatePropsEqual:pi})((function(e){var t=(0,r.useContext)(ea);t||Ae(!1);var n=t.contextId,a=t.isMovementAllowed,i=(0,r.useRef)(null),o=(0,r.useRef)(null),l=e.children,s=e.droppableId,u=e.type,c=e.mode,f=e.direction,d=e.ignoreContainerClipping,p=e.isDropDisabled,h=e.isCombineEnabled,m=e.snapshot,g=e.useClone,y=e.updateViewportMaxScroll,v=e.getContainerForClone,b=se((function(){return i.current}),[]),x=se((function(e){i.current=e}),[]),w=(se((function(){return o.current}),[]),se((function(e){o.current=e}),[]));na();var _=se((function(){a()&&y({maxScroll:ir()})}),[a,y]);!function(e){var t=(0,r.useRef)(null),n=Ka(ea),a=Qr(\"droppable\"),i=n.registry,o=n.marshal,l=aa(e),s=le((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),u=(0,r.useRef)(s),c=le((function(){return ke((function(e,n){t.current||Ae(!1);var r={x:e,y:n};o.updateDroppableScroll(s.id,r)}))}),[s.id,o]),f=se((function(){var e=t.current;return e&&e.env.closestScrollable?Ua(e.env.closestScrollable):Ze}),[]),d=se((function(){var e=f();c(e.x,e.y)}),[f,c]),p=le((function(){return Te(d)}),[d]),h=se((function(){var e=t.current,n=Ja(e);e&&n||Ae(!1),e.scrollOptions.shouldPublishImmediately?d():p()}),[p,d]),m=se((function(e,r){t.current&&Ae(!1);var a=l.current,i=a.getDroppableRef();i||Ae(!1);var o=Va(i),u={ref:i,descriptor:s,env:o,scrollOptions:r};t.current=u;var c=Ya({ref:i,descriptor:s,env:o,windowScroll:e,direction:a.direction,isDropDisabled:a.isDropDisabled,isCombineEnabled:a.isCombineEnabled,shouldClipSubject:!a.ignoreContainerClipping}),f=o.closestScrollable;return f&&(f.setAttribute(zr.contextId,n.contextId),f.addEventListener(\"scroll\",h,Xa(u.scrollOptions))),c}),[n.contextId,s,h,l]),g=se((function(){var e=t.current,n=Ja(e);return e&&n||Ae(!1),Ua(n)}),[]),y=se((function(){var e=t.current;e||Ae(!1);var n=Ja(e);t.current=null,n&&(p.cancel(),n.removeAttribute(zr.contextId),n.removeEventListener(\"scroll\",h,Xa(e.scrollOptions)))}),[h,p]),v=se((function(e){var n=t.current;n||Ae(!1);var r=Ja(n);r||Ae(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),b=le((function(){return{getDimensionAndWatchScroll:m,getScrollWhileDragging:g,dragStopped:y,scroll:v}}),[y,m,g,v]),x=le((function(){return{uniqueId:a,descriptor:s,callbacks:b}}),[b,s,a]);Zr((function(){return u.current=x.descriptor,i.droppable.register(x),function(){t.current&&y(),i.droppable.unregister(x)}}),[b,s,y,x,o,i.droppable]),Zr((function(){t.current&&o.updateDroppableIsEnabled(u.current.id,!e.isDropDisabled)}),[e.isDropDisabled,o]),Zr((function(){t.current&&o.updateDroppableIsCombineEnabled(u.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,o])}({droppableId:s,type:u,mode:c,direction:f,isDropDisabled:p,isCombineEnabled:h,ignoreContainerClipping:d,getDroppableRef:b});var k=r.createElement(ai,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,a=e.data,i=e.animate;return r.createElement(ni,{placeholder:a,onClose:t,innerRef:w,animate:i,contextId:n,onTransitionEnd:_})})),T=le((function(){return{innerRef:x,placeholder:k,droppableProps:{\"data-rbd-droppable-id\":s,\"data-rbd-droppable-context-id\":n}}}),[n,s,k,x]),M=g?g.dragging.draggableId:null,S=le((function(){return{droppableId:s,type:u,isUsingCloneFor:M}}),[s,M,u]);return r.createElement(ri.Provider,{value:S},l(T,m),function(){if(!g)return null;var e=g.dragging,t=g.render,n=r.createElement(vi,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return ie.createPortal(n,v())}())}));ki.defaultProps=_i},64448:function(e,t,n){\"use strict\";var r=n(67294),a=n(27418),i=n(63840);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 l(e,t,n,r,a,i,o,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var s=!1,u=null,c=!1,f=null,d={onError:function(e){s=!0,u=e}};function p(e,t,n,r,a,i,o,c,f){s=!1,u=null,l.apply(d,arguments)}var h=null,m=null,g=null;function y(e,t,n){var r=e.type||\"unknown-event\";e.currentTarget=g(n),function(e,t,n,r,a,i,l,d,h){if(p.apply(this,arguments),s){if(!s)throw Error(o(198));var m=u;s=!1,u=null,c||(c=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var v=null,b={};function x(){if(v)for(var e in b){var t=b[e],n=v.indexOf(e);if(!(-1<n))throw Error(o(96,e));if(!_[n]){if(!t.extractEvents)throw Error(o(97,e));for(var r in _[n]=t,n=t.eventTypes){var a=void 0,i=n[r],l=t,s=r;if(k.hasOwnProperty(s))throw Error(o(99,s));k[s]=i;var u=i.phasedRegistrationNames;if(u){for(a in u)u.hasOwnProperty(a)&&w(u[a],l,s);a=!0}else i.registrationName?(w(i.registrationName,l,s),a=!0):a=!1;if(!a)throw Error(o(98,r,e))}}}}function w(e,t,n){if(T[e])throw Error(o(100,e));T[e]=t,M[e]=t.eventTypes[n].dependencies}var _=[],k={},T={},M={};function S(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 E=!(\"undefined\"==typeof window||void 0===window.document||void 0===window.document.createElement),C=null,O=null,A=null;function D(e){if(e=m(e)){if(\"function\"!=typeof C)throw Error(o(280));var t=e.stateNode;t&&(t=h(t),C(e.stateNode,e.type,t))}}function P(e){O?A?A.push(e):A=[e]:O=e}function R(){if(O){var e=O,t=A;if(A=O=null,D(e),t)for(e=0;e<t.length;e++)D(t[e])}}function L(e,t){return e(t)}function I(e,t,n,r,a){return e(t,n,r,a)}function j(){}var N=L,z=!1,F=!1;function Z(){null===O&&null===A||(j(),R())}function B(e,t,n){if(F)return e(t,n);F=!0;try{return N(e,t,n)}finally{F=!1,Z()}}var q=/^[: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]*$/,H=Object.prototype.hasOwnProperty,U={},W={};function V(e,t,n,r,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var Y={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach((function(e){Y[e]=new V(e,0,!1,e,null,!1)})),[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach((function(e){var t=e[0];Y[t]=new V(t,1,!1,e[1],null,!1)})),[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach((function(e){Y[e]=new V(e,2,!1,e.toLowerCase(),null,!1)})),[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach((function(e){Y[e]=new V(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){Y[e]=new V(e,3,!1,e.toLowerCase(),null,!1)})),[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach((function(e){Y[e]=new V(e,3,!0,e,null,!1)})),[\"capture\",\"download\"].forEach((function(e){Y[e]=new V(e,4,!1,e,null,!1)})),[\"cols\",\"rows\",\"size\",\"span\"].forEach((function(e){Y[e]=new V(e,6,!1,e,null,!1)})),[\"rowSpan\",\"start\"].forEach((function(e){Y[e]=new V(e,5,!1,e.toLowerCase(),null,!1)}));var G=/[\\-:]([a-z])/g;function $(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,$);Y[t]=new V(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,$);Y[t]=new V(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,$);Y[t]=new V(t,1,!1,e,\"http://www.w3.org/XML/1998/namespace\",!1)})),[\"tabIndex\",\"crossOrigin\"].forEach((function(e){Y[e]=new V(e,1,!1,e.toLowerCase(),null,!1)})),Y.xlinkHref=new V(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0),[\"src\",\"href\",\"action\",\"formAction\"].forEach((function(e){Y[e]=new V(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 a=Y.hasOwnProperty(t)?Y[t]:null;(null!==a?0===a.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||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,a,r)&&(n=null),r||null===a?function(e){return!!H.call(W,e)||!H.call(U,e)&&(q.test(e)?W[e]=!0:(U[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,\"\"+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&\"\":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!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 J=/^(.*)[\\\\\\/]/,Q=\"function\"==typeof Symbol&&Symbol.for,ee=Q?Symbol.for(\"react.element\"):60103,te=Q?Symbol.for(\"react.portal\"):60106,ne=Q?Symbol.for(\"react.fragment\"):60107,re=Q?Symbol.for(\"react.strict_mode\"):60108,ae=Q?Symbol.for(\"react.profiler\"):60114,ie=Q?Symbol.for(\"react.provider\"):60109,oe=Q?Symbol.for(\"react.context\"):60110,le=Q?Symbol.for(\"react.concurrent_mode\"):60111,se=Q?Symbol.for(\"react.forward_ref\"):60112,ue=Q?Symbol.for(\"react.suspense\"):60113,ce=Q?Symbol.for(\"react.suspense_list\"):60120,fe=Q?Symbol.for(\"react.memo\"):60115,de=Q?Symbol.for(\"react.lazy\"):60116,pe=Q?Symbol.for(\"react.block\"):60121,he=\"function\"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||\"object\"!=typeof e?null:\"function\"==typeof(e=he&&e[he]||e[\"@@iterator\"])?e:null}function ge(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 ae: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 ie:return\"Context.Provider\";case se:var t=e.render;return t=t.displayName||t.name||\"\",e.displayName||(\"\"!==t?\"ForwardRef(\"+t+\")\":\"ForwardRef\");case fe:return ge(e.type);case pe:return ge(e.render);case de:if(e=1===e._status?e._result:null)return ge(e)}return null}function ye(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,a=e._debugSource,i=ge(e.type);n=null,r&&(n=ge(r.type)),r=i,i=\"\",a?i=\" (at \"+a.fileName.replace(J,\"\")+\":\"+a.lineNumber+\")\":n&&(i=\" (created by \"+n+\")\"),n=\"\\n in \"+(r||\"Unknown\")+i}t+=n,e=e.return}while(e);return t}function ve(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)&&void 0!==n&&\"function\"==typeof n.get&&\"function\"==typeof n.set){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.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 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 _e(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ke(e,t){var n=null==t.defaultValue?\"\":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ve(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 Te(e,t){null!=(t=t.checked)&&K(e,\"checked\",t,!1)}function Me(e,t){Te(e,t);var n=ve(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\")?Ee(e,t.type,n):t.hasOwnProperty(\"defaultValue\")&&Ee(e,t.type,ve(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Se(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 Ee(e,t,n){\"number\"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=\"\"+e._wrapperState.initialValue:e.defaultValue!==\"\"+n&&(e.defaultValue=\"\"+n))}function Ce(e,t){return e=a({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 Oe(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t[\"$\"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty(\"$\"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=\"\"+ve(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function Ae(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return a({},t,{value:void 0,defaultValue:void 0,children:\"\"+e._wrapperState.initialValue})}function De(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:ve(n)}}function Pe(e,t){var n=ve(t.value),r=ve(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 Re(e){var t=e.textContent;t===e._wrapperState.initialValue&&\"\"!==t&&null!==t&&(e.value=t)}var Le=\"http://www.w3.org/1999/xhtml\",Ie=\"http://www.w3.org/2000/svg\";function je(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 Ne(e,t){return null==e||\"http://www.w3.org/1999/xhtml\"===e?je(t):\"http://www.w3.org/2000/svg\"===e&&\"foreignObject\"===t?\"http://www.w3.org/1999/xhtml\":e}var ze,Fe,Ze=(Fe=function(e,t){if(e.namespaceURI!==Ie||\"innerHTML\"in e)e.innerHTML=t;else{for((ze=ze||document.createElement(\"div\")).innerHTML=\"<svg>\"+t.valueOf().toString()+\"</svg>\",t=ze.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},\"undefined\"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Fe(e,t)}))}:Fe);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 qe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\"+e]=\"webkit\"+t,n[\"Moz\"+e]=\"moz\"+t,n}var He={animationend:qe(\"Animation\",\"AnimationEnd\"),animationiteration:qe(\"Animation\",\"AnimationIteration\"),animationstart:qe(\"Animation\",\"AnimationStart\"),transitionend:qe(\"Transition\",\"TransitionEnd\")},Ue={},We={};function Ve(e){if(Ue[e])return Ue[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in We)return Ue[e]=n[t];return e}E&&(We=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 Ye=Ve(\"animationend\"),Ge=Ve(\"animationiteration\"),$e=Ve(\"animationstart\"),Xe=Ve(\"transitionend\"),Ke=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Je=new(\"function\"==typeof WeakMap?WeakMap:Map);function Qe(e){var t=Je.get(e);return void 0===t&&(t=new Map,Je.set(e,t)),t}function et(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 tt(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 nt(e){if(et(e)!==e)throw Error(o(188))}function rt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return nt(a),e;if(i===r)return nt(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=i;break}if(s===r){l=!0,r=a,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=a;break}if(s===r){l=!0,r=i,n=a;break}s=s.sibling}if(!l)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),!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 at(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 ot=null;function lt(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)y(e,t[r],n[r]);else t&&y(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(ot=at(ot,e)),e=ot,ot=null,e){if(it(e,lt),ot)throw Error(o(95));if(c)throw e=f,c=!1,f=null,e}}function ut(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!E)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 ft=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ft.length&&ft.push(e)}function pt(e,t,n,r){if(ft.length){var a=ft.pop();return a.topLevelType=e,a.eventSystemFlags=r,a.nativeEvent=t,a.targetInst=n,a}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ht(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=Dn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var a=ut(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,o=e.eventSystemFlags;0===n&&(o|=64);for(var l=null,s=0;s<_.length;s++){var u=_[s];u&&(u=u.extractEvents(r,t,i,a,o))&&(l=at(l,u))}st(l)}}function mt(e,t,n){if(!n.has(e)){switch(e){case\"scroll\":$t(t,\"scroll\",!0);break;case\"focus\":case\"blur\":$t(t,\"focus\",!0),$t(t,\"blur\",!0),n.set(\"blur\",null),n.set(\"focus\",null);break;case\"cancel\":case\"close\":ct(e)&&$t(t,e,!0);break;case\"invalid\":case\"submit\":case\"reset\":break;default:-1===Ke.indexOf(e)&&Gt(e,t)}n.set(e,null)}}var gt,yt,vt,bt=!1,xt=[],wt=null,_t=null,kt=null,Tt=new Map,Mt=new Map,St=[],Et=\"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(\" \"),Ct=\"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \");function Ot(e,t,n,r,a){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:a,container:r}}function At(e,t){switch(e){case\"focus\":case\"blur\":wt=null;break;case\"dragenter\":case\"dragleave\":_t=null;break;case\"mouseover\":case\"mouseout\":kt=null;break;case\"pointerover\":case\"pointerout\":Tt.delete(t.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":Mt.delete(t.pointerId)}}function Dt(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e=Ot(t,n,r,a,i),null!==t&&(null!==(t=Pn(t))&&yt(t)),e):(e.eventSystemFlags|=r,e)}function Pt(e){var t=Dn(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){vt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;var t=Qt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Pn(t);return null!==n&&yt(n),e.blockedOn=t,!1}return!0}function Lt(e,t,n){Rt(e)&&n.delete(t)}function It(){for(bt=!1;0<xt.length;){var e=xt[0];if(null!==e.blockedOn){null!==(e=Pn(e.blockedOn))&>(e);break}var t=Qt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:xt.shift()}null!==wt&&Rt(wt)&&(wt=null),null!==_t&&Rt(_t)&&(_t=null),null!==kt&&Rt(kt)&&(kt=null),Tt.forEach(Lt),Mt.forEach(Lt)}function jt(e,t){e.blockedOn===t&&(e.blockedOn=null,bt||(bt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,It)))}function Nt(e){function t(t){return jt(t,e)}if(0<xt.length){jt(xt[0],e);for(var n=1;n<xt.length;n++){var r=xt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==wt&&jt(wt,e),null!==_t&&jt(_t,e),null!==kt&&jt(kt,e),Tt.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 zt={},Ft=new Map,Zt=new Map,Bt=[\"abort\",\"abort\",Ye,\"animationEnd\",Ge,\"animationIteration\",$e,\"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\",Xe,\"transitionEnd\",\"waiting\",\"waiting\"];function qt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1],i=\"on\"+(a[0].toUpperCase()+a.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+\"Capture\"},dependencies:[r],eventPriority:t},Zt.set(r,t),Ft.set(r,i),zt[a]=i}}qt(\"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),qt(\"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),qt(Bt,2);for(var Ht=\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),Ut=0;Ut<Ht.length;Ut++)Zt.set(Ht[Ut],0);var Wt=i.unstable_UserBlockingPriority,Vt=i.unstable_runWithPriority,Yt=!0;function Gt(e,t){$t(t,e,!1)}function $t(e,t,n){var r=Zt.get(t);switch(void 0===r?2:r){case 0:r=Xt.bind(null,t,1,e);break;case 1:r=Kt.bind(null,t,1,e);break;default:r=Jt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Xt(e,t,n,r){z||j();var a=Jt,i=z;z=!0;try{I(a,e,t,n,r)}finally{(z=i)||Z()}}function Kt(e,t,n,r){Vt(Wt,Jt.bind(null,e,t,n,r))}function Jt(e,t,n,r){if(Yt)if(0<xt.length&&-1<Et.indexOf(e))e=Ot(null,e,t,n,r),xt.push(e);else{var a=Qt(e,t,n,r);if(null===a)At(e,r);else if(-1<Et.indexOf(e))e=Ot(a,e,t,n,r),xt.push(e);else if(!function(e,t,n,r,a){switch(t){case\"focus\":return wt=Dt(wt,e,t,n,r,a),!0;case\"dragenter\":return _t=Dt(_t,e,t,n,r,a),!0;case\"mouseover\":return kt=Dt(kt,e,t,n,r,a),!0;case\"pointerover\":var i=a.pointerId;return Tt.set(i,Dt(Tt.get(i)||null,e,t,n,r,a)),!0;case\"gotpointercapture\":return i=a.pointerId,Mt.set(i,Dt(Mt.get(i)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r)){At(e,r),e=pt(e,r,null,t);try{B(ht,e)}finally{dt(e)}}}}function Qt(e,t,n,r){if(null!==(n=Dn(n=ut(r)))){var a=et(n);if(null===a)n=null;else{var i=a.tag;if(13===i){if(null!==(n=tt(a)))return n;n=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}e=pt(e,r,n,t);try{B(ht,e)}finally{dt(e)}return null}var en={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},tn=[\"Webkit\",\"ms\",\"Moz\",\"O\"];function nn(e,t,n){return null==t||\"boolean\"==typeof t||\"\"===t?\"\":n||\"number\"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(\"\"+t).trim():t+\"px\"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf(\"--\"),a=nn(n,t[n],r);\"float\"===n&&(n=\"cssFloat\"),r?e.setProperty(n,a):e[n]=a}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var an=a({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 on(e,t){if(t){if(an[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 ln(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=Le;function un(e,t){var n=Qe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=M[t];for(var r=0;r<t.length;r++)mt(t[r],e,n)}function cn(){}function fn(e){if(void 0===(e=e||(\"undefined\"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function dn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=dn(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=dn(r)}}function hn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hn(e,t.parentNode):\"contains\"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mn(){for(var e=window,t=fn();t instanceof e.HTMLIFrameElement;){try{var n=\"string\"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=fn((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 yn=\"$?\",vn=\"$!\",bn=null,xn=null;function wn(e,t){switch(e){case\"button\":case\"input\":case\"select\":case\"textarea\":return!!t.autoFocus}return!1}function _n(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 kn=\"function\"==typeof setTimeout?setTimeout:void 0,Tn=\"function\"==typeof clearTimeout?clearTimeout:void 0;function Mn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Sn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(\"$\"===n||n===vn||n===yn){if(0===t)return e;t--}else\"/$\"===n&&t++}e=e.previousSibling}return null}var En=Math.random().toString(36).slice(2),Cn=\"__reactInternalInstance$\"+En,On=\"__reactEventHandlers$\"+En,An=\"__reactContainere$\"+En;function Dn(e){var t=e[Cn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[An]||n[Cn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Sn(e);null!==e;){if(n=e[Cn])return n;e=Sn(e)}return t}n=(e=n).parentNode}return null}function Pn(e){return!(e=e[Cn]||e[An])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Rn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function Ln(e){return e[On]||null}function In(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function jn(e,t){var n=e.stateNode;if(!n)return null;var r=h(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 Nn(e,t,n){(t=jn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function zn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=In(t);for(t=n.length;0<t--;)Nn(n[t],\"captured\",e);for(t=0;t<n.length;t++)Nn(n[t],\"bubbled\",e)}}function Fn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=jn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=at(n._dispatchListeners,t),n._dispatchInstances=at(n._dispatchInstances,e))}function Zn(e){e&&e.dispatchConfig.registrationName&&Fn(e._targetInst,null,e)}function Bn(e){it(e,zn)}var qn=null,Hn=null,Un=null;function Wn(){if(Un)return Un;var e,t,n=Hn,r=n.length,a=\"value\"in qn?qn.value:qn.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[i-t];t++);return Un=a.slice(e,1<t?1-t:void 0)}function Vn(){return!0}function Yn(){return!1}function Gn(e,t,n,r){for(var a in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(a)&&((t=e[a])?this[a]=t(n):\"target\"===a?this.target=r:this[a]=n[a]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Vn:Yn,this.isPropagationStopped=Yn,this}function $n(e,t,n,r){if(this.eventPool.length){var a=this.eventPool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)}function Xn(e){if(!(e instanceof this))throw Error(o(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Kn(e){e.eventPool=[],e.getPooled=$n,e.release=Xn}a(Gn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():\"unknown\"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Vn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():\"unknown\"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Vn)},persist:function(){this.isPersistent=Vn},isPersistent:Yn,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=Yn,this._dispatchInstances=this._dispatchListeners=null}}),Gn.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},Gn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return a(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=a({},r.Interface,e),n.extend=r.extend,Kn(n),n},Kn(Gn);var Jn=Gn.extend({data:null}),Qn=Gn.extend({data:null}),er=[9,13,27,32],tr=E&&\"CompositionEvent\"in window,nr=null;E&&\"documentMode\"in document&&(nr=document.documentMode);var rr=E&&\"TextEvent\"in window&&!nr,ar=E&&(!tr||nr&&8<nr&&11>=nr),ir=String.fromCharCode(32),or={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(\" \")}},lr=!1;function sr(e,t){switch(e){case\"keyup\":return-1!==er.indexOf(t.keyCode);case\"keydown\":return 229!==t.keyCode;case\"keypress\":case\"mousedown\":case\"blur\":return!0;default:return!1}}function ur(e){return\"object\"==typeof(e=e.detail)&&\"data\"in e?e.data:null}var cr=!1;var fr={eventTypes:or,extractEvents:function(e,t,n,r){var a;if(tr)e:{switch(e){case\"compositionstart\":var i=or.compositionStart;break e;case\"compositionend\":i=or.compositionEnd;break e;case\"compositionupdate\":i=or.compositionUpdate;break e}i=void 0}else cr?sr(e,n)&&(i=or.compositionEnd):\"keydown\"===e&&229===n.keyCode&&(i=or.compositionStart);return i?(ar&&\"ko\"!==n.locale&&(cr||i!==or.compositionStart?i===or.compositionEnd&&cr&&(a=Wn()):(Hn=\"value\"in(qn=r)?qn.value:qn.textContent,cr=!0)),i=Jn.getPooled(i,t,n,r),a?i.data=a:null!==(a=ur(n))&&(i.data=a),Bn(i),a=i):a=null,(e=rr?function(e,t){switch(e){case\"compositionend\":return ur(t);case\"keypress\":return 32!==t.which?null:(lr=!0,ir);case\"textInput\":return(e=t.data)===ir&&lr?null:e;default:return null}}(e,n):function(e,t){if(cr)return\"compositionend\"===e||!tr&&sr(e,t)?(e=Wn(),Un=Hn=qn=null,cr=!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 ar&&\"ko\"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Qn.getPooled(or.beforeInput,t,n,r)).data=e,Bn(t)):t=null,null===a?t:null===t?a:[a,t]}},dr={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 pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return\"input\"===t?!!dr[e.type]:\"textarea\"===t}var hr={change:{phasedRegistrationNames:{bubbled:\"onChange\",captured:\"onChangeCapture\"},dependencies:\"blur change click focus input keydown keyup selectionchange\".split(\" \")}};function mr(e,t,n){return(e=Gn.getPooled(hr.change,e,t,n)).type=\"change\",P(n),Bn(e),e}var gr=null,yr=null;function vr(e){st(e)}function br(e){if(we(Rn(e)))return e}function xr(e,t){if(\"change\"===e)return t}var wr=!1;function _r(){gr&&(gr.detachEvent(\"onpropertychange\",kr),yr=gr=null)}function kr(e){if(\"value\"===e.propertyName&&br(yr))if(e=mr(yr,e,ut(e)),z)st(e);else{z=!0;try{L(vr,e)}finally{z=!1,Z()}}}function Tr(e,t,n){\"focus\"===e?(_r(),yr=n,(gr=t).attachEvent(\"onpropertychange\",kr)):\"blur\"===e&&_r()}function Mr(e){if(\"selectionchange\"===e||\"keyup\"===e||\"keydown\"===e)return br(yr)}function Sr(e,t){if(\"click\"===e)return br(t)}function Er(e,t){if(\"input\"===e||\"change\"===e)return br(t)}E&&(wr=ct(\"input\")&&(!document.documentMode||9<document.documentMode));var Cr={eventTypes:hr,_isInputEventSupported:wr,extractEvents:function(e,t,n,r){var a=t?Rn(t):window,i=a.nodeName&&a.nodeName.toLowerCase();if(\"select\"===i||\"input\"===i&&\"file\"===a.type)var o=xr;else if(pr(a))if(wr)o=Er;else{o=Mr;var l=Tr}else(i=a.nodeName)&&\"input\"===i.toLowerCase()&&(\"checkbox\"===a.type||\"radio\"===a.type)&&(o=Sr);if(o&&(o=o(e,t)))return mr(o,n,r);l&&l(e,a,t),\"blur\"===e&&(e=a._wrapperState)&&e.controlled&&\"number\"===a.type&&Ee(a,\"number\",a.value)}},Or=Gn.extend({view:null,detail:null}),Ar={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function Dr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ar[e])&&!!t[e]}function Pr(){return Dr}var Rr=0,Lr=0,Ir=!1,jr=!1,Nr=Or.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Pr,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=Rr;return Rr=e.screenX,Ir?\"mousemove\"===e.type?e.screenX-t:0:(Ir=!0,0)},movementY:function(e){if(\"movementY\"in e)return e.movementY;var t=Lr;return Lr=e.screenY,jr?\"mousemove\"===e.type?e.screenY-t:0:(jr=!0,0)}}),zr=Nr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Fr={mouseEnter:{registrationName:\"onMouseEnter\",dependencies:[\"mouseout\",\"mouseover\"]},mouseLeave:{registrationName:\"onMouseLeave\",dependencies:[\"mouseout\",\"mouseover\"]},pointerEnter:{registrationName:\"onPointerEnter\",dependencies:[\"pointerout\",\"pointerover\"]},pointerLeave:{registrationName:\"onPointerLeave\",dependencies:[\"pointerout\",\"pointerover\"]}},Zr={eventTypes:Fr,extractEvents:function(e,t,n,r,a){var i=\"mouseover\"===e||\"pointerover\"===e,o=\"mouseout\"===e||\"pointerout\"===e;if(i&&0==(32&a)&&(n.relatedTarget||n.fromElement)||!o&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,o)?(o=t,null!==(t=(t=n.relatedTarget||n.toElement)?Dn(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):o=null;if(o===t)return null;if(\"mouseout\"===e||\"mouseover\"===e)var l=Nr,s=Fr.mouseLeave,u=Fr.mouseEnter,c=\"mouse\";else\"pointerout\"!==e&&\"pointerover\"!==e||(l=zr,s=Fr.pointerLeave,u=Fr.pointerEnter,c=\"pointer\");if(e=null==o?i:Rn(o),i=null==t?i:Rn(t),(s=l.getPooled(s,o,n,r)).type=c+\"leave\",s.target=e,s.relatedTarget=i,(n=l.getPooled(u,t,n,r)).type=c+\"enter\",n.target=i,n.relatedTarget=e,c=t,(r=o)&&c)e:{for(u=c,o=0,e=l=r;e;e=In(e))o++;for(e=0,t=u;t;t=In(t))e++;for(;0<o-e;)l=In(l),o--;for(;0<e-o;)u=In(u),e--;for(;o--;){if(l===u||l===u.alternate)break e;l=In(l),u=In(u)}l=null}else l=null;for(u=l,l=[];r&&r!==u&&(null===(o=r.alternate)||o!==u);)l.push(r),r=In(r);for(r=[];c&&c!==u&&(null===(o=c.alternate)||o!==u);)r.push(c),c=In(c);for(c=0;c<l.length;c++)Fn(l[c],\"bubbled\",s);for(c=r.length;0<c--;)Fn(r[c],\"captured\",n);return 0==(64&a)?[s]:[s,n]}};var Br=\"function\"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},qr=Object.prototype.hasOwnProperty;function Hr(e,t){if(Br(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(!qr.call(t,n[r])||!Br(e[n[r]],t[n[r]]))return!1;return!0}var Ur=E&&\"documentMode\"in document&&11>=document.documentMode,Wr={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},dependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},Vr=null,Yr=null,Gr=null,$r=!1;function Xr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return $r||null==Vr||Vr!==fn(n)?null:(\"selectionStart\"in(n=Vr)&&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},Gr&&Hr(Gr,n)?null:(Gr=n,(e=Gn.getPooled(Wr.select,Yr,e,t)).type=\"select\",e.target=Vr,Bn(e),e))}var Kr={eventTypes:Wr,extractEvents:function(e,t,n,r,a,i){if(!(i=!(a=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{a=Qe(a),i=M.onSelect;for(var o=0;o<i.length;o++)if(!a.has(i[o])){a=!1;break e}a=!0}i=!a}if(i)return null;switch(a=t?Rn(t):window,e){case\"focus\":(pr(a)||\"true\"===a.contentEditable)&&(Vr=a,Yr=t,Gr=null);break;case\"blur\":Gr=Yr=Vr=null;break;case\"mousedown\":$r=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":return $r=!1,Xr(n,r);case\"selectionchange\":if(Ur)break;case\"keydown\":case\"keyup\":return Xr(n,r)}return null}},Jr=Gn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Qr=Gn.extend({clipboardData:function(e){return\"clipboardData\"in e?e.clipboardData:window.clipboardData}}),ea=Or.extend({relatedTarget:null});function ta(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 na={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},ra={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\"},aa=Or.extend({key:function(e){if(e.key){var t=na[e.key]||e.key;if(\"Unidentified\"!==t)return t}return\"keypress\"===e.type?13===(e=ta(e))?\"Enter\":String.fromCharCode(e):\"keydown\"===e.type||\"keyup\"===e.type?ra[e.keyCode]||\"Unidentified\":\"\"},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Pr,charCode:function(e){return\"keypress\"===e.type?ta(e):0},keyCode:function(e){return\"keydown\"===e.type||\"keyup\"===e.type?e.keyCode:0},which:function(e){return\"keypress\"===e.type?ta(e):\"keydown\"===e.type||\"keyup\"===e.type?e.keyCode:0}}),ia=Nr.extend({dataTransfer:null}),oa=Or.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Pr}),la=Gn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),sa=Nr.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}),ua={eventTypes:zt,extractEvents:function(e,t,n,r){var a=Ft.get(e);if(!a)return null;switch(e){case\"keypress\":if(0===ta(n))return null;case\"keydown\":case\"keyup\":e=aa;break;case\"blur\":case\"focus\":e=ea;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=Nr;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":e=ia;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":e=oa;break;case Ye:case Ge:case $e:e=Jr;break;case Xe:e=la;break;case\"scroll\":e=Or;break;case\"wheel\":e=sa;break;case\"copy\":case\"cut\":case\"paste\":e=Qr;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":e=zr;break;default:e=Gn}return Bn(t=e.getPooled(a,t,n,r)),t}};if(v)throw Error(o(101));v=Array.prototype.slice.call(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \")),x(),h=Ln,m=Pn,g=Rn,S({SimpleEventPlugin:ua,EnterLeaveEventPlugin:Zr,ChangeEventPlugin:Cr,SelectEventPlugin:Kr,BeforeInputEventPlugin:fr});var ca=[],fa=-1;function da(e){0>fa||(e.current=ca[fa],ca[fa]=null,fa--)}function pa(e,t){fa++,ca[fa]=e.current,e.current=t}var ha={},ma={current:ha},ga={current:!1},ya=ha;function va(e,t){var n=e.type.contextTypes;if(!n)return ha;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in n)i[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ba(e){return null!=(e=e.childContextTypes)}function xa(){da(ga),da(ma)}function wa(e,t,n){if(ma.current!==ha)throw Error(o(168));pa(ma,t),pa(ga,n)}function _a(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 Error(o(108,ge(t)||\"Unknown\",i));return a({},n,{},r)}function ka(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ha,ya=ma.current,pa(ma,e),pa(ga,ga.current),!0}function Ta(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=_a(e,t,ya),r.__reactInternalMemoizedMergedChildContext=e,da(ga),da(ma),pa(ma,e)):da(ga),pa(ga,n)}var Ma=i.unstable_runWithPriority,Sa=i.unstable_scheduleCallback,Ea=i.unstable_cancelCallback,Ca=i.unstable_requestPaint,Oa=i.unstable_now,Aa=i.unstable_getCurrentPriorityLevel,Da=i.unstable_ImmediatePriority,Pa=i.unstable_UserBlockingPriority,Ra=i.unstable_NormalPriority,La=i.unstable_LowPriority,Ia=i.unstable_IdlePriority,ja={},Na=i.unstable_shouldYield,za=void 0!==Ca?Ca:function(){},Fa=null,Za=null,Ba=!1,qa=Oa(),Ha=1e4>qa?Oa:function(){return Oa()-qa};function Ua(){switch(Aa()){case Da:return 99;case Pa:return 98;case Ra:return 97;case La:return 96;case Ia:return 95;default:throw Error(o(332))}}function Wa(e){switch(e){case 99:return Da;case 98:return Pa;case 97:return Ra;case 96:return La;case 95:return Ia;default:throw Error(o(332))}}function Va(e,t){return e=Wa(e),Ma(e,t)}function Ya(e,t,n){return e=Wa(e),Sa(e,t,n)}function Ga(e){return null===Fa?(Fa=[e],Za=Sa(Da,Xa)):Fa.push(e),ja}function $a(){if(null!==Za){var e=Za;Za=null,Ea(e)}Xa()}function Xa(){if(!Ba&&null!==Fa){Ba=!0;var e=0;try{var t=Fa;Va(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fa=null}catch(t){throw null!==Fa&&(Fa=Fa.slice(e+1)),Sa(Da,$a),t}finally{Ba=!1}}}function Ka(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Ja(e,t){if(e&&e.defaultProps)for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Qa={current:null},ei=null,ti=null,ni=null;function ri(){ni=ti=ei=null}function ai(e){var t=Qa.current;da(Qa),e.type._context._currentValue=t}function ii(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 oi(e,t){ei=e,ni=ti=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Lo=!0),e.firstContext=null)}function li(e,t){if(ni!==e&&!1!==t&&0!==t)if(\"number\"==typeof t&&1073741823!==t||(ni=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ti){if(null===ei)throw Error(o(308));ti=t,ei.dependencies={expirationTime:0,firstContext:t,responders:null}}else ti=ti.next=t;return e._currentValue}var si=!1;function ui(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ci(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function fi(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function di(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 pi(e,t){var n=e.alternate;null!==n&&ci(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function hi(e,t,n,r){var i=e.updateQueue;si=!1;var o=i.baseQueue,l=i.shared.pending;if(null!==l){if(null!==o){var s=o.next;o.next=l.next,l.next=s}o=l,i.shared.pending=null,null!==(s=e.alternate)&&(null!==(s=s.updateQueue)&&(s.baseQueue=l))}if(null!==o){s=o.next;var u=i.baseState,c=0,f=null,d=null,p=null;if(null!==s)for(var h=s;;){if((l=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(d=p=m,f=u):p=p.next=m,l>c&&(c=l)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ps(l,h.suspenseConfig);e:{var g=e,y=h;switch(l=t,m=n,y.tag){case 1:if(\"function\"==typeof(g=y.payload)){u=g.call(m,u,l);break e}u=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(l=\"function\"==typeof(g=y.payload)?g.call(m,u,l):g))break e;u=a({},u,l);break e;case 2:si=!0}}null!==h.callback&&(e.effectTag|=32,null===(l=i.effects)?i.effects=[h]:l.push(h))}if(null===(h=h.next)||h===s){if(null===(l=i.shared.pending))break;h=o.next=l.next,l.next=s,i.baseQueue=o=l,i.shared.pending=null}}null===p?f=u:p.next=d,i.baseState=f,i.baseQueue=p,hs(c),e.expirationTime=c,e.memoizedState=u}}function mi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=a,a=n,\"function\"!=typeof r)throw Error(o(191,r));r.call(a)}}}var gi=X.ReactCurrentBatchConfig,yi=(new r.Component).refs;function vi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var bi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=es(),a=gi.suspense;(a=fi(r=ts(r,e,a),a)).payload=t,null!=n&&(a.callback=n),di(e,a),ns(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=es(),a=gi.suspense;(a=fi(r=ts(r,e,a),a)).tag=1,a.payload=t,null!=n&&(a.callback=n),di(e,a),ns(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=es(),r=gi.suspense;(r=fi(n=ts(n,e,r),r)).tag=2,null!=t&&(r.callback=t),di(e,r),ns(e,n)}};function xi(e,t,n,r,a,i,o){return\"function\"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,o):!t.prototype||!t.prototype.isPureReactComponent||(!Hr(n,r)||!Hr(a,i))}function wi(e,t,n){var r=!1,a=ha,i=t.contextType;return\"object\"==typeof i&&null!==i?i=li(i):(a=ba(t)?ya:ma.current,i=(r=null!=(r=t.contextTypes))?va(e,a):ha),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=bi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function _i(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&&bi.enqueueReplaceState(t,t.state,null)}function ki(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=yi,ui(e);var i=t.contextType;\"object\"==typeof i&&null!==i?a.context=li(i):(i=ba(t)?ya:ma.current,a.context=va(e,i)),hi(e,n,a,r),a.state=e.memoizedState,\"function\"==typeof(i=t.getDerivedStateFromProps)&&(vi(e,t,i,n),a.state=e.memoizedState),\"function\"==typeof t.getDerivedStateFromProps||\"function\"==typeof a.getSnapshotBeforeUpdate||\"function\"!=typeof a.UNSAFE_componentWillMount&&\"function\"!=typeof a.componentWillMount||(t=a.state,\"function\"==typeof a.componentWillMount&&a.componentWillMount(),\"function\"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&bi.enqueueReplaceState(a,a.state,null),hi(e,n,a,r),a.state=e.memoizedState),\"function\"==typeof a.componentDidMount&&(e.effectTag|=4)}var Ti=Array.isArray;function Mi(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 a=\"\"+e;return null!==t&&null!==t.ref&&\"function\"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===yi&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if(\"string\"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Si(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 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 a(e,t){return(e=Ls(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 s(e,t,n,r){return null===t||6!==t.tag?((t=Ns(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=Mi(e,t,n),r.return=e,r):((r=Is(n.type,n.key,n.props,null,e.mode,r)).ref=Mi(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=zs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=js(n,e.mode,r,i)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if(\"string\"==typeof t||\"number\"==typeof t)return(t=Ns(\"\"+t,e.mode,n)).return=e,t;if(\"object\"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Is(t.type,t.key,t.props,null,e.mode,n)).ref=Mi(e,null,t),n.return=e,n;case te:return(t=zs(t,e.mode,n)).return=e,t}if(Ti(t)||me(t))return(t=js(t,e.mode,n,null)).return=e,t;Si(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if(\"string\"==typeof n||\"number\"==typeof n)return null!==a?null:s(e,t,\"\"+n,r);if(\"object\"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===a?n.type===ne?f(e,t,n.props.children,r,a):u(e,t,n,r):null;case te:return n.key===a?c(e,t,n,r):null}if(Ti(n)||me(n))return null!==a?null:f(e,t,n,r,null);Si(e,n)}return null}function h(e,t,n,r,a){if(\"string\"==typeof r||\"number\"==typeof r)return s(t,e=e.get(n)||null,\"\"+r,a);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,a,r.key):u(t,e,r,a);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(Ti(r)||me(r))return f(t,e=e.get(n)||null,r,a,null);Si(t,r)}return null}function m(a,o,l,s){for(var u=null,c=null,f=o,m=o=0,g=null;null!==f&&m<l.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var y=p(a,f,l[m],s);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(a,f),o=i(y,o,m),null===c?u=y:c.sibling=y,c=y,f=g}if(m===l.length)return n(a,f),u;if(null===f){for(;m<l.length;m++)null!==(f=d(a,l[m],s))&&(o=i(f,o,m),null===c?u=f:c.sibling=f,c=f);return u}for(f=r(a,f);m<l.length;m++)null!==(g=h(f,a,m,l[m],s))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),o=i(g,o,m),null===c?u=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(a,e)})),u}function g(a,l,s,u){var c=me(s);if(\"function\"!=typeof c)throw Error(o(150));if(null==(s=c.call(s)))throw Error(o(151));for(var f=c=null,m=l,g=l=0,y=null,v=s.next();null!==m&&!v.done;g++,v=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var b=p(a,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(a,m),l=i(b,l,g),null===f?c=b:f.sibling=b,f=b,m=y}if(v.done)return n(a,m),c;if(null===m){for(;!v.done;g++,v=s.next())null!==(v=d(a,v.value,u))&&(l=i(v,l,g),null===f?c=v:f.sibling=v,f=v);return c}for(m=r(a,m);!v.done;g++,v=s.next())null!==(v=h(m,a,g,v.value,u))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),l=i(v,l,g),null===f?c=v:f.sibling=v,f=v);return e&&m.forEach((function(e){return t(a,e)})),c}return function(e,r,i,s){var u=\"object\"==typeof i&&null!==i&&i.type===ne&&null===i.key;u&&(i=i.props.children);var c=\"object\"==typeof i&&null!==i;if(c)switch(i.$$typeof){case ee:e:{for(c=i.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(i.type===ne){n(e,u.sibling),(r=a(u,i.props.children)).return=e,e=r;break e}}else if(u.elementType===i.type){n(e,u.sibling),(r=a(u,i.props)).ref=Mi(e,u,i),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}i.type===ne?((r=js(i.props.children,e.mode,s,i.key)).return=e,e=r):((s=Is(i.type,i.key,i.props,null,e.mode,s)).ref=Mi(e,r,i),s.return=e,e=s)}return l(e);case te:e:{for(u=i.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=a(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=zs(i,e.mode,s)).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=a(r,i)).return=e,e=r):(n(e,r),(r=Ns(i,e.mode,s)).return=e,e=r),l(e);if(Ti(i))return m(e,r,i,s);if(me(i))return g(e,r,i,s);if(c&&Si(e,i),void 0===i&&!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 Ci=Ei(!0),Oi=Ei(!1),Ai={},Di={current:Ai},Pi={current:Ai},Ri={current:Ai};function Li(e){if(e===Ai)throw Error(o(174));return e}function Ii(e,t){switch(pa(Ri,t),pa(Pi,e),pa(Di,Ai),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ne(null,\"\");break;default:t=Ne(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}da(Di),pa(Di,t)}function ji(){da(Di),da(Pi),da(Ri)}function Ni(e){Li(Ri.current);var t=Li(Di.current),n=Ne(t,e.type);t!==n&&(pa(Pi,e),pa(Di,n))}function zi(e){Pi.current===e&&(da(Di),da(Pi))}var Fi={current:0};function Zi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===yn||n.data===vn))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 Bi(e,t){return{responder:e,props:t}}var qi=X.ReactCurrentDispatcher,Hi=X.ReactCurrentBatchConfig,Ui=0,Wi=null,Vi=null,Yi=null,Gi=!1;function $i(){throw Error(o(321))}function Xi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Br(e[n],t[n]))return!1;return!0}function Ki(e,t,n,r,a,i){if(Ui=i,Wi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,qi.current=null===e||null===e.memoizedState?wo:_o,e=n(r,a),t.expirationTime===Ui){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(o(301));i+=1,Yi=Vi=null,t.updateQueue=null,qi.current=ko,e=n(r,a)}while(t.expirationTime===Ui)}if(qi.current=xo,t=null!==Vi&&null!==Vi.next,Ui=0,Yi=Vi=Wi=null,Gi=!1,t)throw Error(o(300));return e}function Ji(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Yi?Wi.memoizedState=Yi=e:Yi=Yi.next=e,Yi}function Qi(){if(null===Vi){var e=Wi.alternate;e=null!==e?e.memoizedState:null}else e=Vi.next;var t=null===Yi?Wi.memoizedState:Yi.next;if(null!==t)Yi=t,Vi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(Vi=e).memoizedState,baseState:Vi.baseState,baseQueue:Vi.baseQueue,queue:Vi.queue,next:null},null===Yi?Wi.memoizedState=Yi=e:Yi=Yi.next=e}return Yi}function eo(e,t){return\"function\"==typeof t?t(e):t}function to(e){var t=Qi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=Vi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var s=l=i=null,u=a;do{var c=u.expirationTime;if(c<Ui){var f={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(l=s=f,i=r):s=s.next=f,c>Wi.expirationTime&&(Wi.expirationTime=c,hs(c))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),ps(c,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==a);null===s?i=r:s.next=l,Br(r,t.memoizedState)||(Lo=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function no(e){var t=Qi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);Br(i,t.memoizedState)||(Lo=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ro(e){var t=Ji();return\"function\"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:eo,lastRenderedState:e}).dispatch=bo.bind(null,Wi,e),[t.memoizedState,e]}function ao(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Wi.updateQueue)?(t={lastEffect:null},Wi.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 io(){return Qi().memoizedState}function oo(e,t,n,r){var a=Ji();Wi.effectTag|=e,a.memoizedState=ao(1|t,n,void 0,void 0===r?null:r)}function lo(e,t,n,r){var a=Qi();r=void 0===r?null:r;var i=void 0;if(null!==Vi){var o=Vi.memoizedState;if(i=o.destroy,null!==r&&Xi(r,o.deps))return void ao(t,n,i,r)}Wi.effectTag|=e,a.memoizedState=ao(1|t,n,i,r)}function so(e,t){return oo(516,4,e,t)}function uo(e,t){return lo(516,4,e,t)}function co(e,t){return lo(4,2,e,t)}function fo(e,t){return\"function\"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function po(e,t,n){return n=null!=n?n.concat([e]):null,lo(4,2,fo.bind(null,t,e),n)}function ho(){}function mo(e,t){return Ji().memoizedState=[e,void 0===t?null:t],e}function go(e,t){var n=Qi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function yo(e,t){var n=Qi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function vo(e,t,n){var r=Ua();Va(98>r?98:r,(function(){e(!0)})),Va(97<r?97:r,(function(){var r=Hi.suspense;Hi.suspense=void 0===t?null:t;try{e(!1),n()}finally{Hi.suspense=r}}))}function bo(e,t,n){var r=es(),a=gi.suspense;a={expirationTime:r=ts(r,e,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===Wi||null!==i&&i===Wi)Gi=!0,a.expirationTime=Ui,Wi.expirationTime=Ui;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var o=t.lastRenderedState,l=i(o,n);if(a.eagerReducer=i,a.eagerState=l,Br(l,o))return}catch(e){}ns(e,r)}}var xo={readContext:li,useCallback:$i,useContext:$i,useEffect:$i,useImperativeHandle:$i,useLayoutEffect:$i,useMemo:$i,useReducer:$i,useRef:$i,useState:$i,useDebugValue:$i,useResponder:$i,useDeferredValue:$i,useTransition:$i},wo={readContext:li,useCallback:mo,useContext:li,useEffect:so,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oo(4,2,fo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oo(4,2,e,t)},useMemo:function(e,t){var n=Ji();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ji();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=bo.bind(null,Wi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ji().memoizedState=e},useState:ro,useDebugValue:ho,useResponder:Bi,useDeferredValue:function(e,t){var n=ro(e),r=n[0],a=n[1];return so((function(){var n=Hi.suspense;Hi.suspense=void 0===t?null:t;try{a(e)}finally{Hi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ro(!1),n=t[0];return t=t[1],[mo(vo.bind(null,t,e),[t,e]),n]}},_o={readContext:li,useCallback:go,useContext:li,useEffect:uo,useImperativeHandle:po,useLayoutEffect:co,useMemo:yo,useReducer:to,useRef:io,useState:function(){return to(eo)},useDebugValue:ho,useResponder:Bi,useDeferredValue:function(e,t){var n=to(eo),r=n[0],a=n[1];return uo((function(){var n=Hi.suspense;Hi.suspense=void 0===t?null:t;try{a(e)}finally{Hi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=to(eo),n=t[0];return t=t[1],[go(vo.bind(null,t,e),[t,e]),n]}},ko={readContext:li,useCallback:go,useContext:li,useEffect:uo,useImperativeHandle:po,useLayoutEffect:co,useMemo:yo,useReducer:no,useRef:io,useState:function(){return no(eo)},useDebugValue:ho,useResponder:Bi,useDeferredValue:function(e,t){var n=no(eo),r=n[0],a=n[1];return uo((function(){var n=Hi.suspense;Hi.suspense=void 0===t?null:t;try{a(e)}finally{Hi.suspense=n}}),[e,t]),r},useTransition:function(e){var t=no(eo),n=t[0];return t=t[1],[go(vo.bind(null,t,e),[t,e]),n]}},To=null,Mo=null,So=!1;function Eo(e,t){var n=Ps(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 Co(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);default:return!1}}function Oo(e){if(So){var t=Mo;if(t){var n=t;if(!Co(e,t)){if(!(t=Mn(n.nextSibling))||!Co(e,t))return e.effectTag=-1025&e.effectTag|2,So=!1,void(To=e);Eo(To,n)}To=e,Mo=Mn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,So=!1,To=e}}function Ao(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;To=e}function Do(e){if(e!==To)return!1;if(!So)return Ao(e),So=!0,!1;var t=e.type;if(5!==e.tag||\"head\"!==t&&\"body\"!==t&&!_n(t,e.memoizedProps))for(t=Mo;t;)Eo(e,t),t=Mn(t.nextSibling);if(Ao(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){Mo=Mn(e.nextSibling);break e}t--}else\"$\"!==n&&n!==vn&&n!==yn||t++}e=e.nextSibling}Mo=null}}else Mo=To?Mn(e.stateNode.nextSibling):null;return!0}function Po(){Mo=To=null,So=!1}var Ro=X.ReactCurrentOwner,Lo=!1;function Io(e,t,n,r){t.child=null===e?Oi(t,null,n,r):Ci(t,e.child,n,r)}function jo(e,t,n,r,a){n=n.render;var i=t.ref;return oi(t,a),r=Ki(e,t,n,r,i,a),null===e||Lo?(t.effectTag|=1,Io(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),Jo(e,t,a))}function No(e,t,n,r,a,i){if(null===e){var o=n.type;return\"function\"!=typeof o||Rs(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Is(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,zo(e,t,o,r,a,i))}return o=e.child,a<i&&(a=o.memoizedProps,(n=null!==(n=n.compare)?n:Hr)(a,r)&&e.ref===t.ref)?Jo(e,t,i):(t.effectTag|=1,(e=Ls(o,r)).ref=t.ref,e.return=t,t.child=e)}function zo(e,t,n,r,a,i){return null!==e&&Hr(e.memoizedProps,r)&&e.ref===t.ref&&(Lo=!1,a<i)?(t.expirationTime=e.expirationTime,Jo(e,t,i)):Zo(e,t,n,r,i)}function Fo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Zo(e,t,n,r,a){var i=ba(n)?ya:ma.current;return i=va(t,i),oi(t,a),n=Ki(e,t,n,r,i,a),null===e||Lo?(t.effectTag|=1,Io(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),Jo(e,t,a))}function Bo(e,t,n,r,a){if(ba(n)){var i=!0;ka(t)}else i=!1;if(oi(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),wi(t,n,r),ki(t,n,r,a),r=!0;else if(null===e){var o=t.stateNode,l=t.memoizedProps;o.props=l;var s=o.context,u=n.contextType;\"object\"==typeof u&&null!==u?u=li(u):u=va(t,u=ba(n)?ya:ma.current);var c=n.getDerivedStateFromProps,f=\"function\"==typeof c||\"function\"==typeof o.getSnapshotBeforeUpdate;f||\"function\"!=typeof o.UNSAFE_componentWillReceiveProps&&\"function\"!=typeof o.componentWillReceiveProps||(l!==r||s!==u)&&_i(t,o,r,u),si=!1;var d=t.memoizedState;o.state=d,hi(t,r,o,a),s=t.memoizedState,l!==r||d!==s||ga.current||si?(\"function\"==typeof c&&(vi(t,n,c,r),s=t.memoizedState),(l=si||xi(t,n,l,r,d,s,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=s),o.props=r,o.state=s,o.context=u,r=l):(\"function\"==typeof o.componentDidMount&&(t.effectTag|=4),r=!1)}else o=t.stateNode,ci(e,t),l=t.memoizedProps,o.props=t.type===t.elementType?l:Ja(t.type,l),s=o.context,\"object\"==typeof(u=n.contextType)&&null!==u?u=li(u):u=va(t,u=ba(n)?ya:ma.current),(f=\"function\"==typeof(c=n.getDerivedStateFromProps)||\"function\"==typeof o.getSnapshotBeforeUpdate)||\"function\"!=typeof o.UNSAFE_componentWillReceiveProps&&\"function\"!=typeof o.componentWillReceiveProps||(l!==r||s!==u)&&_i(t,o,r,u),si=!1,s=t.memoizedState,o.state=s,hi(t,r,o,a),d=t.memoizedState,l!==r||s!==d||ga.current||si?(\"function\"==typeof c&&(vi(t,n,c,r),d=t.memoizedState),(c=si||xi(t,n,l,r,s,d,u))?(f||\"function\"!=typeof o.UNSAFE_componentWillUpdate&&\"function\"!=typeof o.componentWillUpdate||(\"function\"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,d,u),\"function\"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,d,u)),\"function\"==typeof o.componentDidUpdate&&(t.effectTag|=4),\"function\"==typeof o.getSnapshotBeforeUpdate&&(t.effectTag|=256)):(\"function\"!=typeof o.componentDidUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),\"function\"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),o.props=r,o.state=d,o.context=u,r=c):(\"function\"!=typeof o.componentDidUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),\"function\"!=typeof o.getSnapshotBeforeUpdate||l===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),r=!1);return qo(e,t,n,r,i,a)}function qo(e,t,n,r,a,i){Fo(e,t);var o=0!=(64&t.effectTag);if(!r&&!o)return a&&Ta(t,n,!1),Jo(e,t,i);r=t.stateNode,Ro.current=t;var l=o&&\"function\"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&o?(t.child=Ci(t,e.child,null,i),t.child=Ci(t,null,l,i)):Io(e,t,l,i),t.memoizedState=r.state,a&&Ta(t,n,!0),t.child}function Ho(e){var t=e.stateNode;t.pendingContext?wa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&wa(0,t.context,!1),Ii(e,t.containerInfo)}var Uo,Wo,Vo,Yo={dehydrated:null,retryTime:0};function Go(e,t,n){var r,a=t.mode,i=t.pendingProps,o=Fi.current,l=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&o)&&(null===e||null!==e.memoizedState)),r?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),pa(Fi,1&o),null===e){if(void 0!==i.fallback&&Oo(t),l){if(l=i.fallback,(i=js(null,a,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=js(l,a,n,null)).return=t,i.sibling=n,t.memoizedState=Yo,t.child=i,n}return a=i.children,t.memoizedState=null,t.child=Oi(t,null,a,n)}if(null!==e.memoizedState){if(a=(e=e.child).sibling,l){if(i=i.fallback,(n=Ls(e,e.pendingProps)).return=t,0==(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return(a=Ls(a,i)).return=t,n.sibling=a,n.childExpirationTime=0,t.memoizedState=Yo,t.child=n,a}return n=Ci(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=i.fallback,(i=js(null,a,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=js(l,a,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Yo,t.child=i,n}return t.memoizedState=null,t.child=Ci(t,e,i.children,n)}function $o(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ii(e.return,t)}function Xo(e,t,n,r,a,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:a,lastEffect:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailExpiration=0,o.tailMode=a,o.lastEffect=i)}function Ko(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(Io(e,t,r.children,n),0!=(2&(r=Fi.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&&$o(e,n);else if(19===e.tag)$o(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(pa(Fi,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case\"forwards\":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===Zi(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Xo(t,!1,a,n,i,t.lastEffect);break;case\"backwards\":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Zi(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Xo(t,!0,n,null,i,t.lastEffect);break;case\"together\":Xo(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Jo(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&hs(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ls(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ls(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qo(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 el(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 ba(t.type)&&xa(),null;case 3:return ji(),da(ga),da(ma),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Do(t)||(t.effectTag|=4),null;case 5:zi(t),n=Li(Ri.current);var i=t.type;if(null!==e&&null!=t.stateNode)Wo(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(o(166));return null}if(e=Li(Di.current),Do(t)){r=t.stateNode,i=t.type;var l=t.memoizedProps;switch(r[Cn]=t,r[On]=l,i){case\"iframe\":case\"object\":case\"embed\":Gt(\"load\",r);break;case\"video\":case\"audio\":for(e=0;e<Ke.length;e++)Gt(Ke[e],r);break;case\"source\":Gt(\"error\",r);break;case\"img\":case\"image\":case\"link\":Gt(\"error\",r),Gt(\"load\",r);break;case\"form\":Gt(\"reset\",r),Gt(\"submit\",r);break;case\"details\":Gt(\"toggle\",r);break;case\"input\":ke(r,l),Gt(\"invalid\",r),un(n,\"onChange\");break;case\"select\":r._wrapperState={wasMultiple:!!l.multiple},Gt(\"invalid\",r),un(n,\"onChange\");break;case\"textarea\":De(r,l),Gt(\"invalid\",r),un(n,\"onChange\")}for(var s in on(i,l),e=null,l)if(l.hasOwnProperty(s)){var u=l[s];\"children\"===s?\"string\"==typeof u?r.textContent!==u&&(e=[\"children\",u]):\"number\"==typeof u&&r.textContent!==\"\"+u&&(e=[\"children\",\"\"+u]):T.hasOwnProperty(s)&&null!=u&&un(n,s)}switch(i){case\"input\":xe(r),Se(r,l,!0);break;case\"textarea\":xe(r),Re(r);break;case\"select\":case\"option\":break;default:\"function\"==typeof l.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(s=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=je(i)),e===sn?\"script\"===i?((e=s.createElement(\"div\")).innerHTML=\"<script><\\/script>\",e=e.removeChild(e.firstChild)):\"string\"==typeof r.is?e=s.createElement(i,{is:r.is}):(e=s.createElement(i),\"select\"===i&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,i),e[Cn]=t,e[On]=r,Uo(e,t),t.stateNode=e,s=ln(i,r),i){case\"iframe\":case\"object\":case\"embed\":Gt(\"load\",e),u=r;break;case\"video\":case\"audio\":for(u=0;u<Ke.length;u++)Gt(Ke[u],e);u=r;break;case\"source\":Gt(\"error\",e),u=r;break;case\"img\":case\"image\":case\"link\":Gt(\"error\",e),Gt(\"load\",e),u=r;break;case\"form\":Gt(\"reset\",e),Gt(\"submit\",e),u=r;break;case\"details\":Gt(\"toggle\",e),u=r;break;case\"input\":ke(e,r),u=_e(e,r),Gt(\"invalid\",e),un(n,\"onChange\");break;case\"option\":u=Ce(e,r);break;case\"select\":e._wrapperState={wasMultiple:!!r.multiple},u=a({},r,{value:void 0}),Gt(\"invalid\",e),un(n,\"onChange\");break;case\"textarea\":De(e,r),u=Ae(e,r),Gt(\"invalid\",e),un(n,\"onChange\");break;default:u=r}on(i,u);var c=u;for(l in c)if(c.hasOwnProperty(l)){var f=c[l];\"style\"===l?rn(e,f):\"dangerouslySetInnerHTML\"===l?null!=(f=f?f.__html:void 0)&&Ze(e,f):\"children\"===l?\"string\"==typeof f?(\"textarea\"!==i||\"\"!==f)&&Be(e,f):\"number\"==typeof f&&Be(e,\"\"+f):\"suppressContentEditableWarning\"!==l&&\"suppressHydrationWarning\"!==l&&\"autoFocus\"!==l&&(T.hasOwnProperty(l)?null!=f&&un(n,l):null!=f&&K(e,l,f,s))}switch(i){case\"input\":xe(e),Se(e,r,!1);break;case\"textarea\":xe(e),Re(e);break;case\"option\":null!=r.value&&e.setAttribute(\"value\",\"\"+ve(r.value));break;case\"select\":e.multiple=!!r.multiple,null!=(n=r.value)?Oe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Oe(e,!!r.multiple,r.defaultValue,!0);break;default:\"function\"==typeof u.onClick&&(e.onclick=cn)}wn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Vo(0,t,e.memoizedProps,r);else{if(\"string\"!=typeof r&&null===t.stateNode)throw Error(o(166));n=Li(Ri.current),Li(Di.current),Do(t)?(n=t.stateNode,r=t.memoizedProps,n[Cn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Cn]=t,t.stateNode=n)}return null;case 13:return da(Fi),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Do(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=i,i.nextEffect=l):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Fi.current)?Il===Cl&&(Il=Ol):(Il!==Cl&&Il!==Ol||(Il=Al),0!==Zl&&null!==Pl&&(Bs(Pl,Ll),qs(Pl,Zl)))),(n||r)&&(t.effectTag|=4),null);case 4:return ji(),null;case 10:return ai(t),null;case 17:return ba(t.type)&&xa(),null;case 19:if(da(Fi),null===(r=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(l=r.rendering)){if(i)Qo(r,!1);else if(Il!==Cl||null!==e&&0!=(64&e.effectTag))for(l=t.child;null!==l;){if(null!==(e=Zi(l))){for(t.effectTag|=64,Qo(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)l=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=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=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,l=e.dependencies,i.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),r=r.sibling;return pa(Fi,1&Fi.current|2),t.child}l=l.sibling}}else{if(!i)if(null!==(e=Zi(l))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Qo(r,!0),null===r.tail&&\"hidden\"===r.tailMode&&!l.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ha()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Qo(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=r.last)?n.sibling=l:t.child=l,r.last=l)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ha()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ha(),n.sibling=null,t=Fi.current,pa(Fi,i?1&t|2:1&t),n):null}throw Error(o(156,t.tag))}function tl(e){switch(e.tag){case 1:ba(e.type)&&xa();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(ji(),da(ga),da(ma),0!=(64&(t=e.effectTag)))throw Error(o(285));return e.effectTag=-4097&t|64,e;case 5:return zi(e),null;case 13:return da(Fi),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return da(Fi),null;case 4:return ji(),null;case 10:return ai(e),null;default:return null}}function nl(e,t){return{value:e,source:t,stack:ye(t)}}Uo=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}},Wo=function(e,t,n,r,i){var o=e.memoizedProps;if(o!==r){var l,s,u=t.stateNode;switch(Li(Di.current),e=null,n){case\"input\":o=_e(u,o),r=_e(u,r),e=[];break;case\"option\":o=Ce(u,o),r=Ce(u,r),e=[];break;case\"select\":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),e=[];break;case\"textarea\":o=Ae(u,o),r=Ae(u,r),e=[];break;default:\"function\"!=typeof o.onClick&&\"function\"==typeof r.onClick&&(u.onclick=cn)}for(l in on(n,r),n=null,o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&null!=o[l])if(\"style\"===l)for(s in u=o[l])u.hasOwnProperty(s)&&(n||(n={}),n[s]=\"\");else\"dangerouslySetInnerHTML\"!==l&&\"children\"!==l&&\"suppressContentEditableWarning\"!==l&&\"suppressHydrationWarning\"!==l&&\"autoFocus\"!==l&&(T.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in r){var c=r[l];if(u=null!=o?o[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u))if(\"style\"===l)if(u){for(s in u)!u.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(n||(n={}),n[s]=\"\");for(s in c)c.hasOwnProperty(s)&&u[s]!==c[s]&&(n||(n={}),n[s]=c[s])}else n||(e||(e=[]),e.push(l,n)),n=c;else\"dangerouslySetInnerHTML\"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(e=e||[]).push(l,c)):\"children\"===l?u===c||\"string\"!=typeof c&&\"number\"!=typeof c||(e=e||[]).push(l,\"\"+c):\"suppressContentEditableWarning\"!==l&&\"suppressHydrationWarning\"!==l&&(T.hasOwnProperty(l)?(null!=c&&un(i,l),e||u===c||(e=[])):(e=e||[]).push(l,c))}n&&(e=e||[]).push(\"style\",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Vo=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var rl=\"function\"==typeof WeakSet?WeakSet:Set;function al(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ye(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function il(e){var t=e.ref;if(null!==t)if(\"function\"==typeof t)try{t(null)}catch(t){Ss(e,t)}else t.current=null}function ol(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:Ja(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(o(163))}function ll(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 sl(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 ul(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void sl(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:Ja(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&mi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}mi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&wn(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&&Nt(n)))));case 19:case 17:case 20:case 21:return}throw Error(o(163))}function cl(e,t,n){switch(\"function\"==typeof As&&As(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;Va(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var a=t;try{n()}catch(e){Ss(a,e)}}e=e.next}while(e!==r)}))}break;case 1:il(t),\"function\"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Ss(e,t)}}(t,n);break;case 5:il(t);break;case 4:gl(e,t,n)}}function fl(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&&fl(t)}function dl(e){return 5===e.tag||3===e.tag||4===e.tag}function pl(e){e:{for(var t=e.return;null!==t;){if(dl(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||dl(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?hl(e,n,t):ml(e,n,t)}function hl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=cn));else if(4!==r&&null!==(e=e.child))for(hl(e,t,n),e=e.sibling;null!==e;)hl(e,t,n),e=e.sibling}function ml(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ml(e,t,n),e=e.sibling;null!==e;)ml(e,t,n),e=e.sibling}function gl(e,t,n){for(var r,a,i=t,l=!1;;){if(!l){l=i.return;e:for(;;){if(null===l)throw Error(o(160));switch(r=l.stateNode,l.tag){case 5:a=!1;break e;case 3:case 4:r=r.containerInfo,a=!0;break e}l=l.return}l=!0}if(5===i.tag||6===i.tag){e:for(var s=e,u=i,c=n,f=u;;)if(cl(s,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}a?(s=r,u=i.stateNode,8===s.nodeType?s.parentNode.removeChild(u):s.removeChild(u)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,a=!0,i.child.return=i,i=i.child;continue}}else if(cl(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(l=!1)}i.sibling.return=i.return,i=i.sibling}}function yl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ll(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,a=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[On]=r,\"input\"===e&&\"radio\"===r.type&&null!=r.name&&Te(n,r),ln(e,a),t=ln(e,r),a=0;a<i.length;a+=2){var l=i[a],s=i[a+1];\"style\"===l?rn(n,s):\"dangerouslySetInnerHTML\"===l?Ze(n,s):\"children\"===l?Be(n,s):K(n,l,s,t)}switch(e){case\"input\":Me(n,r);break;case\"textarea\":Pe(n,r);break;case\"select\":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Oe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Oe(n,!!r.multiple,r.defaultValue,!0):Oe(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,Nt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,ql=Ha()),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,a=null!=(a=e.memoizedProps.style)&&a.hasOwnProperty(\"display\")?a.display:null,i.style.display=nn(\"display\",a));else if(6===e.tag)e.stateNode.nodeValue=r?\"\":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(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;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 vl(t);case 19:return void vl(t);case 17:return}throw Error(o(163))}function vl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new rl),t.forEach((function(t){var r=Cs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var bl=\"function\"==typeof WeakMap?WeakMap:Map;function xl(e,t,n){(n=fi(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ul||(Ul=!0,Wl=r),al(e,t)},n}function wl(e,t,n){(n=fi(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if(\"function\"==typeof r){var a=t.value;n.payload=function(){return al(e,t),r(a)}}var i=e.stateNode;return null!==i&&\"function\"==typeof i.componentDidCatch&&(n.callback=function(){\"function\"!=typeof r&&(null===Vl?Vl=new Set([this]):Vl.add(this),al(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:\"\"})}),n}var _l,kl=Math.ceil,Tl=X.ReactCurrentDispatcher,Ml=X.ReactCurrentOwner,Sl=16,El=32,Cl=0,Ol=3,Al=4,Dl=0,Pl=null,Rl=null,Ll=0,Il=Cl,jl=null,Nl=1073741823,zl=1073741823,Fl=null,Zl=0,Bl=!1,ql=0,Hl=null,Ul=!1,Wl=null,Vl=null,Yl=!1,Gl=null,$l=90,Xl=null,Kl=0,Jl=null,Ql=0;function es(){return 0!=(48&Dl)?1073741821-(Ha()/10|0):0!==Ql?Ql:Ql=1073741821-(Ha()/10|0)}function ts(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ua();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(Dl&Sl))return Ll;if(null!==n)e=Ka(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ka(e,150,100);break;case 97:case 96:e=Ka(e,5e3,250);break;case 95:e=2;break;default:throw Error(o(326))}return null!==Pl&&e===Ll&&--e,e}function ns(e,t){if(50<Kl)throw Kl=0,Jl=null,Error(o(185));if(null!==(e=rs(e,t))){var n=Ua();1073741823===t?0!=(8&Dl)&&0==(48&Dl)?ls(e):(is(e),0===Dl&&$a()):is(e),0==(4&Dl)||98!==n&&99!==n||(null===Xl?Xl=new Map([[e,t]]):(void 0===(n=Xl.get(e))||n>t)&&Xl.set(e,t))}}function rs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,a=null;if(null===r&&3===e.tag)a=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){a=r.stateNode;break}r=r.return}return null!==a&&(Pl===a&&(hs(t),Il===Al&&Bs(a,Ll)),qs(a,t)),a}function as(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Zs(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function is(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ga(ls.bind(null,e));else{var t=as(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=es();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 a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=r)return;n!==ja&&Ea(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ga(ls.bind(null,e)):Ya(r,os.bind(null,e),{timeout:10*(1073741821-t)-Ha()}),e.callbackNode=t}}}function os(e,t){if(Ql=0,t)return Hs(e,t=es()),is(e),null;var n=as(e);if(0!==n){if(t=e.callbackNode,0!=(48&Dl))throw Error(o(327));if(ks(),e===Pl&&n===Ll||cs(e,n),null!==Rl){var r=Dl;Dl|=Sl;for(var a=ds();;)try{gs();break}catch(t){fs(e,t)}if(ri(),Dl=r,Tl.current=a,1===Il)throw t=jl,cs(e,n),Bs(e,n),is(e),t;if(null===Rl)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Il,Pl=null,r){case Cl:case 1:throw Error(o(345));case 2:Hs(e,2<n?2:n);break;case Ol:if(Bs(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bs(a)),1073741823===Nl&&10<(a=ql+500-Ha())){if(Bl){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,cs(e,n);break}}if(0!==(i=as(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=kn(xs.bind(null,e),a);break}xs(e);break;case Al:if(Bs(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bs(a)),Bl&&(0===(a=e.lastPingedTime)||a>=n)){e.lastPingedTime=n,cs(e,n);break}if(0!==(a=as(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==zl?r=10*(1073741821-zl)-Ha():1073741823===Nl?r=0:(r=10*(1073741821-Nl)-5e3,0>(r=(a=Ha())-r)&&(r=0),(n=10*(1073741821-n)-a)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kl(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=kn(xs.bind(null,e),r);break}xs(e);break;case 5:if(1073741823!==Nl&&null!==Fl){i=Nl;var l=Fl;if(0>=(r=0|l.busyMinDurationMs)?r=0:(a=0|l.busyDelayMs,r=(i=Ha()-(10*(1073741821-i)-(0|l.timeoutMs||5e3)))<=a?0:a+r-i),10<r){Bs(e,n),e.timeoutHandle=kn(xs.bind(null,e),r);break}}xs(e);break;default:throw Error(o(329))}if(is(e),e.callbackNode===t)return os.bind(null,e)}}return null}function ls(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Dl))throw Error(o(327));if(ks(),e===Pl&&t===Ll||cs(e,t),null!==Rl){var n=Dl;Dl|=Sl;for(var r=ds();;)try{ms();break}catch(t){fs(e,t)}if(ri(),Dl=n,Tl.current=r,1===Il)throw n=jl,cs(e,t),Bs(e,t),is(e),n;if(null!==Rl)throw Error(o(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Pl=null,xs(e),is(e)}return null}function ss(e,t){var n=Dl;Dl|=1;try{return e(t)}finally{0===(Dl=n)&&$a()}}function us(e,t){var n=Dl;Dl&=-2,Dl|=8;try{return e(t)}finally{0===(Dl=n)&&$a()}}function cs(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Tn(n)),null!==Rl)for(n=Rl.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&xa();break;case 3:ji(),da(ga),da(ma);break;case 5:zi(r);break;case 4:ji();break;case 13:case 19:da(Fi);break;case 10:ai(r)}n=n.return}Pl=e,Rl=Ls(e.current,null),Ll=t,Il=Cl,jl=null,zl=Nl=1073741823,Fl=null,Zl=0,Bl=!1}function fs(e,t){for(;;){try{if(ri(),qi.current=xo,Gi)for(var n=Wi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ui=0,Yi=Vi=Wi=null,Gi=!1,null===Rl||null===Rl.return)return Il=1,jl=t,Rl=null;e:{var a=e,i=Rl.return,o=Rl,l=t;if(t=Ll,o.effectTag|=2048,o.firstEffect=o.lastEffect=null,null!==l&&\"object\"==typeof l&&\"function\"==typeof l.then){var s=l;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&Fi.current),f=i;do{var d;if(d=13===f.tag){var p=f.memoizedState;if(null!==p)d=null!==p.dehydrated;else{var h=f.memoizedProps;d=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(d){var m=f.updateQueue;if(null===m){var g=new Set;g.add(s),f.updateQueue=g}else m.add(s);if(0==(2&f.mode)){if(f.effectTag|=64,o.effectTag&=-2981,1===o.tag)if(null===o.alternate)o.tag=17;else{var y=fi(1073741823,null);y.tag=2,di(o,y)}o.expirationTime=1073741823;break e}l=void 0,o=t;var v=a.pingCache;if(null===v?(v=a.pingCache=new bl,l=new Set,v.set(s,l)):void 0===(l=v.get(s))&&(l=new Set,v.set(s,l)),!l.has(o)){l.add(o);var b=Es.bind(null,a,s,o);s.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);l=Error((ge(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.\"+ye(o))}5!==Il&&(Il=2),l=nl(l,o),f=i;do{switch(f.tag){case 3:s=l,f.effectTag|=4096,f.expirationTime=t,pi(f,xl(f,s,t));break e;case 1:s=l;var x=f.type,w=f.stateNode;if(0==(64&f.effectTag)&&(\"function\"==typeof x.getDerivedStateFromError||null!==w&&\"function\"==typeof w.componentDidCatch&&(null===Vl||!Vl.has(w)))){f.effectTag|=4096,f.expirationTime=t,pi(f,wl(f,s,t));break e}}f=f.return}while(null!==f)}Rl=vs(Rl)}catch(e){t=e;continue}break}}function ds(){var e=Tl.current;return Tl.current=xo,null===e?xo:e}function ps(e,t){e<Nl&&2<e&&(Nl=e),null!==t&&e<zl&&2<e&&(zl=e,Fl=t)}function hs(e){e>Zl&&(Zl=e)}function ms(){for(;null!==Rl;)Rl=ys(Rl)}function gs(){for(;null!==Rl&&!Na();)Rl=ys(Rl)}function ys(e){var t=_l(e.alternate,e,Ll);return e.memoizedProps=e.pendingProps,null===t&&(t=vs(e)),Ml.current=null,t}function vs(e){Rl=e;do{var t=Rl.alternate;if(e=Rl.return,0==(2048&Rl.effectTag)){if(t=el(t,Rl,Ll),1===Ll||1!==Rl.childExpirationTime){for(var n=0,r=Rl.child;null!==r;){var a=r.expirationTime,i=r.childExpirationTime;a>n&&(n=a),i>n&&(n=i),r=r.sibling}Rl.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Rl.firstEffect),null!==Rl.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Rl.firstEffect),e.lastEffect=Rl.lastEffect),1<Rl.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Rl:e.firstEffect=Rl,e.lastEffect=Rl))}else{if(null!==(t=tl(Rl)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Rl.sibling))return t;Rl=e}while(null!==Rl);return Il===Cl&&(Il=5),null}function bs(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function xs(e){var t=Ua();return Va(99,ws.bind(null,e,t)),null}function ws(e,t){do{ks()}while(null!==Gl);if(0!=(48&Dl))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 a=bs(n);if(e.firstPendingTime=a,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===Pl&&(Rl=Pl=null,Ll=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){var i=Dl;Dl|=El,Ml.current=null,bn=Yt;var l=mn();if(gn(l)){if(\"selectionStart\"in l)var s={start:l.selectionStart,end:l.selectionEnd};else e:{var u=(s=(s=l.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(u&&0!==u.rangeCount){s=u.anchorNode;var c=u.anchorOffset,f=u.focusNode;u=u.focusOffset;try{s.nodeType,f.nodeType}catch(e){s=null;break e}var d=0,p=-1,h=-1,m=0,g=0,y=l,v=null;t:for(;;){for(var b;y!==s||0!==c&&3!==y.nodeType||(p=d+c),y!==f||0!==u&&3!==y.nodeType||(h=d+u),3===y.nodeType&&(d+=y.nodeValue.length),null!==(b=y.firstChild);)v=y,y=b;for(;;){if(y===l)break t;if(v===s&&++m===c&&(p=d),v===f&&++g===u&&(h=d),null!==(b=y.nextSibling))break;v=(y=v).parentNode}y=b}s=-1===p||-1===h?null:{start:p,end:h}}else s=null}s=s||{start:0,end:0}}else s=null;xn={activeElementDetached:null,focusedElem:l,selectionRange:s},Yt=!1,Hl=a;do{try{_s()}catch(e){if(null===Hl)throw Error(o(330));Ss(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);Hl=a;do{try{for(l=e,s=t;null!==Hl;){var x=Hl.effectTag;if(16&x&&Be(Hl.stateNode,\"\"),128&x){var w=Hl.alternate;if(null!==w){var _=w.ref;null!==_&&(\"function\"==typeof _?_(null):_.current=null)}}switch(1038&x){case 2:pl(Hl),Hl.effectTag&=-3;break;case 6:pl(Hl),Hl.effectTag&=-3,yl(Hl.alternate,Hl);break;case 1024:Hl.effectTag&=-1025;break;case 1028:Hl.effectTag&=-1025,yl(Hl.alternate,Hl);break;case 4:yl(Hl.alternate,Hl);break;case 8:gl(l,c=Hl,s),fl(c)}Hl=Hl.nextEffect}}catch(e){if(null===Hl)throw Error(o(330));Ss(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);if(_=xn,w=mn(),x=_.focusedElem,s=_.selectionRange,w!==x&&x&&x.ownerDocument&&hn(x.ownerDocument.documentElement,x)){null!==s&&gn(x)&&(w=s.start,void 0===(_=s.end)&&(_=w),\"selectionStart\"in x?(x.selectionStart=w,x.selectionEnd=Math.min(_,x.value.length)):(_=(w=x.ownerDocument||document)&&w.defaultView||window).getSelection&&(_=_.getSelection(),c=x.textContent.length,l=Math.min(s.start,c),s=void 0===s.end?l:Math.min(s.end,c),!_.extend&&l>s&&(c=s,s=l,l=c),c=pn(x,l),f=pn(x,s),c&&f&&(1!==_.rangeCount||_.anchorNode!==c.node||_.anchorOffset!==c.offset||_.focusNode!==f.node||_.focusOffset!==f.offset)&&((w=w.createRange()).setStart(c.node,c.offset),_.removeAllRanges(),l>s?(_.addRange(w),_.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),_.addRange(w))))),w=[];for(_=x;_=_.parentNode;)1===_.nodeType&&w.push({element:_,left:_.scrollLeft,top:_.scrollTop});for(\"function\"==typeof x.focus&&x.focus(),x=0;x<w.length;x++)(_=w[x]).element.scrollLeft=_.left,_.element.scrollTop=_.top}Yt=!!bn,xn=bn=null,e.current=n,Hl=a;do{try{for(x=e;null!==Hl;){var k=Hl.effectTag;if(36&k&&ul(x,Hl.alternate,Hl),128&k){w=void 0;var T=Hl.ref;if(null!==T){var M=Hl.stateNode;Hl.tag,w=M,\"function\"==typeof T?T(w):T.current=w}}Hl=Hl.nextEffect}}catch(e){if(null===Hl)throw Error(o(330));Ss(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);Hl=null,za(),Dl=i}else e.current=n;if(Yl)Yl=!1,Gl=e,$l=t;else for(Hl=a;null!==Hl;)t=Hl.nextEffect,Hl.nextEffect=null,Hl=t;if(0===(t=e.firstPendingTime)&&(Vl=null),1073741823===t?e===Jl?Kl++:(Kl=0,Jl=e):Kl=0,\"function\"==typeof Os&&Os(n.stateNode,r),is(e),Ul)throw Ul=!1,e=Wl,Wl=null,e;return 0!=(8&Dl)||$a(),null}function _s(){for(;null!==Hl;){var e=Hl.effectTag;0!=(256&e)&&ol(Hl.alternate,Hl),0==(512&e)||Yl||(Yl=!0,Ya(97,(function(){return ks(),null}))),Hl=Hl.nextEffect}}function ks(){if(90!==$l){var e=97<$l?97:$l;return $l=90,Va(e,Ts)}}function Ts(){if(null===Gl)return!1;var e=Gl;if(Gl=null,0!=(48&Dl))throw Error(o(331));var t=Dl;for(Dl|=El,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:ll(5,n),sl(5,n)}}catch(t){if(null===e)throw Error(o(330));Ss(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Dl=t,$a(),!0}function Ms(e,t,n){di(e,t=xl(e,t=nl(n,t),1073741823)),null!==(e=rs(e,1073741823))&&is(e)}function Ss(e,t){if(3===e.tag)Ms(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ms(n,e,t);break}if(1===n.tag){var r=n.stateNode;if(\"function\"==typeof n.type.getDerivedStateFromError||\"function\"==typeof r.componentDidCatch&&(null===Vl||!Vl.has(r))){di(n,e=wl(n,e=nl(t,e),1073741823)),null!==(n=rs(n,1073741823))&&is(n);break}}n=n.return}}function Es(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Pl===e&&Ll===n?Il===Al||Il===Ol&&1073741823===Nl&&Ha()-ql<500?cs(e,Ll):Bl=!0:Zs(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,is(e)))}function Cs(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=ts(t=es(),e,null)),null!==(e=rs(e,t))&&is(e)}_l=function(e,t,n){var r=t.expirationTime;if(null!==e){var a=t.pendingProps;if(e.memoizedProps!==a||ga.current)Lo=!0;else{if(r<n){switch(Lo=!1,t.tag){case 3:Ho(t),Po();break;case 5:if(Ni(t),4&t.mode&&1!==n&&a.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:ba(t.type)&&ka(t);break;case 4:Ii(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,a=t.type._context,pa(Qa,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Go(e,t,n):(pa(Fi,1&Fi.current),null!==(t=Jo(e,t,n))?t.sibling:null);pa(Fi,1&Fi.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Ko(e,t,n);t.effectTag|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null),pa(Fi,Fi.current),!r)return null}return Jo(e,t,n)}Lo=!1}}else Lo=!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,a=va(t,ma.current),oi(t,n),a=Ki(null,t,r,e,a,n),t.effectTag|=1,\"object\"==typeof a&&null!==a&&\"function\"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ba(r)){var i=!0;ka(t)}else i=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,ui(t);var l=r.getDerivedStateFromProps;\"function\"==typeof l&&vi(t,r,l,e),a.updater=bi,t.stateNode=a,a._reactInternalFiber=t,ki(t,r,e,n),t=qo(null,t,r,!0,i,n)}else t.tag=0,Io(null,t,a,n),t=t.child;return t;case 16:e:{if(a=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)}))}}(a),1!==a._status)throw a._result;switch(a=a._result,t.type=a,i=t.tag=function(e){if(\"function\"==typeof e)return Rs(e)?1:0;if(null!=e){if((e=e.$$typeof)===se)return 11;if(e===fe)return 14}return 2}(a),e=Ja(a,e),i){case 0:t=Zo(null,t,a,e,n);break e;case 1:t=Bo(null,t,a,e,n);break e;case 11:t=jo(null,t,a,e,n);break e;case 14:t=No(null,t,a,Ja(a.type,e),r,n);break e}throw Error(o(306,a,\"\"))}return t;case 0:return r=t.type,a=t.pendingProps,Zo(e,t,r,a=t.elementType===r?a:Ja(r,a),n);case 1:return r=t.type,a=t.pendingProps,Bo(e,t,r,a=t.elementType===r?a:Ja(r,a),n);case 3:if(Ho(t),r=t.updateQueue,null===e||null===r)throw Error(o(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,ci(e,t),hi(t,r,null,n),(r=t.memoizedState.element)===a)Po(),t=Jo(e,t,n);else{if((a=t.stateNode.hydrate)&&(Mo=Mn(t.stateNode.containerInfo.firstChild),To=t,a=So=!0),a)for(n=Oi(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Io(e,t,r,n),Po();t=t.child}return t;case 5:return Ni(t),null===e&&Oo(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,_n(r,a)?l=null:null!==i&&_n(r,i)&&(t.effectTag|=16),Fo(e,t),4&t.mode&&1!==n&&a.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Io(e,t,l,n),t=t.child),t;case 6:return null===e&&Oo(t),null;case 13:return Go(e,t,n);case 4:return Ii(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ci(t,null,r,n):Io(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,jo(e,t,r,a=t.elementType===r?a:Ja(r,a),n);case 7:return Io(e,t,t.pendingProps,n),t.child;case 8:case 12:return Io(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,l=t.memoizedProps,i=a.value;var s=t.type._context;if(pa(Qa,s._currentValue),s._currentValue=i,null!==l)if(s=l.value,0===(i=Br(s,i)?0:0|(\"function\"==typeof r._calculateChangedBits?r._calculateChangedBits(s,i):1073741823))){if(l.children===a.children&&!ga.current){t=Jo(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var u=s.dependencies;if(null!==u){l=s.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&i)){1===s.tag&&((c=fi(n,null)).tag=2,di(s,c)),s.expirationTime<n&&(s.expirationTime=n),null!==(c=s.alternate)&&c.expirationTime<n&&(c.expirationTime=n),ii(s.return,n),u.expirationTime<n&&(u.expirationTime=n);break}c=c.next}}else l=10===s.tag&&s.type===t.type?null:s.child;if(null!==l)l.return=s;else for(l=s;null!==l;){if(l===t){l=null;break}if(null!==(s=l.sibling)){s.return=l.return,l=s;break}l=l.return}s=l}Io(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(i=t.pendingProps).children,oi(t,n),r=r(a=li(a,i.unstable_observedBits)),t.effectTag|=1,Io(e,t,r,n),t.child;case 14:return i=Ja(a=t.type,t.pendingProps),No(e,t,a,i=Ja(a.type,i),r,n);case 15:return zo(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ja(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,ba(r)?(e=!0,ka(t)):e=!1,oi(t,n),wi(t,r,a),ki(t,r,a,n),qo(null,t,r,!0,e,n);case 19:return Ko(e,t,n)}throw Error(o(156,t.tag))};var Os=null,As=null;function Ds(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 Ps(e,t,n,r){return new Ds(e,t,n,r)}function Rs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ls(e,t){var n=e.alternate;return null===n?((n=Ps(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 Is(e,t,n,r,a,i){var l=2;if(r=e,\"function\"==typeof e)Rs(e)&&(l=1);else if(\"string\"==typeof e)l=5;else e:switch(e){case ne:return js(n.children,a,i,t);case le:l=8,a|=7;break;case re:l=8,a|=1;break;case ae:return(e=Ps(12,n,t,8|a)).elementType=ae,e.type=ae,e.expirationTime=i,e;case ue:return(e=Ps(13,n,t,a)).type=ue,e.elementType=ue,e.expirationTime=i,e;case ce:return(e=Ps(19,n,t,a)).elementType=ce,e.expirationTime=i,e;default:if(\"object\"==typeof e&&null!==e)switch(e.$$typeof){case ie:l=10;break e;case oe:l=9;break e;case se:l=11;break e;case fe:l=14;break e;case de:l=16,r=null;break e;case pe:l=22;break e}throw Error(o(130,null==e?e:typeof e,\"\"))}return(t=Ps(l,n,t,a)).elementType=e,t.type=r,t.expirationTime=i,t}function js(e,t,n,r){return(e=Ps(7,e,r,t)).expirationTime=n,e}function Ns(e,t,n){return(e=Ps(6,e,null,t)).expirationTime=n,e}function zs(e,t,n){return(t=Ps(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fs(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 Zs(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Bs(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 qs(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 Hs(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Us(e,t,n,r){var a=t.current,i=es(),l=gi.suspense;i=ts(i,a,l);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(o(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ba(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(o(171))}if(1===n.tag){var u=n.type;if(ba(u)){n=_a(n,u,s);break e}}n=s}else n=ha;return null===t.context?t.context=n:t.pendingContext=n,(t=fi(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(a,t),ns(a,i),i}function Ws(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vs(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Ys(e,t){Vs(e,t),(e=e.alternate)&&Vs(e,t)}function Gs(e,t,n){var r=new Fs(e,t,n=null!=n&&!0===n.hydrate),a=Ps(3,null,null,2===t?7:1===t?3:0);r.current=a,a.stateNode=r,ui(a),e[An]=r.current,n&&0!==t&&function(e,t){var n=Qe(t);Et.forEach((function(e){mt(e,t,n)})),Ct.forEach((function(e){mt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function $s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||\" react-mount-point-unstable \"!==e.nodeValue))}function Xs(e,t,n,r,a){var i=n._reactRootContainer;if(i){var o=i._internalRoot;if(\"function\"==typeof a){var l=a;a=function(){var e=Ws(o);l.call(e)}}Us(t,o,e,a)}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 Gs(e,0,t?{hydrate:!0}:void 0)}(n,r),o=i._internalRoot,\"function\"==typeof a){var s=a;a=function(){var e=Ws(o);s.call(e)}}us((function(){Us(t,o,e,a)}))}return Ws(o)}function Ks(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 Js(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!$s(t))throw Error(o(200));return Ks(e,t,null,n)}Gs.prototype.render=function(e){Us(e,this._internalRoot,null,null)},Gs.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Us(null,e,null,(function(){t[An]=null}))},gt=function(e){if(13===e.tag){var t=Ka(es(),150,100);ns(e,t),Ys(e,t)}},yt=function(e){13===e.tag&&(ns(e,3),Ys(e,3))},vt=function(e){if(13===e.tag){var t=es();ns(e,t=ts(t,e,null)),Ys(e,t)}},C=function(e,t,n){switch(t){case\"input\":if(Me(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 a=Ln(r);if(!a)throw Error(o(90));we(r),Me(r,a)}}}break;case\"textarea\":Pe(e,n);break;case\"select\":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},L=ss,I=function(e,t,n,r,a){var i=Dl;Dl|=4;try{return Va(98,e.bind(null,t,n,r,a))}finally{0===(Dl=i)&&$a()}},j=function(){0==(49&Dl)&&(function(){if(null!==Xl){var e=Xl;Xl=null,e.forEach((function(e,t){Hs(t,e),is(t)})),$a()}}(),ks())},N=function(e,t){var n=Dl;Dl|=2;try{return e(t)}finally{0===(Dl=n)&&$a()}};var Qs={Events:[Pn,Rn,Ln,S,k,Bn,function(e){it(e,Zn)},P,R,Jt,st,ks,{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);Os=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},As=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}})(a({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Dn,bundleType:0,version:\"16.14.0\",rendererPackageName:\"react-dom\"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qs,t.createPortal=Js,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=rt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&Dl))throw Error(o(187));var n=Dl;Dl|=1;try{return Va(99,e.bind(null,t))}finally{Dl=n,$a()}},t.hydrate=function(e,t,n){if(!$s(t))throw Error(o(200));return Xs(null,e,t,!0,n)},t.render=function(e,t,n){if(!$s(t))throw Error(o(200));return Xs(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!$s(e))throw Error(o(40));return!!e._reactRootContainer&&(us((function(){Xs(null,null,e,!1,(function(){e._reactRootContainer=null,e[An]=null}))})),!0)},t.unstable_batchedUpdates=ss,t.unstable_createPortal=function(e,t){return Js(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!$s(n))throw Error(o(200));if(null==e||void 0===e._reactInternalFiber)throw Error(o(38));return Xs(e,t,n,!1,r)},t.version=\"16.14.0\"},73935:function(e,t,n){\"use strict\";!function e(){if(\"undefined\"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&\"function\"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(64448)},1301:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}return n.m=e,n.c=t,n.p=\"\",n(0)}([function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r,a=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}}(),i=n(1),o=(r=i)&&r.__esModule?r:{default:r},l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!t||\"object\"!=typeof t&&\"function\"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={width:\"auto\"},n.boundCalculateWidth=n.calculateWidth.bind(n),n}return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:\"componentDidMount\",value:function(){var e=this.refs.outerDiv,t=this.refs.childrenWrapper;this.calculateWidth(),window.addEventListener(\"resize\",this.boundCalculateWidth),e.onscroll=function(){t.scrollLeft=e.scrollLeft},t.onscroll=function(){e.scrollLeft=t.scrollLeft}}},{key:\"componentWillUnmount\",value:function(){window.removeEventListener(\"resize\",this.boundCalculateWidth)}},{key:\"componentDidUpdate\",value:function(){this.calculateWidth()}},{key:\"calculateWidth\",value:function(){var e=this.getChildWrapperWidth();null==e&&(e=\"auto\"),e!==this.state.width&&this.setState({width:e})}},{key:\"getChildWrapperWidth\",value:function(){var e=null;return this.refs.childrenWrapper&&this.refs.childrenWrapper.scrollWidth&&(e=this.refs.childrenWrapper.scrollWidth+\"px\"),e}},{key:\"render\",value:function(){var e={paddingTop:\"1px\",width:this.state.width};return o.default.createElement(\"div\",null,o.default.createElement(\"div\",{ref:\"outerDiv\",style:{overflowX:\"auto\",overflowY:\"hidden\"}},o.default.createElement(\"div\",{ref:\"innerDiv\",style:e},\" \")),o.default.createElement(\"div\",{ref:\"childrenWrapper\",style:{overflow:\"auto\",overflowY:\"hidden\"}},this.props.children))}}]),t}(o.default.Component);t.default=l,e.exports=t.default},function(t,n){t.exports=e}])},e.exports=r(n(67294))},69921:function(e,t){\"use strict\";var n=60103,r=60106,a=60107,i=60108,o=60114,l=60109,s=60110,u=60112,c=60113,f=60120,d=60115,p=60116,h=60121,m=60122,g=60117,y=60129,v=60131;if(\"function\"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b(\"react.element\"),r=b(\"react.portal\"),a=b(\"react.fragment\"),i=b(\"react.strict_mode\"),o=b(\"react.profiler\"),l=b(\"react.provider\"),s=b(\"react.context\"),u=b(\"react.forward_ref\"),c=b(\"react.suspense\"),f=b(\"react.suspense_list\"),d=b(\"react.memo\"),p=b(\"react.lazy\"),h=b(\"react.block\"),m=b(\"react.server.block\"),g=b(\"react.fundamental\"),y=b(\"react.debug_trace_mode\"),v=b(\"react.legacy_hidden\")}function x(e){if(\"object\"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case o:case i:case c:case f:return e;default:switch(e=e&&e.$$typeof){case s:case u:case p:case d:case l:return e;default:return t}}case r:return t}}}var w=l,_=n,k=u,T=a,M=p,S=d,E=r,C=o,O=i,A=c;t.ContextConsumer=s,t.ContextProvider=w,t.Element=_,t.ForwardRef=k,t.Fragment=T,t.Lazy=M,t.Memo=S,t.Portal=E,t.Profiler=C,t.StrictMode=O,t.Suspense=A,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return\"object\"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===u},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===p},t.isMemo=function(e){return x(e)===d},t.isPortal=function(e){return x(e)===r},t.isProfiler=function(e){return x(e)===o},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===c},t.isValidElementType=function(e){return\"string\"==typeof e||\"function\"==typeof e||e===a||e===o||e===y||e===i||e===c||e===f||e===v||\"object\"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===h||e[0]===m)},t.typeOf=x},59864:function(e,t,n){\"use strict\";e.exports=n(69921)},46871:function(e,t,n){\"use strict\";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function a(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function o(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error(\"Can only polyfill class components\");if(\"function\"!=typeof e.getDerivedStateFromProps&&\"function\"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,l=null;if(\"function\"==typeof t.componentWillMount?n=\"componentWillMount\":\"function\"==typeof t.UNSAFE_componentWillMount&&(n=\"UNSAFE_componentWillMount\"),\"function\"==typeof t.componentWillReceiveProps?o=\"componentWillReceiveProps\":\"function\"==typeof t.UNSAFE_componentWillReceiveProps&&(o=\"UNSAFE_componentWillReceiveProps\"),\"function\"==typeof t.componentWillUpdate?l=\"componentWillUpdate\":\"function\"==typeof t.UNSAFE_componentWillUpdate&&(l=\"UNSAFE_componentWillUpdate\"),null!==n||null!==o||null!==l){var s=e.displayName||e.name,u=\"function\"==typeof e.getDerivedStateFromProps?\"getDerivedStateFromProps()\":\"getSnapshotBeforeUpdate()\";throw Error(\"Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n\"+s+\" uses \"+u+\" but also contains the following legacy lifecycles:\"+(null!==n?\"\\n \"+n:\"\")+(null!==o?\"\\n \"+o:\"\")+(null!==l?\"\\n \"+l:\"\")+\"\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\nhttps://fb.me/react-async-component-lifecycle-hooks\")}if(\"function\"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=a),\"function\"==typeof t.getSnapshotBeforeUpdate){if(\"function\"!=typeof t.componentDidUpdate)throw new Error(\"Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype\");t.componentWillUpdate=i;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:function(){return o}}),r.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},53114:function(e,t,n){\"use strict\";var r=n(92065);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==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,bigint: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:a};return n.PropTypes=n,n}},80438:function(e,t,n){e.exports=n(53114)()},92065:function(e){\"use strict\";e.exports=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\"},89144:function(e,t,n){\"use strict\";t.__esModule=!0;var 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},a=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}}();function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n(94846)),l=i(n(79483)),s=i(n(2835)),u=i(n(34246)),c=i(n(54087)),f=i(n(27739)),d=i(n(67294)),p=i(n(45697)),h=1e3/60,m=function(e){function t(n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),e.call(this,n),this.wasAnimating=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyle=null,this.clearUnreadPropStyle=function(e){var t=!1,n=a.state,i=n.currentStyle,o=n.currentVelocity,l=n.lastIdealStyle,s=n.lastIdealVelocity;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var c=e[u];\"number\"==typeof c&&(t||(t=!0,i=r({},i),o=r({},o),l=r({},l),s=r({},s)),i[u]=c,o[u]=0,l[u]=c,s[u]=0)}t&&a.setState({currentStyle:i,currentVelocity:o,lastIdealStyle:l,lastIdealVelocity:s})},this.startAnimationIfNecessary=function(){a.animationID=c.default((function(e){var t=a.props.style;if(f.default(a.state.currentStyle,t,a.state.currentVelocity))return a.wasAnimating&&a.props.onRest&&a.props.onRest(),a.animationID=null,a.wasAnimating=!1,void(a.accumulatedTime=0);a.wasAnimating=!0;var n=e||u.default(),r=n-a.prevTime;if(a.prevTime=n,a.accumulatedTime=a.accumulatedTime+r,a.accumulatedTime>10*h&&(a.accumulatedTime=0),0===a.accumulatedTime)return a.animationID=null,void a.startAnimationIfNecessary();var i=(a.accumulatedTime-Math.floor(a.accumulatedTime/h)*h)/h,o=Math.floor(a.accumulatedTime/h),l={},c={},d={},p={};for(var m in t)if(Object.prototype.hasOwnProperty.call(t,m)){var g=t[m];if(\"number\"==typeof g)d[m]=g,p[m]=0,l[m]=g,c[m]=0;else{for(var y=a.state.lastIdealStyle[m],v=a.state.lastIdealVelocity[m],b=0;b<o;b++){var x=s.default(h/1e3,y,v,g.val,g.stiffness,g.damping,g.precision);y=x[0],v=x[1]}var w=s.default(h/1e3,y,v,g.val,g.stiffness,g.damping,g.precision),_=w[0],k=w[1];d[m]=y+(_-y)*i,p[m]=v+(k-v)*i,l[m]=y,c[m]=v}}a.animationID=null,a.accumulatedTime-=o*h,a.setState({currentStyle:d,currentVelocity:p,lastIdealStyle:l,lastIdealVelocity:c}),a.unreadPropStyle=null,a.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,null,[{key:\"propTypes\",value:{defaultStyle:p.default.objectOf(p.default.number),style:p.default.objectOf(p.default.oneOfType([p.default.number,p.default.object])).isRequired,children:p.default.func.isRequired,onRest:p.default.func},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyle,n=e.style,r=t||l.default(n),a=o.default(r);return{currentStyle:r,currentVelocity:a,lastIdealStyle:r,lastIdealVelocity:a}},t.prototype.componentDidMount=function(){this.prevTime=u.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyle&&this.clearUnreadPropStyle(this.unreadPropStyle),this.unreadPropStyle=e.style,null==this.animationID&&(this.prevTime=u.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(c.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyle);return e&&d.default.Children.only(e)},t}(d.default.Component);t.default=m,e.exports=t.default},26506:function(e,t,n){\"use strict\";t.__esModule=!0;var 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},a=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}}();function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n(94846)),l=i(n(79483)),s=i(n(2835)),u=i(n(34246)),c=i(n(54087)),f=i(n(27739)),d=i(n(67294)),p=i(n(45697)),h=1e3/60;var m=function(e){function t(n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),e.call(this,n),this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=a.state,n=t.currentStyles,i=t.currentVelocities,o=t.lastIdealStyles,l=t.lastIdealVelocities,s=!1,u=0;u<e.length;u++){var c=e[u],f=!1;for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d)){var p=c[d];\"number\"==typeof p&&(f||(f=!0,s=!0,n[u]=r({},n[u]),i[u]=r({},i[u]),o[u]=r({},o[u]),l[u]=r({},l[u])),n[u][d]=p,i[u][d]=0,o[u][d]=p,l[u][d]=0)}}s&&a.setState({currentStyles:n,currentVelocities:i,lastIdealStyles:o,lastIdealVelocities:l})},this.startAnimationIfNecessary=function(){a.animationID=c.default((function(e){var t=a.props.styles(a.state.lastIdealStyles);if(function(e,t,n){for(var r=0;r<e.length;r++)if(!f.default(e[r],t[r],n[r]))return!1;return!0}(a.state.currentStyles,t,a.state.currentVelocities))return a.animationID=null,void(a.accumulatedTime=0);var n=e||u.default(),r=n-a.prevTime;if(a.prevTime=n,a.accumulatedTime=a.accumulatedTime+r,a.accumulatedTime>10*h&&(a.accumulatedTime=0),0===a.accumulatedTime)return a.animationID=null,void a.startAnimationIfNecessary();for(var i=(a.accumulatedTime-Math.floor(a.accumulatedTime/h)*h)/h,o=Math.floor(a.accumulatedTime/h),l=[],c=[],d=[],p=[],m=0;m<t.length;m++){var g=t[m],y={},v={},b={},x={};for(var w in g)if(Object.prototype.hasOwnProperty.call(g,w)){var _=g[w];if(\"number\"==typeof _)y[w]=_,v[w]=0,b[w]=_,x[w]=0;else{for(var k=a.state.lastIdealStyles[m][w],T=a.state.lastIdealVelocities[m][w],M=0;M<o;M++){var S=s.default(h/1e3,k,T,_.val,_.stiffness,_.damping,_.precision);k=S[0],T=S[1]}var E=s.default(h/1e3,k,T,_.val,_.stiffness,_.damping,_.precision),C=E[0],O=E[1];y[w]=k+(C-k)*i,v[w]=T+(O-T)*i,b[w]=k,x[w]=T}}d[m]=y,p[m]=v,l[m]=b,c[m]=x}a.animationID=null,a.accumulatedTime-=o*h,a.setState({currentStyles:d,currentVelocities:p,lastIdealStyles:l,lastIdealVelocities:c}),a.unreadPropStyles=null,a.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,null,[{key:\"propTypes\",value:{defaultStyles:p.default.arrayOf(p.default.objectOf(p.default.number)),styles:p.default.func.isRequired,children:p.default.func.isRequired},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=t||n().map(l.default),a=r.map((function(e){return o.default(e)}));return{currentStyles:r,currentVelocities:a,lastIdealStyles:r,lastIdealVelocities:a}},t.prototype.componentDidMount=function(){this.prevTime=u.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles),this.unreadPropStyles=e.styles(this.state.lastIdealStyles),null==this.animationID&&(this.prevTime=u.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(c.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyles);return e&&d.default.Children.only(e)},t}(d.default.Component);t.default=m,e.exports=t.default},921:function(e,t,n){\"use strict\";t.__esModule=!0;var 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},a=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}}();function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n(94846)),l=i(n(79483)),s=i(n(2835)),u=i(n(48505)),c=i(n(34246)),f=i(n(54087)),d=i(n(27739)),p=i(n(67294)),h=i(n(45697)),m=1e3/60;function g(e,t,n){var r=t;return null==r?e.map((function(e,t){return{key:e.key,data:e.data,style:n[t]}})):e.map((function(e,t){for(var a=0;a<r.length;a++)if(r[a].key===e.key)return{key:r[a].key,data:r[a].data,style:n[t]};return{key:e.key,data:e.data,style:n[t]}}))}function y(e,t,n,r,a,i,l,s,c){for(var f=u.default(r,a,(function(e,r){var a=t(r);return null==a||d.default(i[e],a,l[e])?(n({key:r.key,data:r.data}),null):{key:r.key,data:r.data,style:a}})),p=[],h=[],m=[],g=[],y=0;y<f.length;y++){for(var v=f[y],b=null,x=0;x<r.length;x++)if(r[x].key===v.key){b=x;break}if(null==b){var w=e(v);p[y]=w,m[y]=w;var _=o.default(v.style);h[y]=_,g[y]=_}else p[y]=i[b],m[y]=s[b],h[y]=l[b],g[y]=c[b]}return[f,p,h,m,g]}var v=function(e){function t(n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),e.call(this,n),this.unmounting=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=y(a.props.willEnter,a.props.willLeave,a.props.didLeave,a.state.mergedPropsStyles,e,a.state.currentStyles,a.state.currentVelocities,a.state.lastIdealStyles,a.state.lastIdealVelocities),n=t[0],i=t[1],o=t[2],l=t[3],s=t[4],u=0;u<e.length;u++){var c=e[u].style,f=!1;for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d)){var p=c[d];\"number\"==typeof p&&(f||(f=!0,i[u]=r({},i[u]),o[u]=r({},o[u]),l[u]=r({},l[u]),s[u]=r({},s[u]),n[u]={key:n[u].key,data:n[u].data,style:r({},n[u].style)}),i[u][d]=p,o[u][d]=0,l[u][d]=p,s[u][d]=0,n[u].style[d]=p)}}a.setState({currentStyles:i,currentVelocities:o,mergedPropsStyles:n,lastIdealStyles:l,lastIdealVelocities:s})},this.startAnimationIfNecessary=function(){a.unmounting||(a.animationID=f.default((function(e){if(!a.unmounting){var t=a.props.styles,n=\"function\"==typeof t?t(g(a.state.mergedPropsStyles,a.unreadPropStyles,a.state.lastIdealStyles)):t;if(function(e,t,n,r){if(r.length!==t.length)return!1;for(var a=0;a<r.length;a++)if(r[a].key!==t[a].key)return!1;for(a=0;a<r.length;a++)if(!d.default(e[a],t[a].style,n[a]))return!1;return!0}(a.state.currentStyles,n,a.state.currentVelocities,a.state.mergedPropsStyles))return a.animationID=null,void(a.accumulatedTime=0);var r=e||c.default(),i=r-a.prevTime;if(a.prevTime=r,a.accumulatedTime=a.accumulatedTime+i,a.accumulatedTime>10*m&&(a.accumulatedTime=0),0===a.accumulatedTime)return a.animationID=null,void a.startAnimationIfNecessary();for(var o=(a.accumulatedTime-Math.floor(a.accumulatedTime/m)*m)/m,l=Math.floor(a.accumulatedTime/m),u=y(a.props.willEnter,a.props.willLeave,a.props.didLeave,a.state.mergedPropsStyles,n,a.state.currentStyles,a.state.currentVelocities,a.state.lastIdealStyles,a.state.lastIdealVelocities),f=u[0],p=u[1],h=u[2],v=u[3],b=u[4],x=0;x<f.length;x++){var w=f[x].style,_={},k={},T={},M={};for(var S in w)if(Object.prototype.hasOwnProperty.call(w,S)){var E=w[S];if(\"number\"==typeof E)_[S]=E,k[S]=0,T[S]=E,M[S]=0;else{for(var C=v[x][S],O=b[x][S],A=0;A<l;A++){var D=s.default(m/1e3,C,O,E.val,E.stiffness,E.damping,E.precision);C=D[0],O=D[1]}var P=s.default(m/1e3,C,O,E.val,E.stiffness,E.damping,E.precision),R=P[0],L=P[1];_[S]=C+(R-C)*o,k[S]=O+(L-O)*o,T[S]=C,M[S]=O}}v[x]=T,b[x]=M,p[x]=_,h[x]=k}a.animationID=null,a.accumulatedTime-=l*m,a.setState({currentStyles:p,currentVelocities:h,lastIdealStyles:v,lastIdealVelocities:b,mergedPropsStyles:f}),a.unreadPropStyles=null,a.startAnimationIfNecessary()}})))},this.state=this.defaultState()}return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,null,[{key:\"propTypes\",value:{defaultStyles:h.default.arrayOf(h.default.shape({key:h.default.string.isRequired,data:h.default.any,style:h.default.objectOf(h.default.number).isRequired})),styles:h.default.oneOfType([h.default.func,h.default.arrayOf(h.default.shape({key:h.default.string.isRequired,data:h.default.any,style:h.default.objectOf(h.default.oneOfType([h.default.number,h.default.object])).isRequired}))]).isRequired,children:h.default.func.isRequired,willEnter:h.default.func,willLeave:h.default.func,didLeave:h.default.func},enumerable:!0},{key:\"defaultProps\",value:{willEnter:function(e){return l.default(e.style)},willLeave:function(){return null},didLeave:function(){}},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=e.willEnter,a=e.willLeave,i=e.didLeave,s=\"function\"==typeof n?n(t):n,u=void 0;u=null==t?s:t.map((function(e){for(var t=0;t<s.length;t++)if(s[t].key===e.key)return s[t];return e}));var c=null==t?s.map((function(e){return l.default(e.style)})):t.map((function(e){return l.default(e.style)})),f=null==t?s.map((function(e){return o.default(e.style)})):t.map((function(e){return o.default(e.style)})),d=y(r,a,i,u,s,c,f,c,f),p=d[0];return{currentStyles:d[1],currentVelocities:d[2],lastIdealStyles:d[3],lastIdealVelocities:d[4],mergedPropsStyles:p}},t.prototype.componentDidMount=function(){this.prevTime=c.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles);var t=e.styles;this.unreadPropStyles=\"function\"==typeof t?t(g(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.lastIdealStyles)):t,null==this.animationID&&(this.prevTime=c.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){this.unmounting=!0,null!=this.animationID&&(f.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=g(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.currentStyles),t=this.props.children(e);return t&&p.default.Children.only(t)},t}(p.default.Component);t.default=v,e.exports=t.default},94846:function(e,t){\"use strict\";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=0);return t},e.exports=t.default},48505:function(e,t){\"use strict\";t.__esModule=!0,t.default=function(e,t,n){for(var r={},a=0;a<e.length;a++)r[e[a].key]=a;var i={};for(a=0;a<t.length;a++)i[t[a].key]=a;var o=[];for(a=0;a<t.length;a++)o[a]=t[a];for(a=0;a<e.length;a++)if(!Object.prototype.hasOwnProperty.call(i,e[a].key)){var l=n(a,e[a]);null!=l&&o.push(l)}return o.sort((function(e,n){var a=i[e.key],o=i[n.key],l=r[e.key],s=r[n.key];if(null!=a&&null!=o)return i[e.key]-i[n.key];if(null!=l&&null!=s)return r[e.key]-r[n.key];if(null!=a){for(var u=0;u<t.length;u++){var c=t[u].key;if(Object.prototype.hasOwnProperty.call(r,c)){if(a<i[c]&&s>r[c])return-1;if(a>i[c]&&s<r[c])return 1}}return 1}for(u=0;u<t.length;u++){c=t[u].key;if(Object.prototype.hasOwnProperty.call(r,c)){if(o<i[c]&&l>r[c])return 1;if(o>i[c]&&l<r[c])return-1}}return-1}))},e.exports=t.default},72392:function(e,t){\"use strict\";t.__esModule=!0,t.default={noWobble:{stiffness:170,damping:26},gentle:{stiffness:120,damping:14},wobbly:{stiffness:180,damping:12},stiff:{stiffness:210,damping:20}},e.exports=t.default},37727:function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e.default:e}var a=n(89144);t.y_=r(a),r(n(26506));var i=n(921);t.bg=r(i);var o=n(20124);t.ST=r(o),r(n(72392)),r(n(79483)),r(n(49566))},49566:function(e,t){\"use strict\";t.__esModule=!0,t.default=function(){0};e.exports=t.default},27739:function(e,t){\"use strict\";t.__esModule=!0,t.default=function(e,t,n){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(0!==n[r])return!1;var a=\"number\"==typeof t[r]?t[r]:t[r].val;if(e[r]!==a)return!1}return!0},e.exports=t.default},20124:function(e,t,n){\"use strict\";t.__esModule=!0;var 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};t.default=function(e,t){return r({},l,t,{val:e})};var a,i=n(72392),o=(a=i)&&a.__esModule?a:{default:a},l=r({},o.default.noWobble,{precision:.01});e.exports=t.default},2835:function(e,t){\"use strict\";t.__esModule=!0,t.default=function(e,t,r,a,i,o,l){var s=r+(-i*(t-a)+-o*r)*e,u=t+s*e;if(Math.abs(s)<l&&Math.abs(u-a)<l)return n[0]=a,n[1]=0,n;return n[0]=u,n[1]=s,n};var n=[0,0];e.exports=t.default},79483:function(e,t){\"use strict\";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=\"number\"==typeof e[n]?e[n]:e[n].val);return t},e.exports=t.default},34246:function(e){(function(){var t,n,r;\"undefined\"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:\"undefined\"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-r)/1e6},n=process.hrtime,r=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})()):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},84922: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},r(e)}t.Z=function(e){var t=function(t){!function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(o,t);var n,r,a=(n=o,r=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=d(n);if(r){var a=d(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return c(this,e)});function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,o),(t=a.call(this,e)).p=Promise.resolve(),t.resizeHandler=null,t.handlers={},t.syncWindowResize=t.syncWindowResize.bind(f(t)),t.syncEventHandlers=t.syncEventHandlers.bind(f(t)),t.attachUpdateEvents=t.attachUpdateEvents.bind(f(t)),t.getRef=t.getRef.bind(f(t)),t.handleUpdate=t.handleUpdate.bind(f(t)),t.figureCallback=t.figureCallback.bind(f(t)),t.updatePlotly=t.updatePlotly.bind(f(t)),t}return function(e,t,n){t&&s(e.prototype,t);n&&s(e,n)}(o,[{key:\"updatePlotly\",value:function(t,n,r){var a=this;this.p=this.p.then((function(){if(!a.unmounting){if(!a.el)throw new Error(\"Missing element reference\");return e.react(a.el,{data:a.props.data,layout:a.props.layout,config:a.props.config,frames:a.props.frames})}})).then((function(){a.unmounting||(a.syncWindowResize(t),a.syncEventHandlers(),a.figureCallback(n),r&&a.attachUpdateEvents())})).catch((function(e){a.props.onError&&a.props.onError(e)}))}},{key:\"componentDidMount\",value:function(){this.unmounting=!1,this.updatePlotly(!0,this.props.onInitialized,!0)}},{key:\"componentDidUpdate\",value:function(e){this.unmounting=!1;var t=e.frames&&e.frames.length?e.frames.length:0,n=this.props.frames&&this.props.frames.length?this.props.frames.length:0,r=!(e.layout===this.props.layout&&e.data===this.props.data&&e.config===this.props.config&&n===t),a=void 0!==e.revision,i=e.revision!==this.props.revision;(r||a&&(!a||i))&&this.updatePlotly(!1,this.props.onUpdate,!1)}},{key:\"componentWillUnmount\",value:function(){this.unmounting=!0,this.figureCallback(this.props.onPurge),this.resizeHandler&&m&&(window.removeEventListener(\"resize\",this.resizeHandler),this.resizeHandler=null),this.removeUpdateEvents(),e.purge(this.el)}},{key:\"attachUpdateEvents\",value:function(){var e=this;this.el&&this.el.removeListener&&h.forEach((function(t){e.el.on(t,e.handleUpdate)}))}},{key:\"removeUpdateEvents\",value:function(){var e=this;this.el&&this.el.removeListener&&h.forEach((function(t){e.el.removeListener(t,e.handleUpdate)}))}},{key:\"handleUpdate\",value:function(){this.figureCallback(this.props.onUpdate)}},{key:\"figureCallback\",value:function(e){if(\"function\"==typeof e){var t=this.el;e({data:t.data,layout:t.layout,frames:this.el._transitionData?this.el._transitionData._frames:null},this.el)}}},{key:\"syncWindowResize\",value:function(t){var n=this;m&&(this.props.useResizeHandler&&!this.resizeHandler?(this.resizeHandler=function(){return e.Plots.resize(n.el)},window.addEventListener(\"resize\",this.resizeHandler),t&&this.resizeHandler()):!this.props.useResizeHandler&&this.resizeHandler&&(window.removeEventListener(\"resize\",this.resizeHandler),this.resizeHandler=null))}},{key:\"getRef\",value:function(e){this.el=e,this.props.debug&&m&&(window.gd=this.el)}},{key:\"syncEventHandlers\",value:function(){var e=this;p.forEach((function(t){var n=e.props[\"on\"+t],r=e.handlers[t],a=Boolean(r);n&&!a?e.addEventHandler(t,n):!n&&a?e.removeEventHandler(t):n&&a&&n!==r&&(e.removeEventHandler(t),e.addEventHandler(t,n))}))}},{key:\"addEventHandler\",value:function(e,t){this.handlers[e]=t,this.el.on(this.getPlotlyEventName(e),this.handlers[e])}},{key:\"removeEventHandler\",value:function(e){this.el.removeListener(this.getPlotlyEventName(e),this.handlers[e]),delete this.handlers[e]}},{key:\"getPlotlyEventName\",value:function(e){return\"plotly_\"+e.toLowerCase()}},{key:\"render\",value:function(){return i.default.createElement(\"div\",{id:this.props.divId,style:this.props.style,ref:this.getRef,className:this.props.className})}}]),o}(i.Component);return t.propTypes={data:o.default.arrayOf(o.default.object),config:o.default.object,layout:o.default.object,frames:o.default.arrayOf(o.default.object),revision:o.default.number,onInitialized:o.default.func,onPurge:o.default.func,onError:o.default.func,onUpdate:o.default.func,debug:o.default.bool,style:o.default.object,className:o.default.string,useResizeHandler:o.default.bool,divId:o.default.string},p.forEach((function(e){t.propTypes[\"on\"+e]=o.default.func})),t.defaultProps={debug:!1,useResizeHandler:!1,data:[],style:{position:\"relative\",display:\"inline-block\"}},t};var a,i=function(e){if(e&&e.__esModule)return e;if(null===e||\"object\"!==r(e)&&\"function\"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=(a=n(45697))&&a.__esModule?a:{default:a};function l(){if(\"function\"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function s(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 u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function c(e,t){return!t||\"object\"!==r(t)&&\"function\"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var p=[\"AfterExport\",\"AfterPlot\",\"Animated\",\"AnimatingFrame\",\"AnimationInterrupted\",\"AutoSize\",\"BeforeExport\",\"BeforeHover\",\"ButtonClicked\",\"Click\",\"ClickAnnotation\",\"Deselect\",\"DoubleClick\",\"Framework\",\"Hover\",\"LegendClick\",\"LegendDoubleClick\",\"Relayout\",\"Relayouting\",\"Restyle\",\"Redraw\",\"Selected\",\"Selecting\",\"SliderChange\",\"SliderEnd\",\"SliderStart\",\"SunburstClick\",\"Transitioning\",\"TransitionInterrupted\",\"Unhover\"],h=[\"plotly_restyle\",\"plotly_redraw\",\"plotly_relayout\",\"plotly_relayouting\",\"plotly_doubleclick\",\"plotly_animated\",\"plotly_sunburstclick\"],m=\"undefined\"!=typeof window},12666:function(e,t,n){\"use strict\";n.d(t,{ZP:function(){return g}});var r=n(63366),a=n(51721),i=(n(45697),n(67294)),o=n(73935),l=!1,s=n(220),u=\"unmounted\",c=\"exited\",f=\"entering\",d=\"entered\",p=\"exiting\",h=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var a,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(a=c,r.appearStatus=f):a=d:a=t.unmountOnExit||t.mountOnEnter?u:c,r.state={status:a},r.nextCallback=null,r}(0,a.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:c}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==d&&(t=f):n!==f&&n!==d||(t=p)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&\"number\"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===f?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,a=this.props.nodeRef?[r]:[o.findDOMNode(this),r],i=a[0],s=a[1],u=this.getTimeouts(),c=r?u.appear:u.enter;!e&&!n||l?this.safeSetState({status:d},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,s),this.safeSetState({status:f},(function(){t.props.onEntering(i,s),t.onTransitionEnd(c,(function(){t.safeSetState({status:d},(function(){t.props.onEntered(i,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:o.findDOMNode(this);t&&!l?(this.props.onExit(r),this.safeSetState({status:p},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:c},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:c},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:o.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=a[0],l=a[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,[\"children\",\"in\",\"mountOnEnter\",\"unmountOnExit\",\"appear\",\"enter\",\"exit\",\"timeout\",\"addEndListener\",\"onEnter\",\"onEntering\",\"onEntered\",\"onExit\",\"onExiting\",\"onExited\",\"nodeRef\"]));return i.createElement(s.Z.Provider,{value:null},\"function\"==typeof n?n(e,a):i.cloneElement(i.Children.only(n),a))},t}(i.Component);function m(){}h.contextType=s.Z,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},h.UNMOUNTED=u,h.EXITED=c,h.ENTERING=f,h.ENTERED=d,h.EXITING=p;var g=h},94537:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return h}});var r=n(63366),a=n(87462),i=n(97326),o=n(51721),l=(n(45697),n(67294)),s=n(220);function u(e,t){var n=Object.create(null);return e&&l.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,l.isValidElement)(e)?t(e):e}(e)})),n}function c(e,t,n){return null!=n[t]?n[t]:e.props[t]}function f(e,t,n){var r=u(e.children),a=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,a=Object.create(null),i=[];for(var o in e)o in t?i.length&&(a[o]=i,i=[]):i.push(o);var l={};for(var s in t){if(a[s])for(r=0;r<a[s].length;r++){var u=a[s][r];l[a[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(a).forEach((function(i){var o=a[i];if((0,l.isValidElement)(o)){var s=i in t,u=i in r,f=t[i],d=(0,l.isValidElement)(f)&&!f.props.in;!u||s&&!d?u||!s||d?u&&s&&(0,l.isValidElement)(f)&&(a[i]=(0,l.cloneElement)(o,{onExited:n.bind(null,o),in:f.props.in,exit:c(o,\"exit\",e),enter:c(o,\"enter\",e)})):a[i]=(0,l.cloneElement)(o,{in:!1}):a[i]=(0,l.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:c(o,\"exit\",e),enter:c(o,\"enter\",e)})}})),a}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},p=function(e){function t(t,n){var r,a=(r=e.call(this,t,n)||this).handleExited.bind((0,i.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},r}(0,o.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,a=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,u(n.children,(function(e){return(0,l.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:c(e,\"appear\",n),enter:c(e,\"enter\",n),exit:c(e,\"exit\",n)})}))):f(e,a,i),firstRender:!1}},n.handleExited=function(e,t){var n=u(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,a.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,a=(0,r.Z)(e,[\"component\",\"childFactory\"]),i=this.state.contextValue,o=d(this.state.children).map(n);return delete a.appear,delete a.enter,delete a.exit,null===t?l.createElement(s.Z.Provider,{value:i},o):l.createElement(s.Z.Provider,{value:i},l.createElement(t,a,o))},t}(l.Component);p.propTypes={},p.defaultProps={component:\"div\",childFactory:function(e){return e}};var h=p},220:function(e,t,n){\"use strict\";var r=n(67294);t.Z=r.createContext(null)},72408:function(e,t,n){\"use strict\";var r=n(27418),a=\"function\"==typeof Symbol&&Symbol.for,i=a?Symbol.for(\"react.element\"):60103,o=a?Symbol.for(\"react.portal\"):60106,l=a?Symbol.for(\"react.fragment\"):60107,s=a?Symbol.for(\"react.strict_mode\"):60108,u=a?Symbol.for(\"react.profiler\"):60114,c=a?Symbol.for(\"react.provider\"):60109,f=a?Symbol.for(\"react.context\"):60110,d=a?Symbol.for(\"react.forward_ref\"):60112,p=a?Symbol.for(\"react.suspense\"):60113,h=a?Symbol.for(\"react.memo\"):60115,m=a?Symbol.for(\"react.lazy\"):60116,g=\"function\"==typeof Symbol&&Symbol.iterator;function y(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 v={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||v}function w(){}function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if(\"object\"!=typeof e&&\"function\"!=typeof e&&null!=e)throw Error(y(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;k.constructor=_,r(k,x.prototype),k.isPureReactComponent=!0;var T={current:null},M=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,a={},o=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(o=\"\"+t.key),t)M.call(t,r)&&!S.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(1===s)a.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===a[r]&&(a[r]=s[r]);return{$$typeof:i,type:e,key:o,ref:l,props:a,_owner:T.current}}function C(e){return\"object\"==typeof e&&null!==e&&e.$$typeof===i}var O=/\\/+/g,A=[];function D(e,t,n,r){if(A.length){var a=A.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=r,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function R(e,t,n,r){var a=typeof e;\"undefined\"!==a&&\"boolean\"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case\"string\":case\"number\":l=!0;break;case\"object\":switch(e.$$typeof){case i:case o:l=!0}}if(l)return n(r,e,\"\"===t?\".\"+I(e,0):t),1;if(l=0,t=\"\"===t?\".\":t+\":\",Array.isArray(e))for(var s=0;s<e.length;s++){var u=t+I(a=e[s],s);l+=R(a,u,n,r)}else if(null===e||\"object\"!=typeof e?u=null:u=\"function\"==typeof(u=g&&e[g]||e[\"@@iterator\"])?u:null,\"function\"==typeof u)for(e=u.call(e),s=0;!(a=e.next()).done;)l+=R(a=a.value,u=t+I(a,s++),n,r);else if(\"object\"===a)throw n=\"\"+e,Error(y(31,\"[object Object]\"===n?\"object with keys {\"+Object.keys(e).join(\", \")+\"}\":n,\"\"));return l}function L(e,t,n){return null==e?0:R(e,\"\",t,n)}function I(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 j(e,t){e.func.call(e.context,t,e.count++)}function N(e,t,n){var r=e.result,a=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?z(e,r,n,(function(e){return e})):null!=e&&(C(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,a+(!e.key||t&&t.key===e.key?\"\":(\"\"+e.key).replace(O,\"$&/\")+\"/\")+n)),r.push(e))}function z(e,t,n,r,a){var i=\"\";null!=n&&(i=(\"\"+n).replace(O,\"$&/\")+\"/\"),L(e,N,t=D(t,i,r,a)),P(t)}var F={current:null};function Z(){var e=F.current;if(null===e)throw Error(y(321));return e}var B={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return z(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;L(e,j,t=D(null,null,t,n)),P(t)},count:function(e){return L(e,(function(){return null}),null)},toArray:function(e){var t=[];return z(e,t,null,(function(e){return e})),t},only:function(e){if(!C(e))throw Error(y(143));return e}},t.Component=x,t.Fragment=l,t.Profiler=u,t.PureComponent=_,t.StrictMode=s,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,n){if(null==e)throw Error(y(267,e));var a=r({},e.props),o=e.key,l=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,s=T.current),void 0!==t.key&&(o=\"\"+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)M.call(t,c)&&!S.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){u=Array(c);for(var f=0;f<c;f++)u[f]=arguments[f+2];a.children=u}return{$$typeof:i,type:e.type,key:o,ref:l,props:a,_owner:s}},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=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return Z().useCallback(e,t)},t.useContext=function(e,t){return Z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return Z().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return Z().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return Z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return Z().useMemo(e,t)},t.useReducer=function(e,t,n){return Z().useReducer(e,t,n)},t.useRef=function(e){return Z().useRef(e)},t.useState=function(e){return Z().useState(e)},t.version=\"16.14.0\"},67294:function(e,t,n){\"use strict\";e.exports=n(72408)},98808:function(e,t){\"use strict\";t.Z=void 0;var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}),(function(e){return e}))};t.Z=n},63082:function(e,t,n){\"use strict\";var r=n(95318);t.Z=void 0;var a=n(67294),i=(r(n(12895)),r(n(66626)),function(e){return function(t){var n=(0,a.createFactory)(t),r=function(e){return n(e)};return r.defaultProps=e,r}});t.Z=i},61566:function(e,t){\"use strict\";t.__esModule=!0,t.default=void 0;var n=function(e){return\"string\"==typeof e?e:e?e.displayName||e.name||\"Component\":void 0};t.default=n},84132:function(e,t,n){\"use strict\";var r=n(95318);t.__esModule=!0,t.default=void 0;var a=n(67294),i=(r(n(12895)),r(n(66626)),function(e){return function(t){var n=(0,a.createFactory)(t);return function(t){return n(e(t))}}});t.default=i},46949:function(e,t,n){\"use strict\";var r=n(95318);t.Z=void 0;var a=r(n(86823)),i=r(n(86048)),o=(r(n(12895)),r(n(66626)),function(e){return(0,a.default)((function(e,t){return!(0,i.default)(e,t)}))(e)});t.Z=o},12895:function(e,t,n){\"use strict\";var r=n(95318);t.__esModule=!0,t.default=void 0;var a=r(n(71970)),i=function(e){return(0,a.default)(\"displayName\",e)};t.default=i},20491:function(e,t,n){\"use strict\";var r=n(95318);t.Z=void 0;var a=r(n(71970)),i=function(e){return(0,a.default)(\"propTypes\",e)};t.Z=i},71970:function(e,t){\"use strict\";t.__esModule=!0,t.default=void 0;var n=function(e,t){return function(n){return n[e]=t,n}};t.default=n},86048:function(e,t,n){\"use strict\";var r=n(95318);t.__esModule=!0,t.default=void 0;var a=r(n(19303)).default;t.default=a},86823:function(e,t,n){\"use strict\";var r=n(95318);t.__esModule=!0,t.default=void 0;var a=r(n(85354)),i=n(67294),o=(r(n(12895)),r(n(66626)),function(e){return function(t){var n=(0,i.createFactory)(t),r=function(t){function r(){return t.apply(this,arguments)||this}(0,a.default)(r,t);var i=r.prototype;return i.shouldComponentUpdate=function(t){return e(this.props,t)},i.render=function(){return n(this.props)},r}(i.Component);return r}});t.default=o},58637:function(e,t){\"use strict\";t.__esModule=!0,t.default=void 0;var n=function(e,t){for(var n={},r=0;r<t.length;r++){var a=t[r];e.hasOwnProperty(a)&&(n[a]=e[a])}return n};t.default=n},97544:function(e,t,n){\"use strict\";var r=n(95318);var a=r(n(67154)),i=(r(n(66626)),r(n(12895)),r(n(84132)))},53538:function(e,t,n){\"use strict\";var r=n(95318);t.Z=void 0;var a=r(n(67154)),i=r(n(85354)),o=n(67294),l=n(46871),s=r(n(58637)),u=r(n(86048)),c=(r(n(12895)),r(n(66626)),function(e,t){return function(n){var r=(0,o.createFactory)(n),c=\"function\"==typeof e?e:function(t,n){return!(0,u.default)((0,s.default)(t,e),(0,s.default)(n,e))},f=function(e){function n(){for(var n,r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=e.call.apply(e,[this].concat(a))||this).state={computedProps:t(n.props),prevProps:n.props},n}return(0,i.default)(n,e),n.getDerivedStateFromProps=function(e,n){return c(n.prevProps,e)?{computedProps:t(e),prevProps:e}:{prevProps:e}},n.prototype.render=function(){return r((0,a.default)({},this.props,this.state.computedProps))},n}(o.Component);return(0,l.polyfill)(f),f}});t.Z=c},66626:function(e,t,n){\"use strict\";var r=n(95318);t.__esModule=!0,t.default=void 0;var a=r(n(61566)),i=function(e,t){return t+\"(\"+(0,a.default)(e)+\")\"};t.default=i},60053:function(e,t){\"use strict\";var n,r,a,i,o;if(\"undefined\"==typeof window||\"function\"!=typeof MessageChannel){var l=null,s=null,u=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(u,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==l?setTimeout(n,0,e):(l=e,setTimeout(u,0))},r=function(e,t){s=setTimeout(e,t)},a=function(){clearTimeout(s)},i=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,d=window.Date,p=window.setTimeout,h=window.clearTimeout;if(\"undefined\"!=typeof console){var m=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 m&&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 f&&\"function\"==typeof f.now)t.unstable_now=function(){return f.now()};else{var g=d.now();t.unstable_now=function(){return d.now()-g}}var y=!1,v=null,b=-1,x=5,w=0;i=function(){return t.unstable_now()>=w},o=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\"):x=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,k=_.port2;_.port1.onmessage=function(){if(null!==v){var e=t.unstable_now();w=e+x;try{v(!0,e)?k.postMessage(null):(y=!1,v=null)}catch(e){throw k.postMessage(null),e}}else y=!1},n=function(e){v=e,y||(y=!0,k.postMessage(null))},r=function(e,n){b=p((function(){e(t.unstable_now())}),n)},a=function(){h(b),b=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<E(a,t)))break e;e[r]=t,e[n]=a,n=r}}function M(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var i=2*(r+1)-1,o=e[i],l=i+1,s=e[l];if(void 0!==o&&0>E(o,n))void 0!==s&&0>E(s,o)?(e[r]=s,e[l]=n,r=l):(e[r]=o,e[i]=n,r=i);else{if(!(void 0!==s&&0>E(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function E(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],O=[],A=1,D=null,P=3,R=!1,L=!1,I=!1;function j(e){for(var t=M(O);null!==t;){if(null===t.callback)S(O);else{if(!(t.startTime<=e))break;S(O),t.sortIndex=t.expirationTime,T(C,t)}t=M(O)}}function N(e){if(I=!1,j(e),!L)if(null!==M(C))L=!0,n(z);else{var t=M(O);null!==t&&r(N,t.startTime-e)}}function z(e,n){L=!1,I&&(I=!1,a()),R=!0;var o=P;try{for(j(n),D=M(C);null!==D&&(!(D.expirationTime>n)||e&&!i());){var l=D.callback;if(null!==l){D.callback=null,P=D.priorityLevel;var s=l(D.expirationTime<=n);n=t.unstable_now(),\"function\"==typeof s?D.callback=s:D===M(C)&&S(C),j(n)}else S(C);D=M(C)}if(null!==D)var u=!0;else{var c=M(O);null!==c&&r(N,c.startTime-n),u=!1}return u}finally{D=null,P=o,R=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var Z=o;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(){L||R||(L=!0,n(z))},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_getFirstCallbackNode=function(){return M(C)},t.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var n=P;P=t;try{return e()}finally{P=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=Z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=P;P=e;try{return t()}finally{P=n}},t.unstable_scheduleCallback=function(e,i,o){var l=t.unstable_now();if(\"object\"==typeof o&&null!==o){var s=o.delay;s=\"number\"==typeof s&&0<s?l+s:l,o=\"number\"==typeof o.timeout?o.timeout:F(e)}else o=F(e),s=l;return e={id:A++,callback:i,priorityLevel:e,startTime:s,expirationTime:o=s+o,sortIndex:-1},s>l?(e.sortIndex=s,T(O,e),null===M(C)&&e===M(O)&&(I?a():I=!0,r(N,s-l))):(e.sortIndex=o,T(C,e),L||R||(L=!0,n(z))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();j(e);var n=M(C);return n!==D&&null!==D&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<D.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}}},63840:function(e,t,n){\"use strict\";e.exports=n(60053)},57848:function(e,t,n){var r=n(18139);e.exports=function(e,t){var n,a=null;if(!e||\"string\"!=typeof e)return a;for(var i,o,l=r(e),s=\"function\"==typeof t,u=0,c=l.length;u<c;u++)i=(n=l[u]).property,o=n.value,s?t(i,o,n):o&&(a||(a={}),a[i]=o);return a}},73469:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&\"function\"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},55877:function(e,t,n){var r=n(23570),a=n(71171),i=a;i.v1=r,i.v4=a,e.exports=i},45327:function(e){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,a=t;return[a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],\"-\",a[e[r++]],a[e[r++]],\"-\",a[e[r++]],a[e[r++]],\"-\",a[e[r++]],a[e[r++]],\"-\",a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]],a[e[r++]]].join(\"\")}},85217:function(e){var t=\"undefined\"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||\"undefined\"!=typeof msCrypto&&\"function\"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},23570:function(e,t,n){var r,a,i=n(85217),o=n(45327),l=0,s=0;e.exports=function(e,t,n){var u=t&&n||0,c=t||[],f=(e=e||{}).node||r,d=void 0!==e.clockseq?e.clockseq:a;if(null==f||null==d){var p=i();null==f&&(f=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==d&&(d=a=16383&(p[6]<<8|p[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:s+1,g=h-l+(m-s)/1e4;if(g<0&&void 0===e.clockseq&&(d=d+1&16383),(g<0||h>l)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");l=h,s=m,a=d;var y=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;c[u++]=y>>>24&255,c[u++]=y>>>16&255,c[u++]=y>>>8&255,c[u++]=255&y;var v=h/4294967296*1e4&268435455;c[u++]=v>>>8&255,c[u++]=255&v,c[u++]=v>>>24&15|16,c[u++]=v>>>16&255,c[u++]=d>>>8|128,c[u++]=255&d;for(var b=0;b<6;++b)c[u+b]=f[b];return t||o(c)}},71171:function(e,t,n){var r=n(85217),a=n(45327);e.exports=function(e,t,n){var i=t&&n||0;\"string\"==typeof e&&(t=\"binary\"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||r)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var l=0;l<16;++l)t[i+l]=o[l];return t||a(o)}},70529:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&\"function\"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},30907: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,{Z:function(){return r}})},97326:function(e,t,n){\"use strict\";function r(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}n.d(t,{Z:function(){return r}})},15671: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,{Z:function(){return r}})},43144: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 a(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,{Z:function(){return a}})},4942: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,{Z:function(){return r}})},87462: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},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},51721:function(e,t,n){\"use strict\";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return a}})},45987:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(63366);function a(e,t){if(null==e)return{};var n,a,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},63366:function(e,t,n){\"use strict\";function r(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:function(){return r}})},70885:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(40181);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:\"undefined\"!=typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||(0,r.Z)(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.\")}()}},42982:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return i}});var r=n(30907);var a=n(40181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if(\"undefined\"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}(e)||(0,a.Z)(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.\")}()}},71002: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},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){\"use strict\";n.d(t,{Z:function(){return a}});var r=n(30907);function a(e,t){if(e){if(\"string\"==typeof e)return(0,r.Z)(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(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(e){if(\"object\"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){\"use strict\";var e={};n.r(e),n.d(e,{attentionMarkers:function(){return FT},contentInitial:function(){return RT},disable:function(){return ZT},document:function(){return PT},flow:function(){return IT},flowInitial:function(){return LT},insideSpan:function(){return zT},string:function(){return jT},text:function(){return NT}});var t={};n.r(t),n.d(t,{boolean:function(){return LM},booleanish:function(){return IM},commaOrSpaceSeparated:function(){return ZM},commaSeparated:function(){return FM},number:function(){return NM},overloadedBoolean:function(){return jM},spaceSeparated:function(){return zM}});var r=n(67294),a=n(73935),i=function(){function e(){}return e.prototype.getAdditionalGraphData=function(e,t,n){return Promise.reject(\"not implemented\")},e.prototype.getAdditionalWidgetData=function(e,t,n){return Promise.reject(\"not implemented\")},e.prototype.getDashboard=function(e,t){return Promise.reject(\"not implemented\")},e.prototype.getProjects=function(){return Promise.reject(\"not implemented\")},e.prototype.getProjectDashboard=function(e){return Promise.reject(\"not implemented\")},e.prototype.getReports=function(e){return Promise.reject(\"not implemented\")},e}(),o=r.createContext({Api:new i}),l=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?a(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(o,l)}s((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},\"function\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError(\"Generator is already executing.\");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},u=function(){function e(e){this.inner=e,this.cachedGraphs=new Map,this.cachedWidgets=new Map}return e.prototype.getAdditionGraphData=function(e){return l(this,void 0,void 0,(function(){var t;return s(this,(function(n){switch(n.label){case 0:return void 0!==(t=this.cachedGraphs.get(e))?[2,t]:[4,this.inner.getAdditionGraphData(e)];case 1:return t=n.sent(),this.cachedGraphs.set(e,t),[2,t]}}))}))},e.prototype.getAdditionWidgetData=function(e){return l(this,void 0,void 0,(function(){var t;return s(this,(function(n){switch(n.label){case 0:return void 0!==(t=this.cachedWidgets.get(e))?[2,t]:[4,this.inner.getAdditionWidgetData(e)];case 1:return t=n.sent(),this.cachedWidgets.set(e,t),[2,t]}}))}))},e}();var c,f=r.createContext({getAdditionGraphData:function(e){return new Promise((function(e,t){return t(\"default context doesn't contain methods to get data\")}))},getAdditionWidgetData:function(e){return new Promise((function(e,t){return t(\"default context doesn't contain methods to get data\")}))}}),d=n(75222),p=n(85680),h=n(99424),m=n(50962),g=n(23633),y=n(46427),v=n(43939),b=n(5164),x=n(70958),w=n(86801),_=n(38681),k=n(29560),T=n(11476),M=(0,d.Z)((0,p.Z)(h.ZP,m.ZP,g.ZP,y.ZP,v.ZP,b.ZP,x.Z,w.ZP,_.Z,k.ZP)),S=(0,T.Z)(\"div\")(M,{name:\"MuiBox\"}),E=n(95477);!function(e){e[e.Initialized=0]=\"Initialized\",e[e.Loading=1]=\"Loading\",e[e.Loaded=2]=\"Loaded\",e[e.Failed=3]=\"Failed\"}(c||(c={}));var C,O=function(e){var t=(0,r.useState)((function(){return{status:c.Initialized}})),n=t[0],a=t[1];return n.status===c.Initialized&&(a((function(e){return{status:c.Loading}})),e.func().then((function(e){return a((function(t){return{status:c.Loaded,result:e}}))}))),r.createElement(r.Fragment,null,n.status===c.Loaded?e.children?e.children(n.result):r.createElement(\"div\",null):r.createElement(S,{textAlign:\"center\"},r.createElement(E.Z,null)))};!function(e){e[e.Small=0]=\"Small\",e[e.Medium=1]=\"Medium\",e[e.Big=2]=\"Big\"}(C||(C={}));var A=n(41749),D=n(87462),P=n(45987),R=n(45697),L=n.n(R),I=n(86010),j=n(79895),N=n(52543),z=r.forwardRef((function(e,t){var n=e.classes,a=e.className,i=e.raised,o=void 0!==i&&i,l=(0,P.Z)(e,[\"classes\",\"className\",\"raised\"]);return r.createElement(j.Z,(0,D.Z)({className:(0,I.Z)(n.root,a),elevation:o?8:1,ref:t},l))})),F=(0,N.Z)({root:{overflow:\"hidden\"}},{name:\"MuiCard\"})(z),Z=r.forwardRef((function(e,t){var n=e.classes,a=e.className,i=e.component,o=void 0===i?\"div\":i,l=(0,P.Z)(e,[\"classes\",\"className\",\"component\"]);return r.createElement(o,(0,D.Z)({className:(0,I.Z)(n.root,a),ref:t},l))})),B=(0,N.Z)({root:{padding:16,\"&:last-child\":{paddingBottom:24}}},{name:\"MuiCardContent\"})(Z),q=n(22318),H=n(52387),U=n(35117),W=n(59693);function V(e){return\"light\"===e.palette.type?W.$n:W._j}function Y(e){return\"light\"===e.palette.type?W._j:W.$n}function G(e,t){switch(e){case\"success\":return t.classes.success;case\"info\":return t.classes.info;case\"warning\":return t.classes.warning;case\"error\":return t.classes.error}}var $=(0,N.Z)((function(e){return(0,U.Z)({metric:{},metricText:{},text:{fontSize:e.typography.fontSize+5},info:{color:Y(e)(e.palette.info.main,.6),backgroundColor:V(e)(e.palette.info.main,.9)},success:{color:Y(e)(e.palette.success.main,.6),backgroundColor:V(e)(e.palette.success.main,.9)},warning:{color:Y(e)(e.palette.warning.main,.6),backgroundColor:V(e)(e.palette.warning.main,.9)},error:{color:Y(e)(e.palette.error.main,.6),backgroundColor:V(e)(e.palette.error.main,.9)},popup:{padding:e.spacing(1)}})}))((function(e){var t,n,a=(0,r.useState)({open:!1}),i=a[0],o=a[1];return r.createElement(j.Z,{elevation:0,onClick:function(e){return o((function(t){return{open:!t.open,anchorEl:e.currentTarget}}))},className:G(null!==(t=e.data.state)&&void 0!==t?t:\"info\",e)},r.createElement(q.Z,{align:\"center\",variant:\"h6\",component:\"div\",className:e.classes.metric},e.data.value),r.createElement(q.Z,{align:\"center\",variant:\"body1\",component:\"div\",className:e.classes.metricText},e.data.text),r.createElement(H.ZP,{open:i.open,anchorEl:i.anchorEl,anchorOrigin:{horizontal:\"left\",vertical:\"bottom\"}},null!==(n=e.customPopup)&&void 0!==n?n:r.createElement(q.Z,{className:e.classes.popup},e.data.longText)))})),X=n(63786),K=(0,X.Z)(r.createElement(\"path\",{d:\"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z\"}),\"SuccessOutlined\"),J=(0,X.Z)(r.createElement(\"path\",{d:\"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z\"}),\"ReportProblemOutlined\"),Q=(0,X.Z)(r.createElement(\"path\",{d:\"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"}),\"ErrorOutline\"),ee=(0,X.Z)(r.createElement(\"path\",{d:\"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z\"}),\"InfoOutlined\"),te=(0,X.Z)(r.createElement(\"path\",{d:\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"}),\"Close\"),ne=n(17812),re=n(93871),ae={success:r.createElement(K,{fontSize:\"inherit\"}),warning:r.createElement(J,{fontSize:\"inherit\"}),error:r.createElement(Q,{fontSize:\"inherit\"}),info:r.createElement(ee,{fontSize:\"inherit\"})},ie=r.createElement(te,{fontSize:\"small\"}),oe=r.forwardRef((function(e,t){var n=e.action,a=e.children,i=e.classes,o=e.className,l=e.closeText,s=void 0===l?\"Close\":l,u=e.color,c=e.icon,f=e.iconMapping,d=void 0===f?ae:f,p=e.onClose,h=e.role,m=void 0===h?\"alert\":h,g=e.severity,y=void 0===g?\"success\":g,v=e.variant,b=void 0===v?\"standard\":v,x=(0,P.Z)(e,[\"action\",\"children\",\"classes\",\"className\",\"closeText\",\"color\",\"icon\",\"iconMapping\",\"onClose\",\"role\",\"severity\",\"variant\"]);return r.createElement(j.Z,(0,D.Z)({role:m,square:!0,elevation:0,className:(0,I.Z)(i.root,i[\"\".concat(b).concat((0,re.Z)(u||y))],o),ref:t},x),!1!==c?r.createElement(\"div\",{className:i.icon},c||d[y]||ae[y]):null,r.createElement(\"div\",{className:i.message},a),null!=n?r.createElement(\"div\",{className:i.action},n):null,null==n&&p?r.createElement(\"div\",{className:i.action},r.createElement(ne.Z,{size:\"small\",\"aria-label\":s,title:s,color:\"inherit\",onClick:p},ie)):null)})),le=(0,N.Z)((function(e){var t=\"light\"===e.palette.type?W._j:W.$n,n=\"light\"===e.palette.type?W.$n:W._j;return{root:(0,D.Z)({},e.typography.body2,{borderRadius:e.shape.borderRadius,backgroundColor:\"transparent\",display:\"flex\",padding:\"6px 16px\"}),standardSuccess:{color:t(e.palette.success.main,.6),backgroundColor:n(e.palette.success.main,.9),\"& $icon\":{color:e.palette.success.main}},standardInfo:{color:t(e.palette.info.main,.6),backgroundColor:n(e.palette.info.main,.9),\"& $icon\":{color:e.palette.info.main}},standardWarning:{color:t(e.palette.warning.main,.6),backgroundColor:n(e.palette.warning.main,.9),\"& $icon\":{color:e.palette.warning.main}},standardError:{color:t(e.palette.error.main,.6),backgroundColor:n(e.palette.error.main,.9),\"& $icon\":{color:e.palette.error.main}},outlinedSuccess:{color:t(e.palette.success.main,.6),border:\"1px solid \".concat(e.palette.success.main),\"& $icon\":{color:e.palette.success.main}},outlinedInfo:{color:t(e.palette.info.main,.6),border:\"1px solid \".concat(e.palette.info.main),\"& $icon\":{color:e.palette.info.main}},outlinedWarning:{color:t(e.palette.warning.main,.6),border:\"1px solid \".concat(e.palette.warning.main),\"& $icon\":{color:e.palette.warning.main}},outlinedError:{color:t(e.palette.error.main,.6),border:\"1px solid \".concat(e.palette.error.main),\"& $icon\":{color:e.palette.error.main}},filledSuccess:{color:\"#fff\",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.success.main},filledInfo:{color:\"#fff\",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.info.main},filledWarning:{color:\"#fff\",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.warning.main},filledError:{color:\"#fff\",fontWeight:e.typography.fontWeightMedium,backgroundColor:e.palette.error.main},icon:{marginRight:12,padding:\"7px 0\",display:\"flex\",fontSize:22,opacity:.9},message:{padding:\"8px 0\"},action:{display:\"flex\",alignItems:\"center\",marginLeft:\"auto\",paddingLeft:16,marginRight:-8}}}),{name:\"MuiAlert\"})(oe),se=r.forwardRef((function(e,t){var n=e.classes,a=e.className,i=(0,P.Z)(e,[\"classes\",\"className\"]);return r.createElement(q.Z,(0,D.Z)({gutterBottom:!0,component:\"div\",ref:t,className:(0,I.Z)(n.root,a)},i))})),ue=(0,N.Z)((function(e){return{root:{fontWeight:e.typography.fontWeightMedium,marginTop:-2}}}),{name:\"MuiAlertTitle\"})(se),ce=(0,N.Z)((function(e){return(0,U.Z)({})}))((function(e){return r.createElement(le,{severity:e.data.severity},r.createElement(ue,null,e.data.title),e.data.text)})),fe=(0,n(41120).Z)((function(e){return{customPopup:{paddingRight:e.spacing(1)}}})),de=function(e){var t=e.alertStats,n=fe();return r.createElement($,{data:{value:\"\"+t.triggered.last_24h,state:\"info\",text:\"alerts in the last 24 hours\",longText:\"alerts triggered in the period / alerts triggered in 24 hours / alerts active \"},customPopup:r.createElement(q.Z,{className:n.customPopup},r.createElement(\"ul\",null,r.createElement(\"li\",null,t.triggered.period,\" alerts triggered in the period\"),r.createElement(\"li\",null,t.triggered.last_24h,\" alerts triggered in 24 hours\"),r.createElement(\"li\",null,t.active,\" total active alerts\")))})},pe=function(){return pe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},pe.apply(this,arguments)};var he,me=function(e){var t,n=e.size,a=(e.alertPosition,null!==(t=e.children.alertsPosition)&&void 0!==t?t:\"row\"),i=e.children,o=i.title,l=i.details,s=i.content,u=i.alerts,c=i.alertStats,f=i.insights,d=void 0!==u&&u.length>0,p=void 0!==f&&f.length>0;return r.createElement(A.Z,pe({item:!0},function(e){return 12===e?{xs:12,sm:12,md:12,lg:12}:6===e?{xs:12,sm:12,md:6,lg:6}:3===e?{xs:12,sm:6,md:3,lg:3}:{xs:6,sm:3,md:1,lg:1}}(n)),r.createElement(F,{square:!0,elevation:2},r.createElement(B,null,r.createElement(A.Z,{container:!0,spacing:1,direction:\"column\"},\"row\"===a?r.createElement(A.Z,{container:!0,spacing:1,item:!0},r.createElement(A.Z,{item:!0,xs:d&&\"row\"===a?9:12},o?r.createElement(q.Z,{variant:\"h5\"},o):r.createElement(\"div\",null),r.createElement(\"div\",null,s),l?r.createElement(q.Z,{variant:\"subtitle1\"},l):r.createElement(\"div\",null)),d?r.createElement(A.Z,{container:!0,spacing:1,direction:\"column\",justifyContent:\"center\",item:!0,xs:3},u?r.createElement(r.Fragment,null,c?r.createElement(A.Z,{item:!0},r.createElement(de,{alertStats:c})):r.createElement(\"div\",null),u.map((function(e){return r.createElement(A.Z,{item:!0},r.createElement($,{data:e}))}))):r.createElement(\"div\",null)):r.createElement(\"div\",null)):r.createElement(r.Fragment,null,r.createElement(A.Z,{item:!0},o?r.createElement(q.Z,{variant:\"h5\"},o):r.createElement(\"div\",null),r.createElement(\"div\",null,s),l?r.createElement(q.Z,{variant:\"subtitle1\"},l):r.createElement(\"div\",null)),d?r.createElement(A.Z,{item:!0,xs:!0},r.createElement(A.Z,{container:!0,direction:\"row\",spacing:1},u?r.createElement(r.Fragment,null,c?r.createElement(A.Z,{item:!0,xs:!0},r.createElement(de,{alertStats:c})):r.createElement(\"div\",null),u.map((function(e){return r.createElement(A.Z,{item:!0,xs:!0},r.createElement($,{data:e}))}))):r.createElement(\"div\",null))):r.createElement(\"div\",null)),p?f.map((function(e){return r.createElement(A.Z,{item:!0,xs:!0,sm:!0,md:!0},r.createElement(ce,{data:e}))})):r.createElement(\"div\",null)))))},ge=function(){return ge=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ge.apply(this,arguments)},ye=function(e){return r.createElement(\"div\",null,r.createElement(q.Z,{className:e.classes.value},e.value),r.createElement(q.Z,{className:e.classes.label},e.label))},ve=(0,N.Z)((function(e){return(0,U.Z)({base:{height:\"100%\"},value:{fontSize:36,textAlign:\"center\"},label:{fontSize:24,textAlign:\"center\"}})}))((function(e){return r.createElement(r.Fragment,null,1===e.counters.length?r.createElement(ye,ge({},e.counters[0],{classes:e.classes})):r.createElement(A.Z,{container:!0,spacing:1,direction:\"row\",alignItems:\"center\"},e.counters.map((function(t,n){return r.createElement(A.Z,{item:!0,xs:!0,key:n,component:S,className:e.classes.base},r.createElement(j.Z,null,r.createElement(ye,ge({classes:e.classes},t))))}))))})),be=n(33681),xe=function(e){var t;return r.createElement(\"div\",null,r.createElement(S,{display:\"flex\",alignItems:\"center\"},r.createElement(S,{width:\"100%\",mr:1},r.createElement(be.Z,{variant:\"determinate\",value:e.value/e.maxValue*100})),r.createElement(S,{minWidth:35},r.createElement(q.Z,{variant:\"body2\",color:\"textSecondary\"},Math.round(e.value/e.maxValue*100)+\"%\"))),r.createElement(S,{width:\"100%\"},r.createElement(q.Z,{variant:\"body2\",color:\"textSecondary\"},null!==(t=e.details)&&void 0!==t?t:\"\")))},we=n(68548),_e=n.n(we),ke=(0,n(84922).Z)(_e()),Te=function(){return Te=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Te.apply(this,arguments)},Me=function(e){return r.createElement(\"div\",null,r.createElement(ke,{data:e.data,layout:Te(Te({},e.layout),{title:void 0}),config:{responsive:!0},style:{width:\"100%\",minHeight:300+100*(1+e.widgetSize/2),maxHeight:400}}))},Se=(he=function(e,t){return he=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},he(e,t)},function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Class extends value \"+String(t)+\" is not a constructor or null\");function n(){this.constructor=e}he(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Se(t,e),t.prototype.render=function(){return r.createElement(A.Z,{container:!0,alignItems:\"stretch\",spacing:1,direction:\"row\",className:this.props.classes.base},this.props.children)},t}(r.Component),Ce=(0,N.Z)((function(e){return(0,U.Z)({base:{marginTop:e.spacing(1)}})}))(Ee),Oe=function(e){return r.createElement(\"div\",null,\"Not implemented\")},Ae=n(41423),De=n(14096),Pe=(0,N.Z)((function(e){return(0,U.Z)({iconTab:{display:\"flex\"},activeTab:{backgroundColor:e.palette.grey[100]},background:{backgroundColor:e.palette.grey[100],padding:e.spacing(1)},tab:{}})}))((function(e){var t=-1===e.activeTab?0:e.activeTab;return r.createElement(\"div\",null,r.createElement(De.Z,{value:t,onChange:e.onNewTabSelected,indicatorColor:\"primary\",textColor:\"primary\"},e.tabs.map((function(t,n){var a;return r.createElement(Ae.Z,{disabled:null!==(a=t.disabled)&&void 0!==a&&a,key:n,label:r.createElement(\"div\",{className:e.tabStyle},r.createElement(\"div\",{className:e.classes.iconTab},r.createElement(\"span\",null,t.icon),t.title))})}))),r.createElement(S,null,e.tabs.map((function(t,n){return r.createElement(\"div\",{key:n,hidden:(-1===e.activeTab?0:e.activeTab)!==n},(-1===e.activeTab?0:e.activeTab)!==n?r.createElement(\"div\",null):t.tab)}))))})),Re=function(){return Re=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Re.apply(this,arguments)},Le=function(e){var t=(0,r.useState)({activeTab:0}),n=t[0],a=t[1];return r.createElement(r.Fragment,null,r.createElement(Pe,{activeTab:n.activeTab,onNewTabSelected:function(e,t){return a((function(e){return Re(Re({},e),{activeTab:t})}))},tabs:e.tabs}))},Ie=function(e){return r.createElement(Le,{tabs:e.graphs.map((function(t){return{title:t.title,tab:r.createElement(Me,{widgetSize:e.widgetSize,data:t.graph.data,layout:t.graph.layout})}}))})},je=n(82302),Ne=n(99613),ze=n(88222),Fe=r.forwardRef((function(e,t){var n=e.classes,a=e.className,i=e.component,o=void 0===i?\"div\":i,l=(0,P.Z)(e,[\"classes\",\"className\",\"component\"]);return r.createElement(o,(0,D.Z)({ref:t,className:(0,I.Z)(n.root,a)},l))})),Ze=(0,N.Z)({root:{width:\"100%\",overflowX:\"auto\"}},{name:\"MuiTableContainer\"})(Fe),Be=n(83750),qe=n(57394),He=(0,N.Z)((function(e){return(0,U.Z)({table:{minWidth:650}})}))((function(e){return r.createElement(Ze,{component:j.Z},r.createElement(je.Z,{className:e.classes.table,size:\"small\",\"aria-label\":\"a dense table\"},r.createElement(Be.Z,null,r.createElement(qe.Z,null,r.createElement(ze.Z,{key:-1},e.header[0]),e.header.slice(1).map((function(e,t){return r.createElement(ze.Z,{key:t,align:\"right\"},e)})))),r.createElement(Ne.Z,null,e.data.map((function(e){return r.createElement(qe.Z,{key:e[0]},r.createElement(ze.Z,{key:-1,component:\"th\",scope:\"row\"},e[0]),e.slice(1).map((function(e,t){return r.createElement(ze.Z,{key:t,align:\"right\"},e)})))})))))})),Ue=n(21727),We=n(44345),Ve=function(){return Ve=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Ve.apply(this,arguments)},Ye=function(e){return r.createElement(f.Consumer,null,(function(t){return r.createElement(O,{func:function(){return t.getAdditionGraphData(e.graphId)}},(function(t){return r.createElement(Me,Ve({},t,{widgetSize:e.widgetSize}))}))}))},Ge=n(63366),$e=n(51721),Xe=function(){if(\"undefined\"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,\"size\",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}()}(),Ke=\"undefined\"!=typeof window&&\"undefined\"!=typeof document&&window.document===document,Je=void 0!==n.g&&n.g.Math===Math?n.g:\"undefined\"!=typeof self&&self.Math===Math?self:\"undefined\"!=typeof window&&window.Math===Math?window:Function(\"return this\")(),Qe=\"function\"==typeof requestAnimationFrame?requestAnimationFrame.bind(Je):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var et=[\"top\",\"right\",\"bottom\",\"left\",\"width\",\"height\",\"size\",\"weight\"],tt=\"undefined\"!=typeof MutationObserver,nt=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&l()}function o(){Qe(i)}function l(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(o,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){Ke&&!this.connected_&&(document.addEventListener(\"transitionend\",this.onTransitionEnd_),window.addEventListener(\"resize\",this.refresh),tt?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener(\"DOMSubtreeModified\",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){Ke&&this.connected_&&(document.removeEventListener(\"transitionend\",this.onTransitionEnd_),window.removeEventListener(\"resize\",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener(\"DOMSubtreeModified\",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?\"\":t;et.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),rt=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},at=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Je},it=ft(0,0,0,0);function ot(e){return parseFloat(e)||0}function lt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+ot(e[\"border-\"+n+\"-width\"])}),0)}function st(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return it;var r=at(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=[\"top\",\"right\",\"bottom\",\"left\"];n<r.length;n++){var a=r[n],i=e[\"padding-\"+a];t[a]=ot(i)}return t}(r),i=a.left+a.right,o=a.top+a.bottom,l=ot(r.width),s=ot(r.height);if(\"border-box\"===r.boxSizing&&(Math.round(l+i)!==t&&(l-=lt(r,\"left\",\"right\")+i),Math.round(s+o)!==n&&(s-=lt(r,\"top\",\"bottom\")+o)),!function(e){return e===at(e).document.documentElement}(e)){var u=Math.round(l+i)-t,c=Math.round(s+o)-n;1!==Math.abs(u)&&(l-=u),1!==Math.abs(c)&&(s-=c)}return ft(a.left,a.top,l,s)}var ut=\"undefined\"!=typeof SVGGraphicsElement?function(e){return e instanceof at(e).SVGGraphicsElement}:function(e){return e instanceof at(e).SVGElement&&\"function\"==typeof e.getBBox};function ct(e){return Ke?ut(e)?function(e){var t=e.getBBox();return ft(0,0,t.width,t.height)}(e):st(e):it}function ft(e,t,n,r){return{x:e,y:t,width:n,height:r}}var dt=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ft(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=ct(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),pt=function(e,t){var n,r,a,i,o,l,s,u=(r=(n=t).x,a=n.y,i=n.width,o=n.height,l=\"undefined\"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(l.prototype),rt(s,{x:r,y:a,width:i,height:o,top:a,right:r+i,bottom:o+a,left:r}),s);rt(this,{target:e,contentRect:u})},ht=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new Xe,\"function\"!=typeof e)throw new TypeError(\"The callback provided as parameter 1 is not a function.\");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");if(\"undefined\"!=typeof Element&&Element instanceof Object){if(!(e instanceof at(e).Element))throw new TypeError('parameter 1 is not of type \"Element\".');var t=this.observations_;t.has(e)||(t.set(e,new dt(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");if(\"undefined\"!=typeof Element&&Element instanceof Object){if(!(e instanceof at(e).Element))throw new TypeError('parameter 1 is not of type \"Element\".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new pt(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),mt=\"undefined\"!=typeof WeakMap?new WeakMap:new Xe,gt=function e(t){if(!(this instanceof e))throw new TypeError(\"Cannot call a class as a function.\");if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");var n=nt.getInstance(),r=new ht(t,n,this);mt.set(this,r)};[\"observe\",\"unobserve\",\"disconnect\"].forEach((function(e){gt.prototype[e]=function(){var t;return(t=mt.get(this))[e].apply(t,arguments)}}));var yt=void 0!==Je.ResizeObserver?Je.ResizeObserver:gt,vt=[\"client\",\"offset\",\"scroll\",\"bounds\",\"margin\"];function bt(e){var t=[];return vt.forEach((function(n){e[n]&&t.push(n)})),t}function xt(e,t){var n={};if(t.indexOf(\"client\")>-1&&(n.client={top:e.clientTop,left:e.clientLeft,width:e.clientWidth,height:e.clientHeight}),t.indexOf(\"offset\")>-1&&(n.offset={top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}),t.indexOf(\"scroll\")>-1&&(n.scroll={top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}),t.indexOf(\"bounds\")>-1){var r=e.getBoundingClientRect();n.bounds={top:r.top,right:r.right,bottom:r.bottom,left:r.left,width:r.width,height:r.height}}if(t.indexOf(\"margin\")>-1){var a=getComputedStyle(e);n.margin={top:a?parseInt(a.marginTop):0,right:a?parseInt(a.marginRight):0,bottom:a?parseInt(a.marginBottom):0,left:a?parseInt(a.marginLeft):0}}return n}function wt(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||window}var _t=function(e){return function(t){var n,a;return a=n=function(n){function a(){for(var t,r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(t=n.call.apply(n,[this].concat(a))||this).state={contentRect:{entry:{},client:{},offset:{},scroll:{},bounds:{},margin:{}}},t._animationFrameID=null,t._resizeObserver=null,t._node=null,t._window=null,t.measure=function(n){var r=xt(t._node,e||bt(t.props));n&&(r.entry=n[0].contentRect),t._animationFrameID=t._window.requestAnimationFrame((function(){null!==t._resizeObserver&&(t.setState({contentRect:r}),\"function\"==typeof t.props.onResize&&t.props.onResize(r))}))},t._handleRef=function(e){null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.unobserve(t._node),t._node=e,t._window=wt(t._node);var n=t.props.innerRef;n&&(\"function\"==typeof n?n(t._node):n.current=t._node),null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.observe(t._node)},t}(0,$e.Z)(a,n);var i=a.prototype;return i.componentDidMount=function(){this._resizeObserver=null!==this._window&&this._window.ResizeObserver?new this._window.ResizeObserver(this.measure):new yt(this.measure),null!==this._node&&(this._resizeObserver.observe(this._node),\"function\"==typeof this.props.onResize&&this.props.onResize(xt(this._node,e||bt(this.props))))},i.componentWillUnmount=function(){null!==this._window&&this._window.cancelAnimationFrame(this._animationFrameID),null!==this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)},i.render=function(){var e=this.props,n=(e.innerRef,e.onResize,(0,Ge.Z)(e,[\"innerRef\",\"onResize\"]));return(0,r.createElement)(t,(0,D.Z)({},n,{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))},a}(r.Component),n.propTypes={client:L().bool,offset:L().bool,scroll:L().bool,bounds:L().bool,margin:L().bool,innerRef:L().oneOfType([L().object,L().func]),onResize:L().func},a}}()((function(e){var t=e.measure,n=e.measureRef,r=e.contentRect;return(0,e.children)({measure:t,measureRef:n,contentRect:r})}));_t.displayName=\"Measure\",_t.propTypes.children=L().func;var kt=_t,Tt=n(37727);function Mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){St(e,t,n[t])}))}return e}function St(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Et(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var Ct={pointerEvents:\"none\",position:\"absolute\",zIndex:10,top:0,left:0},Ot=(0,r.memo)((function(e){var t=e.position,n=e.anchor,a=e.children,i=Et((0,r.useState)(null),2),o=i[0],l=i[1],s=Js(),u=pu(),c=u.animate,f=u.springConfig,d=Math.round(t[0]),p=Math.round(t[1]);null!==o&&(\"top\"===n?(d-=o[0]/2,p-=o[1]+14):\"right\"===n?(d+=14,p-=o[1]/2):\"bottom\"===n?(d-=o[0]/2,p+=14):\"left\"===n?(d-=o[0]+14,p-=o[1]/2):\"center\"===n&&(d-=o[0]/2,p-=o[1]/2));var h=(0,r.useMemo)((function(){return Mt({},Ct,s.tooltip,{transform:\"translate(\".concat(d,\"px, \").concat(p,\"px)\"),opacity:null===o?0:1})}),[d,p,o,s.tooltip]);return!0!==c||null===o?r.createElement(kt,{client:!1,offset:!1,bounds:!0,margin:!1,onResize:function(e){var t=e.bounds;l([t.width,t.height])}},(function(e){var t=e.measureRef;return r.createElement(\"div\",{ref:t,style:h},a)})):r.createElement(Tt.y_,{style:{x:(0,Tt.ST)(d,f),y:(0,Tt.ST)(p,f)}},(function(e){return r.createElement(kt,{client:!1,offset:!1,bounds:!0,margin:!1,onResize:function(e){var t=e.bounds;l([t.width,t.height])}},(function(t){var n=t.measureRef;return r.createElement(\"div\",{ref:n,style:Mt({},Ct,s.tooltip,{transform:\"translate3d(\".concat(e.x,\"px, \").concat(e.y,\"px, 0)\")})},a)}))}))}));function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Dt(e,t,n[t])}))}return e}function Dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ot.displayName=\"TooltipWrapper\",Ot.propTypes={position:L().array.isRequired,anchor:L().oneOf([\"top\",\"right\",\"bottom\",\"left\",\"center\"]).isRequired,children:L().node.isRequired},Ot.defaultProps={anchor:\"top\"};var Pt=(0,r.memo)((function(e){var t=e.size,n=e.color,a=e.style;return r.createElement(\"span\",{style:At({display:\"block\",width:t,height:t,background:n},a)})}));Pt.propTypes={size:L().number.isRequired,color:L().string.isRequired,style:L().object.isRequired},Pt.defaultProps={size:12,style:{}},Pt.displayName=\"Chip\";var Rt=(0,r.memo)((function(e){var t,n=e.id,a=e.value,i=e.format,o=e.enableChip,l=e.color,s=e.renderContent,u=Js(),c=Gs(i);if(\"function\"==typeof s)t=s();else{var f=a;void 0!==c&&void 0!==f&&(f=c(f)),t=r.createElement(\"div\",{style:u.tooltip.basic},o&&r.createElement(Pt,{color:l,style:u.tooltip.chip}),void 0!==f?r.createElement(\"span\",null,n,\": \",r.createElement(\"strong\",null,isNaN(f)?String(f):f)):n)}return r.createElement(\"div\",{style:u.tooltip.container},t)}));function Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){It(e,t,n[t])}))}return e}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Rt.displayName=\"BasicTooltip\",Rt.propTypes={id:L().node.isRequired,value:L().oneOfType([L().string,L().number]),enableChip:L().bool.isRequired,color:L().string,format:L().oneOfType([L().string,L().func]),renderContent:L().func},Rt.defaultProps={enableChip:!1};var jt={width:\"100%\",borderCollapse:\"collapse\"},Nt=(0,r.memo)((function(e){var t,n=e.title,a=e.rows,i=e.renderContent,o=Js();return a.length?(t=\"function\"==typeof i?i():r.createElement(\"div\",null,n&&n,r.createElement(\"table\",{style:Lt({},jt,o.tooltip.table)},r.createElement(\"tbody\",null,a.map((function(e,t){return r.createElement(\"tr\",{key:t},e.map((function(e,t){return r.createElement(\"td\",{key:t,style:o.tooltip.tableCell},e)})))}))))),r.createElement(\"div\",{style:o.tooltip.container},t)):null}));Nt.propTypes={title:L().node,rows:L().arrayOf(L().arrayOf(L().node)).isRequired,renderContent:L().func},Nt.displayName=\"TableTooltip\";var zt={type:L().oneOf([\"x\",\"y\",\"top-left\",\"top\",\"top-right\",\"right\",\"bottom-right\",\"bottom\",\"bottom-left\",\"left\",\"cross\"])};function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zt=(0,r.memo)((function(e){var t=e.x0,n=e.x1,a=e.y0,i=e.y1,o=Js(),l=pu(),s=l.animate,u=l.springConfig,c=(0,r.useMemo)((function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ft(e,t,n[t])}))}return e}({},o.crosshair.line,{pointerEvents:\"none\"})}),[o.crosshair.line]);return!0!==s?r.createElement(\"line\",{x1:t,x2:n,y1:a,y2:i,fill:\"none\",style:c}):r.createElement(Tt.y_,{style:{x0:(0,Tt.ST)(t,u),x1:(0,Tt.ST)(n,u),y0:(0,Tt.ST)(a,u),y1:(0,Tt.ST)(i,u)}},(function(e){return r.createElement(\"line\",{x1:e.x0,x2:e.x1,y1:e.y0,y2:e.y1,fill:\"none\",style:c})}))}));Zt.displayName=\"CrosshairLine\",Zt.propTypes={x0:L().number.isRequired,x1:L().number.isRequired,y0:L().number.isRequired,y1:L().number.isRequired};var Bt=(0,r.memo)((function(e){var t,n,a=e.width,i=e.height,o=e.type,l=e.x,s=e.y;return\"cross\"===o?(t={x0:l,x1:l,y0:0,y1:i},n={x0:0,x1:a,y0:s,y1:s}):\"top-left\"===o?(t={x0:l,x1:l,y0:0,y1:s},n={x0:0,x1:l,y0:s,y1:s}):\"top\"===o?t={x0:l,x1:l,y0:0,y1:s}:\"top-right\"===o?(t={x0:l,x1:l,y0:0,y1:s},n={x0:l,x1:a,y0:s,y1:s}):\"right\"===o?n={x0:l,x1:a,y0:s,y1:s}:\"bottom-right\"===o?(t={x0:l,x1:l,y0:s,y1:i},n={x0:l,x1:a,y0:s,y1:s}):\"bottom\"===o?t={x0:l,x1:l,y0:s,y1:i}:\"bottom-left\"===o?(t={x0:l,x1:l,y0:s,y1:i},n={x0:0,x1:l,y0:s,y1:s}):\"left\"===o?n={x0:0,x1:l,y0:s,y1:s}:\"x\"===o?t={x0:l,x1:l,y0:0,y1:i}:\"y\"===o&&(n={x0:0,x1:a,y0:s,y1:s}),r.createElement(r.Fragment,null,t&&r.createElement(Zt,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&r.createElement(Zt,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1}))}));Bt.displayName=\"Crosshair\",Bt.propTypes={width:L().number.isRequired,height:L().number.isRequired,x:L().number.isRequired,y:L().number.isRequired,type:zt.type.isRequired},Bt.defaultProps={type:\"cross\"};var qt=(0,r.createContext)();function Ht(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var Ut=function(){return(0,r.useContext)(qt)},Wt=n(82492),Vt=n.n(Wt),Yt=n(27361),Gt=n.n(Yt),$t=n(36968),Xt=n.n($t),Kt=n(10928),Jt=n.n(Kt),Qt=(n(1469),n(47037)),en=n.n(Qt);function tn(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const nn=Symbol(\"implicit\");function rn(){var e=new Map,t=[],n=[],r=nn;function a(a){var i=a+\"\",o=e.get(i);if(!o){if(r!==nn)return r;e.set(i,o=t.push(a))}return n[(o-1)%n.length]}return a.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Map;for(const r of n){const n=r+\"\";e.has(n)||e.set(n,t.push(r))}return a},a.range=function(e){return arguments.length?(n=Array.from(e),a):n.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.copy=function(){return rn(t,n).unknown(r)},tn.apply(a,arguments),a}function an(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]=\"#\"+e.slice(6*r,6*++r);return n}function on(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ln(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function sn(){}var un=.7,cn=1/un,fn=\"\\\\s*([+-]?\\\\d+)\\\\s*\",dn=\"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",pn=\"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",hn=/^#([0-9a-f]{3,8})$/,mn=new RegExp(\"^rgb\\\\(\"+[fn,fn,fn]+\"\\\\)$\"),gn=new RegExp(\"^rgb\\\\(\"+[pn,pn,pn]+\"\\\\)$\"),yn=new RegExp(\"^rgba\\\\(\"+[fn,fn,fn,dn]+\"\\\\)$\"),vn=new RegExp(\"^rgba\\\\(\"+[pn,pn,pn,dn]+\"\\\\)$\"),bn=new RegExp(\"^hsl\\\\(\"+[dn,pn,pn]+\"\\\\)$\"),xn=new RegExp(\"^hsla\\\\(\"+[dn,pn,pn,dn]+\"\\\\)$\"),wn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function _n(){return this.rgb().formatHex()}function kn(){return this.rgb().formatRgb()}function Tn(e){var t,n;return e=(e+\"\").trim().toLowerCase(),(t=hn.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Mn(t):3===n?new On(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Sn(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Sn(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=mn.exec(e))?new On(t[1],t[2],t[3],1):(t=gn.exec(e))?new On(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=yn.exec(e))?Sn(t[1],t[2],t[3],t[4]):(t=vn.exec(e))?Sn(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=bn.exec(e))?Rn(t[1],t[2]/100,t[3]/100,1):(t=xn.exec(e))?Rn(t[1],t[2]/100,t[3]/100,t[4]):wn.hasOwnProperty(e)?Mn(wn[e]):\"transparent\"===e?new On(NaN,NaN,NaN,0):null}function Mn(e){return new On(e>>16&255,e>>8&255,255&e,1)}function Sn(e,t,n,r){return r<=0&&(e=t=n=NaN),new On(e,t,n,r)}function En(e){return e instanceof sn||(e=Tn(e)),e?new On((e=e.rgb()).r,e.g,e.b,e.opacity):new On}function Cn(e,t,n,r){return 1===arguments.length?En(e):new On(e,t,n,null==r?1:r)}function On(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function An(){return\"#\"+Pn(this.r)+Pn(this.g)+Pn(this.b)}function Dn(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?\"rgb(\":\"rgba(\")+Math.max(0,Math.min(255,Math.round(this.r)||0))+\", \"+Math.max(0,Math.min(255,Math.round(this.g)||0))+\", \"+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?\")\":\", \"+e+\")\")}function Pn(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?\"0\":\"\")+e.toString(16)}function Rn(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new In(e,t,n,r)}function Ln(e){if(e instanceof In)return new In(e.h,e.s,e.l,e.opacity);if(e instanceof sn||(e=Tn(e)),!e)return new In;if(e instanceof In)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),i=Math.max(t,n,r),o=NaN,l=i-a,s=(i+a)/2;return l?(o=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+a:2-i-a,o*=60):l=s>0&&s<1?0:o,new In(o,l,s,e.opacity)}function In(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function jn(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Nn(e,t,n,r,a){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*n+(1+3*e+3*i-3*o)*r+o*a)/6}function zn(e){return function(){return e}}function Fn(e,t){return function(n){return e+n*t}}function Zn(e){return 1==(e=+e)?Bn:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):zn(isNaN(t)?n:t)}}function Bn(e,t){var n=t-e;return n?Fn(e,n):zn(isNaN(e)?t:e)}on(sn,Tn,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:_n,formatHex:_n,formatHsl:function(){return Ln(this).formatHsl()},formatRgb:kn,toString:kn}),on(On,Cn,ln(sn,{brighter:function(e){return e=null==e?cn:Math.pow(cn,e),new On(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?un:Math.pow(un,e),new On(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:An,formatHex:An,formatRgb:Dn,toString:Dn})),on(In,(function(e,t,n,r){return 1===arguments.length?Ln(e):new In(e,t,n,null==r?1:r)}),ln(sn,{brighter:function(e){return e=null==e?cn:Math.pow(cn,e),new In(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?un:Math.pow(un,e),new In(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new On(jn(e>=240?e-240:e+120,a,r),jn(e,a,r),jn(e<120?e+240:e-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?\"hsl(\":\"hsla(\")+(this.h||0)+\", \"+100*(this.s||0)+\"%, \"+100*(this.l||0)+\"%\"+(1===e?\")\":\", \"+e+\")\")}}));var qn=function e(t){var n=Zn(t);function r(e,t){var r=n((e=Cn(e)).r,(t=Cn(t)).r),a=n(e.g,t.g),i=n(e.b,t.b),o=Bn(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=i(t),e.opacity=o(t),e+\"\"}}return r.gamma=e,r}(1);function Hn(e){return function(t){var n,r,a=t.length,i=new Array(a),o=new Array(a),l=new Array(a);for(n=0;n<a;++n)r=Cn(t[n]),i[n]=r.r||0,o[n]=r.g||0,l[n]=r.b||0;return i=e(i),o=e(o),l=e(l),r.opacity=1,function(e){return r.r=i(e),r.g=o(e),r.b=l(e),r+\"\"}}}var Un=Hn((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),a=e[r],i=e[r+1],o=r>0?e[r-1]:2*a-i,l=r<t-1?e[r+2]:2*i-a;return Nn((n-r/t)*t,o,a,i,l)}}));Hn((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),a=e[(r+t-1)%t],i=e[r%t],o=e[(r+1)%t],l=e[(r+2)%t];return Nn((n-r/t)*t,a,i,o,l)}}));function Wn(e){return Un(e[e.length-1])}var Vn=new Array(3).concat(\"d8b365f5f5f55ab4ac\",\"a6611adfc27d80cdc1018571\",\"a6611adfc27df5f5f580cdc1018571\",\"8c510ad8b365f6e8c3c7eae55ab4ac01665e\",\"8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e\",\"8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e\",\"8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e\",\"5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30\",\"5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30\").map(an),Yn=Wn(Vn),Gn=new Array(3).concat(\"af8dc3f7f7f77fbf7b\",\"7b3294c2a5cfa6dba0008837\",\"7b3294c2a5cff7f7f7a6dba0008837\",\"762a83af8dc3e7d4e8d9f0d37fbf7b1b7837\",\"762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837\",\"762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837\",\"762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837\",\"40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b\",\"40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b\").map(an),$n=Wn(Gn),Xn=new Array(3).concat(\"e9a3c9f7f7f7a1d76a\",\"d01c8bf1b6dab8e1864dac26\",\"d01c8bf1b6daf7f7f7b8e1864dac26\",\"c51b7de9a3c9fde0efe6f5d0a1d76a4d9221\",\"c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221\",\"c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221\",\"c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221\",\"8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419\",\"8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419\").map(an),Kn=Wn(Xn),Jn=new Array(3).concat(\"998ec3f7f7f7f1a340\",\"5e3c99b2abd2fdb863e66101\",\"5e3c99b2abd2f7f7f7fdb863e66101\",\"542788998ec3d8daebfee0b6f1a340b35806\",\"542788998ec3d8daebf7f7f7fee0b6f1a340b35806\",\"5427888073acb2abd2d8daebfee0b6fdb863e08214b35806\",\"5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806\",\"2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08\",\"2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08\").map(an),Qn=Wn(Jn),er=new Array(3).concat(\"ef8a62f7f7f767a9cf\",\"ca0020f4a58292c5de0571b0\",\"ca0020f4a582f7f7f792c5de0571b0\",\"b2182bef8a62fddbc7d1e5f067a9cf2166ac\",\"b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac\",\"b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac\",\"b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac\",\"67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061\",\"67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061\").map(an),tr=Wn(er),nr=new Array(3).concat(\"ef8a62ffffff999999\",\"ca0020f4a582bababa404040\",\"ca0020f4a582ffffffbababa404040\",\"b2182bef8a62fddbc7e0e0e09999994d4d4d\",\"b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d\",\"b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d\",\"b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d\",\"67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a\",\"67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a\").map(an),rr=Wn(nr),ar=new Array(3).concat(\"fc8d59ffffbf91bfdb\",\"d7191cfdae61abd9e92c7bb6\",\"d7191cfdae61ffffbfabd9e92c7bb6\",\"d73027fc8d59fee090e0f3f891bfdb4575b4\",\"d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4\",\"d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4\",\"d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4\",\"a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695\",\"a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695\").map(an),ir=Wn(ar),or=new Array(3).concat(\"fc8d59ffffbf91cf60\",\"d7191cfdae61a6d96a1a9641\",\"d7191cfdae61ffffbfa6d96a1a9641\",\"d73027fc8d59fee08bd9ef8b91cf601a9850\",\"d73027fc8d59fee08bffffbfd9ef8b91cf601a9850\",\"d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850\",\"d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850\",\"a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837\",\"a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837\").map(an),lr=Wn(or),sr=new Array(3).concat(\"fc8d59ffffbf99d594\",\"d7191cfdae61abdda42b83ba\",\"d7191cfdae61ffffbfabdda42b83ba\",\"d53e4ffc8d59fee08be6f59899d5943288bd\",\"d53e4ffc8d59fee08bffffbfe6f59899d5943288bd\",\"d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd\",\"d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd\",\"9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2\",\"9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2\").map(an),ur=Wn(sr),cr=new Array(3).concat(\"deebf79ecae13182bd\",\"eff3ffbdd7e76baed62171b5\",\"eff3ffbdd7e76baed63182bd08519c\",\"eff3ffc6dbef9ecae16baed63182bd08519c\",\"eff3ffc6dbef9ecae16baed64292c62171b5084594\",\"f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594\",\"f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b\").map(an),fr=Wn(cr),dr=new Array(3).concat(\"e5f5e0a1d99b31a354\",\"edf8e9bae4b374c476238b45\",\"edf8e9bae4b374c47631a354006d2c\",\"edf8e9c7e9c0a1d99b74c47631a354006d2c\",\"edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32\",\"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32\",\"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b\").map(an),pr=Wn(dr),hr=new Array(3).concat(\"f0f0f0bdbdbd636363\",\"f7f7f7cccccc969696525252\",\"f7f7f7cccccc969696636363252525\",\"f7f7f7d9d9d9bdbdbd969696636363252525\",\"f7f7f7d9d9d9bdbdbd969696737373525252252525\",\"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525\",\"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000\").map(an),mr=Wn(hr),gr=new Array(3).concat(\"fee6cefdae6be6550d\",\"feeddefdbe85fd8d3cd94701\",\"feeddefdbe85fd8d3ce6550da63603\",\"feeddefdd0a2fdae6bfd8d3ce6550da63603\",\"feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704\").map(an),yr=Wn(gr),vr=new Array(3).concat(\"efedf5bcbddc756bb1\",\"f2f0f7cbc9e29e9ac86a51a3\",\"f2f0f7cbc9e29e9ac8756bb154278f\",\"f2f0f7dadaebbcbddc9e9ac8756bb154278f\",\"f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486\",\"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486\",\"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d\").map(an),br=Wn(vr),xr=new Array(3).concat(\"fee0d2fc9272de2d26\",\"fee5d9fcae91fb6a4acb181d\",\"fee5d9fcae91fb6a4ade2d26a50f15\",\"fee5d9fcbba1fc9272fb6a4ade2d26a50f15\",\"fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d\",\"fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d\",\"fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d\").map(an),wr=Wn(xr),_r=new Array(3).concat(\"e5f5f999d8c92ca25f\",\"edf8fbb2e2e266c2a4238b45\",\"edf8fbb2e2e266c2a42ca25f006d2c\",\"edf8fbccece699d8c966c2a42ca25f006d2c\",\"edf8fbccece699d8c966c2a441ae76238b45005824\",\"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824\",\"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b\").map(an),kr=Wn(_r),Tr=new Array(3).concat(\"e0ecf49ebcda8856a7\",\"edf8fbb3cde38c96c688419d\",\"edf8fbb3cde38c96c68856a7810f7c\",\"edf8fbbfd3e69ebcda8c96c68856a7810f7c\",\"edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b\",\"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b\",\"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b\").map(an),Mr=Wn(Tr),Sr=new Array(3).concat(\"e0f3dba8ddb543a2ca\",\"f0f9e8bae4bc7bccc42b8cbe\",\"f0f9e8bae4bc7bccc443a2ca0868ac\",\"f0f9e8ccebc5a8ddb57bccc443a2ca0868ac\",\"f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081\").map(an),Er=Wn(Sr),Cr=new Array(3).concat(\"fee8c8fdbb84e34a33\",\"fef0d9fdcc8afc8d59d7301f\",\"fef0d9fdcc8afc8d59e34a33b30000\",\"fef0d9fdd49efdbb84fc8d59e34a33b30000\",\"fef0d9fdd49efdbb84fc8d59ef6548d7301f990000\",\"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000\",\"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000\").map(an),Or=Wn(Cr),Ar=new Array(3).concat(\"ece2f0a6bddb1c9099\",\"f6eff7bdc9e167a9cf02818a\",\"f6eff7bdc9e167a9cf1c9099016c59\",\"f6eff7d0d1e6a6bddb67a9cf1c9099016c59\",\"f6eff7d0d1e6a6bddb67a9cf3690c002818a016450\",\"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450\",\"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636\").map(an),Dr=Wn(Ar),Pr=new Array(3).concat(\"ece7f2a6bddb2b8cbe\",\"f1eef6bdc9e174a9cf0570b0\",\"f1eef6bdc9e174a9cf2b8cbe045a8d\",\"f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d\",\"f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858\").map(an),Rr=Wn(Pr),Lr=new Array(3).concat(\"e7e1efc994c7dd1c77\",\"f1eef6d7b5d8df65b0ce1256\",\"f1eef6d7b5d8df65b0dd1c77980043\",\"f1eef6d4b9dac994c7df65b0dd1c77980043\",\"f1eef6d4b9dac994c7df65b0e7298ace125691003f\",\"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f\",\"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f\").map(an),Ir=Wn(Lr),jr=new Array(3).concat(\"fde0ddfa9fb5c51b8a\",\"feebe2fbb4b9f768a1ae017e\",\"feebe2fbb4b9f768a1c51b8a7a0177\",\"feebe2fcc5c0fa9fb5f768a1c51b8a7a0177\",\"feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a\").map(an),Nr=Wn(jr),zr=new Array(3).concat(\"edf8b17fcdbb2c7fb8\",\"ffffcca1dab441b6c4225ea8\",\"ffffcca1dab441b6c42c7fb8253494\",\"ffffccc7e9b47fcdbb41b6c42c7fb8253494\",\"ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58\").map(an),Fr=Wn(zr),Zr=new Array(3).concat(\"f7fcb9addd8e31a354\",\"ffffccc2e69978c679238443\",\"ffffccc2e69978c67931a354006837\",\"ffffccd9f0a3addd8e78c67931a354006837\",\"ffffccd9f0a3addd8e78c67941ab5d238443005a32\",\"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32\",\"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529\").map(an),Br=Wn(Zr),qr=new Array(3).concat(\"fff7bcfec44fd95f0e\",\"ffffd4fed98efe9929cc4c02\",\"ffffd4fed98efe9929d95f0e993404\",\"ffffd4fee391fec44ffe9929d95f0e993404\",\"ffffd4fee391fec44ffe9929ec7014cc4c028c2d04\",\"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04\",\"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506\").map(an),Hr=Wn(qr),Ur=new Array(3).concat(\"ffeda0feb24cf03b20\",\"ffffb2fecc5cfd8d3ce31a1c\",\"ffffb2fecc5cfd8d3cf03b20bd0026\",\"ffffb2fed976feb24cfd8d3cf03b20bd0026\",\"ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026\").map(an),Wr=Wn(Ur),Vr=an(\"1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf\"),Yr=an(\"7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666\"),Gr=an(\"1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666\"),$r=an(\"a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928\"),Xr=an(\"fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2\"),Kr=an(\"b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc\"),Jr=an(\"e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999\"),Qr=an(\"66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3\"),ea=an(\"8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f\");function ta(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var na=ta(an(\"44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725\")),ra=ta(an(\"00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf\")),aa=ta(an(\"00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4\")),ia=ta(an(\"0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921\")),oa=Math.PI/180,la=180/Math.PI,sa=-.14861,ua=1.78277,ca=-.29227,fa=-.90649,da=1.97294,pa=da*fa,ha=da*ua,ma=ua*ca-fa*sa;function ga(e){if(e instanceof va)return new va(e.h,e.s,e.l,e.opacity);e instanceof On||(e=En(e));var t=e.r/255,n=e.g/255,r=e.b/255,a=(ma*r+pa*t-ha*n)/(ma+pa-ha),i=r-a,o=(da*(n-a)-ca*i)/fa,l=Math.sqrt(o*o+i*i)/(da*a*(1-a)),s=l?Math.atan2(o,i)*la-120:NaN;return new va(s<0?s+360:s,l,a,e.opacity)}function ya(e,t,n,r){return 1===arguments.length?ga(e):new va(e,t,n,null==r?1:r)}function va(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ba(e){return function t(n){function r(t,r){var a=e((t=ya(t)).h,(r=ya(r)).h),i=Bn(t.s,r.s),o=Bn(t.l,r.l),l=Bn(t.opacity,r.opacity);return function(e){return t.h=a(e),t.s=i(e),t.l=o(Math.pow(e,n)),t.opacity=l(e),t+\"\"}}return n=+n,r.gamma=t,r}(1)}on(va,ya,ln(sn,{brighter:function(e){return e=null==e?cn:Math.pow(cn,e),new va(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?un:Math.pow(un,e),new va(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*oa,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),a=Math.sin(e);return new On(255*(t+n*(sa*r+ua*a)),255*(t+n*(ca*r+fa*a)),255*(t+n*(da*r)),this.opacity)}}));ba((function(e,t){var n=t-e;return n?Fn(e,n>180||n<-180?n-360*Math.round(n/360):n):zn(isNaN(e)?t:e)}));var xa=ba(Bn),wa=xa(ya(-100,.75,.35),ya(80,1.5,.8)),_a=xa(ya(260,.75,.35),ya(80,1.5,.8)),ka=ya();function Ta(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return ka.h=360*e-100,ka.s=1.5-1.5*t,ka.l=.8-.9*t,ka+\"\"}var Ma=xa(ya(300,.5,0),ya(-240,.5,1)),Sa=Cn(),Ea=Math.PI/3,Ca=2*Math.PI/3;function Oa(e){var t;return e=(.5-e)*Math.PI,Sa.r=255*(t=Math.sin(e))*t,Sa.g=255*(t=Math.sin(e+Ea))*t,Sa.b=255*(t=Math.sin(e+Ca))*t,Sa+\"\"}var Aa=n(23560),Da=n.n(Aa),Pa=n(82569),Ra=n.n(Pa);function La(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Ia(e){this._context=e}function ja(){}function Na(e){this._context=e}function za(e){this._context=e}function Fa(e,t){this._basis=new Ia(e),this._beta=t}Ia.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:La(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:La(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Na.prototype={areaStart:ja,areaEnd:ja,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:La(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},za.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:La(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Fa.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,a=e[0],i=t[0],o=e[n]-a,l=t[n]-i,s=-1;++s<=n;)r=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(a+r*o),this._beta*t[s]+(1-this._beta)*(i+r*l));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Za=function e(t){function n(e){return 1===t?new Ia(e):new Fa(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Ba(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function qa(e,t){this._context=e,this._k=(1-t)/6}qa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ba(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Ba(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ha=function e(t){function n(e){return new qa(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Ua(e,t){this._context=e,this._k=(1-t)/6}Ua.prototype={areaStart:ja,areaEnd:ja,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Ba(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Wa=function e(t){function n(e){return new Ua(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Va(e,t){this._context=e,this._k=(1-t)/6}Va.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ba(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ya=function e(t){function n(e){return new Va(e,t)}return n.tension=function(t){return e(+t)},n}(0);Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI;function Ga(e,t,n){var r=e._x1,a=e._y1,i=e._x2,o=e._y2;if(e._l01_a>1e-12){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,s=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/s,a=(a*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/s}if(e._l23_a>1e-12){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*u+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*u+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,a,i,o,e._x2,e._y2)}function $a(e,t){this._context=e,this._alpha=t}$a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Ga(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Xa=function e(t){function n(e){return t?new $a(e,t):new qa(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ka(e,t){this._context=e,this._alpha=t}Ka.prototype={areaStart:ja,areaEnd:ja,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Ga(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ja=function e(t){function n(e){return t?new Ka(e,t):new Ua(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Qa(e,t){this._context=e,this._alpha=t}Qa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ga(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ei=function e(t){function n(e){return t?new Qa(e,t):new Va(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function ti(e){this._context=e}function ni(e){return new ti(e)}function ri(e){this._context=e}function ai(e){return e<0?-1:1}function ii(e,t,n){var r=e._x1-e._x0,a=t-e._x1,i=(e._y1-e._y0)/(r||a<0&&-0),o=(n-e._y1)/(a||r<0&&-0),l=(i*a+o*r)/(r+a);return(ai(i)+ai(o))*Math.min(Math.abs(i),Math.abs(o),.5*Math.abs(l))||0}function oi(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function li(e,t,n){var r=e._x0,a=e._y0,i=e._x1,o=e._y1,l=(i-r)/3;e._context.bezierCurveTo(r+l,a+l*t,i-l,o-l*n,i,o)}function si(e){this._context=e}function ui(e){this._context=new ci(e)}function ci(e){this._context=e}function fi(e){this._context=e}function di(e){var t,n,r=e.length-1,a=new Array(r),i=new Array(r),o=new Array(r);for(a[0]=0,i[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)a[t]=1,i[t]=4,o[t]=4*e[t]+2*e[t+1];for(a[r-1]=2,i[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=a[t]/i[t-1],i[t]-=n,o[t]-=n*o[t-1];for(a[r-1]=o[r-1]/i[r-1],t=r-2;t>=0;--t)a[t]=(o[t]-a[t+1])/i[t];for(i[r-1]=(e[r]+a[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-a[t+1];return[a,i]}function pi(e,t){this._context=e,this._t=t}function hi(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function mi(e){var t=e.map(gi);return hi(e).sort((function(e,n){return t[e]-t[n]}))}function gi(e){for(var t,n=0,r=-1,a=e.length;++r<a;)(t=+e[r][1])&&(n+=t);return n}function yi(e){for(var t,n=-1,r=0,a=e.length,i=-1/0;++n<a;)(t=+e[n][1])>i&&(i=t,r=n);return r}function vi(e,t){if((a=e.length)>1)for(var n,r,a,i=1,o=e[t[0]],l=o.length;i<a;++i)for(r=o,o=e[t[i]],n=0;n<l;++n)o[n][1]+=o[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function bi(e,t){if((l=e.length)>0)for(var n,r,a,i,o,l,s=0,u=e[t[0]].length;s<u;++s)for(i=o=0,n=0;n<l;++n)(a=(r=e[t[n]][s])[1]-r[0])>0?(r[0]=i,r[1]=i+=a):a<0?(r[1]=o,r[0]=o+=a):(r[0]=0,r[1]=a)}function xi(e,t,n,r,a){for(var i,o=e.children,l=-1,s=o.length,u=e.value&&(r-t)/e.value;++l<s;)(i=o[l]).y0=n,i.y1=a,i.x0=t,i.x1=t+=i.value*u}function wi(e,t,n,r,a){for(var i,o=e.children,l=-1,s=o.length,u=e.value&&(a-n)/e.value;++l<s;)(i=o[l]).x0=t,i.x1=r,i.y0=n,i.y1=n+=i.value*u}ti.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},ri.prototype={areaStart:ja,areaEnd:ja,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},si.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:li(this,this._t0,oi(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,li(this,oi(this,n=ii(this,e,t)),n);break;default:li(this,this._t0,n=ii(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(ui.prototype=Object.create(si.prototype)).point=function(e,t){si.prototype.point.call(this,t,e)},ci.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,a,i){this._context.bezierCurveTo(t,e,r,n,i,a)}},fi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=di(e),a=di(t),i=0,o=1;o<n;++i,++o)this._context.bezierCurveTo(r[0][i],a[0][i],r[1][i],a[1][i],e[o],t[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},pi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var _i=(1+Math.sqrt(5))/2;function ki(e,t,n,r,a,i){for(var o,l,s,u,c,f,d,p,h,m,g,y=[],v=t.children,b=0,x=0,w=v.length,_=t.value;b<w;){s=a-n,u=i-r;do{c=v[x++].value}while(!c&&x<w);for(f=d=c,g=c*c*(m=Math.max(u/s,s/u)/(_*e)),h=Math.max(d/g,g/f);x<w;++x){if(c+=l=v[x].value,l<f&&(f=l),l>d&&(d=l),g=c*c*m,(p=Math.max(d/g,g/f))>h){c-=l;break}h=p}y.push(o={value:c,dice:s<u,children:v.slice(b,x)}),o.dice?xi(o,n,r,a,_?r+=u*c/_:i):wi(o,n,r,_?n+=s*c/_:a,i),_-=c,b=x}return y}var Ti=function e(t){function n(e,n,r,a,i){ki(t,e,n,r,a,i)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(_i),Mi=function e(t){function n(e,n,r,a,i){if((o=e._squarify)&&o.ratio===t)for(var o,l,s,u,c,f=-1,d=o.length,p=e.value;++f<d;){for(s=(l=o[f]).children,u=l.value=0,c=s.length;u<c;++u)l.value+=s[u].value;l.dice?xi(l,n,r,a,r+=(i-r)*l.value/p):wi(l,n,r,n+=(a-n)*l.value/p,i),p-=l.value}else e._squarify=o=ki(t,e,n,r,a,i),o.ratio=t}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(_i);function Si(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(\"e\"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var Ei,Ci=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;function Oi(e){if(!(t=Ci.exec(e)))throw new Error(\"invalid format: \"+e);var t;return new Ai({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Ai(e){this.fill=void 0===e.fill?\" \":e.fill+\"\",this.align=void 0===e.align?\">\":e.align+\"\",this.sign=void 0===e.sign?\"-\":e.sign+\"\",this.symbol=void 0===e.symbol?\"\":e.symbol+\"\",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?\"\":e.type+\"\"}function Di(e,t){var n=Si(e,t);if(!n)return e+\"\";var r=n[0],a=n[1];return a<0?\"0.\"+new Array(-a).join(\"0\")+r:r.length>a+1?r.slice(0,a+1)+\".\"+r.slice(a+1):r+new Array(a-r.length+2).join(\"0\")}Oi.prototype=Ai.prototype,Ai.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?\"0\":\"\")+(void 0===this.width?\"\":Math.max(1,0|this.width))+(this.comma?\",\":\"\")+(void 0===this.precision?\"\":\".\"+Math.max(0,0|this.precision))+(this.trim?\"~\":\"\")+this.type};var Pi={\"%\":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+\"\"},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(\"en\").replace(/,/g,\"\"):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Di(100*e,t)},r:Di,s:function(e,t){var n=Si(e,t);if(!n)return e+\"\";var r=n[0],a=n[1],i=a-(Ei=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,o=r.length;return i===o?r:i>o?r+new Array(i-o+1).join(\"0\"):i>0?r.slice(0,i)+\".\"+r.slice(i):\"0.\"+new Array(1-i).join(\"0\")+Si(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Ri(e){return e}var Li,Ii,ji=Array.prototype.map,Ni=[\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"µ\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];function zi(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Ri:(t=ji.call(e.grouping,Number),n=e.thousands+\"\",function(e,r){for(var a=e.length,i=[],o=0,l=t[0],s=0;a>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(a-=l,a+l)),!((s+=l+1)>r));)l=t[o=(o+1)%t.length];return i.reverse().join(n)}),a=void 0===e.currency?\"\":e.currency[0]+\"\",i=void 0===e.currency?\"\":e.currency[1]+\"\",o=void 0===e.decimal?\".\":e.decimal+\"\",l=void 0===e.numerals?Ri:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(ji.call(e.numerals,String)),s=void 0===e.percent?\"%\":e.percent+\"\",u=void 0===e.minus?\"-\":e.minus+\"\",c=void 0===e.nan?\"NaN\":e.nan+\"\";function f(e){var t=(e=Oi(e)).fill,n=e.align,f=e.sign,d=e.symbol,p=e.zero,h=e.width,m=e.comma,g=e.precision,y=e.trim,v=e.type;\"n\"===v?(m=!0,v=\"g\"):Pi[v]||(void 0===g&&(g=12),y=!0,v=\"g\"),(p||\"0\"===t&&\"=\"===n)&&(p=!0,t=\"0\",n=\"=\");var b=\"$\"===d?a:\"#\"===d&&/[boxX]/.test(v)?\"0\"+v.toLowerCase():\"\",x=\"$\"===d?i:/[%p]/.test(v)?s:\"\",w=Pi[v],_=/[defgprs%]/.test(v);function k(e){var a,i,s,d=b,k=x;if(\"c\"===v)k=w(e)+k,e=\"\";else{var T=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),y&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case\".\":a=t=r;break;case\"0\":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),T&&0==+e&&\"+\"!==f&&(T=!1),d=(T?\"(\"===f?f:u:\"-\"===f||\"(\"===f?\"\":f)+d,k=(\"s\"===v?Ni[8+Ei/3]:\"\")+k+(T&&\"(\"===f?\")\":\"\"),_)for(a=-1,i=e.length;++a<i;)if(48>(s=e.charCodeAt(a))||s>57){k=(46===s?o+e.slice(a+1):e.slice(a))+k,e=e.slice(0,a);break}}m&&!p&&(e=r(e,1/0));var M=d.length+e.length+k.length,S=M<h?new Array(h-M+1).join(t):\"\";switch(m&&p&&(e=r(S+e,S.length?h-k.length:1/0),S=\"\"),n){case\"<\":e=d+e+k+S;break;case\"=\":e=d+S+e+k;break;case\"^\":e=S.slice(0,M=S.length>>1)+d+e+k+S.slice(M);break;default:e=S+d+e+k}return l(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return e+\"\"},k}return{format:f,formatPrefix:function(e,t){var n,r=f(((e=Oi(e)).type=\"f\",e)),a=3*Math.max(-8,Math.min(8,Math.floor((n=t,((n=Si(Math.abs(n)))?n[1]:NaN)/3)))),i=Math.pow(10,-a),o=Ni[8+a/3];return function(e){return r(i*e)+o}}}}!function(e){Li=zi(e),Ii=Li.format,Li.formatPrefix}({decimal:\".\",thousands:\",\",grouping:[3],currency:[\"$\",\"\"],minus:\"-\"});var Fi=new Date,Zi=new Date;function Bi(e,t,n,r){function a(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return a.floor=function(t){return e(t=new Date(+t)),t},a.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},a.round=function(e){var t=a(e),n=a.ceil(e);return e-t<n-e?t:n},a.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},a.range=function(n,r,i){var o,l=[];if(n=a.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return l;do{l.push(o=new Date(+n)),t(n,i),e(n)}while(o<n&&n<r);return l},a.filter=function(n){return Bi((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(a.count=function(t,r){return Fi.setTime(+t),Zi.setTime(+r),e(Fi),e(Zi),Math.floor(n(Fi,Zi))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(r?function(t){return r(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null}),a}var qi=1e3,Hi=6e4,Ui=36e5,Wi=864e5,Vi=6048e5;function Yi(e){return Bi((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Vi}))}var Gi=Yi(0),$i=Yi(1),Xi=Yi(2),Ki=Yi(3),Ji=Yi(4),Qi=Yi(5),eo=Yi(6),to=(Gi.range,$i.range,Xi.range,Ki.range,Ji.range,Qi.range,eo.range,Bi((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Wi}),(function(e){return e.getUTCDate()-1}))),no=to;to.range;function ro(e){return Bi((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Hi)/Vi}))}var ao=ro(0),io=ro(1),oo=ro(2),lo=ro(3),so=ro(4),uo=ro(5),co=ro(6),fo=(ao.range,io.range,oo.range,lo.range,so.range,uo.range,co.range,Bi((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Hi)/Wi}),(function(e){return e.getDate()-1}))),po=fo,ho=(fo.range,Bi((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));ho.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Bi((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var mo=ho,go=(ho.range,Bi((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));go.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Bi((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var yo=go;go.range;function vo(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function bo(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function xo(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var wo,_o,ko,To,Mo={\"-\":\"\",_:\" \",0:\"0\"},So=/^\\s*\\d+/,Eo=/^%/,Co=/[\\\\^$*+?|[\\]().{}]/g;function Oo(e,t,n){var r=e<0?\"-\":\"\",a=(r?-e:e)+\"\",i=a.length;return r+(i<n?new Array(n-i+1).join(t)+a:a)}function Ao(e){return e.replace(Co,\"\\\\$&\")}function Do(e){return new RegExp(\"^(?:\"+e.map(Ao).join(\"|\")+\")\",\"i\")}function Po(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function Ro(e,t,n){var r=So.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Lo(e,t,n){var r=So.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Io(e,t,n){var r=So.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function jo(e,t,n){var r=So.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function No(e,t,n){var r=So.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function zo(e,t,n){var r=So.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Fo(e,t,n){var r=So.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Zo(e,t,n){var r=/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||\"00\")),n+r[0].length):-1}function Bo(e,t,n){var r=So.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function qo(e,t,n){var r=So.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ho(e,t,n){var r=So.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Uo(e,t,n){var r=So.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Wo(e,t,n){var r=So.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Vo(e,t,n){var r=So.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Yo(e,t,n){var r=So.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Go(e,t,n){var r=So.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function $o(e,t,n){var r=So.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Xo(e,t,n){var r=Eo.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ko(e,t,n){var r=So.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Jo(e,t,n){var r=So.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Qo(e,t){return Oo(e.getDate(),t,2)}function el(e,t){return Oo(e.getHours(),t,2)}function tl(e,t){return Oo(e.getHours()%12||12,t,2)}function nl(e,t){return Oo(1+po.count(mo(e),e),t,3)}function rl(e,t){return Oo(e.getMilliseconds(),t,3)}function al(e,t){return rl(e,t)+\"000\"}function il(e,t){return Oo(e.getMonth()+1,t,2)}function ol(e,t){return Oo(e.getMinutes(),t,2)}function ll(e,t){return Oo(e.getSeconds(),t,2)}function sl(e){var t=e.getDay();return 0===t?7:t}function ul(e,t){return Oo(ao.count(mo(e)-1,e),t,2)}function cl(e){var t=e.getDay();return t>=4||0===t?so(e):so.ceil(e)}function fl(e,t){return e=cl(e),Oo(so.count(mo(e),e)+(4===mo(e).getDay()),t,2)}function dl(e){return e.getDay()}function pl(e,t){return Oo(io.count(mo(e)-1,e),t,2)}function hl(e,t){return Oo(e.getFullYear()%100,t,2)}function ml(e,t){return Oo((e=cl(e)).getFullYear()%100,t,2)}function gl(e,t){return Oo(e.getFullYear()%1e4,t,4)}function yl(e,t){var n=e.getDay();return Oo((e=n>=4||0===n?so(e):so.ceil(e)).getFullYear()%1e4,t,4)}function vl(e){var t=e.getTimezoneOffset();return(t>0?\"-\":(t*=-1,\"+\"))+Oo(t/60|0,\"0\",2)+Oo(t%60,\"0\",2)}function bl(e,t){return Oo(e.getUTCDate(),t,2)}function xl(e,t){return Oo(e.getUTCHours(),t,2)}function wl(e,t){return Oo(e.getUTCHours()%12||12,t,2)}function _l(e,t){return Oo(1+no.count(yo(e),e),t,3)}function kl(e,t){return Oo(e.getUTCMilliseconds(),t,3)}function Tl(e,t){return kl(e,t)+\"000\"}function Ml(e,t){return Oo(e.getUTCMonth()+1,t,2)}function Sl(e,t){return Oo(e.getUTCMinutes(),t,2)}function El(e,t){return Oo(e.getUTCSeconds(),t,2)}function Cl(e){var t=e.getUTCDay();return 0===t?7:t}function Ol(e,t){return Oo(Gi.count(yo(e)-1,e),t,2)}function Al(e){var t=e.getUTCDay();return t>=4||0===t?Ji(e):Ji.ceil(e)}function Dl(e,t){return e=Al(e),Oo(Ji.count(yo(e),e)+(4===yo(e).getUTCDay()),t,2)}function Pl(e){return e.getUTCDay()}function Rl(e,t){return Oo($i.count(yo(e)-1,e),t,2)}function Ll(e,t){return Oo(e.getUTCFullYear()%100,t,2)}function Il(e,t){return Oo((e=Al(e)).getUTCFullYear()%100,t,2)}function jl(e,t){return Oo(e.getUTCFullYear()%1e4,t,4)}function Nl(e,t){var n=e.getUTCDay();return Oo((e=n>=4||0===n?Ji(e):Ji.ceil(e)).getUTCFullYear()%1e4,t,4)}function zl(){return\"+0000\"}function Fl(){return\"%\"}function Zl(e){return+e}function Bl(e){return Math.floor(+e/1e3)}function ql(e,t){var n,r=t?t.length:0,a=e?Math.min(r,e.length):0,i=new Array(a),o=new Array(r);for(n=0;n<a;++n)i[n]=Xl(e[n],t[n]);for(;n<r;++n)o[n]=t[n];return function(e){for(n=0;n<a;++n)o[n]=i[n](e);return o}}function Hl(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Ul(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Wl(e,t){var n,r={},a={};for(n in null!==e&&\"object\"==typeof e||(e={}),null!==t&&\"object\"==typeof t||(t={}),t)n in e?r[n]=Xl(e[n],t[n]):a[n]=t[n];return function(e){for(n in r)a[n]=r[n](e);return a}}!function(e){wo=function(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,i=e.days,o=e.shortDays,l=e.months,s=e.shortMonths,u=Do(a),c=Po(a),f=Do(i),d=Po(i),p=Do(o),h=Po(o),m=Do(l),g=Po(l),y=Do(s),v=Po(s),b={a:function(e){return o[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:null,d:Qo,e:Qo,f:al,g:ml,G:yl,H:el,I:tl,j:nl,L:rl,m:il,M:ol,p:function(e){return a[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Zl,s:Bl,S:ll,u:sl,U:ul,V:fl,w:dl,W:pl,x:null,X:null,y:hl,Y:gl,Z:vl,\"%\":Fl},x={a:function(e){return o[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return l[e.getUTCMonth()]},c:null,d:bl,e:bl,f:Tl,g:Il,G:Nl,H:xl,I:wl,j:_l,L:kl,m:Ml,M:Sl,p:function(e){return a[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Zl,s:Bl,S:El,u:Cl,U:Ol,V:Dl,w:Pl,W:Rl,x:null,X:null,y:Ll,Y:jl,Z:zl,\"%\":Fl},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=v[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return T(e,t,n,r)},d:Ho,e:Ho,f:$o,g:Fo,G:zo,H:Wo,I:Wo,j:Uo,L:Go,m:qo,M:Vo,p:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.p=c[r[0].toLowerCase()],n+r[0].length):-1},q:Bo,Q:Ko,s:Jo,S:Yo,u:Lo,U:Io,V:jo,w:Ro,W:No,x:function(e,t,r){return T(e,n,t,r)},X:function(e,t,n){return T(e,r,t,n)},y:Fo,Y:zo,Z:Zo,\"%\":Xo};function _(e,t){return function(n){var r,a,i,o=[],l=-1,s=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++l<u;)37===e.charCodeAt(l)&&(o.push(e.slice(s,l)),null!=(a=Mo[r=e.charAt(++l)])?r=e.charAt(++l):a=\"e\"===r?\" \":\"0\",(i=t[r])&&(r=i(n,a)),o.push(r),s=l+1);return o.push(e.slice(s,l)),o.join(\"\")}}function k(e,t){return function(n){var r,a,i=xo(1900,void 0,1);if(T(i,e,n+=\"\",0)!=n.length)return null;if(\"Q\"in i)return new Date(i.Q);if(\"s\"in i)return new Date(1e3*i.s+(\"L\"in i?i.L:0));if(t&&!(\"Z\"in i)&&(i.Z=0),\"p\"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m=\"q\"in i?i.q:0),\"V\"in i){if(i.V<1||i.V>53)return null;\"w\"in i||(i.w=1),\"Z\"in i?(a=(r=bo(xo(i.y,0,1))).getUTCDay(),r=a>4||0===a?$i.ceil(r):$i(r),r=no.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(a=(r=vo(xo(i.y,0,1))).getDay(),r=a>4||0===a?io.ceil(r):io(r),r=po.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else(\"W\"in i||\"U\"in i)&&(\"w\"in i||(i.w=\"u\"in i?i.u%7:\"W\"in i?1:0),a=\"Z\"in i?bo(xo(i.y,0,1)).getUTCDay():vo(xo(i.y,0,1)).getDay(),i.m=0,i.d=\"W\"in i?(i.w+6)%7+7*i.W-(a+5)%7:i.w+7*i.U-(a+6)%7);return\"Z\"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,bo(i)):vo(i)}}function T(e,t,n,r){for(var a,i,o=0,l=t.length,s=n.length;o<l;){if(r>=s)return-1;if(37===(a=t.charCodeAt(o++))){if(a=t.charAt(o++),!(i=w[a in Mo?t.charAt(o++):a])||(r=i(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}return b.x=_(n,b),b.X=_(r,b),b.c=_(t,b),x.x=_(n,x),x.X=_(r,x),x.c=_(t,x),{format:function(e){var t=_(e+=\"\",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+=\"\",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=_(e+=\"\",x);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+=\"\",!0);return t.toString=function(){return e},t}}}(e),_o=wo.format,ko=wo.parse,wo.utcFormat,To=wo.utcParse}({dateTime:\"%x, %X\",date:\"%-m/%-d/%Y\",time:\"%-I:%M:%S %p\",periods:[\"AM\",\"PM\"],days:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],shortDays:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],months:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],shortMonths:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]});var Vl=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,Yl=new RegExp(Vl.source,\"g\");function Gl(e,t){var n,r,a,i=Vl.lastIndex=Yl.lastIndex=0,o=-1,l=[],s=[];for(e+=\"\",t+=\"\";(n=Vl.exec(e))&&(r=Yl.exec(t));)(a=r.index)>i&&(a=t.slice(i,a),l[o]?l[o]+=a:l[++o]=a),(n=n[0])===(r=r[0])?l[o]?l[o]+=r:l[++o]=r:(l[++o]=null,s.push({i:o,x:Ul(n,r)})),i=Yl.lastIndex;return i<t.length&&(a=t.slice(i),l[o]?l[o]+=a:l[++o]=a),l.length<2?s[0]?function(e){return function(t){return e(t)+\"\"}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join(\"\")})}function $l(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,a=t.slice();return function(i){for(n=0;n<r;++n)a[n]=e[n]*(1-i)+t[n]*i;return a}}function Xl(e,t){var n,r,a=typeof t;return null==t||\"boolean\"===a?zn(t):(\"number\"===a?Ul:\"string\"===a?(n=Tn(t))?(t=n,qn):Gl:t instanceof Tn?qn:t instanceof Date?Hl:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?ql:\"function\"!=typeof t.valueOf&&\"function\"!=typeof t.toString||isNaN(t)?Wl:Ul:$l))(e,t)}n(97544);var Kl=n(18446),Jl=n.n(Kl),Ql=n(98808),es=n(20491),ts=n(63082),ns=n(53538),rs=n(65544),as=n.n(rs),is=n(68630),os=n.n(is),ls=n(78718),ss=n.n(ls),us=function(){};function cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){fs(e,t,n[t])}))}return e}function fs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ds={fill:L().string,fontSize:L().number,fontFamily:L().string},ps=L().shape({domain:L().shape({line:L().shape({stroke:L().string.isRequired,strokeWidth:L().number.isRequired,strokeDasharray:L().string}).isRequired}).isRequired,ticks:L().shape({line:L().shape({stroke:L().string.isRequired,strokeWidth:L().number.isRequired,strokeDasharray:L().string}).isRequired,text:L().shape(cs({},ds)).isRequired}).isRequired,legend:L().shape({text:L().shape(cs({},ds)).isRequired}).isRequired}),hs=L().shape({line:L().shape({stroke:L().string.isRequired,strokeWidth:L().number.isRequired,strokeDasharray:L().string}).isRequired}),ms=L().shape({text:L().shape(cs({},ds)).isRequired}),gs=L().shape({text:L().shape(cs({},ds)).isRequired}),ys=L().shape({text:L().shape(cs({},ds)).isRequired}),vs=L().shape({text:L().shape(cs({},ds)).isRequired}),bs=L().shape({line:L().shape({stroke:L().string.isRequired,strokeWidth:L().number.isRequired,strokeDasharray:L().string}).isRequired}),xs=L().shape({text:L().shape(cs({},ds,{outlineWidth:L().number.isRequired,outlineColor:L().string.isRequired})).isRequired,link:L().shape({stroke:L().string.isRequired,strokeWidth:L().number.isRequired,outlineWidth:L().number.isRequired,outlineColor:L().string.isRequired}).isRequired,outline:L().shape({stroke:L().string.isRequired,strokeWidth:L().number.isRequired,outlineWidth:L().number.isRequired,outlineColor:L().string.isRequired}).isRequired,symbol:L().shape({fill:L().string.isRequired,outlineWidth:L().number.isRequired,outlineColor:L().string.isRequired}).isRequired}),ws=(L().shape({background:L().string.isRequired,fontFamily:L().string.isRequired,fontSize:L().number.isRequired,textColor:L().string.isRequired,axis:ps.isRequired,grid:hs.isRequired,legends:ms.isRequired,labels:gs.isRequired,dots:ys.isRequired,markers:vs,crosshair:bs.isRequired,annotations:xs.isRequired}),{background:\"transparent\",fontFamily:\"sans-serif\",fontSize:11,textColor:\"#333333\",axis:{domain:{line:{stroke:\"transparent\",strokeWidth:1}},ticks:{line:{stroke:\"#777777\",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:\"#dddddd\",strokeWidth:1}},legends:{text:{fill:\"#333333\"}},labels:{text:{}},markers:{lineColor:\"#000000\",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:\"white\",color:\"inherit\",fontSize:\"inherit\",borderRadius:\"2px\",boxShadow:\"0 1px 2px rgba(0, 0, 0, 0.25)\",padding:\"5px 9px\"},basic:{whiteSpace:\"pre\",display:\"flex\",alignItems:\"center\"},chip:{marginRight:7},table:{},tableCell:{padding:\"3px 5px\"}},crosshair:{line:{stroke:\"#000000\",strokeWidth:1,strokeOpacity:.75,strokeDasharray:\"6 6\"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:\"#ffffff\"},link:{stroke:\"#000000\",strokeWidth:1,outlineWidth:2,outlineColor:\"#ffffff\"},outline:{fill:\"none\",stroke:\"#000000\",strokeWidth:2,outlineWidth:2,outlineColor:\"#ffffff\"},symbol:{fill:\"#000000\",outlineWidth:2,outlineColor:\"#ffffff\"}}}),_s=[\"axis.ticks.text\",\"axis.legend.text\",\"legends.text\",\"labels.text\",\"dots.text\",\"markers.text\",\"annotations.text\"],ks=function(e,t){var n=Vt()({},e,t);return _s.forEach((function(e){void 0===Gt()(n,\"\".concat(e,\".fontFamily\"))&&Xt()(n,\"\".concat(e,\".fontFamily\"),n.fontFamily),void 0===Gt()(n,\"\".concat(e,\".fontSize\"))&&Xt()(n,\"\".concat(e,\".fontSize\"),n.fontSize),void 0===Gt()(n,\"\".concat(e,\".fill\"))&&Xt()(n,\"\".concat(e,\".fill\"),n.textColor)})),n},Ts={nivo:[\"#d76445\",\"#f47560\",\"#e8c1a0\",\"#97e3d5\",\"#61cdbb\",\"#00b0a7\"],BrBG:Jt()(Vn),PRGn:Jt()(Gn),PiYG:Jt()(Xn),PuOr:Jt()(Jn),RdBu:Jt()(er),RdGy:Jt()(nr),RdYlBu:Jt()(ar),RdYlGn:Jt()(or),spectral:Jt()(sr),blues:Jt()(cr),greens:Jt()(dr),greys:Jt()(hr),oranges:Jt()(gr),purples:Jt()(vr),reds:Jt()(xr),BuGn:Jt()(_r),BuPu:Jt()(Tr),GnBu:Jt()(Sr),OrRd:Jt()(Cr),PuBuGn:Jt()(Ar),PuBu:Jt()(Pr),PuRd:Jt()(Lr),RdPu:Jt()(jr),YlGnBu:Jt()(zr),YlGn:Jt()(Zr),YlOrBr:Jt()(qr),YlOrRd:Jt()(Ur)},Ms=Object.keys(Ts),Ss=(Jt()(Vn),Jt()(Gn),Jt()(Xn),Jt()(Jn),Jt()(er),Jt()(nr),Jt()(ar),Jt()(or),Jt()(sr),Jt()(cr),Jt()(dr),Jt()(hr),Jt()(gr),Jt()(vr),Jt()(xr),Jt()(_r),Jt()(Tr),Jt()(Sr),Jt()(Cr),Jt()(Ar),Jt()(Pr),Jt()(Lr),Jt()(jr),Jt()(zr),Jt()(Zr),Jt()(qr),Jt()(Ur),L().oneOfType([L().oneOf(Ms),L().func,L().arrayOf(L().string)]),{basis:function(e){return new Ia(e)},basisClosed:function(e){return new Na(e)},basisOpen:function(e){return new za(e)},bundle:Za,cardinal:Ha,cardinalClosed:Wa,cardinalOpen:Ya,catmullRom:Xa,catmullRomClosed:Ja,catmullRomOpen:ei,linear:ni,linearClosed:function(e){return new ri(e)},monotoneX:function(e){return new si(e)},monotoneY:function(e){return new ui(e)},natural:function(e){return new fi(e)},step:function(e){return new pi(e,.5)},stepAfter:function(e){return new pi(e,1)},stepBefore:function(e){return new pi(e,0)}}),Es=Object.keys(Ss),Cs=(L().oneOf(Es),Es.filter((function(e){return e.endsWith(\"Closed\")}))),Os=(L().oneOf(Cs),Ra()(Es,\"bundle\",\"basisClosed\",\"basisOpen\",\"cardinalClosed\",\"cardinalOpen\",\"catmullRomClosed\",\"catmullRomOpen\",\"linearClosed\")),As=(L().oneOf(Os),Ra()(Es,\"bundle\",\"basisClosed\",\"basisOpen\",\"cardinalClosed\",\"cardinalOpen\",\"catmullRomClosed\",\"catmullRomOpen\",\"linearClosed\")),Ds=L().oneOf(As),Ps=function(e){if(!Ss[e])throw new TypeError(\"'\".concat(e,\"', is not a valid curve interpolator identifier.\"));return Ss[e]},Rs={defs:L().arrayOf(L().shape({id:L().string.isRequired})).isRequired,fill:L().arrayOf(L().shape({id:L().string.isRequired,match:L().oneOfType([L().oneOf([\"*\"]),L().object,L().func]).isRequired})).isRequired},Ls={ascending:mi,descending:function(e){return mi(e).reverse()},insideOut:function(e){var t,n,r=e.length,a=e.map(gi),i=function(e){var t=e.map(yi);return hi(e).sort((function(e,n){return t[e]-t[n]}))}(e),o=0,l=0,s=[],u=[];for(t=0;t<r;++t)n=i[t],o<l?(o+=a[n],s.push(n)):(l+=a[n],u.push(n));return u.reverse().concat(s)},none:hi,reverse:function(e){return hi(e).reverse()}},Is=Object.keys(Ls),js=(L().oneOf(Is),{expand:function(e,t){if((r=e.length)>0){for(var n,r,a,i=0,o=e[0].length;i<o;++i){for(a=n=0;n<r;++n)a+=e[n][i][1]||0;if(a)for(n=0;n<r;++n)e[n][i][1]/=a}vi(e,t)}},diverging:bi,none:vi,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,a=e[t[0]],i=a.length;r<i;++r){for(var o=0,l=0;o<n;++o)l+=e[o][r][1]||0;a[r][1]+=a[r][0]=-l/2}vi(e,t)}},wiggle:function(e,t){if((a=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,a,i=0,o=1;o<r;++o){for(var l=0,s=0,u=0;l<a;++l){for(var c=e[t[l]],f=c[o][1]||0,d=(f-(c[o-1][1]||0))/2,p=0;p<l;++p){var h=e[t[p]];d+=(h[o][1]||0)-(h[o-1][1]||0)}s+=f,u+=d*f}n[o-1][1]+=n[o-1][0]=i,s&&(i-=u/s)}n[o-1][1]+=n[o-1][0]=i,vi(e,t)}}}),Ns=Object.keys(js),zs=(L().oneOf(Ns),{binary:function(e,t,n,r,a){var i,o,l=e.children,s=l.length,u=new Array(s+1);for(u[0]=o=i=0;i<s;++i)u[i+1]=o+=l[i].value;!function e(t,n,r,a,i,o,s){if(t>=n-1){var c=l[t];return c.x0=a,c.y0=i,c.x1=o,void(c.y1=s)}var f=u[t],d=r/2+f,p=t+1,h=n-1;for(;p<h;){var m=p+h>>>1;u[m]<d?p=m+1:h=m}d-u[p-1]<u[p]-d&&t+1<p&&--p;var g=u[p]-f,y=r-g;if(o-a>s-i){var v=(a*y+o*g)/r;e(t,p,g,a,i,v,s),e(p,n,y,v,i,o,s)}else{var b=(i*y+s*g)/r;e(t,p,g,a,i,o,b),e(p,n,y,a,b,o,s)}}(0,s,e.value,t,n,r,a)},dice:xi,slice:wi,sliceDice:function(e,t,n,r,a){(1&e.depth?wi:xi)(e,t,n,r,a)},squarify:Ti,resquarify:Mi}),Fs=Object.keys(zs),Zs=(L().oneOf(Fs),L().shape({top:L().number,right:L().number,bottom:L().number,left:L().number}).isRequired),Bs={animate:L().bool.isRequired,motionStiffness:L().number.isRequired,motionDamping:L().number.isRequired},qs=L().oneOf([\"normal\",\"multiply\",\"screen\",\"overlay\",\"darken\",\"lighten\",\"color-dodge\",\"color-burn\",\"hard-light\",\"soft-light\",\"difference\",\"exclusion\",\"hue\",\"saturation\",\"color\",\"luminosity\"]),Hs=(rn(ea),{top:0,right:0,bottom:0,left:0});function Us(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ws(e,t,n[t])}))}return e}function Ws(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vs=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,r.useMemo)((function(){var r=Us({},Hs,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n.top,n.right,n.bottom,n.left])},Ys=function(e){return\"function\"==typeof e?e:\"string\"==typeof e?0===e.indexOf(\"time:\")?_o(e.slice(\"5\")):Ii(e):function(e){return e}},Gs=function(e){return(0,r.useMemo)((function(){return Ys(e)}),[e])},$s=(0,r.createContext)(),Xs={},Ks=function(e){var t=e.theme,n=void 0===t?Xs:t,a=e.children,i=function(e){return(0,r.useMemo)((function(){return ks(ws,e)}),[e])}(n);return r.createElement($s.Provider,{value:i},a)};Ks.propTypes={children:L().node.isRequired,theme:L().object};var Js=function(){return(0,r.useContext)($s)};function Qs(e){return Qs=\"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},Qs(e)}function eu(){return eu=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},eu.apply(this,arguments)}function tu(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function nu(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function ru(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 au(e,t){return!t||\"object\"!==Qs(t)&&\"function\"!=typeof t?ou(e):t}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},iu(e)}function ou(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function lu(e,t){return lu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},lu(e,t)}function su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uu=function(e,t){return\"number\"!=typeof e?{value:e,config:t,interpolator:t&&t.interpolator?t.interpolator:Xl}:(0,Tt.ST)(e,t)},cu=function(e){function t(){var e,n;nu(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return su(ou(n=au(this,(e=iu(t)).call.apply(e,[this].concat(a)))),\"oldValues\",{}),su(ou(n),\"newInters\",{}),su(ou(n),\"currentStepValues\",{}),su(ou(n),\"stepValues\",{}),su(ou(n),\"stepInterpolators\",{}),n}var n,a,i;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lu(e,t)}(t,e),n=t,a=[{key:\"render\",value:function(){var e=this,t=this.props,n=t.style,a=t.children,i=tu(t,[\"style\",\"children\"]),o=n(uu);for(var l in o)o[l]&&o[l].interpolator&&(this.currentStepValues[l]=this.currentStepValues[l]||0,void 0!==this.newInters[l]&&o[l].value===this.newInters[l].value||(this.newInters[l]=o[l],this.stepValues[l]=this.currentStepValues[l]+1,this.stepInterpolators[l]=this.newInters[l].interpolator(this.oldValues[l],this.newInters[l].value)),o[l]=(0,Tt.ST)(this.stepValues[l],this.newInters[l].config));return r.createElement(Tt.y_,eu({},i,{style:o}),(function(t){var n={};for(var r in t)if(e.stepValues[r]){e.currentStepValues[r]=t[r];var i=e.currentStepValues[r]-e.stepValues[r]+1;e.oldValues[r]=n[r]=e.stepInterpolators[r](i)}return a(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){su(e,t,n[t])}))}return e}({},t,n))}))}}],a&&ru(n.prototype,a),i&&ru(n,i),t}(r.PureComponent);su(cu,\"propTypes\",{children:L().func.isRequired,style:L().func.isRequired});var fu=(0,r.createContext)(),du=function(e){var t=e.children,n=e.animate,a=e.stiffness,i=e.damping,o=(0,r.useMemo)((function(){return{animate:n,springConfig:{stiffness:a,damping:i}}}),[n,a,i]);return r.createElement(fu.Provider,{value:o},t)};du.propTypes={children:L().node.isRequired,animate:L().bool.isRequired,stiffness:L().number.isRequired,damping:L().number.isRequired},du.defaultProps={animate:!0,stiffness:90,damping:15};var pu=function(){return(0,r.useContext)(fu)};function hu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){mu(e,t,n[t])}))}return e}function mu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var yu={position:\"relative\"},vu={pointerEvents:\"none\",position:\"absolute\",zIndex:10},bu=function(e){var t,n=e.children,a=e.theme,i=e.isInteractive,o=void 0===i||i,l=e.animate,s=e.motionStiffness,u=e.motionDamping,c=(0,r.useRef)(null),f=gu((0,r.useState)({isTooltipVisible:!1,tooltipContent:null,position:{}}),2),d=f[0],p=f[1],h=(0,r.useCallback)((function(e,t){if(c){var n=c.current.getBoundingClientRect(),r=t.clientX,a=t.clientY,i=r-n.left,o=a-n.top,l={};i<n.width/2?l.left=i+20:l.right=n.width-i+20,o<n.height/2?l.top=o-12:l.bottom=n.height-o-12,p({isTooltipVisible:!0,tooltipContent:e,position:l})}}),[c]),m=(0,r.useCallback)((function(){p({isTooltipVisible:!1,tooltipContent:null})})),g=d.isTooltipVisible,y=d.tooltipContent,v=d.position;return t=!0===o?r.createElement(\"div\",{style:yu,ref:c},n({showTooltip:o?h:us,hideTooltip:o?m:us}),g&&r.createElement(\"div\",{style:hu({},vu,v,a.tooltip)},y)):n({showTooltip:o?h:us,hideTooltip:o?m:us}),r.createElement($s.Provider,{value:a},r.createElement(du,{animate:l,stiffness:s,damping:u},r.createElement(qt.Provider,{value:[h,m]},t)))};function xu(e){return xu=\"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},xu(e)}function wu(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function _u(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 ku(e,t){return!t||\"object\"!==xu(t)&&\"function\"!=typeof t?Mu(e):t}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Tu(e)}function Mu(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function Su(e,t){return Su=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Su(e,t)}function Eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}bu.propTypes={children:L().func.isRequired,isInteractive:L().bool,theme:L().object.isRequired,animate:L().bool.isRequired,motionStiffness:L().number,motionDamping:L().number};var Cu=function(e){function t(){var e,n;wu(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return Eu(Mu(n=ku(this,(e=Tu(t)).call.apply(e,[this].concat(a)))),\"state\",{dimensions:{width:-1,height:-1}}),n}var n,a,i;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Su(e,t)}(t,e),n=t,a=[{key:\"render\",value:function(){var e=this,t=this.state.dimensions,n=t.width,a=t.height,i=n>0&&a>0;return r.createElement(kt,{bounds:!0,onResize:function(t){e.setState({dimensions:t.bounds})}},(function(t){var o=t.measureRef;return r.createElement(\"div\",{ref:o,style:{width:\"100%\",height:\"100%\"}},i&&e.props.children({width:n,height:a}))}))}}],a&&_u(n.prototype,a),i&&_u(n,i),t}(r.Component);Eu(Cu,\"propTypes\",{children:L().func.isRequired});var Ou=function(e){var t=e.id,n=e.colors;return r.createElement(\"linearGradient\",{id:t,x1:0,x2:0,y1:0,y2:1},n.map((function(e){var t=e.offset,n=e.color,a=e.opacity;return r.createElement(\"stop\",{key:t,offset:\"\".concat(t,\"%\"),stopColor:n,stopOpacity:void 0!==a?a:1})})))};Ou.propTypes={id:L().string.isRequired,colors:L().arrayOf(L().shape({offset:L().number.isRequired,color:L().string.isRequired})).isRequired};var Au={linearGradient:Ou};var Du=(0,r.memo)((function(e){var t=e.id,n=e.background,a=e.color,i=e.size,o=e.padding,l=e.stagger,s=i+o,u=i/2,c=o/2;return!0===l&&(s=2*i+2*o),r.createElement(\"pattern\",{id:t,width:s,height:s,patternUnits:\"userSpaceOnUse\"},r.createElement(\"rect\",{width:s,height:s,fill:n}),r.createElement(\"circle\",{cx:c+u,cy:c+u,r:u,fill:a}),l&&r.createElement(\"circle\",{cx:1.5*o+i+u,cy:1.5*o+i+u,r:u,fill:a}))}));Du.displayName=\"PatternDots\",Du.propTypes={id:L().string.isRequired,color:L().string.isRequired,background:L().string.isRequired,size:L().number.isRequired,padding:L().number.isRequired,stagger:L().bool.isRequired},Du.defaultProps={color:\"#000000\",background:\"#ffffff\",size:4,padding:4,stagger:!1};Math.PI;var Pu=function(e){return e*Math.PI/180},Ru=function(e){return 180*e/Math.PI},Lu=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},Iu={svg:{align:{left:\"start\",center:\"middle\",right:\"end\"},baseline:{top:\"text-before-edge\",center:\"central\",bottom:\"alphabetic\"}},canvas:{align:{left:\"left\",center:\"center\",right:\"right\"},baseline:{top:\"top\",center:\"middle\",bottom:\"bottom\"}}};var ju=(0,r.memo)((function(e){var t=e.id,n=e.spacing,a=e.rotation,i=e.background,o=e.color,l=e.lineWidth,s=Math.round(a)%360,u=Math.abs(n);s>180?s-=360:s>90?s-=180:s<-180?s+=360:s<-90&&(s+=180);var c,f=u,d=u;return 0===s?c=\"\\n M 0 0 L \".concat(f,\" 0\\n M 0 \").concat(d,\" L \").concat(f,\" \").concat(d,\"\\n \"):90===s?c=\"\\n M 0 0 L 0 \".concat(d,\"\\n M \").concat(f,\" 0 L \").concat(f,\" \").concat(d,\"\\n \"):(f=Math.abs(u/Math.sin(Pu(s))),d=u/Math.sin(Pu(90-s)),c=s>0?\"\\n M 0 \".concat(-d,\" L \").concat(2*f,\" \").concat(d,\"\\n M \").concat(-f,\" \").concat(-d,\" L \").concat(f,\" \").concat(d,\"\\n M \").concat(-f,\" 0 L \").concat(f,\" \").concat(2*d,\"\\n \"):\"\\n M \".concat(-f,\" \").concat(d,\" L \").concat(f,\" \").concat(-d,\"\\n M \").concat(-f,\" \").concat(2*d,\" L \").concat(2*f,\" \").concat(-d,\"\\n M 0 \").concat(2*d,\" L \").concat(2*f,\" 0\\n \")),r.createElement(\"pattern\",{id:t,width:f,height:d,patternUnits:\"userSpaceOnUse\"},r.createElement(\"rect\",{width:f,height:d,fill:i,stroke:\"rgba(255, 0, 0, 0.1)\",strokeWidth:0}),r.createElement(\"path\",{d:c,strokeWidth:l,stroke:o,strokeLinecap:\"square\"}))}));ju.displayName=\"PatternLines\",ju.propTypes={id:L().string.isRequired,spacing:L().number.isRequired,rotation:L().number.isRequired,background:L().string.isRequired,color:L().string.isRequired,lineWidth:L().number.isRequired},ju.defaultProps={spacing:5,rotation:0,color:\"#000000\",background:\"#ffffff\",lineWidth:2};var Nu=(0,r.memo)((function(e){var t=e.id,n=e.background,a=e.color,i=e.size,o=e.padding,l=e.stagger,s=i+o,u=o/2;return!0===l&&(s=2*i+2*o),r.createElement(\"pattern\",{id:t,width:s,height:s,patternUnits:\"userSpaceOnUse\"},r.createElement(\"rect\",{width:s,height:s,fill:n}),r.createElement(\"rect\",{x:u,y:u,width:i,height:i,fill:a}),l&&r.createElement(\"rect\",{x:1.5*o+i,y:1.5*o+i,width:i,height:i,fill:a}))}));Nu.displayName=\"PatternSquares\",Nu.propTypes={id:L().string.isRequired,color:L().string.isRequired,background:L().string.isRequired,size:L().number.isRequired,padding:L().number.isRequired,stagger:L().bool.isRequired},Nu.defaultProps={color:\"#000000\",background:\"#ffffff\",size:4,padding:4,stagger:!1};var zu={patternDots:Du,patternLines:ju,patternSquares:Nu};function Fu(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Zu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Bu(e,t,n[t])}))}return e}function Bu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qu=Zu({},Au,zu),Hu=function(e){var t=e.defs;return!t||t.length<1?null:r.createElement(\"defs\",null,t.map((function(e){var t=e.type,n=Fu(e,[\"type\"]);return qu[t]?r.createElement(qu[t],Zu({key:n.id},n)):null})))};Hu.propTypes={defs:L().arrayOf(L().shape({type:L().oneOf(Object.keys(qu)).isRequired,id:L().string.isRequired}))};var Uu=(0,r.memo)(Hu),Wu=function(e){var t=e.width,n=e.height,a=e.margin,i=e.defs,o=e.children,l=Js();return r.createElement(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",role:\"img\",width:t,height:n},r.createElement(Uu,{defs:i}),r.createElement(\"rect\",{width:t,height:n,fill:l.background}),r.createElement(\"g\",{transform:\"translate(\".concat(a.left,\",\").concat(a.top,\")\")},o))};Wu.propTypes={width:L().number.isRequired,height:L().number.isRequired,margin:L().shape({top:L().number.isRequired,left:L().number.isRequired}).isRequired,defs:L().array,children:L().oneOfType([L().arrayOf(L().node),L().node]).isRequired};var Vu=function(e){var t=e.size,n=e.color,a=e.borderWidth,i=e.borderColor;return r.createElement(\"circle\",{r:t/2,fill:n,stroke:i,strokeWidth:a,style:{pointerEvents:\"none\"}})};Vu.propTypes={size:L().number.isRequired,color:L().string.isRequired,borderWidth:L().number.isRequired,borderColor:L().string.isRequired};var Yu=(0,r.memo)(Vu),Gu=function(e){var t=e.x,n=e.y,a=e.symbol,i=e.size,o=e.datum,l=e.color,s=e.borderWidth,u=e.borderColor,c=e.label,f=e.labelTextAnchor,d=e.labelYOffset,p=e.theme;return r.createElement(\"g\",{transform:\"translate(\".concat(t,\", \").concat(n,\")\"),style:{pointerEvents:\"none\"}},r.createElement(a,{size:i,color:l,datum:o,borderWidth:s,borderColor:u}),c&&r.createElement(\"text\",{textAnchor:f,y:d,style:p.dots.text},c))};Gu.propTypes={x:L().number.isRequired,y:L().number.isRequired,datum:L().object.isRequired,size:L().number.isRequired,color:L().string.isRequired,borderWidth:L().number.isRequired,borderColor:L().string.isRequired,symbol:L().oneOfType([L().func,L().object]),label:L().oneOfType([L().string,L().number]),labelTextAnchor:L().oneOf([\"start\",\"middle\",\"end\"]),labelYOffset:L().number.isRequired,theme:L().shape({dots:ys.isRequired}).isRequired},Gu.defaultProps={symbol:Yu,labelTextAnchor:\"middle\",labelYOffset:-12};var $u=(0,r.memo)(Gu),Xu=function(e){var t=e.width,n=e.height,a=e.axis,i=e.scale,o=e.value,l=e.lineStyle,s=e.textStyle,u=e.legend,c=e.legendPosition,f=e.legendOffsetX,d=e.legendOffsetY,p=e.legendOrientation,h=Js(),m=0,g=0,y=0,v=0;\"y\"===a?(y=i(o),g=t):(m=i(o),v=n);var b=null;if(u){var x=function(e){var t=e.axis,n=e.width,r=e.height,a=e.position,i=e.offsetX,o=e.offsetY,l=e.orientation,s=0,u=0,c=\"vertical\"===l?-90:0,f=\"start\";if(\"x\"===t)switch(a){case\"top-left\":s=-i,u=o,f=\"end\";break;case\"top\":u=-o,f=\"horizontal\"===l?\"middle\":\"start\";break;case\"top-right\":s=i,u=o,f=\"horizontal\"===l?\"start\":\"end\";break;case\"right\":s=i,u=r/2,f=\"horizontal\"===l?\"start\":\"middle\";break;case\"bottom-right\":s=i,u=r-o,f=\"start\";break;case\"bottom\":u=r+o,f=\"horizontal\"===l?\"middle\":\"end\";break;case\"bottom-left\":u=r-o,s=-i,f=\"horizontal\"===l?\"end\":\"start\";break;case\"left\":s=-i,u=r/2,f=\"horizontal\"===l?\"end\":\"middle\"}else switch(a){case\"top-left\":s=i,u=-o,f=\"start\";break;case\"top\":s=n/2,u=-o,f=\"horizontal\"===l?\"middle\":\"start\";break;case\"top-right\":s=n-i,u=-o,f=\"horizontal\"===l?\"end\":\"start\";break;case\"right\":s=n+i,f=\"horizontal\"===l?\"start\":\"middle\";break;case\"bottom-right\":s=n-i,u=o,f=\"end\";break;case\"bottom\":s=n/2,u=o,f=\"horizontal\"===l?\"middle\":\"end\";break;case\"bottom-left\":s=i,u=o,f=\"horizontal\"===l?\"start\":\"end\";break;case\"left\":s=-i,f=\"horizontal\"===l?\"end\":\"middle\"}return{x:s,y:u,rotation:c,textAnchor:f}}({axis:a,width:t,height:n,position:c,offsetX:f,offsetY:d,orientation:p});b=r.createElement(\"text\",{transform:\"translate(\".concat(x.x,\", \").concat(x.y,\") rotate(\").concat(x.rotation,\")\"),textAnchor:x.textAnchor,dominantBaseline:\"central\",style:s},u)}return r.createElement(\"g\",{transform:\"translate(\".concat(m,\", \").concat(y,\")\")},r.createElement(\"line\",{x1:0,x2:g,y1:0,y2:v,stroke:h.markers.lineColor,strokeWidth:h.markers.lineStrokeWidth,style:l}),b)};Xu.propTypes={width:L().number.isRequired,height:L().number.isRequired,axis:L().oneOf([\"x\",\"y\"]).isRequired,scale:L().func.isRequired,value:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired,lineStyle:L().object,textStyle:L().object,legend:L().string,legendPosition:L().oneOf([\"top-left\",\"top\",\"top-right\",\"right\",\"bottom-right\",\"bottom\",\"bottom-left\",\"left\"]),legendOffsetX:L().number.isRequired,legendOffsetY:L().number.isRequired,legendOrientation:L().oneOf([\"horizontal\",\"vertical\"]).isRequired},Xu.defaultProps={legendPosition:\"top-right\",legendOffsetX:14,legendOffsetY:14,legendOrientation:\"horizontal\"};var Ku=(0,r.memo)(Xu);function Ju(){return Ju=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},Ju.apply(this,arguments)}var Qu=function(e){var t=e.markers,n=e.width,a=e.height,i=e.xScale,o=e.yScale;return t&&0!==t.length?t.map((function(e,t){return r.createElement(Ku,Ju({key:t},e,{width:n,height:a,scale:\"y\"===e.axis?o:i}))})):null};Qu.propTypes={width:L().number.isRequired,height:L().number.isRequired,xScale:L().func.isRequired,yScale:L().func.isRequired,markers:L().arrayOf(L().shape({axis:L().oneOf([\"x\",\"y\"]).isRequired,value:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired,lineStyle:L().object,textStyle:L().object}))};var ec=(0,r.memo)(Qu);var tc=function(){return(0,Ql.Z)((0,ts.Z)({margin:Hs}),(0,es.Z)({width:L().number.isRequired,height:L().number.isRequired,margin:Zs}),(0,ns.Z)((function(e,t){return e.width!==t.width||e.height!==t.height||!Jl()(e.margin,t.margin)}),(function(e){var t=Object.assign({},Hs,e.margin);return{margin:t,width:e.width-t.left-t.right,height:e.height-t.top-t.bottom,outerWidth:e.width,outerHeight:e.height}})))},nc=function(e,t){var n,r=Da()(e)?e:function(t){return Gt()(t,e)};return t&&(n=Da()(t)?t:Ii(t)),n?function(e){return n(r(e))}:r},rc=function(e){return Da()(e)?e:function(t){return t[e]}};function ac(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ic=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.srcKey,n=void 0===t?\"theme\":t,r=e.destKey,a=void 0===r?\"theme\":r;return(0,Ql.Z)((0,es.Z)(ac({},n,L().object)),(0,ns.Z)([n],(function(e){return ac({},a,ks(ws,e[n]))})))};function oc(e){return oc=\"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},oc(e)}function lc(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function sc(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function uc(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 cc(e,t){return!t||\"object\"!==oc(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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},fc(e)}function dc(e,t){return dc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},dc(e,t)}var pc={position:\"relative\"},hc=function(e){var t=e.theme,n=e.renderWrapper,a=void 0===n||n,i=e.children,o=e.animate,l=e.motionStiffness,s=e.motionDamping,u=(0,r.useRef)(null),c=function(e){var t=Ht((0,r.useState)({isVisible:!1,content:null,position:{}}),2),n=t[0],a=t[1],i=(0,r.useCallback)((function(e,t,n){var r=Ht(t,2),i=r[0],o=r[1];a({isVisible:!0,position:[i,o],anchor:n,content:e})}),[]),o=(0,r.useCallback)((function(t,n,r){var i=e.current.getBoundingClientRect(),o=n.clientX-i.left,l=n.clientY-i.top;\"left\"!==r&&\"right\"!==r||(r=o<i.width/2?\"right\":\"left\"),a({isVisible:!0,position:[o,l],anchor:r,content:t})}),[e]);return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:(0,r.useCallback)((function(){a({isVisible:!1,content:null})})),isTooltipVisible:n.isVisible,tooltipPosition:n.position,tooltipAnchor:n.anchor,tooltipContent:n.content}}(u),f=c.showTooltipAt,d=c.showTooltipFromEvent,p=c.hideTooltip,h=c.isTooltipVisible,m=c.tooltipContent,g=c.tooltipPosition,y=c.tooltipAnchor;return r.createElement(Ks,{theme:t},r.createElement(du,{animate:o,stiffness:l,damping:s},r.createElement(qt.Provider,{value:{showTooltipAt:f,showTooltipFromEvent:d,hideTooltip:p}},!0===a&&r.createElement(\"div\",{style:pc,ref:u},i,h&&r.createElement(Ot,{position:g,anchor:y},m)),!0!==a&&i)))};hc.propTypes={children:L().node.isRequired,theme:L().object,animate:L().bool,motionStiffness:L().number,motionDamping:L().number,renderWrapper:L().bool};var mc=function(e){return function(t){function n(){return sc(this,n),cc(this,fc(n).apply(this,arguments))}var a,i,o;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dc(e,t)}(n,t),a=n,i=[{key:\"render\",value:function(){var t=this.props,n=t.theme,a=t.renderWrapper,i=lc(t,[\"theme\",\"renderWrapper\"]);return r.createElement(hc,{theme:n,renderWrapper:a,animate:i.animate,motionStiffness:i.motionStiffness,motionDamping:i.motionDamping},r.createElement(e,i))}}],i&&uc(a.prototype,i),o&&uc(a,o),n}(r.Component)},gc=function(e,t,n,r,a,i){return e<=a&&a<=e+n&&t<=i&&i<=t+r},yc=function(e,t){var n=t.clientX,r=t.clientY,a=e.getBoundingClientRect();return[n-a.left,r-a.top]};function vc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){bc(e,t,n[t])}))}return e}function bc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}var wc=Object.keys(Au),_c=Object.keys(zu),kc=function(e,t,n){if(\"*\"===e)return!0;if(Da()(e))return e(t);if(os()(e)){var r=n?Gt()(t,n):t;return Jl()(ss()(r,Object.keys(e)),e)}return!1},Tc=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.dataKey,i=r.colorKey,o=void 0===i?\"color\":i,l=r.targetKey,s=void 0===l?\"fill\":l,u=[],c={};return e.length&&t.length&&(u=xc(e),t.forEach((function(t){for(var r=function(r){var i=n[r],l=i.id,f=i.match;if(kc(f,t,a)){var d=e.find((function(e){return e.id===l}));if(d)if(_c.includes(d.type))if(\"inherit\"===d.background||\"inherit\"===d.color){var p=Gt()(t,o),h=d.background,m=d.color,g=l;\"inherit\"===d.background&&(g=\"\".concat(g,\".bg.\").concat(p),h=p),\"inherit\"===d.color&&(g=\"\".concat(g,\".fg.\").concat(p),m=p),Xt()(t,s,\"url(#\".concat(g,\")\")),c[g]||(u.push(vc({},d,{id:g,background:h,color:m})),c[g]=1)}else Xt()(t,s,\"url(#\".concat(l,\")\"));else if(wc.includes(d.type)){if(d.colors.map((function(e){return e.color})).includes(\"inherit\")){var y=Gt()(t,o),v=l,b=vc({},d,{colors:d.colors.map((function(e,t){return\"inherit\"!==e.color?e:(v=\"\".concat(v,\".\").concat(t,\".\").concat(y),vc({},e,{color:\"inherit\"===e.color?y:e.color}))}))});b.id=v,Xt()(t,s,\"url(#\".concat(v,\")\")),c[v]||(u.push(b),c[v]=1)}else Xt()(t,s,\"url(#\".concat(l,\")\"))}return\"break\"}},i=0;i<n.length;i++){if(\"break\"===r(i))break}}))),u},Mc=n(29208),Sc=n.n(Mc),Ec=n(8146),Cc=n.n(Ec);function Oc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ac={nivo:[\"#e8c1a0\",\"#f47560\",\"#f1e15b\",\"#e8a838\",\"#61cdbb\",\"#97e3d5\"],category10:Vr,accent:Yr,dark2:Gr,paired:$r,pastel1:Xr,pastel2:Kr,set1:Jr,set2:Qr,set3:ea},Dc=Object.keys(Ac),Pc={brown_blueGreen:Vn,purpleRed_green:Gn,pink_yellowGreen:Xn,purple_orange:Jn,red_blue:er,red_grey:nr,red_yellow_blue:ar,red_yellow_green:or,spectral:sr},Rc=Object.keys(Pc),Lc={blues:cr,greens:dr,greys:hr,oranges:gr,purples:vr,reds:xr,blue_green:_r,blue_purple:Tr,green_blue:Sr,orange_red:Cr,purple_blue_green:Ar,purple_blue:Pr,purple_red:Lr,red_purple:jr,yellow_green_blue:zr,yellow_green:Zr,yellow_orange_brown:qr,yellow_orange_red:Ur},Ic=Object.keys(Lc),jc=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Oc(e,t,n[t])}))}return e}({},Ac,Pc,Lc),Nc=Object.keys(jc),zc={brown_blueGreen:Yn,purpleRed_green:$n,pink_yellowGreen:Kn,purple_orange:Qn,red_blue:tr,red_grey:rr,red_yellow_blue:ir,red_yellow_green:lr,spectral:ur,blues:fr,greens:pr,greys:mr,oranges:yr,purples:br,reds:wr,viridis:na,inferno:aa,magma:ra,plasma:ia,warm:wa,cool:_a,cubehelixDefault:Ma,blue_green:kr,blue_purple:Mr,green_blue:Er,orange_red:Or,purple_blue_green:Dr,purple_blue:Rr,purple_red:Ir,red_purple:Nr,yellow_green_blue:Fr,yellow_green:Br,yellow_orange_brown:Hr,yellow_orange_red:Wr,rainbow:Ta,sinebow:Oa},Fc=(Object.keys(zc),function(e,t){if(\"function\"==typeof e)return e;var n=\"function\"==typeof t?t:function(e){return Sc()(e,t)};if(Array.isArray(e)){var r=rn(e),a=function(e){return r(n(e))};return a.scale=r,a}if(Cc()(e)){if(void 0!==e.datum)return function(t){return Sc()(t,e.datum)};if(void 0!==e.scheme){if(function(e){return Dc.includes(e)}(e.scheme)){var i=rn(jc[e.scheme]),o=function(e){return i(n(e))};return o.scale=i,o}if(function(e){return Rc.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error(\"Invalid size '\".concat(e.size,\"' for diverging color scheme '\").concat(e.scheme,\"', must be between 3~11\"));var l=rn(jc[e.scheme][e.size||11]),s=function(e){return l(n(e))};return s.scale=l,s}if(function(e){return Ic.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error(\"Invalid size '\".concat(e.size,\"' for sequential color scheme '\").concat(e.scheme,\"', must be between 3~9\"));var u=rn(jc[e.scheme][e.size||9]),c=function(e){return u(n(e))};return c.scale=u,c}}throw new Error(\"Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property\")}return function(){return e}}),Zc=function(e,t){return(0,r.useMemo)((function(){return Fc(e,t)}),[e,t])};function Bc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var qc=function(e,t){if(\"function\"==typeof e)return function(t){return e(t)};if(Cc()(e)){if(void 0!==e.theme){if(void 0===t)throw new Error(\"Unable to use color from theme as no theme was provided\");var n=Sc()(t,e.theme);if(void 0===n)throw new Error(\"Color from theme is undefined at path: '\".concat(e.theme,\"'\"));return function(){return n}}if(void 0!==e.from){var r=function(t){return Sc()(t,e.from)};if(Array.isArray(e.modifiers)){var a=[],i=!0,o=!1,l=void 0;try{for(var s,u=function(){var e=Bc(s.value,2),t=e[0],n=e[1];if(\"brighter\"===t)a.push((function(e){return e.brighter(n)}));else if(\"darker\"===t)a.push((function(e){return e.darker(n)}));else{if(\"opacity\"!==t)throw new Error(\"Invalid color modifier: '\".concat(t,\"', must be one of: 'brighter', 'darker', 'opacity'\"));a.push((function(e){return e.opacity=n,e}))}},c=e.modifiers[Symbol.iterator]();!(i=(s=c.next()).done);i=!0)u()}catch(e){o=!0,l=e}finally{try{i||null==c.return||c.return()}finally{if(o)throw l}}return 0===a.length?r:function(e){return a.reduce((function(e,t){return t(e)}),Cn(r(e))).toString()}}return r}throw new Error(\"Invalid color spec, you should either specify 'theme' or 'from' when using a config object\")}return function(){return e}},Hc=function(e,t){return(0,r.useMemo)((function(){return qc(e,t)}),[e,t])},Uc=L().oneOfType([L().func,L().arrayOf(L().string),L().shape({scheme:L().oneOf(Nc).isRequired,size:L().number}),L().shape({datum:L().string.isRequired}),L().string]),Wc=L().oneOfType([L().func,L().string]),Vc=L().oneOfType([L().string,L().func,L().shape({theme:L().string.isRequired}),L().shape({from:L().string.isRequired,modifiers:L().arrayOf(L().array)})]);var Yc=n(81763),Gc=n.n(Yc),$c=Bi((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));$c.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Bi((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):$c:null};var Xc=$c,Kc=($c.range,Bi((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*qi)}),(function(e,t){return(t-e)/qi}),(function(e){return e.getUTCSeconds()}))),Jc=Kc,Qc=(Kc.range,Bi((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*qi)}),(function(e,t){e.setTime(+e+t*Hi)}),(function(e,t){return(t-e)/Hi}),(function(e){return e.getMinutes()}))),ef=Qc,tf=(Qc.range,Bi((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Hi)}),(function(e,t){return(t-e)/Hi}),(function(e){return e.getUTCMinutes()}))),nf=tf,rf=(tf.range,Bi((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*qi-e.getMinutes()*Hi)}),(function(e,t){e.setTime(+e+t*Ui)}),(function(e,t){return(t-e)/Ui}),(function(e){return e.getHours()}))),af=rf,of=(rf.range,Bi((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Ui)}),(function(e,t){return(t-e)/Ui}),(function(e){return e.getUTCHours()}))),lf=of,sf=(of.range,Bi((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),uf=sf,cf=(sf.range,Bi((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),ff=cf;cf.range;function df(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pf=function(e){var t=e.bandwidth();if(0===t)return e;var n=t/2;return e.round()&&(n=Math.round(n)),function(t){return e(t)+n}},hf={millisecond:[Xc,Xc],second:[Jc,Jc],minute:[ef,nf],hour:[af,lf],day:[po,no],week:[ao,Gi],sunday:[ao,Gi],monday:[io,$i],tuesday:[oo,Xi],wednesday:[lo,Ki],thursday:[so,Ji],friday:[uo,Qi],saturday:[co,eo],month:[uf,ff],year:[mo,yo]},mf=Object.keys(hf),gf=new RegExp(\"^every\\\\s*(\\\\d+)?\\\\s*(\".concat(mf.join(\"|\"),\")s?$\"),\"i\"),yf=function(e,t){if(Array.isArray(t))return t;if(e.ticks){if(void 0===t)return e.ticks();if(Gc()(t))return e.ticks(t);if(\"string\"==typeof t){var n=t.match(gf);if(n){var r=hf[n[2]][e.useUTC?1:0];return void 0===n[1]?e.ticks(r):e.ticks(r.every(Number(n[1])))}throw new Error(\"Invalid tickValues: \".concat(t))}}return e.domain()},vf=function(e){var t,n=e.axis,r=e.scale,a=e.ticksPosition,i=e.tickValues,o=e.tickSize,l=e.tickPadding,s=e.tickRotation,u=e.engine,c=void 0===u?\"svg\":u,f=yf(r,i),d=Iu[c],p=r.bandwidth?pf(r):r,h={lineX:0,lineY:0},m={textX:0,textY:0},g=d.align.center,y=d.baseline.center;\"x\"===n?(t=function(e){return{x:p(e),y:0}},h.lineY=o*(\"after\"===a?1:-1),m.textY=(o+l)*(\"after\"===a?1:-1),y=\"after\"===a?d.baseline.top:d.baseline.bottom,0===s?g=d.align.center:\"after\"===a&&s<0||\"before\"===a&&s>0?(g=d.align.right,y=d.baseline.center):(\"after\"===a&&s>0||\"before\"===a&&s<0)&&(g=d.align.left,y=d.baseline.center)):(t=function(e){return{x:0,y:p(e)}},h.lineX=o*(\"after\"===a?1:-1),m.textX=(o+l)*(\"after\"===a?1:-1),g=\"after\"===a?d.align.left:d.align.right);var v=f.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){df(e,t,n[t])}))}return e}({key:e,value:e},t(e),h,m)}));return{ticks:v,textAlign:g,textBaseline:y}},bf=function(e,t){if(!e||\"function\"==typeof e)return e;if(\"time\"===t.type){var n=_o(e);return function(e){return n(new Date(e))}}return Ii(e)},xf=function(e){var t,n=e.width,r=e.height,a=e.scale,i=e.axis,o=e.values,l=Array.isArray(o)?o:void 0,s=Gc()(o)?o:void 0,u=l||yf(a,s),c=a.bandwidth?pf(a):a;return\"x\"===i?t=u.map((function(e){return{key:\"\".concat(e),x1:c(e),x2:c(e),y1:0,y2:r}})):\"y\"===i&&(t=u.map((function(e){return{key:\"\".concat(e),x1:0,x2:n,y1:c(e),y2:c(e)}}))),t},wf={ticksPosition:L().oneOf([\"before\",\"after\"]),tickValues:L().oneOfType([L().number,L().arrayOf(L().oneOfType([L().number,L().string,L().instanceOf(Date)])),L().string]),tickSize:L().number,tickPadding:L().number,tickRotation:L().number,format:L().oneOfType([L().func,L().string]),renderTick:L().func,legend:L().node,legendPosition:L().oneOf([\"start\",\"middle\",\"end\"]),legendOffset:L().number},_f=L().shape(wf);function kf(){return kf=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},kf.apply(this,arguments)}var Tf=function(e){var t=e.value,n=e.x,a=e.y,i=e.opacity,o=e.rotate,l=e.format,s=e.lineX,u=e.lineY,c=e.onClick,f=e.textX,d=e.textY,p=e.textBaseline,h=e.textAnchor,m=Js(),g=t;void 0!==l&&(g=l(g));var y={opacity:i};return c&&(y.cursor=\"pointer\"),r.createElement(\"g\",kf({transform:\"translate(\".concat(n,\",\").concat(a,\")\")},c?{onClick:function(e){return c(e,g)}}:{},{style:y}),r.createElement(\"line\",{x1:0,x2:s,y1:0,y2:u,style:m.axis.ticks.line}),r.createElement(\"text\",{dominantBaseline:p,textAnchor:h,transform:\"translate(\".concat(f,\",\").concat(d,\") rotate(\").concat(o,\")\"),style:m.axis.ticks.text},g))};Tf.propTypes={value:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired,format:L().func,x:L().number.isRequired,y:L().number.isRequired,lineX:L().number.isRequired,lineY:L().number.isRequired,textX:L().number.isRequired,textY:L().number.isRequired,textBaseline:L().string.isRequired,textAnchor:L().string.isRequired,opacity:L().number.isRequired,rotate:L().number.isRequired,onClick:L().func},Tf.defaultProps={opacity:1,rotate:0};var Mf=(0,r.memo)(Tf);function Sf(){return Sf=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},Sf.apply(this,arguments)}function Ef(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Cf(e,t,n[t])}))}return e}function Cf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Of=function(){return{rotate:0,opacity:0,x:0,y:0}},Af=function(e){return function(t){var n=t.style,r=n.x,a=n.y;return{rotate:n.rotate,opacity:(0,Tt.ST)(0,e),x:(0,Tt.ST)(r.val,e),y:(0,Tt.ST)(a.val,e)}}},Df=function(e){var t=e.axis,n=e.scale,a=e.x,i=e.y,o=e.length,l=e.ticksPosition,s=e.tickValues,u=e.tickSize,c=e.tickPadding,f=e.tickRotation,d=e.format,p=e.renderTick,h=e.legend,m=e.legendPosition,g=e.legendOffset,y=e.onClick,v=Js(),b=pu(),x=b.animate,w=b.springConfig,_=(0,r.useMemo)((function(){return bf(d,n)}),[d,n]),k=vf({axis:t,scale:n,ticksPosition:l,tickValues:s,tickSize:u,tickPadding:c,tickRotation:f}),T=k.ticks,M=k.textAlign,S=k.textBaseline,E=null;if(void 0!==h){var C,O=0,A=0,D=0;\"y\"===t?(D=-90,O=g,\"start\"===m?(C=\"start\",A=o):\"middle\"===m?(C=\"middle\",A=o/2):\"end\"===m&&(C=\"end\")):(A=g,\"start\"===m?C=\"start\":\"middle\"===m?(C=\"middle\",O=o/2):\"end\"===m&&(C=\"end\",O=o)),E=r.createElement(\"text\",{transform:\"translate(\".concat(O,\", \").concat(A,\") rotate(\").concat(D,\")\"),textAnchor:C,style:Ef({dominantBaseline:\"central\"},v.axis.legend.text)},h)}return!0!==x?r.createElement(\"g\",{transform:\"translate(\".concat(a,\",\").concat(i,\")\")},T.map((function(e,t){return r.createElement(p,Ef({tickIndex:t,format:_,rotate:f,textBaseline:S,textAnchor:M},e,y?{onClick:y}:{}))})),r.createElement(\"line\",{style:v.axis.domain.line,x1:0,x2:\"x\"===t?o:0,y1:0,y2:\"x\"===t?0:o}),E):r.createElement(Tt.y_,{style:{x:(0,Tt.ST)(a,w),y:(0,Tt.ST)(i,w)}},(function(e){return r.createElement(\"g\",{transform:\"translate(\".concat(e.x,\",\").concat(e.y,\")\")},r.createElement(Tt.bg,{willEnter:Of,willLeave:Af(w),styles:T.map((function(e){return{key:\"\".concat(e.key),data:e,style:{opacity:(0,Tt.ST)(1,w),x:(0,Tt.ST)(e.x,w),y:(0,Tt.ST)(e.y,w),rotate:(0,Tt.ST)(f,w)}}}))},(function(e){return r.createElement(r.Fragment,null,e.map((function(e,t){var n=e.style,a=e.data;return r.createElement(p,Ef({tickIndex:t,format:_,textBaseline:S,textAnchor:M},a,n,y?{onClick:y}:{}))})))})),r.createElement(Tt.y_,{style:{x2:(0,Tt.ST)(\"x\"===t?o:0,w),y2:(0,Tt.ST)(\"x\"===t?0:o,w)}},(function(e){return r.createElement(\"line\",Sf({style:v.axis.domain.line,x1:0,y1:0},e))})),E)}))};Df.propTypes={axis:L().oneOf([\"x\",\"y\"]).isRequired,scale:L().func.isRequired,x:L().number.isRequired,y:L().number.isRequired,length:L().number.isRequired,ticksPosition:L().oneOf([\"before\",\"after\"]).isRequired,tickValues:wf.tickValues,tickSize:L().number.isRequired,tickPadding:L().number.isRequired,tickRotation:L().number.isRequired,format:L().oneOfType([L().func,L().string]),renderTick:L().func.isRequired,legend:L().node,legendPosition:L().oneOf([\"start\",\"middle\",\"end\"]).isRequired,legendOffset:L().number.isRequired,onClick:L().func},Df.defaultProps={x:0,y:0,tickSize:5,tickPadding:5,tickRotation:0,renderTick:function(e){return r.createElement(Mf,e)},legendPosition:\"end\",legendOffset:0};var Pf=(0,r.memo)(Df);function Rf(){return Rf=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},Rf.apply(this,arguments)}var Lf=[\"top\",\"right\",\"bottom\",\"left\"],If=function(e){var t=e.xScale,n=e.yScale,a=e.width,i=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return Lf.map((function(e){var l=o[e];if(!l)return null;var s=\"top\"===e||\"bottom\"===e,u=\"top\"===e||\"left\"===e?\"before\":\"after\";return r.createElement(Pf,Rf({key:e},l,{axis:s?\"x\":\"y\",x:\"right\"===e?a:0,y:\"bottom\"===e?i:0,scale:s?t:n,length:s?a:i,ticksPosition:u}))}))};If.propTypes={xScale:L().func,yScale:L().func,width:L().number.isRequired,height:L().number.isRequired,top:_f,right:_f,bottom:_f,left:_f};var jf=(0,r.memo)(If),Nf=function(e){return r.createElement(\"line\",e)};Nf.propTypes={x1:L().number.isRequired,x2:L().number.isRequired,y1:L().number.isRequired,y2:L().number.isRequired},Nf.defaultProps={x1:0,x2:0,y1:0,y2:0};var zf=(0,r.memo)(Nf);function Ff(){return Ff=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},Ff.apply(this,arguments)}var Zf=function(e){var t=e.type,n=e.lines,a=Js(),i=pu(),o=i.animate,l=i.springConfig,s=(0,r.useMemo)((function(){return function(e){var n=e.style;return{opacity:0,x1:\"x\"===t?0:n.x1.val,x2:\"x\"===t?0:n.x2.val,y1:\"y\"===t?0:n.y1.val,y2:\"y\"===t?0:n.y2.val}}}),[t]),u=(0,r.useMemo)((function(){return function(e){var t=e.style;return{opacity:(0,Tt.ST)(0,l),x1:(0,Tt.ST)(t.x1.val,l),x2:(0,Tt.ST)(t.x2.val,l),y1:(0,Tt.ST)(t.y1.val,l),y2:(0,Tt.ST)(t.y2.val,l)}}}),[l]);return o?r.createElement(Tt.bg,{willEnter:s,willLeave:u,styles:n.map((function(e){return{key:e.key,style:{opacity:(0,Tt.ST)(1,l),x1:(0,Tt.ST)(e.x1||0,l),x2:(0,Tt.ST)(e.x2||0,l),y1:(0,Tt.ST)(e.y1||0,l),y2:(0,Tt.ST)(e.y2||0,l)}}}))},(function(e){return r.createElement(\"g\",null,e.map((function(e){var t=e.key,n=e.style;return r.createElement(zf,Ff({key:t},a.grid.line,n))})))})):r.createElement(\"g\",null,n.map((function(e){return r.createElement(zf,Ff({key:e.key},e,a.grid.line))})))};Zf.propTypes={type:L().oneOf([\"x\",\"y\"]).isRequired,lines:L().arrayOf(L().shape({key:L().string.isRequired,x1:L().number,x2:L().number,y1:L().number,y2:L().number})).isRequired};var Bf=(0,r.memo)(Zf),qf=function(e){var t=e.width,n=e.height,a=e.xScale,i=e.yScale,o=e.xValues,l=e.yValues,s=(0,r.useMemo)((function(){return!!a&&xf({width:t,height:n,scale:a,axis:\"x\",values:o})}),[a,o]),u=!!i&&xf({width:t,height:n,scale:i,axis:\"y\",values:l});return r.createElement(r.Fragment,null,s&&r.createElement(Bf,{type:\"x\",lines:s}),u&&r.createElement(Bf,{type:\"y\",lines:u}))};qf.propTypes={width:L().number.isRequired,height:L().number.isRequired,xScale:L().func,yScale:L().func,xValues:L().oneOfType([L().number,L().arrayOf(L().oneOfType([L().number,L().string,L().instanceOf(Date)]))]),yValues:L().oneOfType([L().number,L().arrayOf(L().oneOfType([L().number,L().string,L().instanceOf(Date)]))])};var Hf=(0,r.memo)(qf),Uf=function(e){return e*Math.PI/180};function Wf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vf=[\"top\",\"right\",\"bottom\",\"left\"],Yf=function(e,t){var n=t.xScale,r=t.yScale,a=t.width,i=t.height,o=t.top,l=t.right,s=t.bottom,u=t.left,c=t.theme,f={top:o,right:l,bottom:s,left:u};Vf.forEach((function(t){var o=f[t];if(!o)return null;var l=\"top\"===t||\"bottom\"===t,s=\"top\"===t||\"left\"===t?\"before\":\"after\",u=l?n:r,d=bf(o.format,u);!function(e,t){var n=t.axis,r=t.scale,a=t.x,i=void 0===a?0:a,o=t.y,l=void 0===o?0:o,s=t.length,u=t.ticksPosition,c=t.tickValues,f=t.tickSize,d=void 0===f?5:f,p=t.tickPadding,h=void 0===p?5:p,m=t.tickRotation,g=void 0===m?0:m,y=t.format,v=t.legend,b=t.legendPosition,x=void 0===b?\"end\":b,w=t.legendOffset,_=void 0===w?0:w,k=t.theme,T=vf({axis:n,scale:r,ticksPosition:u,tickValues:c,tickSize:d,tickPadding:h,tickRotation:g,engine:\"canvas\"}),M=T.ticks,S=T.textAlign,E=T.textBaseline;if(e.save(),e.translate(i,l),e.textAlign=S,e.textBaseline=E,e.font=\"\".concat(k.axis.ticks.text.fontSize,\"px \").concat(k.axis.ticks.text.fontFamily),k.axis.domain.line.strokeWidth>0&&(e.lineWidth=k.axis.domain.line.strokeWidth,e.lineCap=\"square\",e.strokeStyle=k.axis.domain.line.stroke,e.beginPath(),e.moveTo(0,0),e.lineTo(\"x\"===n?s:0,\"x\"===n?0:s),e.stroke()),M.forEach((function(t){k.axis.ticks.line.strokeWidth>0&&(e.lineWidth=k.axis.ticks.line.strokeWidth,e.lineCap=\"square\",e.strokeStyle=k.axis.ticks.line.stroke,e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var n=void 0!==y?y(t.value):t.value;e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(Uf(g)),e.fillStyle=k.axis.ticks.text.fill,e.fillText(n,0,0),e.restore()})),void 0!==v){var C,O=0,A=0,D=0;\"y\"===n?(D=-90,O=_,\"start\"===x?(C=\"start\",A=s):\"middle\"===x?(C=\"center\",A=s/2):\"end\"===x&&(C=\"end\")):(A=_,\"start\"===x?C=\"start\":\"middle\"===x?(C=\"center\",O=s/2):\"end\"===x&&(C=\"end\",O=s)),e.translate(O,A),e.rotate(Uf(D)),e.font=\"\".concat(k.axis.legend.text.fontWeight?\"\".concat(k.axis.legend.text.fontWeight,\" \"):\"\").concat(k.axis.legend.text.fontSize,\"px \").concat(k.axis.legend.text.fontFamily),e.fillStyle=k.axis.legend.text.fill,e.textAlign=C,e.textBaseline=\"middle\",e.fillText(v,0,0)}e.restore()}(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Wf(e,t,n[t])}))}return e}({},o,{axis:l?\"x\":\"y\",x:\"right\"===t?a:0,y:\"bottom\"===t?i:0,scale:u,format:d,length:l?a:i,ticksPosition:s,theme:c}))}))},Gf=function(e,t){var n=t.width,r=t.height,a=t.scale,i=t.axis,o=t.values;xf({width:n,height:r,scale:a,axis:i,values:o}).forEach((function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()}))},$f=\"row\",Xf=\"column\",Kf=\"top\",Jf=\"top-right\",Qf=\"right\",ed=\"bottom-right\",td=\"bottom\",nd=\"bottom-left\",rd=\"left\",ad=\"top-left\",id=\"center\",od=\"left-to-right\",ld=\"right-to-left\",sd=\"top-to-bottom\",ud=\"bottom-to-top\";function cd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fd=L().shape({on:L().oneOfType([L().oneOf([\"hover\"])]).isRequired,style:L().shape({itemTextColor:L().string,itemBackground:L().string,itemOpacity:L().number,symbolSize:L().number,symbolBorderWidth:L().number,symbolBorderColor:L().string}).isRequired}),dd={symbolShape:L().oneOfType([L().string,L().func]),symbolSize:L().number,symbolSpacing:L().number,symbolBorderWidth:L().number,symbolBorderColor:L().string},pd={onClick:L().func,onMouseEnter:L().func,onMouseLeave:L().func},hd=L().shape({id:L().oneOfType([L().string,L().number]).isRequired,label:L().oneOfType([L().string,L().number]).isRequired,color:L().string.isRequired,fill:L().string}),md=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){cd(e,t,n[t])}))}return e}({data:L().arrayOf(hd),anchor:L().oneOf([Kf,Jf,Qf,ed,td,nd,rd,ad,id]).isRequired,translateX:L().number,translateY:L().number,direction:L().oneOf([$f,Xf]).isRequired,itemsSpacing:L().number,itemWidth:L().number.isRequired,itemHeight:L().number.isRequired,itemDirection:L().oneOf([od,ld,sd,ud]),itemTextColor:L().string,itemBackground:L().string,itemOpacity:L().number},dd,pd,{effects:L().arrayOf(fd)});function gd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yd={top:0,right:0,bottom:0,left:0},vd=function(e){var t,n=e.direction,r=e.itemsSpacing,a=e.padding,i=e.itemCount,o=e.itemWidth,l=e.itemHeight;if(Gc()(a))t={top:a,right:a,bottom:a,left:a};else{if(!os()(a))throw new TypeError(\"Invalid property padding, must be one of: number, object\");t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){gd(e,t,n[t])}))}return e}({},yd,a)}var s=t.left+t.right,u=t.top+t.bottom,c=o+s,f=l+u,d=(i-1)*r;return n===$f?c=o*i+d+s:n===Xf&&(f=l*i+d+u),{width:c,height:f,padding:t}},bd=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,a=e.containerWidth,i=e.containerHeight,o=e.width,l=e.height,s=n,u=r;switch(t){case Kf:s+=(a-o)/2;break;case Jf:s+=a-o;break;case Qf:s+=a-o,u+=(i-l)/2;break;case ed:s+=a-o,u+=i-l;break;case td:s+=(a-o)/2,u+=i-l;break;case nd:u+=i-l;break;case rd:u+=(i-l)/2;break;case id:s+=(a-o)/2,u+=(i-l)/2}return{x:s,y:u}},xd=function(e){var t,n,r,a,i,o,l=e.direction,s=e.justify,u=e.symbolSize,c=e.symbolSpacing,f=e.width,d=e.height;switch(l){case od:t=0,n=(d-u)/2,a=d/2,o=\"central\",!0===s?(r=f,i=\"end\"):(r=u+c,i=\"start\");break;case ld:t=f-u,n=(d-u)/2,a=d/2,o=\"central\",!0===s?(r=0,i=\"start\"):(r=f-u-c,i=\"end\");break;case sd:t=(f-u)/2,n=0,r=f/2,i=\"middle\",!0===s?(a=d,o=\"alphabetic\"):(a=u+c,o=\"text-before-edge\");break;case ud:t=(f-u)/2,n=d-u,r=f/2,i=\"middle\",!0===s?(a=0,o=\"text-before-edge\"):(a=d-u-c,o=\"alphabetic\")}return{symbolX:t,symbolY:n,labelX:r,labelY:a,labelAnchor:i,labelAlignment:o}},wd={x:L().number.isRequired,y:L().number.isRequired,size:L().number.isRequired,fill:L().string.isRequired,borderWidth:L().number.isRequired,borderColor:L().string.isRequired},_d={borderWidth:0,borderColor:\"transparent\"};function kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ad(e,t,n[t])}))}return e}function Td(e){return Td=\"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},Td(e)}function Md(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function Sd(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 Ed(e,t){return!t||\"object\"!==Td(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 Cd(e){return Cd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Cd(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Od(e,t)}function Ad(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dd=function(e){function t(){return Md(this,t),Ed(this,Cd(t).apply(this,arguments))}var n,a,i;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}(t,e),n=t,(a=[{key:\"render\",value:function(){var e=this.props,t=e.x,n=e.y,a=e.size,i=e.fill,o=e.borderWidth,l=e.borderColor;return r.createElement(\"circle\",{r:a/2,cx:t+a/2,cy:n+a/2,fill:i,strokeWidth:o,stroke:l,style:{pointerEvents:\"none\"}})}}])&&Sd(n.prototype,a),i&&Sd(n,i),t}(r.PureComponent);function Pd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Fd(e,t,n[t])}))}return e}function Rd(e){return Rd=\"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},Rd(e)}function Ld(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function Id(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 jd(e,t){return!t||\"object\"!==Rd(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 Nd(e){return Nd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Nd(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zd(e,t)}function Fd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ad(Dd,\"propTypes\",kd({},wd)),Ad(Dd,\"defaultProps\",kd({},_d));var Zd=function(e){function t(){return Ld(this,t),jd(this,Nd(t).apply(this,arguments))}var n,a,i;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}(t,e),n=t,(a=[{key:\"render\",value:function(){var e=this.props,t=e.x,n=e.y,a=e.size,i=e.fill,o=e.borderWidth,l=e.borderColor;return r.createElement(\"g\",{transform:\"translate(\".concat(t,\",\").concat(n,\")\")},r.createElement(\"path\",{d:\"\\n M\".concat(a/2,\" 0\\n L\").concat(.8*a,\" \").concat(a/2,\"\\n L\").concat(a/2,\" \").concat(a,\"\\n L\").concat(.2*a,\" \").concat(a/2,\"\\n L\").concat(a/2,\" 0\\n \"),fill:i,strokeWidth:o,stroke:l,style:{pointerEvents:\"none\"}}))}}])&&Id(n.prototype,a),i&&Id(n,i),t}(r.PureComponent);function Bd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Gd(e,t,n[t])}))}return e}function qd(e){return qd=\"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},qd(e)}function Hd(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function Ud(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 Wd(e,t){return!t||\"object\"!==qd(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 Vd(e){return Vd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Vd(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Yd(e,t)}function Gd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Fd(Zd,\"propTypes\",Pd({},wd)),Fd(Zd,\"defaultProps\",Pd({},_d));var $d=function(e){function t(){return Hd(this,t),Wd(this,Vd(t).apply(this,arguments))}var n,a,i;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yd(e,t)}(t,e),n=t,(a=[{key:\"render\",value:function(){var e=this.props,t=e.x,n=e.y,a=e.size,i=e.fill,o=e.borderWidth,l=e.borderColor;return r.createElement(\"rect\",{x:t,y:n,fill:i,strokeWidth:o,stroke:l,width:a,height:a,style:{pointerEvents:\"none\"}})}}])&&Ud(n.prototype,a),i&&Ud(n,i),t}(r.PureComponent);function Xd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){rp(e,t,n[t])}))}return e}function Kd(e){return Kd=\"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},Kd(e)}function Jd(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function Qd(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 ep(e,t){return!t||\"object\"!==Kd(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 tp(e){return tp=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},tp(e)}function np(e,t){return np=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},np(e,t)}function rp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Gd($d,\"propTypes\",Bd({},wd)),Gd($d,\"defaultProps\",Bd({},_d));var ap=function(e){function t(){return Jd(this,t),ep(this,tp(t).apply(this,arguments))}var n,a,i;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}(t,e),n=t,(a=[{key:\"render\",value:function(){var e=this.props,t=e.x,n=e.y,a=e.size,i=e.fill,o=e.borderWidth,l=e.borderColor;return r.createElement(\"g\",{transform:\"translate(\".concat(t,\",\").concat(n,\")\")},r.createElement(\"path\",{d:\"\\n M\".concat(a/2,\" 0\\n L\").concat(a,\" \").concat(a,\"\\n L0 \").concat(a,\"\\n L\").concat(a/2,\" 0\\n \"),fill:i,strokeWidth:o,stroke:l,style:{pointerEvents:\"none\"}}))}}])&&Qd(n.prototype,a),i&&Qd(n,i),t}(r.PureComponent);function ip(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){op(e,t,n[t])}))}return e}function op(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}rp(ap,\"propTypes\",Xd({},wd)),rp(ap,\"defaultProps\",Xd({},_d));var sp={circle:Dd,diamond:Zd,square:$d,triangle:ap},up=function(e){var t,n=e.x,a=e.y,i=e.width,o=e.height,l=e.data,s=e.direction,u=e.justify,c=e.textColor,f=e.background,d=e.opacity,p=e.symbolShape,h=e.symbolSize,m=e.symbolSpacing,g=e.symbolBorderWidth,y=e.symbolBorderColor,v=e.onClick,b=e.onMouseEnter,x=e.onMouseLeave,w=e.effects,_=lp((0,r.useState)({}),2),k=_[0],T=_[1],M=Js(),S=(0,r.useCallback)((function(e){return v&&v(l,e)}),[v,l]),E=(0,r.useCallback)((function(e){if(w.length>0){var t=w.filter((function(e){return\"hover\"===e.on})).reduce((function(e,t){return ip({},e,t.style)}),{});T(t)}void 0!==b&&b(l,e)}),[b,l,w]),C=(0,r.useCallback)((function(){if(w.length>0){var e=w.filter((function(e){return\"hover\"!==e.on})).reduce((function(e,t){return ip({},e,t.style)}),{});T(e)}void 0!==x&&x(l,event)}),[x,l,w]),O=xd({direction:s,justify:u,symbolSize:k.symbolSize||h,symbolSpacing:m,width:i,height:o}),A=O.symbolX,D=O.symbolY,P=O.labelX,R=O.labelY,L=O.labelAnchor,I=O.labelAlignment,j=[v,b,x].some((function(e){return void 0!==e}));return t=Da()(p)?p:sp[p],r.createElement(\"g\",{transform:\"translate(\".concat(n,\",\").concat(a,\")\"),style:{opacity:void 0!==k.itemOpacity?k.itemOpacity:d}},r.createElement(\"rect\",{width:i,height:o,fill:k.itemBackground||f,style:{cursor:j?\"pointer\":\"auto\"},onClick:S,onMouseEnter:E,onMouseLeave:C}),r.createElement(t,{id:l.id,x:A,y:D,size:k.symbolSize||h,fill:l.fill||l.color,borderWidth:void 0!==k.symbolBorderWidth?k.symbolBorderWidth:g,borderColor:k.symbolBorderColor||y}),r.createElement(\"text\",{textAnchor:L,style:ip({},M.legends.text,{fill:k.itemTextColor||c,dominantBaseline:I,pointerEvents:\"none\",userSelect:\"none\"}),x:P,y:R},l.label))};function cp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}up.displayName=\"LegendSvgItem\",up.propTypes=ip({data:hd.isRequired,x:L().number.isRequired,y:L().number.isRequired,width:L().number.isRequired,height:L().number.isRequired,textColor:L().string,background:L().string,opacity:L().number,direction:L().oneOf([\"left-to-right\",\"right-to-left\",\"top-to-bottom\",\"bottom-to-top\"]).isRequired,justify:L().bool.isRequired},dd,pd),up.defaultProps={direction:\"left-to-right\",justify:!1,textColor:\"black\",background:\"transparent\",opacity:1,symbolShape:\"square\",symbolSize:16,symbolSpacing:8,symbolBorderWidth:0,symbolBorderColor:\"transparent\",effects:[]};var fp=function(e){var t=e.data,n=e.x,a=e.y,i=e.direction,o=e.padding,l=e.justify,s=e.effects,u=e.itemWidth,c=e.itemHeight,f=e.itemDirection,d=e.itemsSpacing,p=e.itemTextColor,h=e.itemBackground,m=e.itemOpacity,g=e.symbolShape,y=e.symbolSize,v=e.symbolSpacing,b=e.symbolBorderWidth,x=e.symbolBorderColor,w=e.onClick,_=e.onMouseEnter,k=e.onMouseLeave,T=vd({itemCount:t.length,itemWidth:u,itemHeight:c,itemsSpacing:d,direction:i,padding:o}).padding,M=0,S=0;return\"row\"===i?M=u+d:\"column\"===i&&(S=c+d),r.createElement(\"g\",{transform:\"translate(\".concat(n,\",\").concat(a,\")\")},t.map((function(e,t){return r.createElement(up,{key:t,data:e,x:t*M+T.left,y:t*S+T.top,width:u,height:c,direction:f,justify:l,effects:s,textColor:p,background:h,opacity:m,symbolShape:g,symbolSize:y,symbolSpacing:v,symbolBorderWidth:b,symbolBorderColor:x,onClick:w,onMouseEnter:_,onMouseLeave:k})})))};function dp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}fp.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){cp(e,t,n[t])}))}return e}({data:L().arrayOf(hd).isRequired,x:L().number.isRequired,y:L().number.isRequired,direction:L().oneOf([\"row\",\"column\"]).isRequired,padding:L().oneOfType([L().number,L().shape({top:L().number,right:L().number,bottom:L().number,left:L().number})]).isRequired,justify:L().bool.isRequired,itemsSpacing:L().number.isRequired,itemWidth:L().number.isRequired,itemHeight:L().number.isRequired,itemDirection:L().oneOf([od,ld,sd,ud]).isRequired,itemTextColor:L().string.isRequired,itemBackground:L().string.isRequired,itemOpacity:L().number.isRequired},dd,pd),fp.defaultProps={padding:0,justify:!1,itemsSpacing:0,itemDirection:\"left-to-right\",itemTextColor:\"black\",itemBackground:\"transparent\",itemOpacity:1};var pp=function(e){var t=e.data,n=e.containerWidth,a=e.containerHeight,i=e.translateX,o=e.translateY,l=e.anchor,s=e.direction,u=e.padding,c=e.justify,f=e.itemsSpacing,d=e.itemWidth,p=e.itemHeight,h=e.itemDirection,m=e.itemTextColor,g=e.itemBackground,y=e.itemOpacity,v=e.symbolShape,b=e.symbolSize,x=e.symbolSpacing,w=e.symbolBorderWidth,_=e.symbolBorderColor,k=e.onClick,T=e.onMouseEnter,M=e.onMouseLeave,S=e.effects,E=vd({itemCount:t.length,itemsSpacing:f,itemWidth:d,itemHeight:p,direction:s,padding:u}),C=E.width,O=E.height,A=bd({anchor:l,translateX:i,translateY:o,containerWidth:n,containerHeight:a,width:C,height:O}),D=A.x,P=A.y;return r.createElement(fp,{data:t,x:D,y:P,direction:s,padding:u,justify:c,effects:S,itemsSpacing:f,itemWidth:d,itemHeight:p,itemDirection:h,itemTextColor:m,itemBackground:g,itemOpacity:y,symbolShape:v,symbolSize:b,symbolSpacing:x,symbolBorderWidth:w,symbolBorderColor:_,onClick:k,onMouseEnter:T,onMouseLeave:M})};pp.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){dp(e,t,n[t])}))}return e}({data:L().arrayOf(hd).isRequired,containerWidth:L().number.isRequired,containerHeight:L().number.isRequired,translateX:L().number.isRequired,translateY:L().number.isRequired,anchor:L().oneOf([Kf,Jf,Qf,ed,td,nd,rd,ad,id]).isRequired,direction:L().oneOf([$f,Xf]).isRequired,padding:L().oneOfType([L().number,L().shape({top:L().number,right:L().number,bottom:L().number,left:L().number})]).isRequired,justify:L().bool,itemWidth:L().number.isRequired,itemHeight:L().number.isRequired,itemDirection:L().oneOf([od,ld,sd,ud]),itemsSpacing:L().number.isRequired,itemTextColor:L().string,itemBackground:L().string,itemOpacity:L().number},dd,pd),pp.defaultProps={translateX:0,translateY:0,itemsSpacing:fp.defaultProps.itemsSpacing,padding:fp.defaultProps.padding};var hp={align:{start:\"left\",middle:\"center\",end:\"right\"},baseline:{hanging:\"top\",middle:\"middle\",central:\"middle\",baseline:\"bottom\"}},mp=function(e,t){var n=t.data,r=t.containerWidth,a=t.containerHeight,i=t.translateX,o=void 0===i?pp.defaultProps.translateX:i,l=t.translateY,s=void 0===l?pp.defaultProps.translateY:l,u=t.anchor,c=t.direction,f=t.padding,d=void 0===f?fp.defaultProps.padding:f,p=t.justify,h=void 0===p?up.defaultProps.justify:p,m=t.itemsSpacing,g=void 0===m?fp.defaultProps.itemsSpacing:m,y=t.itemWidth,v=t.itemHeight,b=t.itemDirection,x=void 0===b?up.defaultProps.direction:b,w=t.itemTextColor,_=void 0===w?fp.defaultProps.textColor:w,k=t.symbolSize,T=void 0===k?up.defaultProps.symbolSize:k,M=t.symbolSpacing,S=void 0===M?up.defaultProps.symbolSpacing:M,E=t.theme,C=vd({itemCount:n.length,itemWidth:y,itemHeight:v,itemsSpacing:g,direction:c,padding:d}),O=C.width,A=C.height,D=C.padding,P=bd({anchor:u,translateX:o,translateY:s,containerWidth:r,containerHeight:a,width:O,height:A}),R=P.x,L=P.y,I=0,j=0;c===$f?I=y+g:c===Xf&&(j=v+g),e.save(),e.translate(R,L),e.font=\"\".concat(E.legends.text.fontSize,\"px \").concat(E.legends.text.fontFamily||\"sans-serif\"),n.forEach((function(t,n){var r=n*I+D.left,a=n*j+D.top,i=xd({direction:x,justify:h,symbolSize:T,symbolSpacing:S,width:y,height:v}),o=i.symbolX,l=i.symbolY,s=i.labelX,u=i.labelY,c=i.labelAnchor,f=i.labelAlignment;e.fillStyle=t.color,e.fillRect(r+o,a+l,T,T),e.textAlign=hp.align[c],e.textBaseline=hp.baseline[f],e.fillStyle=_||E.legends.text.fill,e.fillText(t.label,r+s,a+u)})),e.restore()};var gp=Math.PI,yp=2*gp,vp=1e-6,bp=yp-vp;function xp(){this._x0=this._y0=this._x1=this._y1=null,this._=\"\"}function wp(){return new xp}xp.prototype=wp.prototype={constructor:xp,moveTo:function(e,t){this._+=\"M\"+(this._x0=this._x1=+e)+\",\"+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+=\"Z\")},lineTo:function(e,t){this._+=\"L\"+(this._x1=+e)+\",\"+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+=\"Q\"+ +e+\",\"+ +t+\",\"+(this._x1=+n)+\",\"+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,a,i){this._+=\"C\"+ +e+\",\"+ +t+\",\"+ +n+\",\"+ +r+\",\"+(this._x1=+a)+\",\"+(this._y1=+i)},arcTo:function(e,t,n,r,a){e=+e,t=+t,n=+n,r=+r,a=+a;var i=this._x1,o=this._y1,l=n-e,s=r-t,u=i-e,c=o-t,f=u*u+c*c;if(a<0)throw new Error(\"negative radius: \"+a);if(null===this._x1)this._+=\"M\"+(this._x1=e)+\",\"+(this._y1=t);else if(f>vp)if(Math.abs(c*l-s*u)>vp&&a){var d=n-i,p=r-o,h=l*l+s*s,m=d*d+p*p,g=Math.sqrt(h),y=Math.sqrt(f),v=a*Math.tan((gp-Math.acos((h+f-m)/(2*g*y)))/2),b=v/y,x=v/g;Math.abs(b-1)>vp&&(this._+=\"L\"+(e+b*u)+\",\"+(t+b*c)),this._+=\"A\"+a+\",\"+a+\",0,0,\"+ +(c*d>u*p)+\",\"+(this._x1=e+x*l)+\",\"+(this._y1=t+x*s)}else this._+=\"L\"+(this._x1=e)+\",\"+(this._y1=t);else;},arc:function(e,t,n,r,a,i){e=+e,t=+t,i=!!i;var o=(n=+n)*Math.cos(r),l=n*Math.sin(r),s=e+o,u=t+l,c=1^i,f=i?r-a:a-r;if(n<0)throw new Error(\"negative radius: \"+n);null===this._x1?this._+=\"M\"+s+\",\"+u:(Math.abs(this._x1-s)>vp||Math.abs(this._y1-u)>vp)&&(this._+=\"L\"+s+\",\"+u),n&&(f<0&&(f=f%yp+yp),f>bp?this._+=\"A\"+n+\",\"+n+\",0,1,\"+c+\",\"+(e-o)+\",\"+(t-l)+\"A\"+n+\",\"+n+\",0,1,\"+c+\",\"+(this._x1=s)+\",\"+(this._y1=u):f>vp&&(this._+=\"A\"+n+\",\"+n+\",0,\"+ +(f>=gp)+\",\"+c+\",\"+(this._x1=e+n*Math.cos(a))+\",\"+(this._y1=t+n*Math.sin(a))))},rect:function(e,t,n,r){this._+=\"M\"+(this._x0=this._x1=+e)+\",\"+(this._y0=this._y1=+t)+\"h\"+ +n+\"v\"+ +r+\"h\"+-n+\"Z\"},toString:function(){return this._}};var _p=wp;function kp(e){return function(){return e}}function Tp(e){return e[0]}function Mp(e){return e[1]}function Sp(){var e=Tp,t=Mp,n=kp(!0),r=null,a=ni,i=null;function o(o){var l,s,u,c=o.length,f=!1;for(null==r&&(i=a(u=_p())),l=0;l<=c;++l)!(l<c&&n(s=o[l],l,o))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(s,l,o),+t(s,l,o));if(u)return i=null,u+\"\"||null}return o.x=function(t){return arguments.length?(e=\"function\"==typeof t?t:kp(+t),o):e},o.y=function(e){return arguments.length?(t=\"function\"==typeof e?e:kp(+e),o):t},o.defined=function(e){return arguments.length?(n=\"function\"==typeof e?e:kp(!!e),o):n},o.curve=function(e){return arguments.length?(a=e,null!=r&&(i=a(r)),o):a},o.context=function(e){return arguments.length?(null==e?r=i=null:i=a(r=e),o):r},o}var Ep=Math.sqrt(50),Cp=Math.sqrt(10),Op=Math.sqrt(2);function Ap(e,t,n){var r,a,i,o,l=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(a=e,e=t,t=a),0===(o=Dp(e,t,n))||!isFinite(o))return[];if(o>0){let n=Math.round(e/o),r=Math.round(t/o);for(n*o<e&&++n,r*o>t&&--r,i=new Array(a=r-n+1);++l<a;)i[l]=(n+l)*o}else{o=-o;let n=Math.round(e*o),r=Math.round(t*o);for(n/o<e&&++n,r/o>t&&--r,i=new Array(a=r-n+1);++l<a;)i[l]=(n+l)/o}return r&&i.reverse(),i}function Dp(e,t,n){var r=(t-e)/Math.max(0,n),a=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,a);return a>=0?(i>=Ep?10:i>=Cp?5:i>=Op?2:1)*Math.pow(10,a):-Math.pow(10,-a)/(i>=Ep?10:i>=Cp?5:i>=Op?2:1)}function Pp(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),a=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/a;return i>=Ep?a*=10:i>=Cp?a*=5:i>=Op&&(a*=2),t<e?-a:a}function Rp(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Lp(e){let t=e,n=e;function r(e,t,r,a){for(null==r&&(r=0),null==a&&(a=e.length);r<a;){const i=r+a>>>1;n(e[i],t)<0?r=i+1:a=i}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=function(e){return(t,n)=>Rp(e(t),n)}(e)),{left:r,center:function(e,n,a,i){null==a&&(a=0),null==i&&(i=e.length);const o=r(e,n,a,i-1);return o>a&&t(e[o-1],n)>-t(e[o],n)?o-1:o},right:function(e,t,r,a){for(null==r&&(r=0),null==a&&(a=e.length);r<a;){const i=r+a>>>1;n(e[i],t)>0?a=i:r=i+1}return r}}}const Ip=Lp(Rp),jp=Ip.right;Ip.left,Lp((function(e){return null===e?NaN:+e})).center;var Np=jp;function zp(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Fp(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Zp(){}var Bp=.7,qp=1/Bp,Hp=\"\\\\s*([+-]?\\\\d+)\\\\s*\",Up=\"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",Wp=\"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",Vp=/^#([0-9a-f]{3,8})$/,Yp=new RegExp(\"^rgb\\\\(\"+[Hp,Hp,Hp]+\"\\\\)$\"),Gp=new RegExp(\"^rgb\\\\(\"+[Wp,Wp,Wp]+\"\\\\)$\"),$p=new RegExp(\"^rgba\\\\(\"+[Hp,Hp,Hp,Up]+\"\\\\)$\"),Xp=new RegExp(\"^rgba\\\\(\"+[Wp,Wp,Wp,Up]+\"\\\\)$\"),Kp=new RegExp(\"^hsl\\\\(\"+[Up,Wp,Wp]+\"\\\\)$\"),Jp=new RegExp(\"^hsla\\\\(\"+[Up,Wp,Wp,Up]+\"\\\\)$\"),Qp={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function eh(){return this.rgb().formatHex()}function th(){return this.rgb().formatRgb()}function nh(e){var t,n;return e=(e+\"\").trim().toLowerCase(),(t=Vp.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?rh(t):3===n?new lh(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?ah(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?ah(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Yp.exec(e))?new lh(t[1],t[2],t[3],1):(t=Gp.exec(e))?new lh(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=$p.exec(e))?ah(t[1],t[2],t[3],t[4]):(t=Xp.exec(e))?ah(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Kp.exec(e))?fh(t[1],t[2]/100,t[3]/100,1):(t=Jp.exec(e))?fh(t[1],t[2]/100,t[3]/100,t[4]):Qp.hasOwnProperty(e)?rh(Qp[e]):\"transparent\"===e?new lh(NaN,NaN,NaN,0):null}function rh(e){return new lh(e>>16&255,e>>8&255,255&e,1)}function ah(e,t,n,r){return r<=0&&(e=t=n=NaN),new lh(e,t,n,r)}function ih(e){return e instanceof Zp||(e=nh(e)),e?new lh((e=e.rgb()).r,e.g,e.b,e.opacity):new lh}function oh(e,t,n,r){return 1===arguments.length?ih(e):new lh(e,t,n,null==r?1:r)}function lh(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function sh(){return\"#\"+ch(this.r)+ch(this.g)+ch(this.b)}function uh(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?\"rgb(\":\"rgba(\")+Math.max(0,Math.min(255,Math.round(this.r)||0))+\", \"+Math.max(0,Math.min(255,Math.round(this.g)||0))+\", \"+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?\")\":\", \"+e+\")\")}function ch(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?\"0\":\"\")+e.toString(16)}function fh(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ph(e,t,n,r)}function dh(e){if(e instanceof ph)return new ph(e.h,e.s,e.l,e.opacity);if(e instanceof Zp||(e=nh(e)),!e)return new ph;if(e instanceof ph)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),i=Math.max(t,n,r),o=NaN,l=i-a,s=(i+a)/2;return l?(o=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+a:2-i-a,o*=60):l=s>0&&s<1?0:o,new ph(o,l,s,e.opacity)}function ph(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function hh(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function mh(e,t,n,r,a){var i=e*e,o=i*e;return((1-3*e+3*i-o)*t+(4-6*i+3*o)*n+(1+3*e+3*i-3*o)*r+o*a)/6}zp(Zp,nh,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:eh,formatHex:eh,formatHsl:function(){return dh(this).formatHsl()},formatRgb:th,toString:th}),zp(lh,oh,Fp(Zp,{brighter:function(e){return e=null==e?qp:Math.pow(qp,e),new lh(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Bp:Math.pow(Bp,e),new lh(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:sh,formatHex:sh,formatRgb:uh,toString:uh})),zp(ph,(function(e,t,n,r){return 1===arguments.length?dh(e):new ph(e,t,n,null==r?1:r)}),Fp(Zp,{brighter:function(e){return e=null==e?qp:Math.pow(qp,e),new ph(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Bp:Math.pow(Bp,e),new ph(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new lh(hh(e>=240?e-240:e+120,a,r),hh(e,a,r),hh(e<120?e+240:e-120,a,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?\"hsl(\":\"hsla(\")+(this.h||0)+\", \"+100*(this.s||0)+\"%, \"+100*(this.l||0)+\"%\"+(1===e?\")\":\", \"+e+\")\")}}));var gh=e=>()=>e;function yh(e,t){return function(n){return e+n*t}}function vh(e){return 1==(e=+e)?bh:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):gh(isNaN(t)?n:t)}}function bh(e,t){var n=t-e;return n?yh(e,n):gh(isNaN(e)?t:e)}var xh=function e(t){var n=vh(t);function r(e,t){var r=n((e=oh(e)).r,(t=oh(t)).r),a=n(e.g,t.g),i=n(e.b,t.b),o=bh(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=i(t),e.opacity=o(t),e+\"\"}}return r.gamma=e,r}(1);function wh(e){return function(t){var n,r,a=t.length,i=new Array(a),o=new Array(a),l=new Array(a);for(n=0;n<a;++n)r=oh(t[n]),i[n]=r.r||0,o[n]=r.g||0,l[n]=r.b||0;return i=e(i),o=e(o),l=e(l),r.opacity=1,function(e){return r.r=i(e),r.g=o(e),r.b=l(e),r+\"\"}}}wh((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),a=e[r],i=e[r+1],o=r>0?e[r-1]:2*a-i,l=r<t-1?e[r+2]:2*i-a;return mh((n-r/t)*t,o,a,i,l)}})),wh((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),a=e[(r+t-1)%t],i=e[r%t],o=e[(r+1)%t],l=e[(r+2)%t];return mh((n-r/t)*t,a,i,o,l)}}));function _h(e,t){var n,r=t?t.length:0,a=e?Math.min(r,e.length):0,i=new Array(a),o=new Array(r);for(n=0;n<a;++n)i[n]=Ah(e[n],t[n]);for(;n<r;++n)o[n]=t[n];return function(e){for(n=0;n<a;++n)o[n]=i[n](e);return o}}function kh(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Th(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Mh(e,t){var n,r={},a={};for(n in null!==e&&\"object\"==typeof e||(e={}),null!==t&&\"object\"==typeof t||(t={}),t)n in e?r[n]=Ah(e[n],t[n]):a[n]=t[n];return function(e){for(n in r)a[n]=r[n](e);return a}}var Sh=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,Eh=new RegExp(Sh.source,\"g\");function Ch(e,t){var n,r,a,i=Sh.lastIndex=Eh.lastIndex=0,o=-1,l=[],s=[];for(e+=\"\",t+=\"\";(n=Sh.exec(e))&&(r=Eh.exec(t));)(a=r.index)>i&&(a=t.slice(i,a),l[o]?l[o]+=a:l[++o]=a),(n=n[0])===(r=r[0])?l[o]?l[o]+=r:l[++o]=r:(l[++o]=null,s.push({i:o,x:Th(n,r)})),i=Eh.lastIndex;return i<t.length&&(a=t.slice(i),l[o]?l[o]+=a:l[++o]=a),l.length<2?s[0]?function(e){return function(t){return e(t)+\"\"}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join(\"\")})}function Oh(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,a=t.slice();return function(i){for(n=0;n<r;++n)a[n]=e[n]*(1-i)+t[n]*i;return a}}function Ah(e,t){var n,r,a=typeof t;return null==t||\"boolean\"===a?gh(t):(\"number\"===a?Th:\"string\"===a?(n=nh(t))?(t=n,xh):Ch:t instanceof nh?xh:t instanceof Date?kh:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?_h:\"function\"!=typeof t.valueOf&&\"function\"!=typeof t.toString||isNaN(t)?Mh:Th:Oh))(e,t)}function Dh(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Ph(e){return+e}var Rh=[0,1];function Lh(e){return e}function Ih(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function jh(e,t,n){var r=e[0],a=e[1],i=t[0],o=t[1];return a<r?(r=Ih(a,r),i=n(o,i)):(r=Ih(r,a),i=n(i,o)),function(e){return i(r(e))}}function Nh(e,t,n){var r=Math.min(e.length,t.length)-1,a=new Array(r),i=new Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)a[o]=Ih(e[o],e[o+1]),i[o]=n(t[o],t[o+1]);return function(t){var n=Np(e,t,1,r)-1;return i[n](a[n](t))}}function zh(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Fh(){var e,t,n,r,a,i,o=Rh,l=Rh,s=Ah,u=Lh;function c(){var e,t,n,s=Math.min(o.length,l.length);return u!==Lh&&(e=o[0],t=o[s-1],e>t&&(n=e,e=t,t=n),u=function(n){return Math.max(e,Math.min(t,n))}),r=s>2?Nh:jh,a=i=null,f}function f(t){return null==t||isNaN(t=+t)?n:(a||(a=r(o.map(e),l,s)))(e(u(t)))}return f.invert=function(n){return u(t((i||(i=r(l,o.map(e),Th)))(n)))},f.domain=function(e){return arguments.length?(o=Array.from(e,Ph),c()):o.slice()},f.range=function(e){return arguments.length?(l=Array.from(e),c()):l.slice()},f.rangeRound=function(e){return l=Array.from(e),s=Dh,c()},f.clamp=function(e){return arguments.length?(u=!!e||Lh,c()):u!==Lh},f.interpolate=function(e){return arguments.length?(s=e,c()):s},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,c()}}function Zh(){return Fh()(Lh,Lh)}var Bh,qh=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;function Hh(e){if(!(t=qh.exec(e)))throw new Error(\"invalid format: \"+e);var t;return new Uh({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Uh(e){this.fill=void 0===e.fill?\" \":e.fill+\"\",this.align=void 0===e.align?\">\":e.align+\"\",this.sign=void 0===e.sign?\"-\":e.sign+\"\",this.symbol=void 0===e.symbol?\"\":e.symbol+\"\",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?\"\":e.type+\"\"}function Wh(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(\"e\"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Vh(e){return(e=Wh(Math.abs(e)))?e[1]:NaN}function Yh(e,t){var n=Wh(e,t);if(!n)return e+\"\";var r=n[0],a=n[1];return a<0?\"0.\"+new Array(-a).join(\"0\")+r:r.length>a+1?r.slice(0,a+1)+\".\"+r.slice(a+1):r+new Array(a-r.length+2).join(\"0\")}Hh.prototype=Uh.prototype,Uh.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?\"0\":\"\")+(void 0===this.width?\"\":Math.max(1,0|this.width))+(this.comma?\",\":\"\")+(void 0===this.precision?\"\":\".\"+Math.max(0,0|this.precision))+(this.trim?\"~\":\"\")+this.type};var Gh={\"%\":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+\"\",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(\"en\").replace(/,/g,\"\"):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Yh(100*e,t),r:Yh,s:function(e,t){var n=Wh(e,t);if(!n)return e+\"\";var r=n[0],a=n[1],i=a-(Bh=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,o=r.length;return i===o?r:i>o?r+new Array(i-o+1).join(\"0\"):i>0?r.slice(0,i)+\".\"+r.slice(i):\"0.\"+new Array(1-i).join(\"0\")+Wh(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function $h(e){return e}var Xh,Kh,Jh,Qh=Array.prototype.map,em=[\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"µ\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];function tm(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?$h:(t=Qh.call(e.grouping,Number),n=e.thousands+\"\",function(e,r){for(var a=e.length,i=[],o=0,l=t[0],s=0;a>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(a-=l,a+l)),!((s+=l+1)>r));)l=t[o=(o+1)%t.length];return i.reverse().join(n)}),a=void 0===e.currency?\"\":e.currency[0]+\"\",i=void 0===e.currency?\"\":e.currency[1]+\"\",o=void 0===e.decimal?\".\":e.decimal+\"\",l=void 0===e.numerals?$h:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Qh.call(e.numerals,String)),s=void 0===e.percent?\"%\":e.percent+\"\",u=void 0===e.minus?\"−\":e.minus+\"\",c=void 0===e.nan?\"NaN\":e.nan+\"\";function f(e){var t=(e=Hh(e)).fill,n=e.align,f=e.sign,d=e.symbol,p=e.zero,h=e.width,m=e.comma,g=e.precision,y=e.trim,v=e.type;\"n\"===v?(m=!0,v=\"g\"):Gh[v]||(void 0===g&&(g=12),y=!0,v=\"g\"),(p||\"0\"===t&&\"=\"===n)&&(p=!0,t=\"0\",n=\"=\");var b=\"$\"===d?a:\"#\"===d&&/[boxX]/.test(v)?\"0\"+v.toLowerCase():\"\",x=\"$\"===d?i:/[%p]/.test(v)?s:\"\",w=Gh[v],_=/[defgprs%]/.test(v);function k(e){var a,i,s,d=b,k=x;if(\"c\"===v)k=w(e)+k,e=\"\";else{var T=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),y&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case\".\":a=t=r;break;case\"0\":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),T&&0==+e&&\"+\"!==f&&(T=!1),d=(T?\"(\"===f?f:u:\"-\"===f||\"(\"===f?\"\":f)+d,k=(\"s\"===v?em[8+Bh/3]:\"\")+k+(T&&\"(\"===f?\")\":\"\"),_)for(a=-1,i=e.length;++a<i;)if(48>(s=e.charCodeAt(a))||s>57){k=(46===s?o+e.slice(a+1):e.slice(a))+k,e=e.slice(0,a);break}}m&&!p&&(e=r(e,1/0));var M=d.length+e.length+k.length,S=M<h?new Array(h-M+1).join(t):\"\";switch(m&&p&&(e=r(S+e,S.length?h-k.length:1/0),S=\"\"),n){case\"<\":e=d+e+k+S;break;case\"=\":e=d+S+e+k;break;case\"^\":e=S.slice(0,M=S.length>>1)+d+e+k+S.slice(M);break;default:e=S+d+e+k}return l(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return e+\"\"},k}return{format:f,formatPrefix:function(e,t){var n=f(((e=Hh(e)).type=\"f\",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Vh(t)/3))),a=Math.pow(10,-r),i=em[8+r/3];return function(e){return n(a*e)+i}}}}function nm(e,t,n,r){var a,i=Pp(e,t,n);switch((r=Hh(null==r?\",f\":r)).type){case\"s\":var o=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Vh(t)/3)))-Vh(Math.abs(e)))}(i,o))||(r.precision=a),Jh(r,o);case\"\":case\"e\":case\"g\":case\"p\":case\"r\":null!=r.precision||isNaN(a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Vh(t)-Vh(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=a-(\"e\"===r.type));break;case\"f\":case\"%\":null!=r.precision||isNaN(a=function(e){return Math.max(0,-Vh(Math.abs(e)))}(i))||(r.precision=a-2*(\"%\"===r.type))}return Kh(r)}function rm(e){var t=e.domain;return e.ticks=function(e){var n=t();return Ap(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return nm(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,a,i=t(),o=0,l=i.length-1,s=i[o],u=i[l],c=10;for(u<s&&(a=s,s=u,u=a,a=o,o=l,l=a);c-- >0;){if((a=Dp(s,u,n))===r)return i[o]=s,i[l]=u,t(i);if(a>0)s=Math.floor(s/a)*a,u=Math.ceil(u/a)*a;else{if(!(a<0))break;s=Math.ceil(s*a)/a,u=Math.floor(u*a)/a}r=a}return e},e}function am(){var e=Zh();return e.copy=function(){return zh(e,am())},tn.apply(e,arguments),rm(e)}function im(e,t){var n,r=0,a=(e=e.slice()).length-1,i=e[r],o=e[a];return o<i&&(n=r,r=a,a=n,n=i,i=o,o=n),e[r]=t.floor(i),e[a]=t.ceil(o),e}function om(e){return Math.log(e)}function lm(e){return Math.exp(e)}function sm(e){return-Math.log(-e)}function um(e){return-Math.exp(-e)}function cm(e){return isFinite(e)?+(\"1e\"+e):e<0?0:e}function fm(e){return function(t){return-e(-t)}}function dm(e){var t,n,r=e(om,lm),a=r.domain,i=10;function o(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(i),n=function(e){return 10===e?cm:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(i),a()[0]<0?(t=fm(t),n=fm(n),e(sm,um)):e(om,lm),r}return r.base=function(e){return arguments.length?(i=+e,o()):i},r.domain=function(e){return arguments.length?(a(e),o()):a()},r.ticks=function(e){var r,o=a(),l=o[0],s=o[o.length-1];(r=s<l)&&(d=l,l=s,s=d);var u,c,f,d=t(l),p=t(s),h=null==e?10:+e,m=[];if(!(i%1)&&p-d<h){if(d=Math.floor(d),p=Math.ceil(p),l>0){for(;d<=p;++d)for(c=1,u=n(d);c<i;++c)if(!((f=u*c)<l)){if(f>s)break;m.push(f)}}else for(;d<=p;++d)for(c=i-1,u=n(d);c>=1;--c)if(!((f=u*c)<l)){if(f>s)break;m.push(f)}2*m.length<h&&(m=Ap(l,s,h))}else m=Ap(d,p,Math.min(p-d,h)).map(n);return r?m.reverse():m},r.tickFormat=function(e,a){if(null==a&&(a=10===i?\".0e\":\",\"),\"function\"!=typeof a&&(a=Kh(a)),e===1/0)return a;null==e&&(e=10);var o=Math.max(1,i*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*i<i-.5&&(r*=i),r<=o?a(e):\"\"}},r.nice=function(){return a(im(a(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function pm(){var e=dm(Fh()).domain([1,10]);return e.copy=function(){return zh(e,pm()).base(e.base())},tn.apply(e,arguments),e}function hm(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(a);++r<a;)i[r]=e+r*n;return i}function mm(){var e,t,n=rn().unknown(void 0),r=n.domain,a=n.range,i=0,o=1,l=!1,s=0,u=0,c=.5;function f(){var n=r().length,f=o<i,d=f?o:i,p=f?i:o;e=(p-d)/Math.max(1,n-s+2*u),l&&(e=Math.floor(e)),d+=(p-d-e*(n-s))*c,t=e*(1-s),l&&(d=Math.round(d),t=Math.round(t));var h=hm(n).map((function(t){return d+e*t}));return a(f?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),f()):r()},n.range=function(e){return arguments.length?([i,o]=e,i=+i,o=+o,f()):[i,o]},n.rangeRound=function(e){return[i,o]=e,i=+i,o=+o,l=!0,f()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(l=!!e,f()):l},n.padding=function(e){return arguments.length?(s=Math.min(1,u=+e),f()):s},n.paddingInner=function(e){return arguments.length?(s=Math.min(1,e),f()):s},n.paddingOuter=function(e){return arguments.length?(u=+e,f()):u},n.align=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),f()):c},n.copy=function(){return mm(r(),[i,o]).round(l).paddingInner(s).paddingOuter(u).align(c)},tn.apply(f(),arguments)}function gm(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return gm(t())},e}!function(e){Xh=tm(e),Kh=Xh.format,Jh=Xh.formatPrefix}({thousands:\",\",grouping:[3],currency:[\"$\",\"\"]});const ym=1e3,vm=6e4,bm=36e5,xm=864e5,wm=6048e5,_m=2592e6,km=31536e6;var Tm=new Date,Mm=new Date;function Sm(e,t,n,r){function a(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return a.floor=function(t){return e(t=new Date(+t)),t},a.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},a.round=function(e){var t=a(e),n=a.ceil(e);return e-t<n-e?t:n},a.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},a.range=function(n,r,i){var o,l=[];if(n=a.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return l;do{l.push(o=new Date(+n)),t(n,i),e(n)}while(o<n&&n<r);return l},a.filter=function(n){return Sm((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(a.count=function(t,r){return Tm.setTime(+t),Mm.setTime(+r),e(Tm),e(Mm),Math.floor(n(Tm,Mm))},a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(r?function(t){return r(t)%e==0}:function(t){return a.count(0,t)%e==0}):a:null}),a}var Em=Sm((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));Em.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Sm((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Em:null};var Cm=Em,Om=(Em.range,Sm((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*ym)}),(function(e,t){return(t-e)/ym}),(function(e){return e.getUTCSeconds()}))),Am=Om,Dm=(Om.range,Sm((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ym)}),(function(e,t){e.setTime(+e+t*vm)}),(function(e,t){return(t-e)/vm}),(function(e){return e.getMinutes()}))),Pm=Dm,Rm=(Dm.range,Sm((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*ym-e.getMinutes()*vm)}),(function(e,t){e.setTime(+e+t*bm)}),(function(e,t){return(t-e)/bm}),(function(e){return e.getHours()}))),Lm=Rm,Im=(Rm.range,Sm((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*vm)/xm),(e=>e.getDate()-1))),jm=Im;Im.range;function Nm(e){return Sm((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*vm)/wm}))}var zm=Nm(0),Fm=Nm(1),Zm=Nm(2),Bm=Nm(3),qm=Nm(4),Hm=Nm(5),Um=Nm(6),Wm=(zm.range,Fm.range,Zm.range,Bm.range,qm.range,Hm.range,Um.range,Sm((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),Vm=Wm,Ym=(Wm.range,Sm((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));Ym.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Sm((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var Gm=Ym,$m=(Ym.range,Sm((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*vm)}),(function(e,t){return(t-e)/vm}),(function(e){return e.getUTCMinutes()}))),Xm=$m,Km=($m.range,Sm((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*bm)}),(function(e,t){return(t-e)/bm}),(function(e){return e.getUTCHours()}))),Jm=Km,Qm=(Km.range,Sm((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/xm}),(function(e){return e.getUTCDate()-1}))),eg=Qm;Qm.range;function tg(e){return Sm((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/wm}))}var ng=tg(0),rg=tg(1),ag=tg(2),ig=tg(3),og=tg(4),lg=tg(5),sg=tg(6),ug=(ng.range,rg.range,ag.range,ig.range,og.range,lg.range,sg.range,Sm((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),cg=ug,fg=(ug.range,Sm((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));fg.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Sm((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var dg=fg;fg.range;function pg(e,t,n,r,a,i){const o=[[Am,1,ym],[Am,5,5e3],[Am,15,15e3],[Am,30,3e4],[i,1,vm],[i,5,3e5],[i,15,9e5],[i,30,18e5],[a,1,bm],[a,3,108e5],[a,6,216e5],[a,12,432e5],[r,1,xm],[r,2,1728e5],[n,1,wm],[t,1,_m],[t,3,7776e6],[e,1,km]];function l(t,n,r){const a=Math.abs(n-t)/r,i=Lp((([,,e])=>e)).right(o,a);if(i===o.length)return e.every(Pp(t/km,n/km,r));if(0===i)return Cm.every(Math.max(Pp(t,n,r),1));const[l,s]=o[a/o[i-1][2]<o[i][2]/a?i-1:i];return l.every(s)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const a=n&&\"function\"==typeof n.range?n:l(e,t,n),i=a?a.range(e,+t+1):[];return r?i.reverse():i},l]}const[hg,mg]=pg(dg,cg,ng,eg,Jm,Xm),[gg,yg]=pg(Gm,Vm,zm,jm,Lm,Pm);function vg(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function bg(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function xg(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var wg,_g,kg,Tg={\"-\":\"\",_:\" \",0:\"0\"},Mg=/^\\s*\\d+/,Sg=/^%/,Eg=/[\\\\^$*+?|[\\]().{}]/g;function Cg(e,t,n){var r=e<0?\"-\":\"\",a=(r?-e:e)+\"\",i=a.length;return r+(i<n?new Array(n-i+1).join(t)+a:a)}function Og(e){return e.replace(Eg,\"\\\\$&\")}function Ag(e){return new RegExp(\"^(?:\"+e.map(Og).join(\"|\")+\")\",\"i\")}function Dg(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Pg(e,t,n){var r=Mg.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Rg(e,t,n){var r=Mg.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Lg(e,t,n){var r=Mg.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Ig(e,t,n){var r=Mg.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function jg(e,t,n){var r=Mg.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Ng(e,t,n){var r=Mg.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function zg(e,t,n){var r=Mg.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Fg(e,t,n){var r=/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||\"00\")),n+r[0].length):-1}function Zg(e,t,n){var r=Mg.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Bg(e,t,n){var r=Mg.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function qg(e,t,n){var r=Mg.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Hg(e,t,n){var r=Mg.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Ug(e,t,n){var r=Mg.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Wg(e,t,n){var r=Mg.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Vg(e,t,n){var r=Mg.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Yg(e,t,n){var r=Mg.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Gg(e,t,n){var r=Mg.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function $g(e,t,n){var r=Sg.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Xg(e,t,n){var r=Mg.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Kg(e,t,n){var r=Mg.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Jg(e,t){return Cg(e.getDate(),t,2)}function Qg(e,t){return Cg(e.getHours(),t,2)}function ey(e,t){return Cg(e.getHours()%12||12,t,2)}function ty(e,t){return Cg(1+jm.count(Gm(e),e),t,3)}function ny(e,t){return Cg(e.getMilliseconds(),t,3)}function ry(e,t){return ny(e,t)+\"000\"}function ay(e,t){return Cg(e.getMonth()+1,t,2)}function iy(e,t){return Cg(e.getMinutes(),t,2)}function oy(e,t){return Cg(e.getSeconds(),t,2)}function ly(e){var t=e.getDay();return 0===t?7:t}function sy(e,t){return Cg(zm.count(Gm(e)-1,e),t,2)}function uy(e){var t=e.getDay();return t>=4||0===t?qm(e):qm.ceil(e)}function cy(e,t){return e=uy(e),Cg(qm.count(Gm(e),e)+(4===Gm(e).getDay()),t,2)}function fy(e){return e.getDay()}function dy(e,t){return Cg(Fm.count(Gm(e)-1,e),t,2)}function py(e,t){return Cg(e.getFullYear()%100,t,2)}function hy(e,t){return Cg((e=uy(e)).getFullYear()%100,t,2)}function my(e,t){return Cg(e.getFullYear()%1e4,t,4)}function gy(e,t){var n=e.getDay();return Cg((e=n>=4||0===n?qm(e):qm.ceil(e)).getFullYear()%1e4,t,4)}function yy(e){var t=e.getTimezoneOffset();return(t>0?\"-\":(t*=-1,\"+\"))+Cg(t/60|0,\"0\",2)+Cg(t%60,\"0\",2)}function vy(e,t){return Cg(e.getUTCDate(),t,2)}function by(e,t){return Cg(e.getUTCHours(),t,2)}function xy(e,t){return Cg(e.getUTCHours()%12||12,t,2)}function wy(e,t){return Cg(1+eg.count(dg(e),e),t,3)}function _y(e,t){return Cg(e.getUTCMilliseconds(),t,3)}function ky(e,t){return _y(e,t)+\"000\"}function Ty(e,t){return Cg(e.getUTCMonth()+1,t,2)}function My(e,t){return Cg(e.getUTCMinutes(),t,2)}function Sy(e,t){return Cg(e.getUTCSeconds(),t,2)}function Ey(e){var t=e.getUTCDay();return 0===t?7:t}function Cy(e,t){return Cg(ng.count(dg(e)-1,e),t,2)}function Oy(e){var t=e.getUTCDay();return t>=4||0===t?og(e):og.ceil(e)}function Ay(e,t){return e=Oy(e),Cg(og.count(dg(e),e)+(4===dg(e).getUTCDay()),t,2)}function Dy(e){return e.getUTCDay()}function Py(e,t){return Cg(rg.count(dg(e)-1,e),t,2)}function Ry(e,t){return Cg(e.getUTCFullYear()%100,t,2)}function Ly(e,t){return Cg((e=Oy(e)).getUTCFullYear()%100,t,2)}function Iy(e,t){return Cg(e.getUTCFullYear()%1e4,t,4)}function jy(e,t){var n=e.getUTCDay();return Cg((e=n>=4||0===n?og(e):og.ceil(e)).getUTCFullYear()%1e4,t,4)}function Ny(){return\"+0000\"}function zy(){return\"%\"}function Fy(e){return+e}function Zy(e){return Math.floor(+e/1e3)}function By(e){return new Date(e)}function qy(e){return e instanceof Date?+e:+new Date(+e)}function Hy(e,t,n,r,a,i,o,l,s,u){var c=Zh(),f=c.invert,d=c.domain,p=u(\".%L\"),h=u(\":%S\"),m=u(\"%I:%M\"),g=u(\"%I %p\"),y=u(\"%a %d\"),v=u(\"%b %d\"),b=u(\"%B\"),x=u(\"%Y\");function w(e){return(s(e)<e?p:l(e)<e?h:o(e)<e?m:i(e)<e?g:r(e)<e?a(e)<e?y:v:n(e)<e?b:x)(e)}return c.invert=function(e){return new Date(f(e))},c.domain=function(e){return arguments.length?d(Array.from(e,qy)):d().map(By)},c.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},c.tickFormat=function(e,t){return null==t?w:u(t)},c.nice=function(e){var n=d();return e&&\"function\"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d(im(n,e)):c},c.copy=function(){return zh(c,Hy(e,t,n,r,a,i,o,l,s,u))},c}!function(e){wg=function(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,i=e.days,o=e.shortDays,l=e.months,s=e.shortMonths,u=Ag(a),c=Dg(a),f=Ag(i),d=Dg(i),p=Ag(o),h=Dg(o),m=Ag(l),g=Dg(l),y=Ag(s),v=Dg(s),b={a:function(e){return o[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return s[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:null,d:Jg,e:Jg,f:ry,g:hy,G:gy,H:Qg,I:ey,j:ty,L:ny,m:ay,M:iy,p:function(e){return a[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Fy,s:Zy,S:oy,u:ly,U:sy,V:cy,w:fy,W:dy,x:null,X:null,y:py,Y:my,Z:yy,\"%\":zy},x={a:function(e){return o[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return l[e.getUTCMonth()]},c:null,d:vy,e:vy,f:ky,g:Ly,G:jy,H:by,I:xy,j:wy,L:_y,m:Ty,M:My,p:function(e){return a[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Fy,s:Zy,S:Sy,u:Ey,U:Cy,V:Ay,w:Dy,W:Py,x:null,X:null,y:Ry,Y:Iy,Z:Ny,\"%\":zy},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return T(e,t,n,r)},d:qg,e:qg,f:Gg,g:zg,G:Ng,H:Ug,I:Ug,j:Hg,L:Yg,m:Bg,M:Wg,p:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:Zg,Q:Xg,s:Kg,S:Vg,u:Rg,U:Lg,V:Ig,w:Pg,W:jg,x:function(e,t,r){return T(e,n,t,r)},X:function(e,t,n){return T(e,r,t,n)},y:zg,Y:Ng,Z:Fg,\"%\":$g};function _(e,t){return function(n){var r,a,i,o=[],l=-1,s=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++l<u;)37===e.charCodeAt(l)&&(o.push(e.slice(s,l)),null!=(a=Tg[r=e.charAt(++l)])?r=e.charAt(++l):a=\"e\"===r?\" \":\"0\",(i=t[r])&&(r=i(n,a)),o.push(r),s=l+1);return o.push(e.slice(s,l)),o.join(\"\")}}function k(e,t){return function(n){var r,a,i=xg(1900,void 0,1);if(T(i,e,n+=\"\",0)!=n.length)return null;if(\"Q\"in i)return new Date(i.Q);if(\"s\"in i)return new Date(1e3*i.s+(\"L\"in i?i.L:0));if(t&&!(\"Z\"in i)&&(i.Z=0),\"p\"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m=\"q\"in i?i.q:0),\"V\"in i){if(i.V<1||i.V>53)return null;\"w\"in i||(i.w=1),\"Z\"in i?(a=(r=bg(xg(i.y,0,1))).getUTCDay(),r=a>4||0===a?rg.ceil(r):rg(r),r=eg.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(a=(r=vg(xg(i.y,0,1))).getDay(),r=a>4||0===a?Fm.ceil(r):Fm(r),r=jm.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else(\"W\"in i||\"U\"in i)&&(\"w\"in i||(i.w=\"u\"in i?i.u%7:\"W\"in i?1:0),a=\"Z\"in i?bg(xg(i.y,0,1)).getUTCDay():vg(xg(i.y,0,1)).getDay(),i.m=0,i.d=\"W\"in i?(i.w+6)%7+7*i.W-(a+5)%7:i.w+7*i.U-(a+6)%7);return\"Z\"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,bg(i)):vg(i)}}function T(e,t,n,r){for(var a,i,o=0,l=t.length,s=n.length;o<l;){if(r>=s)return-1;if(37===(a=t.charCodeAt(o++))){if(a=t.charAt(o++),!(i=w[a in Tg?t.charAt(o++):a])||(r=i(e,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}return b.x=_(n,b),b.X=_(r,b),b.c=_(t,b),x.x=_(n,x),x.X=_(r,x),x.c=_(t,x),{format:function(e){var t=_(e+=\"\",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+=\"\",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=_(e+=\"\",x);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+=\"\",!0);return t.toString=function(){return e},t}}}(e),_g=wg.format,wg.parse,kg=wg.utcFormat,wg.utcParse}({dateTime:\"%x, %X\",date:\"%-m/%-d/%Y\",time:\"%-I:%M:%S %p\",periods:[\"AM\",\"PM\"],days:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],shortDays:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],months:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],shortMonths:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]});var Uy,Wy=n(44908),Vy=n.n(Wy),Yy=n(45578),Gy=n.n(Yy),$y=n(89734),Xy=n.n($y),Ky=n(47960),Jy=n.n(Ky),Qy={type:L().oneOf([\"linear\"]).isRequired,min:L().oneOfType([L().oneOf([\"auto\"]),L().number]),max:L().oneOfType([L().oneOf([\"auto\"]),L().number]),stacked:L().bool,reverse:L().bool},ev=function(e,t,n,r){var a,i=e.axis,o=e.base,l=void 0===o?10:o,s=e.min,u=void 0===s?\"auto\":s,c=e.max,f=void 0===c?\"auto\":c,d=t[i],p=\"x\"===i?n:r,h=d.all.some((function(e){return 0===e})),m=!1;if(d.all.forEach((function(e){!0!==m&&(void 0===a?a=Math.sign(e):Math.sign(e)!==a&&(m=!0))})),h||m)throw new Error([\"a log scale domain must be strictly-positive or strictly-negative,\",\"and must not include or cross zero.\"].join(\"\\n\"));var g=u;\"auto\"===u&&(g=d.min);var y=f;\"auto\"===f&&(y=d.max);var v=pm().domain([g,y]).rangeRound(\"x\"===i?[0,p]:[p,0]).base(l).nice();return v.type=\"log\",v},tv={type:L().oneOf([\"log\"]).isRequired,base:L().number,min:L().oneOfType([L().oneOf([\"auto\"]),L().number]),max:L().oneOfType([L().oneOf([\"auto\"]),L().number])},nv=function(e,t,n,r){var a=e.axis,i=t[a],o=\"x\"===a?n:r,l=function(){return gm(mm.apply(null,arguments).paddingInner(1))}().range([0,o]).domain(i.all);return l.type=\"point\",l},rv={type:L().oneOf([\"point\"]).isRequired};function av(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iv=\"millisecond\",ov=\"second\",lv=\"minute\",sv=\"hour\",uv=\"month\",cv=\"year\",fv=[iv,ov,lv,sv,\"day\",uv,cv],dv=[function(e){return e.setMilliseconds(0)},function(e){return e.setSeconds(0)},function(e){return e.setMinutes(0)},function(e){return e.setHours(0)},function(e){return e.setDate(1)},function(e){return e.setMonth(0)}],pv=(av(Uy={},iv,[]),av(Uy,ov,dv.slice(0,1)),av(Uy,lv,dv.slice(0,2)),av(Uy,sv,dv.slice(0,3)),av(Uy,\"day\",dv.slice(0,4)),av(Uy,uv,dv.slice(0,5)),av(Uy,cv,dv.slice(0,6)),Uy),hv=function(e){var t=e.format,n=void 0===t?\"native\":t,r=e.precision,a=void 0===r?\"millisecond\":r,i=e.useUTC,o=void 0===i||i,l=function(e){return function(t){return pv[e].forEach((function(e){e(t)})),t}}(a);if(\"native\"===n)return function(e){return l(e)};var s=o?To(n):ko(n);return function(e){return l(s(e))}},mv=function(e,t,n,r){var a=e.axis,i=e.format,o=void 0===i?\"native\":i,l=e.precision,s=void 0===l?iv:l,u=e.min,c=void 0===u?\"auto\":u,f=e.max,d=void 0===f?\"auto\":f,p=e.useUTC,h=void 0===p||p,m=t[a],g=\"x\"===a?n:r,y=hv({format:o,precision:s,useUTC:h}),v=c;\"auto\"===c?v=m.min:\"native\"!==o&&(v=y(c));var b=d;\"auto\"===d?b=m.max:\"native\"!==o&&(b=y(d));var x=h?function(){return tn.apply(Hy(hg,mg,dg,cg,ng,eg,Jm,Xm,Am,kg).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return tn.apply(Hy(gg,yg,Gm,Vm,zm,jm,Lm,Pm,Am,_g).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();return x.domain([v,b]).range([0,g]),x.type=\"time\",x.useUTC=h,x},gv={type:L().oneOf([\"time\"]).isRequired,format:L().string,precision:L().oneOf(fv)};function yv(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}function vv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){bv(e,t,n[t])}))}return e}function bv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xv=function(e){return\"x\"===e?\"y\":\"x\"},wv=function(e,t){return e===t},_v=function(e,t){return e.getTime()===t.getTime()},kv=function(e,t,n,r,a){var i=e.map((function(e){return vv({},e,{data:e.data.map((function(e){return{data:vv({},e)}}))})})),o=Mv(i,t,n);!0===t.stacked&&Cv(n.type,o,i),!0===n.stacked&&Ov(t.type,o,i);var l=Tv(vv({},t,{axis:\"x\"}),o,r,a),s=Tv(vv({},n,{axis:\"y\"}),o,r,a);return i.forEach((function(e){e.data.forEach((function(e){e.position={x:!0===l.stacked?null===e.data.xStacked?null:l(e.data.xStacked):null===e.data.x?null:l(e.data.x),y:!0===s.stacked?null===e.data.yStacked?null:s(e.data.yStacked):null===e.data.y?null:s(e.data.y)}}))})),vv({},o,{series:i,xScale:l,yScale:s})},Tv=function(e,t,n,r){return\"linear\"===e.type?function(e,t,n,r){var a=e.axis,i=e.min,o=void 0===i?0:i,l=e.max,s=void 0===l?\"auto\":l,u=e.stacked,c=void 0!==u&&u,f=e.reverse,d=void 0!==f&&f,p=t[a],h=\"x\"===a?n:r,m=o;\"auto\"===o&&(m=!0===c?p.minStacked:p.min);var g=s;\"auto\"===s&&(g=!0===c?p.maxStacked:p.max);var y=am().rangeRound(\"x\"===a?[0,h]:[h,0]);return!0===d?y.domain([g,m]):y.domain([m,g]),y.type=\"linear\",y.stacked=c,y}(e,t,n,r):\"point\"===e.type?nv(e,t,n,r):\"time\"===e.type?mv(e,t,n,r):\"log\"===e.type?ev(e,t,n,r):void 0},Mv=function(e,t,n){return{x:Sv(e,\"x\",t),y:Sv(e,\"y\",n)}},Sv=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.getValue,i=void 0===a?function(e){return e.data[t]}:a,o=r.setValue,l=void 0===o?function(e,n){e.data[t]=n}:o;if(\"linear\"===n.type)e.forEach((function(e){e.data.forEach((function(e){l(e,null===i(e)?null:parseFloat(i(e)))}))}));else if(\"time\"===n.type&&\"native\"!==n.format){var s=hv(n);e.forEach((function(e){e.data.forEach((function(e){l(e,null===i(e)?null:s(i(e)))}))}))}var u,c,f=[];return e.forEach((function(e){e.data.forEach((function(e){f.push(i(e))}))})),\"linear\"===n.type?(f=Vy()(f),f=Xy()(f,(function(e){return e})),u=Math.min.apply(Math,yv(f)),c=Math.max.apply(Math,yv(f))):\"time\"===n.type?(u=(f=(f=Gy()(f,(function(e){return e.getTime()}))).slice(0).sort((function(e,t){return t-e})).reverse())[0],c=Jt()(f)):(u=(f=Vy()(f))[0],c=Jt()(f)),{all:f,min:u,max:c}},Ev=function(e,t,n,r){var a=xv(e),i=[];n[a].all.forEach((function(t){var n=Jy()(t)?_v:wv,o=[];r.forEach((function(r){var l=r.data.find((function(e){return n(e.data[a],t)})),s=null,u=null;if(void 0!==l){if(null!==(s=l.data[e])){var c=Jt()(o);void 0===c?u=s:null!==c&&(u=c+s)}l.data[\"\".concat(e,\"Stacked\")]=u}o.push(u),i.push(u)}))})),i=i.filter((function(e){return null!==e})),n[e].minStacked=Math.min.apply(Math,yv(i)),n[e].maxStacked=Math.max.apply(Math,yv(i))},Cv=function(e,t,n){return Ev(\"x\",0,t,n)},Ov=function(e,t,n){return Ev(\"y\",0,t,n)},Av=L().oneOfType([L().shape(Qy),L().shape(rv),L().shape(gv),L().shape(tv)]);const Dv=Math.pow(2,-52),Pv=new Uint32Array(512);class Rv{static from(e,t=Bv,n=qv){const r=e.length,a=new Float64Array(2*r);for(let i=0;i<r;i++){const r=e[i];a[2*i]=t(r),a[2*i+1]=n(r)}return new Rv(a)}constructor(e){const t=e.length>>1;if(t>0&&\"number\"!=typeof e[0])throw new Error(\"Expected coords to contain numbers.\");this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:a}=this,i=e.length>>1;let o=1/0,l=1/0,s=-1/0,u=-1/0;for(let t=0;t<i;t++){const n=e[2*t],r=e[2*t+1];n<o&&(o=n),r<l&&(l=r),n>s&&(s=n),r>u&&(u=r),this._ids[t]=t}const c=(o+s)/2,f=(l+u)/2;let d,p,h,m=1/0;for(let t=0;t<i;t++){const n=Lv(c,f,e[2*t],e[2*t+1]);n<m&&(d=t,m=n)}const g=e[2*d],y=e[2*d+1];m=1/0;for(let t=0;t<i;t++){if(t===d)continue;const n=Lv(g,y,e[2*t],e[2*t+1]);n<m&&n>0&&(p=t,m=n)}let v=e[2*p],b=e[2*p+1],x=1/0;for(let t=0;t<i;t++){if(t===d||t===p)continue;const n=zv(g,y,v,b,e[2*t],e[2*t+1]);n<x&&(h=t,x=n)}let w=e[2*h],_=e[2*h+1];if(x===1/0){for(let t=0;t<i;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];Fv(this._ids,this._dists,0,i-1);const t=new Uint32Array(i);let n=0;for(let e=0,r=-1/0;e<i;e++){const a=this._ids[e];this._dists[a]>r&&(t[n++]=a,r=this._dists[a])}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(jv(g,y,v,b,w,_)){const e=p,t=v,n=b;p=h,v=w,b=_,h=e,w=t,_=n}const k=function(e,t,n,r,a,i){const o=n-e,l=r-t,s=a-e,u=i-t,c=o*o+l*l,f=s*s+u*u,d=.5/(o*u-l*s);return{x:e+(u*c-l*f)*d,y:t+(o*f-s*c)*d}}(g,y,v,b,w,_);this._cx=k.x,this._cy=k.y;for(let t=0;t<i;t++)this._dists[t]=Lv(e[2*t],e[2*t+1],k.x,k.y);Fv(this._ids,this._dists,0,i-1),this._hullStart=d;let T=3;n[d]=t[h]=p,n[p]=t[d]=h,n[h]=t[p]=d,r[d]=0,r[p]=1,r[h]=2,a.fill(-1),a[this._hashKey(g,y)]=d,a[this._hashKey(v,b)]=p,a[this._hashKey(w,_)]=h,this.trianglesLen=0,this._addTriangle(d,p,h,-1,-1,-1);for(let i,o,l=0;l<this._ids.length;l++){const s=this._ids[l],u=e[2*s],c=e[2*s+1];if(l>0&&Math.abs(u-i)<=Dv&&Math.abs(c-o)<=Dv)continue;if(i=u,o=c,s===d||s===p||s===h)continue;let f=0;for(let e=0,t=this._hashKey(u,c);e<this._hashSize&&(f=a[(t+e)%this._hashSize],-1===f||f===n[f]);e++);f=t[f];let m,g=f;for(;m=n[g],!jv(u,c,e[2*g],e[2*g+1],e[2*m],e[2*m+1]);)if(g=m,g===f){g=-1;break}if(-1===g)continue;let y=this._addTriangle(g,s,n[g],-1,-1,r[g]);r[s]=this._legalize(y+2),r[g]=y,T++;let v=n[g];for(;m=n[v],jv(u,c,e[2*v],e[2*v+1],e[2*m],e[2*m+1]);)y=this._addTriangle(v,s,m,r[s],-1,r[v]),r[s]=this._legalize(y+2),n[v]=v,T--,v=m;if(g===f)for(;m=t[g],jv(u,c,e[2*m],e[2*m+1],e[2*g],e[2*g+1]);)y=this._addTriangle(m,s,g,-1,r[g],r[m]),this._legalize(y+2),r[m]=y,n[g]=g,T--,g=m;this._hullStart=t[s]=g,n[g]=t[v]=s,n[s]=v,a[this._hashKey(u,c)]=s,a[this._hashKey(e[2*g],e[2*g+1])]=g}this.hull=new Uint32Array(T);for(let e=0,t=this._hullStart;e<T;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let a=0,i=0;for(;;){const o=n[e],l=e-e%3;if(i=l+(e+2)%3,-1===o){if(0===a)break;e=Pv[--a];continue}const s=o-o%3,u=l+(e+1)%3,c=s+(o+2)%3,f=t[i],d=t[e],p=t[u],h=t[c];if(Nv(r[2*f],r[2*f+1],r[2*d],r[2*d+1],r[2*p],r[2*p+1],r[2*h],r[2*h+1])){t[e]=h,t[o]=f;const r=n[c];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===c){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(o,n[i]),this._link(i,c);const l=s+(o+1)%3;a<Pv.length&&(Pv[a++]=l)}else{if(0===a)break;e=Pv[--a]}}return i}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,a,i){const o=this.trianglesLen;return this._triangles[o]=e,this._triangles[o+1]=t,this._triangles[o+2]=n,this._link(o,r),this._link(o+1,a),this._link(o+2,i),this.trianglesLen+=3,o}}function Lv(e,t,n,r){const a=e-n,i=t-r;return a*a+i*i}function Iv(e,t,n,r,a,i){const o=(r-t)*(a-e),l=(n-e)*(i-t);return Math.abs(o-l)>=33306690738754716e-32*Math.abs(o+l)?o-l:0}function jv(e,t,n,r,a,i){return(Iv(a,i,e,t,n,r)||Iv(e,t,n,r,a,i)||Iv(n,r,a,i,e,t))<0}function Nv(e,t,n,r,a,i,o,l){const s=e-o,u=t-l,c=n-o,f=r-l,d=a-o,p=i-l,h=c*c+f*f,m=d*d+p*p;return s*(f*m-h*p)-u*(c*m-h*d)+(s*s+u*u)*(c*p-f*d)<0}function zv(e,t,n,r,a,i){const o=n-e,l=r-t,s=a-e,u=i-t,c=o*o+l*l,f=s*s+u*u,d=.5/(o*u-l*s),p=(u*c-l*f)*d,h=(o*f-s*c)*d;return p*p+h*h}function Fv(e,t,n,r){if(r-n<=20)for(let a=n+1;a<=r;a++){const r=e[a],i=t[r];let o=a-1;for(;o>=n&&t[e[o]]>i;)e[o+1]=e[o--];e[o+1]=r}else{let a=n+1,i=r;Zv(e,n+r>>1,a),t[e[n]]>t[e[r]]&&Zv(e,n,r),t[e[a]]>t[e[r]]&&Zv(e,a,r),t[e[n]]>t[e[a]]&&Zv(e,n,a);const o=e[a],l=t[o];for(;;){do{a++}while(t[e[a]]<l);do{i--}while(t[e[i]]>l);if(i<a)break;Zv(e,a,i)}e[n+1]=e[i],e[i]=o,r-a+1>=i-n?(Fv(e,t,a,r),Fv(e,t,n,i-1)):(Fv(e,t,n,i-1),Fv(e,t,a,r))}}function Zv(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Bv(e){return e[0]}function qv(e){return e[1]}const Hv=1e-6;class Uv{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=\"\"}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+=\"Z\")}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),a=t=+t;if(n<0)throw new Error(\"negative radius\");null===this._x1?this._+=`M${r},${a}`:(Math.abs(this._x1-r)>Hv||Math.abs(this._y1-a)>Hv)&&(this._+=\"L\"+r+\",\"+a),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=a}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class Wv{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class Vv{constructor(e,[t,n,r,a]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(a=+a)>=(n=+n)))throw new Error(\"invalid bounds\");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=a,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this,a=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let t,r,i=0,o=0,l=n.length;i<l;i+=3,o+=2){const l=2*n[i],s=2*n[i+1],u=2*n[i+2],c=e[l],f=e[l+1],d=e[s],p=e[s+1],h=e[u],m=e[u+1],g=d-c,y=p-f,v=h-c,b=m-f,x=g*g+y*y,w=v*v+b*b,_=2*(g*b-y*v);if(_)if(Math.abs(_)<1e-8)t=(c+h)/2,r=(f+m)/2;else{const e=1/_;t=c+(b*x-y*w)*e,r=f+(g*w-v*x)*e}else t=(c+h)/2-1e8*b,r=(f+m)/2+1e8*v;a[o]=t,a[o+1]=r}let i,o,l,s=t[t.length-1],u=4*s,c=e[2*s],f=e[2*s+1];r.fill(0);for(let n=0;n<t.length;++n)s=t[n],i=u,o=c,l=f,u=4*s,c=e[2*s],f=e[2*s+1],r[i+2]=r[u]=l-f,r[i+3]=r[u+1]=c-o}render(e){const t=null==e?e=new Uv:void 0,{delaunay:{halfedges:n,inedges:r,hull:a},circumcenters:i,vectors:o}=this;if(a.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const a=2*Math.floor(t/3),o=2*Math.floor(r/3),l=i[a],s=i[a+1],u=i[o],c=i[o+1];this._renderSegment(l,s,u,c,e)}let l,s=a[a.length-1];for(let t=0;t<a.length;++t){l=s,s=a[t];const n=2*Math.floor(r[s]/3),u=i[n],c=i[n+1],f=4*l,d=this._project(u,c,o[f+2],o[f+3]);d&&this._renderSegment(u,c,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new Uv:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const n=null==t?t=new Uv:void 0,r=this._clip(e);if(null===r||!r.length)return;t.moveTo(r[0],r[1]);let a=r.length;for(;r[0]===r[a-2]&&r[1]===r[a-1]&&a>1;)a-=2;for(let e=2;e<a;e+=2)r[e]===r[e-2]&&r[e+1]===r[e-1]||t.lineTo(r[e],r[e+1]);return t.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,n=e.length/2;t<n;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new Wv;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,a){let i;const o=this._regioncode(e,t),l=this._regioncode(n,r);0===o&&0===l?(a.moveTo(e,t),a.lineTo(n,r)):(i=this._clipSegment(e,t,n,r,o,l))&&(a.moveTo(i[0],i[1]),a.lineTo(i[2],i[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,a=t.length;r<a;r+=2)for(let i=0,o=e.length;i<o;i+=2)if(t[r]==e[i]&&t[r+1]==e[i+1]&&t[(r+2)%a]==e[(i+o-2)%o]&&t[(r+3)%a]==e[(i+o-1)%o]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:a}}=this,i=n[e];if(-1===i)return null;const o=[];let l=i;do{const n=Math.floor(l/3);if(o.push(t[2*n],t[2*n+1]),l=l%3==2?l-2:l+1,a[l]!==e)break;l=r[l]}while(l!==i&&-1!==l);return o}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t)}_clipFinite(e,t){const n=t.length;let r,a,i,o,l,s=null,u=t[n-2],c=t[n-1],f=this._regioncode(u,c);for(let d=0;d<n;d+=2)if(r=u,a=c,u=t[d],c=t[d+1],i=f,f=this._regioncode(u,c),0===i&&0===f)o=l,l=0,s?s.push(u,c):s=[u,c];else{let t,n,d,p,h;if(0===i){if(null===(t=this._clipSegment(r,a,u,c,i,f)))continue;[n,d,p,h]=t}else{if(null===(t=this._clipSegment(u,c,r,a,f,i)))continue;[p,h,n,d]=t,o=l,l=this._edgecode(n,d),o&&l&&this._edge(e,o,l,s,s.length),s?s.push(n,d):s=[n,d]}o=l,l=this._edgecode(p,h),o&&l&&this._edge(e,o,l,s,s.length),s?s.push(p,h):s=[p,h]}if(s)o=l,l=this._edgecode(s[0],s[1]),o&&l&&this._edge(e,o,l,s,s.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}_clipSegment(e,t,n,r,a,i){for(;;){if(0===a&&0===i)return[e,t,n,r];if(a&i)return null;let o,l,s=a||i;8&s?(o=e+(n-e)*(this.ymax-t)/(r-t),l=this.ymax):4&s?(o=e+(n-e)*(this.ymin-t)/(r-t),l=this.ymin):2&s?(l=t+(r-t)*(this.xmax-e)/(n-e),o=this.xmax):(l=t+(r-t)*(this.xmin-e)/(n-e),o=this.xmin),a?(e=o,t=l,a=this._regioncode(e,t)):(n=o,r=l,i=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,a,i){let o,l=Array.from(t);if((o=this._project(l[0],l[1],n,r))&&l.unshift(o[0],o[1]),(o=this._project(l[l.length-2],l[l.length-1],a,i))&&l.push(o[0],o[1]),l=this._clipFinite(e,l))for(let t,n=0,r=l.length,a=this._edgecode(l[r-2],l[r-1]);n<r;n+=2)t=a,a=this._edgecode(l[n],l[n+1]),t&&a&&(n=this._edge(e,t,a,l,n),r=l.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(l=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return l}_edge(e,t,n,r,a){for(;t!==n;){let n,i;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,i=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,i=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,i=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,i=this.ymin}r[a]===n&&r[a+1]===i||!this.contains(e,n,i)||(r.splice(a,0,n,i),a+=2)}if(r.length>4)for(let e=0;e<r.length;e+=2){const t=(e+2)%r.length,n=(e+4)%r.length;(r[e]===r[t]&&r[t]===r[n]||r[e+1]===r[t+1]&&r[t+1]===r[n+1])&&(r.splice(t,2),e-=2)}return a}_project(e,t,n,r){let a,i,o,l=1/0;if(r<0){if(t<=this.ymin)return null;(a=(this.ymin-t)/r)<l&&(o=this.ymin,i=e+(l=a)*n)}else if(r>0){if(t>=this.ymax)return null;(a=(this.ymax-t)/r)<l&&(o=this.ymax,i=e+(l=a)*n)}if(n>0){if(e>=this.xmax)return null;(a=(this.xmax-e)/n)<l&&(i=this.xmax,o=t+(l=a)*r)}else if(n<0){if(e<=this.xmin)return null;(a=(this.xmin-e)/n)<l&&(i=this.xmin,o=t+(l=a)*r)}return[i,o]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}}const Yv=2*Math.PI,Gv=Math.pow;function $v(e){return e[0]}function Xv(e){return e[1]}function Kv(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class Jv{static from(e,t=$v,n=Xv,r){return new Jv(\"length\"in e?function(e,t,n,r){const a=e.length,i=new Float64Array(2*a);for(let o=0;o<a;++o){const a=e[o];i[2*o]=t.call(r,a,o,e),i[2*o+1]=n.call(r,a,o,e)}return i}(e,t,n,r):Float64Array.from(function*(e,t,n,r){let a=0;for(const i of e)yield t.call(r,i,a,e),yield n.call(r,i,a,e),++a}(e,t,n,r)))}constructor(e){this._delaunator=new Rv(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:n}=e;for(let e=0;e<t.length;e+=3){const r=2*t[e],a=2*t[e+1],i=2*t[e+2];if((n[i]-n[r])*(n[a+1]-n[r+1])-(n[a]-n[r])*(n[i+1]-n[r+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},((e,t)=>t)).sort(((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]));const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],a=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let e=0,n=t.length/2;e<n;++e){const n=Kv(t[2*e],t[2*e+1],a);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new Rv(t)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,a=this.triangles=this._delaunator.triangles,i=this.inedges.fill(-1),o=this._hullIndex.fill(-1);for(let e=0,t=n.length;e<t;++e){const t=a[e%3==2?e-2:e+1];-1!==n[e]&&-1!==i[t]||(i[t]=e)}for(let e=0,t=r.length;e<t;++e)o[r[e]]=e;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],this.triangles[1]=r[1],this.triangles[2]=r[1],i[r[0]]=1,2===r.length&&(i[r[1]]=0))}voronoi(e){return new Vv(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:a,triangles:i,collinear:o}=this;if(o){const t=o.indexOf(e);return t>0&&(yield o[t-1]),void(t<o.length-1&&(yield o[t+1]))}const l=t[e];if(-1===l)return;let s=l,u=-1;do{if(yield u=i[s],s=s%3==2?s-2:s+1,i[s]!==e)return;if(s=a[s],-1===s){const t=n[(r[e]+1)%n.length];return void(t!==u&&(yield t))}}while(s!==l)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let a;for(;(a=this._step(n,e,t))>=0&&a!==n&&a!==r;)n=a;return a}_step(e,t,n){const{inedges:r,hull:a,_hullIndex:i,halfedges:o,triangles:l,points:s}=this;if(-1===r[e]||!s.length)return(e+1)%(s.length>>1);let u=e,c=Gv(t-s[2*e],2)+Gv(n-s[2*e+1],2);const f=r[e];let d=f;do{let r=l[d];const f=Gv(t-s[2*r],2)+Gv(n-s[2*r+1],2);if(f<c&&(c=f,u=r),d=d%3==2?d-2:d+1,l[d]!==e)break;if(d=o[d],-1===d){if(d=a[(i[e]+1)%a.length],d!==r&&Gv(t-s[2*d],2)+Gv(n-s[2*d+1],2)<c)return d;break}}while(d!==f);return u}render(e){const t=null==e?e=new Uv:void 0,{points:n,halfedges:r,triangles:a}=this;for(let t=0,i=r.length;t<i;++t){const i=r[t];if(i<t)continue;const o=2*a[t],l=2*a[i];e.moveTo(n[o],n[o+1]),e.lineTo(n[l],n[l+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t=2){const n=null==e?e=new Uv:void 0,{points:r}=this;for(let n=0,a=r.length;n<a;n+=2){const a=r[n],i=r[n+1];e.moveTo(a+t,i),e.arc(a,i,t,0,Yv)}return n&&n.value()}renderHull(e){const t=null==e?e=new Uv:void 0,{hull:n,points:r}=this,a=2*n[0],i=n.length;e.moveTo(r[a],r[a+1]);for(let t=1;t<i;++t){const a=2*n[t];e.lineTo(r[a],r[a+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new Wv;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new Uv:void 0,{points:r,triangles:a}=this,i=2*a[e*=3],o=2*a[e+1],l=2*a[e+2];return t.moveTo(r[i],r[i+1]),t.lineTo(r[o],r[o+1]),t.lineTo(r[l],r[l+1]),t.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,n=e.length/3;t<n;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new Wv;return this.renderTriangle(e,t),t.value()}}var Qv=n(46949),eb={data:L().arrayOf(L().shape({id:L().oneOfType([L().string,L().number]).isRequired,x:L().number.isRequired,y:L().number.isRequired})).isRequired,xDomain:L().arrayOf(L().number).isRequired,yDomain:L().arrayOf(L().number).isRequired,layers:L().arrayOf(L().oneOfType([L().oneOf([\"links\",\"cells\",\"points\",\"bounds\"]),L().func])).isRequired,enableLinks:L().bool.isRequired,linkLineWidth:L().number.isRequired,linkLineColor:L().string.isRequired,enableCells:L().bool.isRequired,cellLineWidth:L().number.isRequired,cellLineColor:L().string.isRequired,enablePoints:L().bool.isRequired,pointSize:L().number.isRequired,pointColor:L().string.isRequired,delaunay:L().object.isRequired,voronoi:L().object.isRequired},tb={xDomain:[0,1],yDomain:[0,1],layers:[\"links\",\"cells\",\"points\",\"bounds\"],enableLinks:!1,linkLineWidth:1,linkLineColor:\"#bbb\",enableCells:!0,cellLineWidth:2,cellLineColor:\"#000\",enablePoints:!0,pointSize:4,pointColor:\"#666\"},nb=function(e){var t=e.delaunay,n=e.voronoi,a=e.data,i=e.layers,o=e.margin,l=e.width,s=e.height,u=e.outerWidth,c=e.outerHeight,f=e.enableLinks,d=e.linkLineWidth,p=e.linkLineColor,h=e.enableCells,m=e.cellLineWidth,g=e.cellLineColor,y=e.enablePoints,v=e.pointSize,b=e.pointColor,x=e.theme,w={width:l,height:s,data:a,delaunay:t,voronoi:n},_={bounds:r.createElement(\"path\",{key:\"bounds\",fill:\"none\",stroke:g,strokeWidth:m,d:n.renderBounds()})};return!0===f&&(_.links=r.createElement(\"path\",{key:\"links\",stroke:p,strokeWidth:d,fill:\"none\",d:t.render()})),!0===h&&(_.cells=r.createElement(\"path\",{key:\"cells\",d:n.render(),fill:\"none\",stroke:g,strokeWidth:m})),!0===y&&(_.points=r.createElement(\"path\",{key:\"points\",stroke:\"none\",fill:b,d:t.renderPoints(void 0,v/2)})),r.createElement(bu,{isInteractive:!1,theme:x,animate:!1},(function(){return r.createElement(Wu,{width:u,height:c,margin:o,theme:x},i.map((function(e,t){return\"function\"==typeof e?r.createElement(r.Fragment,{key:t},e(w)):_[e]})))}))};nb.propTypes=eb;var rb;rb=nb,(0,Ql.Z)((0,ts.Z)(tb),ic(),tc(),(0,ns.Z)([\"xDomain\",\"yDomain\",\"width\",\"height\"],(function(e){var t=e.xDomain,n=e.yDomain,r=e.width,a=e.height;return{xScale:am().domain(t).range([0,r]),yScale:am().domain(n).range([0,a])}})),(0,ns.Z)([\"data\",\"xScale\",\"yScale\"],(function(e){var t=e.data,n=e.xScale,r=e.yScale;return{scaledPoints:t.map((function(e){return{data:e,x:n(e.x),y:r(e.y)}}))}})),(0,ns.Z)([\"scaledPoints\",\"width\",\"height\"],(function(e){var t=e.scaledPoints,n=e.width,r=e.height,a=Jv.from(t.map((function(e){return[e.x,e.y]}))),i=a.voronoi([0,0,n,r]);return{delaunay:a,voronoi:i}})),Qv.Z)(rb);var ab=function(e){return\"function\"==typeof e?e:function(t){return t[e]}},ib=function(e){var t=e.points,n=e.x,a=e.y,i=e.width,o=e.height,l=e.debug,s=(0,r.useMemo)((function(){return function(e){var t=e.points,n=e.x,r=void 0===n?\"x\":n,a=e.y,i=void 0===a?\"y\":a,o=ab(r),l=ab(i);return t.map((function(e){return[o(e),l(e)]}))}({points:t,x:n,y:a})}),[t,n,a]);return(0,r.useMemo)((function(){return function(e){var t=e.points,n=e.width,r=e.height,a=e.debug,i=Jv.from(t),o=!0===a?i.voronoi([0,0,n,r]):void 0;return{delaunay:i,voronoi:o}}({points:s,width:i,height:o,debug:l})}),[s,i,o,l])};function ob(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var lb=function(e){var t=e.nodes,n=e.width,a=e.height,i=e.x,o=e.y,l=e.debug,s=e.onMouseEnter,u=e.onMouseMove,c=e.onMouseLeave,f=e.onClick,d=(0,r.useRef)(null),p=ob((0,r.useState)(null),2),h=p[0],m=p[1],g=ib({points:t,x:i,y:o,width:n,height:a,debug:l}),y=g.delaunay,v=g.voronoi,b=(0,r.useMemo)((function(){return l?v.render():void 0})),x=(0,r.useCallback)((function(e){var n=ob(yc(d.current,e),2),r=n[0],a=n[1],i=y.find(r,a);return[i,void 0!==i?t[i]:null]}),[y]),w=(0,r.useCallback)((function(e){var t=ob(x(e),2),n=t[0],r=t[1];h!==n&&m(n),r&&s&&s(r,e)}),[x,m]),_=(0,r.useCallback)((function(e){var t=ob(x(e),2),n=t[0],r=t[1];h!==n&&m(n),r&&u&&u(r,e)}),[x,m]),k=(0,r.useCallback)((function(e){var n;(m(null),c)&&(null!=h&&(n=t[h]),n&&c(n,e))}),[m,h,t]),T=(0,r.useCallback)((function(e){var t=ob(x(e),2),n=t[0],r=t[1];h!==n&&m(n),f&&f(r,e)}),[x,m]);return r.createElement(\"g\",{ref:d},l&&r.createElement(\"path\",{d:b,stroke:\"red\",strokeWidth:1,opacity:.75}),null!==h&&l&&r.createElement(\"path\",{fill:\"red\",opacity:.35,d:v.renderCell(h)}),r.createElement(\"rect\",{width:n,height:a,fill:\"red\",opacity:0,style:{cursor:\"auto\"},onMouseEnter:w,onMouseMove:_,onMouseLeave:k,onClick:T}))};lb.propTypes={width:L().number.isRequired,height:L().number.isRequired,nodes:L().array.isRequired,x:L().oneOfType([L().string,L().number,L().func]).isRequired,y:L().oneOfType([L().string,L().number,L().func]).isRequired,onMouseEnter:L().func,onMouseMove:L().func,onMouseLeave:L().func,onClick:L().func,debug:L().bool.isRequired},lb.defaultProps={x:\"x\",y:\"y\",debug:!1};var sb=function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle=\"red\",e.lineWidth=1,e.stroke(),e.restore()},ub=function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle=\"red\",e.fill(),e.restore()},cb=function(e){var t=e.point;return r.createElement(Rt,{id:r.createElement(\"span\",null,\"x: \",r.createElement(\"strong\",null,t.data.xFormatted),\", y:\",\" \",r.createElement(\"strong\",null,t.data.yFormatted)),enableChip:!0,color:t.serieColor})};cb.propTypes={point:L().object.isRequired};var fb=(0,r.memo)(cb),db=function(e){var t=e.color;return r.createElement(\"span\",{style:{display:\"block\",width:\"12px\",height:\"12px\",background:t}})};db.propTypes={color:L().string.isRequired};var pb=function(e){var t=e.slice,n=\"x\"===e.axis?\"y\":\"x\";return r.createElement(Nt,{rows:t.points.map((function(e){return[r.createElement(db,{key:\"chip\",color:e.serieColor}),e.serieId,r.createElement(\"strong\",{key:\"value\"},e.data[\"\".concat(n,\"Formatted\")])]}))})};pb.propTypes={slice:L().object.isRequired,axis:L().oneOf([\"x\",\"y\"]).isRequired};var hb=(0,r.memo)(pb);function mb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){gb(e,t,n[t])}))}return e}function gb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yb={data:L().arrayOf(L().shape({id:L().oneOfType([L().string,L().number]).isRequired,data:L().arrayOf(L().shape({x:L().oneOfType([L().number,L().string,L().instanceOf(Date)]),y:L().oneOfType([L().number,L().string,L().instanceOf(Date)])})).isRequired})).isRequired,xScale:Av.isRequired,xFormat:L().oneOfType([L().func,L().string]),yScale:Av.isRequired,yFormat:L().oneOfType([L().func,L().string]),layers:L().arrayOf(L().oneOfType([L().oneOf([\"grid\",\"markers\",\"axes\",\"areas\",\"crosshair\",\"lines\",\"slices\",\"points\",\"mesh\",\"legends\"]),L().func])).isRequired,curve:Ds.isRequired,axisTop:_f,axisRight:_f,axisBottom:_f,axisLeft:_f,enableGridX:L().bool.isRequired,enableGridY:L().bool.isRequired,gridXValues:L().oneOfType([L().number,L().arrayOf(L().oneOfType([L().number,L().string,L().instanceOf(Date)]))]),gridYValues:L().oneOfType([L().number,L().arrayOf(L().oneOfType([L().number,L().string,L().instanceOf(Date)]))]),enablePoints:L().bool.isRequired,pointSymbol:L().func,pointSize:L().number.isRequired,pointColor:L().any.isRequired,pointBorderWidth:L().number.isRequired,pointBorderColor:L().any.isRequired,markers:L().arrayOf(L().shape({axis:L().oneOf([\"x\",\"y\"]).isRequired,value:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired,style:L().object})),colors:Uc.isRequired,enableArea:L().bool.isRequired,areaOpacity:L().number.isRequired,areaBlendMode:qs.isRequired,areaBaselineValue:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired,lineWidth:L().number.isRequired,legends:L().arrayOf(L().shape(md)).isRequired,isInteractive:L().bool.isRequired,debugMesh:L().bool.isRequired,tooltip:L().oneOfType([L().func,L().object]).isRequired,tooltipFormat:L().oneOfType([L().func,L().string]),enableSlices:L().oneOf([\"x\",\"y\",!1]).isRequired,debugSlices:L().bool.isRequired,sliceTooltip:L().oneOfType([L().func,L().object]).isRequired,enableCrosshair:L().bool.isRequired,crosshairType:zt.type.isRequired},vb=mb({},yb,{enablePointLabel:L().bool.isRequired,useMesh:L().bool.isRequired},Bs,Rs),bb=mb({pixelRatio:L().number.isRequired},yb),xb={curve:\"linear\",xScale:{type:\"point\"},yScale:{type:\"linear\",min:0,max:\"auto\"},layers:[\"grid\",\"markers\",\"axes\",\"areas\",\"crosshair\",\"lines\",\"points\",\"slices\",\"mesh\",\"legends\"],axisBottom:{},axisLeft:{},enableGridX:!0,enableGridY:!0,enablePoints:!0,pointSize:6,pointColor:{from:\"color\"},pointBorderWidth:0,pointBorderColor:{theme:\"background\"},colors:{scheme:\"nivo\"},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,areaBlendMode:\"normal\",lineWidth:2,legends:[],isInteractive:!0,tooltip:fb,enableSlices:!1,debugSlices:!1,sliceTooltip:hb,debugMesh:!1,enableCrosshair:!0,crosshairType:\"bottom-left\"},wb=mb({},xb,{enablePointLabel:!1,useMesh:!1,animate:!0,motionStiffness:90,motionDamping:15,defs:[],fill:[]}),_b=mb({},xb,{pixelRatio:n.g.window&&n.g.window.devicePixelRatio?n.g.window.devicePixelRatio:1});function kb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}function Tb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Mb(e,t,n[t])}))}return e}function Mb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sb(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}var Eb=function(e){var t=e.curve,n=e.yScale,a=e.areaBaselineValue;return(0,r.useMemo)((function(){return function(){var e=Tp,t=null,n=kp(0),r=Mp,a=kp(!0),i=null,o=ni,l=null;function s(s){var u,c,f,d,p,h=s.length,m=!1,g=new Array(h),y=new Array(h);for(null==i&&(l=o(p=_p())),u=0;u<=h;++u){if(!(u<h&&a(d=s[u],u,s))===m)if(m=!m)c=u,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),f=u-1;f>=c;--f)l.point(g[f],y[f]);l.lineEnd(),l.areaEnd()}m&&(g[u]=+e(d,u,s),y[u]=+n(d,u,s),l.point(t?+t(d,u,s):g[u],r?+r(d,u,s):y[u]))}if(p)return l=null,p+\"\"||null}function u(){return Sp().defined(a).curve(o).context(i)}return s.x=function(n){return arguments.length?(e=\"function\"==typeof n?n:kp(+n),t=null,s):e},s.x0=function(t){return arguments.length?(e=\"function\"==typeof t?t:kp(+t),s):e},s.x1=function(e){return arguments.length?(t=null==e?null:\"function\"==typeof e?e:kp(+e),s):t},s.y=function(e){return arguments.length?(n=\"function\"==typeof e?e:kp(+e),r=null,s):n},s.y0=function(e){return arguments.length?(n=\"function\"==typeof e?e:kp(+e),s):n},s.y1=function(e){return arguments.length?(r=null==e?null:\"function\"==typeof e?e:kp(+e),s):r},s.lineX0=s.lineY0=function(){return u().x(e).y(n)},s.lineY1=function(){return u().x(e).y(r)},s.lineX1=function(){return u().x(t).y(n)},s.defined=function(e){return arguments.length?(a=\"function\"==typeof e?e:kp(!!e),s):a},s.curve=function(e){return arguments.length?(o=e,null!=i&&(l=o(i)),s):o},s.context=function(e){return arguments.length?(null==e?i=l=null:l=o(i=e),s):i},s}().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(Ps(t)).y0(n(a))}),[t,n,a])},Cb=function(e){var t=e.data,n=e.xScale,a=void 0===n?wb.xScale:n,i=e.xFormat,o=e.yScale,l=void 0===o?wb.yScale:o,s=e.yFormat,u=e.width,c=e.height,f=e.colors,d=void 0===f?wb.colors:f,p=e.curve,h=void 0===p?wb.curve:p,m=e.areaBaselineValue,g=void 0===m?wb.areaBaselineValue:m,y=e.pointColor,v=void 0===y?wb.pointColor:y,b=e.pointBorderColor,x=void 0===b?wb.pointBorderColor:b,w=e.enableSlices,_=void 0===w?wb.enableSlicesTooltip:w,k=Gs(i),T=Gs(s),M=Zc(d,\"id\"),S=Js(),E=Hc(v,S),C=Hc(x,S),O=(0,r.useMemo)((function(){return kv(t,a,l,u,c)}),[t,a,l,u,c]),A=O.xScale,D=O.yScale,P=O.series,R=(0,r.useMemo)((function(){return P.map((function(e){return Tb({},e,{color:M(e)})}))}),[P,M]),L=function(e){var t=e.series,n=e.getPointColor,a=e.getPointBorderColor,i=e.formatX,o=e.formatY;return(0,r.useMemo)((function(){return t.reduce((function(e,t){return[].concat(Sb(e),Sb(t.data.filter((function(e){return null!==e.position.x&&null!==e.position.y})).map((function(r,l){var s={id:\"\".concat(t.id,\".\").concat(l),index:e.length+l,serieId:t.id,serieColor:t.color,x:r.position.x,y:r.position.y};return s.color=n(t),s.borderColor=a(s),s.data=Tb({},r.data,{xFormatted:i(r.data.x),yFormatted:o(r.data.y)}),s}))))}),[])}),[t,n,a,i,o])}({series:R,getPointColor:E,getPointBorderColor:C,formatX:k,formatY:T}),I=function(e){var t=e.enableSlices,n=e.points,a=e.width,i=e.height;return(0,r.useMemo)((function(){if(!1===t)return[];if(\"x\"===t){var e=new Map;return n.forEach((function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))})),Array.from(e.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,t,n){var r,o=kb(e,2),l=o[0],s=o[1],u=n[t-1],c=n[t+1];return{id:l,x0:r=u?l-(l-u[0])/2:l,x:l,y0:0,y:0,width:c?l-r+(c[0]-l)/2:a-r,height:i,points:s.reverse()}}))}if(\"y\"===t){var r=new Map;return n.forEach((function(e){null!==e.data.x&&null!==e.data.y&&(r.has(e.y)?r.get(e.y).push(e):r.set(e.y,[e]))})),Array.from(r.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,t,n){var r,o,l=kb(e,2),s=l[0],u=l[1],c=n[t-1],f=n[t+1];return r=c?s-(s-c[0])/2:s,o=f?s-r+(f[0]-s)/2:i-r,{id:s,x0:0,x:0,y0:r,y:s,width:a,height:o,points:u.reverse()}}))}}),[t,n])}({enableSlices:_,points:L,width:u,height:c}),j=function(e){var t=e.curve;return(0,r.useMemo)((function(){return Sp().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(Ps(t))}),[t])}({curve:h});return{lineGenerator:j,areaGenerator:Eb({curve:h,yScale:D,areaBaselineValue:g}),getColor:M,series:R,xScale:A,yScale:D,slices:I,points:L}},Ob=function(e){var t=e.areaGenerator,n=e.areaOpacity,a=e.areaBlendMode,i=e.lines,o=pu(),l=o.animate,s=o.springConfig;return!0!==l?r.createElement(\"g\",null,i.slice(0).reverse().map((function(e){var i=e.id,o=e.data,l=e.color,s=e.fill;return r.createElement(\"path\",{key:i,d:t(o.map((function(e){return e.position}))),fill:s||l,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:a}})}))):r.createElement(\"g\",null,i.slice(0).reverse().map((function(e){var i=e.id,o=e.data,l=e.color,u=e.fill;return r.createElement(cu,{key:i,style:function(e){return{d:e(t(o.map((function(e){return e.position}))),s),fill:e(l,s)}}},(function(e){return r.createElement(\"path\",{key:i,d:e.d,fill:u||l,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:a}})}))})))};Ob.propTypes={areaGenerator:L().func.isRequired,areaOpacity:L().number.isRequired,areaBlendMode:qs.isRequired,lines:L().arrayOf(L().object).isRequired};var Ab=(0,r.memo)(Ob),Db=function(e){var t=e.lineGenerator,n=e.id,a=e.points,i=e.color,o=e.thickness,l=pu(),s=l.animate,u=l.springConfig;return!0!==s?r.createElement(\"path\",{key:n,d:t(a),fill:\"none\",strokeWidth:o,stroke:i}):r.createElement(cu,{key:n,style:function(e){return{d:e(t(a),u),stroke:e(i,u)}}},(function(e){return r.createElement(\"path\",{key:n,d:e.d,fill:\"none\",strokeWidth:o,stroke:e.stroke})}))};Db.propTypes={id:L().oneOfType([L().string,L().number]).isRequired,points:L().arrayOf(L().shape({x:L().oneOfType([L().string,L().number]),y:L().oneOfType([L().string,L().number])})),lineGenerator:L().func.isRequired,color:L().string.isRequired,thickness:L().number.isRequired};var Pb=(0,r.memo)(Db),Rb=function(e){var t=e.lines,n=e.lineGenerator,a=e.lineWidth;return t.map((function(e){var t=e.id,i=e.data,o=e.color;return r.createElement(Pb,{key:t,id:t,points:i.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:a})}))};Rb.propTypes={lines:L().arrayOf(L().shape({id:L().oneOfType([L().string,L().number]).isRequired,color:L().string.isRequired,data:L().arrayOf(L().shape({data:L().shape({x:L().oneOfType([L().string,L().number,L().instanceOf(Date)]),y:L().oneOfType([L().string,L().number,L().instanceOf(Date)])}).isRequired,position:L().shape({x:L().number,y:L().number}).isRequired})).isRequired})).isRequired,lineWidth:L().number.isRequired,lineGenerator:L().func.isRequired};var Lb=(0,r.memo)(Rb),Ib=function(e){var t=e.slice,n=e.axis,a=e.debug,i=e.tooltip,o=e.isCurrent,l=e.setCurrent,s=Ut(),u=s.showTooltipFromEvent,c=s.hideTooltip,f=(0,r.useCallback)((function(e){u(r.createElement(i,{slice:t,axis:n}),e,\"right\"),l(t)}),[u,i,t]),d=(0,r.useCallback)((function(e){u(r.createElement(i,{slice:t,axis:n}),e,\"right\")}),[u,i,t]),p=(0,r.useCallback)((function(){c(),l(null)}),[c]);return r.createElement(\"rect\",{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:\"red\",strokeWidth:a?1:0,strokeOpacity:.75,fill:\"red\",fillOpacity:o&&a?.35:0,onMouseEnter:f,onMouseMove:d,onMouseLeave:p})};Ib.propTypes={slice:L().object.isRequired,axis:L().oneOf([\"x\",\"y\"]).isRequired,debug:L().bool.isRequired,height:L().number.isRequired,tooltip:L().oneOfType([L().func,L().object]),isCurrent:L().bool.isRequired,setCurrent:L().func.isRequired};var jb=(0,r.memo)(Ib),Nb=function(e){var t=e.slices,n=e.axis,a=e.debug,i=e.height,o=e.tooltip,l=e.current,s=e.setCurrent;return t.map((function(e){return r.createElement(jb,{key:e.id,slice:e,axis:n,debug:a,height:i,tooltip:o,setCurrent:s,isCurrent:null!==l&&l.id===e.id})}))};Nb.propTypes={slices:L().arrayOf(L().shape({id:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired,x:L().number.isRequired,y:L().number.isRequired,points:L().arrayOf(L().object).isRequired})).isRequired,axis:L().oneOf([\"x\",\"y\"]).isRequired,debug:L().bool.isRequired,height:L().number.isRequired,tooltip:L().oneOfType([L().func,L().object]).isRequired,current:L().object,setCurrent:L().func.isRequired};var zb=(0,r.memo)(Nb);function Fb(){return Fb=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},Fb.apply(this,arguments)}var Zb=function(e){var t=e.points,n=e.symbol,a=e.size,i=e.borderWidth,o=e.enableLabel,l=e.label,s=e.labelYOffset,u=Js(),c=pu(),f=c.animate,d=c.springConfig,p=nc(l),h=t.map((function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?p(e.data):null}}));return!0!==f?r.createElement(\"g\",null,h.map((function(e){return r.createElement($u,{key:e.id,x:e.x,y:e.y,datum:e.datum,symbol:n,size:a,color:e.fill,borderWidth:i,borderColor:e.stroke,label:e.label,labelYOffset:s,theme:u})}))):r.createElement(Tt.bg,{styles:h.map((function(e){return{key:e.id,data:e,style:{x:(0,Tt.ST)(e.x,d),y:(0,Tt.ST)(e.y,d),size:(0,Tt.ST)(a,d)}}}))},(function(e){return r.createElement(\"g\",null,e.map((function(e){var t=e.key,a=e.style,o=e.data;return r.createElement($u,Fb({key:t},a,{symbol:n,datum:o.datum,color:o.fill,borderWidth:i,borderColor:o.stroke,label:o.label,labelYOffset:s,theme:u}))})))}))};Zb.propTypes={points:L().arrayOf(L().object),symbol:L().func,size:L().number.isRequired,color:L().func.isRequired,borderWidth:L().number.isRequired,borderColor:L().func.isRequired,enableLabel:L().bool.isRequired,label:L().oneOfType([L().string,L().func]).isRequired,labelYOffset:L().number},Zb.defaultProps={enableLabel:!1,label:\"yFormatted\"};var Bb=(0,r.memo)(Zb),qb=function(e){var t=e.points,n=e.width,a=e.height,i=e.margin,o=e.setCurrent,l=e.onMouseEnter,s=e.onMouseMove,u=e.onMouseLeave,c=e.onClick,f=e.tooltip,d=e.debug,p=Ut(),h=p.showTooltipAt,m=p.hideTooltip,g=(0,r.useCallback)((function(e,t){h(r.createElement(f,{point:e}),[e.x+i.left,e.y+i.top],\"top\"),o(e),l&&l(e,t)}),[o,h,f,l,i]),y=(0,r.useCallback)((function(e,t){h(r.createElement(f,{point:e}),[e.x+i.left,e.y+i.top],\"top\"),o(e),s&&s(e,t)}),[o,h,f,s]),v=(0,r.useCallback)((function(e,t){m(),o(null),u&&u(e,t)}),[m,o,u]),b=(0,r.useCallback)((function(e,t){c&&c(e,t)}),[c]);return r.createElement(lb,{nodes:t,width:n,height:a,onMouseEnter:g,onMouseMove:y,onMouseLeave:v,onClick:b,debug:d})};qb.propTypes={points:L().arrayOf(L().object).isRequired,width:L().number.isRequired,height:L().number.isRequired,margin:L().object.isRequired,setCurrent:L().func.isRequired,onMouseEnter:L().func,onMouseMove:L().func,onMouseLeave:L().func,onClick:L().func,tooltip:L().oneOfType([L().func,L().object]).isRequired,debug:L().bool.isRequired};var Hb=(0,r.memo)(qb);function Ub(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wb(){return Wb=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},Wb.apply(this,arguments)}function Vb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var Yb=function(e){var t=e.data,n=e.xScale,a=e.xFormat,i=e.yScale,o=e.yFormat,l=e.layers,s=e.curve,u=e.areaBaselineValue,c=e.colors,f=e.margin,d=e.width,p=e.height,h=e.axisTop,m=e.axisRight,g=e.axisBottom,y=e.axisLeft,v=e.enableGridX,b=e.enableGridY,x=e.gridXValues,w=e.gridYValues,_=e.lineWidth,k=e.enableArea,T=e.areaOpacity,M=e.areaBlendMode,S=e.enablePoints,E=e.pointSymbol,C=e.pointSize,O=e.pointColor,A=e.pointBorderWidth,D=e.pointBorderColor,P=e.enablePointLabel,R=e.pointLabel,L=e.pointLabelFormat,I=e.pointLabelYOffset,j=e.defs,N=e.fill,z=e.markers,F=e.legends,Z=e.isInteractive,B=e.useMesh,q=e.debugMesh,H=e.onMouseEnter,U=e.onMouseMove,W=e.onMouseLeave,V=e.onClick,Y=e.tooltip,G=e.enableSlices,$=e.debugSlices,X=e.sliceTooltip,K=e.enableCrosshair,J=e.crosshairType,Q=Vs(d,p,f),ee=Q.margin,te=Q.innerWidth,ne=Q.innerHeight,re=Q.outerWidth,ae=Q.outerHeight,ie=Cb({data:t,xScale:n,xFormat:a,yScale:i,yFormat:o,width:te,height:ne,colors:c,curve:s,areaBaselineValue:u,pointColor:O,pointBorderColor:D,enableSlices:G}),oe=ie.lineGenerator,le=ie.areaGenerator,se=ie.series,ue=ie.xScale,ce=ie.yScale,fe=ie.slices,de=ie.points,pe=Js(),he=Hc(O,pe),me=Hc(D,pe),ge=Vb((0,r.useState)(null),2),ye=ge[0],ve=ge[1],be=Vb((0,r.useState)(null),2),xe=be[0],we=be[1],_e=(0,r.useMemo)((function(){return se.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse()}),[se]),ke={grid:r.createElement(Hf,{key:\"grid\",theme:pe,width:te,height:ne,xScale:v?ue:null,yScale:b?ce:null,xValues:x,yValues:w}),markers:r.createElement(ec,{key:\"markers\",markers:z,width:te,height:ne,xScale:ue,yScale:ce,theme:pe}),axes:r.createElement(jf,{key:\"axes\",xScale:ue,yScale:ce,width:te,height:ne,theme:pe,top:h,right:m,bottom:g,left:y}),areas:null,lines:r.createElement(Lb,{key:\"lines\",lines:se,lineGenerator:oe,lineWidth:_}),slices:null,points:null,crosshair:null,mesh:null,legends:F.map((function(e,t){return r.createElement(pp,Wb({key:\"legend.\".concat(t)},e,{containerWidth:te,containerHeight:ne,data:e.data||_e,theme:pe}))}))},Te=Tc(j,se,N);return k&&(ke.areas=r.createElement(Ab,{key:\"areas\",areaGenerator:le,areaOpacity:T,areaBlendMode:M,lines:se})),Z&&!1!==G&&(ke.slices=r.createElement(zb,{key:\"slices\",slices:fe,axis:G,debug:$,height:ne,tooltip:X,current:xe,setCurrent:we})),S&&(ke.points=r.createElement(Bb,{key:\"points\",points:de,symbol:E,size:C,color:he,borderWidth:A,borderColor:me,enableLabel:P,label:R,labelFormat:L,labelYOffset:I})),Z&&K&&(null!==ye&&(ke.crosshair=r.createElement(Bt,{key:\"crosshair\",width:te,height:ne,x:ye.x,y:ye.y,type:J})),null!==xe&&(ke.crosshair=r.createElement(Bt,{key:\"crosshair\",width:te,height:ne,x:xe.x,y:xe.y,type:G}))),Z&&B&&!1===G&&(ke.mesh=r.createElement(Hb,{key:\"mesh\",points:de,width:te,height:ne,margin:ee,current:ye,setCurrent:ve,onMouseEnter:H,onMouseMove:U,onMouseLeave:W,onClick:V,tooltip:Y,debug:q})),r.createElement(Wu,{defs:Te,width:re,height:ae,margin:ee},l.map((function(t,n){return\"function\"==typeof t?r.createElement(r.Fragment,{key:n},t(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ub(e,t,n[t])}))}return e}({},e,{innerWidth:te,innerHeight:ne,series:se,slices:fe,points:de,xScale:ue,yScale:ce,lineGenerator:oe,areaGenerator:le,currentPoint:ye,setCurrentPoint:ve,currentSlice:xe,setCurrentSlice:we}))):ke[t]})))};Yb.propTypes=vb,Yb.defaultProps=wb;mc(Yb);function Gb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var Xb=function(e){var t=e.width,n=e.height,a=e.margin,i=e.pixelRatio,o=e.data,l=e.xScale,s=e.xFormat,u=e.yScale,c=e.yFormat,f=e.curve,d=e.layers,p=e.colors,h=e.lineWidth,m=e.enableArea,g=e.areaBaselineValue,y=e.areaOpacity,v=e.enablePoints,b=e.pointSize,x=e.pointColor,w=e.pointBorderWidth,_=e.pointBorderColor,k=e.enableGridX,T=e.gridXValues,M=e.enableGridY,S=e.gridYValues,E=e.axisTop,C=e.axisRight,O=e.axisBottom,A=e.axisLeft,D=e.legends,P=e.isInteractive,R=e.debugMesh,L=e.onMouseLeave,I=e.onClick,j=e.tooltip,N=(0,r.useRef)(null),z=Vs(t,n,a),F=z.margin,Z=z.innerWidth,B=z.innerHeight,q=z.outerWidth,H=z.outerHeight,U=Js(),W=$b((0,r.useState)(null),2),V=W[0],Y=W[1],G=Cb({data:o,xScale:l,xFormat:s,yScale:u,yFormat:c,width:Z,height:B,colors:p,curve:f,areaBaselineValue:g,pointColor:x,pointBorderColor:_}),$=G.lineGenerator,X=G.areaGenerator,K=G.series,J=G.xScale,Q=G.yScale,ee=G.points,te=ib({points:ee,width:Z,height:B,debug:R}),ne=te.delaunay,re=te.voronoi;(0,r.useEffect)((function(){N.current.width=q*i,N.current.height=H*i;var e=N.current.getContext(\"2d\");e.scale(i,i),e.fillStyle=U.background,e.fillRect(0,0,q,H),e.translate(F.left,F.top),d.forEach((function(t){if(\"grid\"===t&&U.grid.line.strokeWidth>0&&(e.lineWidth=U.grid.line.strokeWidth,e.strokeStyle=U.grid.line.stroke,k&&Gf(e,{width:Z,height:B,scale:J,axis:\"x\",values:T}),M&&Gf(e,{width:Z,height:B,scale:Q,axis:\"y\",values:S})),\"axes\"===t&&Yf(e,{xScale:J,yScale:Q,width:Z,height:B,top:E,right:C,bottom:O,left:A,theme:U}),\"areas\"===t&&!0===m&&(e.save(),e.globalAlpha=y,X.context(e),K.forEach((function(t){e.fillStyle=t.color,e.beginPath(),X(t.data.map((function(e){return e.position}))),e.fill()})),e.restore()),\"lines\"===t&&($.context(e),K.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=h,e.beginPath(),$(t.data.map((function(e){return e.position}))),e.stroke()}))),\"points\"===t&&!0===v&&b>0&&ee.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,b/2,0,2*Math.PI),e.fill(),w>0&&(e.strokeStyle=t.borderColor,e.lineWidth=w,e.stroke())})),\"mesh\"===t&&!0===R&&(sb(e,re),V&&ub(e,re,V.index)),\"legends\"===t){var n=K.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();D.forEach((function(t){mp(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Gb(e,t,n[t])}))}return e}({},t,{data:t.data||n,containerWidth:Z,containerHeight:B,theme:U}))}))}}))}),[N,q,H,d,U,$,K,J,Q,k,T,M,S,E,C,O,A,D,ee,v,b,V]);var ae=(0,r.useCallback)((function(e){var t=$b(yc(N.current,e),2),n=t[0],r=t[1];if(!gc(F.left,F.top,Z,B,n,r))return null;var a=ne.find(n-F.left,r-F.top);return ee[a]}),[N,F,Z,B,ne]),ie=Ut(),oe=ie.showTooltipFromEvent,le=ie.hideTooltip,se=(0,r.useCallback)((function(e){var t=ae(e);Y(t),t?oe(r.createElement(j,{point:t}),e):le()}),[ae,Y,oe,le,j]),ue=(0,r.useCallback)((function(e){le(),Y(null),V&&L&&L(V,e)}),[le,Y,L]),ce=(0,r.useCallback)((function(e){if(I){var t=ae(e);t&&I(t,e)}}),[ae,I]);return r.createElement(\"canvas\",{ref:N,width:q*i,height:H*i,style:{width:q,height:H,cursor:P?\"auto\":\"normal\"},onMouseEnter:P?se:void 0,onMouseMove:P?se:void 0,onMouseLeave:P?ue:void 0,onClick:P?ce:void 0})};Xb.propTypes=bb,Xb.defaultProps=_b;var Kb=mc(Xb);function Jb(){return Jb=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},Jb.apply(this,arguments)}var Qb=function(e){return r.createElement(Cu,null,(function(t){var n=t.width,a=t.height;return r.createElement(Kb,Jb({width:n,height:a},e))}))},ex=n(82313),tx=(0,ex.Z)((function(e){return r.createElement(S,{className:e.classes.graph},r.createElement(Qb,{data:[{id:\"1\",data:e.data[e.xField].map((function(t,n){return{x:t,y:e.data[e.yField][n]}}))}],margin:{top:0,right:0,bottom:0,left:0},xScale:{type:\"linear\",min:0,max:25},axisTop:null,colors:[e.color],axisRight:null,enableGridX:!1,enableGridY:!1}))})),nx=n(63105),rx=n.n(nx),ax=n(57557),ix=n.n(ax),ox=L().shape({match:L().oneOfType([L().func,L().object]).isRequired,type:L().oneOf([\"circle\",\"rect\",\"dot\"]).isRequired,noteX:L().oneOfType([L().number,L().shape({abs:L().number.isRequired})]).isRequired,noteY:L().oneOfType([L().number,L().shape({abs:L().number.isRequired})]).isRequired,noteWidth:L().number,noteTextOffset:L().number,note:L().oneOfType([L().node,L().func]).isRequired,offset:L().number}),lx=120,sx=8;function ux(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cx=function(e){return{x:e.x,y:e.y}},fx=function(e){var t=e.items,n=e.annotations,r=e.getPosition,a=void 0===r?cx:r,i=e.getDimensions;return n.reduce((function(e,n){return rx()(t,n.match).forEach((function(t){var r=a(t),o=i(t,n.offset||0);e.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ux(e,t,n[t])}))}return e}({},ix()(n,[\"match\",\"offset\"]),r,o,{datum:t,size:n.size||o.size}))})),e}),[])},dx=function(e){var t,n,r=e.type,a=e.x,i=e.y,o=e.size,l=e.width,s=e.height,u=e.noteX,c=e.noteY,f=e.noteWidth,d=void 0===f?lx:f,p=e.noteTextOffset,h=void 0===p?sx:p;os()(u)?void 0!==u.abs&&(t=u.abs):t=a+u,os()(c)?void 0!==c.abs&&(n=c.abs):n=i+c;var m=a,g=i,y=function(e,t,n,r){var a=Math.atan2(r-t,n-e);return function(e){var t=e%360;return t<0&&(t+=360),t}(Ru(a))}(a,i,t,n);if(\"circle\"===r){var v=Lu(Pu(y),o/2);m+=v.x,g+=v.y}if(\"rect\"===r){var b=Math.round((y+90)/45)%8;0===b&&(g-=s/2),1===b&&(m+=l/2,g-=s/2),2===b&&(m+=l/2),3===b&&(m+=l/2,g+=s/2),4===b&&(g+=s/2),5===b&&(m-=l/2,g+=s/2),6===b&&(m-=l/2),7===b&&(m-=l/2,g-=s/2)}var x=t,w=t;return(y+90)%360>180?(x-=d,w-=d):w+=d,{points:[[m,g],[t,n],[w,n]],text:[x,n-h],angle:y+90}};var px=function(e){var t=e.items,n=e.annotations,a=e.getPosition,i=e.getDimensions;return(0,r.useMemo)((function(){return fx({items:t,annotations:n,getPosition:a,getDimensions:i})}),[t,n,a,i])};function hx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){mx(e,t,n[t])}))}return e}function mx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gx=(0,r.memo)((function(e){var t=e.datum,n=e.x,a=e.y,i=e.note,o=Js();return\"function\"==typeof i?i({x:n,y:a,datum:t}):r.createElement(r.Fragment,null,o.annotations.text.outlineWidth>0&&r.createElement(\"text\",{x:n,y:a,style:hx({},o.annotations.text,{strokeLinejoin:\"round\",strokeWidth:2*o.annotations.text.outlineWidth,stroke:o.annotations.text.outlineColor})},i),r.createElement(\"text\",{x:n,y:a,style:ix()(o.annotations.text,[\"outlineWidth\",\"outlineColor\"])},i))}));function yx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}gx.displayName=\"AnnotationNote\",gx.propTypes={datum:L().object.isRequired,x:L().number.isRequired,y:L().number.isRequired,note:L().oneOfType([L().node,L().func]).isRequired},gx.defaultProps={};var vx=(0,r.memo)((function(e){var t=e.points,n=e.isOutline,a=Js(),i=pu(),o=i.animate,l=i.springConfig;if(n&&a.annotations.link.outlineWidth<=0)return null;var s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){yx(e,t,n[t])}))}return e}({},a.annotations.link);n&&(s.strokeLinecap=\"square\",s.strokeWidth=a.annotations.link.strokeWidth+2*a.annotations.link.outlineWidth,s.stroke=a.annotations.link.outlineColor);var u=\"M\".concat(t[0][0],\",\").concat(t[0][1]);return t.slice(1).forEach((function(e){u=\"\".concat(u,\" L\").concat(e[0],\",\").concat(e[1])})),o?r.createElement(cu,{style:function(e){return{d:e(u,l)}}},(function(e){return r.createElement(\"path\",{fill:\"none\",d:e.d,style:s})})):r.createElement(\"path\",{fill:\"none\",d:u,style:s})}));function bx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){xx(e,t,n[t])}))}return e}function xx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}vx.displayName=\"AnnotationLink\",vx.propTypes={points:L().arrayOf(L().array).isRequired,isOutline:L().bool.isRequired},vx.defaultProps={isOutline:!1};var wx=(0,r.memo)((function(e){var t=e.x,n=e.y,a=e.size,i=Js(),o=pu(),l=o.animate,s=o.springConfig;return l?r.createElement(Tt.y_,{style:{x:(0,Tt.ST)(t,s),y:(0,Tt.ST)(n,s),size:(0,Tt.ST)(a,s)}},(function(e){return r.createElement(r.Fragment,null,i.annotations.outline.outlineWidth>0&&r.createElement(\"circle\",{cx:e.x,cy:e.y,r:e.size/2,style:bx({},i.annotations.outline,{fill:\"none\",strokeWidth:i.annotations.outline.strokeWidth+2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor})}),r.createElement(\"circle\",{cx:e.x,cy:e.y,r:e.size/2,style:i.annotations.outline}))})):r.createElement(r.Fragment,null,i.annotations.outline.outlineWidth>0&&r.createElement(\"circle\",{cx:t,cy:n,r:a/2,style:bx({},i.annotations.outline,{fill:\"none\",strokeWidth:i.annotations.outline.strokeWidth+2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor})}),r.createElement(\"circle\",{cx:t,cy:n,r:a/2,style:i.annotations.outline}))}));function _x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){kx(e,t,n[t])}))}return e}function kx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}wx.displayName=\"CircleAnnotationOutline\",wx.propTypes={x:L().number.isRequired,y:L().number.isRequired,size:L().number.isRequired};var Tx=(0,r.memo)((function(e){var t=e.x,n=e.y,a=e.size,i=Js(),o=pu(),l=o.animate,s=o.springConfig;return l?r.createElement(Tt.y_,{style:{x:(0,Tt.ST)(t,s),y:(0,Tt.ST)(n,s),size:(0,Tt.ST)(a,s)}},(function(e){return r.createElement(r.Fragment,null,i.annotations.outline.outlineWidth>0&&r.createElement(\"circle\",{cx:e.x,cy:e.y,r:e.size/2,style:_x({},i.annotations.outline,{fill:\"none\",strokeWidth:2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor})}),r.createElement(\"circle\",{cx:e.x,cy:e.y,r:e.size/2,style:i.annotations.symbol}))})):r.createElement(r.Fragment,null,i.annotations.outline.outlineWidth>0&&r.createElement(\"circle\",{cx:t,cy:n,r:a/2,style:_x({},i.annotations.outline,{fill:\"none\",strokeWidth:2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor})}),r.createElement(\"circle\",{cx:t,cy:n,r:a/2,style:i.annotations.symbol}))}));function Mx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Sx(e,t,n[t])}))}return e}function Sx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Tx.displayName=\"DotAnnotationOutline\",Tx.propTypes={x:L().number.isRequired,y:L().number.isRequired,size:L().number.isRequired},Tx.defaultProps={size:4};var Ex=(0,r.memo)((function(e){var t=e.x,n=e.y,a=e.width,i=e.height,o=Js(),l=pu(),s=l.animate,u=l.springConfig;return s?r.createElement(Tt.y_,{style:{x:(0,Tt.ST)(t-a/2,u),y:(0,Tt.ST)(n-i/2,u),width:(0,Tt.ST)(a,u),height:(0,Tt.ST)(i,u)}},(function(e){return r.createElement(r.Fragment,null,o.annotations.outline.outlineWidth>0&&r.createElement(\"rect\",{x:e.x,y:e.y,width:e.width,height:e.height,style:Mx({},o.annotations.outline,{fill:\"none\",strokeWidth:o.annotations.outline.strokeWidth+2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor})}),r.createElement(\"rect\",{x:e.x,y:e.y,width:e.width,height:e.height,style:o.annotations.outline}))})):r.createElement(r.Fragment,null,o.annotations.outline.outlineWidth>0&&r.createElement(\"rect\",{x:t-a/2,y:n-i/2,width:a,height:i,style:Mx({},o.annotations.outline,{fill:\"none\",strokeWidth:o.annotations.outline.strokeWidth+2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor})}),r.createElement(\"rect\",{x:t-a/2,y:n-i/2,width:a,height:i,style:o.annotations.outline}))}));Ex.displayName=\"RectAnnotationOutline\",Ex.propTypes={x:L().number.isRequired,y:L().number.isRequired,width:L().number.isRequired,height:L().number.isRequired};var Cx=(0,r.memo)((function(e){var t=e.datum,n=e.type,a=e.containerWidth,i=e.containerHeight,o=e.x,l=e.y,s=e.size,u=e.width,c=e.height,f=e.noteX,d=e.noteY,p=e.noteWidth,h=e.noteTextOffset,m=e.note,g=pu(),y=g.animate,v=g.springConfig,b=function(e){var t=e.type,n=e.containerWidth,a=e.containerHeight,i=e.x,o=e.y,l=e.size,s=e.width,u=e.height,c=e.noteX,f=e.noteY,d=e.noteWidth,p=e.noteTextOffset;return(0,r.useMemo)((function(){return dx({type:t,containerWidth:n,containerHeight:a,x:i,y:o,size:l,width:s,height:u,noteX:c,noteY:f,noteWidth:d,noteTextOffset:p})}),[t,n,a,i,o,l,s,u,c,f,d,p])}({type:n,containerWidth:a,containerHeight:i,x:o,y:l,size:s,width:u,height:c,noteX:f,noteY:d,noteWidth:p,noteTextOffset:h});return r.createElement(r.Fragment,null,r.createElement(vx,{points:b.points,isOutline:!0}),\"circle\"===n&&r.createElement(wx,{x:o,y:l,size:s}),\"dot\"===n&&r.createElement(Tx,{x:o,y:l,size:s}),\"rect\"===n&&r.createElement(Ex,{x:o,y:l,width:u,height:c}),r.createElement(vx,{points:b.points}),!y&&r.createElement(gx,{x:b.text[0],y:b.text[1],note:m}),y&&r.createElement(Tt.y_,{style:{x:(0,Tt.ST)(b.text[0],v),y:(0,Tt.ST)(b.text[1],v)}},(function(e){return r.createElement(gx,{datum:t,x:e.x,y:e.y,note:m})})))}));Cx.displayName=\"Annotation\",Cx.propTypes={datum:L().object.isRequired,type:L().oneOf([\"circle\",\"rect\",\"dot\"]).isRequired,containerWidth:L().number.isRequired,containerHeight:L().number.isRequired,x:L().number.isRequired,y:L().number.isRequired,size:L().number,width:L().number,height:L().number,noteX:L().oneOfType([L().number,L().shape({abs:L().number.isRequired})]).isRequired,noteY:L().oneOfType([L().number,L().shape({abs:L().number.isRequired})]).isRequired,noteWidth:L().number.isRequired,noteTextOffset:L().number.isRequired,note:L().oneOfType([L().node,L().func]).isRequired},Cx.defaultProps={noteWidth:lx,noteTextOffset:sx};function Ox(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ax(e,t,n[t])}))}return e}function Ax(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dx(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}function Px(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rx=function(e){return(0,r.useMemo)((function(){return function(e){if(\"function\"==typeof e)return e;if(Gc()(e))return function(){return e};if(os()(e)){if(!en()(e.key))throw new Error(\"symbolSize is invalid, key should be a string pointing to the property to use to determine node size\");if(!Array.isArray(e.values)||2!==e.values.length)throw new Error(\"symbolSize is invalid, values spec should be an array containing two values, min and max\");if(!Array.isArray(e.sizes)||2!==e.sizes.length)throw new Error(\"symbolSize is invalid, sizes spec should be an array containing two values, min and max\");var t=am().domain([e.values[0],e.values[1]]).range([e.sizes[0],e.sizes[1]]);return function(n){return t(Gt()(n,e.key))}}throw new Error(\"symbolSize is invalid, it should be either a function, a number or an object\")}(e)}),[e])},Lx=function(e){var t=e.data,n=e.xScaleSpec,a=e.xFormat,i=e.yScaleSpec,o=e.yFormat,l=e.width,s=e.height,u=e.nodeSize,c=e.colors,f=(0,r.useMemo)((function(){return kv(t,n,i,l,s)}),[t,n,i,l,s]),d=f.series,p=f.xScale,h=f.yScale,m=Gs(a),g=Gs(o),y=(0,r.useMemo)((function(){return function(e){var t=e.series,n=e.formatX,r=e.formatY;return t.reduce((function(e,t){return[].concat(Dx(e),Dx(t.data.map((function(a,i){return{index:e.length+i,id:\"\".concat(t.id,\".\").concat(i),x:a.position.x,y:a.position.y,data:Ox({},a.data,{id:\"\".concat(t.id,\".\").concat(i),serieId:t.id,formattedX:n(a.data.x),formattedY:r(a.data.y)})}}))))}),[])}({series:d,formatX:m,formatY:g})}),[d,m,g]),v=Rx(u),b=Zc(c,\"serieId\"),x=(0,r.useMemo)((function(){return y.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Px(e,t,n[t])}))}return e}({},e,{size:v(e.data),style:{color:b(e.data)}})}))}),[y,v,b]);return{xScale:p,yScale:h,nodes:x,legendData:(0,r.useMemo)((function(){return d.map((function(e){return{id:e.id,label:e.id,color:b({serieId:e.id})}}))}),[d,b])}},Ix=function(e){var t=e.x,n=e.y,a=e.size,i=e.color,o=e.blendMode,l=e.onMouseEnter,s=e.onMouseMove,u=e.onMouseLeave,c=e.onClick;return r.createElement(\"circle\",{cx:t,cy:n,r:a/2,fill:i,style:{mixBlendMode:o},onMouseEnter:l,onMouseMove:s,onMouseLeave:u,onClick:c})};Ix.propTypes={node:L().object.isRequired,x:L().number.isRequired,y:L().number.isRequired,size:L().number.isRequired,color:L().string.isRequired,blendMode:qs.isRequired,onMouseEnter:L().func,onMouseMove:L().func,onMouseLeave:L().func,onClick:L().func};var jx=(0,r.memo)(Ix),Nx=function(e){var t=e.node;return r.createElement(Rt,{id:t.data.serieId,value:\"x: \".concat(t.data.formattedX,\", y: \").concat(t.data.formattedY),enableChip:!0,color:t.style.color})};Nx.propTypes={node:L().object.isRequired};var zx=(0,r.memo)(Nx);function Fx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Zx(e,t,n[t])}))}return e}function Zx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bx={data:L().arrayOf(L().shape({id:L().string.isRequired,data:L().arrayOf(L().shape({x:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired,y:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired})).isRequired})).isRequired,xScale:Av.isRequired,xFormat:L().any,yScale:Av.isRequired,yFormat:L().any,layers:L().arrayOf(L().oneOfType([L().oneOf([\"grid\",\"axes\",\"nodes\",\"markers\",\"mesh\",\"legends\",\"annotations\"]),L().func])).isRequired,enableGridX:L().bool.isRequired,enableGridY:L().bool.isRequired,axisTop:_f,axisRight:_f,axisBottom:_f,axisLeft:_f,annotations:L().arrayOf(ox).isRequired,nodeSize:L().oneOfType([L().number,L().shape({key:L().string.isRequired,values:L().arrayOf(L().number).isRequired,sizes:L().arrayOf(L().number).isRequired}),L().func]).isRequired,renderNode:L().oneOfType([L().func,L().object]).isRequired,colors:Uc.isRequired,blendMode:qs.isRequired,isInteractive:L().bool.isRequired,debugMesh:L().bool.isRequired,onMouseEnter:L().func,onMouseMove:L().func,onMouseLeave:L().func,onClick:L().func,tooltip:L().oneOfType([L().func,L().object]).isRequired,markers:L().arrayOf(L().shape({axis:L().oneOf([\"x\",\"y\"]).isRequired,value:L().oneOfType([L().number,L().string]).isRequired,style:L().object})),legends:L().arrayOf(L().shape(md)).isRequired},qx=Fx({},Bx,{useMesh:L().bool.isRequired},Bs),Hx=Fx({},Bx,{pixelRatio:L().number.isRequired}),Ux={xScale:{type:\"linear\",min:0,max:\"auto\"},yScale:{type:\"linear\",min:0,max:\"auto\"},enableGridX:!0,enableGridY:!0,axisBottom:{},axisLeft:{},nodeSize:9,renderNode:jx,colors:{scheme:\"nivo\"},blendMode:\"normal\",isInteractive:!0,debugMesh:!1,tooltip:zx,markers:[],legends:[],annotations:[]},Wx=Fx({},Ux,{layers:[\"grid\",\"axes\",\"nodes\",\"markers\",\"mesh\",\"legends\",\"annotations\"],useMesh:!0,animate:!0,motionStiffness:90,motionDamping:15}),Vx=Fx({},Ux,{layers:[\"grid\",\"axes\",\"nodes\",\"mesh\",\"legends\",\"annotations\"],pixelRatio:n.g.window&&n.g.window.devicePixelRatio?n.g.window.devicePixelRatio:1}),Yx=L().shape({id:L().string.isRequired,x:L().number.isRequired,y:L().number.isRequired,size:L().number.isRequired,data:L().shape({id:L().string.isRequired,serieId:L().string.isRequired,x:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired,formattedX:L().oneOfType([L().string,L().number]).isRequired,y:L().oneOfType([L().number,L().string,L().instanceOf(Date)]).isRequired,formattedY:L().oneOfType([L().string,L().number]).isRequired}).isRequired,style:L().shape({color:L().string.isRequired}).isRequired}),Gx=function(e){var t=e.node,n=e.renderNode,a=e.x,i=e.y,o=e.size,l=e.color,s=e.isInteractive,u=e.onMouseEnter,c=e.onMouseMove,f=e.onMouseLeave,d=e.onClick,p=e.tooltip,h=e.blendMode,m=Ut(),g=m.showTooltipFromEvent,y=m.hideTooltip,v=(0,r.useCallback)((function(e){g(r.createElement(p,{node:t}),e),u&&u(t,e)}),[t,p,g,u]),b=(0,r.useCallback)((function(e){g(r.createElement(p,{node:t}),e),c&&c(t,e)}),[t,p,g,c]),x=(0,r.useCallback)((function(e){y(),f&&f(t,e)}),[t,y,f]),w=(0,r.useCallback)((function(e){d&&d(t,e)}),[t,d]);return r.createElement(n,{node:t,x:a,y:i,size:o,color:l,blendMode:h,onMouseEnter:s?v:void 0,onMouseMove:s?b:void 0,onMouseLeave:s?x:void 0,onClick:s&&d?w:void 0})};Gx.propTypes={node:Yx.isRequired,renderNode:L().oneOfType([L().func,L().object]).isRequired,x:L().number.isRequired,y:L().number.isRequired,size:L().number.isRequired,color:L().string.isRequired,isInteractive:L().bool.isRequired,onMouseEnter:L().func,onMouseMove:L().func,onMouseLeave:L().func,onClick:L().func,tooltip:L().oneOfType([L().func,L().object]).isRequired,blendMode:qs.isRequired};var $x=(0,r.memo)(Gx),Xx=function(e){var t=e.nodes,n=e.renderNode,a=e.isInteractive,i=e.onMouseEnter,o=e.onMouseMove,l=e.onMouseLeave,s=e.onClick,u=e.tooltip,c=e.blendMode,f=pu().springConfig;return r.createElement(Tt.bg,{styles:t.map((function(e){return{key:e.id,data:e,style:{x:(0,Tt.ST)(e.x,f),y:(0,Tt.ST)(e.y,f),size:(0,Tt.ST)(e.size,f)}}}))},(function(e){return r.createElement(r.Fragment,null,e.map((function(e){var t=e.key,f=e.style,d=e.data;return r.createElement($x,{key:t,node:d,renderNode:n,x:f.x,y:f.y,size:f.size,color:d.style.color,isInteractive:a,onMouseEnter:i,onMouseMove:o,onMouseLeave:l,onClick:s,tooltip:u,blendMode:c})})))}))};Xx.propTypes={nodes:L().arrayOf(Yx).isRequired,renderNode:L().oneOfType([L().func,L().object]).isRequired,isInteractive:L().bool.isRequired,onMouseEnter:L().func,onMouseMove:L().func,onMouseLeave:L().func,onClick:L().func,tooltip:L().oneOfType([L().func,L().object]).isRequired,blendMode:qs.isRequired};var Kx=(0,r.memo)(Xx);function Jx(){return Jx=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},Jx.apply(this,arguments)}var Qx=function(e){var t=e.nodes,n=e.annotations,a=e.innerWidth,i=e.innerHeight,o=function(e,t){return px({items:e,annotations:t,getDimensions:function(e,t){var n=e.size+2*t;return{size:n,width:n,height:n}}})}(t,n);return o.map((function(e,t){return r.createElement(Cx,Jx({key:t},e,{containerWidth:a,containerHeight:i}))}))};Qx.propTypes={};var ew=function(e){var t=e.nodes,n=e.renderNode,a=e.isInteractive,i=e.onMouseEnter,o=e.onMouseMove,l=e.onMouseLeave,s=e.onClick,u=e.tooltip,c=e.blendMode;return t.map((function(e){return r.createElement($x,{key:e.id,node:e,renderNode:n,x:e.x,y:e.y,size:e.size,color:e.style.color,isInteractive:a,onMouseEnter:i,onMouseMove:o,onMouseLeave:l,onClick:s,tooltip:u,blendMode:c})}))};ew.propTypes={nodes:L().arrayOf(Yx).isRequired,renderNode:L().oneOfType([L().func,L().object]).isRequired,isInteractive:L().bool.isRequired,onMouseEnter:L().func,onMouseMove:L().func,onMouseLeave:L().func,onClick:L().func,tooltip:L().oneOfType([L().func,L().object]).isRequired,blendMode:qs.isRequired};var tw=(0,r.memo)(ew),nw=function(e){var t=e.nodes,n=e.width,a=e.height,i=e.onMouseEnter,o=e.onMouseMove,l=e.onClick,s=e.tooltip,u=e.debug,c=Ut(),f=c.showTooltipFromEvent,d=c.hideTooltip,p=(0,r.useCallback)((function(e,t){f(r.createElement(s,{node:e}),t),i&&i(e,t)}),[f,s,i]),h=(0,r.useCallback)((function(e,t){f(r.createElement(s,{node:e}),t),o&&o(e,t)}),[f,s,o]),m=(0,r.useCallback)((function(){d()}),[d]),g=(0,r.useCallback)((function(e,t){l&&l(e,t)}),[l]);return r.createElement(lb,{nodes:t,width:n,height:a,onMouseEnter:p,onMouseMove:h,onMouseLeave:m,onClick:g,debug:u})};nw.propTypes={nodes:L().arrayOf(Yx).isRequired,width:L().number.isRequired,height:L().number.isRequired,onMouseEnter:L().func,onMouseMove:L().func,onClick:L().func,tooltip:L().oneOfType([L().func,L().object]).isRequired,debug:L().bool.isRequired};var rw=(0,r.memo)(nw);function aw(){return aw=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},aw.apply(this,arguments)}function iw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ow=function(e){var t=e.data,n=e.xScale,a=e.xFormat,i=e.yScale,o=e.yFormat,l=e.width,s=e.height,u=e.margin,c=e.layers,f=e.colors,d=e.blendMode,p=e.nodeSize,h=e.renderNode,m=e.enableGridX,g=e.enableGridY,y=e.gridXValues,v=e.gridYValues,b=e.axisTop,x=e.axisRight,w=e.axisBottom,_=e.axisLeft,k=e.annotations,T=e.isInteractive,M=e.useMesh,S=e.debugMesh,E=e.onMouseEnter,C=e.onMouseMove,O=e.onMouseLeave,A=e.onClick,D=e.tooltip,P=e.markers,R=e.legends,L=Vs(l,s,u),I=L.margin,j=L.innerWidth,N=L.innerHeight,z=L.outerWidth,F=L.outerHeight,Z=Js(),B=pu().animate,q=Lx({data:t,xScaleSpec:n,xFormat:a,yScaleSpec:i,yFormat:o,width:j,height:N,nodeSize:p,colors:f}),H=q.xScale,U=q.yScale,W=q.nodes,V=q.legendData,Y=(0,r.useMemo)((function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){iw(e,t,n[t])}))}return e}({},e,{xScale:H,yScale:U,nodes:W,margin:I,innerWidth:j,innerHeight:N,outerWidth:z,outerHeight:F})}),[H,U,W,I,j,N,z,F]),G=B?Kx:tw,$={grid:r.createElement(Hf,{key:\"grid\",width:j,height:N,xScale:m?H:null,yScale:g?U:null,xValues:y,yValues:v}),axes:r.createElement(jf,{key:\"axes\",xScale:H,yScale:U,width:j,height:N,top:b,right:x,bottom:w,left:_}),nodes:r.createElement(G,{key:\"nodes\",nodes:W,renderNode:h,isInteractive:T,onMouseEnter:E,onMouseMove:C,onMouseLeave:O,onClick:A,tooltip:D,blendMode:d}),markers:r.createElement(ec,{key:\"markers\",markers:P,width:j,height:N,xScale:H,yScale:U}),mesh:null,annotations:r.createElement(Qx,{key:\"annotations\",nodes:W,annotations:k,innerWidth:j,innerHeight:N,animate:B}),legends:R.map((function(e,t){return r.createElement(pp,aw({key:t},e,{containerWidth:j,containerHeight:N,data:V,theme:Z}))}))};return!0===T&&!0===M&&($.mesh=r.createElement(rw,{key:\"mesh\",nodes:W,width:j,height:N,onMouseEnter:E,onMouseMove:C,onMouseLeave:O,onClick:A,tooltip:D,debug:S})),r.createElement(Wu,{width:z,height:F,margin:I,theme:Z},c.map((function(e,t){if(void 0!==$[e])return $[e];if(\"function\"==typeof e)return r.createElement(r.Fragment,{key:t},r.createElement(e,Y));throw new Error(\"Unknown layer (\".concat(e,\")\"))})))};ow.propTypes=qx,ow.defaultProps=Wx;var lw=(0,r.memo)(mc(ow));function sw(){return sw=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},sw.apply(this,arguments)}var uw=function(e){return r.createElement(Cu,null,(function(t){var n=t.width,a=t.height;return r.createElement(lw,sw({width:n,height:a},e))}))};function cw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){fw(e,t,n[t])}))}return e}function fw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var pw=function(e){var t=e.data,n=e.xScale,a=e.xFormat,i=e.yScale,o=e.yFormat,l=e.width,s=e.height,u=e.margin,c=e.pixelRatio,f=e.layers,d=e.colors,p=e.nodeSize,h=e.renderNode,m=e.enableGridX,g=e.gridXValues,y=e.enableGridY,v=e.gridYValues,b=e.axisTop,x=e.axisRight,w=e.axisBottom,_=e.axisLeft,k=e.isInteractive,T=e.debugMesh,M=e.onMouseEnter,S=e.onMouseMove,E=e.onMouseLeave,C=e.onClick,O=e.tooltip,A=e.legends,D=(0,r.useRef)(null),P=Js(),R=dw((0,r.useState)(null),2),L=R[0],I=R[1],j=Vs(l,s,u),N=j.margin,z=j.innerWidth,F=j.innerHeight,Z=j.outerWidth,B=j.outerHeight,q=Lx({data:t,xScaleSpec:n,xFormat:a,yScaleSpec:i,yFormat:o,width:z,height:F,nodeSize:p,colors:d}),H=q.xScale,U=q.yScale,W=q.nodes,V=q.legendData,Y=ib({points:W,width:z,height:F,debug:T}),G=Y.delaunay,$=Y.voronoi,X=(0,r.useMemo)((function(){return cw({},e,{xScale:H,yScale:U,nodes:W,margin:N,innerWidth:z,innerHeight:F,outerWidth:Z,outerHeight:B})}),[H,U,W,N,z,F,Z,B]);(0,r.useEffect)((function(){D.current.width=Z*c,D.current.height=B*c;var e=D.current.getContext(\"2d\");e.scale(c,c),e.fillStyle=P.background,e.fillRect(0,0,Z,B),e.translate(N.left,N.top),f.forEach((function(t){if(\"grid\"===t)e.lineWidth=P.grid.line.strokeWidth,e.strokeStyle=P.grid.line.stroke,m&&Gf(e,{width:z,height:F,scale:H,axis:\"x\",values:g}),y&&Gf(e,{width:z,height:F,scale:U,axis:\"y\",values:v});else if(\"axes\"===t)Yf(e,{xScale:H,yScale:U,width:z,height:F,top:b,right:x,bottom:w,left:_,theme:P});else if(\"nodes\"===t)W.forEach((function(t){h(e,t)}));else if(\"mesh\"===t)!0===T&&(sb(e,$),L&&ub(e,$,L.index));else if(\"legends\"===t)A.forEach((function(t){mp(e,cw({},t,{data:V,containerWidth:z,containerHeight:F,theme:P}))}));else{if(\"function\"!=typeof t)throw new Error(\"Invalid layer: \".concat(t));t(e,X)}}))}),[D,z,F,Z,B,N.top,N.left,c,h,f,X,P,H,U,W,m,y,b,x,w,_,A,V,T,$,L]);var K=Ut(),J=K.showTooltipFromEvent,Q=K.hideTooltip,ee=(0,r.useCallback)((function(e){var t=dw(yc(D.current,e),2),n=t[0],r=t[1];if(!gc(N.left,N.top,z,F,n,r))return null;var a=G.find(n-N.left,r-N.top);return W[a]}),[D,N,z,F,G]),te=(0,r.useCallback)((function(e){var t=ee(e);I(t),t?(J(r.createElement(O,{node:t}),e),L&&L.id!==t.id&&(E&&E(L,e),M&&M(t,e)),L||M&&M(t,e),S&&S(t,e)):(Q(),L&&E&&E(L,e))}),[ee,L,I,J,Q,O,M,S,E]),ne=(0,r.useCallback)((function(e){Q(),I(null),L&&E&&E(L,e)}),[Q,L,I,E]),re=(0,r.useCallback)((function(e){if(C){var t=ee(e);t&&C(t,e)}}),[ee,C]);return r.createElement(\"canvas\",{ref:D,width:Z*c,height:B*c,style:{width:Z,height:B,cursor:k?\"auto\":\"normal\"},onMouseEnter:k?te:void 0,onMouseMove:k?te:void 0,onMouseLeave:k?ne:void 0,onClick:k?re:void 0})};pw.propTypes=Hx,pw.defaultProps=cw({},Vx,{renderNode:function(e,t){e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fillStyle=t.style.color,e.fill()}});(0,r.memo)(mc(pw));var hw=(0,ex.Z)((function(e){return r.createElement(S,{className:e.classes.graph},r.createElement(uw,{data:[{id:\"1\",data:e.data[e.xField].map((function(t,n){return{x:t,y:e.data[e.yField][n]}}))}],margin:{top:3,right:3,bottom:3,left:3},xScale:{type:\"linear\",min:0,max:1e3},nodeSize:4,colors:[e.color],useMesh:!1,axisTop:null,axisRight:null,enableGridX:!1,enableGridY:!1}))})),mw=n(53632),gw=n.n(mw),yw=n(6162),vw=n.n(yw),bw=n(96026),xw=n.n(bw),ww=n(16693),_w=n.n(ww),kw=Array.prototype.slice;function Tw(e,t){return e[t]}function Mw(){var e=kp([]),t=hi,n=vi,r=Tw;function a(a){var i,o,l=e.apply(this,arguments),s=a.length,u=l.length,c=new Array(u);for(i=0;i<u;++i){for(var f,d=l[i],p=c[i]=new Array(s),h=0;h<s;++h)p[h]=f=[0,+r(a[h],d,h,a)],f.data=a[h];p.key=d}for(i=0,o=t(c);i<u;++i)c[o[i]].index=i;return n(c,o),c}return a.keys=function(t){return arguments.length?(e=\"function\"==typeof t?t:kp(kw.call(t)),a):e},a.value=function(e){return arguments.length?(r=\"function\"==typeof e?e:kp(+e),a):r},a.order=function(e){return arguments.length?(t=null==e?hi:\"function\"==typeof e?e:kp(kw.call(e)),a):t},a.offset=function(e){return arguments.length?(n=null==e?vi:e,a):n},a}var Sw=n(12895),Ew=function(e,t,n,r){return mm().rangeRound(n).domain(e.map(t)).padding(r)};function Cw(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}var Ow=function(e,t,n,r,a){var i=e.reduce((function(e,n){return[].concat(Cw(e),Cw(t.map((function(e){return n[e]}))))}),[]),o=r;\"auto\"===o&&(o=vw()(i));var l=n;return\"auto\"===l&&(l=gw()(i))>0&&(l=0),am().rangeRound(a).domain([l,o])},Aw=function(e){return\"vertical\"===e.layout?function(e){var t=e.data,n=e.getIndex,r=e.keys,a=e.minValue,i=e.maxValue,o=e.reverse,l=e.width,s=e.height,u=e.getColor,c=e.padding,f=void 0===c?0:c,d=e.innerPadding,p=void 0===d?0:d,h=Ew(t,n,[0,l],f),m=Ow(t,r,a,i,o?[0,s]:[s,0]),g=(h.bandwidth()-p*(r.length-1))/r.length,y=m(0),v=function(e){return e>0?m(e):y},b=function(e,t){return e>0?y-t:m(e)-y};o&&(v=function(e){return e<0?m(e):y},b=function(e,t){return e<0?y-t:m(e)-y});var x=[];return g>0&&r.forEach((function(e,r){xw()(h.domain().length).forEach((function(a){var i=h(n(t[a]))+g*r+p*r,o=v(t[a][e]),l=b(t[a][e],o);if(g>0&&l>0){var s={id:e,value:t[a][e],index:a,indexValue:n(t[a]),data:t[a]};x.push({key:\"\".concat(e,\".\").concat(s.indexValue),data:s,x:i,y:o,width:g,height:l,color:u(s)})}}))})),{xScale:h,yScale:m,bars:x}}(e):function(e){var t=e.data,n=e.getIndex,r=e.keys,a=e.minValue,i=e.maxValue,o=e.reverse,l=e.width,s=e.height,u=e.getColor,c=e.padding,f=void 0===c?0:c,d=e.innerPadding,p=void 0===d?0:d,h=Ow(t,r,a,i,o?[l,0]:[0,l]),m=Ew(t,n,[s,0],f),g=(m.bandwidth()-p*(r.length-1))/r.length,y=h(0),v=function(e){return e>0?y:h(e)},b=function(e,t){return e>0?h(e)-y:y-t};o&&(v=function(e){return e<0?y:h(e)},b=function(e,t){return e<0?h(e)-y:y-t});var x=[];return g>0&&r.forEach((function(e,r){xw()(m.domain().length).forEach((function(a){var i=v(t[a][e]),o=m(n(t[a]))+g*r+p*r,l=b(t[a][e],i);if(l>0){var s={id:e,value:t[a][e],index:a,indexValue:n(t[a]),data:t[a]};x.push({key:\"\".concat(e,\".\").concat(s.indexValue),data:s,x:i,y:o,width:l,height:g,color:u(s)})}}))})),{xScale:h,yScale:m,bars:x}}(e)},Dw=function(e,t,n,r){var a=_w()(e,2),i=t;\"auto\"===i&&(i=gw()(a));var o=n;return\"auto\"===o&&(o=vw()(a)),am().rangeRound(r).domain([i,o])},Pw=function(e){return\"vertical\"===e.layout?function(e){var t=e.data,n=e.getIndex,r=e.keys,a=e.minValue,i=e.maxValue,o=e.reverse,l=e.width,s=e.height,u=e.getColor,c=e.padding,f=void 0===c?0:c,d=e.innerPadding,p=void 0===d?0:d,h=Mw().keys(r).offset(bi)(t),m=Ew(t,n,[0,l],f),g=Dw(h,a,i,o?[0,s]:[s,0]),y=[],v=m.bandwidth(),b=function(e){return g(e[1])},x=function(e,t){return g(e[0])-t};return o&&(b=function(e){return g(e[0])},x=function(e,t){return g(e[1])-t}),v>0&&h.forEach((function(e){m.domain().forEach((function(t,r){var a=e[r],i=m(n(a.data)),o=b(a),l=x(a,o);if(p>0&&(o+=.5*p,l-=p),l>0){var s={id:e.key,value:a.data[e.key],index:r,indexValue:t,data:a.data};y.push({key:\"\".concat(e.key,\".\").concat(t),data:s,x:i,y:o,width:v,height:l,color:u(s)})}}))})),{xScale:m,yScale:g,bars:y}}(e):function(e){var t=e.data,n=e.getIndex,r=e.keys,a=e.minValue,i=e.maxValue,o=e.reverse,l=e.width,s=e.height,u=e.getColor,c=e.padding,f=void 0===c?0:c,d=e.innerPadding,p=void 0===d?0:d,h=Mw().keys(r).offset(bi)(t),m=Dw(h,a,i,o?[l,0]:[0,l]),g=Ew(t,n,[s,0],f),y=[],v=g.bandwidth(),b=function(e){return m(e[0])},x=function(e,t){return m(e[1])-t};return o&&(b=function(e){return m(e[1])},x=function(e,t){return m(e[0])-t}),v>0&&h.forEach((function(e){g.domain().forEach((function(t,r){var a=e[r],i=g(n(a.data)),o={id:e.key,value:a.data[e.key],index:r,indexValue:t,data:a.data},l=b(a),s=x(a,l);p>0&&(l+=.5*p,s-=p),s>0&&y.push({key:\"\".concat(e.key,\".\").concat(t),data:o,x:l,y:i,width:s,height:v,color:u(o)})}))})),{xScale:m,yScale:g,bars:y}}(e)},Rw=function(e){var t=e.from,n=e.bars,r=e.layout,a=e.direction,i=e.groupMode,o=e.reverse;return\"indexes\"===t?function(e){return Gy()(e.map((function(e){return{id:e.data.indexValue,label:e.data.indexValue,color:e.color,fill:e.data.fill}})),(function(e){return e.id}))}(n):function(e,t,n,r,a){var i=Gy()(e.map((function(e){return{id:e.data.id,label:e.data.id,color:e.color,fill:e.data.fill}})),(function(e){return e.id}));return(\"vertical\"===t&&\"stacked\"===r&&\"column\"===n&&!0!==a||\"horizontal\"===t&&\"stacked\"===r&&!0===a)&&i.reverse(),i}(n,r,a,i,o)};function Lw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Iw(e,t,n[t])}))}return e}function Iw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jw=function(e){var t=e.data,n=e.x,a=e.y,i=e.width,o=e.height,l=e.borderRadius,s=e.color,u=e.borderWidth,c=e.borderColor,f=e.label,d=e.shouldRenderLabel,p=e.labelColor,h=e.showTooltip,m=e.hideTooltip,g=e.onClick,y=e.onMouseEnter,v=e.onMouseLeave,b=e.tooltip,x=e.theme;return r.createElement(\"g\",{transform:\"translate(\".concat(n,\", \").concat(a,\")\")},r.createElement(\"rect\",{width:i,height:o,rx:l,ry:l,fill:t.fill?t.fill:s,strokeWidth:u,stroke:c,onMouseEnter:function(e){y(t,e),h(b,e)},onMouseMove:function(e){return h(b,e)},onMouseLeave:function(e){v(t,e),m(e)},onClick:g}),d&&r.createElement(\"text\",{x:i/2,y:o/2,textAnchor:\"middle\",dominantBaseline:\"central\",style:Lw({},x.labels.text,{pointerEvents:\"none\",fill:p})},f))};jw.propTypes={data:L().shape({id:L().string.isRequired,value:L().number.isRequired,indexValue:L().string.isRequired,fill:L().string}).isRequired,x:L().number.isRequired,y:L().number.isRequired,width:L().number.isRequired,height:L().number.isRequired,color:L().string.isRequired,borderRadius:L().number.isRequired,borderWidth:L().number.isRequired,borderColor:L().string.isRequired,label:L().node.isRequired,shouldRenderLabel:L().bool.isRequired,labelColor:L().string.isRequired,showTooltip:L().func.isRequired,hideTooltip:L().func.isRequired,getTooltipLabel:L().func.isRequired,tooltipFormat:L().oneOfType([L().string,L().func]),onClick:L().func,onMouseEnter:L().func,onMouseLeave:L().func,tooltip:L().element.isRequired,theme:L().shape({tooltip:L().shape({}).isRequired,labels:L().shape({text:L().object.isRequired}).isRequired}).isRequired};var Nw=(0,Ql.Z)((0,ns.Z)([\"data\",\"color\",\"onClick\"],(function(e){var t=e.data,n=e.color,r=e.onClick;return{onClick:function(e){return r(Lw({color:n},t),e)}}})),(0,ns.Z)([\"data\",\"color\",\"theme\",\"tooltip\",\"getTooltipLabel\",\"tooltipFormat\"],(function(e){var t=e.data,n=e.color,a=e.theme,i=e.tooltip,o=e.getTooltipLabel,l=e.tooltipFormat;return{tooltip:r.createElement(Rt,{id:o(t),value:t.value,enableChip:!0,color:n,theme:a,format:l,renderContent:\"function\"==typeof i?i.bind(null,Lw({color:n,theme:a},t)):null})}})),Qv.Z),zw=Nw(jw);function Fw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Zw(e,t,n[t])}))}return e}function Zw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bw=Fw({data:L().arrayOf(L().object).isRequired,indexBy:L().oneOfType([L().string,L().func]).isRequired,getIndex:L().func.isRequired,keys:L().arrayOf(L().oneOfType([L().string,L().number])).isRequired,layers:L().arrayOf(L().oneOfType([L().oneOf([\"grid\",\"axes\",\"bars\",\"markers\",\"legends\",\"annotations\"]),L().func])).isRequired,groupMode:L().oneOf([\"stacked\",\"grouped\"]).isRequired,layout:L().oneOf([\"horizontal\",\"vertical\"]).isRequired,reverse:L().bool.isRequired,minValue:L().oneOfType([L().number,L().oneOf([\"auto\"])]).isRequired,maxValue:L().oneOfType([L().number,L().oneOf([\"auto\"])]).isRequired,padding:L().number.isRequired,innerPadding:L().number.isRequired,axisTop:_f,axisRight:_f,axisBottom:_f,axisLeft:_f,enableGridX:L().bool.isRequired,enableGridY:L().bool.isRequired,gridXValues:L().oneOfType([L().number,L().arrayOf(L().oneOfType([L().number,L().string]))]),gridYValues:L().oneOfType([L().number,L().arrayOf(L().oneOfType([L().number,L().string]))]),barComponent:L().func.isRequired,enableLabel:L().bool.isRequired,label:L().oneOfType([L().string,L().func]).isRequired,labelFormat:L().oneOfType([L().string,L().func]),getLabel:L().func.isRequired,labelSkipWidth:L().number.isRequired,labelSkipHeight:L().number.isRequired,labelTextColor:Vc.isRequired,getLabelTextColor:L().func.isRequired,labelLinkColor:Vc.isRequired,getLabelLinkColor:L().func.isRequired,colors:Uc.isRequired,colorBy:Wc.isRequired,borderRadius:L().number.isRequired,getColor:L().func.isRequired},Rs,{borderWidth:L().number.isRequired,borderColor:Vc.isRequired,getBorderColor:L().func.isRequired,isInteractive:L().bool,onClick:L().func.isRequired,onMouseEnter:L().func.isRequired,onMouseLeave:L().func.isRequired,tooltipLabel:L().func,getTooltipLabel:L().func.isRequired,tooltipFormat:L().oneOfType([L().func,L().string]),tooltip:L().func,legends:L().arrayOf(L().shape(Fw({dataFrom:L().oneOf([\"indexes\",\"keys\"]).isRequired},md))).isRequired,pixelRatio:L().number.isRequired}),qw={indexBy:\"id\",keys:[\"value\"],layers:[\"grid\",\"axes\",\"bars\",\"markers\",\"legends\",\"annotations\"],groupMode:\"stacked\",layout:\"vertical\",reverse:!1,minValue:\"auto\",maxValue:\"auto\",padding:.1,innerPadding:0,axisBottom:{},axisLeft:{},enableGridX:!1,enableGridY:!0,barComponent:zw,enableLabel:!0,label:\"value\",labelSkipWidth:0,labelSkipHeight:0,labelLinkColor:\"theme\",labelTextColor:\"theme\",colors:{scheme:\"nivo\"},colorBy:\"id\",defs:[],fill:[],borderRadius:0,borderWidth:0,borderColor:{from:\"color\"},isInteractive:!0,onClick:us,onMouseEnter:us,onMouseLeave:us,legends:[],annotations:[],pixelRatio:n.g.window&&n.g.window.devicePixelRatio?n.g.window.devicePixelRatio:1},Hw=function(e){return(0,Ql.Z)((0,ts.Z)(qw),ic(),tc(),(0,Ql.Z)((0,es.Z)(Bs),(0,ts.Z)({animate:!0,motionDamping:15,motionStiffness:90}),(0,ns.Z)([\"motionDamping\",\"motionStiffness\"],(function(e){var t=e.motionDamping,n=e.motionStiffness;return{boundSpring:as()(Tt.ST,{damping:t,stiffness:n})}}))),(0,ns.Z)([\"colors\",\"colorBy\"],(function(e){var t=e.colors,n=e.colorBy;return{getColor:Fc(t,n)}})),(0,ns.Z)([\"indexBy\"],(function(e){var t=e.indexBy;return{getIndex:rc(t)}})),(0,ns.Z)([\"labelTextColor\",\"theme\"],(function(e){var t=e.labelTextColor,n=e.theme;return{getLabelTextColor:qc(t,n)}})),(0,ns.Z)([\"labelLinkColor\",\"theme\"],(function(e){var t=e.labelLinkColor,n=e.theme;return{getLabelLinkColor:qc(t,n)}})),(0,ns.Z)([\"label\",\"labelFormat\"],(function(e){var t=e.label,n=e.labelFormat;return{getLabel:nc(t,n)}})),(0,ns.Z)([\"borderColor\",\"theme\"],(function(e){var t=e.borderColor,n=e.theme;return{getBorderColor:qc(t,n)}})),(0,ns.Z)([\"tooltipLabel\"],(function(e){var t=e.tooltipLabel,n=function(e){return\"\".concat(e.id,\" - \").concat(e.indexValue)};return\"function\"==typeof t&&(n=t),{getTooltipLabel:n}})),Qv.Z)(e)};function Uw(){return Uw=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},Uw.apply(this,arguments)}var Ww=function(e){var t=e.bars,n=e.annotations,a=e.animate,i=e.motionStiffness,o=e.motionDamping;return px({items:t,annotations:n,getPosition:function(e){return{x:e.x+e.width/2,y:e.y+e.height/2}},getDimensions:function(e,t){var n=e.width+2*t,r=e.height+2*t;return{width:n,height:r,size:Math.max(n,r)}}}).map((function(e,t){return r.createElement(Cx,Uw({key:t},e,{containerWidth:innerWidth,containerHeight:innerHeight,animate:a,motionStiffness:i,motionDamping:o}))}))};function Vw(){return Vw=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},Vw.apply(this,arguments)}function Yw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Gw(e,t,n[t])}))}return e}function Gw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ww.propTypes={};var $w=function(e){var t=e.style;return{x:t.x.val,y:t.y.val,width:0,height:t.height.val}},Xw=function(e){var t=e.style;return{x:t.x.val,y:t.y.val+t.height.val,width:t.width.val,height:0}},Kw=function(e){var t=e.data,n=e.getIndex,a=e.keys,i=e.groupMode,o=e.layout,l=e.reverse,s=e.minValue,u=e.maxValue,c=e.margin,f=e.width,d=e.height,p=e.outerWidth,h=e.outerHeight,m=e.padding,g=e.innerPadding,y=e.axisTop,v=e.axisRight,b=e.axisBottom,x=e.axisLeft,w=e.enableGridX,_=e.enableGridY,k=e.gridXValues,T=e.gridYValues,M=e.layers,S=e.barComponent,E=e.enableLabel,C=e.getLabel,O=e.labelSkipWidth,A=e.labelSkipHeight,D=e.getLabelTextColor,P=e.markers,R=e.theme,L=e.getColor,I=e.defs,j=e.fill,N=e.borderRadius,z=e.borderWidth,F=e.getBorderColor,Z=e.annotations,B=e.isInteractive,q=e.getTooltipLabel,H=e.tooltipFormat,U=e.tooltip,W=e.onClick,V=e.onMouseEnter,Y=e.onMouseLeave,G=e.legends,$=e.animate,X=e.motionStiffness,K=e.motionDamping,J={layout:o,reverse:l,data:t,getIndex:n,keys:a,minValue:s,maxValue:u,width:f,height:d,getColor:L,padding:m,innerPadding:g},Q=\"grouped\"===i?Aw(J):Pw(J),ee={animate:$,motionDamping:K,motionStiffness:X},te={damping:K,stiffness:X},ne=\"vertical\"===o?Xw:$w,re=\"vertical\"===o?function(e){return function(t){var n=t.style;return{x:n.x,y:(0,Tt.ST)(n.y.val+n.height.val,e),width:n.width,height:(0,Tt.ST)(0,e)}}}(te):function(e){return function(t){var n=t.style;return{x:n.x,y:n.y,width:(0,Tt.ST)(0,e),height:n.height}}}(te),ae=function(e){var t=e.width,n=e.height;return!!E&&(!(O>0&&t<O)&&!(A>0&&n<A))},ie=Tc(I,Q.bars,j,{dataKey:\"data\",targetKey:\"data.fill\"});return r.createElement(bu,{isInteractive:B,theme:R,animate:$,motionStiffness:X,motionDamping:K},(function(t){var n,a=t.showTooltip,s=t.hideTooltip,u={borderRadius:N,borderWidth:z,enableLabel:E,labelSkipWidth:O,labelSkipHeight:A,showTooltip:a,hideTooltip:s,onClick:W,onMouseEnter:V,onMouseLeave:Y,theme:R,getTooltipLabel:q,tooltipFormat:H,tooltip:U};n=!0===$?r.createElement(Tt.bg,{key:\"bars\",willEnter:ne,willLeave:re,styles:Q.bars.map((function(e){return{key:e.key,data:e,style:{x:(0,Tt.ST)(e.x,te),y:(0,Tt.ST)(e.y,te),width:(0,Tt.ST)(e.width,te),height:(0,Tt.ST)(e.height,te)}}}))},(function(e){return r.createElement(\"g\",null,e.map((function(e){var t=e.key,n=e.style,a=e.data,i=Yw({},a,n);return r.createElement(S,Yw({key:t},i,u,{shouldRenderLabel:ae(i),width:Math.max(n.width,0),height:Math.max(n.height,0),label:C(a.data),labelColor:D(i,R),borderColor:F(i),theme:R}))})))})):Q.bars.map((function(e){return r.createElement(S,Yw({key:e.key},e,u,{label:C(e.data),shouldRenderLabel:ae(e),labelColor:D(e,R),borderColor:F(e),theme:R}))}));var m={grid:r.createElement(Hf,{key:\"grid\",width:f,height:d,xScale:w?Q.xScale:null,yScale:_?Q.yScale:null,xValues:k,yValues:T}),axes:r.createElement(jf,{key:\"axes\",xScale:Q.xScale,yScale:Q.yScale,width:f,height:d,top:y,right:v,bottom:b,left:x}),bars:n,markers:r.createElement(ec,{key:\"markers\",markers:P,width:f,height:d,xScale:Q.xScale,yScale:Q.yScale,theme:R}),legends:G.map((function(e,t){var n=Rw({from:e.dataFrom,bars:Q.bars,layout:o,direction:e.direction,groupMode:i,reverse:l});return void 0===n?null:r.createElement(pp,Vw({key:t},e,{containerWidth:f,containerHeight:d,data:n,theme:R}))})),annotations:r.createElement(Ww,Vw({key:\"annotations\",innerWidth:f,innerHeight:d,bars:Q.bars,annotations:Z},ee))};return r.createElement(Wu,{width:p,height:h,margin:c,defs:ie,theme:R},M.map((function(t,n){return\"function\"==typeof t?r.createElement(r.Fragment,{key:n},t(Yw({},e,Q,{showTooltip:a,hideTooltip:s}))):m[t]})))}))};Kw.propTypes=Bw;(0,Sw.default)(\"Bar\")(Hw(Kw));function Jw(e){return Jw=\"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},Jw(e)}function Qw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(Object(n));\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l_(e,t,n[t])}))}return e}function e_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e))&&\"[object Arguments]\"!==Object.prototype.toString.call(e))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}function t_(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}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)}}function r_(e,t){return!t||\"object\"!==Jw(t)&&\"function\"!=typeof t?i_(e):t}function a_(e){return a_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a_(e)}function i_(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function o_(e,t){return o_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o_(e,t)}function l_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s_=function(e,t,n,r){return e.find((function(e){return gc(e.x+t.left,e.y+t.top,e.width,e.height,n,r)}))},u_=function(e){function t(){var e,n;t_(this,t);for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return l_(i_(n=r_(this,(e=a_(t)).call.apply(e,[this].concat(i)))),\"handleMouseHover\",(function(e,t){return function(a){if(n.bars){var i=n.props,o=i.margin,l=i.theme,s=i.tooltip,u=i.getTooltipLabel,c=i.tooltipFormat,f=e_(yc(n.surface,a),2),d=f[0],p=f[1],h=s_(n.bars,o,d,p);void 0!==h?e(r.createElement(Rt,{id:u(h.data),value:h.data.value,enableChip:!0,color:h.color,theme:l,format:c,renderContent:\"function\"==typeof s?s.bind(null,Qw({color:h.color},h.data)):null}),a):t()}}})),l_(i_(n),\"handleMouseLeave\",(function(e){return function(){e()}})),l_(i_(n),\"handleClick\",(function(e){if(n.bars){var t=n.props,r=t.margin,a=t.onClick,i=e_(yc(n.surface,e),2),o=i[0],l=i[1],s=s_(n.bars,r,o,l);void 0!==s&&a(s.data,e)}})),n}var n,a,i;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o_(e,t)}(t,e),n=t,a=[{key:\"componentDidMount\",value:function(){this.ctx=this.surface.getContext(\"2d\"),this.draw(this.props)}},{key:\"shouldComponentUpdate\",value:function(e){return this.props.outerWidth!==e.outerWidth||this.props.outerHeight!==e.outerHeight||this.props.isInteractive!==e.isInteractive||this.props.theme!==e.theme||(this.draw(e),!1)}},{key:\"componentDidUpdate\",value:function(){this.ctx=this.surface.getContext(\"2d\"),this.draw(this.props)}},{key:\"draw\",value:function(e){var t=this,n=e.data,r=e.keys,a=e.getIndex,i=e.minValue,o=e.maxValue,l=e.width,s=e.height,u=e.outerWidth,c=e.outerHeight,f=e.pixelRatio,d=e.margin,p=e.layout,h=e.reverse,m=e.groupMode,g=e.padding,y=e.innerPadding,v=e.axisTop,b=e.axisRight,x=e.axisBottom,w=e.axisLeft,_=e.theme,k=e.getColor,T=e.borderWidth,M=e.getBorderColor,S=e.legends,E=e.enableGridX,C=e.gridXValues,O=e.enableGridY,A=e.gridYValues;this.surface.width=u*f,this.surface.height=c*f,this.ctx.scale(f,f);var D={layout:p,reverse:h,data:n,getIndex:a,keys:r,minValue:i,maxValue:o,width:l,height:s,getColor:k,padding:g,innerPadding:y},P=\"grouped\"===m?Aw(D):Pw(D);this.bars=P.bars,this.ctx.fillStyle=_.background,this.ctx.fillRect(0,0,u,c),this.ctx.translate(d.left,d.top),_.grid.line.strokeWidth>0&&(this.ctx.lineWidth=_.grid.line.strokeWidth,this.ctx.strokeStyle=_.grid.line.stroke,E&&Gf(this.ctx,{width:l,height:s,scale:P.xScale,axis:\"x\",values:C}),O&&Gf(this.ctx,{width:l,height:s,scale:P.yScale,axis:\"y\",values:A})),this.ctx.strokeStyle=\"#dddddd\";var R=Gy()(P.bars.map((function(e){return{id:e.data.id,label:e.data.id,color:e.color,fill:e.data.fill}})).reverse(),(function(e){return e.id})),L=Gy()(P.bars.map((function(e){return{id:e.data.indexValue,label:e.data.indexValue,color:e.color,fill:e.data.fill}})),(function(e){return e.id}));S.forEach((function(e){var n;if(\"keys\"===e.dataFrom?n=R:\"indexes\"===e.dataFrom&&(n=L),void 0===n)return null;mp(t.ctx,Qw({},e,{data:n,containerWidth:l,containerHeight:s,itemTextColor:\"#999\",symbolSize:16,theme:_}))})),Yf(this.ctx,{xScale:P.xScale,yScale:P.yScale,width:l,height:s,top:v,right:b,bottom:x,left:w,theme:_}),P.bars.forEach((function(e){var n=e.x,r=e.y,a=e.color,i=e.width,o=e.height;t.ctx.fillStyle=a,T>0&&(t.ctx.strokeStyle=M(e),t.ctx.lineWidth=T),t.ctx.beginPath(),t.ctx.rect(n,r,i,o),t.ctx.fill(),T>0&&t.ctx.stroke()}))}},{key:\"render\",value:function(){var e=this,t=this.props,n=t.outerWidth,a=t.outerHeight,i=t.pixelRatio,o=t.isInteractive,l=t.theme;return r.createElement(bu,{isInteractive:o,theme:l,animate:!1},(function(t){var o=t.showTooltip,l=t.hideTooltip;return r.createElement(\"canvas\",{ref:function(t){e.surface=t},width:n*i,height:a*i,style:{width:n,height:a},onMouseEnter:e.handleMouseHover(o,l),onMouseMove:e.handleMouseHover(o,l),onMouseLeave:e.handleMouseLeave(l),onClick:e.handleClick})}))}}],a&&n_(n.prototype,a),i&&n_(n,i),t}(r.Component);u_.propTypes=Bw;var c_=(0,Sw.default)(\"BarCanvas\")(Hw(u_));function f_(){return f_=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},f_.apply(this,arguments)}var d_=function(e){return r.createElement(Cu,null,(function(t){var n=t.width,a=t.height;return r.createElement(c_,f_({width:n,height:a},e))}))},p_=(0,ex.Z)((function(e){return r.createElement(S,{className:e.classes.graph},r.createElement(d_,{data:e.data[e.xField].map((function(t,n){return{id:t,x:e.data[e.yField][n]}})),margin:{top:3,right:3,bottom:3,left:3},indexBy:\"id\",keys:[\"x\"],colors:[e.color],axisTop:null,axisRight:null,enableGridX:!1,enableGridY:!1}))})),h_=function(){return h_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},h_.apply(this,arguments)},m_=function(e,t,n){switch(function(e){var t;return null!==(t=e.type)&&void 0!==t?t:\"graph\"}(t)){case\"graph\":var a=function(){return e.getAdditionGraphData(t.id)},i=function(e){return r.createElement(Me,h_({},e,{widgetSize:n}))};return r.createElement(O,{func:a},i);case\"widget\":a=function(){return e.getAdditionWidgetData(t.id)},i=function(e){return NS(t.id,e)};return r.createElement(O,{func:a},i);default:return r.createElement(Oe,null)}},g_=function(e){return r.createElement(f.Consumer,null,(function(t){return r.createElement(S,null,e.details.parts.length>1?r.createElement(Le,{tabs:e.details.parts.map((function(n){return{title:n.title,tab:m_(t,n,e.widgetSize)}}))}):m_(t,e.details.parts[0],e.widgetSize),void 0===e.details.insights?r.createElement(r.Fragment,null):e.details.insights.map((function(e){return r.createElement(ce,{data:e})})))}))},y_=function(){return y_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},y_.apply(this,arguments)},v_=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},b_=new Map([[\"line\",function(e,t,n){return t[e.field]?r.createElement(tx,{xField:e.options.xField,yField:e.options.yField,color:e.options.color,data:t[e.field],classes:n}):r.createElement(\"div\",null)}],[\"scatter\",function(e,t,n){return t[e.field]?r.createElement(hw,{xField:e.options.xField,yField:e.options.yField,color:e.options.color,data:t[e.field],classes:n}):r.createElement(\"div\",null)}],[\"histogram\",function(e,t,n){return t[e.field]?r.createElement(p_,{xField:e.options.xField,yField:e.options.yField,color:e.options.color,data:t[e.field],classes:n}):r.createElement(\"div\",null)}]]),x_=function(e,t){return e.map((function(e){var t;return{def:e,gen:b_.get(null!==(t=e.type)&&void 0!==t?t:\"string\")}})).map((function(e){var n=e.def,r=e.gen;return y_(y_({},n),r?{type:void 0,render:function(e){return r(n,e,t)}}:{sorting:!0,defaultSort:n.sort,type:\"string\"})}))},w_=function(e){var t=(0,r.useState)({open:!1,anchorEl:void 0}),n=t[0],a=t[1];return r.createElement(S,{className:e.containerClass,onClick:function(e){return a((function(t){return{open:!t.open,anchorEl:e.currentTarget}}))}},r.createElement(Ue.Z,null),r.createElement(H.ZP,{open:n.open,anchorEl:n.anchorEl,anchorOrigin:{horizontal:\"left\",vertical:\"bottom\"}},r.createElement(q.Z,{className:e.popupClass},e.longText)))},__=(0,N.Z)((function(e){return(0,U.Z)({graph:{maxWidth:200,height:50},alert:{width:50},popup:{padding:e.spacing(1)}})}))((function(e){var t,n,a=e.columns,i=e.data,o={search:!0,showTitle:!1,minBodyHeight:\"10vh\",pageSize:null!==(t=e.rowsPerPage)&&void 0!==t?t:5,detailPanelColumnStyle:{minWidth:42}};return r.createElement(r.Fragment,null,r.createElement(We.ZP,{columns:null!==(n=e.showInfoColumn)&&void 0!==n&&n?v_(v_([],x_(a,e.classes),!0),[{title:\"Info\",render:function(t){var n,a,i;return r.createElement(r.Fragment,null,(null===(n=t.details)||void 0===n?void 0:n.insights)?r.createElement(w_,{containerClass:e.classes.alert,popupClass:e.classes.popup,longText:(null===(a=t.details)||void 0===a?void 0:a.insights[0].title)+\": \"+(null===(i=t.details)||void 0===i?void 0:i.insights[0].text)}):r.createElement(\"div\",null))},width:50}],!1):v_([],x_(a,e.classes),!0),data:i,detailPanel:function(t){var n=t.rowData;return n.graphId?r.createElement(Ye,{graphId:n.graphId,widgetSize:e.widgetSize}):n.details?r.createElement(g_,{details:n.details,widgetSize:e.widgetSize}):null},options:o}))})),k_=function(e){return r.createElement(Le,{tabs:e.tabs.map((function(t,n){return{title:t.title,tab:NS(e.id+\"1\",t.widget)}}))})},T_=n(282),M_=n(66037),S_=(0,X.Z)(r.createElement(\"path\",{d:\"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14l-6-6z\"}),\"ExpandLessSharp\"),E_=(0,X.Z)(r.createElement(\"path\",{d:\"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z\"}),\"ExpandMoreSharp\"),C_=function(){return C_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},C_.apply(this,arguments)},O_=function(e){var t=(0,r.useState)(!1),n=t[0],a=t[1];return r.createElement(r.Fragment,null,r.createElement(A.Z,{container:!0,spacing:2,justifyContent:\"center\",alignItems:\"center\"},r.createElement(A.Z,{item:!0,xs:2},r.createElement(q.Z,{variant:\"h5\"},e.header),r.createElement(q.Z,{variant:\"subtitle1\"},e.description)),r.createElement(A.Z,{item:!0,xs:void 0===e.graph?10:5},r.createElement(je.Z,null,r.createElement(Be.Z,null,r.createElement(qe.Z,null,r.createElement(ze.Z,null),e.metricsValuesHeaders.map((function(e){return r.createElement(ze.Z,null,e)})))),r.createElement(Ne.Z,null,e.metrics.map((function(e){return r.createElement(qe.Z,null,r.createElement(ze.Z,null,e.label),e.values.map((function(e){return r.createElement(ze.Z,null,e)})))}))))),void 0===e.graph?r.createElement(r.Fragment,null):r.createElement(A.Z,{item:!0,xs:5},r.createElement(ke,{data:e.graph.data,layout:C_(C_({},e.graph.layout),{title:void 0}),config:{responsive:!0},style:{width:\"100%\",minHeight:150+100*(1+e.widgetSize/2),maxHeight:250}})),void 0===e.details||0===e.details.parts.length?r.createElement(r.Fragment,null):r.createElement(r.Fragment,null,r.createElement(A.Z,{item:!0,xs:12},r.createElement(T_.Z,{variant:\"outlined\",startIcon:n?r.createElement(S_,null):r.createElement(E_,null),onClick:function(){return a((function(e){return!e}))}},\"Details\")),r.createElement(A.Z,{item:!0,xs:12},r.createElement(M_.Z,{in:n,mountOnEnter:!0,unmountOnExit:!0},r.createElement(g_,{details:e.details,widgetSize:e.widgetSize}))))))},A_=n(20947),D_=n(52504),P_=function(e){var t=r.useState({page:0}),n=t[0],a=t[1],i=e.widgets.slice(n.page*e.pageSize,(n.page+1)*e.pageSize);return r.createElement(Ce,null,i.map((function(e,t){return NS(\"wi_\"+t,e)})),r.createElement(A.Z,{item:!0,xs:12},r.createElement(T_.Z,{startIcon:r.createElement(A_.Z,null),disabled:0===n.page,onClick:function(){return a((function(e){return{page:e.page-1}}))}},\"Previous\"),r.createElement(\"span\",null,n.page+1,\" / \",Math.round(e.widgets.length/e.pageSize)),r.createElement(T_.Z,{endIcon:r.createElement(D_.Z,null),disabled:n.page>=e.widgets.length/e.pageSize-1,onClick:function(){return a((function(e){return{page:e.page+1}}))}},\"Next\")))},R_=n(70529);function L_(e){return e&&\"object\"==typeof e?\"position\"in e||\"type\"in e?j_(e.position):\"start\"in e||\"end\"in e?j_(e):\"line\"in e||\"column\"in e?I_(e):\"\":\"\"}function I_(e){return N_(e&&e.line)+\":\"+N_(e&&e.column)}function j_(e){return I_(e&&e.start)+\"-\"+I_(e&&e.end)}function N_(e){return e&&\"number\"==typeof e?e:1}class z_ extends Error{constructor(e,t,n){const r=[null,null];let a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),\"string\"==typeof t&&(n=t,t=void 0),\"string\"==typeof n){const e=n.indexOf(\":\");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&(\"type\"in t||\"position\"in t?t.position&&(a=t.position):\"start\"in t||\"end\"in t?a=t:(\"line\"in t||\"column\"in t)&&(a.start=t)),this.name=L_(t)||\"1:1\",this.message=\"object\"==typeof e?e.message:e,this.stack=\"object\"==typeof e?e.stack:\"\",this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.source=r[0],this.ruleId=r[1],this.position=a,this.actual,this.expected,this.file,this.url,this.note}}z_.prototype.file=\"\",z_.prototype.name=\"\",z_.prototype.reason=\"\",z_.prototype.message=\"\",z_.prototype.stack=\"\",z_.prototype.fatal=null,z_.prototype.column=null,z_.prototype.line=null,z_.prototype.source=null,z_.prototype.ruleId=null,z_.prototype.position=null;const F_={basename:function(e,t){if(void 0!==t&&\"string\"!=typeof t)throw new TypeError('\"ext\" argument must be a string');Z_(e);let n,r=0,a=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1);return a<0?\"\":e.slice(r,a)}if(t===e)return\"\";let o=-1,l=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),l>-1&&(e.charCodeAt(i)===t.charCodeAt(l--)?l<0&&(a=i):(l=-1,a=o));r===a?a=o:a<0&&(a=e.length);return e.slice(r,a)},dirname:function(e){if(Z_(e),0===e.length)return\".\";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?\"/\":\".\":1===n&&47===e.charCodeAt(0)?\"//\":e.slice(0,n)},extname:function(e){Z_(e);let t,n=e.length,r=-1,a=0,i=-1,o=0;for(;n--;){const l=e.charCodeAt(n);if(47!==l)r<0&&(t=!0,r=n+1),46===l?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1);else if(t){a=n+1;break}}if(i<0||r<0||0===o||1===o&&i===r-1&&i===a+1)return\"\";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)Z_(e[n]),e[n]&&(t=void 0===t?e[n]:t+\"/\"+e[n]);return void 0===t?\".\":function(e){Z_(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,a=\"\",i=0,o=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===l);else if(o!==s-1&&2===l){if(a.length<2||2!==i||46!==a.charCodeAt(a.length-1)||46!==a.charCodeAt(a.length-2))if(a.length>2){if(r=a.lastIndexOf(\"/\"),r!==a.length-1){r<0?(a=\"\",i=0):(a=a.slice(0,r),i=a.length-1-a.lastIndexOf(\"/\")),o=s,l=0;continue}}else if(a.length>0){a=\"\",i=0,o=s,l=0;continue}t&&(a=a.length>0?a+\"/..\":\"..\",i=2)}else a.length>0?a+=\"/\"+e.slice(o+1,s):a=e.slice(o+1,s),i=s-o-1;o=s,l=0}else 46===n&&l>-1?l++:l=-1}return a}(e,!t);0!==n.length||t||(n=\".\");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+=\"/\");return t?\"/\"+n:n}(t)},sep:\"/\"};function Z_(e){if(\"string\"!=typeof e)throw new TypeError(\"Path must be a string. Received \"+JSON.stringify(e))}const B_={cwd:function(){return\"/\"}};function q_(e){return null!==e&&\"object\"==typeof e&&e.href&&e.origin}function H_(e){if(\"string\"==typeof e)e=new URL(e);else if(!q_(e)){const t=new TypeError('The \"path\" argument must be of type string or an instance of URL. Received `'+e+\"`\");throw t.code=\"ERR_INVALID_ARG_TYPE\",t}if(\"file:\"!==e.protocol){const e=new TypeError(\"The URL must be of scheme file\");throw e.code=\"ERR_INVALID_URL_SCHEME\",e}return function(e){if(\"\"!==e.hostname){const e=new TypeError('File URL host must be \"localhost\" or empty on darwin');throw e.code=\"ERR_INVALID_FILE_URL_HOST\",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError(\"File URL path must not include encoded / characters\");throw e.code=\"ERR_INVALID_FILE_URL_PATH\",e}}return decodeURIComponent(t)}(e)}const U_=[\"history\",\"path\",\"basename\",\"stem\",\"extname\",\"dirname\"];class W_{constructor(e){let t;t=e?\"string\"==typeof e||R_(e)?{value:e}:q_(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=B_.cwd(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<U_.length;){const e=U_[r];e in t&&void 0!==t[e]&&(this[e]=\"history\"===e?[...t[e]]:t[e])}for(n in t)U_.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){q_(e)&&(e=H_(e)),Y_(e,\"path\"),this.path!==e&&this.history.push(e)}get dirname(){return\"string\"==typeof this.path?F_.dirname(this.path):void 0}set dirname(e){G_(this.basename,\"dirname\"),this.path=F_.join(e||\"\",this.basename)}get basename(){return\"string\"==typeof this.path?F_.basename(this.path):void 0}set basename(e){Y_(e,\"basename\"),V_(e,\"basename\"),this.path=F_.join(this.dirname||\"\",e)}get extname(){return\"string\"==typeof this.path?F_.extname(this.path):void 0}set extname(e){if(V_(e,\"extname\"),G_(this.dirname,\"extname\"),e){if(46!==e.charCodeAt(0))throw new Error(\"`extname` must start with `.`\");if(e.includes(\".\",1))throw new Error(\"`extname` cannot contain multiple dots\")}this.path=F_.join(this.dirname,this.stem+(e||\"\"))}get stem(){return\"string\"==typeof this.path?F_.basename(this.path,this.extname):void 0}set stem(e){Y_(e,\"stem\"),V_(e,\"stem\"),this.path=F_.join(this.dirname||\"\",e+(this.extname||\"\"))}toString(e){return(this.value||\"\").toString(e)}message(e,t,n){const r=new z_(e,t,n);return this.path&&(r.name=this.path+\":\"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function V_(e,t){if(e&&e.includes(F_.sep))throw new Error(\"`\"+t+\"` cannot be a path: did not expect `\"+F_.sep+\"`\")}function Y_(e,t){if(!e)throw new Error(\"`\"+t+\"` cannot be empty\")}function G_(e,t){if(!e)throw new Error(\"Setting `\"+t+\"` requires `path` to be set too\")}function $_(e){if(e)throw e}var X_=n(73469),K_=n(94470);function J_(e){if(\"[object Object]\"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function Q_(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if(\"function\"!=typeof r)throw new TypeError(\"Expected function as last argument, not \"+r);!function a(i,...o){const l=e[++n];let s=-1;if(i)r(i);else{for(;++s<t.length;)null!==o[s]&&void 0!==o[s]||(o[s]=t[s]);t=o,l?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let o;r&&t.push(a);try{o=e.apply(this,t)}catch(e){const t=e;if(r&&n)throw t;return a(t)}r||(o instanceof Promise?o.then(i,a):o instanceof Error?a(o):i(o))}function a(e,...r){n||(n=!0,t(e,...r))}function i(e){a(null,e)}}(l,a)(...o):r(null,...o)}}(null,...t)},use:function(n){if(\"function\"!=typeof n)throw new TypeError(\"Expected `middelware` to be a function, not \"+n);return e.push(n),t}};return t}const ek=function e(){const t=Q_(),n=[];let r,a={},i=-1;return o.data=function(e,t){if(\"string\"==typeof e)return 2===arguments.length?(ik(\"data\",r),a[e]=t,o):tk.call(a,e)&&a[e]||null;if(e)return ik(\"data\",r),a=e,o;return a},o.Parser=void 0,o.Compiler=void 0,o.freeze=function(){if(r)return o;for(;++i<n.length;){const[e,...r]=n[i];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const a=e.call(o,...r);\"function\"==typeof a&&t.use(a)}return r=!0,i=Number.POSITIVE_INFINITY,o},o.attachers=n,o.use=function(e,...t){let i;if(ik(\"use\",r),null==e);else if(\"function\"==typeof e)c(e,...t);else{if(\"object\"!=typeof e)throw new TypeError(\"Expected usable value, not `\"+e+\"`\");Array.isArray(e)?u(e):s(e)}i&&(a.settings=Object.assign(a.settings||{},i));return o;function l(e){if(\"function\"==typeof e)c(e);else{if(\"object\"!=typeof e)throw new TypeError(\"Expected usable value, not `\"+e+\"`\");if(Array.isArray(e)){const[t,...n]=e;c(t,...n)}else s(e)}}function s(e){u(e.plugins),e.settings&&(i=Object.assign(i||{},e.settings))}function u(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError(\"Expected a list of plugins, not `\"+e+\"`\");for(;++t<e.length;){l(e[t])}}}function c(e,t){let r,a=-1;for(;++a<n.length;)if(n[a][0]===e){r=n[a];break}r?(J_(r[1])&&J_(t)&&(t=K_(!0,r[1],t)),r[1]=t):n.push([...arguments])}},o.parse=function(e){o.freeze();const t=sk(e),n=o.Parser;if(rk(\"parse\",n),nk(n,\"parse\"))return new n(String(t),t).parse();return n(String(t),t)},o.stringify=function(e,t){o.freeze();const n=sk(t),r=o.Compiler;if(ak(\"stringify\",r),ok(e),nk(r,\"compile\"))return new r(e,n).compile();return r(e,n)},o.run=function(e,n,r){ok(e),o.freeze(),r||\"function\"!=typeof n||(r=n,n=void 0);if(!r)return new Promise(a);function a(a,i){function o(t,n,o){n=n||e,t?i(t):a?a(n):r(null,n,o)}t.run(e,sk(n),o)}a(null,r)},o.runSync=function(e,t){let n,r;return o.run(e,t,a),lk(\"runSync\",\"run\",r),n;function a(e,t){$_(e),n=t,r=!0}},o.process=function(e,t){if(o.freeze(),rk(\"process\",o.Parser),ak(\"process\",o.Compiler),!t)return new Promise(n);function n(n,r){const a=sk(e);function i(e,a){e||!a?r(e):n?n(a):t(null,a)}o.run(o.parse(a),a,((e,t,n)=>{if(!e&&t&&n){const r=o.stringify(t,n);null==r||(!function(e){return\"string\"==typeof e||X_(e)}(r)?n.result=r:n.value=r),i(e,n)}else i(e)}))}n(null,t)},o.processSync=function(e){let t;o.freeze(),rk(\"processSync\",o.Parser),ak(\"processSync\",o.Compiler);const n=sk(e);return o.process(n,r),lk(\"processSync\",\"process\",t),n;function r(e){t=!0,$_(e)}},o;function o(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(K_(!0,{},a)),t}}().freeze(),tk={}.hasOwnProperty;function nk(e,t){return\"function\"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(tk.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function rk(e,t){if(\"function\"!=typeof t)throw new TypeError(\"Cannot `\"+e+\"` without `Parser`\")}function ak(e,t){if(\"function\"!=typeof t)throw new TypeError(\"Cannot `\"+e+\"` without `Compiler`\")}function ik(e,t){if(t)throw new Error(\"Cannot call `\"+e+\"` on a frozen processor.\\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.\")}function ok(e){if(!J_(e)||\"string\"!=typeof e.type)throw new TypeError(\"Expected node, got `\"+e+\"`\")}function lk(e,t,n){if(!n)throw new Error(\"`\"+e+\"` finished async. Use `\"+t+\"` instead\")}function sk(e){return function(e){return Boolean(e&&\"object\"==typeof e&&\"message\"in e&&\"messages\"in e)}(e)?e:new W_(e)}function uk(e,t){return e&&\"object\"==typeof e&&(e.value||(t?e.alt:\"\")||\"children\"in e&&ck(e.children,t)||Array.isArray(e)&&ck(e,t))||\"\"}function ck(e,t){for(var n=[],r=-1;++r<e.length;)n[r]=uk(e[r],t);return n.join(\"\")}function fk(e,t,n,r){const a=e.length;let i,o=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);o<r.length;)i=r.slice(o,o+1e4),i.unshift(t,0),[].splice.apply(e,i),o+=1e4,t+=1e4}function dk(e,t){return e.length>0?(fk(e,e.length,0,t),e):t}const pk={}.hasOwnProperty;function hk(e,t){let n;for(n in t){const r=(pk.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let i;for(i in a){pk.call(r,i)||(r[i]=[]);const e=a[i];mk(r[i],Array.isArray(e)?e:e?[e]:[])}}}function mk(e,t){let n=-1;const r=[];for(;++n<t.length;)(\"after\"===t[n].add?e:r).push(t[n]);fk(e,0,0,r)}const gk=Ck(/[A-Za-z]/),yk=Ck(/\\d/),vk=Ck(/[\\dA-Fa-f]/),bk=Ck(/[\\dA-Za-z]/),xk=Ck(/[!-/:-@[-`{-~]/),wk=Ck(/[#-'*+\\--9=?A-Z^-~]/);function _k(e){return null!==e&&(e<32||127===e)}function kk(e){return null!==e&&(e<0||32===e)}function Tk(e){return null!==e&&e<-2}function Mk(e){return-2===e||-1===e||32===e}const Sk=Ck(/\\s/),Ek=Ck(/[!-/:-@[-`{-~\\u00A1\\u00A7\\u00AB\\u00B6\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061E\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D\\u207E\\u208D\\u208E\\u2308-\\u230B\\u2329\\u232A\\u2768-\\u2775\\u27C5\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC\\u29FD\\u2CF9-\\u2CFC\\u2CFE\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE\\uA9DF\\uAA5C-\\uAA5F\\uAADE\\uAADF\\uAAF0\\uAAF1\\uABEB\\uFD3E\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A\\uFF1B\\uFF1F\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65]/);function Ck(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function Ok(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(Mk(r))return e.enter(n),o(r);return t(r)};function o(r){return Mk(r)&&i++<a?(e.consume(r),o):(e.exit(n),t(r))}}const Ak={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void e.consume(n);return e.enter(\"lineEnding\"),e.consume(n),e.exit(\"lineEnding\"),Ok(e,t,\"linePrefix\")}),(function(t){return e.enter(\"paragraph\"),r(t)}));let n;return t;function r(t){const r=e.enter(\"chunkText\",{contentType:\"text\",previous:n});return n&&(n.next=r),n=r,a(t)}function a(t){return null===t?(e.exit(\"chunkText\"),e.exit(\"paragraph\"),void e.consume(t)):Tk(t)?(e.consume(t),e.exit(\"chunkText\"),r):(e.consume(t),a)}}};const Dk={tokenize:function(e){const t=this,n=[];let r,a,i,o=0;return l;function l(r){if(o<n.length){const a=n[o];return t.containerState=a[1],e.attempt(a[0].continuation,s,u)(r)}return u(r)}function s(e){if(o++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let a,i=n;for(;i--;)if(\"exit\"===t.events[i][0]&&\"chunkFlow\"===t.events[i][1].type){a=t.events[i][1].end;break}y(o);let l=n;for(;l<t.events.length;)t.events[l][1].end=Object.assign({},a),l++;return fk(t.events,i+1,0,t.events.slice(n)),t.events.length=l,u(e)}return l(e)}function u(a){if(o===n.length){if(!r)return d(a);if(r.currentConstruct&&r.currentConstruct.concrete)return h(a);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Pk,c,f)(a)}function c(e){return r&&v(),y(o),d(e)}function f(e){return t.parser.lazy[t.now().line]=o!==n.length,i=t.now().offset,h(e)}function d(n){return t.containerState={},e.attempt(Pk,p,h)(n)}function p(e){return o++,n.push([t.currentConstruct,t.containerState]),d(e)}function h(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter(\"chunkFlow\",{contentType:\"flow\",previous:a,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit(\"chunkFlow\"),!0),y(0),void e.consume(n)):Tk(n)?(e.consume(n),g(e.exit(\"chunkFlow\")),o=0,t.interrupt=void 0,l):(e.consume(n),m)}function g(e,n){const l=t.sliceStream(e);if(n&&l.push(null),e.previous=a,a&&(a.next=e),a=e,r.defineSkip(e.start),r.write(l),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let a,l,s=n;for(;s--;)if(\"exit\"===t.events[s][0]&&\"chunkFlow\"===t.events[s][1].type){if(a){l=t.events[s][1].end;break}a=!0}for(y(o),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},l),e++;fk(t.events,s+1,0,t.events.slice(n)),t.events.length=e}}function y(r){let a=n.length;for(;a-- >r;){const r=n[a];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),a=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Pk={tokenize:function(e,t,n){return Ok(e,e.attempt(this.parser.constructs.document,t,n),\"linePrefix\",this.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)}};const Rk={tokenize:function(e,t,n){return Ok(e,(function(e){return null===e||Tk(e)?t(e):n(e)}),\"linePrefix\")},partial:!0};function Lk(e){const t={};let n,r,a,i,o,l,s,u=-1;for(;++u<e.length;){for(;u in t;)u=t[u];if(n=e[u],u&&\"chunkFlow\"===n[1].type&&\"listItemPrefix\"===e[u-1][1].type&&(l=n[1]._tokenizer.events,a=0,a<l.length&&\"lineEndingBlank\"===l[a][1].type&&(a+=2),a<l.length&&\"content\"===l[a][1].type))for(;++a<l.length&&\"content\"!==l[a][1].type;)\"chunkText\"===l[a][1].type&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(\"enter\"===n[0])n[1].contentType&&(Object.assign(t,Ik(e,u)),u=t[u],s=!0);else if(n[1]._container){for(a=u,r=void 0;a--&&(i=e[a],\"lineEnding\"===i[1].type||\"lineEndingBlank\"===i[1].type);)\"enter\"===i[0]&&(r&&(e[r][1].type=\"lineEndingBlank\"),i[1].type=\"lineEnding\",r=a);r&&(n[1].end=Object.assign({},e[r][1].start),o=e.slice(r,u),o.unshift(n),fk(e,r,u-r+1,o))}}return!s}function Ik(e,t){const n=e[t][1],r=e[t][2];let a=t-1;const i=[],o=n._tokenizer||r.parser[n.contentType](n.start),l=o.events,s=[],u={};let c,f,d=-1,p=n,h=0,m=0;const g=[m];for(;p;){for(;e[++a][1]!==p;);i.push(a),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),f&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=n;++d<l.length;)\"exit\"===l[d][0]&&\"enter\"===l[d-1][0]&&l[d][1].type===l[d-1][1].type&&l[d][1].start.line!==l[d][1].end.line&&(m=d+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){const t=l.slice(g[d],g[d+1]),n=i.pop();s.unshift([n,n+t.length-1]),fk(e,n,2,t)}for(d=-1;++d<s.length;)u[h+s[d][0]]=h+s[d][1],h+=s[d][1]-s[d][0]-1;return u}const jk={tokenize:function(e,t){let n;return function(t){return e.enter(\"content\"),n=e.enter(\"chunkContent\",{contentType:\"content\"}),r(t)};function r(t){return null===t?a(t):Tk(t)?e.check(Nk,i,a)(t):(e.consume(t),r)}function a(n){return e.exit(\"chunkContent\"),e.exit(\"content\"),t(n)}function i(t){return e.consume(t),e.exit(\"chunkContent\"),n.next=e.enter(\"chunkContent\",{contentType:\"content\",previous:n}),n=n.next,r}},resolve:function(e){return Lk(e),e}},Nk={tokenize:function(e,t,n){const r=this;return function(t){return e.exit(\"chunkContent\"),e.enter(\"lineEnding\"),e.consume(t),e.exit(\"lineEnding\"),Ok(e,a,\"linePrefix\")};function a(a){if(null===a||Tk(a))return n(a);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(\"codeIndented\")&&i&&\"linePrefix\"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0};const zk={tokenize:function(e){const t=this,n=e.attempt(Rk,(function(r){if(null===r)return void e.consume(r);return e.enter(\"lineEndingBlank\"),e.consume(r),e.exit(\"lineEndingBlank\"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,Ok(e,e.attempt(this.parser.constructs.flow,r,e.attempt(jk,r)),\"linePrefix\")));return n;function r(r){if(null!==r)return e.enter(\"lineEnding\"),e.consume(r),e.exit(\"lineEnding\"),t.currentConstruct=void 0,n;e.consume(r)}}};const Fk={resolveAll:Hk()},Zk=qk(\"string\"),Bk=qk(\"text\");function qk(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],a=t.attempt(r,i,o);return i;function i(e){return s(e)?a(e):o(e)}function o(e){if(null!==e)return t.enter(\"data\"),t.consume(e),l;t.consume(e)}function l(e){return s(e)?(t.exit(\"data\"),a(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;const t=r[e];let a=-1;if(t)for(;++a<t.length;){const e=t[a];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:Hk(\"text\"===e?Uk:void 0)}}function Hk(e){return function(t,n){let r,a=-1;for(;++a<=t.length;)void 0===r?t[a]&&\"data\"===t[a][1].type&&(r=a,a++):t[a]&&\"data\"===t[a][1].type||(a!==r+2&&(t[r][1].end=t[a-1][1].end,t.splice(r+2,a-r-2),a=r+2),r=void 0);return e?e(t,n):t}}function Uk(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||\"lineEnding\"===e[n][1].type)&&\"data\"===e[n-1][1].type){const r=e[n-1][1],a=t.sliceStream(r);let i,o=a.length,l=-1,s=0;for(;o--;){const e=a[o];if(\"string\"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)i=!0,s++;else if(-1!==e){o++;break}}if(s){const a={type:n===e.length||i||s<2?\"lineSuffix\":\"hardBreakTrailing\",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+o,_bufferIndex:o?l:r.start._bufferIndex+l},end:Object.assign({},r.end)};r.end=Object.assign({},a.start),r.start.offset===r.end.offset?Object.assign(r,a):(e.splice(n,0,[\"enter\",a,t],[\"exit\",a,t]),n+=2)}n++}return e}function Wk(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}function Vk(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const a={},i=[];let o=[],l=[],s=!0;const u={consume:function(e){Tk(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,x()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e,s=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=h(),c.events.push([\"enter\",n,c]),l.push(n),n},exit:function(e){const t=l.pop();return t.end=h(),c.events.push([\"exit\",t,c]),t},attempt:v((function(e,t){b(e,t.from)})),check:v(y),interrupt:v(y,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const i=e[n];let o;if(\"string\"==typeof i)o=i;else switch(i){case-5:o=\"\\r\";break;case-4:o=\"\\n\";break;case-3:o=\"\\r\\n\";break;case-2:o=t?\" \":\"\\t\";break;case-1:if(!t&&a)continue;o=\" \";break;default:o=String.fromCharCode(i)}a=-2===i,r.push(o)}return r.join(\"\")}(p(e),t)},now:h,defineSkip:function(e){a[e.line]=e.column,x()},write:function(e){if(o=dk(o,e),m(),null!==o[o.length-1])return[];return b(t,0),c.events=Wk(i,c.events,c),c.events}};let f,d=t.tokenize.call(c,u);return t.resolveAll&&i.push(t),c;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let o;n===a?o=[e[n].slice(r,i)]:(o=e.slice(n,a),r>-1&&(o[0]=o[0].slice(r)),i>0&&o.push(e[a].slice(0,i)));return o}(o,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._index<o.length;){const t=o[r._index];if(\"string\"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)g(t.charCodeAt(r._bufferIndex));else g(t)}}function g(e){s=void 0,f=e,d=d(e)}function y(e,t){t.restore()}function v(e,t){return function(n,a,i){let o,f,d,p;return Array.isArray(n)?m(n):\"tokenize\"in n?m([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return o=e,f=0,0===e.length?i:g(e[f])}function g(e){return function(n){p=function(){const e=h(),t=c.previous,n=c.currentConstruct,a=c.events.length,i=Array.from(l);return{restore:o,from:a};function o(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=a,l=i,x()}}(),d=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,y,v)(n)}}function y(t){return s=!0,e(d,p),a}function v(e){return s=!0,p.restore(),++f<o.length?g(o[f]):i}}}function b(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&fk(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function x(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}const Yk={name:\"thematicBreak\",tokenize:function(e,t,n){let r,a=0;return function(t){return e.enter(\"thematicBreak\"),r=t,i(t)};function i(l){return l===r?(e.enter(\"thematicBreakSequence\"),o(l)):Mk(l)?Ok(e,i,\"whitespace\")(l):a<3||null!==l&&!Tk(l)?n(l):(e.exit(\"thematicBreak\"),t(l))}function o(t){return t===r?(e.consume(t),a++,o):(e.exit(\"thematicBreakSequence\"),i(t))}}};const Gk={name:\"list\",tokenize:function(e,t,n){const r=this,a=r.events[r.events.length-1];let i=a&&\"linePrefix\"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,o=0;return function(t){const a=r.containerState.type||(42===t||43===t||45===t?\"listUnordered\":\"listOrdered\");if(\"listUnordered\"===a?!r.containerState.marker||t===r.containerState.marker:yk(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),\"listUnordered\"===a)return e.enter(\"listItemPrefix\"),42===t||45===t?e.check(Yk,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter(\"listItemPrefix\"),e.enter(\"listItemValue\"),l(t)}return n(t)};function l(t){return yk(t)&&++o<10?(e.consume(t),l):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit(\"listItemValue\"),s(t)):n(t)}function s(t){return e.enter(\"listItemMarker\"),e.consume(t),e.exit(\"listItemMarker\"),r.containerState.marker=r.containerState.marker||t,e.check(Rk,r.interrupt?n:u,e.attempt($k,f,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function c(t){return Mk(t)?(e.enter(\"listItemPrefixWhitespace\"),e.consume(t),e.exit(\"listItemPrefixWhitespace\"),f):n(t)}function f(n){return r.containerState.size=i+r.sliceSerialize(e.exit(\"listItemPrefix\"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Rk,a,i);function a(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ok(e,t,\"listItemIndent\",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!Mk(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Xk,t,o)(n))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ok(e,e.attempt(Gk,t,n),\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},$k={tokenize:function(e,t,n){const r=this;return Ok(e,(function(e){const a=r.events[r.events.length-1];return!Mk(e)&&a&&\"listItemPrefixWhitespace\"===a[1].type?t(e):n(e)}),\"listItemPrefixWhitespace\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:5)},partial:!0},Xk={tokenize:function(e,t,n){const r=this;return Ok(e,(function(e){const a=r.events[r.events.length-1];return a&&\"listItemIndent\"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)}),\"listItemIndent\",r.containerState.size+1)},partial:!0};const Kk={name:\"blockQuote\",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter(\"blockQuote\",{_container:!0}),n.open=!0),e.enter(\"blockQuotePrefix\"),e.enter(\"blockQuoteMarker\"),e.consume(t),e.exit(\"blockQuoteMarker\"),a}return n(t)};function a(n){return Mk(n)?(e.enter(\"blockQuotePrefixWhitespace\"),e.consume(n),e.exit(\"blockQuotePrefixWhitespace\"),e.exit(\"blockQuotePrefix\"),t):(e.exit(\"blockQuotePrefix\"),t(n))}},continuation:{tokenize:function(e,t,n){return Ok(e,e.attempt(Kk,t,n),\"linePrefix\",this.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)}},exit:function(e){e.exit(\"blockQuote\")}};function Jk(e,t,n,r,a,i,o,l,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return function(t){if(60===t)return e.enter(r),e.enter(a),e.enter(i),e.consume(t),e.exit(i),f;if(null===t||41===t||_k(t))return n(t);return e.enter(r),e.enter(o),e.enter(l),e.enter(\"chunkString\",{contentType:\"string\"}),h(t)};function f(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(l),e.enter(\"chunkString\",{contentType:\"string\"}),d(n))}function d(t){return 62===t?(e.exit(\"chunkString\"),e.exit(l),f(t)):null===t||60===t||Tk(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(a){return 40===a?++c>u?n(a):(e.consume(a),h):41===a?c--?(e.consume(a),h):(e.exit(\"chunkString\"),e.exit(l),e.exit(o),e.exit(r),t(a)):null===a||kk(a)?c?n(a):(e.exit(\"chunkString\"),e.exit(l),e.exit(o),e.exit(r),t(a)):_k(a)?n(a):(e.consume(a),92===a?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function Qk(e,t,n,r,a,i){const o=this;let l,s=0;return function(t){return e.enter(r),e.enter(a),e.consume(t),e.exit(a),e.enter(i),u};function u(f){return null===f||91===f||93===f&&!l||94===f&&!s&&\"_hiddenFootnoteSupport\"in o.parser.constructs||s>999?n(f):93===f?(e.exit(i),e.enter(a),e.consume(f),e.exit(a),e.exit(r),t):Tk(f)?(e.enter(\"lineEnding\"),e.consume(f),e.exit(\"lineEnding\"),u):(e.enter(\"chunkString\",{contentType:\"string\"}),c(f))}function c(t){return null===t||91===t||93===t||Tk(t)||s++>999?(e.exit(\"chunkString\"),u(t)):(e.consume(t),l=l||!Mk(t),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eT(e,t,n,r,a,i){let o;return function(t){return e.enter(r),e.enter(a),e.consume(t),e.exit(a),o=40===t?41:t,l};function l(n){return n===o?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(i),s(n))}function s(t){return t===o?(e.exit(i),l(o)):null===t?n(t):Tk(t)?(e.enter(\"lineEnding\"),e.consume(t),e.exit(\"lineEnding\"),Ok(e,s,\"linePrefix\")):(e.enter(\"chunkString\",{contentType:\"string\"}),u(t))}function u(t){return t===o||null===t||Tk(t)?(e.exit(\"chunkString\"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===o||92===t?(e.consume(t),u):u(t)}}function tT(e,t){let n;return function r(a){if(Tk(a))return e.enter(\"lineEnding\"),e.consume(a),e.exit(\"lineEnding\"),n=!0,r;if(Mk(a))return Ok(e,r,n?\"linePrefix\":\"lineSuffix\")(a);return t(a)}}function nT(e){return e.replace(/[\\t\\n\\r ]+/g,\" \").replace(/^ | $/g,\"\").toLowerCase().toUpperCase()}const rT={name:\"definition\",tokenize:function(e,t,n){const r=this;let a;return function(t){return e.enter(\"definition\"),Qk.call(r,e,i,n,\"definitionLabel\",\"definitionLabelMarker\",\"definitionLabelString\")(t)};function i(t){return a=nT(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter(\"definitionMarker\"),e.consume(t),e.exit(\"definitionMarker\"),tT(e,Jk(e,e.attempt(aT,Ok(e,o,\"whitespace\"),Ok(e,o,\"whitespace\")),n,\"definitionDestination\",\"definitionDestinationLiteral\",\"definitionDestinationLiteralMarker\",\"definitionDestinationRaw\",\"definitionDestinationString\"))):n(t)}function o(i){return null===i||Tk(i)?(e.exit(\"definition\"),r.parser.defined.includes(a)||r.parser.defined.push(a),t(i)):n(i)}}},aT={tokenize:function(e,t,n){return function(t){return kk(t)?tT(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?eT(e,Ok(e,a,\"whitespace\"),n,\"definitionTitle\",\"definitionTitleMarker\",\"definitionTitleString\")(t):n(t)}function a(e){return null===e||Tk(e)?t(e):n(e)}},partial:!0};const iT={name:\"codeIndented\",tokenize:function(e,t,n){const r=this;return function(t){return e.enter(\"codeIndented\"),Ok(e,a,\"linePrefix\",5)(t)};function a(e){const t=r.events[r.events.length-1];return t&&\"linePrefix\"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?l(t):Tk(t)?e.attempt(oT,i,l)(t):(e.enter(\"codeFlowValue\"),o(t))}function o(t){return null===t||Tk(t)?(e.exit(\"codeFlowValue\"),i(t)):(e.consume(t),o)}function l(n){return e.exit(\"codeIndented\"),t(n)}}},oT={tokenize:function(e,t,n){const r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):Tk(t)?(e.enter(\"lineEnding\"),e.consume(t),e.exit(\"lineEnding\"),a):Ok(e,i,\"linePrefix\",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&\"linePrefix\"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Tk(e)?a(e):n(e)}},partial:!0};const lT={name:\"headingAtx\",tokenize:function(e,t,n){const r=this;let a=0;return function(t){return e.enter(\"atxHeading\"),e.enter(\"atxHeadingSequence\"),i(t)};function i(l){return 35===l&&a++<6?(e.consume(l),i):null===l||kk(l)?(e.exit(\"atxHeadingSequence\"),r.interrupt?t(l):o(l)):n(l)}function o(n){return 35===n?(e.enter(\"atxHeadingSequence\"),l(n)):null===n||Tk(n)?(e.exit(\"atxHeading\"),t(n)):Mk(n)?Ok(e,o,\"whitespace\")(n):(e.enter(\"atxHeadingText\"),s(n))}function l(t){return 35===t?(e.consume(t),l):(e.exit(\"atxHeadingSequence\"),o(t))}function s(t){return null===t||35===t||kk(t)?(e.exit(\"atxHeadingText\"),o(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,a=e.length-2,i=3;\"whitespace\"===e[i][1].type&&(i+=2);a-2>i&&\"whitespace\"===e[a][1].type&&(a-=2);\"atxHeadingSequence\"===e[a][1].type&&(i===a-1||a-4>i&&\"whitespace\"===e[a-2][1].type)&&(a-=i+1===a?2:4);a>i&&(n={type:\"atxHeadingText\",start:e[i][1].start,end:e[a][1].end},r={type:\"chunkText\",start:e[i][1].start,end:e[a][1].end,contentType:\"text\"},fk(e,i,a-i+1,[[\"enter\",n,t],[\"enter\",r,t],[\"exit\",r,t],[\"exit\",n,t]]));return e}};const sT={name:\"setextUnderline\",tokenize:function(e,t,n){const r=this;let a,i,o=r.events.length;for(;o--;)if(\"lineEnding\"!==r.events[o][1].type&&\"linePrefix\"!==r.events[o][1].type&&\"content\"!==r.events[o][1].type){i=\"paragraph\"===r.events[o][1].type;break}return function(t){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter(\"setextHeadingLine\"),e.enter(\"setextHeadingLineSequence\"),a=t,l(t);return n(t)};function l(t){return t===a?(e.consume(t),l):(e.exit(\"setextHeadingLineSequence\"),Ok(e,s,\"lineSuffix\")(t))}function s(r){return null===r||Tk(r)?(e.exit(\"setextHeadingLine\"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,a,i=e.length;for(;i--;)if(\"enter\"===e[i][0]){if(\"content\"===e[i][1].type){n=i;break}\"paragraph\"===e[i][1].type&&(r=i)}else\"content\"===e[i][1].type&&e.splice(i,1),a||\"definition\"!==e[i][1].type||(a=i);const o={type:\"setextHeading\",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type=\"setextHeadingText\",a?(e.splice(r,0,[\"enter\",o,t]),e.splice(a+1,0,[\"exit\",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=o;return e.push([\"exit\",o,t]),e}};const uT=[\"address\",\"article\",\"aside\",\"base\",\"basefont\",\"blockquote\",\"body\",\"caption\",\"center\",\"col\",\"colgroup\",\"dd\",\"details\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hr\",\"html\",\"iframe\",\"legend\",\"li\",\"link\",\"main\",\"menu\",\"menuitem\",\"nav\",\"noframes\",\"ol\",\"optgroup\",\"option\",\"p\",\"param\",\"section\",\"source\",\"summary\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"title\",\"tr\",\"track\",\"ul\"],cT=[\"pre\",\"script\",\"style\",\"textarea\"],fT={name:\"htmlFlow\",tokenize:function(e,t,n){const r=this;let a,i,o,l,s;return function(t){return e.enter(\"htmlFlow\"),e.enter(\"htmlFlowData\"),e.consume(t),u};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),p):63===l?(e.consume(l),a=3,r.interrupt?t:L):gk(l)?(e.consume(l),o=String.fromCharCode(l),i=!0,h):n(l)}function c(i){return 45===i?(e.consume(i),a=2,f):91===i?(e.consume(i),a=5,o=\"CDATA[\",l=0,d):gk(i)?(e.consume(i),a=4,r.interrupt?t:L):n(i)}function f(a){return 45===a?(e.consume(a),r.interrupt?t:L):n(a)}function d(a){return a===o.charCodeAt(l++)?(e.consume(a),l===o.length?r.interrupt?t:S:d):n(a)}function p(t){return gk(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}function h(l){return null===l||47===l||62===l||kk(l)?47!==l&&i&&cT.includes(o.toLowerCase())?(a=1,r.interrupt?t(l):S(l)):uT.includes(o.toLowerCase())?(a=6,47===l?(e.consume(l),m):r.interrupt?t(l):S(l)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(l):i?y(l):g(l)):45===l||bk(l)?(e.consume(l),o+=String.fromCharCode(l),h):n(l)}function m(a){return 62===a?(e.consume(a),r.interrupt?t:S):n(a)}function g(t){return Mk(t)?(e.consume(t),g):T(t)}function y(t){return 47===t?(e.consume(t),T):58===t||95===t||gk(t)?(e.consume(t),v):Mk(t)?(e.consume(t),y):T(t)}function v(t){return 45===t||46===t||58===t||95===t||bk(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),x):Mk(t)?(e.consume(t),b):y(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,w):Mk(t)?(e.consume(t),x):(s=null,_(t))}function w(t){return null===t||Tk(t)?n(t):t===s?(e.consume(t),k):(e.consume(t),w)}function _(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||kk(t)?b(t):(e.consume(t),_)}function k(e){return 47===e||62===e||Mk(e)?y(e):n(e)}function T(t){return 62===t?(e.consume(t),M):n(t)}function M(t){return Mk(t)?(e.consume(t),M):null===t||Tk(t)?S(t):n(t)}function S(t){return 45===t&&2===a?(e.consume(t),A):60===t&&1===a?(e.consume(t),D):62===t&&4===a?(e.consume(t),I):63===t&&3===a?(e.consume(t),L):93===t&&5===a?(e.consume(t),R):!Tk(t)||6!==a&&7!==a?null===t||Tk(t)?E(t):(e.consume(t),S):e.check(dT,I,E)(t)}function E(t){return e.exit(\"htmlFlowData\"),C(t)}function C(t){return null===t?j(t):Tk(t)?e.attempt({tokenize:O,partial:!0},C,j)(t):(e.enter(\"htmlFlowData\"),S(t))}function O(e,t,n){return function(t){return e.enter(\"lineEnding\"),e.consume(t),e.exit(\"lineEnding\"),a};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function A(t){return 45===t?(e.consume(t),L):S(t)}function D(t){return 47===t?(e.consume(t),o=\"\",P):S(t)}function P(t){return 62===t&&cT.includes(o.toLowerCase())?(e.consume(t),I):gk(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),P):S(t)}function R(t){return 93===t?(e.consume(t),L):S(t)}function L(t){return 62===t?(e.consume(t),I):45===t&&2===a?(e.consume(t),L):S(t)}function I(t){return null===t||Tk(t)?(e.exit(\"htmlFlowData\"),j(t)):(e.consume(t),I)}function j(n){return e.exit(\"htmlFlow\"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&(\"enter\"!==e[t][0]||\"htmlFlow\"!==e[t][1].type););t>1&&\"linePrefix\"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},dT={tokenize:function(e,t,n){return function(r){return e.exit(\"htmlFlowData\"),e.enter(\"lineEndingBlank\"),e.consume(r),e.exit(\"lineEndingBlank\"),e.attempt(Rk,t,n)}},partial:!0};const pT={name:\"codeFenced\",tokenize:function(e,t,n){const r=this,a={tokenize:function(e,t,n){let r=0;return Ok(e,a,\"linePrefix\",this.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4);function a(t){return e.enter(\"codeFencedFence\"),e.enter(\"codeFencedFenceSequence\"),i(t)}function i(t){return t===s?(e.consume(t),r++,i):r<u?n(t):(e.exit(\"codeFencedFenceSequence\"),Ok(e,o,\"whitespace\")(t))}function o(r){return null===r||Tk(r)?(e.exit(\"codeFencedFence\"),t(r)):n(r)}},partial:!0},i={tokenize:function(e,t,n){const r=this;return a;function a(t){return e.enter(\"lineEnding\"),e.consume(t),e.exit(\"lineEnding\"),i}function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},o=this.events[this.events.length-1],l=o&&\"linePrefix\"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0;let s,u=0;return function(t){return e.enter(\"codeFenced\"),e.enter(\"codeFencedFence\"),e.enter(\"codeFencedFenceSequence\"),s=t,c(t)};function c(t){return t===s?(e.consume(t),u++,c):(e.exit(\"codeFencedFenceSequence\"),u<3?n(t):Ok(e,f,\"whitespace\")(t))}function f(t){return null===t||Tk(t)?m(t):(e.enter(\"codeFencedFenceInfo\"),e.enter(\"chunkString\",{contentType:\"string\"}),d(t))}function d(t){return null===t||kk(t)?(e.exit(\"chunkString\"),e.exit(\"codeFencedFenceInfo\"),Ok(e,p,\"whitespace\")(t)):96===t&&t===s?n(t):(e.consume(t),d)}function p(t){return null===t||Tk(t)?m(t):(e.enter(\"codeFencedFenceMeta\"),e.enter(\"chunkString\",{contentType:\"string\"}),h(t))}function h(t){return null===t||Tk(t)?(e.exit(\"chunkString\"),e.exit(\"codeFencedFenceMeta\"),m(t)):96===t&&t===s?n(t):(e.consume(t),h)}function m(n){return e.exit(\"codeFencedFence\"),r.interrupt?t(n):g(n)}function g(t){return null===t?v(t):Tk(t)?e.attempt(i,e.attempt(a,v,l?Ok(e,g,\"linePrefix\",l+1):g),v)(t):(e.enter(\"codeFlowValue\"),y(t))}function y(t){return null===t||Tk(t)?(e.exit(\"codeFlowValue\"),g(t)):(e.consume(t),y)}function v(n){return e.exit(\"codeFenced\"),t(n)}},concrete:!0};const hT=document.createElement(\"i\");function mT(e){const t=\"&\"+e+\";\";hT.innerHTML=t;const n=hT.textContent;return(59!==n.charCodeAt(n.length-1)||\"semi\"===e)&&(n!==t&&n)}const gT={name:\"characterReference\",tokenize:function(e,t,n){const r=this;let a,i,o=0;return function(t){return e.enter(\"characterReference\"),e.enter(\"characterReferenceMarker\"),e.consume(t),e.exit(\"characterReferenceMarker\"),l};function l(t){return 35===t?(e.enter(\"characterReferenceMarkerNumeric\"),e.consume(t),e.exit(\"characterReferenceMarkerNumeric\"),s):(e.enter(\"characterReferenceValue\"),a=31,i=bk,u(t))}function s(t){return 88===t||120===t?(e.enter(\"characterReferenceMarkerHexadecimal\"),e.consume(t),e.exit(\"characterReferenceMarkerHexadecimal\"),e.enter(\"characterReferenceValue\"),a=6,i=vk,u):(e.enter(\"characterReferenceValue\"),a=7,i=yk,u(t))}function u(l){let s;return 59===l&&o?(s=e.exit(\"characterReferenceValue\"),i!==bk||mT(r.sliceSerialize(s))?(e.enter(\"characterReferenceMarker\"),e.consume(l),e.exit(\"characterReferenceMarker\"),e.exit(\"characterReference\"),t):n(l)):i(l)&&o++<a?(e.consume(l),u):n(l)}}};const yT={name:\"characterEscape\",tokenize:function(e,t,n){return function(t){return e.enter(\"characterEscape\"),e.enter(\"escapeMarker\"),e.consume(t),e.exit(\"escapeMarker\"),r};function r(r){return xk(r)?(e.enter(\"characterEscapeValue\"),e.consume(r),e.exit(\"characterEscapeValue\"),e.exit(\"characterEscape\"),t):n(r)}}};const vT={name:\"lineEnding\",tokenize:function(e,t){return function(n){return e.enter(\"lineEnding\"),e.consume(n),e.exit(\"lineEnding\"),Ok(e,t,\"linePrefix\")}}};const bT={name:\"labelEnd\",tokenize:function(e,t,n){const r=this;let a,i,o=r.events.length;for(;o--;)if((\"labelImage\"===r.events[o][1].type||\"labelLink\"===r.events[o][1].type)&&!r.events[o][1]._balanced){a=r.events[o][1];break}return function(t){if(!a)return n(t);return a._inactive?s(t):(i=r.parser.defined.includes(nT(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(\"labelEnd\"),e.enter(\"labelMarker\"),e.consume(t),e.exit(\"labelMarker\"),e.exit(\"labelEnd\"),l)};function l(n){return 40===n?e.attempt(xT,t,i?t:s)(n):91===n?e.attempt(wT,t,i?e.attempt(_T,t,s):s)(n):i?t(n):s(n)}function s(e){return a._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,a,i,o=e.length,l=0;for(;o--;)if(n=e[o][1],r){if(\"link\"===n.type||\"labelLink\"===n.type&&n._inactive)break;\"enter\"===e[o][0]&&\"labelLink\"===n.type&&(n._inactive=!0)}else if(a){if(\"enter\"===e[o][0]&&(\"labelImage\"===n.type||\"labelLink\"===n.type)&&!n._balanced&&(r=o,\"labelLink\"!==n.type)){l=2;break}}else\"labelEnd\"===n.type&&(a=o);const s={type:\"labelLink\"===e[r][1].type?\"link\":\"image\",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:\"label\",start:Object.assign({},e[r][1].start),end:Object.assign({},e[a][1].end)},c={type:\"labelText\",start:Object.assign({},e[r+l+2][1].end),end:Object.assign({},e[a-2][1].start)};return i=[[\"enter\",s,t],[\"enter\",u,t]],i=dk(i,e.slice(r+1,r+l+3)),i=dk(i,[[\"enter\",c,t]]),i=dk(i,Wk(t.parser.constructs.insideSpan.null,e.slice(r+l+4,a-3),t)),i=dk(i,[[\"exit\",c,t],e[a-2],e[a-1],[\"exit\",u,t]]),i=dk(i,e.slice(a+1)),i=dk(i,[[\"exit\",s,t]]),fk(e,r,e.length,i),e},resolveAll:function(e){let t,n=-1;for(;++n<e.length;)t=e[n][1],\"labelImage\"!==t.type&&\"labelLink\"!==t.type&&\"labelEnd\"!==t.type||(e.splice(n+1,\"labelImage\"===t.type?4:2),t.type=\"data\",n++);return e}},xT={tokenize:function(e,t,n){return function(t){return e.enter(\"resource\"),e.enter(\"resourceMarker\"),e.consume(t),e.exit(\"resourceMarker\"),tT(e,r)};function r(t){return 41===t?o(t):Jk(e,a,n,\"resourceDestination\",\"resourceDestinationLiteral\",\"resourceDestinationLiteralMarker\",\"resourceDestinationRaw\",\"resourceDestinationString\",32)(t)}function a(t){return kk(t)?tT(e,i)(t):o(t)}function i(t){return 34===t||39===t||40===t?eT(e,tT(e,o),n,\"resourceTitle\",\"resourceTitleMarker\",\"resourceTitleString\")(t):o(t)}function o(r){return 41===r?(e.enter(\"resourceMarker\"),e.consume(r),e.exit(\"resourceMarker\"),e.exit(\"resource\"),t):n(r)}}},wT={tokenize:function(e,t,n){const r=this;return function(t){return Qk.call(r,e,a,n,\"reference\",\"referenceMarker\",\"referenceString\")(t)};function a(e){return r.parser.defined.includes(nT(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},_T={tokenize:function(e,t,n){return function(t){return e.enter(\"reference\"),e.enter(\"referenceMarker\"),e.consume(t),e.exit(\"referenceMarker\"),r};function r(r){return 93===r?(e.enter(\"referenceMarker\"),e.consume(r),e.exit(\"referenceMarker\"),e.exit(\"reference\"),t):n(r)}}};const kT={name:\"labelStartImage\",tokenize:function(e,t,n){const r=this;return function(t){return e.enter(\"labelImage\"),e.enter(\"labelImageMarker\"),e.consume(t),e.exit(\"labelImageMarker\"),a};function a(t){return 91===t?(e.enter(\"labelMarker\"),e.consume(t),e.exit(\"labelMarker\"),e.exit(\"labelImage\"),i):n(t)}function i(e){return 94===e&&\"_hiddenFootnoteSupport\"in r.parser.constructs?n(e):t(e)}},resolveAll:bT.resolveAll};function TT(e){return null===e||kk(e)||Sk(e)?1:Ek(e)?2:void 0}const MT={name:\"attention\",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=TT(r);let i;return function(t){return e.enter(\"attentionSequence\"),i=t,o(t)};function o(l){if(l===i)return e.consume(l),o;const s=e.exit(\"attentionSequence\"),u=TT(l),c=!u||2===u&&a||n.includes(l),f=!a||2===a&&u||n.includes(r);return s._open=Boolean(42===i?c:c&&(a||!f)),s._close=Boolean(42===i?f:f&&(u||!c)),t(l)}},resolveAll:function(e,t){let n,r,a,i,o,l,s,u,c=-1;for(;++c<e.length;)if(\"enter\"===e[c][0]&&\"attentionSequence\"===e[c][1].type&&e[c][1]._close)for(n=c;n--;)if(\"exit\"===e[n][0]&&\"attentionSequence\"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[c][1].start);ST(f,-l),ST(d,l),i={type:l>1?\"strongSequence\":\"emphasisSequence\",start:f,end:Object.assign({},e[n][1].end)},o={type:l>1?\"strongSequence\":\"emphasisSequence\",start:Object.assign({},e[c][1].start),end:d},a={type:l>1?\"strongText\":\"emphasisText\",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:l>1?\"strong\":\"emphasis\",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},o.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=dk(s,[[\"enter\",e[n][1],t],[\"exit\",e[n][1],t]])),s=dk(s,[[\"enter\",r,t],[\"enter\",i,t],[\"exit\",i,t],[\"enter\",a,t]]),s=dk(s,Wk(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),s=dk(s,[[\"exit\",a,t],[\"enter\",o,t],[\"exit\",o,t],[\"exit\",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=dk(s,[[\"enter\",e[c][1],t],[\"exit\",e[c][1],t]])):u=0,fk(e,n-1,c-n+3,s),c=n+s.length-u-2;break}c=-1;for(;++c<e.length;)\"attentionSequence\"===e[c][1].type&&(e[c][1].type=\"data\");return e}};function ST(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ET={name:\"autolink\",tokenize:function(e,t,n){let r=1;return function(t){return e.enter(\"autolink\"),e.enter(\"autolinkMarker\"),e.consume(t),e.exit(\"autolinkMarker\"),e.enter(\"autolinkProtocol\"),a};function a(t){return gk(t)?(e.consume(t),i):wk(t)?s(t):n(t)}function i(e){return 43===e||45===e||46===e||bk(e)?o(e):s(e)}function o(t){return 58===t?(e.consume(t),l):(43===t||45===t||46===t||bk(t))&&r++<32?(e.consume(t),o):s(t)}function l(t){return 62===t?(e.exit(\"autolinkProtocol\"),d(t)):null===t||32===t||60===t||_k(t)?n(t):(e.consume(t),l)}function s(t){return 64===t?(e.consume(t),r=0,u):wk(t)?(e.consume(t),s):n(t)}function u(e){return bk(e)?c(e):n(e)}function c(t){return 46===t?(e.consume(t),r=0,u):62===t?(e.exit(\"autolinkProtocol\").type=\"autolinkEmail\",d(t)):f(t)}function f(t){return(45===t||bk(t))&&r++<63?(e.consume(t),45===t?f:c):n(t)}function d(n){return e.enter(\"autolinkMarker\"),e.consume(n),e.exit(\"autolinkMarker\"),e.exit(\"autolink\"),t}}};const CT={name:\"htmlText\",tokenize:function(e,t,n){const r=this;let a,i,o,l;return function(t){return e.enter(\"htmlText\"),e.enter(\"htmlTextData\"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),_):63===t?(e.consume(t),x):gk(t)?(e.consume(t),M):n(t)}function u(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=\"CDATA[\",o=0,m):gk(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function f(t){return null===t||62===t?n(t):45===t?(e.consume(t),d):p(t)}function d(e){return null===e||62===e?n(e):p(e)}function p(t){return null===t?n(t):45===t?(e.consume(t),h):Tk(t)?(l=p,R(t)):(e.consume(t),p)}function h(t){return 45===t?(e.consume(t),I):p(t)}function m(t){return t===i.charCodeAt(o++)?(e.consume(t),o===i.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),y):Tk(t)?(l=g,R(t)):(e.consume(t),g)}function y(t){return 93===t?(e.consume(t),v):g(t)}function v(t){return 62===t?I(t):93===t?(e.consume(t),v):g(t)}function b(t){return null===t||62===t?I(t):Tk(t)?(l=b,R(t)):(e.consume(t),b)}function x(t){return null===t?n(t):63===t?(e.consume(t),w):Tk(t)?(l=x,R(t)):(e.consume(t),x)}function w(e){return 62===e?I(e):x(e)}function _(t){return gk(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||bk(t)?(e.consume(t),k):T(t)}function T(t){return Tk(t)?(l=T,R(t)):Mk(t)?(e.consume(t),T):I(t)}function M(t){return 45===t||bk(t)?(e.consume(t),M):47===t||62===t||kk(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),I):58===t||95===t||gk(t)?(e.consume(t),E):Tk(t)?(l=S,R(t)):Mk(t)?(e.consume(t),S):I(t)}function E(t){return 45===t||46===t||58===t||95===t||bk(t)?(e.consume(t),E):C(t)}function C(t){return 61===t?(e.consume(t),O):Tk(t)?(l=C,R(t)):Mk(t)?(e.consume(t),C):S(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,A):Tk(t)?(l=O,R(t)):Mk(t)?(e.consume(t),O):(e.consume(t),a=void 0,P)}function A(t){return t===a?(e.consume(t),D):null===t?n(t):Tk(t)?(l=A,R(t)):(e.consume(t),A)}function D(e){return 62===e||47===e||kk(e)?S(e):n(e)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||kk(t)?S(t):(e.consume(t),P)}function R(t){return e.exit(\"htmlTextData\"),e.enter(\"lineEnding\"),e.consume(t),e.exit(\"lineEnding\"),Ok(e,L,\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)}function L(t){return e.enter(\"htmlTextData\"),l(t)}function I(r){return 62===r?(e.consume(r),e.exit(\"htmlTextData\"),e.exit(\"htmlText\"),t):n(r)}}};const OT={name:\"labelStartLink\",tokenize:function(e,t,n){const r=this;return function(t){return e.enter(\"labelLink\"),e.enter(\"labelMarker\"),e.consume(t),e.exit(\"labelMarker\"),e.exit(\"labelLink\"),a};function a(e){return 94===e&&\"_hiddenFootnoteSupport\"in r.parser.constructs?n(e):t(e)}},resolveAll:bT.resolveAll};const AT={name:\"hardBreakEscape\",tokenize:function(e,t,n){return function(t){return e.enter(\"hardBreakEscape\"),e.enter(\"escapeMarker\"),e.consume(t),r};function r(r){return Tk(r)?(e.exit(\"escapeMarker\"),e.exit(\"hardBreakEscape\"),t(r)):n(r)}}};const DT={name:\"codeText\",tokenize:function(e,t,n){let r,a,i=0;return function(t){return e.enter(\"codeText\"),e.enter(\"codeTextSequence\"),o(t)};function o(t){return 96===t?(e.consume(t),i++,o):(e.exit(\"codeTextSequence\"),l(t))}function l(t){return null===t?n(t):96===t?(a=e.enter(\"codeTextSequence\"),r=0,u(t)):32===t?(e.enter(\"space\"),e.consume(t),e.exit(\"space\"),l):Tk(t)?(e.enter(\"lineEnding\"),e.consume(t),e.exit(\"lineEnding\"),l):(e.enter(\"codeTextData\"),s(t))}function s(t){return null===t||32===t||96===t||Tk(t)?(e.exit(\"codeTextData\"),l(t)):(e.consume(t),s)}function u(n){return 96===n?(e.consume(n),r++,u):r===i?(e.exit(\"codeTextSequence\"),e.exit(\"codeText\"),t(n)):(a.type=\"codeTextData\",s(n))}},resolve:function(e){let t,n,r=e.length-4,a=3;if(!(\"lineEnding\"!==e[a][1].type&&\"space\"!==e[a][1].type||\"lineEnding\"!==e[r][1].type&&\"space\"!==e[r][1].type))for(t=a;++t<r;)if(\"codeTextData\"===e[t][1].type){e[a][1].type=\"codeTextPadding\",e[r][1].type=\"codeTextPadding\",a+=2,r-=2;break}t=a-1,r++;for(;++t<=r;)void 0===n?t!==r&&\"lineEnding\"!==e[t][1].type&&(n=t):t!==r&&\"lineEnding\"!==e[t][1].type||(e[n][1].type=\"codeTextData\",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||\"characterEscape\"===this.events[this.events.length-1][1].type}};const PT={42:Gk,43:Gk,45:Gk,48:Gk,49:Gk,50:Gk,51:Gk,52:Gk,53:Gk,54:Gk,55:Gk,56:Gk,57:Gk,62:Kk},RT={91:rT},LT={[-2]:iT,[-1]:iT,32:iT},IT={35:lT,42:Yk,45:[sT,Yk],60:fT,61:sT,95:Yk,96:pT,126:pT},jT={38:gT,92:yT},NT={[-5]:vT,[-4]:vT,[-3]:vT,33:kT,38:gT,42:MT,60:[ET,CT],91:OT,92:[AT,yT],93:bT,95:MT,96:DT},zT={null:[MT,Fk]},FT={null:[42,95]},ZT={null:[]};function BT(t={}){const n=function(e){const t={};let n=-1;for(;++n<e.length;)hk(t,e[n]);return t}([e].concat(t.extensions||[])),r={defined:[],lazy:{},constructs:n,content:a(Ak),document:a(Dk),flow:a(zk),string:a(Zk),text:a(Bk)};return r;function a(e){return function(t){return Vk(r,e,t)}}}const qT=/[\\0\\t\\n\\r]/g;function HT(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?\"�\":String.fromCharCode(n)}const UT=/\\\\([!-/:-@[-`{-~])|&(#(?:\\d{1,7}|x[\\da-f]{1,6})|[\\da-z]{1,31});/gi;function WT(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return HT(n.slice(t?2:1),t?16:10)}return mT(n)||e}const VT={}.hasOwnProperty,YT=function(e,t,n){return\"string\"!=typeof t&&(n=t,t=void 0),function(e={}){const t=GT({transforms:[],canContainEols:[\"emphasis\",\"fragment\",\"heading\",\"paragraph\",\"strong\"],enter:{autolink:s(re),autolinkProtocol:C,autolinkEmail:C,atxHeading:s(Q),blockQuote:s(G),characterEscape:C,characterReference:C,codeFenced:s($),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:s($,u),codeText:s(X,u),codeTextData:C,data:C,codeFlowValue:C,definition:s(K),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:s(J),hardBreakEscape:s(ee),hardBreakTrailing:s(ee),htmlFlow:s(te,u),htmlFlowData:C,htmlText:s(te,u),htmlTextData:C,image:s(ne),label:u,link:s(re),listItem:s(ie),listItemValue:m,listOrdered:s(ae,h),listUnordered:s(ae),paragraph:s(oe),reference:q,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:s(Q),strong:s(le),thematicBreak:s(ue)},exit:{atxHeading:f(),atxHeadingSequence:T,autolink:f(),autolinkEmail:Y,autolinkProtocol:V,blockQuote:f(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:U,characterReferenceMarkerNumeric:U,characterReferenceValue:W,codeFenced:f(b),codeFencedFence:v,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:O,codeIndented:f(x),codeText:f(L),codeTextData:O,data:O,definition:f(),definitionDestinationString:k,definitionLabelString:w,definitionTitleString:_,emphasis:f(),hardBreakEscape:f(D),hardBreakTrailing:f(D),htmlFlow:f(P),htmlFlowData:O,htmlText:f(R),htmlTextData:O,image:f(j),label:z,labelText:N,lineEnding:A,link:f(I),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:H,resourceDestinationString:F,resourceTitleString:Z,resource:B,setextHeading:f(E),setextHeadingLineSequence:S,setextHeadingText:M,strong:f(),thematicBreak:f()}},e.mdastExtensions||[]),n={};return r;function r(e){let n={type:\"root\",children:[]};const r=[],s=[],f={stack:[n],tokenStack:r,config:t,enter:c,exit:d,buffer:u,resume:p,setData:i,getData:o};let h=-1;for(;++h<e.length;)if(\"listOrdered\"===e[h][1].type||\"listUnordered\"===e[h][1].type)if(\"enter\"===e[h][0])s.push(h);else{h=a(e,s.pop(),h)}for(h=-1;++h<e.length;){const n=t[e[h][0]];VT.call(n,e[h][1].type)&&n[e[h][1].type].call(Object.assign({sliceSerialize:e[h][2].sliceSerialize},f),e[h][1])}if(r.length>0){const e=r[r.length-1];(e[1]||XT).call(f,void 0,e[0])}for(n.position={start:l(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:l(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<t.transforms.length;)n=t.transforms[h](n)||n;return n}function a(e,t,n){let r,a,i,o,l=t-1,s=-1,u=!1;for(;++l<=n;){const t=e[l];if(\"listUnordered\"===t[1].type||\"listOrdered\"===t[1].type||\"blockQuote\"===t[1].type?(\"enter\"===t[0]?s++:s--,o=void 0):\"lineEndingBlank\"===t[1].type?\"enter\"===t[0]&&(!r||o||s||i||(i=l),o=void 0):\"linePrefix\"===t[1].type||\"listItemValue\"===t[1].type||\"listItemMarker\"===t[1].type||\"listItemPrefix\"===t[1].type||\"listItemPrefixWhitespace\"===t[1].type||(o=void 0),!s&&\"enter\"===t[0]&&\"listItemPrefix\"===t[1].type||-1===s&&\"exit\"===t[0]&&(\"listUnordered\"===t[1].type||\"listOrdered\"===t[1].type)){if(r){let o=l;for(a=void 0;o--;){const t=e[o];if(\"lineEnding\"===t[1].type||\"lineEndingBlank\"===t[1].type){if(\"exit\"===t[0])continue;a&&(e[a][1].type=\"lineEndingBlank\",u=!0),t[1].type=\"lineEnding\",a=o}else if(\"linePrefix\"!==t[1].type&&\"blockQuotePrefix\"!==t[1].type&&\"blockQuotePrefixWhitespace\"!==t[1].type&&\"blockQuoteMarker\"!==t[1].type&&\"listItemIndent\"!==t[1].type)break}i&&(!a||i<a)&&(r._spread=!0),r.end=Object.assign({},a?e[a][1].start:t[1].end),e.splice(a||l,0,[\"exit\",r,t[2]]),l++,n++}\"listItemPrefix\"===t[1].type&&(r={type:\"listItem\",_spread:!1,start:Object.assign({},t[1].start)},e.splice(l,0,[\"enter\",r,t[2]]),l++,n++,i=void 0,o=!0)}}return e[t][1]._spread=u,n}function i(e,t){n[e]=t}function o(e){return n[e]}function l(e){return{line:e.line,column:e.column,offset:e.offset}}function s(e,t){return n;function n(n){c.call(this,e(n),n),t&&t.call(this,n)}}function u(){this.stack.push({type:\"fragment\",children:[]})}function c(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:l(t.start)},e}function f(e){return t;function t(t){e&&e.call(this,t),d.call(this,t)}}function d(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error(\"Cannot close `\"+e.type+\"` (\"+L_({start:e.start,end:e.end})+\"): it’s not open\");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||XT).call(this,e,r[0])}return n.position.end=l(e.end),n}function p(){return function(e,t){var{includeImageAlt:n=!0}=t||{};return uk(e,n)}(this.stack.pop())}function h(){i(\"expectingFirstListItemValue\",!0)}function m(e){if(o(\"expectingFirstListItemValue\")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i(\"expectingFirstListItemValue\")}}function g(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function y(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function v(){o(\"flowCodeInside\")||(this.buffer(),i(\"flowCodeInside\",!0))}function b(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\\r?\\n|\\r)|(\\r?\\n|\\r)$/g,\"\"),i(\"flowCodeInside\")}function x(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\\r?\\n|\\r)$/g,\"\")}function w(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nT(this.sliceSerialize(e)).toLowerCase()}function _(){const e=this.resume();this.stack[this.stack.length-1].title=e}function k(){const e=this.resume();this.stack[this.stack.length-1].url=e}function T(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function M(){i(\"setextHeadingSlurpLineEnding\",!0)}function S(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function E(){i(\"setextHeadingSlurpLineEnding\")}function C(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&\"text\"===n.type||(n=se(),n.position={start:l(e.start)},t.children.push(n)),this.stack.push(n)}function O(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=l(e.end)}function A(e){const n=this.stack[this.stack.length-1];if(o(\"atHardBreak\")){return n.children[n.children.length-1].position.end=l(e.end),void i(\"atHardBreak\")}!o(\"setextHeadingSlurpLineEnding\")&&t.canContainEols.includes(n.type)&&(C.call(this,e),O.call(this,e))}function D(){i(\"atHardBreak\",!0)}function P(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function L(){const e=this.resume();this.stack[this.stack.length-1].value=e}function I(){const e=this.stack[this.stack.length-1];o(\"inReference\")?(e.type+=\"Reference\",e.referenceType=o(\"referenceType\")||\"shortcut\",delete e.url,delete e.title):(delete e.identifier,delete e.label),i(\"referenceType\")}function j(){const e=this.stack[this.stack.length-1];o(\"inReference\")?(e.type+=\"Reference\",e.referenceType=o(\"referenceType\")||\"shortcut\",delete e.url,delete e.title):(delete e.identifier,delete e.label),i(\"referenceType\")}function N(e){const t=this.stack[this.stack.length-2],n=this.sliceSerialize(e);t.label=function(e){return e.replace(UT,WT)}(n),t.identifier=nT(n).toLowerCase()}function z(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];i(\"inReference\",!0),\"link\"===n.type?n.children=e.children:n.alt=t}function F(){const e=this.resume();this.stack[this.stack.length-1].url=e}function Z(){const e=this.resume();this.stack[this.stack.length-1].title=e}function B(){i(\"inReference\")}function q(){i(\"referenceType\",\"collapsed\")}function H(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nT(this.sliceSerialize(e)).toLowerCase(),i(\"referenceType\",\"full\")}function U(e){i(\"characterReferenceType\",e.type)}function W(e){const t=this.sliceSerialize(e),n=o(\"characterReferenceType\");let r;n?(r=HT(t,\"characterReferenceMarkerNumeric\"===n?10:16),i(\"characterReferenceType\")):r=mT(t);const a=this.stack.pop();a.value+=r,a.position.end=l(e.end)}function V(e){O.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function Y(e){O.call(this,e);this.stack[this.stack.length-1].url=\"mailto:\"+this.sliceSerialize(e)}function G(){return{type:\"blockquote\",children:[]}}function $(){return{type:\"code\",lang:null,meta:null,value:\"\"}}function X(){return{type:\"inlineCode\",value:\"\"}}function K(){return{type:\"definition\",identifier:\"\",label:null,title:null,url:\"\"}}function J(){return{type:\"emphasis\",children:[]}}function Q(){return{type:\"heading\",depth:void 0,children:[]}}function ee(){return{type:\"break\"}}function te(){return{type:\"html\",value:\"\"}}function ne(){return{type:\"image\",title:null,url:\"\",alt:null}}function re(){return{type:\"link\",title:null,url:\"\",children:[]}}function ae(e){return{type:\"list\",ordered:\"listOrdered\"===e.type,start:null,spread:e._spread,children:[]}}function ie(e){return{type:\"listItem\",spread:e._spread,checked:null,children:[]}}function oe(){return{type:\"paragraph\",children:[]}}function le(){return{type:\"strong\",children:[]}}function se(){return{type:\"text\",value:\"\"}}function ue(){return{type:\"thematicBreak\"}}}(n)(function(e){for(;!Lk(e););return e}(BT(n).document().write(function(){let e,t=1,n=\"\",r=!0;return function(a,i,o){const l=[];let s,u,c,f,d;for(a=n+a.toString(i),c=0,n=\"\",r&&(65279===a.charCodeAt(0)&&c++,r=void 0);c<a.length;){if(qT.lastIndex=c,s=qT.exec(a),f=s&&void 0!==s.index?s.index:a.length,d=a.charCodeAt(f),!s){n=a.slice(c);break}if(10===d&&c===f&&e)l.push(-3),e=void 0;else switch(e&&(l.push(-5),e=void 0),c<f&&(l.push(a.slice(c,f)),t+=f-c),d){case 0:l.push(65533),t++;break;case 9:for(u=4*Math.ceil(t/4),l.push(-2);t++<u;)l.push(-1);break;case 10:l.push(-4),t=1;break;default:e=!0,t=1}c=f+1}return o&&(e&&l.push(-5),n&&l.push(n),l.push(null)),l}}()(e,t,!0))))};function GT(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?GT(e,r):$T(e,r)}return e}function $T(e,t){let n;for(n in t)if(VT.call(t,n)){const r=\"canContainEols\"===n||\"transforms\"===n,a=(VT.call(e,n)?e[n]:void 0)||(e[n]=r?[]:{}),i=t[n];i&&(r?e[n]=[...a,...i]:Object.assign(a,i))}}function XT(e,t){throw e?new Error(\"Cannot close `\"+e.type+\"` (\"+L_({start:e.start,end:e.end})+\"): a different token (`\"+t.type+\"`, \"+L_({start:t.start,end:t.end})+\") is open\"):new Error(\"Cannot close document, a token (`\"+t.type+\"`, \"+L_({start:t.start,end:t.end})+\") is still open\")}var KT=function(e){Object.assign(this,{Parser:t=>{const n=this.data(\"settings\");return YT(t,Object.assign({},n,e,{extensions:this.data(\"micromarkExtensions\")||[],mdastExtensions:this.data(\"fromMarkdownExtensions\")||[]}))}})},JT=function(e,t,n){var r={type:String(e)};return null!=n||\"string\"!=typeof t&&!Array.isArray(t)?Object.assign(r,t):n=t,Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n)),r};const QT=function(e){if(null==e)return tM;if(\"string\"==typeof e)return function(e){return eM(t);function t(t){return t&&t.type===e}}(e);if(\"object\"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=QT(e[n]);return eM(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1}}(e):function(e){return eM(t);function t(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if(\"function\"==typeof e)return eM(e);throw new Error(\"Expected function, string, or object as test\")};function eM(e){return function(...t){return Boolean(e.call(this,...t))}}function tM(){return!0}const nM=function(e,t,n,r){\"function\"==typeof t&&\"function\"!=typeof n&&(r=n,n=t,t=null);const a=QT(t),i=r?-1:1;!function e(o,l,s){const u=\"object\"==typeof o&&null!==o?o:{};let c;\"string\"==typeof u.type&&(c=\"string\"==typeof u.tagName?u.tagName:\"string\"==typeof u.name?u.name:void 0,Object.defineProperty(f,\"name\",{value:\"node (\"+u.type+(c?\"<\"+c+\">\":\"\")+\")\"}));return f;function f(){let u,c,f,d=[];if((!t||a(o,l,s[s.length-1]||null))&&(d=function(e){if(Array.isArray(e))return e;if(\"number\"==typeof e)return[true,e];return[e]}(n(o,s)),false===d[0]))return d;if(o.children&&\"skip\"!==d[0])for(c=(r?o.children.length:-1)+i,f=s.concat(o);c>-1&&c<o.children.length;){if(u=e(o.children[c],c,f)(),false===u[0])return u;c=\"number\"==typeof u[1]?u[1]:c+i}return d}}(e,null,[])()};const rM=function(e,t,n,r){\"function\"==typeof t&&\"function\"!=typeof n&&(r=n,n=t,t=null),nM(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)};var aM=oM(\"start\"),iM=oM(\"end\");function oM(e){return function(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const lM=function(e,t,n,r){\"function\"==typeof t&&\"function\"!=typeof n&&(r=n,n=t,t=null);var a=QT(t),i=r?-1:1;!function e(o,l,s){var u,c=\"object\"==typeof o&&null!==o?o:{};\"string\"==typeof c.type&&(u=\"string\"==typeof c.tagName?c.tagName:\"string\"==typeof c.name?c.name:void 0,Object.defineProperty(f,\"name\",{value:\"node (\"+c.type+(u?\"<\"+u+\">\":\"\")+\")\"}));return f;function f(){var u,c,f,d=[];if((!t||a(o,l,s[s.length-1]||null))&&(d=function(e){if(Array.isArray(e))return e;if(\"number\"==typeof e)return[true,e];return[e]}(n(o,s)),false===d[0]))return d;if(o.children&&\"skip\"!==d[0])for(c=(r?o.children.length:-1)+i,f=s.concat(o);c>-1&&c<o.children.length;){if(u=e(o.children[c],c,f)(),false===u[0])return u;c=\"number\"==typeof u[1]?u[1]:c+i}return d}}(e,null,[])()};const sM={}.hasOwnProperty;function uM(e){const t=Object.create(null);if(!e||!e.type)throw new Error(\"mdast-util-definitions expected node\");return function(e,t,n,r){\"function\"==typeof t&&\"function\"!=typeof n&&(r=n,n=t,t=null),lM(e,t,(function(e,t){var r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)}(e,\"definition\",(function(e){const n=cM(e.identifier);n&&!sM.call(t,n)&&(t[n]=e)})),function(e){const n=cM(e);return n&&sM.call(t,n)?t[n]:null}}function cM(e){return String(e||\"\").toUpperCase()}const fM={}.hasOwnProperty;function dM(e,t){const n=t.data||{};return\"value\"in t&&!(fM.call(n,\"hName\")||fM.call(n,\"hProperties\")||fM.call(n,\"hChildren\"))?e.augment(t,JT(\"text\",t.value)):e(t,\"div\",mM(e,t))}function pM(e,t,n){const r=t&&t.type;let a;if(!r)throw new Error(\"Expected node, got `\"+t+\"`\");return a=fM.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?hM:e.unknownHandler,(\"function\"==typeof a?a:dM)(e,t,n)}function hM(e,t){return\"children\"in t?{...t,children:mM(e,t)}:t}function mM(e,t){const n=[];if(\"children\"in t){const r=t.children;let a=-1;for(;++a<r.length;){const i=pM(e,r[a],t);if(i){if(a&&\"break\"===r[a-1].type&&(Array.isArray(i)||\"text\"!==i.type||(i.value=i.value.replace(/^\\s+/,\"\")),!Array.isArray(i)&&\"element\"===i.type)){const e=i.children[0];e&&\"text\"===e.type&&(e.value=e.value.replace(/^\\s+/,\"\"))}Array.isArray(i)?n.push(...i):n.push(i)}}}return n}const gM={'\"':\"quot\",\"&\":\"amp\",\"<\":\"lt\",\">\":\"gt\"};function yM(e,t){const n=function(e){return e.replace(/[\"&<>]/g,(function(e){return\"&\"+gM[e]+\";\"}))}(function(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let o=\"\";if(37===i&&bk(e.charCodeAt(n+1))&&bk(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),a=1):o=\"�\"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=\"\"),a&&(n+=a,a=0)}return t.join(\"\")+e.slice(r)}(e||\"\"));if(!t)return n;const r=n.indexOf(\":\"),a=n.indexOf(\"?\"),i=n.indexOf(\"#\"),o=n.indexOf(\"/\");return r<0||o>-1&&r>o||a>-1&&r>a||i>-1&&r>i||t.test(n.slice(0,r))?n:\"\"}function vM(e,t){const n=[];let r=-1;for(t&&n.push(JT(\"text\",\"\\n\"));++r<e.length;)r&&n.push(JT(\"text\",\"\\n\")),n.push(e[r]);return t&&e.length>0&&n.push(JT(\"text\",\"\\n\")),n}function bM(e,t){const n=String(t.identifier),r=yM(n.toLowerCase()),a=e.footnoteOrder.indexOf(n);let i;-1===a?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=a+1);const o=e.footnoteCounts[n];return e(t,\"sup\",[e(t.position,\"a\",{href:\"#\"+e.clobberPrefix+\"fn-\"+r,id:e.clobberPrefix+\"fnref-\"+r+(o>1?\"-\"+o:\"\"),dataFootnoteRef:!0,ariaDescribedBy:\"footnote-label\"},[JT(\"text\",String(i))])])}var xM=n(70729);function wM(e,t){const n=t.referenceType;let r=\"]\";if(\"collapsed\"===n?r+=\"[]\":\"full\"===n&&(r+=\"[\"+(t.label||t.identifier)+\"]\"),\"imageReference\"===t.type)return JT(\"text\",\"![\"+t.alt+r);const a=mM(e,t),i=a[0];i&&\"text\"===i.type?i.value=\"[\"+i.value:a.unshift(JT(\"text\",\"[\"));const o=a[a.length-1];return o&&\"text\"===o.type?o.value+=r:a.push(JT(\"text\",r)),a}function _M(e){const t=e.spread;return null==t?e.children.length>1:t}const kM={blockquote:function(e,t){return e(t,\"blockquote\",vM(mM(e,t),!0))},break:function(e,t){return[e(t,\"br\"),JT(\"text\",\"\\n\")]},code:function(e,t){const n=t.value?t.value+\"\\n\":\"\",r=t.lang&&t.lang.match(/^[^ \\t]+(?=[ \\t]|$)/),a={};r&&(a.className=[\"language-\"+r]);const i=e(t,\"code\",a,[JT(\"text\",n)]);return t.meta&&(i.data={meta:t.meta}),e(t.position,\"pre\",[i])},delete:function(e,t){return e(t,\"del\",mM(e,t))},emphasis:function(e,t){return e(t,\"em\",mM(e,t))},footnoteReference:bM,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const a=String(r);return n[a]={type:\"footnoteDefinition\",identifier:a,children:[{type:\"paragraph\",children:t.children}],position:t.position},bM(e,{type:\"footnoteReference\",identifier:a,position:t.position})},heading:function(e,t){return e(t,\"h\"+t.depth,mM(e,t))},html:function(e,t){return e.dangerous?e.augment(t,JT(\"raw\",t.value)):null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return wM(e,t);const r={src:xM(n.url||\"\"),alt:t.alt};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,\"img\",r)},image:function(e,t){const n={src:xM(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,\"img\",n)},inlineCode:function(e,t){return e(t,\"code\",[JT(\"text\",t.value.replace(/\\r?\\n|\\r/g,\" \"))])},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return wM(e,t);const r={href:xM(n.url||\"\")};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,\"a\",r,mM(e,t))},link:function(e,t){const n={href:xM(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,\"a\",n,mM(e,t))},listItem:function(e,t,n){const r=mM(e,t),a=n?function(e){let t=e.spread;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=_M(n[r]);return Boolean(t)}(n):_M(t),i={},o=[];if(\"boolean\"==typeof t.checked){let n;r[0]&&\"element\"===r[0].type&&\"p\"===r[0].tagName?n=r[0]:(n=e(null,\"p\",[]),r.unshift(n)),n.children.length>0&&n.children.unshift(JT(\"text\",\" \")),n.children.unshift(e(null,\"input\",{type:\"checkbox\",checked:t.checked,disabled:!0})),i.className=[\"task-list-item\"]}let l=-1;for(;++l<r.length;){const e=r[l];(a||0!==l||\"element\"!==e.type||\"p\"!==e.tagName)&&o.push(JT(\"text\",\"\\n\")),\"element\"!==e.type||\"p\"!==e.tagName||a?o.push(e):o.push(...e.children)}const s=r[r.length-1];return!s||!a&&\"tagName\"in s&&\"p\"===s.tagName||o.push(JT(\"text\",\"\\n\")),e(t,\"li\",i,o)},list:function(e,t){const n={},r=t.ordered?\"ol\":\"ul\",a=mM(e,t);let i=-1;for(\"number\"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<a.length;){const e=a[i];if(\"element\"===e.type&&\"li\"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(\"task-list-item\")){n.className=[\"contains-task-list\"];break}}return e(t,r,n,vM(a,!0))},paragraph:function(e,t){return e(t,\"p\",mM(e,t))},root:function(e,t){return e.augment(t,JT(\"root\",vM(mM(e,t))))},strong:function(e,t){return e(t,\"strong\",mM(e,t))},table:function(e,t){const n=t.children;let r=-1;const a=t.align||[],i=[];for(;++r<n.length;){const o=n[r].children,l=0===r?\"th\":\"td\",s=[];let u=-1;const c=t.align?a.length:o.length;for(;++u<c;){const t=o[u];s.push(e(t,l,{align:a[u]},t?mM(e,t):[]))}i[r]=e(n[r],\"tr\",vM(s,!0))}return e(t,\"table\",vM([e(i[0].position,\"thead\",vM([i[0]],!0))].concat(i[1]?e({start:aM(i[1]),end:iM(i[i.length-1])},\"tbody\",vM(i.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,JT(\"text\",String(t.value).replace(/[ \\t]*(\\r?\\n|\\r)[ \\t]*/g,\"$1\")))},thematicBreak:function(e,t){return e(t,\"hr\")},toml:TM,yaml:TM,definition:TM,footnoteDefinition:TM};function TM(){return null}const MM={}.hasOwnProperty;function SM(e,t){const n=function(e,t){const n=t||{},r=n.allowDangerousHtml||!1,a={};return o.dangerous=r,o.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?\"user-content-\":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||\"Footnotes\",o.footnoteBackLabel=n.footnoteBackLabel||\"Back to content\",o.definition=uM(e),o.footnoteById=a,o.footnoteOrder=[],o.footnoteCounts={},o.augment=i,o.handlers={...kM,...n.handlers},o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,rM(e,\"footnoteDefinition\",(e=>{const t=String(e.identifier).toUpperCase();MM.call(a,t)||(a[t]=e)})),o;function i(e,t){if(e&&\"data\"in e&&e.data){const n=e.data;n.hName&&(\"element\"!==t.type&&(t={type:\"element\",tagName:\"\",properties:{},children:[]}),t.tagName=n.hName),\"element\"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),\"children\"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const r=\"type\"in e?e:{position:e};(n=r)&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column&&(t.position={start:aM(r),end:iM(r)})}var n;return t}function o(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),i(e,{type:\"element\",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=pM(n,e,null),a=function(e){let t=-1;const n=[];for(;++t<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!r)continue;const a=mM(e,r),i=String(r.identifier),o=yM(i.toLowerCase());let l=0;const s=[];for(;++l<=e.footnoteCounts[i];){const t={type:\"element\",tagName:\"a\",properties:{href:\"#\"+e.clobberPrefix+\"fnref-\"+o+(l>1?\"-\"+l:\"\"),dataFootnoteBackref:!0,className:[\"data-footnote-backref\"],ariaLabel:e.footnoteBackLabel},children:[{type:\"text\",value:\"↩\"}]};l>1&&t.children.push({type:\"element\",tagName:\"sup\",children:[{type:\"text\",value:String(l)}]}),s.length>0&&s.push({type:\"text\",value:\" \"}),s.push(t)}const u=a[a.length-1];if(u&&\"element\"===u.type&&\"p\"===u.tagName){const e=u.children[u.children.length-1];e&&\"text\"===e.type?e.value+=\" \":u.children.push({type:\"text\",value:\" \"}),u.children.push(...s)}else a.push(...s);const c={type:\"element\",tagName:\"li\",properties:{id:e.clobberPrefix+\"fn-\"+o},children:vM(a,!0)};r.position&&(c.position=r.position),n.push(c)}return 0===n.length?null:{type:\"element\",tagName:\"section\",properties:{dataFootnotes:!0,className:[\"footnotes\"]},children:[{type:\"element\",tagName:\"h2\",properties:{id:\"footnote-label\",className:[\"sr-only\"]},children:[JT(\"text\",e.footnoteLabel)]},{type:\"text\",value:\"\\n\"},{type:\"element\",tagName:\"ol\",properties:{},children:vM(n,!0)},{type:\"text\",value:\"\\n\"}]}}(n);return a&&r.children.push(JT(\"text\",\"\\n\"),a),Array.isArray(r)?{type:\"root\",children:r}:r}var EM=function(e,t){return e&&\"run\"in e?function(e,t){return(n,r,a)=>{e.run(SM(n,t),r,(e=>{a(e)}))}}(e,t):function(e){return t=>SM(t,e)}(e||t)};var CM=n(80438);class OM{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function AM(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new OM(n,r,t)}function DM(e){return e.toLowerCase()}OM.prototype.property={},OM.prototype.normal={},OM.prototype.space=null;class PM{constructor(e,t){this.property=e,this.attribute=t}}PM.prototype.space=null,PM.prototype.boolean=!1,PM.prototype.booleanish=!1,PM.prototype.overloadedBoolean=!1,PM.prototype.number=!1,PM.prototype.commaSeparated=!1,PM.prototype.spaceSeparated=!1,PM.prototype.commaOrSpaceSeparated=!1,PM.prototype.mustUseProperty=!1,PM.prototype.defined=!1;let RM=0;const LM=BM(),IM=BM(),jM=BM(),NM=BM(),zM=BM(),FM=BM(),ZM=BM();function BM(){return 2**++RM}const qM=Object.keys(t);class HM extends PM{constructor(e,n,r,a){let i=-1;if(super(e,n),UM(this,\"space\",a),\"number\"==typeof r)for(;++i<qM.length;){const e=qM[i];UM(this,qM[i],(r&t[e])===t[e])}}}function UM(e,t,n){n&&(e[t]=n)}HM.prototype.defined=!0;const WM={}.hasOwnProperty;function VM(e){const t={},n={};let r;for(r in e.properties)if(WM.call(e.properties,r)){const a=e.properties[r],i=new HM(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[DM(r)]=r,n[DM(i.attribute)]=r}return new OM(t,n,e.space)}const YM=VM({space:\"xlink\",transform:(e,t)=>\"xlink:\"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),GM=VM({space:\"xml\",transform:(e,t)=>\"xml:\"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function $M(e,t){return t in e?e[t]:t}function XM(e,t){return $M(e,t.toLowerCase())}const KM=VM({space:\"xmlns\",attributes:{xmlnsxlink:\"xmlns:xlink\"},transform:XM,properties:{xmlns:null,xmlnsXLink:null}}),JM=VM({transform:(e,t)=>\"role\"===t?t:\"aria-\"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:IM,ariaAutoComplete:null,ariaBusy:IM,ariaChecked:IM,ariaColCount:NM,ariaColIndex:NM,ariaColSpan:NM,ariaControls:zM,ariaCurrent:null,ariaDescribedBy:zM,ariaDetails:null,ariaDisabled:IM,ariaDropEffect:zM,ariaErrorMessage:null,ariaExpanded:IM,ariaFlowTo:zM,ariaGrabbed:IM,ariaHasPopup:null,ariaHidden:IM,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:zM,ariaLevel:NM,ariaLive:null,ariaModal:IM,ariaMultiLine:IM,ariaMultiSelectable:IM,ariaOrientation:null,ariaOwns:zM,ariaPlaceholder:null,ariaPosInSet:NM,ariaPressed:IM,ariaReadOnly:IM,ariaRelevant:null,ariaRequired:IM,ariaRoleDescription:zM,ariaRowCount:NM,ariaRowIndex:NM,ariaRowSpan:NM,ariaSelected:IM,ariaSetSize:NM,ariaSort:null,ariaValueMax:NM,ariaValueMin:NM,ariaValueNow:NM,ariaValueText:null,role:null}}),QM=VM({space:\"html\",attributes:{acceptcharset:\"accept-charset\",classname:\"class\",htmlfor:\"for\",httpequiv:\"http-equiv\"},transform:XM,mustUseProperty:[\"checked\",\"multiple\",\"muted\",\"selected\"],properties:{abbr:null,accept:FM,acceptCharset:zM,accessKey:zM,action:null,allow:null,allowFullScreen:LM,allowPaymentRequest:LM,allowUserMedia:LM,alt:null,as:null,async:LM,autoCapitalize:null,autoComplete:zM,autoFocus:LM,autoPlay:LM,capture:LM,charSet:null,checked:LM,cite:null,className:zM,cols:NM,colSpan:null,content:null,contentEditable:IM,controls:LM,controlsList:zM,coords:NM|FM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:LM,defer:LM,dir:null,dirName:null,disabled:LM,download:jM,draggable:IM,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:LM,formTarget:null,headers:zM,height:NM,hidden:LM,high:NM,href:null,hrefLang:null,htmlFor:zM,httpEquiv:zM,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:LM,itemId:null,itemProp:zM,itemRef:zM,itemScope:LM,itemType:zM,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:LM,low:NM,manifest:null,max:null,maxLength:NM,media:null,method:null,min:null,minLength:NM,multiple:LM,muted:LM,name:null,nonce:null,noModule:LM,noValidate:LM,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:LM,optimum:NM,pattern:null,ping:zM,placeholder:null,playsInline:LM,poster:null,preload:null,readOnly:LM,referrerPolicy:null,rel:zM,required:LM,reversed:LM,rows:NM,rowSpan:NM,sandbox:zM,scope:null,scoped:LM,seamless:LM,selected:LM,shape:null,size:NM,sizes:null,slot:null,span:NM,spellCheck:IM,src:null,srcDoc:null,srcLang:null,srcSet:null,start:NM,step:null,style:null,tabIndex:NM,target:null,title:null,translate:null,type:null,typeMustMatch:LM,useMap:null,value:IM,width:NM,wrap:null,align:null,aLink:null,archive:zM,axis:null,background:null,bgColor:null,border:NM,borderColor:null,bottomMargin:NM,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:LM,declare:LM,event:null,face:null,frame:null,frameBorder:null,hSpace:NM,leftMargin:NM,link:null,longDesc:null,lowSrc:null,marginHeight:NM,marginWidth:NM,noResize:LM,noHref:LM,noShade:LM,noWrap:LM,object:null,profile:null,prompt:null,rev:null,rightMargin:NM,rules:null,scheme:null,scrolling:IM,standby:null,summary:null,text:null,topMargin:NM,valueType:null,version:null,vAlign:null,vLink:null,vSpace:NM,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:LM,disableRemotePlayback:LM,prefix:null,property:null,results:NM,security:null,unselectable:null}}),eS=VM({space:\"svg\",attributes:{accentHeight:\"accent-height\",alignmentBaseline:\"alignment-baseline\",arabicForm:\"arabic-form\",baselineShift:\"baseline-shift\",capHeight:\"cap-height\",className:\"class\",clipPath:\"clip-path\",clipRule:\"clip-rule\",colorInterpolation:\"color-interpolation\",colorInterpolationFilters:\"color-interpolation-filters\",colorProfile:\"color-profile\",colorRendering:\"color-rendering\",crossOrigin:\"crossorigin\",dataType:\"datatype\",dominantBaseline:\"dominant-baseline\",enableBackground:\"enable-background\",fillOpacity:\"fill-opacity\",fillRule:\"fill-rule\",floodColor:\"flood-color\",floodOpacity:\"flood-opacity\",fontFamily:\"font-family\",fontSize:\"font-size\",fontSizeAdjust:\"font-size-adjust\",fontStretch:\"font-stretch\",fontStyle:\"font-style\",fontVariant:\"font-variant\",fontWeight:\"font-weight\",glyphName:\"glyph-name\",glyphOrientationHorizontal:\"glyph-orientation-horizontal\",glyphOrientationVertical:\"glyph-orientation-vertical\",hrefLang:\"hreflang\",horizAdvX:\"horiz-adv-x\",horizOriginX:\"horiz-origin-x\",horizOriginY:\"horiz-origin-y\",imageRendering:\"image-rendering\",letterSpacing:\"letter-spacing\",lightingColor:\"lighting-color\",markerEnd:\"marker-end\",markerMid:\"marker-mid\",markerStart:\"marker-start\",navDown:\"nav-down\",navDownLeft:\"nav-down-left\",navDownRight:\"nav-down-right\",navLeft:\"nav-left\",navNext:\"nav-next\",navPrev:\"nav-prev\",navRight:\"nav-right\",navUp:\"nav-up\",navUpLeft:\"nav-up-left\",navUpRight:\"nav-up-right\",onAbort:\"onabort\",onActivate:\"onactivate\",onAfterPrint:\"onafterprint\",onBeforePrint:\"onbeforeprint\",onBegin:\"onbegin\",onCancel:\"oncancel\",onCanPlay:\"oncanplay\",onCanPlayThrough:\"oncanplaythrough\",onChange:\"onchange\",onClick:\"onclick\",onClose:\"onclose\",onCopy:\"oncopy\",onCueChange:\"oncuechange\",onCut:\"oncut\",onDblClick:\"ondblclick\",onDrag:\"ondrag\",onDragEnd:\"ondragend\",onDragEnter:\"ondragenter\",onDragExit:\"ondragexit\",onDragLeave:\"ondragleave\",onDragOver:\"ondragover\",onDragStart:\"ondragstart\",onDrop:\"ondrop\",onDurationChange:\"ondurationchange\",onEmptied:\"onemptied\",onEnd:\"onend\",onEnded:\"onended\",onError:\"onerror\",onFocus:\"onfocus\",onFocusIn:\"onfocusin\",onFocusOut:\"onfocusout\",onHashChange:\"onhashchange\",onInput:\"oninput\",onInvalid:\"oninvalid\",onKeyDown:\"onkeydown\",onKeyPress:\"onkeypress\",onKeyUp:\"onkeyup\",onLoad:\"onload\",onLoadedData:\"onloadeddata\",onLoadedMetadata:\"onloadedmetadata\",onLoadStart:\"onloadstart\",onMessage:\"onmessage\",onMouseDown:\"onmousedown\",onMouseEnter:\"onmouseenter\",onMouseLeave:\"onmouseleave\",onMouseMove:\"onmousemove\",onMouseOut:\"onmouseout\",onMouseOver:\"onmouseover\",onMouseUp:\"onmouseup\",onMouseWheel:\"onmousewheel\",onOffline:\"onoffline\",onOnline:\"ononline\",onPageHide:\"onpagehide\",onPageShow:\"onpageshow\",onPaste:\"onpaste\",onPause:\"onpause\",onPlay:\"onplay\",onPlaying:\"onplaying\",onPopState:\"onpopstate\",onProgress:\"onprogress\",onRateChange:\"onratechange\",onRepeat:\"onrepeat\",onReset:\"onreset\",onResize:\"onresize\",onScroll:\"onscroll\",onSeeked:\"onseeked\",onSeeking:\"onseeking\",onSelect:\"onselect\",onShow:\"onshow\",onStalled:\"onstalled\",onStorage:\"onstorage\",onSubmit:\"onsubmit\",onSuspend:\"onsuspend\",onTimeUpdate:\"ontimeupdate\",onToggle:\"ontoggle\",onUnload:\"onunload\",onVolumeChange:\"onvolumechange\",onWaiting:\"onwaiting\",onZoom:\"onzoom\",overlinePosition:\"overline-position\",overlineThickness:\"overline-thickness\",paintOrder:\"paint-order\",panose1:\"panose-1\",pointerEvents:\"pointer-events\",referrerPolicy:\"referrerpolicy\",renderingIntent:\"rendering-intent\",shapeRendering:\"shape-rendering\",stopColor:\"stop-color\",stopOpacity:\"stop-opacity\",strikethroughPosition:\"strikethrough-position\",strikethroughThickness:\"strikethrough-thickness\",strokeDashArray:\"stroke-dasharray\",strokeDashOffset:\"stroke-dashoffset\",strokeLineCap:\"stroke-linecap\",strokeLineJoin:\"stroke-linejoin\",strokeMiterLimit:\"stroke-miterlimit\",strokeOpacity:\"stroke-opacity\",strokeWidth:\"stroke-width\",tabIndex:\"tabindex\",textAnchor:\"text-anchor\",textDecoration:\"text-decoration\",textRendering:\"text-rendering\",typeOf:\"typeof\",underlinePosition:\"underline-position\",underlineThickness:\"underline-thickness\",unicodeBidi:\"unicode-bidi\",unicodeRange:\"unicode-range\",unitsPerEm:\"units-per-em\",vAlphabetic:\"v-alphabetic\",vHanging:\"v-hanging\",vIdeographic:\"v-ideographic\",vMathematical:\"v-mathematical\",vectorEffect:\"vector-effect\",vertAdvY:\"vert-adv-y\",vertOriginX:\"vert-origin-x\",vertOriginY:\"vert-origin-y\",wordSpacing:\"word-spacing\",writingMode:\"writing-mode\",xHeight:\"x-height\",playbackOrder:\"playbackorder\",timelineBegin:\"timelinebegin\"},transform:$M,properties:{about:ZM,accentHeight:NM,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:NM,amplitude:NM,arabicForm:null,ascent:NM,attributeName:null,attributeType:null,azimuth:NM,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:NM,by:null,calcMode:null,capHeight:NM,className:zM,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:NM,diffuseConstant:NM,direction:null,display:null,dur:null,divisor:NM,dominantBaseline:null,download:LM,dx:null,dy:null,edgeMode:null,editable:null,elevation:NM,enableBackground:null,end:null,event:null,exponent:NM,externalResourcesRequired:null,fill:null,fillOpacity:NM,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:FM,g2:FM,glyphName:FM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:NM,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:NM,horizOriginX:NM,horizOriginY:NM,id:null,ideographic:NM,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:NM,k:NM,k1:NM,k2:NM,k3:NM,k4:NM,kernelMatrix:ZM,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:NM,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:NM,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:NM,overlineThickness:NM,paintOrder:null,panose1:null,path:null,pathLength:NM,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:zM,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:NM,pointsAtY:NM,pointsAtZ:NM,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ZM,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ZM,rev:ZM,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ZM,requiredFeatures:ZM,requiredFonts:ZM,requiredFormats:ZM,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:NM,specularExponent:NM,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:NM,strikethroughThickness:NM,string:null,stroke:null,strokeDashArray:ZM,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:NM,strokeOpacity:NM,strokeWidth:null,style:null,surfaceScale:NM,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ZM,tabIndex:NM,tableValues:null,target:null,targetX:NM,targetY:NM,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ZM,to:null,transform:null,u1:null,u2:null,underlinePosition:NM,underlineThickness:NM,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:NM,values:null,vAlphabetic:NM,vMathematical:NM,vectorEffect:null,vHanging:NM,vIdeographic:NM,version:null,vertAdvY:NM,vertOriginX:NM,vertOriginY:NM,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:NM,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),tS=AM([GM,YM,KM,JM,QM],\"html\"),nS=AM([GM,YM,KM,JM,eS],\"svg\");function rS(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError(\"Only one of `allowedElements` and `disallowedElements` should be defined\");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{rM(t,\"element\",((t,n,r)=>{const a=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&\"number\"==typeof n&&(i=!e.allowElement(t,n,a)),i&&\"number\"==typeof n)return e.unwrapDisallowed&&t.children?a.children.splice(n,1,...t.children):a.children.splice(n,1),n}))}}const aS=[\"http\",\"https\",\"mailto\",\"tel\"];var iS=n(59864);function oS(e){var t=e&&\"object\"==typeof e&&\"text\"===e.type?e.value||\"\":e;return\"string\"==typeof t&&\"\"===t.replace(/[ \\t\\n\\f\\r]/g,\"\")}const lS=/^data[-\\w.:]+$/i,sS=/-[a-z]/g,uS=/[A-Z]/g;function cS(e){return\"-\"+e.toLowerCase()}function fS(e){return e.charAt(1).toUpperCase()}const dS={classId:\"classID\",dataType:\"datatype\",itemId:\"itemID\",strokeDashArray:\"strokeDasharray\",strokeDashOffset:\"strokeDashoffset\",strokeLineCap:\"strokeLinecap\",strokeLineJoin:\"strokeLinejoin\",strokeMiterLimit:\"strokeMiterlimit\",typeOf:\"typeof\",xLinkActuate:\"xlinkActuate\",xLinkArcRole:\"xlinkArcrole\",xLinkHref:\"xlinkHref\",xLinkRole:\"xlinkRole\",xLinkShow:\"xlinkShow\",xLinkTitle:\"xlinkTitle\",xLinkType:\"xlinkType\",xmlnsXLink:\"xmlnsXlink\"};var pS=n(57848);const hS={}.hasOwnProperty,mS=new Set([\"table\",\"thead\",\"tbody\",\"tfoot\",\"tr\"]);function gS(e,t){const n=[];let r,a=-1;for(;++a<t.children.length;)r=t.children[a],\"element\"===r.type?n.push(yS(e,r,a,t)):\"text\"===r.type?\"element\"===t.type&&mS.has(t.tagName)&&oS(r)||n.push(r.value):\"raw\"!==r.type||e.options.skipHtml||n.push(r.value);return n}function yS(e,t,n,a){const i=e.options,o=e.schema,l=t.tagName,s={};let u,c=o;if(\"html\"===o.space&&\"svg\"===l&&(c=nS,e.schema=c),t.properties)for(u in t.properties)hS.call(t.properties,u)&&bS(s,u,t.properties[u],e);\"ol\"!==l&&\"ul\"!==l||e.listDepth++;const f=gS(e,t);\"ol\"!==l&&\"ul\"!==l||e.listDepth--,e.schema=o;const d=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},p=i.components&&hS.call(i.components,l)?i.components[l]:l,h=\"string\"==typeof p||p===r.Fragment;if(!iS.isValidElementType(p))throw new TypeError(`Component for name \\`${l}\\` not defined or is not renderable`);if(s.key=[l,d.start.line,d.start.column,n].join(\"-\"),\"a\"===l&&i.linkTarget&&(s.target=\"function\"==typeof i.linkTarget?i.linkTarget(String(s.href||\"\"),t.children,\"string\"==typeof s.title?s.title:null):i.linkTarget),\"a\"===l&&i.transformLinkUri&&(s.href=i.transformLinkUri(String(s.href||\"\"),t.children,\"string\"==typeof s.title?s.title:null)),h||\"code\"!==l||\"element\"!==a.type||\"pre\"===a.tagName||(s.inline=!0),h||\"h1\"!==l&&\"h2\"!==l&&\"h3\"!==l&&\"h4\"!==l&&\"h5\"!==l&&\"h6\"!==l||(s.level=Number.parseInt(l.charAt(1),10)),\"img\"===l&&i.transformImageUri&&(s.src=i.transformImageUri(String(s.src||\"\"),String(s.alt||\"\"),\"string\"==typeof s.title?s.title:null)),!h&&\"li\"===l&&\"element\"===a.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(\"element\"===n.type&&\"input\"===n.tagName)return n}return null}(t);s.checked=e&&e.properties?Boolean(e.properties.checked):null,s.index=vS(a,t),s.ordered=\"ol\"===a.tagName}var m;return h||\"ol\"!==l&&\"ul\"!==l||(s.ordered=\"ol\"===l,s.depth=e.listDepth),\"td\"!==l&&\"th\"!==l||(s.align&&(s.style||(s.style={}),s.style.textAlign=s.align,delete s.align),h||(s.isHeader=\"th\"===l)),h||\"tr\"!==l||\"element\"!==a.type||(s.isHeader=Boolean(\"thead\"===a.tagName)),i.sourcePos&&(s[\"data-sourcepos\"]=[(m=d).start.line,\":\",m.start.column,\"-\",m.end.line,\":\",m.end.column].map((e=>String(e))).join(\"\")),!h&&i.rawSourcePos&&(s.sourcePosition=t.position),!h&&i.includeElementIndex&&(s.index=vS(a,t),s.siblingCount=vS(a)),h||(s.node=t),f.length>0?r.createElement(p,s,f):r.createElement(p,s)}function vS(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)\"element\"===e.children[n].type&&r++;return r}function bS(e,t,n,r){const a=function(e,t){const n=DM(t);let r=t,a=PM;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&\"data\"===n.slice(0,4)&&lS.test(t)){if(\"-\"===t.charAt(4)){const e=t.slice(5).replace(sS,fS);r=\"data\"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!sS.test(e)){let n=e.replace(uS,cS);\"-\"!==n.charAt(0)&&(n=\"-\"+n),t=\"data\"+n}}a=HM}return new a(r,t)}(r.schema,t);let i=n;var o,l,s;null!=i&&i==i&&(Array.isArray(i)&&(i=a.commaSeparated?(s=l||{},\"\"===(o=i)[o.length-1]&&(o=o.concat(\"\")),o.join((s.padRight?\" \":\"\")+\",\"+(!1===s.padLeft?\"\":\" \")).trim()):function(e){return e.join(\" \").trim()}(i)),\"style\"===a.property&&\"string\"==typeof i&&(i=function(e){const t={};try{pS(e,n)}catch{}return t;function n(e,n){const r=\"-ms-\"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,xS)]=n}}(i)),a.space&&a.property?e[hS.call(dS,a.property)?dS[a.property]:a.property]=i:a.attribute&&(e[a.attribute]=i))}function xS(e,t){return t.toUpperCase()}const wS={}.hasOwnProperty,_S={plugins:{to:\"plugins\",id:\"change-plugins-to-remarkplugins\"},renderers:{to:\"components\",id:\"change-renderers-to-components\"},astPlugins:{id:\"remove-buggy-html-in-markdown-parser\"},allowDangerousHtml:{id:\"remove-buggy-html-in-markdown-parser\"},escapeHtml:{id:\"remove-buggy-html-in-markdown-parser\"},source:{to:\"children\",id:\"change-source-to-children\"},allowNode:{to:\"allowElement\",id:\"replace-allownode-allowedtypes-and-disallowedtypes\"},allowedTypes:{to:\"allowedElements\",id:\"replace-allownode-allowedtypes-and-disallowedtypes\"},disallowedTypes:{to:\"disallowedElements\",id:\"replace-allownode-allowedtypes-and-disallowedtypes\"},includeNodeIndex:{to:\"includeElementIndex\",id:\"change-includenodeindex-to-includeelementindex\"}};function kS(e){for(const t in _S)if(wS.call(_S,t)&&wS.call(e,t)){const e=_S[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \\`${e.to}\\` instead of`:\"remove\"} \\`${t}\\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete _S[t]}const t=ek().use(KT).use(e.remarkPlugins||[]).use(EM,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(rS,e),n=new W_;\"string\"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \\`children\\` (not: \\`${e.children}\\`)`);const a=t.runSync(t.parse(n),n);if(\"root\"!==a.type)throw new TypeError(\"Expected a `root` node\");let i=r.createElement(r.Fragment,{},gS({options:e,schema:tS,listDepth:0},a));return e.className&&(i=r.createElement(\"div\",{className:e.className},i)),i}kS.defaultProps={transformLinkUri:function(e){const t=(e||\"\").trim(),n=t.charAt(0);if(\"#\"===n||\"/\"===n)return t;const r=t.indexOf(\":\");if(-1===r)return t;let a=-1;for(;++a<aS.length;){const e=aS[a];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return a=t.indexOf(\"?\"),-1!==a&&r>a?t:(a=t.indexOf(\"#\"),-1!==a&&r>a?t:\"javascript:void(0)\")}},kS.propTypes={children:CM.string,className:CM.string,allowElement:CM.func,allowedElements:CM.arrayOf(CM.string),disallowedElements:CM.arrayOf(CM.string),unwrapDisallowed:CM.bool,remarkPlugins:CM.arrayOf(CM.oneOfType([CM.object,CM.func,CM.arrayOf(CM.oneOfType([CM.object,CM.func]))])),rehypePlugins:CM.arrayOf(CM.oneOfType([CM.object,CM.func,CM.arrayOf(CM.oneOfType([CM.object,CM.func]))])),sourcePos:CM.bool,rawSourcePos:CM.bool,skipHtml:CM.bool,includeElementIndex:CM.bool,transformLinkUri:CM.oneOfType([CM.func,CM.bool]),linkTarget:CM.oneOfType([CM.func,CM.string]),transformImageUri:CM.func,components:CM.object};var TS=function(e){return r.createElement(r.Fragment,null,r.createElement(kS,null,e.text))},MS=[\"unknown\",\"success\",\"warning\",\"fail\"],SS=function(e){switch(e){case\"error\":case\"unknown\":return\"info\";case\"success\":return\"success\";case\"warning\":return\"warning\";case\"fail\":return\"error\"}},ES=function(e){var t=e.title,n=e.description,a=e.state,i=e.details,o=(0,r.useState)({active:!1}),l=o[0],s=o[1],u=null!=i&&i.parts.length>0;return MS.includes(a)||(console.error(\"unexpected state: \"+a+\" (expected one of [\"+MS.join(\", \")+\"])\"),a=\"unknown\"),r.createElement(r.Fragment,null,r.createElement(j.Z,null,r.createElement(le,{severity:SS(a),action:u?r.createElement(T_.Z,{onClick:function(){return s((function(e){return{active:!e.active}}))},color:\"inherit\",size:\"small\"},\"Details\"):null},r.createElement(ue,null,t),r.createElement(kS,null,n)),u?r.createElement(M_.Z,{in:l.active,mountOnEnter:!0,unmountOnExit:!0},r.createElement(j.Z,{style:{padding:\"2px\"}},r.createElement(g_,{details:i,widgetSize:2}))):r.createElement(r.Fragment,null)))},CS=n(26209),OS=function(){return OS=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},OS.apply(this,arguments)},AS=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},DS=function(e){var t=e.type,n=e.availableTypes,a=e.onChange;return r.createElement(r.Fragment,null,r.createElement(CS.Z,{value:t,onChange:function(e){return a(e.target.value)},native:!0},n.map((function(e){return r.createElement(\"option\",{key:e.id,value:e.id},e.title)}))))},PS=function(e){var t,n=e.groupInfo,a=e.tests,i=(0,r.useState)({active:!1}),o=i[0],l=i[1];return r.createElement(r.Fragment,null,r.createElement(j.Z,null,r.createElement(le,{severity:SS(null!==(t=n.severity)&&void 0!==t?t:\"unknown\"),icon:!1,action:r.createElement(T_.Z,{onClick:function(){return l((function(e){return{active:!e.active}}))},color:\"inherit\",size:\"small\"},o.active?\"Hide\":\"Show\")},r.createElement(ue,null,n.title),n.description),r.createElement(M_.Z,{in:o.active,mountOnEnter:!0,unmountOnExit:!0},r.createElement(A.Z,{container:!0,spacing:2,style:{padding:10,paddingTop:20}},a.map((function(e,t){return r.createElement(A.Z,{item:!0,key:t,xs:12},r.createElement(ES,OS({},e)))}))))))},RS=function(e){var t=e.type,n=e.groupsInfo,a=e.tests;var i=function(e){if(\"status\"===e)return[n.find((function(t){return t.id===e})).values,function(e){return e.state}];var t=n.find((function(t){return t.id===e}));if(void 0===t)throw\"unexpected type\";return[void 0!==t.values.find((function(e){return\"no group\"==e.id}))?t.values:AS(AS([],t.values,!0),[{id:\"no group\",title:\"No Group\",sortIndex:-1,description:\"No group of this type was provided\"}],!1),function(t){var n;return null!==(n=t.groups[e])&&void 0!==n?n:\"no group\"}]}(t),o=i[0],l=i[1],s=a.reduce((function(e,t){var n;return e.set(l(t),AS(AS([],null!==(n=e.get(l(t)))&&void 0!==n?n:[],!0),[t],!1)),e}),new Map);return r.createElement(r.Fragment,null,r.createElement(A.Z,{container:!0,spacing:2},Array.from(s.entries()).map((function(e){var t,n=e[0],r=e[1];return[null!==(t=o.find((function(e){return e.id===n})))&&void 0!==t?t:{id:n,title:n},r]})).sort((function(e,t){var n,r;return(null!==(n=e[0].sortIndex)&&void 0!==n?n:0)-(null!==(r=t[0].sortIndex)&&void 0!==r?r:0)})).map((function(e,t){var n=e[0],a=e[1];return r.createElement(A.Z,{item:!0,xs:12,key:\"test_\"+t},r.createElement(PS,{groupInfo:n,tests:a}))}))))},LS=[{id:\"none\",title:\"All tests\",values:[]},{id:\"status\",title:\"By test status\",values:[{id:\"success\",title:\"Passed tests\",sortIndex:3,description:\"\",severity:\"success\"},{id:\"fail\",title:\"Failed tests\",sortIndex:1,description:\"\",severity:\"fail\"},{id:\"warning\",title:\"Passed tests with warnings\",sortIndex:2,description:\"\",severity:\"warning\"},{id:\"error\",title:\"Tests with execution errors\",sortIndex:2,description:\"\",severity:\"error\"}]}],IS=function(e){for(var t=e.tests,n=e.testGroupTypes,a=r.useState({group_type:\"none\"}),i=a[0],o=a[1],l=[],s=0;s<t.length;s++)for(var u=t[s],c=function(e){-1===l.findIndex((function(t){return t===e}))&&l.push(e)},f=0,d=Object.keys(u.groups);f<d.length;f++){c(d[f])}var p=AS(AS([],LS,!0),(null!=n?n:[]).filter((function(e){return-1!==l.findIndex((function(t){return t===e.id}))})),!0);return r.createElement(r.Fragment,null,r.createElement(A.Z,{container:!0,spacing:2},r.createElement(A.Z,{item:!0,xs:12},r.createElement(DS,{type:i.group_type,availableTypes:p,onChange:function(e){return o({group_type:e})}})),r.createElement(A.Z,{item:!0,xs:12},r.createElement(A.Z,{container:!0,spacing:2},\"none\"===i.group_type?t.map((function(e,t){return r.createElement(A.Z,{item:!0,key:\"test_\"+t,xs:12},r.createElement(ES,OS({},e)))})):r.createElement(RS,{type:i.group_type,groupsInfo:p,tests:t})))))},jS=function(){return jS=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},jS.apply(this,arguments)};function NS(e,t){var n,a=r.createElement(Oe,null);if(\"counter\"===t.type)a=r.createElement(ve,jS({},t.params));else if(\"percent\"===t.type)a=r.createElement(xe,jS({},t.params));else if(\"big_graph\"===t.type)a=r.createElement(Me,jS({},t.params,{widgetSize:t.size}));else if(\"tabbed_graph\"===t.type)a=r.createElement(Ie,jS({},t.params,{widgetSize:t.size}));else if(\"tabs\"===t.type)a=r.createElement(k_,jS({},t,{widgetSize:t.size,id:\"twc_\"}));else if(\"table\"===t.type)a=r.createElement(He,jS({},t.params));else if(\"big_table\"===t.type)a=r.createElement(__,jS({},t.params,{widgetSize:t.size}));else if(\"group\"===t.type)a=r.createElement(Ce,null,t.widgets.map((function(e,t){return NS(\"wi_\"+t,e)})));else if(\"rich_data\"===t.type)a=r.createElement(O_,jS({},t.params,{widgetSize:t.size}));else if(\"list\"===t.type){var i=t;a=r.createElement(P_,{widgets:i.widgets,pageSize:i.pageSize,widgetSize:t.size})}else\"text\"===t.type?a=r.createElement(TS,jS({},t.params)):\"test_suite\"===t.type&&(a=r.createElement(IS,jS({},t.params)));return r.createElement(me,{key:e,size:(n=t.size,n===C.Small?3:n===C.Medium?6:(C.Big,12))},jS(jS({},t),{content:a}))}var zS=function(e){return r.createElement(r.Fragment,null,e.info.widgets.map((function(e,t){return NS(\"wi_\"+t,e)})))};function FS(e){return r.createElement(A.Z,{container:!0,spacing:3,direction:\"row\",alignItems:\"stretch\"},r.createElement(zS,{info:e.params}))}function ZS(e){var t=e.projectId,n=e.reportId;return r.createElement(r.Fragment,null,r.createElement(o.Consumer,null,(function(e){return r.createElement(f.Provider,{value:(a={getAdditionGraphData:function(r){return e.Api.getAdditionalGraphData(t,n,r)},getAdditionWidgetData:function(r){return e.Api.getAdditionalWidgetData(t,n,r)}},new u(a))},r.createElement(O,{func:function(){return e.Api.getDashboard(t,n)}},(function(e){return r.createElement(FS,{params:e})})));var a})))}var BS=function(){function e(e,t,n){this.dashboard=e,this.additionalGraphs=t,this.projects=null!=n?n:[]}return e.prototype.getProjectDashboard=function(e){throw new Error(\"Method not implemented.\")},e.prototype.getReports=function(e){throw new Error(\"Method not implemented.\")},e.prototype.getAdditionalGraphData=function(e,t,n){var r=this.additionalGraphs.get(n);return r?Promise.resolve(r):Promise.reject(\"No graph found\")},e.prototype.getAdditionalWidgetData=function(e,t,n){var r=this.additionalGraphs.get(n);return r?Promise.resolve(r):Promise.reject(\"No graph found\")},e.prototype.getDashboard=function(e,t){return Promise.resolve(this.dashboard)},e.prototype.getProjects=function(){return Promise.resolve(this.projects)},e}(),qS=n(28225),HS=n(13457),US=(0,qS.Z)({shape:{borderRadius:0},palette:{primary:{light:\"#ed5455\",main:\"#ed0400\",dark:\"#d40400\",contrastText:\"#fff\"},secondary:{light:\"#61a0ff\",main:\"#3c7fdd\",dark:\"#61a0ff\",contrastText:\"#000\"}},typography:{button:{fontWeight:\"bold\"},fontFamily:[\"-apple-system\",\"BlinkMacSystemFont\",'\"Segoe UI\"',\"Roboto\",'\"Helvetica Neue\"',\"Arial\",\"sans-serif\",'\"Apple Color Emoji\"','\"Segoe UI Emoji\"','\"Segoe UI Symbol\"'].join(\",\")}});window.drawDashboard=function(e,t,n){a.render(r.createElement(r.StrictMode,null,r.createElement(HS.Z,{theme:US},r.createElement(o.Provider,{value:{Api:new BS(e,t)}},r.createElement(ZS,{projectId:\"p1\",reportId:\"d1\"})))),document.getElementById(n))}}()}();</script>\n", 95 "\n", 96 "<script>\n", 97 "window.drawDashboard(361803f9-6b8b-45b2-b03c-f6d5e38675a8,\n", 98 " new Map(Object.entries(additional_graphs_361803f9-6b8b-45b2-b03c-f6d5e38675a8)),\n", 99 " \"root_361803f9-6b8b-45b2-b03c-f6d5e38675a8\"\n", 100 ");\n", 101 "</script>\n", 102 "</body>\n" 103 ], 104 "text/plain": [ 105 "<IPython.core.display.HTML object>" 106 ] 107 }, 108 "execution_count": 4, 109 "metadata": {}, 110 "output_type": "execute_result" 111 } 112 ], 113 "source": [ 114 "dashboard.show()" 115 ] 116 } 117 ], 118 "metadata": { 119 "kernelspec": { 120 "display_name": "Python 3 (ipykernel)", 121 "language": "python", 122 "name": "python3" 123 }, 124 "language_info": { 125 "codemirror_mode": { 126 "name": "ipython", 127 "version": 3 128 }, 129 "file_extension": ".py", 130 "mimetype": "text/x-python", 131 "name": "python", 132 "nbconvert_exporter": "python", 133 "pygments_lexer": "ipython3", 134 "version": "3.9.13" 135 } 136 }, 137 "nbformat": 4, 138 "nbformat_minor": 1 139 }