/*! For license information please see vendors.0276ee9a6896cd39e82d.js.LICENSE.txt */ (self.webpackChunk=self.webpackChunk||[]).push([[216],{99756:function(){Highcharts.mapDataIndex={version:"2.0.0",Custom:{Africa:"custom/africa.js",Antarctica:"custom/antarctica.js",Asia:"custom/asia.js",Benelux:"custom/benelux.js","British Isles":"custom/british-isles.js","British Isles, admin1":"custom/british-isles-all.js","Canada and United States of America":"custom/usa-and-canada.js","Central America":"custom/central-america.js",Europe:"custom/europe.js","European Union":"custom/european-union.js","Middle East":"custom/middle-east.js","Nordic Countries without Greenland, Svalbard, and Jan Mayen":"custom/nordic-countries-core.js","Nordic Countries":"custom/nordic-countries.js","North America without central":"custom/north-america-no-central.js","North America":"custom/north-america.js","North Atlantic Treaty Organization":"custom/nato.js",Oceania:"custom/oceania.js",Scandinavia:"custom/scandinavia.js","South America":"custom/south-america.js","World continents":"custom/world-continents.js","World with Palestine areas, high resolution":"custom/world-palestine-highres.js","World with Palestine areas, low resolution":"custom/world-palestine-lowres.js","World with Palestine areas, medium resolution":"custom/world-palestine.js","World, Eckert III projection, high resolution":"custom/world-eckert3-highres.js","World, Eckert III projection, low resolution":"custom/world-eckert3-lowres.js","World, Eckert III projection, medium resolution":"custom/world-eckert3.js","World, Miller projection, high resolution":"custom/world-highres.js","World, Miller projection, low resolution":"custom/world-lowres.js","World, Miller projection, medium resolution":"custom/world.js","World, Miller projection, ultra high resolution":"custom/world-highres3.js","World, Miller projection, very high resolution":"custom/world-highres2.js","World, Robinson projection, high resolution":"custom/world-robinson-highres.js","World, Robinson projection, low resolution":"custom/world-robinson-lowres.js","World, Robinson projection, medium resolution":"custom/world-robinson.js"},Countries:{Afghanistan:"countries/af/af-all.js",Albania:"countries/al/al-all.js",Algeria:"countries/dz/dz-all.js","American Samoa":"countries/as/as-all.js",Andorra:"countries/ad/ad-all.js",Angola:"countries/ao/ao-all.js","Antigua and Barbuda":"countries/ag/ag-all.js",Argentina:"countries/ar/ar-all.js",Armenia:"countries/am/am-all.js",Australia:"countries/au/au-all.js",Austria:"countries/at/at-all.js",Azerbaijan:"countries/az/az-all.js",Bahrain:"countries/bh/bh-all.js",Bangladesh:"countries/bd/bd-all.js",Barbados:"countries/bb/bb-all.js",Belarus:"countries/by/by-all.js",Belgium:"countries/be/be-all.js",Belize:"countries/bz/bz-all.js",Benin:"countries/bj/bj-all.js",Bhutan:"countries/bt/bt-all.js",Bolivia:"countries/bo/bo-all.js","Bosnia and Herzegovina":"countries/ba/ba-all.js",Botswana:"countries/bw/bw-all.js",Brazil:"countries/br/br-all.js",Brunei:"countries/bn/bn-all.js",Bulgaria:"countries/bg/bg-all.js","Burkina Faso":"countries/bf/bf-all.js",Burundi:"countries/bi/bi-all.js","Burundi, admin2":"countries/bi/bi-all-all.js",Cambodia:"countries/kh/kh-all.js",Cameroon:"countries/cm/cm-all.js",Canada:"countries/ca/ca-all.js","Canada, admin2":"countries/ca/ca-all-all.js","Cape Verde":"countries/cv/cv-all.js","Central African Republic":"countries/cf/cf-all.js",Chad:"countries/td/td-all.js",Chile:"countries/cl/cl-all.js","China with Hong Kong and Macau":"countries/cn/custom/cn-all-sar.js","China with Hong Kong, Macau, and Taiwan":"countries/cn/custom/cn-all-sar-taiwan.js",China:"countries/cn/cn-all.js",Colombia:"countries/co/co-all.js",Comoros:"countries/km/km-all.js","Cook Islands":"countries/ck/ck-all.js","Costa Rica":"countries/cr/cr-all.js",Croatia:"countries/hr/hr-all.js",Cuba:"countries/cu/cu-all.js",Cyprus:"countries/cy/cy-all.js","Czech Republic":"countries/cz/cz-all.js","Democratic Republic of the Congo":"countries/cd/cd-all.js",Denmark:"countries/dk/dk-all.js",Djibouti:"countries/dj/dj-all.js",Dominica:"countries/dm/dm-all.js","Dominican Republic":"countries/do/do-all.js","East Timor":"countries/tl/tl-all.js",Ecuador:"countries/ec/ec-all.js",Egypt:"countries/eg/eg-all.js","El Salvador":"countries/sv/sv-all.js","Equatorial Guinea":"countries/gq/gq-all.js",Eritrea:"countries/er/er-all.js",Estonia:"countries/ee/ee-all.js",Ethiopia:"countries/et/et-all.js","Faroe Islands":"countries/fo/fo-all.js",Fiji:"countries/fj/fj-all.js",Finland:"countries/fi/fi-all.js",France:"countries/fr/fr-all.js","France, admin2":"countries/fr/fr-all-all.js","France, mainland admin2":"countries/fr/custom/fr-all-all-mainland.js","France, mainland":"countries/fr/custom/fr-all-mainland.js","French Southern and Antarctic Lands":"countries/tf/tf-all.js",Gabon:"countries/ga/ga-all.js",Gambia:"countries/gm/gm-all.js",Georgia:"countries/ge/ge-all.js",Germany:"countries/de/de-all.js","Germany, admin2":"countries/de/de-all-all.js",Ghana:"countries/gh/gh-all.js",Greece:"countries/gr/gr-all.js",Greenland:"countries/gl/gl-all.js",Grenada:"countries/gd/gd-all.js",Guam:"countries/gu/gu-all.js",Guatemala:"countries/gt/gt-all.js","Guinea Bissau":"countries/gw/gw-all.js",Guinea:"countries/gn/gn-all.js",Guyana:"countries/gy/gy-all.js",Haiti:"countries/ht/ht-all.js",Honduras:"countries/hn/hn-all.js",Hungary:"countries/hu/hu-all.js",Iceland:"countries/is/is-all.js","India with Andaman and Nicobar":"countries/in/custom/in-all-andaman-and-nicobar.js","India with disputed territories":"countries/in/custom/in-all-disputed.js",India:"countries/in/in-all.js",Indonesia:"countries/id/id-all.js",Iran:"countries/ir/ir-all.js",Iraq:"countries/iq/iq-all.js",Ireland:"countries/ie/ie-all.js",Israel:"countries/il/il-all.js",Italy:"countries/it/it-all.js","Ivory Coast":"countries/ci/ci-all.js",Jamaica:"countries/jm/jm-all.js",Japan:"countries/jp/jp-all.js",Jordan:"countries/jo/jo-all.js",Kazakhstan:"countries/kz/kz-all.js",Kenya:"countries/ke/ke-all.js",Kosovo:"countries/kv/kv-all.js",Kuwait:"countries/kw/kw-all.js",Kyrgyzstan:"countries/kg/kg-all.js",Laos:"countries/la/la-all.js",Latvia:"countries/lv/lv-all.js",Lebanon:"countries/lb/lb-all.js",Lesotho:"countries/ls/ls-all.js",Liberia:"countries/lr/lr-all.js",Libya:"countries/ly/ly-all.js",Liechtenstein:"countries/li/li-all.js",Lithuania:"countries/lt/lt-all.js",Luxembourg:"countries/lu/lu-all.js",Macedonia:"countries/mk/mk-all.js",Madagascar:"countries/mg/mg-all.js",Malawi:"countries/mw/mw-all.js",Malaysia:"countries/my/my-all.js",Mali:"countries/ml/ml-all.js",Malta:"countries/mt/mt-all.js",Mauritania:"countries/mr/mr-all.js",Mauritius:"countries/mu/mu-all.js",Mexico:"countries/mx/mx-all.js",Moldova:"countries/md/md-all.js",Monaco:"countries/mc/mc-all.js",Mongolia:"countries/mn/mn-all.js",Montenegro:"countries/me/me-all.js",Morocco:"countries/ma/ma-all.js",Mozambique:"countries/mz/mz-all.js",Myanmar:"countries/mm/mm-all.js",Namibia:"countries/na/na-all.js",Nauru:"countries/nr/nr-all.js",Nepal:"countries/np/np-all.js","New Caledonia":"countries/nc/nc-all.js","New Zealand":"countries/nz/nz-all.js",Nicaragua:"countries/ni/ni-all.js",Niger:"countries/ne/ne-all.js",Nigeria:"countries/ng/ng-all.js","North Korea":"countries/kp/kp-all.js","Northern Mariana Islands":"countries/mp/mp-all.js","Norway with Svalbard and Jan Mayen":"countries/no/custom/no-all-svalbard-and-jan-mayen.js",Norway:"countries/no/no-all.js","Norway, admin2":"countries/no/no-all-all.js",Oman:"countries/om/om-all.js",Pakistan:"countries/pk/pk-all.js",Palau:"countries/pw/pw-all.js",Panama:"countries/pa/pa-all.js","Papua New Guinea":"countries/pg/pg-all.js",Paraguay:"countries/py/py-all.js",Peru:"countries/pe/pe-all.js",Philippines:"countries/ph/ph-all.js",Poland:"countries/pl/pl-all.js",Portugal:"countries/pt/pt-all.js","Puerto Rico":"countries/pr/pr-all-all.js","Puerto Rico":"countries/pr/pr-all.js",Qatar:"countries/qa/qa-all.js","Republic of Serbia":"countries/rs/rs-all.js","Republic of the Congo":"countries/cg/cg-all.js",Romania:"countries/ro/ro-all.js","Russia with disputed territories":"countries/ru/custom/ru-all-disputed.js",Russia:"countries/ru/ru-all.js",Rwanda:"countries/rw/rw-all.js","Saint Kitts and Nevis":"countries/kn/kn-all.js","Saint Lucia":"countries/lc/lc-all.js","Saint Vincent and the Grenadines":"countries/vc/vc-all.js",Samoa:"countries/ws/ws-all.js","San Marino":"countries/sm/sm-all.js","Sao Tome and Principe":"countries/st/st-all.js","Saudi Arabia":"countries/sa/sa-all.js",Senegal:"countries/sn/sn-all.js",Seychelles:"countries/sc/sc-all.js","Sierra Leone":"countries/sl/sl-all.js",Singapore:"countries/sg/sg-all.js",Slovakia:"countries/sk/sk-all.js",Slovenia:"countries/si/si-all.js","Solomon Islands":"countries/sb/sb-all.js",Somalia:"countries/so/so-all.js",Somaliland:"countries/sx/sx-all.js","South Africa":"countries/za/za-all.js","South Korea":"countries/kr/kr-all.js","South Sudan":"countries/ss/ss-all.js",Spain:"countries/es/es-all.js","Sri Lanka":"countries/lk/lk-all.js",Sudan:"countries/sd/sd-all.js","Sudan with disputed territories":"countries/sd/custom/sd-all-disputed.js",Suriname:"countries/sr/sr-all.js",Swaziland:"countries/sz/sz-all.js",Sweden:"countries/se/se-all.js",Switzerland:"countries/ch/ch-all.js",Syria:"countries/sy/sy-all.js",Taiwan:"countries/tw/tw-all.js",Tajikistan:"countries/tj/tj-all.js",Thailand:"countries/th/th-all.js","The Bahamas":"countries/bs/bs-all.js","The Netherlands":"countries/nl/nl-all.js","The Netherlands, admin2":"countries/nl/nl-all-all.js",Togo:"countries/tg/tg-all.js","Trinidad and Tobago":"countries/tt/tt-all.js",Tunisia:"countries/tn/tn-all.js",Turkey:"countries/tr/tr-all.js",Turkmenistan:"countries/tm/tm-all.js",Uganda:"countries/ug/ug-all.js",Ukraine:"countries/ua/ua-all.js","United Arab Emirates":"countries/ae/ae-all.js","United Kingdom countries":"countries/gb/custom/gb-countries.js","United Kingdom":"countries/gb/gb-all.js","United Republic of Tanzania":"countries/tz/tz-all.js","United States Virgin Islands":"countries/vi/vi-all.js","United States of America with Territories":"countries/us/custom/us-all-territories.js","United States of America":"countries/us/us-all.js","United States of America, admin2":"countries/us/us-all-all.js","United States of America, admin2, highres":"countries/us/us-all-all-highres.js","United States of America, congressional districts (113th)":"countries/us/custom/us-113-congress.js","United States of America, mainland":"countries/us/custom/us-all-mainland.js","United States of America, small":"countries/us/custom/us-small.js",Uruguay:"countries/uy/uy-all.js",Uzbekistan:"countries/uz/uz-all.js",Vanuatu:"countries/vu/vu-all.js",Venezuela:"countries/ve/ve-all.js",Vietnam:"countries/vn/vn-all.js","Wallis and Futuna":"countries/wf/wf-all.js","Western Sahara":"countries/eh/eh-all.js",Yemen:"countries/ye/ye-all.js",Zambia:"countries/zm/zm-all.js",Zimbabwe:"countries/zw/zw-all.js"},"Canada Provinces Admin 2":{"Alberta, admin2":"countries/ca/ca-ab-all.js","British Columbia, admin2":"countries/ca/ca-bc-all.js","Manitoba, admin2":"countries/ca/ca-mb-all.js","New Brunswick, admin2":"countries/ca/ca-nb-all.js","Newfoundland and Labrador, admin2":"countries/ca/ca-nf-all.js","Northwest Territories, admin2":"countries/ca/ca-nt-all.js","Nova Scotia, admin2":"countries/ca/ca-ns-all.js","Nunavut, admin2":"countries/ca/ca-nu-all.js","Ontario, admin2":"countries/ca/ca-on-all.js","Prince Edward Island, admin2":"countries/ca/ca-pe-all.js","Quebec, admin2":"countries/ca/ca-qc-all.js","Saskatchewan, admin2":"countries/ca/ca-sk-all.js","Yukon, admin2":"countries/ca/ca-yt-all.js"},"France Regions Admin 2":{"Auvergne-Rhône-Alpes, admin2":"countries/fr/fr-ara-all.js","Bourgogne-Franche-Comté, admin2":"countries/fr/fr-bfc-all.js","Bretagne, admin2":"countries/fr/fr-bre-all.js","Centre-Val de Loire, admin2":"countries/fr/fr-cvl-all.js","Corse, admin2":"countries/fr/fr-cor-all.js","Grand-Est, admin2":"countries/fr/fr-ges-all.js","Guadeloupe, admin2":"countries/fr/fr-gua-all.js","Guyane française, admin2":"countries/fr/fr-gf-all.js","Hauts-de-France, admin2":"countries/fr/fr-hdf-all.js","Île-de-France, admin2":"countries/fr/fr-idf-all.js","Martinique, admin2":"countries/fr/fr-mq-all.js","Mayotte, admin2":"countries/fr/fr-may-all.js","Normandie, admin2":"countries/fr/fr-nor-all.js","Nouvelle-Aquitaine, admin2":"countries/fr/fr-naq-all.js","Occitanie, admin2":"countries/fr/fr-occ-all.js","Pays-de-la-Loire, admin2":"countries/fr/fr-pdl-all.js","Provence-Alpes-Côte-d’Azur, admin2":"countries/fr/fr-pac-all.js","Réunion, admin2":"countries/fr/fr-lre-all.js"},"Germany Bundesländer Admin 2":{"Baden-Württemberg, admin2":"countries/de/de-bw-all.js","Bayern, admin2":"countries/de/de-by-all.js","Berlin, admin2":"countries/de/de-be-all.js","Brandenburg, admin2":"countries/de/de-bb-all.js","Bremen, admin2":"countries/de/de-hb-all.js","Hamburg, admin2":"countries/de/de-hh-all.js","Hessen, admin2":"countries/de/de-he-all.js","Mecklenburg-Vorpommern, admin2":"countries/de/de-mv-all.js","Niedersachsen, admin2":"countries/de/de-ni-all.js","Nordrhein-Westfalen, admin2":"countries/de/de-nw-all.js","Rheinland-Pfalz, admin2":"countries/de/de-rp-all.js","Saarland, admin2":"countries/de/de-sl-all.js","Sachsen, admin2":"countries/de/de-sn-all.js","Sachsen-Anhalt, admin2":"countries/de/de-st-all.js","Schleswig-Holstein, admin2":"countries/de/de-sh-all.js","Thüringen, admin2":"countries/de/de-th-all.js"},"Germany Bundesländer Admin 3":{"Baden-Württemberg, admin3":"countries/de/de-bw-all-all.js","Bayern, admin3":"countries/de/de-by-all-all.js","Berlin, admin3":"countries/de/de-be-all-all.js","Brandenburg, admin3":"countries/de/de-bb-all-all.js","Bremen, admin3":"countries/de/de-hb-all-all.js","Hamburg, admin3":"countries/de/de-hh-all-all.js","Hessen, admin3":"countries/de/de-he-all-all.js","Mecklenburg-Vorpommern, admin3":"countries/de/de-mv-all-all.js","Niedersachsen, admin3":"countries/de/de-ni-all-all.js","Nordrhein-Westfalen, admin3":"countries/de/de-nw-all-all.js","Rheinland-Pfalz, admin3":"countries/de/de-rp-all-all.js","Saarland, admin3":"countries/de/de-sl-all-all.js","Sachsen, admin3":"countries/de/de-sn-all-all.js","Sachsen-Anhalt, admin3":"countries/de/de-st-all-all.js","Schleswig-Holstein, admin3":"countries/de/de-sh-all-all.js","Thüringen, admin3":"countries/de/de-th-all-all.js"},"Netherlands Provinces":{"Drenthe, admin2":"countries/nl/nl-dr-all.js","Flevoland, admin2":"countries/nl/nl-fl-all.js","Friesland, admin2":"countries/nl/nl-fr-all.js","Gelderland, admin2":"countries/nl/nl-ge-all.js","Groningen, admin2":"countries/nl/nl-gr-all.js","Limburg, admin2":"countries/nl/nl-li-all.js","Noord-Brabant, admin2":"countries/nl/nl-nb-all.js","Noord-Holland, admin2":"countries/nl/nl-nh-all.js","Overijssel, admin2":"countries/nl/nl-ov-all.js","Utrecht, admin2":"countries/nl/nl-ut-all.js","Zeeland, admin2":"countries/nl/nl-ze-all.js","Zuid-Holland, admin2":"countries/nl/nl-zh-all.js"},"Norway Counties":{"Agder, admin2":"countries/no/no-ag-all.js","Innlandet, admin2":"countries/no/no-in-all.js","Møre og Romsdal, admin2":"countries/no/no-mr-all.js","Nordland, admin2":"countries/no/no-no-all.js","Oslo, admin2":"countries/no/no-os-all.js","Rogaland, admin2":"countries/no/no-ro-all.js","Trøndelag, admin2":"countries/no/no-td-all.js","Troms og Finnmark, admin2":"countries/no/no-tf-all.js","Viken, admin2":"countries/no/no-vi-all.js","Vestland, admin2":"countries/no/no-vl-all.js","Vestfold og Telemark, admin2":"countries/no/no-vt-all.js"},"USA States":{"Alabama, admin2":"countries/us/us-al-all.js","Alaska, admin2":"countries/us/us-ak-all.js","Arizona, admin2":"countries/us/us-az-all.js","Arkansas, admin2":"countries/us/us-ar-all.js","California, admin2":"countries/us/us-ca-all.js","Colorado, admin2":"countries/us/us-co-all.js","Connecticut, admin2":"countries/us/us-ct-all.js","Delaware, admin2":"countries/us/us-de-all.js","District of Columbia, admin2":"countries/us/us-dc-all.js","Florida, admin2":"countries/us/us-fl-all.js","Georgia, admin2":"countries/us/us-ga-all.js","Hawaii, admin2":"countries/us/us-hi-all.js","Idaho, admin2":"countries/us/us-id-all.js","Illinois, admin2":"countries/us/us-il-all.js","Indiana, admin2":"countries/us/us-in-all.js","Iowa, admin2":"countries/us/us-ia-all.js","Kansas, admin2":"countries/us/us-ks-all.js","Kentucky, admin2":"countries/us/us-ky-all.js","Louisiana, admin2":"countries/us/us-la-all.js","Maine, admin2":"countries/us/us-me-all.js","Maryland, admin2":"countries/us/us-md-all.js","Massachusetts, admin2":"countries/us/us-ma-all.js","Michigan, admin2":"countries/us/us-mi-all.js","Minnesota, admin2":"countries/us/us-mn-all.js","Mississippi, admin2":"countries/us/us-ms-all.js","Missouri, admin2":"countries/us/us-mo-all.js","Montana, admin2":"countries/us/us-mt-all.js","Nebraska, admin2":"countries/us/us-ne-all.js","Nevada, admin2":"countries/us/us-nv-all.js","New Hampshire, admin2":"countries/us/us-nh-all.js","New Jersey, admin2":"countries/us/us-nj-all.js","New Mexico, admin2":"countries/us/us-nm-all.js","New York, admin2":"countries/us/us-ny-all.js","North Carolina, admin2":"countries/us/us-nc-all.js","North Dakota, admin2":"countries/us/us-nd-all.js","Ohio, admin2":"countries/us/us-oh-all.js","Oklahoma, admin2":"countries/us/us-ok-all.js","Oregon, admin2":"countries/us/us-or-all.js","Pennsylvania, admin2":"countries/us/us-pa-all.js","Rhode Island, admin2":"countries/us/us-ri-all.js","South Carolina, admin2":"countries/us/us-sc-all.js","South Dakota, admin2":"countries/us/us-sd-all.js","Tennessee, admin2":"countries/us/us-tn-all.js","Texas, admin2":"countries/us/us-tx-all.js","Utah, admin2":"countries/us/us-ut-all.js","Vermont, admin2":"countries/us/us-vt-all.js","Virginia, admin2":"countries/us/us-va-all.js","Washington, admin2":"countries/us/us-wa-all.js","West Virginia, admin2":"countries/us/us-wv-all.js","Wisconsin, admin2":"countries/us/us-wi-all.js","Wyoming, admin2":"countries/us/us-wy-all.js"},"USA congressional districts (113th)":{"Alabama congressional districts":"countries/us/custom/us-al-congress-113.js","Alaska congressional districts":"countries/us/custom/us-ak-congress-113.js","American Samoa congressional districts":"countries/us/custom/us-as-congress-113.js","Arizona congressional districts":"countries/us/custom/us-az-congress-113.js","Arkansas congressional districts":"countries/us/custom/us-ar-congress-113.js","California congressional districts":"countries/us/custom/us-ca-congress-113.js","Colorado congressional districts":"countries/us/custom/us-co-congress-113.js","Connecticut congressional districts":"countries/us/custom/us-ct-congress-113.js","Delaware congressional districts":"countries/us/custom/us-de-congress-113.js","District of Columbia congressional districts":"countries/us/custom/us-dc-congress-113.js","Florida congressional districts":"countries/us/custom/us-fl-congress-113.js","Georgia congressional districts":"countries/us/custom/us-ga-congress-113.js","Guam congressional districts":"countries/us/custom/us-gu-congress-113.js","Hawaii congressional districts":"countries/us/custom/us-hi-congress-113.js","Idaho congressional districts":"countries/us/custom/us-id-congress-113.js","Illinois congressional districts":"countries/us/custom/us-il-congress-113.js","Indiana congressional districts":"countries/us/custom/us-in-congress-113.js","Iowa congressional districts":"countries/us/custom/us-ia-congress-113.js","Kansas congressional districts":"countries/us/custom/us-ks-congress-113.js","Kentucky congressional districts":"countries/us/custom/us-ky-congress-113.js","Louisiana congressional districts":"countries/us/custom/us-la-congress-113.js","Maine congressional districts":"countries/us/custom/us-me-congress-113.js","Maryland congressional districts":"countries/us/custom/us-md-congress-113.js","Massachusetts congressional districts":"countries/us/custom/us-ma-congress-113.js","Michigan congressional districts":"countries/us/custom/us-mi-congress-113.js","Minnesota congressional districts":"countries/us/custom/us-mn-congress-113.js","Mississippi congressional districts":"countries/us/custom/us-ms-congress-113.js","Missouri congressional districts":"countries/us/custom/us-mo-congress-113.js","Montana congressional districts":"countries/us/custom/us-mt-congress-113.js","Nebraska congressional districts":"countries/us/custom/us-ne-congress-113.js","Nevada congressional districts":"countries/us/custom/us-nv-congress-113.js","New Hampshire congressional districts":"countries/us/custom/us-nh-congress-113.js","New Jersey congressional districts":"countries/us/custom/us-nj-congress-113.js","New Mexico congressional districts":"countries/us/custom/us-nm-congress-113.js","New York congressional districts":"countries/us/custom/us-ny-congress-113.js","North Carolina congressional districts":"countries/us/custom/us-nc-congress-113.js","North Dakota congressional districts":"countries/us/custom/us-nd-congress-113.js","Northern Mariana Islands congressional districts":"countries/us/custom/us-mp-congress-113.js","Ohio congressional districts":"countries/us/custom/us-oh-congress-113.js","Oklahoma congressional districts":"countries/us/custom/us-ok-congress-113.js","Oregon congressional districts":"countries/us/custom/us-or-congress-113.js","Pennsylvania congressional districts":"countries/us/custom/us-pa-congress-113.js","Puerto Rico congressional districts":"countries/us/custom/us-pr-congress-113.js","Rhode Island congressional districts":"countries/us/custom/us-ri-congress-113.js","South Carolina congressional districts":"countries/us/custom/us-sc-congress-113.js","South Dakota congressional districts":"countries/us/custom/us-sd-congress-113.js","Tennessee congressional districts":"countries/us/custom/us-tn-congress-113.js","Texas congressional districts":"countries/us/custom/us-tx-congress-113.js","Utah congressional districts":"countries/us/custom/us-ut-congress-113.js","Vermont congressional districts":"countries/us/custom/us-vt-congress-113.js","Virginia congressional districts":"countries/us/custom/us-va-congress-113.js","Washington congressional districts":"countries/us/custom/us-wa-congress-113.js","West Virginia congressional districts":"countries/us/custom/us-wv-congress-113.js","Wisconsin congressional districts":"countries/us/custom/us-wi-congress-113.js","Wyoming congressional districts":"countries/us/custom/us-wy-congress-113.js"},"Historical: Countries":{"Norway, admin2 (2019)":"historical/countries/no-2019/no-all-all-2019.js","Norway (2019)":"historical/countries/no-2019/no-all-2019.js","Norway with Svalbard and Jan Mayen (2019)":"historical/countries/no-2019/custom/no-all-svalbard-and-jan-mayen-2019.js","France (2019)":"historical/countries/fr-2015/fr-all-2015.js","France, admin2 (2019)":"historical/countries/fr-2015/fr-all-all-2015.js","France, mainland (2019)":"historical/countries/fr-2015/custom/fr-all-mainland-2015.js","France, mainland admin2 (2019)":"historical/countries/fr-2015/custom/fr-all-all-mainland-2015.js","Burundi (2014)":"historical/countries/bi-2014/bi-all-2014.js","India with disputed territories (2013)":"historical/countries/in-2013/custom/in-all-disputed-2013.js","Indonesia (2011)":"historical/countries/id-2011/id-all-2011.js"},"Historical: Norway Counties (2019)":{"Akershus, admin2 (2019)":"historical/countries/no-2019/no-ak-all-2019.js","Aust-Agder, admin2 (2019)":"historical/countries/no-2019/no-aa-all-2019.js","Buskerud, admin2 (2019)":"historical/countries/no-2019/no-bu-all-2019.js","Finnmark, admin2 (2019)":"historical/countries/no-2019/no-fi-all-2019.js","Hedmark, admin2 (2019)":"historical/countries/no-2019/no-he-all-2019.js","Hordaland, admin2 (2019)":"historical/countries/no-2019/no-ho-all-2019.js","Møre og Romsdal, admin2 (2019)":"historical/countries/no-2019/no-mr-all-2019.js","Nord-Trøndelag, admin2 (2019)":"historical/countries/no-2019/no-nt-all-2019.js","Nordland, admin2 (2019)":"historical/countries/no-2019/no-no-all-2019.js","Oppland, admin2 (2019)":"historical/countries/no-2019/no-op-all-2019.js","Oslo, admin2 (2019)":"historical/countries/no-2019/no-os-all-2019.js","Rogaland, admin2 (2019)":"historical/countries/no-2019/no-ro-all-2019.js","Sogn og Fjordane, admin2 (2019)":"historical/countries/no-2019/no-sf-all-2019.js","Sør-Trøndelag, admin2 (2019)":"historical/countries/no-2019/no-st-all-2019.js","Telemark, admin2 (2019)":"historical/countries/no-2019/no-te-all-2019.js","Troms, admin2 (2019)":"historical/countries/no-2019/no-tr-all-2019.js","Vest-Agder, admin2 (2019)":"historical/countries/no-2019/no-va-all-2019.js","Vestfold, admin2 (2019)":"historical/countries/no-2019/no-vf-all-2019.js","Østfold, admin2 (2019)":"historical/countries/no-2019/no-of-all-2019.js"},"Historical: France Regions Admin 2 (2015)":{"Alsace, admin2":"historical/countries/fr-2015/fr-a-all-2015.js","Aquitaine, admin2":"historical/countries/fr-2015/fr-b-all-2015.js","Auvergne, admin2":"historical/countries/fr-2015/fr-c-all-2015.js","Basse-Normandie, admin2":"historical/countries/fr-2015/fr-p-all-2015.js","Bourgogne, admin2":"historical/countries/fr-2015/fr-d-all-2015.js","Bretagne, admin2":"historical/countries/fr-2015/fr-e-all-2015.js","Centre, admin2":"historical/countries/fr-2015/fr-f-all-2015.js","Champagne-Ardenne, admin2":"historical/countries/fr-2015/fr-g-all-2015.js","Corse, admin2":"historical/countries/fr-2015/fr-h-all-2015.js","Franche-Comté, admin2":"historical/countries/fr-2015/fr-i-all-2015.js","Guadeloupe, admin2":"historical/countries/fr-2015/fr-gp-all-2015.js","Guyane française, admin2":"historical/countries/fr-2015/fr-gf-all-2015.js","Haute-Normandie, admin2":"historical/countries/fr-2015/fr-q-all-2015.js","Languedoc-Roussillon, admin2":"historical/countries/fr-2015/fr-k-all-2015.js","Limousin, admin2":"historical/countries/fr-2015/fr-l-all-2015.js","Lorraine, admin2":"historical/countries/fr-2015/fr-m-all-2015.js","Martinique, admin2":"historical/countries/fr-2015/fr-mq-all-2015.js","Mayotte, admin2":"historical/countries/fr-2015/fr-yt-all-2015.js","Midi-Pyrénées, admin2":"historical/countries/fr-2015/fr-n-all-2015.js","Nord-Pas-de-Calais, admin2":"historical/countries/fr-2015/fr-o-all-2015.js","Pays de la Loire, admin2":"historical/countries/fr-2015/fr-r-all-2015.js","Picardie, admin2":"historical/countries/fr-2015/fr-s-all-2015.js","Poitou-Charentes, admin2":"historical/countries/fr-2015/fr-t-all-2015.js","Provence-Alpes-Côte-d'Azur, admin2":"historical/countries/fr-2015/fr-u-all-2015.js","Rhône-Alpes, admin2":"historical/countries/fr-2015/fr-v-all-2015.js","Réunion, admin2":"historical/countries/fr-2015/fr-re-all-2015.js","Île-de-France, admin2":"historical/countries/fr-2015/fr-j-all-2015.js"}}},86502:function(t,e,n){"use strict";const r=n(97013),i=n(94306),o=n(99312);function a(t,e){switch(i(t)){case"object":return function(t,e){if("function"==typeof e)return e(t);if(e||o(t)){const n=new t.constructor;for(let r in t)n[r]=a(t[r],e);return n}return t}(t,e);case"array":return function(t,e){const n=new t.constructor(t.length);for(let r=0;r=e?t:""+Array(e+1-r.length).join(n)+t},v={s:y,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function t(e,n){if(e.date()=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(r())},15765:function(t,e,n){var r;function i(t){function n(){if(n.enabled){var t=n,i=+new Date,o=i-(r||i);t.diff=o,t.prev=r,t.curr=i,r=i;for(var a=new Array(arguments.length),s=0;si&&(i=c,r=s);return r}}).call(this)},99134:function(t){function e(t){var e=t.target||t.srcElement;e.__resizeRAF__&&cancelAnimationFrame(e.__resizeRAF__),e.__resizeRAF__=requestAnimationFrame((function(){var n=e.__resizeTrigger__,r=n&&n.__resizeListeners__;r&&r.forEach((function(e){e.call(n,t)}))}))}var n=function(t,n){var r,i=this.document,o=i.attachEvent;if("undefined"!=typeof navigator&&(r=navigator.userAgent.match(/Trident/)||navigator.userAgent.match(/Edge/)),!t.__resizeListeners__)if(t.__resizeListeners__=[],o)t.__resizeTrigger__=t,t.attachEvent("onresize",e);else{"static"===getComputedStyle(t).position&&(t.style.position="relative");var a=t.__resizeTrigger__=i.createElement("object");a.setAttribute("style","position: absolute; top: 0; left: 0; height: 100%; width: 100%; pointer-events: none; z-index: -1; opacity: 0;"),a.setAttribute("class","resize-sensor"),a.setAttribute("tabindex","-1"),a.__resizeElement__=t,a.onload=function(){this.contentDocument.defaultView.__resizeTrigger__=this.__resizeElement__,this.contentDocument.defaultView.addEventListener("resize",e)},a.type="text/html",r&&t.appendChild(a),a.data="about:blank",r||t.appendChild(a)}t.__resizeListeners__.push(n)};t.exports="undefined"==typeof window?n:n.bind(window),t.exports.unbind=function(t,n){var r=document.attachEvent,i=t.__resizeListeners__||[];if(n){var o=i.indexOf(n);-1!==o&&i.splice(o,1)}else i=t.__resizeListeners__=[];if(!i.length){if(r)t.detachEvent("onresize",e);else if(t.__resizeTrigger__){var a=t.__resizeTrigger__.contentDocument,s=a&&a.defaultView;s&&(s.removeEventListener("resize",e),delete s.__resizeTrigger__),t.__resizeTrigger__=!t.removeChild(t.__resizeTrigger__)}delete t.__resizeListeners__}}},66471:function(t){"use strict";t.exports=function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(e.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(e)){if((r=e.length)!=n.length)return!1;for(i=r;0!=i--;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if((r=(o=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!t(e[a],n[a]))return!1}return!0}return e!=e&&n!=n}},54164:function(t,e,n){var r;"undefined"!=typeof self&&self,t.exports=(r=n(27378),function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nparseInt(e.userAgent.split("Firefox/")[1],10),e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=function(){var t=!1;if(!e.isMS){var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,n),e.win.removeEventListener("testPassive",e.noop,n))}return t}(),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0}(e||(e={})),e})),e(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(t){function e(n,r,i,o){var a=r?"Highcharts error":"Highcharts warning";32===n&&(n=a+": Deprecated member");var s=l(n),c=s?a+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if(void 0!==o){var u="";s&&(c+="?"),g(o,(function(t,e){u+="\n - ".concat(e,": ").concat(t),s&&(c+=encodeURI(e)+"="+encodeURI(t))})),c+=u}v(t,"displayError",{chart:i,code:n,message:c,params:o},(function(){if(r)throw Error(c);w.console&&-1===e.messages.indexOf(c)&&console.warn(c)})),e.messages.push(c)}function n(t,e){return parseInt(t,e||10)}function r(t){return"string"==typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!(!t||"object"!=typeof t||e&&i(t))}function a(t){return o(t)&&"number"==typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0n&&(n=t[e]);return n},arrayMin:function(t){for(var e=t.length,n=t[0];e--;)t[e]e?t=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(i,"padding-left",!0)||0)-(s(i,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(s(i,"padding-top",!0)||0)-(s(i,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),i=w.getComputedStyle(i,void 0)){var l=i.getPropertyValue(o);d(a,"opacity"!==o)&&(l=n(l))}return l},inArray:function(t,n,r){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,r)},isArray:i,isClass:s,isDOMElement:a,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:o,isString:r,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,n={},r=function(t,e){return"object"!=typeof t&&(t={}),g(e,(function(n,i){"__proto__"!==i&&"constructor"!==i&&(!o(n,!0)||s(n)||a(n)?t[i]=e[i]:t[i]=r(t[i]||{},n))})),t};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var i=e.length;for(t=0;t=n&&(e=[1/n]))),r=0;r=t||!i&&a<=(e[r]+(e[r+1]||e[r]))/2));r++);return m(o*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:g,offset:function(t){var e=x.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:d,pInt:n,relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:y,splat:function(t){return i(t)?t:[t]},stableSort:function(t,e){var n,r,i=t.length;for(r=0;r>16,(65280&i)>>8,255&i,1]:4===r&&(n=[(3840&i)>>4|(3840&i)>>8,(240&i)>>4|240&i,(15&i)<<4|15&i,1])}if(!n)for(i=e.parsers.length;i--&&!n;){var o=e.parsers[i];(r=o.regex.exec(t))&&(n=o.parse(r))}}n&&(this.rgba=n)},e.prototype.get=function(t){var e=this.input,i=this.rgba;if("object"==typeof e&&void 0!==this.stops){var o=r(e);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(e,n){o.stops[n]=[o.stops[n][0],e.get(t)]})),o}return i&&n(i[0])?"rgb"===t||!t&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===t?"".concat(i[3]):"rgba("+i.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(var r=0;3>r;r++)e[r]+=i(255*t),0>e[r]&&(e[r]=0),255h?"AM":"PM",P:12>h?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},t.dateFormats),l(s,(function(t,r){for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"==typeof t?t.call(a,n):t)})),i?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=h(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,n,i){var a,s=this,l=[],c={},h=new s.Date(e),p=t.unitRange,f=t.count||1;if(i=u(i,1),r(e)){if(s.set("Milliseconds",h,p>=d.second?0:f*Math.floor(s.get("Milliseconds",h)/f)),p>=d.second&&s.set("Seconds",h,p>=d.minute?0:f*Math.floor(s.get("Seconds",h)/f)),p>=d.minute&&s.set("Minutes",h,p>=d.hour?0:f*Math.floor(s.get("Minutes",h)/f)),p>=d.hour&&s.set("Hours",h,p>=d.day?0:f*Math.floor(s.get("Hours",h)/f)),p>=d.day&&s.set("Date",h,p>=d.month?1:Math.max(1,f*Math.floor(s.get("Date",h)/f))),p>=d.month){s.set("Month",h,p>=d.year?0:f*Math.floor(s.get("Month",h)/f));var m=s.get("FullYear",h)}p>=d.year&&s.set("FullYear",h,m-m%f),p===d.week&&(m=s.get("Day",h),s.set("Date",h,s.get("Date",h)-m+i+(m4*d.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(n)),e=h.getTime(),h=1;el.length&&l.forEach((function(t){0==t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(c[t]="day")}))}return l.info=o(t,{higherRanks:c,totalRange:p*f}),l},e.prototype.getDateFormat=function(t,e,n,r){var i=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in d){if(t===d.week&&+this.dateFormat("%w",e)===n&&"00:00:00.000"===i.substr(6)){var s="week";break}if(d[s]>t){s=a;break}if(o[s]&&i.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}return this.resolveDTLFormat(r[s]).main},e}(),e})),e(n,"Core/Defaults.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],(function(t,e,n,r,i,o){e=e.parse;var a=o.merge,s={colors:r.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:n.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new i(a(s.global,s.time));return t={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(n.time?n.time.update(a(s.global,s.time,t.global,t.time)):n.time=l),s}}})),e(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=t.parse,i=e.win,o=n.isNumber,a=n.objectEach;return function(){function t(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var n=this.now||0,r=[];if(1!==n&&e&&t)if(e.length===t.length&&1>n)for(var i=0;i=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;a(s,(function(t){!0!==t&&(l=!1)})),l&&i&&i.call(r),t=!1}else this.pos=n.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,n){function r(t,e){for(;t.lengthu[1]){var d=e+ +u[1];0<=d?(u[0]=(+u[0]).toExponential(d).split("e")[0],e=d):(u[0]=u[0].split(".")[0]||0,t=20>e?(u[0]*Math.pow(10,u[1])).toFixed(e):0,u[1]=0)}}else e=2;d=(Math.abs(u[1]?u[0]:t)+Math.pow(10,-Math.max(e,c)-1)).toFixed(e);var p=3<(c=String(l(d))).length?c.length%3:0;return n=s(n,o.decimalPoint),i=s(i,o.thousandsSep),t=(0>t?"-":"")+(p?c.substr(0,p)+i:""),t=0>+u[1]&&!h?"0":t+c.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+i),e&&(t+=n+d.slice(-e)),u[1]&&0!=+t&&(t+="e"+u[1]),t}var r=t.defaultOptions,i=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,l=e.pInt;return{dateFormat:function(t,e,n){return i.dateFormat(t,e,n)},format:function(t,e,a){var s="{",l=!1,c=/f$/,u=/\.([0-9])/,h=r.lang,d=a&&a.time||i;a=a&&a.numberFormatter||n;for(var p=[];t;){var f=t.indexOf(s);if(-1===f)break;var m=t.slice(0,f);if(l){if(m=m.split(":"),s=o(m.shift()||"",e),m.length&&"number"==typeof s)if(m=m.join(":"),c.test(m)){var g=parseInt((m.match(u)||["","-1"])[1],10);null!==s&&(s=a(s,g,h.decimalPoint,-1c){for(i(e,u),f=s=0;f<=c;)f+=e[s].size,s++;p=e.splice(s-1,e.length)}for(i(e,h),e=e.map((function(t){return{size:t.size,targets:[t.target],align:r(t.align,.5)}}));d;){for(s=e.length;s--;)c=e[s],u=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(u-c.size*c.align,0,o-c.size);for(s=e.length,d=!1;s--;)0e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),d=!0)}return l.push.apply(l,p),s=0,e.some((function(e){var n=0;return(e.targets||[]).some((function(){return l[s].pos=e.pos+n,void 0!==a&&Math.abs(l[s].pos-l[s].target)>a?(l.slice(0,s+1).forEach((function(t){return delete t.pos})),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&t(l,o,a),!0):(n+=l[s].size,s++,!1)}))})),i(l,h),l}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var i=t.animate,o=t.animObject,a=t.stop,s=n.deg2rad,l=n.doc,c=n.svg,u=n.SVG_NS,h=n.win,d=r.addEvent,p=r.attr,f=r.createElement,m=r.css,g=r.defined,y=r.erase,v=r.extend,b=r.fireEvent,x=r.isArray,w=r.isFunction,S=r.isString,k=r.merge,C=r.objectEach,A=r.pick,E=r.pInt,M=r.syncTimeout,T=r.uniqueKey;return t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=u,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=A(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,n){n.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,n=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var r=this.zIndexSetter();return r||(t?t.element:e.box).appendChild(n),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var n=e?"":this.attr("class")||"";return t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "),t!==n&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,n){var r,i,o,a={},s=this.renderer,l=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!n||S(n))&&(this.alignTo=r=n||"renderer",y(l,this),l.push(this),n=void 0)):(t=this.alignOptions,e=this.alignByTranslate,r=this.alignTo),n=A(n,s[r],"scrollablePlotBox"===r?s.plotBox:void 0,s),r=t.align;var c=t.verticalAlign;return s=(n.x||0)+(t.x||0),l=(n.y||0)+(t.y||0),"right"===r?i=1:"center"===r&&(i=2),i&&(s+=(n.width-(t.width||0))/i),a[e?"translateX":"x"]=Math.round(s),"bottom"===c?o=1:"middle"===c&&(o=2),o&&(l+=(n.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,n){var r=this,a=o(A(e,this.renderer.globalAnimation,!0));return e=a.defer,A(l.hidden,l.msHidden,l.webkitHidden,!1)&&(a.duration=0),0!==a.duration?(n&&(a.complete=n),M((function(){r.element&&i(r,t,a)}),e)):(this.attr(t,void 0,n||a.complete),C(t,(function(t,e){a.step&&a.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var r=t.split(" ");if(t=r[r.length-1],(r=r[0])&&"none"!==r&&n.svg){this.fakeTS=!0,r=r.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();var i=l.createElementNS(u,"tspan");p(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":r,"stroke-linejoin":"round"}),t=e.querySelector("textPath")||e,[].forEach.call(t.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),i.appendChild(e)}));var o=0;[].forEach.call(t.querySelectorAll("text tspan"),(function(t){o+=Number(t.getAttribute("dy"))})),(r=l.createElementNS(u,"tspan")).textContent="​",p(r,{x:Number(e.getAttribute("x")),dy:-o}),i.appendChild(r),t.insertBefore(i,t.firstChild)}},t.prototype.attr=function(t,e,n,r){var i,o,s,l=this.element,c=this.symbolCustomAttribs,u=this;if("string"==typeof t&&void 0!==e){var h=t;(t={})[h]=e}return"string"==typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(C(t,(function(e,n){o=!1,r||a(this,n),this.symbolName&&-1!==c.indexOf(n)&&(i||(this.symbolAttr(t),i=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||((s=this[n+"Setter"]||this._defaultSetter).call(this,e,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,s))}),this),this.afterSetters()),n&&n.call(this),u},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var n=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+n,t.y=Math.floor(t.y||this.y||0)+n,t.width=Math.floor((t.width||this.width||0)-2*n),t.height=Math.floor((t.height||this.height||0)-2*n),g(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,n,r){var i,o,a,s,l,c,u,h,d,p,f,m=this.renderer,y=[];b(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],l=m.gradients,c=t.stops,d=r.radialReference,x(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&d&&!g(a.gradientUnits)&&(s=a,a=k(a,m.getRadialAttr(d,s),{gradientUnits:"userSpaceOnUse"})),C(a,(function(t,e){"id"!==e&&y.push(e,t)})),C(c,(function(t){y.push(t)})),y=y.join(","),l[y])p=l[y].attr("id");else{a.id=p=T();var v=l[y]=m.createElement(o).attr(a).add(m.defs);v.radAttr=s,v.stops=[],c.forEach((function(t){0===t[1].indexOf("rgba")?(i=e.parse(t[1]),u=i.get("rgb"),h=i.get("a")):(u=t[1],h=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":u,"stop-opacity":h}).add(v),v.stops.push(t)}))}f="url("+m.url+"#"+p+")",r.setAttribute(n,f),r.gradient=y,t.toString=function(){return f}}}))},t.prototype.css=function(t){var e=this.styles,n={},r=this.element,i=!e;if(t.color&&(t.fill=t.color),e&&C(t,(function(t,r){e&&e[r]!==t&&(n[r]=t,i=!0)})),i){if(e&&(t=v(e,n)),null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===r.nodeName.toLowerCase()&&t.width)var o=this.textWidth=E(t.width);this.styles=t,o&&!c&&this.renderer.forExport&&delete t.width;var a=k(t);r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach((function(t){return a&&delete a[t]})),m(r,a),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var n=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=n.length;t--;)n[t]=""+E(n[t])*A(e,NaN);t=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},n=t.renderer,r=e.ownerSVGElement,i=n.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,a(t),t.clipPath&&r){var o=t.clipPath;[].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1d.width)&&(d={x:0,y:0,width:0,height:0})}else d=this.htmlGetBBox();if(o.isSVG&&(o=d.width,e=d.height,h&&(d.height=e={"11px,17":14,"13px,20":16}[""+(p||"")+",".concat(Math.round(e))]||e),n)){h=Number(i.getAttribute("y")||0)-d.y,r={right:1,center:.5}[r||0]||0,a=n*s,p=(n-90)*s;var b=o*Math.cos(a);n=o*Math.sin(a),y=Math.cos(p),a=Math.sin(p),b=(y=(p=(o=d.x+r*(o-b)+h*y)+b)-e*y)-b,n=(e=(r=(h=d.y+h-r*n+h*a)+n)-e*a)-n,d.x=Math.min(o,p,y,b),d.y=Math.min(h,r,e,n),d.width=Math.max(o,p,y,b)-d.x,d.height=Math.max(h,r,e,n)-d.y}if(f&&(""===l||0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,n){var r=this.shadows;if(r)for(var i=r.length;i--;)n.call(r[i],"height"===t?Math.max(e-(r[i].cutHeight||0),0):"d"===t?this.d:e,t,r[i])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,n=this.inverted,r=this.rotation,i=this.matrix,o=this.element,a=this.translateX||0,s=this.translateY||0;n&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],g(i)&&a.push("matrix("+i.join(",")+")"),n?a.push("rotate(90) scale(-1,1)"):r&&a.push("rotate("+r+" "+A(this.rotationOriginX,o.getAttribute("x"),0)+" "+A(this.rotationOriginY,o.getAttribute("y")||0)+")"),(g(t)||g(e))&&a.push("scale("+A(t,1)+" "+A(e,1)+")"),a.length&&!(this.text||this).textPath&&o.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var n=this.renderer,r=this.parentGroup,i=(r||n).element||n.box,o=this.element;n=i===n.box;var a,s=!1,l=this.added;if(g(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):g(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&r&&(r.handleZ=!0),a=(e=i.childNodes).length-1;0<=a&&!s;a--){l=(r=e[a]).getAttribute("data-z-index");var c=!g(l);r!==o&&(0>t&&c&&!n&&!a?(i.insertBefore(o,e[a]),s=!0):(E(l)<=t||c&&(!g(t)||0<=t))&&(i.insertBefore(o,e[a+1]||null),s=!0))}s||(i.insertBefore(o,e[n?3:0]||null),s=!0)}return s},t}(),t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(t){var e;return function(e){var n;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=n),e.rendererTypes[t]||e.rendererTypes[n]},e.registerRendererType=function(r,i,o){e.rendererTypes[r]=i,n&&!o||(n=r,t.Renderer=i)}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e.defined,i=e.extend,o=e.isNumber,a=e.merge,s=e.pick,l=e.removeEvent;return function(e){function c(t,n,r,i,o,a,s,l,u,h){var d,p=e.call(this)||this;return p.paddingLeftSetter=p.paddingSetter,p.paddingRightSetter=p.paddingSetter,p.init(t,"g"),p.textStr=n,p.x=r,p.y=i,p.anchorX=a,p.anchorY=s,p.baseline=u,p.className=h,p.addClass("button"===h?"highcharts-no-tooltip":"highcharts-label"),h&&p.addClass("highcharts-"+h),p.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"==typeof o&&((d=/^url\((.*?)\)$/.test(o))||p.renderer.symbols[o])&&(p.symbolKey=o),p.bBox=c.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||d,p.deferredAttr={},p.alignFactor=0,p}return n(c,e),c.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var n={};e=a(e),c.textProps.forEach((function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])})),this.text.css(n);var r="width"in n;"fontSize"in n||"fontWeight"in n?this.updateTextPadding():r&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:r(t)?t:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,n={},a=this.padding,s=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!r(t.textStr)?c.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*a,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=a+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),n.x=t,n.y=(this.baseline?-this.baselineOffset:0)+t,n.width=Math.round(this.width),n.height=Math.round(this.height),this.box.attr(i(n,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;if(!t.textPath){this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=n,t.y=e}},c.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)})),e(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(t){function e(t,e,n,r,o){var s=[];if(o){var l=o.start||0,c=a(o.r,n);n=a(o.r,r||n);var u=(o.end||0)-.001;r=o.innerR;var h=a(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),d=Math.cos(l),p=Math.sin(l),f=Math.cos(u),m=Math.sin(u);l=a(o.longArc,.001>u-l-Math.PI?0:1),s.push(["M",t+c*d,e+n*p],["A",c,n,0,l,a(o.clockwise,1),t+c*f,e+n*m]),i(r)&&s.push(h?["M",t+r*f,e+r*m]:["L",t+r*f,e+r*m],["A",r,r,0,l,i(o.clockwise)?1-o.clockwise:0,t+r*d,e+r*p]),h||s.push(["Z"])}return s}function n(t,e,n,i,o){return o&&o.r?r(t,e,n,i,o):[["M",t,e],["L",t+n,e],["L",t+n,e+i],["L",t,e+i],["Z"]]}function r(t,e,n,r,i){return[["M",t+(i=i&&i.r||0),e],["L",t+n-i,e],["C",t+n,e,t+n,e,t+n,e+i],["L",t+n,e+r-i],["C",t+n,e+r,t+n,e+r,t+n-i,e+r],["L",t+i,e+r],["C",t,e+r,t,e+r,t,e+r-i],["L",t,e+i],["C",t,e,t,e,t+i,e]]}var i=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,n,i,a){var s=Math.min(a&&a.r||0,n,i),l=s+6,c=a&&a.anchorX;a=a&&a.anchorY||0;var u=r(t,e,n,i,{r:s});return o(c)?(t+c>=n?a>e+l&&a=t+c?a>e+l&&ai&&c>t+l&&ca&&c>t+l&&c/g.test(o))?""!==o&&(i&&i.appendChild(n),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),i&&i.removeChild(n)):n.appendChild(r.createTextNode(this.unescapeEntities(o))),c(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,n=this.svgElement,s=a(n.element,"x");for(n.firstLineMetrics=void 0;(t=n.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)n.element.removeChild(t);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(t,r){t.nextSibling&&t.previousSibling&&(0===r&&1===t.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var l=this.width||0;if(l){var c=function(t,o){var c=t.textContent||"",u=c.replace(/([^\^])-/g,"$1- ").split(" "),h=!e.noWrap&&(1i){for(;h<=d;)p=Math.ceil((h+d)/2),n&&(a=o(n,p)),m=f(p,a&&a.length-1),h===d?h=d+1:m>i?d=p-1:h=p;0===d?t.textContent="":e&&d===e.length-1||(t.textContent=a||o(e||n,p))}n&&n.splice(0,p),s.actualWidth=m,s.rotation=c},e.prototype.unescapeEntities=function(t,e){return u(this.renderer.escapes,(function(n,r){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),r))})),t},e}()})),e(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],(function(t,e,n,r,i,o,a,s,l){var c,u=n.charts,h=n.deg2rad,d=n.doc,p=n.isFirefox,f=n.isMS,m=n.isWebKit,g=n.noop,y=n.SVG_NS,v=n.symbolSizes,b=n.win,x=l.addEvent,w=l.attr,S=l.createElement,k=l.css,C=l.defined,A=l.destroyObjectProperties,E=l.extend,M=l.isArray,T=l.isNumber,P=l.isObject,O=l.isString,j=l.merge,_=l.pick,L=l.pInt,I=l.uniqueKey;return n=function(){function n(t,e,n,r,i,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,n,r,i,o,a)}return n.prototype.init=function(t,e,n,r,i,o,a){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;a||l.css(this.getStyle(r)),t.appendChild(c),w(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&w(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(d.createTextNode("Created with Highcharts 10.3.1")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=i,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),p&&t.getBoundingClientRect&&((e=function(){k(t,{left:0,top:0}),s=t.getBoundingClientRect(),k(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=x(b,"resize",e))},n.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((p||m)&&d.getElementsByTagName("base").length){if(!C(c)){var e=I();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(d.body),k(e,{position:"fixed",top:0,left:0,zIndex:9e5});var n=d.elementFromPoint(6,6);c="hitme"===(n&&n.id),d.body.removeChild(e)}if(c)return b.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(t){return this.style=E({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},n.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),A(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},n.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},n.prototype.buildText=function(t){new s(t).buildSVG()},n.prototype.getContrast=function(t){return 1.05/(.05+(t=.2126*(t=e.parse(t).rgba.map((function(t){return.03928>=(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4)})))[0]+.7152*t[1]+.0722*t[2]))>(t+.05)/.05?"#FFFFFF":"#000000"},n.prototype.button=function(e,n,r,i,o,a,s,l,c,u){void 0===o&&(o={});var h=this.label(e,n,r,c,void 0,void 0,u,void 0,"button"),d=this.styledMode;e=o.states||{};var p=0;delete(o=j(o)).states;var m=j({color:"#333333",cursor:"pointer",fontWeight:"normal"},o.style);delete o.style;var g=t.filterUserAttributes(o);if(h.attr(j({padding:8,r:2},g)),!d){g=j({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},g);var y=(a=j(g,{fill:"#e6e6e6"},t.filterUserAttributes(a||e.hover||{}))).style;delete a.style;var v=(s=j(g,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||e.select||{}))).style;delete s.style;var b=(l=j(g,{style:{color:"#cccccc"}},t.filterUserAttributes(l||e.disabled||{}))).style;delete l.style}return x(h.element,f?"mouseover":"mouseenter",(function(){3!==p&&h.setState(1)})),x(h.element,f?"mouseout":"mouseleave",(function(){3!==p&&h.setState(p)})),h.setState=function(t){1!==t&&(h.state=p=t),h.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),d||(h.attr([g,a,s,l][t||0]),P(t=[m,y,v,b][t||0])&&h.css(t))},d||(h.attr(g).css(E({cursor:"default"},m)),u&&h.text.css({pointerEvents:"none"})),h.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==p&&i.call(h,t)}))},n.prototype.crispLine=function(t,e,n){void 0===n&&(n="round");var r=t[0],i=t[1];return C(r[1])&&r[1]===i[1]&&(r[1]=i[1]=Math[n](r[1])-e%2/2),C(r[2])&&r[2]===i[2]&&(r[2]=i[2]=Math[n](r[2])+e%2/2),t},n.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return M(t)?e.d=t:P(t)&&E(e,t),this.createElement("path").attr(e)},n.prototype.circle=function(t,e,n){return t=P(t)?t:void 0===t?{}:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},n.prototype.arc=function(t,e,n,r,i,o){return P(t)?(e=(r=t).y,n=r.r,t=r.x):r={innerR:r,start:i,end:o},(t=this.symbol("arc",t,e,n,n,r)).r=n,t},n.prototype.rect=function(t,e,n,r,i,o){i=P(t)?t.r:i;var a=this.createElement("rect");return t=P(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(r,0)},this.styledMode||(void 0!==o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),i&&(t.r=i),a.rSetter=function(t,e,n){a.r=t,w(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},n.prototype.setSize=function(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:_(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},n.prototype.image=function(t,e,n,r,i,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};T(e)&&(a.x=e),T(n)&&(a.y=n),T(r)&&(a.width=r),T(i)&&(a.height=i);var l=this.createElement("image").attr(a);return e=function(e){s(l.element,t),o.call(l,e)},o?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new b.Image,x(n,"load",e),n.src=t,n.complete&&e({})):s(l.element,t),l},n.prototype.symbol=function(t,e,n,r,i,o){var a,s=this,l=/^url\((.*?)\)$/,c=l.test(t),h=!c&&(this.symbols[t]?t:"circle"),p=h&&this.symbols[h];if(p){"number"==typeof e&&(a=p.call(this.symbols,Math.round(e||0),Math.round(n||0),r||0,i||0,o));var f=this.path(a);s.styledMode||f.attr("fill","none"),E(f,{symbolName:h||void 0,x:e,y:n,width:r,height:i}),o&&E(f,o)}else if(c){var m=t.match(l)[1],g=f=this.image(m);g.imgwidth=_(v[m]&&v[m].width,o&&o.width),g.imgheight=_(v[m]&&v[m].height,o&&o.height);var y=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){g[t+"Setter"]=function(t,e){this[e]=t,t=this.alignByTranslate;var n=this.element,r=this.width,i=this.height,a=this.imgwidth,s=this.imgheight,l=this["img"+e];if(C(l)){var c=1;o&&"within"===o.backgroundSize&&r&&i?(c=Math.min(r/a,i/s),l=Math.round(l*c),w(n,{width:Math.round(a*c),height:Math.round(s*c)})):n&&n.setAttribute(e,l),t||this.translate(((r||0)-l*c)/2,((i||0)-l*c)/2)}}})),C(e)&&g.attr({x:e,y:n}),g.isImg=!0,C(g.imgwidth)&&C(g.imgheight)?y(g):(g.attr({width:0,height:0}),S("img",{onload:function(){var t=u[s.chartIndex];0===this.width&&(k(this,{position:"absolute",top:"-999em"}),d.body.appendChild(this)),v[m]={width:this.width,height:this.height},g.imgwidth=this.width,g.imgheight=this.height,g.element&&y(g),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return f},n.prototype.clipRect=function(t,e,n,r){var i=I()+"-",o=this.createElement("clipPath").attr({id:i}).add(this.defs);return(t=this.rect(t,e,n,r,0).add(o)).id=i,t.clipPath=o,t.count=0,t},n.prototype.text=function(t,e,n,r){var i={};return!r||!this.allowHTML&&this.forExport?(i.x=Math.round(e||0),n&&(i.y=Math.round(n)),C(t)&&(i.text=t),t=this.createElement("text").attr(i),(!r||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,n){for(var r,i=n.getElementsByTagName("tspan"),o=n.getAttribute(e),a=0;a(t=/px/.test(t)?L(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},n.prototype.rotCorr=function(t,e,n){var r=t;return e&&n&&(r=Math.max(r*Math.cos(e*h),4)),{x:-t/3*Math.sin(e*h),y:r}},n.prototype.pathToSegments=function(t){for(var e=[],n=[],r={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},i=0;i":">","'":"'",'"':"""},symbols:a,draw:g}),r.registerRendererType("svg",n,!0),n})),e(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,l=n.css,c=n.defined,u=n.extend,h=n.pick,d=n.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var n=e.prototype,r=t.prototype;r.getSpanCorrection=n.getSpanCorrection,r.htmlCss=n.htmlCss,r.htmlGetBBox=n.htmlGetBBox,r.htmlUpdateTransform=n.htmlUpdateTransform,r.setSpanRotation=n.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,n){this.xCorr=-t*n,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,n=h(e&&t.width,void 0);if(e){delete t.width,this.textWidth=n;var r=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=u(this.styles,t),l(this.element,t),r&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,r=this.translateY||0,i=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],u=this.styles;if(u=u&&u.whiteSpace,l(e,{marginLeft:n,marginTop:r}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:n+1,marginTop:r+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(n){t.invertChild(n,e)})),"SPAN"===e.tagName){var h=this.rotation,p=this.textWidth&&d(this.textWidth),f=[h,a,e.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,p!==this.oldTextWidth){if(this.textPxLength)var g=this.textPxLength;else l(e,{width:"",whiteSpace:u||"nowrap"}),g=e.offsetWidth;(p>this.oldTextWidth||g>p)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:g>p||h?p+"px":"auto",display:"block",whiteSpace:u||"normal"}),this.oldTextWidth=p,m=!0)}this.hasBoxWidthChanged=m,f!==this.cTT&&(m=t.fontMetrics(e.style.fontSize,e).b,!c(h)||h===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(h,s,m),this.getSpanCorrection(!c(h)&&this.textPxLength||e.offsetWidth,m,s,h,a)),l(e,{left:i+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=h,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,n){var r={},c=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":i?"MozTransform":s.opera?"-o-transform":void 0;c&&(r[c]=r.transform="rotate("+t+"deg)",r[c+(i?"Origin":"-origin")]=r.transformOrigin=100*e+"% "+n+"px",l(this.element,r))},e.composedClasses=[],e}(e)})),e(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var i=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=r.attr,a=r.createElement,s=r.extend,l=r.pick;return function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.compose=function(t){return-1===r.composedClasses.indexOf(t)&&(r.composedClasses.push(t),t.prototype.html=r.prototype.html),t},r.prototype.html=function(n,r,i){var c=this.createElement("span"),u=c.element,h=c.renderer,d=h.isSVG,p=function(t,n){["opacity","visibility"].forEach((function(r){t[r+"Setter"]=function(i,o,a){var s=t.div?t.div.style:n;e.prototype[r+"Setter"].call(this,i,o,a),s&&(s[o]=i)}})),t.addedSetters=!0};return c.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,c.doTransform=!0)},d&&p(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(t,e){"align"===e?c.alignValue=c.textAlign=t:c[e]=t,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(r),y:Math.round(i)}).css({position:"absolute"}),h.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),u.style.whiteSpace="nowrap",c.css=c.htmlCss,d&&(c.add=function(t){var e=h.box.parentNode,n=[];if(this.parentGroup=t){var r=t.div;if(!r){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach((function(t){function i(e,n){t[n]=e,"translateX"===n?h.left=e+"px":h.top=e+"px",t.doTransform=!0}var l=o(t.element,"class"),u=t.styles||{},h=(r=t.div=t.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:u.cursor,pointerEvents:u.pointerEvents,visibility:t.visibility},r||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(r),on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:i,translateYSetter:i}),t.addedSetters||p(t)}))}}else r=e;return r.appendChild(u),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},r.composedClasses=[],r}(n)})),e(n,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,r=t.isFunction,i=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},i(e.events,(function(e,i){t.eventOptions[i]!==e&&(t.eventOptions[i]&&(o(t,i,t.eventOptions[i]),delete t.eventOptions[i]),r(e)&&(t.eventOptions[i]=e,n(t,i,e)))}))}}(e||(e={})),e})),e(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=e.deg2rad,i=n.clamp,o=n.correctFloat,a=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,u=n.isNumber,h=n.merge,d=n.objectEach,p=n.pick;return e=function(){function e(t,e,n,r,i){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||r||this.addLabel()}return e.prototype.addLabel=function(){var e=this,n=e.axis,r=n.options,i=n.chart,s=n.categories,h=n.logarithmic,d=n.names,f=e.pos,m=p(e.options&&e.options.labels,r.labels),g=n.tickPositions,y=f===g[0],v=f===g[g.length-1],b=(!m.step||1===m.step)&&1===n.tickInterval;g=g.info;var x,w=e.label;if(s=this.parameters.category||(s?p(s[f],d[f],f):f),h&&u(s)&&(s=o(h.lin2log(s))),n.dateTime)if(g)var S=i.time.resolveDTLFormat(r.dateTimeLabelFormats[!r.grid&&g.higherRanks[f]||g.unitName]),k=S.main;else u(s)&&(k=n.dateTime.getXDateFormat(s,r.dateTimeLabelFormats||{}));e.isFirst=y,e.isLast=v;var C={axis:n,chart:i,dateTimeLabelFormat:k,isFirst:y,isLast:v,pos:f,tick:e,tickPositionInfo:g,value:s};c(this,"labelFormat",C);var A=function(e){return m.formatter?m.formatter.call(e,e):m.format?(e.text=n.defaultLabelFormatter.call(e,e),t.format(m.format,e,i)):n.defaultLabelFormatter.call(e,e)};r=A.call(C,C);var E=S&&S.list;e.shortenLabel=E?function(){for(x=0;xu&&i-h*da&&(l=Math.round((o-i)/Math.cos(u*r))):(o=i+(1-h)*d,i-h*da&&(g=a-t.x+g*h,y=-1),(g=Math.min(f,g))g||e.autoRotation&&(c.styles||{}).width)&&(l=g)),l&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(m.textOverflow="ellipsis"),c.css(m)))},e.prototype.moveLabel=function(t,e){var n=this,r=n.label,i=n.axis,o=i.reversed,a=!1;if(r&&r.textStr===t?(n.movedLabel=r,a=!0,delete n.label):d(i.ticks,(function(e){a||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,a=!0,e.labelPos=n.movedLabel.xy,delete e.label)})),!a&&(n.labelPos||r)){var s=n.labelPos||r.xy;r=i.horiz?o?0:i.width+i.left:s.x,i=i.horiz?s.y:o?i.width+i.left:0,n.movedLabel=n.createLabel({x:r,y:i},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,n){var r=this.axis,i=r.horiz,o=this.pos,a=p(this.tickmarkOffset,r.tickmarkOffset);a=(o=this.getPosition(i,o,a,e)).x;var s=o.y;r=i&&a===r.pos+r.len||!i&&s===r.pos?-1:1,i=p(n,this.label&&this.label.newOpacity,1),n=p(n,1),this.isActive=!0,this.renderGridLine(e,n,r),this.renderMark(o,n,r),this.renderLabel(o,e,i,t),this.isNew=!1,c(this,"afterRender")},e.prototype.renderGridLine=function(t,e,n){var r=this.axis,i=r.options,o={},a=this.pos,s=this.type,l=p(this.tickmarkOffset,r.tickmarkOffset),c=r.chart.renderer,u=this.gridLine,h=i.gridLineWidth,d=i.gridLineColor,f=i.gridLineDashStyle;"minor"===this.type&&(h=i.minorGridLineWidth,d=i.minorGridLineColor,f=i.minorGridLineDashStyle),u||(r.chart.styledMode||(o.stroke=d,o["stroke-width"]=h||0,o.dashstyle=f),s||(o.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(r.gridGroup)),u&&(n=r.getPlotLinePath({value:a+l,lineWidth:u.strokeWidth()*n,force:"pass",old:t}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},e.prototype.renderMark=function(t,e,n){var r=this.axis,i=r.options,o=r.chart.renderer,a=this.type,s=r.tickSize(a?a+"Tick":"tick"),l=t.x;t=t.y;var c=p(i["minor"!==a?"tickWidth":"minorTickWidth"],!a&&r.isXAxis?1:0);i=i["minor"!==a?"tickColor":"minorTickColor"];var u=this.mark,h=!u;s&&(r.opposite&&(s[0]=-s[0]),u||(this.mark=u=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(r.axisGroup),r.chart.styledMode||u.attr({stroke:i,"stroke-width":c})),u[h?"attr":"animate"]({d:this.getMarkPath(l,t,s[0],u.strokeWidth()*n,r.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,n,r){var i=this.axis,o=i.horiz,a=i.options,s=this.label,l=a.labels,c=l.step;i=p(this.tickmarkOffset,i.tickmarkOffset);var h=t.x;t=t.y;var d=!0;s&&u(h)&&(s.xy=t=this.getLabelPosition(h,t,s,o,l,i,r,c),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?d=!1:!o||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&r%c&&(d=!1),d&&u(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(s.hide(),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed;if(t&&!this.isNew){var r=e.horiz?n?e.left:e.width+e.left:t.xy.x;n=e.horiz?t.xy.y:n?e.width+e.top:e.top,t.animate({x:r,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}(),e})),e(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(t,e,n,r,i,o,a,s){var l=t.animObject,c=r.defaultOptions,u=i.registerEventOptions,h=o.deg2rad,d=s.arrayMax,p=s.arrayMin,f=s.clamp,m=s.correctFloat,g=s.defined,y=s.destroyObjectProperties,v=s.erase,b=s.error,x=s.extend,w=s.fireEvent,S=s.isArray,k=s.isNumber,C=s.isString,A=s.merge,E=s.normalizeTickInterval,M=s.objectEach,T=s.pick,P=s.relativeLength,O=s.removeEvent,j=s.splat,_=s.syncTimeout,L=function(t,e){return E(e,void 0,void 0,T(t.options.allowDecimals,.5>e||void 0!==t.tickAmount),!!t.tickAmount)};return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var n=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),w(this,"init",{userOptions:e}),this.opposite=T(e.opposite,this.opposite),this.side=T(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var r=this.options,i=r.labels,o=r.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=T(r.reversed,this.reversed),this.visible=r.visible,this.zoomEnabled=r.zoomEnabled,this.hasNames="category"===o||!0===r.categories,this.categories=r.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=g(r.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=r.minRange||r.maxZoom,this.range=r.range,this.offset=r.offset||0,this.min=this.max=null,e=T(r.crosshair,j(t.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(n?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&n&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=k(i.rotation)?i.rotation:void 0,u(this,r),w(this,"afterInit")},t.prototype.setOptions=function(t){this.options=A(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],A(c[this.coll],t)),w(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var n=k(this.value)?this.value:NaN,r=e.chart.time,i=this.dateTimeLabelFormat,o=c.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(n):e.tickInterval,l=a&&a.length;if(e.categories)var u="".concat(this.value);else if(i)u=r.dateFormat(i,n);else if(l&&1e3<=s)for(;l--&&void 0===u;)s>=(e=Math.pow(o,l+1))&&0==10*n%e&&null!==a[l]&&0!==n&&(u=t(n/e,-1)+a[l]);return void 0===u&&(u=1e4<=Math.abs(n)?t(n,-1):t(n,-1,void 0,"")),u},t.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;w(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(r){if(r.visible||!n.options.chart.ignoreHiddenSeries){var i=r.options,o=i.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((i=r.xData).length){i=e.logarithmic?i.filter(e.validatePositiveValue):i;var a=(t=r.getXExtremes(i)).min,s=t.max;k(a)||a instanceof Date||(i=i.filter(k),a=(t=r.getXExtremes(i)).min,s=t.max),i.length&&(e.dataMin=Math.min(T(e.dataMin,a),a),e.dataMax=Math.max(T(e.dataMax,s),s))}}else r=r.applyExtremes(),k(r.dataMin)&&(a=r.dataMin,e.dataMin=Math.min(T(e.dataMin,a),a)),k(r.dataMax)&&(s=r.dataMax,e.dataMax=Math.max(T(e.dataMax,s),s)),g(o)&&(e.threshold=o),(!i.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),w(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,n,r,i,o){var a=this.linkedParent||this,s=r&&a.old?a.old.min:a.min;if(!k(s))return NaN;var l=a.minPixelPadding;i=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&i)&&a.lin2val;var c=1,u=0;return(r=r&&a.old?a.old.transA:a.transA)||(r=a.transA),n&&(c*=-1,u=a.len),a.reversed&&(u-=(c*=-1)*(a.sector||a.len)),e?(o=(t*c+u-l)/r+s,i&&(o=a.lin2val(o))):(i&&(t=a.val2lin(t)),t=c*(t-s)*r,o=(a.isRadial?t:m(t))+u+c*l+(k(o)?r*o:0)),o},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,n){return("pass"!==b&&tn)&&(b?t=f(t,e,n):a=!0),t}var n,r,i,o,a,s=this,l=s.chart,c=s.left,u=s.top,h=t.old,d=t.value,p=t.lineWidth,m=h&&l.oldChartHeight||l.chartHeight,g=h&&l.oldChartWidth||l.chartWidth,y=s.transB,v=t.translatedValue,b=t.force;return t={value:d,lineWidth:p,old:h,force:b,acrossPanes:t.acrossPanes,translatedValue:v},w(this,"getPlotLinePath",t,(function(t){v=T(v,s.translate(d,void 0,void 0,h)),v=f(v,-1e5,1e5),n=i=Math.round(v+y),r=o=Math.round(m-v-y),k(v)?s.horiz?(r=u,o=m-s.bottom,n=i=e(n,c,c+s.width)):(n=c,i=g-s.right,r=o=e(r,u,u+s.height)):(a=!0,b=!1),t.path=a&&!b?null:l.renderer.crispLine([["M",n,r],["L",i,o]],p||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,n){var r=m(Math.floor(e/t)*t);n=m(Math.ceil(n/t)*t);var i,o=[];if(m(r+t)===r&&(i=20),this.single)return[e];for(e=r;e<=n&&(o.push(e),(e=m(e+t,i))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?T(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,r=this.pointRangePadding||0,i=this.min-r,o=(r=this.max+r)-i,a=[];if(o&&o/n=this.minRange,u=this.minRange,h=(u-s+a)/2;h=[a-h,T(i.min,a-h)],c&&(h[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=d(h))+u,T(i.max,a+u)],c&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=p(s))-a=d)y=d,u=0;else if(this.dataMax<=d){var v=d;c=0}this.min=T(p,y,this.dataMin),this.max=T(f,v,this.dataMax)}if(n&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,T(this.dataMin,this.min))&&b(10,1,e),this.min=m(n.log2lin(this.min),16),this.max=m(n.log2lin(this.max),16)),this.range&&g(this.max)&&(this.userMin=this.min=p=Math.max(this.dataMin,this.minFromRange()),this.userMax=f=this.max,this.range=null),w(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&g(this.min)&&g(this.max)&&(e=this.max-this.min)&&(!g(p)&&u&&(this.min-=e*u),!g(f)&&c&&(this.max+=e*c)),k(this.userMin)||(k(r.softMin)&&r.softMinthis.max&&(this.max=f=r.softMax),k(r.ceiling)&&(this.max=Math.min(this.max,r.ceiling))),l&&g(this.dataMin)&&(d=d||0,!g(p)&&this.min=d?this.min=this.options.minRange?Math.min(d,this.max-this.minRange):d:!g(f)&&this.max>d&&this.dataMax<=d&&(this.max=this.options.minRange?Math.max(d,this.min+this.minRange):d)),k(this.min)&&k(this.max)&&!this.chart.polar&&this.min>this.max&&(g(this.options.min)?this.max=this.min:g(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:o&&this.linkedParent&&!h&&a===this.linkedParent.options.tickPixelInterval?h=this.linkedParent.tickInterval:T(h,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),i&&!t){var x=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(x)})),w(this,"postProcessData",{hasExtremesChanged:x})}this.setAxisTranslation(),w(this,"initialAxisTranslation"),this.pointRange&&!h&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=T(r.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!h&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)a=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)a=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(i=e=this.tickInterval;i<=2*e&&(a=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a.length>this.tickAmount);)this.tickInterval=L(this,i*=1.1);else a=[this.min,this.max],b(19,!1,this.chart);a.length>this.len&&(a=[a[0],a[a.length-1]])[0]===a[1]&&(a.length=1),r&&(this.tickPositions=a,(t=r.apply(this,[this.min,this.max]))&&(a=t))}this.tickPositions=a,this.paddedTicks=a.slice(0),this.trimTicks(a,s,o),!this.isLinked&&k(this.min)&&k(this.max)&&(this.single&&2>a.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),n||t||this.adjustTickAmount()),w(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,n){var r=t[0],i=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==r)this.min=r;else for(;this.min-o>t[0];)t.shift();if(n)this.max=i;else for(;this.max+on&&(this.finalTickAmt=n,n=5),this.tickAmount=n},t.prototype.adjustTickAmount=function(){var t=this,e=t.finalTickAmt,n=t.max,r=t.min,i=t.options,o=t.tickPositions,a=t.tickAmount,s=t.thresholdAlignment,l=o&&o.length,c=T(t.threshold,t.softThreshold?0:null),u=t.tickInterval;if(k(s)){var h=.5>s?Math.ceil(s*(a-1)):Math.floor(s*(a-1));i.reversed&&(h=a-1-h)}if(t.hasData()&&k(r)&&k(n)){if(s=function(){t.transA*=(l-1)/(a-1),t.min=i.startOnTick?o[0]:Math.min(r,o[0]),t.max=i.endOnTick?o[o.length-1]:Math.max(n,o[o.length-1])},k(h)&&k(t.threshold)){for(;o[h]!==c||o.length!==a||o[0]>r||o[o.length-1]t.threshold?o.unshift(m(o[0]-u)):o.push(m(o[o.length-1]+u));if(u>8*t.tickInterval)break;u*=2}s()}else if(l=e&&0s&&(e=s)),g(i)&&(os&&(o=s))),n.displayBtn=void 0!==e||void 0!==o,n.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],r=this.horiz,i=this.width=Math.round(P(T(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),o=this.height=Math.round(P(T(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(P(T(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(P(T(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-i-e,this.len=Math.max(r?i:o,0),this.pos=r?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:ee?t.align="right":195e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,n=T(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),r=e["tick"===t?"tickLength":"minorTickLength"];if(n&&r){"inside"===e[t+"Position"]&&(r=-r);var i=[r,n]}return w(this,"afterTickSize",t={tickSize:i}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t=this.options.labels,e=this.horiz,n=this.tickInterval,r=this.len/(((this.categories?1:0)+this.max-this.min)/n),i=t.rotation,o=this.labelMetrics(),a=Math.max(this.max-this.min,0),s=function(t){var e=t/(r||1);return(e=1a&&1/0!==t&&1/0!==r&&a&&(e=Math.ceil(a/n)),m(e*n)},l=n,c=Number.MAX_VALUE;if(e){if(!t.staggerLines)if(k(i))var u=[i];else r=g)&&(d=(e=s(Math.abs(o.h/Math.sin(h*g))))+Math.abs(g/360))r.step)return r.rotation?0:(this.staggerLines||1)*this.len/i;if(!n){if(void 0!==(t=r.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,r=this.ticks,i=this.options.labels,o=i.style,a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*i.padding)),c={},u=this.labelMetrics(),h=o.textOverflow,d=0;if(C(i.rotation)||(c.rotation=i.rotation||0),n.forEach((function(t){(t=r[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>d&&(d=t.label.textPxLength)})),this.maxLabelLength=d,this.autoRotation)d>l&&d>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var p=l;if(!h){var f="clip";for(l=n.length;!a&&l--;){var m=n[l];(m=r[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>s&&m.css({width:s+"px"}),m.getBBox().height>this.len/n.length-(u.h-u.f)&&(m.specificTextOverflow="ellipsis"))}}}c.rotation&&(p=d>.5*t.chartHeight?.33*t.chartHeight:d,h||(f="ellipsis")),(this.labelAlign=i.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach((function(t){var e=(t=r[t])&&t.label,n=o.width,i={};e&&(e.attr(c),t.shortenLabel?t.shortenLabel():p&&!n&&"nowrap"!==o.whiteSpace&&(p=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(r[t]||(r[t]=new a(this,t)),n&&r[t].isNew&&r[t].render(e,!0,-1),r[t].render(e))},t.prototype.render=function(){var t,e,n=this,r=n.chart,i=n.logarithmic,s=n.options,c=n.isLinked,u=n.tickPositions,h=n.axisTitle,d=n.ticks,p=n.minorTicks,f=n.alternateBands,m=s.stackLabels,g=s.alternateGridColor,y=n.tickmarkOffset,v=n.axisLine,b=n.showAxis,x=l(r.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[d,p,f].forEach((function(t){M(t,(function(t){t.isActive=!1}))})),n.hasData()||c){var S=n.chart.hasRendered&&n.old&&k(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,S)})),u.length&&(u.forEach((function(t,e){n.renderTick(t,e,S)})),y&&(0===n.min||n.single)&&(d[-1]||(d[-1]=new a(n,-1,null,!0)),d[-1].render(-1))),g&&u.forEach((function(a,s){e=void 0!==u[s+1]?u[s+1]+y:n.max-y,0==s%2&&ae&&(!o||l<=n)&&void 0!==l&&c.push(l),l>n&&(d=!0),l=f}}}else e=this.lin2log(e),n=this.lin2log(n),t=o?a.getMinorTickInterval():l.tickInterval,t=i("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(o?5:1)*(n-e)/((o?s/a.tickPositions.length:s)||1)),t=r(t),c=a.getLinearTickPositions(t,e,n).map(this.log2lin),o||(this.minorAutoInterval=t/5);return o||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=s}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.erase,r=t.extend,i=t.isNumber;return function(t){var e,o=[];t.compose=function(t,n){return e||(e=t),-1===o.indexOf(n)&&(o.push(n),r(n.prototype,a.prototype)),n};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,n){void 0===n&&(n=this.options);var r=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),o=[],a=this.horiz;if(e=!i(this.min)||!i(this.max)||tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),n=1,t&&r){if(e){var s=t.toString()===r.toString();n=0}for(e=0;ey-l?y:y-l);else{if(!m)return!1;s[t]=Math.max(a,i+l+n>e?i:i+l)}},b=function(t,e,n,r,i){var a;return ie-o?a=!1:s[t]=ie-r/2?e-r-2:i-n/2,a},x=function(t){var e=f;f=m,m=e,r=t},w=function(){!1!==y.apply(0,f)?!1!==b.apply(0,m)||r||(x(!0),w()):r?s.x=s.y=0:(x(!0),w())};return(i.inverted||1e}))&&(t=t.map((function(t){var e=n(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return d(t,{target:e.y,x:e.x})}))),r.cleanSplit(),s(t,L);var I=O,D=O;t.forEach((function(t){var e=t.x,n=t.boxWidth;(t=t.isHeader)||(r.outside&&O+eD&&(D=O+e))})),t.forEach((function(t){var e=t.x,n=t.anchorX,i=t.pos,o=t.point.isHeader;if(i={visibility:void 0===i?"hidden":"inherit",x:e,y:i+j,anchorX:n,anchorY:t.anchorY},r.outside&&en[0]?Math.max(Math.abs(n[0]),i.width-n[0]):Math.max(Math.abs(n[0]),i.width),r.height=0>n[1]?Math.max(Math.abs(n[1]),i.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),i.height),this.tracker?this.tracker.attr(r):(this.tracker=e.renderer.rect(r).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=t.series,r=n.tooltipOptions,i=n.xAxis,a=i&&i.dateTime;i={isFooter:e,labelConfig:t};var s=r.xDateFormat,l=r[e?"footerFormat":"headerFormat"];return p(this,"headerFormatter",i,(function(e){a&&!s&&m(t.key)&&(s=a.getXDateFormat(t.key,r.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){l=l.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=o(l,{point:t,series:n},this.chart)})),i.text},t.prototype.update=function(t){this.destroy(),y(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,y(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,n=this.options,r=e.pointer,i=this.getLabel();r=r.getChartPosition();var o=(n.positioner||this.getPosition).call(this,i.width,i.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(n=n.borderWidth+2*this.distance,this.renderer.setSize(i.width+n,i.height+n,!1),1===r.scaleX&&1===r.scaleY||(c(this.container,{transform:"scale(".concat(r.scaleX,", ").concat(r.scaleY,")")}),a*=r.scaleX,t*=r.scaleY),a+=r.left-o.x,t+=r.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),a,t)},t}(),t})),e(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,r,i){var o=e.animObject,a=n.defaultOptions,s=r.format,l=i.addEvent,c=i.defined,u=i.erase,h=i.extend,d=i.fireEvent,p=i.getNestedProperty,f=i.isArray,m=i.isFunction,g=i.isNumber,y=i.isObject,v=i.merge,b=i.objectEach,x=i.pick,w=i.syncTimeout,S=i.removeEvent,k=i.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(h({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,n){var r=this.series,i=r.options.pointValKey||r.pointValKey;return t=e.prototype.optionsToObject.call(this,t),h(this,t),this.options=this.options?h(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,i&&(this.y=e.prototype.getNestedProperty.call(this,i)),this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&r.xAxis&&r.xAxis.hasNames&&(this.x=r.xAxis.nameToX(this)),void 0===this.x&&r?this.x=void 0===n?r.autoIncrement():n:g(t.x)&&r.options.relativeXValue&&(this.x=r.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(i in(e.graphic||e.graphics||e.dataLabel||e.dataLabels)&&(S(e),e.destroyElements()),e)e[i]=null}var e=this,n=e.series,r=n.chart;n=n.options.dataSorting;var i,a=r.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&r.legend.destroyItem(e),a&&(e.setState(),u(a,e),a.length||(r.hoverPoints=null)),e===r.hoverPoint&&e.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),w(t,s.duration)):t(),r.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,n){var r=this,i=this.series.options;(i.point.events[t]||r.options&&r.options.events&&r.options.events[t])&&r.importEvents(),"click"===t&&i.allowPointSelect&&(n=function(t){r.select&&r.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),d(r,t,e,n)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,n=this,r=[],i={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","shadowGroup"),t.dataLabel&&r.push("dataLabel","dataLabelPath","dataLabelUpper","connector"),e=r.length;e--;){var o=r[e];n[o]&&i.singular.push(o)}return["graphic","dataLabel","connector"].forEach((function(e){var r=e+"s";t[e]&&n[r]&&i.plural.push(r)})),i},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?p(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var n,r=0;for(n=e[r];this[t]>=n.value;)n=e[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=c(this.id)?this.id:k(),this.resolveColor(),t.chart.pointCount++,d(this,"afterInit"),this},e.prototype.isValid=function(){return null!==this.x&&g(this.y)},e.prototype.optionsToObject=function(t){var n=this.series,r=n.options.keys,i=r||n.pointArrayMap||["y"],o=i.length,a={},s=0,l=0;if(g(t)||null===t)a[i[0]]=t;else if(f(t))for(!r&&t.length>o&&("string"==(n=typeof t[0])?a.name=t[0]:"number"===n&&(a.x=t[0]),s++);lr+a&&(d=r+a),po+s&&(p=o+s),this.hasDragged=Math.sqrt(Math.pow(l-d,2)+Math.pow(c-p,2)),10t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,i),(i=m(t,!0)&&t.series)&&!(i=!m(r,!0))){i=r.distX-t.distX;var o=r.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(r.series.group&&r.series.group.zIndex);i=0<(0!==i&&e?i:0!==o?o:0!==a?a:r.series.index>t.series.index?-1:1)}i&&(r=t)})),r},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,r=n.xAxis;n=n.yAxis;var i=t.shapeArgs;if(r&&n){var o=v(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&i&&f(i.x)&&f(i.y)&&(o=i.x,a=i.y),e?{chartX:n.len+n.pos-a,chartY:r.len+r.pos-o}:{chartX:o+r.pos,chartY:a+n.pos}}if(i&&i.x&&i.y)return{chartX:i.x,chartY:i.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=y(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var n=t.offsetWidth;return t=t.offsetHeight,2m.max&&(n=m.max-b,C=!0);C?(S-=.8*(S-a[c][0]),"number"==typeof k&&(k-=.8*(k-a[c][1])),e()):a[c]=[S,k],f||(o[c]=x-p,o[d]=b),o=f?1/w:w,i[d]=b,i[c]=n,r[f?t?"scaleY":"scaleX":"scale"+u]=w,r["translate"+u]=o*p+(S-o*y)},t.prototype.reset=function(t,e){var n=this.chart,r=n.hoverSeries,i=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:i;t&&s&&b(s).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?a&&s&&b(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):i&&(i.setState(i.state,!0),n.axes.forEach((function(t){t.crosshair&&i.series[t.coll]===t&&t.drawCrosshair(null,i)})))):(i&&i.onMouseOut(),o&&o.forEach((function(t){t.setState()})),r&&r.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(e,n){var r=this.chart,i=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,a=!!i&&i.shared,l=n||r.hoverPoint,c=l&&l.series||r.hoverSeries;n=this.getHoverData(l,c,r.series,(!e||"touchmove"!==e.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),a,e),l=n.hoverPoint,c=n.hoverSeries;var u=n.hoverPoints;n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var h=a&&c&&!c.noSharedTooltip;if(l&&(l!==r.hoverPoint||i&&i.isHidden)){if((r.hoverPoints||[]).forEach((function(t){-1===u.indexOf(t)&&t.setState()})),r.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(t){t.setState("hover")})),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!l.series)return;r.hoverPoints=u,r.hoverPoint=l,l.firePointEvent("mouseOver",void 0,(function(){i&&l&&i.refresh(h?u:l,e)}))}else n&&i&&!i.isHidden&&(a=i.getAnchor([{}],e),r.isInsidePlot(a[0],a[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(r.container.ownerDocument,"mousemove",(function(e){var n=o[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),r.axes.forEach((function(t){var n,i=v((t.crosshair||{}).snap,!0);i&&((n=r.hoverPoint)&&n.series[t.coll]===t||(n=d(u,(function(e){return e.series&&e.series[t.coll]===t})))),n||!i?t.drawCrosshair(e,n):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var n=this.chart;n.series.forEach((function(r){var i=t||r.getPlotBox();r.group&&(r.xAxis&&r.xAxis.zoomEnabled||n.mapView)&&(r.group.attr(i),r.markerGroup&&(r.markerGroup.attr(i),r.markerGroup.clip(e?n.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(i))})),n.clipRect.attr(e||n.clipBox)},t.prototype.setDOMEvents=function(){var n=this,r=this.chart.container,i=r.ownerDocument;r.onmousedown=this.onContainerMouseDown.bind(this),r.onmousemove=this.onContainerMouseMove.bind(this),r.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(r,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(r,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete n.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(r,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(r,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var n=this.chart,r=e.charts[v(t.hoverChartIndex,-1)];r&&r!==n&&r.pointer.onContainerMouseLeave({relatedTarget:n.container}),r&&r.mouseIsDown||(t.hoverChartIndex=n.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var r=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));v(r,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart;e=e.inverted;var r=n.zooming.type||"";/touch/.test(t.type)&&(r=v(n.zooming.pinchType,r)),this.zoomX=t=/x/.test(r),this.zoomY=n=/y/.test(r),this.zoomHor=t&&!e||n&&e,this.zoomVert=n&&!e||t&&e,this.hasZoom=t||n},t}(),t})),e(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(t,e,n){function r(){var t=[];return t.item=function(t){return this[t]},d(m,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function i(t,n,i,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[n]({type:i,target:t.currentTarget,preventDefault:l,touches:r()}))}var o=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=t.charts,s=t.doc,l=t.noop,c=t.win,u=n.addEvent,h=n.css,d=n.objectEach,p=n.pick,f=n.removeEvent,m={},g=!!c.PointerEvent;return function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},n.prototype.batchMSEvents=function(t){t(this.chart.container,g?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,g?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,g?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(f),e.prototype.destroy.call(this)},n.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this.hasZoom&&h(t.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",(function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},n.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",(function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY},m[t.pointerId].target||(m[t.pointerId].target=t.currentTarget)}))},n.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",(function(t){delete m[t.pointerId]}))},n.prototype.setDOMEvents=function(){var t=this.chart.tooltip;e.prototype.setDOMEvents.call(this),(this.hasZoom||p(t&&t.options.followTouchMove,!0))&&this.batchMSEvents(u)},n}(e)})),e(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,r,i,o){var a=t.animObject,s=t.setAnimation,l=e.format,c=n.marginNames,u=i.distribute,h=o.addEvent,d=o.createElement,p=o.css,f=o.defined,m=o.discardElement,g=o.find,y=o.fireEvent,v=o.isNumber,b=o.merge,x=o.pick,w=o.relativeLength,S=o.stableSort,k=o.syncTimeout;return t=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),h(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=h(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=x(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=b(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=x(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var n=this.chart;this.setOptions(b(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,x(e,!0)&&n.redraw(),y(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){var n=t.legendItem||{},r=n.group,i=n.label,o=n.line;if(n=n.symbol,r&&r[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var a=this.options;r=this.itemHiddenStyle.color,a=e?a.itemStyle.color:r;var s=e&&t.color||r,l=t.options&&t.options.marker,c={fill:s};i&&i.css({fill:a,color:a}),o&&o.attr({stroke:s}),n&&(l&&n.isMarker&&(c=t.pointAttribs(),e||(c.stroke=c.fill=r)),n.attr(c))}y(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,n=t.legendItem||{},r=n.group,i=n.x;i=void 0===i?0:i,n=void 0===(n=n.y)?0:n;var o=this.options,a=o.symbolPadding,s=!o.rtl;o=t.checkbox,r&&r.element&&(a={translateX:s?i:this.legendWidth-i-2*a-4,translateY:n},r[f(r.translateY)?"animate":"attr"](a,void 0,(function(){y(e,"afterPositionItem",{item:t})}))),o&&(o.x=i,o.y=n)},t.prototype.destroyItem=function(t){for(var e=t.checkbox,n=t.legendItem||{},r=0,i=["group","label","line","symbol"];rr-6&&a1.5*r?n.height:r))},t.prototype.layoutItem=function(t){var e=this.options,n=this.padding,r="horizontal"===e.layout,i=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=r?x(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth;var c=t.legendItem||{};r&&this.itemX-n+e>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(i,this.lastLineHeight),c.x=this.itemX,c.y=this.itemY,r?this.itemX+=e:(this.itemY+=a+i+o,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var n=e&&e.options;e&&x(n.showInLegend,!f(n.linkedTo)&&void 0,!0)&&(t=t.concat((e.legendItem||{}).labels||("point"===n.legendType?e.data:e)))})),y(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var n=this.chart,r=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(i)&&!f(t[a])&&(n[c[a]]=Math.max(n[c[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*r[a%2?"x":"y"]+x(r.margin,12)+e[a]+(n.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(r){var i,o=n;if(r.yAxis){r.xAxis.options.reversed&&(o=!o),r.points&&(i=g(o?r.points:r.points.slice(0).reverse(),(function(t){return v(t.plotY)}))),o=this.itemMarginTop+r.legendItem.label.getBBox().height+this.itemMarginBottom;var a=r.yAxis.top-t.plotTop;r.visible?(i=i?i.plotY:r.yAxis.height,i+=a-.3*o):i=a+r.yAxis.height,e.push({target:i,size:o,item:r})}}),this);for(var r,i=0,o=u(e,t.plotHeight);il&&!1!==d.enabled?(this.clipHeight=e=Math.max(l-20-this.titleHeight-u,0),this.currentPage=x(this.currentPage,1),this.fullHeight=t,g.forEach((function(t,i){t=(r=t.legendItem||{}).y||0;var o=Math.round(r.label.getBBox().height),a=m.length;(!a||t-m[a-1]>e&&(n||t)!==m[a-1])&&(m.push(n||t),a++),r.pageIx=a-1,n&&((g[i-1].legendItem||{}).pageIx=a-1),i===g.length-1&&t+o-m[a-1]>e&&o<=e&&(m.push(t),r.pageIx=a),t!==n&&(n=t)})),w||(w=i.clipRect=a.clipRect(0,u,9999,0),i.contentGroup.clip(w)),y(e),b||(this.nav=b=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,f,f).add(b),v("upTracker").on("click",(function(){i.scroll(-1,p)})),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&d.style&&this.pager.css(d.style),this.pager.add(b),this.down=a.symbol("triangle-down",0,0,f,f).add(b),v("downTracker").on("click",(function(){i.scroll(1,p)}))),i.scroll(0),t=l):b&&(y(),this.nav=b.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var n=this,r=this.chart,i=this.pages,o=i.length,l=this.clipHeight,c=this.options.navigation,u=this.pager,h=this.padding,d=this.currentPage+t;d>o&&(d=o),0=Math.max(l+o,h.pos)&&s<=Math.min(l+o+i.width,h.pos+h.len)||(t.isInsidePlot=!1)}return!n.ignoreY&&t.isInsidePlot&&(r=n.axis&&!n.axis.isXAxis&&n.axis||u&&(r?u.xAxis:u.yAxis)||{pos:a,len:1/0},(n=n.paneCoordinates?r.pos+e:a+e)>=Math.max(c+a,r.pos)&&n<=Math.min(c+a+i.height,r.pos+r.len)||(t.isInsidePlot=!1)),F(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){F(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,r=this.pointer,i=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[],c=this.isDirtyBox,u=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),y(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=n.length;t--;){var h=n[t];if(h.options.stacking||h.options.centerInCategory){var d=!0;if(h.isDirty){var p=!0;break}}}if(p)for(t=n.length;t--;)(h=n[t]).options.stacking&&(h.isDirty=!0);n.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),u=!0):o&&(o.labelFormatter||o.labelFormat)&&(u=!0)),t.isDirtyData&&F(t,"updatedData")})),u&&i&&i.options.enabled&&(i.render(),this.isDirtyLegend=!1),d&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(c=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){F(t,"afterSetExtremes",R(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(c||d)&&t.redraw()})),c&&this.drawChartBox(),F(this,"predraw"),n.forEach((function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),r&&r.reset(!0),a.draw(),F(this,"redraw"),F(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var n=this.series,r=z(this.axes,e)||z(this.series,e),i=0;!r&&in.pointCount))},t.prototype.pan=function(t,e){var n=this,r=n.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var i=n.options.chart;i&&i.panning&&(i.panning=e);var o,a=e.type;F(this,"pan",{originalEvent:t},(function(){r&&r.forEach((function(t){t.setState()}));var e=n.xAxis;"xy"===a?e=e.concat(n.yAxis):"y"===a&&(e=n.yAxis);var i={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var r=e.horiz,s=t[r?"chartX":"chartY"],l=n[r=r?"mouseDownX":"mouseDownY"],c=e.minPointOffset||0,u=e.reversed&&!n.inverted||!e.reversed&&n.inverted?-1:1,h=e.getExtremes(),d=e.toValue(l-s,!0)+c*u,p=e.toValue(l+e.len-s,!0)-(c*u||e.isXAxis&&e.pointRangePadding||0),f=p=u&&d<=p&&(e.setExtremes(l,d,!1,!1,{trigger:"pan"}),!n.resetZoomButton&&l!==u&&d!==p&&a.match("y")&&(n.showResetZoom(),e.displayBtn=!1),o=!0),i[r]=s)}})),Y(i,(function(t,e){n[e]=t})),o&&n.redraw(!1),_(n.container,{cursor:"move"})}))},t}(),R(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.merge,r=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.legendItem=this.legendItem||{},i=this.options,o=t.symbolWidth,a=t.symbolHeight,s=a/2,l=this.chart.renderer,c=e.group;t=t.baseline-Math.round(.3*t.fontMetrics.b);var u={},h=i.marker;this.chart.styledMode||(u={"stroke-width":i.lineWidth||0},i.dashStyle&&(u.dashstyle=i.dashStyle)),e.line=l.path([["M",0,t],["L",o,t]]).addClass("highcharts-graph").attr(u).add(c),h&&!1!==h.enabled&&o&&(i=Math.min(r(h.radius,s),s),0===this.symbol.indexOf("url")&&(h=n(h,{width:a,height:a}),i=0),e.symbol=e=l.symbol(this.symbol,o/2-i,t-i,2*i,2*i,h).addClass("highcharts-point").add(c),e.isMarker=!0)},t.drawRectangle=function(t,e){e=e.legendItem||{};var n=t.symbolHeight,i=t.options.squareSymbol;e.symbol=this.chart.renderer.rect(i?(t.symbolWidth-n)/2:0,t.baseline-n+1,i?n:t.symbolWidth,n,r(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.group)}}(e||(e={})),e})),e(n,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n,r,i,o,a,s,l,c){var u=t.animObject,h=t.setAnimation,d=e.defaultOptions,p=n.registerEventOptions,f=r.hasTouch,m=r.svg,g=r.win,y=s.seriesTypes,v=c.addEvent,b=c.arrayMax,x=c.arrayMin,w=c.clamp,S=c.cleanRecursively,k=c.correctFloat,C=c.defined,A=c.erase,E=c.error,M=c.extend,T=c.find,P=c.fireEvent,O=c.getNestedProperty,j=c.isArray,_=c.isNumber,L=c.isString,I=c.merge,D=c.objectEach,N=c.pick,R=c.removeEvent,z=c.splat,F=c.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){P(this,"init",{options:e});var n=this,r=t.series;this.eventsToUnbind=[],n.chart=t,n.options=n.setOptions(e),e=n.options,n.linkedSeries=[],n.bindAxes(),M(n,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),p(this,e);var i,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(t){n[t+"Data"]||(n[t+"Data"]=[])})),n.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(i=r[r.length-1]),n._i=N(i&&i._i,-1)+1,n.opacity=n.options.opacity,t.orderSeries(this.insert(r)),e.dataSorting&&e.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(e.data,!1),P(this,"afterInit")},t.prototype.is=function(t){return y[t]&&this instanceof y[t]},t.prototype.insert=function(t){var e,n=this.options.index;if(_(n)){for(e=t.length;e--;)if(n>=N(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return N(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,n=e.options,r=e.chart;P(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(i){var o=0;r[i].forEach((function(r){t=r.options,(n[i]===o&&!t.isInternal||void 0!==n[i]&&n[i]===t.id||void 0===n[i]&&0===t.index)&&(e.insert(r.series),e[i]=r,r.isDirty=!0),t.isInternal||o++})),e[i]||e.optionalAxis===i||E(18,!0,r)}))})),P(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var n=t.series,r=arguments,i=_(e)?function(r){var i="y"===r&&n.toYData?n.toYData(t):t[r];n[r+"Data"][e]=i}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(r,2))};n.parallelArrays.forEach(i)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?c-this.cropStart:c),!r&&_(c)&&s[c]&&s[c].touched&&(c=void 0),c},t.prototype.updateData=function(t,e){var n,r,i,o=this.options,a=o.dataSorting,s=this.points,l=[],c=this.requireSorting,u=t.length===s.length,h=!0;if(this.xIncrement=null,t.forEach((function(t,e){var r=C(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},h=r.x;r.id||_(h)?(-1===(r=this.findPointIndex(r,i))||void 0===r?l.push(t):s[r]&&t!==o.data[r]?(s[r].update(t,!1,null,!1),s[r].touched=!0,c&&(i=r+1)):s[r]&&(s[r].touched=!0),(!u||e!==r||a&&a.enabled||this.hasDerivedData)&&(n=!0)):l.push(t)}),this),n)for(t=s.length;t--;)(r=s[t])&&!r.touched&&r.remove&&r.remove(!1,e);else!u||a&&a.enabled?h=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),l.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!h&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,n,r){void 0===e&&(e=!0);var i=this,o=i.points,a=o&&o.length||0,s=i.options,l=i.chart,c=s.dataSorting,u=i.xAxis,h=s.turboThreshold,d=this.xData,p=this.yData,f=i.pointArrayMap;f=f&&f.length;var m,g=s.keys,y=0,v=1,b=null;if(!l.options.chart.allowMutatingData){s.data&&delete i.options.data,i.userOptions.data&&delete i.userOptions.data;var x=I(!0,t)}if(x=(t=x||t||[]).length,c&&c.enabled&&(t=this.sortData(t)),l.options.chart.allowMutatingData&&!1!==r&&x&&a&&!i.cropped&&!i.hasGroupedData&&i.visible&&!i.boosted&&(m=this.updateData(t,n)),!m){if(i.xIncrement=null,i.colorCounter=0,this.parallelArrays.forEach((function(t){i[t+"Data"].length=0})),h&&x>h)if(b=i.getFirstValidPoint(t),_(b))for(n=0;nt?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var n=e.options,i=n.data;n.dataSorting&&n.dataSorting.enabled||!i||(i.forEach((function(n,o){i[o]=r(e,n),t[o]&&(i[o].x=t[o].x,i[o].index=o)})),e.setData(i,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,n=this.options,r=n.cropThreshold,i=t||this.getExtremesFromAll||n.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,n=!(!e||!e.logarithmic);var a=0,s=this.xData,l=this.yData,c=this.requireSorting,u=!1,h=s.length;if(e){var d=(u=e.getExtremes()).min,p=u.max;u=!(!e.categories||e.names.length)}if(o&&this.sorted&&!i&&(!r||h>r||this.forceCrop))if(s[h-1]p)s=[],l=[];else if(this.yData&&(s[0]p)){var f=this.cropData(this.xData,this.yData,d,p);s=f.xData,l=f.yData,a=f.start,f=!0}for(r=s.length||1;--r;)if(0<(e=n?t(s[r])-t(s[r-1]):s[r]-s[r-1])&&(void 0===m||ee&&c&&!u&&(E(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:f,cropStart:a,closestPointRange:m}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,P(this,"afterProcessData")},t.prototype.cropData=function(t,e,n,r,i){var o,a=t.length,s=0,l=a;for(i=N(i,this.cropShoulder),o=0;o=n){s=Math.max(0,o-i);break}for(n=o;nr){l=n+i;break}return{xData:t.slice(s,l),yData:e.slice(s,l),start:s,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=this.processedData||t.data,n=this.processedXData,r=this.processedYData,i=this.pointClass,o=n.length,a=this.cropStart||0,s=this.hasGroupedData,l=t.keys,c=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var u,h,d=this.data;if(!d&&!s){var p=[];p.length=e.length,d=this.data=p}for(l&&s&&(this.options.keys=!1),h=0;h=l&&(i[s-a]||p)<=c,f&&p)if(f=d.length)for(;f--;)_(d[f])&&(o[u++]=d[f]);else o[u++]=d}return t={activeYData:o,dataMin:x(o),dataMax:b(o)},P(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,n=0,r=null;null===r&&n=S&&(S=null),g.total=g.stackTotal=v.total,g.percentage=v.total&&g.y/v.total*100,g.stackY=x,this.irregularWidths||v.setOffset(this.pointXOffset||0,this.barW||0)),g.yBottom=C(S)?w(s.translate(S,0,1,0,1),-1e5,1e5):null,this.dataModify&&(x=this.dataModify.modifyValue(x,t)),g.plotY=void 0,_(x)&&void 0!==(v=s.translate(x,!1,!0,!1,!0))&&(g.plotY=w(v,-1e5,1e5)),g.isInside=this.isPointInside(g),g.clientX=h?k(i.translate(y,0,0,0,1,u)):e,g.negative=g[f]<(n[f+"Threshold"]||d||0),g.category=N(o&&o[g.x],g.x),!g.isNull&&!1!==g.visible){void 0!==M&&(m=Math.min(m,Math.abs(e-M)));var M=e}g.zone=this.zones.length?g.getZone():void 0,!g.graphic&&this.group&&a&&(g.isNew=!0)}this.closestPointRangePx=m,P(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,n){var r=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!r.isInsidePlot(t.plotX,t.plotY,{inverted:r.inverted}))&&!1!==t.visible&&(n||!t.isNull)}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis,r=I(t.clipBox);return e&&e.len!==t.plotSizeX&&(r.width=e.len),n&&n.len!==t.plotSizeY&&(r.height=n.len),r},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,n=this.markerGroup,r=t.sharedClips;t=t.renderer;var i=this.getClipBox(),o=this.getSharedClipKey(),a=r[o];a?a.animate(i):r[o]=a=t.clipRect(i),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()},t.prototype.animate=function(t){var e=this.chart,n=this.group,r=this.markerGroup,i=e.inverted,o=u(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],l=e.sharedClips[a+"m"];if(t&&n)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,i&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,l=e.renderer.clipRect({x:i?(e.plotSizeX||0)+99:-99,y:i?-e.plotLeft:-e.plotTop,width:99,height:i?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=l),n.clip(s),r&&r.clip(l);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var c=o.step;r&&r.element.childNodes.length&&(o.step=function(t,e){c&&c.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),D(this.chart.sharedClips,(function(e,n,r){e&&!t.chart.container.querySelector('[clip-path="url(#'.concat(e.id,')"]'))&&(e.destroy(),delete r[n])})),this.finishedAnimating=!0,P(this,"afterAnimate")},t.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var e,n,r=this.chart,i=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=N(i.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=i.enabledThreshold*i.radius);if(!1!==i.enabled||this._hasPointMarkers)for(e=0;eS.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=d}else l.visible&&(p&&p.show(),f&&f.show())},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){n[e]&&(r.renderer.isVML&&n[e].attr({width:n.yAxis.len,height:n.xAxis.len}),n[e].width=n.yAxis.len,n[e].height=n.xAxis.len,n[e].invert(!n.isRadialSeries&&t))}))}var n=this,r=n.chart;n.xAxis&&(n.eventsToUnbind.push(v(r,"resize",e)),e(),n.invertGroups=e)},t.prototype.plotGroup=function(t,e,n,r,i){var o=this[t],a=!o;return n={visibility:n,zIndex:r||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(i)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(C(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(n)[a?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||R(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,n=t.options,r=u(n.animation),i=t.visible?"inherit":"hidden",o=n.zIndex,a=t.hasRendered,s=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?r.duration:0,P(this,"render");var c=t.plotGroup("group","series",i,o,s);t.markerGroup=t.plotGroup("markerGroup","markers",i,o,s),!1!==n.clip&&t.setClip(),t.animate&&e&&t.animate(!0),c.inverted=!!N(t.invertible,t.isCartesian)&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),a||(e&&r.defer&&(e+=r.defer),t.animationTimeout=F((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,r=this.xAxis,i=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:N(r&&r.left,t.plotLeft),translateY:N(i&&i.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var n=this.xAxis,r=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:i?r.len-t.chartX+r.pos:t.chartY-r.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,r,i){var o=t&&t.length;if(o){var a=n.kdAxisArray[r%i];return t.sort((function(t,e){return t[a]-e[a]})),{point:t[o=Math.floor(o/2)],left:e(t.slice(0,o),r+1,i),right:e(t.slice(o+1),r+1,i)}}}this.buildingKdTree=!0;var n=this,r=-1(u=e[u]-c[u])?"right":"left",n[p=0>u?"left":"right"]&&(h=(p=t(e,n[p],s+1,l))[a]p;)f--;this.updateParallelArrays(d,"splice",f,0,0),this.updateParallelArrays(d,f),l&&d.name&&(l[p]=d.name),u.splice(f,0,t),(c||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(d,"shift"),u.shift())),!1!==i&&P(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(r)},t.prototype.removePoint=function(t,e,n){var r=this,i=r.data,o=i[t],a=r.points,s=r.chart,l=function(){a&&a.length===i.length&&a.splice(t,1),i.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(o||{series:r},"splice",t,1),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&s.redraw()};h(n,s),e=N(e,!0),o?o.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,n,r){function i(){o.destroy(r),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),N(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==n?P(o,"remove",null,i):i()},t.prototype.update=function(t,e){t=S(t,this.userOptions),P(this,"update",{options:t});var n=this,r=n.chart,i=n.userOptions,o=n.initialType||n.type,a=r.options.plotOptions,s=y[o].prototype,l=n.finishedAnimating&&{animation:!1},c={},u=["eventOptions","navigatorSeries","baseSeries"],h=t.type||i.type||r.options.chart.type,d=!(this.hasDerivedData||h&&h!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(h=h||o,d&&(u.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&u.push("area","graph"),n.parallelArrays.forEach((function(t){u.push(t+"Data")})),t.data&&(t.dataSorting&&M(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=I(i,l,{index:void 0===i.index?n.index:i.index,pointStart:N(a&&a.series&&a.series.pointStart,i.pointStart,n.xData[0])},!d&&{data:n.options.data},t),d&&t.data&&(t.data=n.options.data),(u=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(u)).forEach((function(t){u[t]=n[t],delete n[t]})),a=!1,y[h]){if(a=h!==n.type,n.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(n,y[h].prototype);else{for(p in l=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,s)n[p]=void 0;M(n,y[h].prototype),l?n.hcEvents=l:delete n.hcEvents}}else E(17,!0,r,{missingModuleFor:h});if(u.forEach((function(t){n[t]=u[t]})),n.init(r,t),d&&this.points){if(!1===(t=n.options).visible)c.graphic=1,c.dataLabel=1;else if(!n._hasPointLabels){s=t.marker;var p=t.dataLabels;!s||!1!==s.enabled&&(i.marker&&i.marker.symbol)===s.symbol||(c.graphic=1),p&&!1===p.enabled&&(c.dataLabel=1)}for(i=0,s=this.points;io&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(t,e,n){var r,o=this,a=o.options,s=[],l=[],c=a.step,u=(t=t||o.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!n))).forEach((function(u,h){var d=u.plotX,p=u.plotY,f=t[h-1];(u.leftCliff||f&&f.rightCliff)&&!n&&(r=!0),u.isNull&&!i(e)&&0t&&u>i?h=2*i-(u=Math.max(t,i)):un&&h>i?u=2*i-(h=Math.max(n,i)):h=Math.abs(e)&&.5t.closestPointRange*t.xAxis.transA;r=t.borderWidth=x(n.borderWidth,r?0:1);var i=t.xAxis,a=t.yAxis,s=n.threshold,l=t.translatedThreshold=a.getThreshold(s),c=x(n.minPointLength,5),u=t.getColumnMetrics(),h=u.width,p=t.pointXOffset=u.offset,m=t.dataMin,g=t.dataMax,y=t.barW=Math.max(h,1+2*r);e.inverted&&(l-=.5),n.pointPadding&&(y=Math.ceil(y)),o.prototype.translate.apply(t),t.points.forEach((function(r){var o=x(r.yBottom,l),b=999+Math.abs(o),w=r.plotX||0;b=d(r.plotY,-b,a.len+b);var S=Math.min(b,o),k=Math.max(b,o)-S,C=h,A=w+p,E=y;c&&Math.abs(k)c?o-c:l-(w?c:0)),f(r.options.pointWidth)&&(C=E=Math.ceil(r.options.pointWidth),A-=Math.round((C-h)/2)),n.centerInCategory&&(A=t.adjustForMissingColumns(A,C,r,u)),r.barX=A,r.pointWidth=C,r.tooltipPos=e.inverted?[d(a.len+a.pos-e.plotLeft-b,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),i.len+i.pos-e.plotTop-A-E/2,k]:[i.left-e.plotLeft+A+E/2,d(b+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),k],r.shapeType=t.pointClass.prototype.shapeType||"rect",r.shapeArgs=t.crispCol.apply(t,r.isNull?[A,l,E,0]:[A,S,E,k])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var n=this.options,r=this.pointAttrToOptions||{},i=r.stroke||"borderColor",o=r["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[i]||n[i]||a;r=t&&t.options.dashStyle||n.dashStyle;var l=t&&t[o]||n[o]||this[o]||0,c=x(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var h=t.getZone();a=t.options.color||h&&(h.color||t.nonZonedColor)||this.color,h&&(s=h.borderColor||s,r=h.dashStyle||r,l=h.borderWidth||l)}return e&&t&&(e=(t=b(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||void 0!==e&&u(a).brighten(t.brightness).get()||a,s=t[i]||s,l=t[o]||l,r=t.dashStyle||r,c=x(t.opacity,c)),i={fill:a,stroke:s,"stroke-width":l,opacity:c},r&&(i.dashstyle=r),i},e.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var e,n=this,r=this.chart,i=n.options,o=r.renderer,a=i.animationLimit||250;t.forEach((function(t){var s=t.graphic,l=!!s,c=s&&r.pointCount"===e&&t>n||"<"===e&&t="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(t,i),c=t.connectors?t.connectors[s]:t.connector,u=t.dataLabels?t.dataLabels[s]:t.dataLabel,f=!u,m=p(i.distance,t.labelDistance);if(l){var g=t.getLabelConfig(),y=p(i[t.formatPrefix+"Format"],i.format);g=a(y)?o(y,g,n):(i[t.formatPrefix+"Formatter"]||i.formatter).call(g,i),y=i.style;var b=i.rotation;n.styledMode||(y.color=p(i.color,y.color,e.color,"#000000"),"contrast"===y.color?(t.contrastColor=h.getContrast(t.color||e.color),y.color=!a(m)&&i.inside||0>m||r.stacking?t.contrastColor:v):delete t.contrastColor,r.cursor&&(y.cursor=r.cursor));var w={r:i.borderRadius||0,rotation:b,padding:i.padding,zIndex:1};n.styledMode||(w.fill=i.backgroundColor,w.stroke=i.borderColor,w["stroke-width"]=i.borderWidth),d(w,(function(t,e){void 0===t&&delete w[e]}))}!u||l&&a(g)&&!!u.div==!!i.useHTML&&(u.rotation&&i.rotation||u.rotation===i.rotation)||(f=!0,t.dataLabel=u=t.dataLabel&&t.dataLabel.destroy(),t.dataLabels&&(1===t.dataLabels.length?delete t.dataLabels:delete t.dataLabels[s]),s||delete t.dataLabel,c&&(t.connector=t.connector.destroy(),t.connectors&&(1===t.connectors.length?delete t.connectors:delete t.connectors[s]))),l&&a(g)?(u?w.text=g:(t.dataLabels=t.dataLabels||[],u=t.dataLabels[s]=b?h.text(g,0,0,i.useHTML).addClass("highcharts-data-label"):h.label(g,0,0,i.shape,null,null,i.useHTML,null,"data-label"),s||(t.dataLabel=u),u.addClass(" highcharts-data-label-color-"+t.colorIndex+" "+(i.className||"")+(i.useHTML?" highcharts-tracker":""))),u.options=i,u.attr(w),n.styledMode||u.css(y).shadow(i.shadow),(s=i[t.formatPrefix+"TextPath"]||i.textPath)&&!i.useHTML&&(u.setTextPath(t.getDataLabelPath&&t.getDataLabelPath(u)||t.graphic,s),t.dataLabelPath&&!s.enabled&&(t.dataLabelPath=t.dataLabelPath.destroy())),u.added||u.add(x),e.alignDataLabel(t,u,i,null,f)):u&&u.hide()}))}))}l(this,"afterDrawDataLabels")}function r(t,e,n,r,i,o){var a=this.chart,s=e.align,l=e.verticalAlign,c=t.box?0:t.padding||0,u=e.x;u=void 0===u?0:u;var h=e.y;h=void 0===h?0:h;var d=(n.x||0)+c;if(0>d){"right"===s&&0<=u?(e.align="left",e.inside=!0):u-=d;var p=!0}return(d=(n.x||0)+r.width-c)>a.plotWidth&&("left"===s&&0>=u?(e.align="right",e.inside=!0):u+=a.plotWidth-d,p=!0),0>(d=n.y+c)&&("bottom"===l&&0<=h?(e.verticalAlign="top",e.inside=!0):h-=d,p=!0),(d=(n.y||0)+r.height-c)>a.plotHeight&&("top"===l&&0>=h?(e.verticalAlign="bottom",e.inside=!0):h+=a.plotHeight-d,p=!0),p&&(e.x=u,e.y=h,t.placed=!o,t.align(e,void 0,i)),p}function m(t,e){var n,r=[];if(c(t)&&!c(e))r=t.map((function(t){return h(t,e)}));else if(c(e)&&!c(t))r=e.map((function(e){return h(t,e)}));else if(c(t)||c(e))for(n=Math.max(t.length,e.length);n--;)r[n]=h(t[n],e[n]);else r=h(t,e);return r}function g(t,e,n,r,i){var o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,c=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?i.x:l?-c-t:s.width-c+t,e.startYPos=a?l?this.yAxis.height-c+t:-c-t:i.y,r?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var y=[];t.compose=function(t){if(-1===y.indexOf(t)){var i=t.prototype;y.push(t),i.alignDataLabel=e,i.drawDataLabels=n,i.justifyDataLabel=r,i.setDataLabelStartPos=g}}}(r||(r={})),r})),e(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,i=e.series,o=n.merge,a=n.pick;return function(e){function n(t,e,n,r,s){var l=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var h=t.dlBox||t.shapeArgs,d=a(t.below,t.plotY>a(this.translatedThreshold,c)),p=a(n.inside,!!this.options.stacking);h&&(0>(r=o(h)).y&&(r.height+=r.y,r.y=0),0<(h=r.y+r.height-c)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}})),e(n,"Series/Scatter/ScatterSeries.js",[n["Series/Scatter/ScatterSeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=e.seriesTypes,o=i.column,a=i.line;i=n.addEvent;var s=n.extend,l=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.prototype.applyJitter=function(){var t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(r,i){["x","y"].forEach((function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!r.isNull){var l=t[o+"Axis"],c=e[o]*l.transA;if(l&&!l.isLog){var u=Math.max(0,r[s]-c);l=Math.min(l.len,r[s]+c),a=1e4*Math.sin(i+a*n),r[s]=u+(l-u)*(a-Math.floor(a)),"x"===o&&(r.clientX=r.plotX)}}}))}))},n.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},n.defaultOptions=l(a.defaultOptions,t),n}(a),s(n.prototype,{drawTracker:o.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),i(n,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",n),n})),e(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,i=t.deg2rad,o=n.fireEvent,a=n.isNumber,s=n.pick,l=n.relativeLength;return function(t){t.getCenter=function(){var t=this.options,n=this.chart,r=2*(t.slicedOffset||0),i=n.plotWidth-2*r,c=n.plotHeight-2*r,u=t.center,h=Math.min(i,c),d=t.thickness,p=t.size,f=t.innerSize||0;for("string"==typeof p&&(p=parseFloat(p)),"string"==typeof f&&(f=parseFloat(f)),t=[s(u[0],"50%"),s(u[1],"50%"),s(p&&0>p?void 0:t.size,"100%"),s(f&&0>f?void 0:t.innerSize||0,"0%")],!n.angular||this instanceof e||(t[3]=0),u=0;4>u;++u)p=t[u],n=2>u||2===u&&/%$/.test(p),t[u]=l(p,[i,c,h,t[2]][u])+(n?r:0);return t[3]>t[2]&&(t[3]=t[2]),a(d)&&2*dt&&360>e-t?e:t+360,{start:i*(t+-90),end:i*(e+-90)}}}(r||(r={})),r})),e(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=t.setAnimation,o=n.addEvent,a=n.defined;t=n.extend;var s=n.isNumber,l=n.pick,c=n.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return r(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=this.connectorShapes,r=e.connectorShape;return n[r]&&(r=n[r]),r.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(t){e.slice("select"===t.type)};return o(this,"select",n),o(this,"unselect",n),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var n=this,r=this.series,i=r.chart,o=r.options.ignoreHiddenPoint;e=l(e,o),t!==this.visible&&(this.visible=this.options.visible=t=void 0===t?!this.visible:t,r.options.data[r.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){n[e]&&n[e][t?"show":"hide"](t)})),this.legendItem&&i.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(r.isDirty=!0),e&&i.redraw())},e.prototype.slice=function(t,e,n){var r=this.series;i(n,r.chart),l(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,n){var r=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*r.x-e.x,2*r.y-e.y,r.x,r.y]:["L",r.x,r.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var r=this.series,i=r.center[0],o=r.chart.plotWidth,a=r.chart.plotLeft;r=t.alignment;var s=this.shapeArgs.r;return n=c(n.crookDistance,1),n=["L",o="left"===r?i+s+(o+a-i-s)*(1-n):a+(i-s)*n,t.y],i=!0,("left"===r?o>t.x||oe.x)&&(i=!1),t=[["M",t.x,t.y]],i&&t.push(n),t.push(["L",e.x,e.y]),t}}}),e})),e(n,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),e(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Series/Pie/PieSeriesDefaults.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(t,e,n,r,i,o,a,s,l,c){var u=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=t.getStartAndEndRadians;n=n.noop;var d=c.clamp,p=c.extend,f=c.fireEvent,m=c.merge,g=c.pick,y=c.relativeLength;return c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return u(e,t),e.prototype.animate=function(t){var e=this,n=e.points,r=e.startAngleRad;t||n.forEach((function(t){var n=t.graphic,i=t.shapeArgs;n&&i&&(n.attr({r:g(t.startR,e.center&&e.center[3]/2),start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var r=this.center[0],i=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(r,i,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:l.arc(r,i,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,n){var r=this.center,i=this.radii?this.radii[n.index]||0:r[2]/2;return t=Math.asin(d((t-r[1])/(i+n.labelDistance),-1,1)),r[0]+(e?-1:1)*Math.cos(t)*(i+n.labelDistance)+(01.5*Math.PI?m-=2*Math.PI:m<-Math.PI/2&&(m+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(m)*n),translateY:Math.round(Math.sin(m)*n)},v=Math.cos(m)*t[2]/2;var b=Math.sin(m)*t[2]/2;d.tooltipPos=[t[0]+.7*v,t[1]+.7*b],d.half=m<-Math.PI/2||m>Math.PI/2?1:0,d.angle=m,p=Math.min(r,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+v+Math.cos(m)*d.labelDistance,y:t[1]+b+Math.sin(m)*d.labelDistance},final:{},alignment:0>d.labelDistance?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+v+Math.cos(m)*p,y:t[1]+b+Math.sin(m)*p},touchingSliceAt:{x:t[0]+v,y:t[1]+b}}}}f(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,n=e.length,r=this.options.ignoreHiddenPoint,i=0;for(t=0;tE&&(t.dataLabel.css({width:Math.round(.7*E)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),O.forEach((function(e,n){var l,c=e.length,d=[];if(c){if(v.sortByAngle(e,n-.5),0k-S&&0===n&&(b=Math.round(u+i-k+S),j[1]=Math.max(b,j[1])),0>f-a/2?j[0]=Math.max(Math.round(a/2-f),j[0]):f+a/2>C&&(j[2]=Math.max(Math.round(f+a/2-C),j[2])),r.sideOverflow=b)}}})),0===c(j)||this.verifyDataLabelOverflow(j))&&(this.placeDataLabels(),this.points.forEach((function(t){var i;y=d(w,t.options.dataLabels),(e=p(y.connectorWidth,1))&&(n=t.connector,(r=t.dataLabel)&&r._pos&&t.visible&&0e.bottom-2?r:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,r){return t=t.getBBox().width,e?t+r:n-t-r},alignToConnectors:function(t,e,n,r){var i,o=0;return t.forEach((function(t){(i=t.dataLabel.getBBox().width)>o&&(o=i)})),e?o+r:n-o-r}};e.compose=function(e){t.compose(l),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=m,e.alignDataLabel=a,e.drawDataLabels=n,e.placeDataLabels=r,e.verifyDataLabelOverflow=i)}}(o||(o={})),o})),e(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e){var n=!1;if(t){var r=t.newOpacity;t.oldOpacity!==r&&(t.alignAttr&&t.placed?(t[r?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,t.alignAttr.opacity=r,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:r?"auto":"none"})})),i(e,"afterHideOverlappingLabel")):t.attr({opacity:r})),t.isOld=!0}return n}var r=e.addEvent,i=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,l=e.pick;r(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(r){var i=r.options.dataLabels;r.visible&&(!1!==i.enabled||r._hasPointLabels)&&(i=function(r){return r.forEach((function(r){r.visible&&(o(r.dataLabels)?r.dataLabels:r.dataLabel?[r.dataLabel]:[]).forEach((function(i){var o=i.options;i.labelrank=l(o.labelrank,r.labelrank,r.shapeArgs&&r.shapeArgs.height),o.allowOverlap?(i.oldOpacity=i.opacity,i.newOpacity=1,n(i,t)):e.push(i)}))}))},i(r.nodes||[]),i(r.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,r,o,s=this,l=t.length,c=s.renderer,u=!1,h=function(t){var e,n,r=t.box?0:t.padding||0,i=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=c.fontMetrics(null,t.element).h);var l=t.width-2*r;return(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?i=+n*l:a(t.x)&&Math.round(t.x)!==t.translateX&&(i=t.x-t.translateX),{x:o.x+(s.translateX||0)+r-(i||0),y:o.y+(s.translateY||0)+r-e,width:t.width-2*r,height:t.height-2*r}}};for(r=0;r=d.x+d.width||p.x+p.width<=d.x||p.y>=d.y+d.height||p.y+p.height<=d.y||((h.labelrank=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this,i=this.options.responsive,o=this.currentResponsive,s=[];!e&&i&&i.rules&&i.rules.forEach((function(t){void 0===t._id&&(t._id=u()),n.matchResponsiveRule(t,s)}),this),e=a.apply(void 0,s.map((function(t){return r((i||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions}))),e.isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/Defaults.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Axis/Stacking/StackingAxis.js"],n["Core/Axis/Stacking/StackItem.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],(function(t,e,n,r,i,o,a,s,l,c,u,h,d,p,f,m,g,y,v,b,x,w,S,k,C,A,E,M,T,P,O,j,_,L,I){return t.animate=i.animate,t.animObject=i.animObject,t.getDeferredAnimation=i.getDeferredAnimation,t.setAnimation=i.setAnimation,t.stop=i.stop,t.timers=r.timers,t.AST=o,t.Axis=d,t.Chart=S,t.chart=S.chart,t.Fx=r,t.Legend=w,t.PlotLineOrBand=m,t.Point=v,t.Pointer=x.isRequired()?x:b,t.Series=A,t.StackItem=C,t.SVGElement=l,t.SVGRenderer=c,t.Tick=g,t.Time=I,t.Tooltip=y,t.Color=L,t.color=L.parse,h.compose(c),u.compose(l),t.defaultOptions=n.defaultOptions,t.getOptions=n.getOptions,t.time=n.defaultTime,t.setOptions=n.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=E.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,T.compose(M),j.compose(A),p.compose(d),f.compose(d),O.compose(P),m.compose(d),_.compose(S),k.compose(d,S,A),t})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]},t.exports?(o.default=o,t.exports=i.document?o(i):o):void 0===(r=function(){return o(i)}.call(e,n,e,t))||(t.exports=r)},83332:function(t,e,n){var r,i;!function(o){t.exports?(o.default=o,t.exports=o):(r=[n(43869)],void 0===(i=function(t){return o(t),o.Highcharts=t,o}.apply(e,r))||(t.exports=i))}((function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Core/Chart/ChartNavigationComposition.js",[],(function(){var t;return function(t){t.compose=function(t){return t.navigation||(t.navigation=new e(t)),t};var e=function(){function t(t){this.updates=[],this.chart=t}return t.prototype.addUpdate=function(t){this.chart.navigation.updates.push(t)},t.prototype.update=function(t,e){var n=this;this.updates.forEach((function(r){r.call(n.chart,t,e)}))},t}();t.Additions=e}(t||(t={})),t})),e(t,"Extensions/Exporting/ExportingDefaults.js",[t["Core/Globals.js"]],(function(t){return t=t.isTouchDevice,{exporting:{type:"image/png",url:"https://export.highcharts.com/",pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen&&this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}},menuStyle:{border:"1px solid ".concat("#999999"),background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:t?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"}}}})),e(t,"Extensions/Exporting/ExportingSymbols.js",[],(function(){var t;return function(t){function e(t,e,n,r){return[["M",t,e+2.5],["L",t+n,e+2.5],["M",t,e+r/2+.5],["L",t+n,e+r/2+.5],["M",t,e+r-1.5],["L",t+n,e+r-1.5]]}function n(t,e,n,r){return t=r/3-2,(r=[]).concat(this.circle(n-t,e,t,t),this.circle(n-t,e+t+4,t,t),this.circle(n-t,e+2*(t+4),t,t))}var r=[];t.compose=function(t){-1===r.indexOf(t)&&(r.push(t),(t=t.prototype.symbols).menu=e,t.menuball=n.bind(t))}}(t||(t={})),t})),e(t,"Extensions/Exporting/Fullscreen.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Utilities.js"]],(function(t,e){function n(){this.fullscreen=new a(this)}var r=e.addEvent,i=e.fireEvent,o=[],a=function(){function e(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"==typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return e.compose=function(t){-1===o.indexOf(t)&&(o.push(t),r(t,"beforeRender",n))},e.prototype.close=function(){var t=this,e=t.chart,n=e.options.chart;i(e,"fullscreenClose",null,(function(){t.isOpen&&t.browserProps&&e.container.ownerDocument instanceof Document&&e.container.ownerDocument[t.browserProps.exitFullscreen](),t.unbindFullscreenEvent&&(t.unbindFullscreenEvent=t.unbindFullscreenEvent()),e.setSize(t.origWidth,t.origHeight,!1),t.origWidth=void 0,t.origHeight=void 0,n.width=t.origWidthOption,n.height=t.origHeightOption,t.origWidthOption=void 0,t.origHeightOption=void 0,t.isOpen=!1,t.setButtonText()}))},e.prototype.open=function(){var t=this,e=t.chart,n=e.options.chart;i(e,"fullscreenOpen",null,(function(){if(n&&(t.origWidthOption=n.width,t.origHeightOption=n.height),t.origWidth=e.chartWidth,t.origHeight=e.chartHeight,t.browserProps){var i=r(e.container.ownerDocument,t.browserProps.fullscreenChange,(function(){t.isOpen?(t.isOpen=!1,t.close()):(e.setSize(null,null,!1),t.isOpen=!0,t.setButtonText())})),o=r(e,"destroy",i);t.unbindFullscreenEvent=function(){i(),o()};var a=e.renderTo[t.browserProps.requestFullscreen]();a&&a.catch((function(){alert("Full screen is not supported inside a frame.")}))}}))},e.prototype.setButtonText=function(){var e=this.chart,n=e.exportDivElements,r=e.options.exporting,i=r&&r.buttons&&r.buttons.contextButton.menuItems;e=e.options.lang,r&&r.menuItemDefinitions&&e&&e.exitFullscreen&&e.viewFullscreen&&i&&n&&(n=n[i.indexOf("viewFullscreen")])&&t.setElementHTML(n,this.isOpen?e.exitFullscreen:r.menuItemDefinitions.viewFullscreen.text||e.viewFullscreen)},e.prototype.toggle=function(){this.isOpen?this.close():this.open()},e}();return a})),e(t,"Core/HttpUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var n=t.doc,r=e.createElement,i=e.discardElement,o=e.merge,a=e.objectEach,s={ajax:function(t){var e={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},n=new XMLHttpRequest;if(!t.url)return!1;n.open((t.type||"get").toUpperCase(),t.url,!0),t.headers&&t.headers["Content-Type"]||n.setRequestHeader("Content-Type",e[t.dataType||"json"]||e.text),a(t.headers,(function(t,e){n.setRequestHeader(e,t)})),t.responseType&&(n.responseType=t.responseType),n.onreadystatechange=function(){if(4===n.readyState){if(200===n.status){if("blob"!==t.responseType){var e=n.responseText;if("json"===t.dataType)try{e=JSON.parse(e)}catch(e){if(e instanceof Error)return void(t.error&&t.error(n,e))}}return t.success&&t.success(e,n)}t.error&&t.error(n,n.responseText)}},t.data&&"string"!=typeof t.data&&(t.data=JSON.stringify(t.data)),n.send(t.data)},getJSON:function(t,e){s.ajax({url:t,success:e,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(t,e,s){var l=r("form",o({method:"post",action:t,enctype:"multipart/form-data"},s),{display:"none"},n.body);a(e,(function(t,e){r("input",{type:"hidden",name:e,value:t},void 0,l)})),l.submit(),i(l)}};return s})),e(t,"Extensions/Exporting/Exporting.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Chart/Chart.js"],t["Core/Chart/ChartNavigationComposition.js"],t["Core/Defaults.js"],t["Extensions/Exporting/ExportingDefaults.js"],t["Extensions/Exporting/ExportingSymbols.js"],t["Extensions/Exporting/Fullscreen.js"],t["Core/Globals.js"],t["Core/HttpUtilities.js"],t["Core/Utilities.js"]],(function(t,e,n,r,i,o,a,s,l,c){var u,h=r.defaultOptions,d=r.setOptions,p=s.doc,f=s.SVG_NS,m=s.win,g=c.addEvent,y=c.css,v=c.createElement,b=c.discardElement,x=c.extend,w=c.find,S=c.fireEvent,k=c.isObject,C=c.merge,A=c.objectEach,E=c.pick,M=c.removeEvent,T=c.uniqueKey;return function(e){function r(t){var e=this,n=e.renderer,r=C(e.options.navigation.buttonOptions,t),i=r.onclick,o=r.menuItems,a=r.symbolSize||12;if(e.btnCount||(e.btnCount=0),e.exportDivElements||(e.exportDivElements=[],e.exportSVGElements=[]),!1!==r.enabled&&r.theme){var s,l=r.theme;e.styledMode||(l.fill=E(l.fill,"#ffffff"),l.stroke=E(l.stroke,"none")),i?s=function(t){t&&t.stopPropagation(),i.call(e,t)}:o&&(s=function(t){t&&t.stopPropagation(),e.contextMenu(c.menuClassName,o,c.translateX,c.translateY,c.width,c.height,c),c.setState(2)}),r.text&&r.symbol?l.paddingLeft=E(l.paddingLeft,30):r.text||x(l,{width:r.width,height:r.height,padding:0}),e.styledMode||(l["stroke-linecap"]="round",l.fill=E(l.fill,"#ffffff"),l.stroke=E(l.stroke,"none"));var c=n.button(r.text,0,0,s,l,void 0,void 0,void 0,void 0,r.useHTML).addClass(t.className).attr({title:E(e.options.lang[r._titleKey||r.titleKey],"")});if(c.menuClassName=t.menuClassName||"highcharts-menu-"+e.btnCount++,r.symbol){var u=n.symbol(r.symbol,r.symbolX-a/2,r.symbolY-a/2,a,a,{width:a,height:a}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(c);e.styledMode||u.attr({stroke:r.symbolStroke,fill:r.symbolFill,"stroke-width":r.symbolStrokeWidth||1})}c.add(e.exportingGroup).align(x(r,{width:c.width,x:E(r.x,e.buttonOffset)}),!0,"spacingBox"),e.buttonOffset+=(c.width+r.buttonSpacing)*("right"===r.align?-1:1),e.exportSVGElements.push(c,u)}}function u(){if(this.printReverseInfo){var t=this.printReverseInfo,e=t.childNodes,n=t.origDisplay;t=t.resetParams,this.moveContainers(this.renderTo),[].forEach.call(e,(function(t,e){1===t.nodeType&&(t.style.display=n[e]||"")})),this.isPrinting=!1,t&&this.setSize.apply(this,t),delete this.printReverseInfo,$=void 0,S(this,"afterPrint")}}function P(){var t=p.body,e=this.options.exporting.printMaxWidth,n={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),S(this,"beforePrint"),e&&this.chartWidth>e&&(n.resetParams=[this.options.chart.width,void 0,!1],this.setSize(e,void 0,!1)),[].forEach.call(n.childNodes,(function(t,e){1===t.nodeType&&(n.origDisplay[e]=t.style.display,t.style.display="none")})),this.moveContainers(t),this.printReverseInfo=n}function O(t){t.renderExporting(),g(t,"redraw",t.renderExporting),g(t,"destroy",t.destroyExport)}function j(e,n,r,i,o,a,s){var l=this,u=l.options.navigation,h=l.chartWidth,d=l.chartHeight,f="cache-"+e,b=Math.max(o,a),w=l[f];if(!w){l.exportContextMenu=l[f]=w=v("div",{className:e},{position:"absolute",zIndex:1e3,padding:b+"px",pointerEvents:"auto"},l.fixedDiv||l.container);var C=v("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},w);l.styledMode||y(C,x({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},u.menuStyle)),w.hideMenu=function(){y(w,{display:"none"}),s&&s.setState(0),l.openMenu=!1,y(l.renderTo,{overflow:"hidden"}),y(l.container,{overflow:"hidden"}),c.clearTimeout(w.hideTimer),S(l,"exportMenuHidden")},l.exportEvents.push(g(w,"mouseleave",(function(){w.hideTimer=m.setTimeout(w.hideMenu,500)})),g(w,"mouseenter",(function(){c.clearTimeout(w.hideTimer)})),g(p,"mouseup",(function(t){l.pointer.inClass(t.target,e)||w.hideMenu()})),g(w,"click",(function(){l.openMenu&&w.hideMenu()}))),n.forEach((function(e){if("string"==typeof e&&(e=l.options.exporting.menuItemDefinitions[e]),k(e,!0)){var n=void 0;e.separator?n=v("hr",void 0,void 0,C):("viewData"===e.textKey&&l.isDataTableVisible&&(e.textKey="hideData"),n=v("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),w.hideMenu(),e.onclick&&e.onclick.apply(l,arguments)}},void 0,C),t.setElementHTML(n,e.text||l.options.lang[e.textKey]),l.styledMode||(n.onmouseover=function(){y(this,u.menuItemHoverStyle)},n.onmouseout=function(){y(this,u.menuItemStyle)},y(n,x({cursor:"pointer"},u.menuItemStyle||{})))),l.exportDivElements.push(n)}})),l.exportDivElements.push(C,w),l.exportMenuWidth=w.offsetWidth,l.exportMenuHeight=w.offsetHeight}n={display:"block"},r+l.exportMenuWidth>h?n.right=h-r-o-b+"px":n.left=r-b+"px",i+a+l.exportMenuHeight>d&&"top"!==s.alignOptions.verticalAlign?n.bottom=d-i-b+"px":n.top=i+a-b+"px",y(w,n),y(l.renderTo,{overflow:""}),y(l.container,{overflow:""}),l.openMenu=!0,S(l,"exportMenuShown")}function _(t){var e,n=t?t.target:this,r=n.exportSVGElements,i=n.exportDivElements;t=n.exportEvents,r&&(r.forEach((function(t,i){t&&(t.onclick=t.ontouchstart=null,e="cache-"+t.menuClassName,n[e]&&delete n[e],r[i]=t.destroy())})),r.length=0),n.exportingGroup&&(n.exportingGroup.destroy(),delete n.exportingGroup),i&&(i.forEach((function(t,e){t&&(c.clearTimeout(t.hideTimer),M(t,"mouseleave"),i[e]=t.onmouseout=t.onmouseover=t.ontouchstart=t.onclick=null,b(t))})),i.length=0),t&&(t.forEach((function(t){t()})),t.length=0)}function L(t,e){e=this.getSVGForExport(t,e),t=C(this.options.exporting,t),l.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:e},t.formAttributes)}function I(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function D(){var t=this.userOptions.title&&this.userOptions.title.text,e=this.options.exporting.filename;return e?e.replace(/\//g,"-"):("string"==typeof t&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||5>e.length)&&(e="chart"),e)}function N(t){var e,n=C(this.options,t);n.plotOptions=C(this.userOptions.plotOptions,t&&t.plotOptions),n.time=C(this.userOptions.time,t&&t.time);var r=v("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},p.body),i=this.renderTo.style.width,o=this.renderTo.style.height;i=n.exporting.sourceWidth||n.chart.width||/px$/.test(i)&&parseInt(i,10)||(n.isGantt?800:600),o=n.exporting.sourceHeight||n.chart.height||/px$/.test(o)&&parseInt(o,10)||400,x(n.chart,{animation:!1,renderTo:r,forExport:!0,renderer:"SVGRenderer",width:i,height:o}),n.exporting.enabled=!1,delete n.data,n.series=[],this.series.forEach((function(t){(e=C(t.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:t.visible})).isInternal||n.series.push(e)}));var a={};this.axes.forEach((function(t){t.userOptions.internalKey||(t.userOptions.internalKey=T()),t.options.isInternal||(a[t.coll]||(a[t.coll]=!0,n[t.coll]=[]),n[t.coll].push(C(t.userOptions,{visible:t.visible})))}));var s=new this.constructor(n,this.callback);return t&&["xAxis","yAxis","series"].forEach((function(e){var n={};t[e]&&(n[e]=t[e],s.update(n))})),this.axes.forEach((function(t){var e=w(s.axes,(function(e){return e.options.internalKey===t.userOptions.internalKey})),n=t.getExtremes(),r=n.userMin;n=n.userMax,e&&(void 0!==r&&r!==e.min||void 0!==n&&n!==e.max)&&e.setExtremes(r,n,!0,!1)})),o=s.getChartHTML(),S(this,"getSVG",{chartCopy:s}),o=this.sanitizeSVG(o,n),n=null,s.destroy(),b(r),o}function R(t,e){var n=this.options.exporting;return this.getSVG(C({chart:{borderRadius:0}},n.chartOptions,e,{exporting:{sourceWidth:t&&t.sourceWidth||n.sourceWidth,sourceHeight:t&&t.sourceHeight||n.sourceHeight}}))}function z(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}function F(){var t,n=Y,r=e.inlineAllowlist,i={},o=p.createElement("iframe");y(o,{width:"1px",height:"1px",visibility:"hidden"}),p.body.appendChild(o);var a=o.contentWindow&&o.contentWindow.document;a&&a.body.appendChild(a.createElementNS(f,"svg")),function e(o){var l={};if(a&&1===o.nodeType&&-1===K.indexOf(o.nodeName)){var c=m.getComputedStyle(o,null),u="svg"===o.nodeName?{}:m.getComputedStyle(o.parentNode,null);if(!i[o.nodeName]){t=a.getElementsByTagName("svg")[0];var h=a.createElementNS(o.namespaceURI,o.nodeName);t.appendChild(h);var d=m.getComputedStyle(h,null),p={};for(var f in d)"string"!=typeof d[f]||/^[0-9]+$/.test(f)||(p[f]=d[f]);i[o.nodeName]=p,"text"===o.nodeName&&delete i.text.fill,t.removeChild(h)}for(var g in c)if(s.isFirefox||s.isMS||s.isSafari||Object.hasOwnProperty.call(c,g)){f=c[g];var v=g;if(h=d=!1,r.length){for(p=r.length;p--&&!d;)d=r[p].test(v);h=!d}for("transform"===v&&"none"===f&&(h=!0),p=n.length;p--&&!h;)h=n[p].test(v)||"function"==typeof f;h||u[v]===f&&"svg"!==o.nodeName||i[o.nodeName][v]===f||(X&&-1===X.indexOf(v)?l[v]=f:f&&o.setAttribute(z(v),f))}y(o,l),"svg"===o.nodeName&&o.setAttribute("stroke-width","1px"),"text"!==o.nodeName&&[].forEach.call(o.children||o.childNodes,e)}}(this.container.querySelector("svg")),t.parentNode.removeChild(t),o.parentNode.removeChild(o)}function B(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach((function(e){t.appendChild(e)}))}function U(){var t=this;t.exporting={update:function(e,n){t.isDirtyExporting=!0,C(!0,t.options.exporting,e),E(n,!0)&&t.redraw()}},n.compose(t).navigation.addUpdate((function(e,n){t.isDirtyExporting=!0,C(!0,t.options.navigation,e),E(n,!0)&&t.redraw()}))}function W(){var t=this;t.isPrinting||($=t,s.isSafari||t.beforePrint(),setTimeout((function(){m.focus(),m.print(),s.isSafari||setTimeout((function(){t.afterPrint()}),1e3)}),1))}function G(){var t=this,e=t.options.exporting,n=e.buttons,r=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),r&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),A(n,(function(e){t.addButton(e)})),t.isDirtyExporting=!1)}function H(t,e){var n=t.indexOf("")+6,r=t.substr(n);return t=t.substr(0,n),e&&e.exporting&&e.exporting.allowHTML&&r&&(r=''+r.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"",t=t.replace("",r+"")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|");?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/i?.5:r/(i-1)))}))},e.prototype.hasData=function(){return!!(this.tickPositions||[]).length},e.prototype.setTickPositions=function(){if(!this.dataClasses)return t.prototype.setTickPositions.call(this)},e.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach((function(t){t.color=c(t[1])}))},e.prototype.setOptions=function(e){t.prototype.setOptions.call(this,e),this.options.crosshair=this.options.marker},e.prototype.setAxisSize=function(){var t,n,r=this.legendItem&&this.legendItem.symbol,i=this.chart,o=i.options.legend||{};r?(this.left=o=r.attr("x"),this.top=t=r.attr("y"),this.width=n=r.attr("width"),this.height=r=r.attr("height"),this.right=i.chartWidth-o-n,this.bottom=i.chartHeight-t-r,this.len=this.horiz?n:r,this.pos=this.horiz?o:t):this.len=(this.horiz?o.symbolWidth:o.symbolHeight)||e.defaultLegendLength},e.prototype.normalizedValue=function(t){return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(this.max-t)/(this.max-this.min||1)},e.prototype.toColor=function(t,e){var n,r=this.dataClasses,i=this.stops;if(r)for(n=r.length;n--;){var o=r[n],a=o.from;if(i=o.to,(void 0===a||t>=a)&&(void 0===i||t<=i)){var s=o.color;e&&(e.dataClass=n,e.colorIndex=o.colorIndex);break}}else{for(t=this.normalizedValue(t),n=i.length;n--&&!(t>i[n][0]););a=i[n]||i[n+1],t=1-((i=i[n+1]||a)[0]-t)/(i[0]-a[0]||1),s=a.color.tweenTo(i.color,t)}return s},e.prototype.getOffset=function(){var n=this.legendItem&&this.legendItem.group,r=this.chart.axisOffset[this.side];if(n){this.axisParent=n,t.prototype.getOffset.call(this);var i=this.chart.legend;i.allItems.forEach((function(t){t instanceof e&&t.drawLegendSymbol(i,t)})),i.render(),this.chart.getMargins(!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=r}},e.prototype.setLegendColor=function(){var t=this.reversed,e=t?1:0;t=t?0:1,e=this.horiz?[e,0,t,0]:[0,t,0,e],this.legendColor={linearGradient:{x1:e[0],y1:e[1],x2:e[2],y2:e[3]},stops:this.stops}},e.prototype.drawLegendSymbol=function(t,n){n=n.legendItem||{};var r=t.padding,i=t.options,o=f(i.itemDistance,10),a=this.horiz,s=f(i.symbolWidth,a?e.defaultLegendLength:12),l=f(i.symbolHeight,a?12:e.defaultLegendLength);i=f(i.labelPadding,a?16:30),this.setLegendColor(),n.symbol||(n.symbol=this.chart.renderer.rect(0,t.baseline-11,s,l).attr({zIndex:1}).add(n.group)),n.labelWidth=s+r+(a?o:this.options.labels.x+this.maxLabelLength),n.labelHeight=l+r+(a?i:0)},e.prototype.setState=function(t){this.series.forEach((function(e){e.setState(t)}))},e.prototype.setVisible=function(){},e.prototype.getSeriesExtremes=function(){var t,e=this.series,n=e.length;for(this.dataMin=1/0,this.dataMax=-1/0;n--;){var r=e[n],i=r.colorKey=f(r.options.colorKey,r.colorKey,r.pointValKey,r.zoneAxis,"y"),o=r.pointArrayMap,a=r[i+"Min"]&&r[i+"Max"];if(r[i+"Data"])var s=r[i+"Data"];else if(o){s=[],o=o.indexOf(i);var l=r.yData;if(0<=o&&l)for(t=0;ta+s&&(l=a+s+2),n.plotX=l,n.plotY=this.len-l,t.prototype.drawCrosshair.call(this,e,n),n.plotX=i,n.plotY=o,this.cross&&!this.cross.addedToColorAxis&&r.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(r.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!=typeof this.crosshair||this.cross.attr({fill:this.crosshair.color}))}},e.prototype.getPlotLinePath=function(e){var n=this.left,r=e.translatedValue,i=this.top;return d(r)?this.horiz?[["M",r-4,i-6],["L",r+4,i-6],["L",r,i],["Z"]]:[["M",n,r],["L",n-6,r+6],["L",n-6,r-6],["Z"]]:t.prototype.getPlotLinePath.call(this,e)},e.prototype.update=function(e,n){var r=this.chart.legend;this.series.forEach((function(t){t.isDirtyData=!0})),(e.dataClasses&&r.allItems||this.dataClasses)&&this.destroyItems(),t.prototype.update.call(this,e,n),this.legendItem&&this.legendItem.label&&(this.setLegendColor(),r.colorizeItem(this,!0))},e.prototype.destroyItems=function(){var t=this.chart,e=this.legendItem||{};if(e.label)t.legend.destroyItem(this);else if(e.labels){var n=0;for(e=e.labels;n "),void 0!==u&&(t+=p(u,a)+s),void 0!==u&&void 0!==d&&(t+=" - "),void 0!==d&&(t+=p(d,a)+s),r.push(h({chart:n,name:t,options:{},drawLegendSymbol:o.drawRectangle,visible:!0,isDataClass:!0,setState:function(t){for(var e=0,n=l(c);e=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y)){var r=-e.y-e.height+t.y-5;t=t.y+t.height-e.y+5,n.navButtonsGroup.attr({translateY:"bottom"===(o.buttonOptions&&o.buttonOptions.verticalAlign)?r:t})}}},i.hasLoaded||a(i,"render",t)),this.updateEvents(o)},i.prototype.updateEvents=function(t){var e=this.chart;h(t.enableDoubleClickZoom,t.enabled)||t.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||a(e.container,"dblclick",(function(t){e.pointer.onContainerDblClick(t)})):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),h(t.enableMouseWheelZoom,t.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||a(e.container,void 0!==o.onwheel?"wheel":void 0!==o.onmousewheel?"mousewheel":"DOMMouseScroll",(function(t){return e.pointer.inClass(t.target,"highcharts-no-mousewheel")||(e.pointer.onContainerMouseWheel(t),r(t)),!1})):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())},s(t.prototype,{fitToBox:function(t,e){return[["x","width"],["y","height"]].forEach((function(n){var r=n[0];n=n[1],t[r]+t[n]>e[r]+e[n]&&(t[n]>e[n]?(t[n]=e[n],t[r]=e[r]):t[r]=e[r]+e[n]-t[n]),t[n]>e[n]&&(t[n]=e[n]),t[r]s&&e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)&&e.mapView&&e.mapView.zoomBy((e.options.mapNavigation.mouseWheelSensitivity-1)*-r,void 0,[t.chartX,t.chartY],!(1>Math.abs(r))&&void 0)}}),e(t.prototype,"zoomOption",(function(t){var e=this.chart.options.mapNavigation;i(e.enableTouchZoom,e.enabled)&&(this.chart.options.chart.zooming.pinchType="xy"),t.apply(this,[].slice.call(arguments,1))})),e(t.prototype,"pinchTranslate",(function(t,e,n,r,i,o,a){t.call(this,e,n,r,i,o,a),"map"===this.chart.options.chart.type&&this.hasZoom&&(t=r.scaleX>r.scaleY,this.pinchTranslateDirection(!t,e,n,r,i,o,a,t?r.scaleX:r.scaleY))}))})),e(t,"Series/ColorMapComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n,r=t.seriesTypes.column.prototype,i=e.addEvent,o=e.defined;return function(t){function e(t){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:t&&"hover"===t.state?1:0})}var n=[];t.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},t.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){var e={};return!o(t.color)||t.state&&"normal"!==t.state||(e[this.colorProp||"fill"]=t.color),e},pointAttribs:r.pointAttribs},t.compose=function(t){var r=t.prototype.pointClass;return-1===n.indexOf(r)&&(n.push(r),i(r,"afterSetState",e)),t}}(n||(n={})),n})),e(t,"Maps/MapSymbols.js",[t["Core/Renderer/SVG/SVGRenderer.js"]],(function(t){function e(t,e,n,r,i,o,a,s){return[["M",t+i,e],["L",t+n-o,e],["C",t+n-o/2,e,t+n,e+o/2,t+n,e+o],["L",t+n,e+r-a],["C",t+n,e+r-a/2,t+n-a/2,e+r,t+n-a,e+r],["L",t+s,e+r],["C",t+s/2,e+r,t,e+r-s/2,t,e+r-s],["L",t,e+i],["C",t,e+i/2,t+i/2,e,t+i,e],["Z"]]}return(t=t.prototype.symbols).bottombutton=function(t,n,r,i,o){return e(t-1,n-1,r,i,0,0,o=o&&o.r||0,o)},t.topbutton=function(t,n,r,i,o){return e(t-1,n-1,r,i,o=o&&o.r||0,o,0,0)},t})),e(t,"Core/Chart/MapChart.js",[t["Core/Chart/Chart.js"],t["Core/Defaults.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=e.getOptions,a=r.merge,s=r.pick;return t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(e,n){var r=o().credits;e=a({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:s(r.mapText,' © {geojson.copyrightShort}'),mapTextFull:s(r.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},e),t.prototype.init.call(this,e,n)},e}(t),function(t){t.maps={},t.mapChart=function(e,n,r){return new t(e,n,r)},t.splitPath=function(t){return"string"==typeof t&&(t=(t=t.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,;]+/).map((function(t){return/[A-za-z]/.test(t)?t:parseFloat(t)}))),n.prototype.pathToSegments(t)}}(t||(t={})),t})),e(t,"Maps/MapUtilities.js",[],(function(){return{boundsFromPath:function(t){var e,n=-Number.MAX_VALUE,r=Number.MAX_VALUE,i=-Number.MAX_VALUE,o=Number.MAX_VALUE;if(t.forEach((function(t){var a=t[t.length-2];t=t[t.length-1],"number"==typeof a&&"number"==typeof t&&(r=Math.min(r,a),n=Math.max(n,a),o=Math.min(o,t),i=Math.max(i,t),e=!0)})),e)return{x1:r,y1:o,x2:n,y2:i}},pointInPolygon:function(t,e){var n,r=!1,i=t.x,o=t.y;for(t=0,n=e.length-1;to!=e[n][1]>o&&i<(e[n][0]-e[t][0])*(o-e[t][1])/(e[n][1]-e[t][1])+e[t][0]&&(r=!r);return r}}})),e(t,"Series/Map/MapPoint.js",[t["Series/ColorMapComposition.js"],t["Maps/MapUtilities.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var i=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=e.boundsFromPath,a=r.extend,s=r.isNumber,l=r.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.path=void 0,e.series=void 0,e}return i(e,t),e.getProjectedPath=function(t,e){return t.projectedPath||(e&&t.geometry?(e.hasCoordinates=!0,t.projectedPath=e.path(t.geometry)):t.projectedPath=t.path),t.projectedPath||[]},e.prototype.applyOptions=function(e,n){var r=this.series;return e=t.prototype.applyOptions.call(this,e,n),n=r.joinBy,r.mapData&&r.mapMap&&((r=void 0!==(n=t.prototype.getNestedProperty.call(e,n[1]))&&r.mapMap[n])?a(e,r):e.value=e.value||null),e},e.prototype.getProjectedBounds=function(t){t=e.getProjectedPath(this,t),t=o(t);var n=this.properties;if(t){var r=n&&n["hc-middle-x"];return n=n&&n["hc-middle-y"],t.midX=t.x1+(t.x2-t.x1)*l(this.middleX,s(r)?r:.5),r=l(this.middleY,s(n)?n:.5),this.geometry||(r=1-r),t.midY=t.y2-(t.y2-t.y1)*r,t}},e.prototype.onMouseOver=function(e){r.clearTimeout(this.colorInterval),!this.isNull&&this.visible||this.series.options.nullInteraction?t.prototype.onMouseOver.call(this,e):this.series.onMouseOut(e)},e.prototype.setVisible=function(t){var e=t?"show":"hide";this.visible=this.options.visible=!!t,this.dataLabel&&this.dataLabel[e](),this.graphic&&this.graphic.attr(this.series.pointAttribs(this))},e.prototype.zoomTo=function(){var t=this.series.chart;t.mapView&&this.bounds&&(t.mapView.fitToBounds(this.bounds,void 0,!1),this.series.isDirty=!0,t.redraw())},e}(n.seriesTypes.scatter.prototype.pointClass),a(e.prototype,{dataLabelOnNull:t.pointMembers.dataLabelOnNull,moveToTopOnHover:t.pointMembers.moveToTopOnHover,isValid:t.pointMembers.isValid}),e})),e(t,"Maps/MapViewOptionsDefault.js",[],(function(){return{center:[0,0],maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0}})),e(t,"Maps/MapViewInsetsOptionsDefault.js",[],(function(){return{borderColor:"#cccccc",borderWidth:1,center:[0,0],padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}})),e(t,"Extensions/GeoJSON.js",[t["Core/Chart/Chart.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,r){function i(t,e){if(e||(e=Object.keys(t.objects)[0]),(e=t.objects[e])["hc-decoded-geojson"])return e["hc-decoded-geojson"];var n=t.arcs;if(t.transform){var r=t.transform,i=r.scale,o=r.translate;n=t.arcs.map((function(t){var e=0,n=0;return t.map((function(t){return(t=t.slice())[0]=(e+=t[0])*i[0]+o[0],t[1]=(n+=t[1])*i[1]+o[1],t}))}))}var a=function(t){return"number"==typeof t[0]?t.reduce((function(t,e,r){var i=0>e?n[~e]:n[e];return 0>e?(i=i.slice(0,0===r?i.length:i.length-1)).reverse():r&&(i=i.slice(1)),t.concat(i)}),[]):t.map(a)};return r=e.geometries.map((function(t){return{type:"Feature",properties:t.properties,geometry:{type:t.type,coordinates:t.coordinates||a(t.arcs)}}})),t={type:"FeatureCollection",copyright:t.copyright,copyrightShort:t.copyrightShort,copyrightUrl:t.copyrightUrl,features:r,"hc-recommended-mapview":e["hc-recommended-mapview"],bbox:t.bbox,title:t.title},e["hc-decoded-geojson"]=t}function o(t,e,n){void 0===e&&(e="map");var r=[];return(t="Topology"===t.type?i(t):t).features.forEach((function(t){var n,i=t.geometry||{},o=i.type;if(i=i.coordinates,t=t.properties,("map"!==e&&"mapbubble"!==e||"Polygon"!==o&&"MultiPolygon"!==o)&&("mapline"!==e||"LineString"!==o&&"MultiLineString"!==o)?"mappoint"===e&&"Point"===o&&i.length&&(n={geometry:{coordinates:i,type:o}}):i.length&&(n={geometry:{coordinates:i,type:o}}),n){o=t&&(t.name||t.NAME),i=t&&t.lon;var a=t&&t.lat;r.push(c(n,{lat:"number"==typeof a?a:void 0,lon:"number"==typeof i?i:void 0,name:"string"==typeof o?o:void 0,properties:t}))}})),n&&t.copyrightShort&&(n.chart.mapCredits=a(n.chart.options.credits.mapText,{geojson:t}),n.chart.mapCreditsFull=a(n.chart.options.credits.mapTextFull,{geojson:t})),r}var a=e.format,s=n.win,l=r.error,c=r.extend,u=r.merge;return e=r.wrap,t.prototype.transformFromLatLon=function(t,e){var n=this.options.chart.proj4||s.proj4;if(n){var r=e.jsonmarginX;r=void 0===r?0:r;var i=e.jsonmarginY;i=void 0===i?0:i;var o=e.jsonres;o=void 0===o?1:o;var a=e.scale;a=void 0===a?1:a;var c=e.xoffset;c=void 0===c?0:c;var u=e.xpan;u=void 0===u?0:u;var h=e.yoffset;h=void 0===h?0:h;var d=e.ypan;d=void 0===d?0:d,t=n(e.crs,[t.lon,t.lat]),n=e.cosAngle||e.rotation&&Math.cos(e.rotation);var p=e.sinAngle||e.rotation&&Math.sin(e.rotation);return{x:(((e=e.rotation?[t[0]*n+t[1]*p,-t[0]*p+t[1]*n]:t)[0]-c)*a+u)*o+r,y:-(((h-e[1])*a+d)*o-i)}}l(21,!1,this)},t.prototype.transformToLatLon=function(t,e){var n=this.options.chart.proj4||s.proj4;if(n){if(null!==t.y){var r=e.jsonmarginX,i=e.jsonmarginY,o=e.jsonres;o=void 0===o?1:o;var a=e.scale;a=void 0===a?1:a;var c=e.xoffset,u=e.xpan,h=e.yoffset,d=e.ypan;return t={x:((t.x-(void 0===r?0:r))/o-(void 0===u?0:u))/a+(void 0===c?0:c),y:((t.y-(void 0===i?0:i))/o+(void 0===d?0:d))/a+(void 0===h?0:h)},r=e.cosAngle||e.rotation&&Math.cos(e.rotation),i=e.sinAngle||e.rotation&&Math.sin(e.rotation),{lat:(e=n(e.crs,"WGS84",e.rotation?{x:t.x*r+t.y*-i,y:t.x*i+t.y*r}:t)).y,lon:e.x}}}else l(21,!1,this)},t.prototype.fromPointToLatLon=function(t){return this.mapView&&this.mapView.projectedUnitsToLonLat(t)},t.prototype.fromLatLonToPoint=function(t){return this.mapView&&this.mapView.lonLatToProjectedUnits(t)},e(t.prototype,"addCredits",(function(t,e){e=u(!0,this.options.credits,e),this.mapCredits&&(e.href=null),t.call(this,e),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})})),n.geojson=o,{geojson:o,topo2geo:i}})),e(t,"Core/Geometry/PolygonClip.js",[],(function(){var t,e,n=function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])>(e[1]-t[1])*(n[0]-t[0])},r=function(t,e,n,r){var i=[t[0]-e[0],t[1]-e[1]],o=[n[0]-r[0],n[1]-r[1]];return t=t[0]*e[1]-t[1]*e[0],n=n[0]*r[1]-n[1]*r[0],r=1/(i[0]*o[1]-i[1]*o[0]),(i=[(t*o[0]-n*i[0])*r,(t*o[1]-n*i[1])*r]).isIntersection=!0,i};return(e=t||(t={})).clipLineString=function(t,n){var r=[];for(t=e.clipPolygon(t,n,!1),n=1;nMath.abs(r)&&(r=1e-10*(t(r)||1)),this.n=r,this.c=i*Math.pow(Math.tan((n+a)/2),r)/r}return r.prototype.forward=function(t){var r=t[0]*e,i=this.c,o=this.n,a=this.projectedBounds;t=t[1]*e,0n-1e-6&&(t=n-1e-6);var s=i/Math.pow(Math.tan((n+t)/2),o);return i=[t=s*Math.sin(o*r)*63.78137,r=63.78137*(i-s*Math.cos(o*r))],a&&(ta.x2||ra.y2)&&(i.outside=!0),i},r.prototype.inverse=function(r){var i=r[0]/63.78137,o=this.c,a=this.n;r=o-r[1]/63.78137;var s=t(a)*Math.sqrt(i*i+r*r),l=Math.atan2(i,Math.abs(r))*t(r);return 0>r*a&&(l-=Math.PI*t(i)*t(r)),[l/a/e,(2*Math.atan(Math.pow(o/s,1/a))-n)/e]},r}()})),e(t,"Maps/Projections/EqualEarth.js",[],(function(){var t=Math.sqrt(3)/2;return function(){function e(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}return e.prototype.forward=function(e){var n=Math.PI/180,r=Math.asin(t*Math.sin(e[1]*n)),i=r*r,o=i*i*i;return[e[0]*n*Math.cos(r)*74.03120656864502/(t*(1.340264+3*-.081106*i+o*(7*893e-6+.034164*i))),74.03120656864502*r*(1.340264+-.081106*i+o*(893e-6+.003796*i))]},e.prototype.inverse=function(e){var n=e[0]/74.03120656864502;e=e[1]/74.03120656864502;var r,i=180/Math.PI,o=e;for(r=0;12>r;++r){var a=o*o,s=a*a*a,l=o*(1.340264+-.081106*a+s*(893e-6+.003796*a))-e;if(o-=l/=a=1.340264+3*-.081106*a+s*(7*893e-6+.034164*a),1e-9>Math.abs(l))break}return[i*t*n*(1.340264+3*-.081106*(a=o*o)+a*a*a*(7*893e-6+.034164*a))/Math.cos(o),i*Math.asin(Math.sin(o)/t)]},e}()})),e(t,"Maps/Projections/Miller.js",[],(function(){var t=Math.PI/4,e=Math.PI/180;return function(){function n(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,y2:146.91480769173063}}return n.prototype.forward=function(n){return[n[0]*e*63.78137,79.7267125*Math.log(Math.tan(t+.4*n[1]*e))]},n.prototype.inverse=function(n){return[n[0]/63.78137/e,2.5*(Math.atan(Math.exp(n[1]/63.78137*.8))-t)/e]},n}()})),e(t,"Maps/Projections/Orthographic.js",[],(function(){var t=Math.PI/180;return function(){function e(){this.antimeridianCutting=!1,this.bounds={x1:-63.78460826781007,x2:63.78460826781007,y1:-63.78460826781007,y2:63.78460826781007}}return e.prototype.forward=function(e){var n=e[0];return e=e[1]*t,e=[Math.cos(e)*Math.sin(n*t)*63.78460826781007,63.78460826781007*Math.sin(e)],(-90>n||90t&&(t+=360),180f;f+=t){var m=o((1-f)*d)/o(d),g=o(f*d)/o(d),y=m*i(s)*i(c)+g*i(u)*i(h),v=m*i(s)*o(c)+g*i(u)*o(h);m=r(m=m*o(s)+g*o(u),a(y*y+v*v)),y=r(v,y),p.push([y/l,m/l])}return n&&p.push(e),p},t.insertGreatCircles=function(e){for(var n=e.length-1;n--;)if(10=n!=t[e]>=n)return r=r[i]+(n-r[e])/(t[e]-r[e])*(t[i]-r[i]),e?[r,n]:[n,r]},a=t[0];return((e=o(t,0,e.x1))||(e=o(t,0,n)))&&(a=e,t[1]=e),((e=o(t,1,r))||(e=o(t,1,i)))&&(a=e),a},t.prototype.getRotator=function(t){var e=t[0]*l,n=(t[1]||0)*l;t=(t[2]||0)*l;var r=Math.cos(n),i=Math.sin(n),o=Math.cos(t),a=Math.sin(t);if(0!==e||0!==n||0!==t)return{forward:function(t){var n=t[0]*l+e,s=t[1]*l,c=Math.cos(s);return t=Math.cos(n)*c,n=Math.sin(n)*c,c=(s=Math.sin(s))*r+t*i,[Math.atan2(n*o-c*a,t*r-s*i)/l,Math.asin(c*o+n*a)/l]},inverse:function(t){var n=t[0]*l,s=t[1]*l,c=Math.cos(s);return t=Math.cos(n)*c,n=Math.sin(n)*c,c=(s=Math.sin(s))*o-n*a,[(Math.atan2(n*o+s*a,t*r+c*i)-e)/l,Math.asin(c*r-t*i)/l]}}},t.prototype.forward=function(t){return t},t.prototype.inverse=function(t){return t},t.prototype.cutOnAntimeridian=function(e,n){var i=[],o=[e];if(e.forEach((function(t,r){var o=e[r-1];if(!r){if(!n)return;o=e[e.length-1]}var s=o[0],l=t[0];(-90>s||90l||90s?1:-1,previousLonLat:o,lonLat:t}))})),i.length)if(n){if(1==i.length%2){var l=i.slice().sort((function(t,e){return Math.abs(e.lat)-Math.abs(t.lat)}))[0];s(i,l)}for(var u=i.length-2;0<=u;){var h=i[u].i,d=c(180+1e-6*i[u].direction),p=c(180-1e-6*i[u].direction);(h=e.splice.apply(e,r([h,i[u+1].i-h],t.greatCircle([d,i[u].lat],[d,i[u+1].lat],!0),!1))).push.apply(h,t.greatCircle([p,i[u+1].lat],[p,i[u].lat],!0)),o.push(h),u-=2}if(l)for(d=0;df?-1:1)*this.maxLatitude;var m=c(180+1e-6*u),g=c(180-1e-6*u);for(f=t.greatCircle([m,f],[m,d],!0),m+=120*u;-180m;m+=120*u)f.push([m,d]);f.push.apply(f,t.greatCircle([g,d],[g,l.lat],!0)),p.splice.apply(p,r([h,0],f,!1));break}}}else for(u=i.length;u--;)h=i[u].i,(h=e.splice(h,e.length,[c(180+1e-6*i[u].direction),i[u].lat])).unshift([c(180-1e-6*i[u].direction),i[u].lat]),o.push(h);return o},t.prototype.path=function(e){var n,r=this,a=this.bounds,s=this.def,l=this.rotator,c=[],u="Polygon"===e.type||"MultiPolygon"===e.type,h=this.hasGeoProjection,d=!s||!1!==s.antimeridianCutting,p=d?l:void 0,f=d&&s||this;a&&(n=[[a.x1,a.y1],[a.x2,a.y1],[a.x2,a.y2],[a.x1,a.y2]]);var m=function(e){e=e.map((function(t){if(d){p&&(t=p.forward(t));var e=t[0];1e-6>Math.abs(e-180)&&(e=180>e?179.999999:180.000001),t=[e,t[1]]}return t}));var s=[e];h&&(t.insertGreatCircles(e),d&&(s=r.cutOnAntimeridian(e,u))),s.forEach((function(e){if(!(2>e.length)){var r=!1,s=!1,l=function(t){r?c.push(["L",t[0],t[1]]):(c.push(["M",t[0],t[1]]),r=!0)},p=!1,m=!1,g=e.map((function(t){return(t=f.forward(t)).outside?p=!0:m=!0,1/0===t[1]?t[1]=1e10:-1/0===t[1]&&(t[1]=-1e10),t}));if(d){if(u&&g.push(g[0]),p){if(!m)return;if(n)if(u)g=o(g,n);else if(a)return void i(g,n).forEach((function(t){r=!1,t.forEach(l)}))}g.forEach(l)}else for(var y=0;ye+s&&h>e&&(t[0]+=Math.min(u-s-e,h-e)/l),c-da+o&&d>a&&(t[1]-=Math.min(c-o-a,d-a)/l),this.center=this.projection.inverse(t),this.insets.forEach((function(t){t.options.field&&(t.hitZone=t.getHitZone(),t.playingField=t.getField())})),this.render()}m(this,"afterSetView"),n&&this.redraw(r)},e.prototype.projectedUnitsToPixels=function(t){var e=this.getScale(),n=this.projection.forward(this.center),r=this.playingField;return{x:r.x+r.width/2-e*(n[0]-t.x),y:r.y+r.height/2+e*(n[1]-t.y)}},e.prototype.pixelsToLonLat=function(t){return this.projectedUnitsToLonLat(this.pixelsToProjectedUnits(t))},e.prototype.pixelsToProjectedUnits=function(t){var e=t.x;t=t.y;var n=this.getScale(),r=this.projection.forward(this.center),i=this.playingField;return{x:r[0]+(e-(i.x+i.width/2))/n,y:r[1]-(t-(i.y+i.height/2))/n}},e.prototype.setUpEvents=function(){var t,e,n,r=this,i=this.chart,o=function(o){var a=i.pointer.pinchDown,s=r.projection,l=i.mouseDownX,c=i.mouseDownY;if(1===a.length&&(l=a[0].chartX,c=a[0].chartY),"number"==typeof l&&"number"==typeof c){var u=""+l+",".concat(c),h=o.originalEvent;a=h.chartX,h=h.chartY,u!==e&&(e=u,t=r.projection.forward(r.center),n=(r.projection.options.rotation||[0,0]).slice()),u=(u=s.def&&s.def.bounds)&&k(u,r.playingField)||-1/0,"Orthographic"===s.options.name&&(r.minZoom||1/0)<1.1*u?(s=440/(r.getScale()*Math.min(i.plotWidth,i.plotHeight)),n&&(l=(l-a)*s-n[0],c=f(-n[1]-(c-h)*s,-80,80),a=r.zoom,r.update({projection:{rotation:[-l,-c]}},!1),r.zoom=a,i.redraw(!1))):(s=r.getScale(),c=r.projection.inverse([t[0]+(l-a)/s,t[1]-(c-h)/s]),r.setView(c,void 0,!0,!1)),o.preventDefault()}};p(i,"pan",o),p(i,"touchpan",o),p(i,"selection",(function(t){if(t.resetSelection)r.zoomBy();else{var e=t.x-i.plotLeft,n=t.y-i.plotTop,o=r.pixelsToProjectedUnits({x:e,y:n}),a=o.y;o=o.x,e=r.pixelsToProjectedUnits({x:e+t.width,y:n+t.height}),r.fitToBounds({x1:o,y1:a,x2:e.x,y2:e.y},void 0,!0,!t.originalEvent.touches&&void 0),/^touch/.test(t.originalEvent.type)||i.showResetZoom(),t.preventDefault()}}))},e.prototype.render=function(){this.group||(this.group=this.chart.renderer.g("map-view").attr({zIndex:4}).add())},e.prototype.update=function(t,e,n){void 0===e&&(e=!0);var r=t.projection;r=r&&o.toString(r)!==o.toString(this.options.projection);var i=!1;x(!0,this.userOptions,t),x(!0,this.options,t),"insets"in t&&(this.insets.forEach((function(t){return t.destroy()})),this.insets.length=0,i=!0),(r||i)&&(this.chart.series.forEach((function(t){var e=t.transformGroups;if(t.clearBounds&&t.clearBounds(),t.isDirty=!0,t.isDirtyData=!0,i&&e)for(;1=e.x1&&t.x<=e.x2&&t.y>=e.y1&&t.y<=e.y2&&n&&d(t,n))},n.prototype.render=function(){var t=this.chart,e=this.mapView,n=this.options,r=n.borderPath||n.field;if(r&&e.group){var i=!0;this.border||(this.border=t.renderer.path().addClass("highcharts-mapview-inset-border").add(e.group),i=!1),t.styledMode||this.border.attr({stroke:n.borderColor,"stroke-width":n.borderWidth});var o=Math.round(this.border.strokeWidth())%2/2,a="mapBoundingBox"===n.relativeTo&&e.getMapBBox()||e.playingField;e=(r.coordinates||[]).reduce((function(e,r){return r.reduce((function(e,r,i){var s=r[0];return r=r[1],"percent"===n.units&&(s=t.plotLeft+S(s+"%",a.width,a.x),r=t.plotTop+S(r+"%",a.height,a.y)),s=Math.floor(s)+o,r=Math.floor(r)+o,e.push(0===i?["M",s,r]:["L",s,r]),e}),e)}),[]),this.border[i?"animate":"attr"]({d:e})}},n.prototype.destroy=function(){this.border&&(this.border=this.border.destroy()),this.eventsToUnbind.forEach((function(t){return t()}))},n.prototype.setUpEvents=function(){},n}(C);return p(r,"afterInit",(function(){this.mapView=new C(this,this.options.mapView)})),C})),e(t,"Series/Map/MapSeries.js",[t["Core/Animation/AnimationUtilities.js"],t["Series/ColorMapComposition.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Chart/MapChart.js"],t["Series/Map/MapPoint.js"],t["Maps/MapView.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],(function(t,e,n,r,i,o,a,s,l,c,u,h){var d=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=t.animObject;t=r.noop;var f=o.splitPath,m=(o=c.seriesTypes).column,g=o.scatter;o=h.extend;var y=h.find,v=h.fireEvent,b=h.getNestedProperty,x=h.isArray,w=h.isNumber,S=h.isObject,k=h.merge,C=h.objectEach,A=h.pick,E=h.splat;return h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.group=void 0,e.joinBy=void 0,e.options=void 0,e.points=void 0,e.processedData=[],e}return d(e,t),e.prototype.animate=function(t){var e=this.chart,n=this.group,r=p(this.options.animation);e.renderer.isSVG&&(t?n.attr({translateX:e.plotLeft+e.plotWidth/2,translateY:e.plotTop+e.plotHeight/2,scaleX:.001,scaleY:.001}):n.animate({translateX:e.plotLeft,translateY:e.plotTop,scaleX:1,scaleY:1},r))},e.prototype.animateDrilldown=function(t){var e=this.chart,n=this.group;e.renderer.isSVG&&(t?n.attr({translateX:e.plotLeft+e.plotWidth/2,translateY:e.plotTop+e.plotHeight/2,scaleX:.1,scaleY:.1,opacity:.01}):(n.animate({translateX:e.plotLeft,translateY:e.plotTop,scaleX:1,scaleY:1,opacity:1},this.chart.options.drilldown.animation),e.drilldown&&e.drilldown.fadeInGroup(this.dataLabelsGroup)))},e.prototype.animateDrillupFrom=function(){var t=this.chart;t.renderer.isSVG&&this.group.animate({translateX:t.plotLeft+t.plotWidth/2,translateY:t.plotTop+t.plotHeight/2,scaleX:.1,scaleY:.1,opacity:.01})},e.prototype.animateDrillupTo=function(t){m.prototype.animateDrillupTo.call(this,t)},e.prototype.clearBounds=function(){this.points.forEach((function(t){delete t.bounds,delete t.insetIndex,delete t.projectedPath})),delete this.bounds},e.prototype.doFullTranslate=function(){return!(!(this.isDirtyData||this.chart.isResizing||this.chart.renderer.isVML)&&this.hasRendered)},e.prototype.drawMapDataLabels=function(){l.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},e.prototype.drawPoints=function(){var t=this,e=this,n=this.chart,r=this.group,i=this.transformGroups,o=void 0===i?[]:i,a=n.mapView,s=n.renderer;a&&(this.transformGroups=o,o[0]||(o[0]=s.g().add(r)),a.insets.forEach((function(t,e){o[e+1]||o.push(s.g().add(r))})),this.doFullTranslate()&&(this.points.forEach((function(e){var r=e.graphic,i=e.shapeArgs;e.group=o["number"==typeof e.insetIndex?e.insetIndex+1:0],r&&r.parentGroup!==e.group&&r.add(e.group),i&&n.hasRendered&&!n.styledMode&&(i.fill=t.pointAttribs(e,e.state).fill)})),m.prototype.drawPoints.apply(this),this.points.forEach((function(r){var i=r.graphic;if(i){var o=i.animate,a="";r.name&&(a+="highcharts-name-"+r.name.replace(/ /g,"-").toLowerCase()),r.properties&&r.properties["hc-key"]&&(a+=" highcharts-key-"+r.properties["hc-key"].toString().toLowerCase()),a&&i.addClass(a),n.styledMode&&i.css(t.pointAttribs(r,r.selected?"select":void 0)),i.animate=function(t,r,a){var s=!1;if(t["stroke-width"]){var l=A(e.getStrokeWidth(e.options),1)/(n.mapView&&n.mapView.getScale()||1);"inherit"===i["stroke-width"]&&(i["stroke-width"]=l),"inherit"===t["stroke-width"]&&(t["stroke-width"]=l,s=!0)}return o.call(i,t,r,s?function(){i.attr({"stroke-width":"inherit"}),a&&a.apply(this,arguments)}:a)}}}))),o.forEach((function(e,r){var i=(0===r?a:a.insets[r-1]).getSVGTransform(),o=A(t.getStrokeWidth(t.options),1),l=i.scaleX,c=0o.length&&"string"==typeof n[0]&&(d[r]["hc-key"]=n[0],++s);for(var l=0;l"},turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"}}}),e}(g),o(h.prototype,{type:"map",axisTypes:e.seriesMembers.axisTypes,colorAttribs:e.seriesMembers.colorAttribs,colorKey:e.seriesMembers.colorKey,directTouch:!0,drawDataLabels:t,drawGraph:t,drawLegendSymbol:i.drawRectangle,forceDL:!0,getCenter:n.getCenter,getExtremesFromAll:!0,getSymbol:t,isCartesian:!1,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:e.seriesMembers.pointArrayMap,pointClass:a,preserveAspectRatio:!0,searchPoint:t,trackerGroups:e.seriesMembers.trackerGroups,useMapGeometry:!0}),e.compose(h),c.registerSeriesType("map",h),h})),e(t,"Series/MapLine/MapLineSeries.js",[t["Series/Map/MapSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=e.series,o=n.extend,a=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.prototype.pointAttribs=function(e,n){return(e=t.prototype.pointAttribs.call(this,e,n)).fill=this.options.fillColor,e},n.defaultOptions=a(t.defaultOptions,{lineWidth:1,fillColor:"none"}),n}(t),o(n.prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:i.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),e.registerSeriesType("mapline",n),n})),e(t,"Series/MapPoint/MapPointPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.isValid=function(){return!!(this.options.geometry||r(this.x)&&r(this.y)||r(this.options.lon)&&r(this.options.lat))},e}(t.seriesTypes.scatter.prototype.pointClass)})),e(t,"Series/MapPoint/MapPointSeries.js",[t["Core/Globals.js"],t["Series/MapPoint/MapPointPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var i=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();t=t.noop;var o=n.seriesTypes,a=o.map,s=o.scatter;o=r.extend;var l=r.fireEvent,c=r.isNumber,u=r.merge;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.options=void 0,e.points=void 0,e.clearBounds=a.prototype.clearBounds,e}return i(e,t),e.prototype.drawDataLabels=function(){t.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},e.prototype.projectPoint=function(t){var e=this.chart.mapView;if(e){var n=t.geometry,r=t.lon;if(t=t.lat,n=n&&"Point"===n.type&&n.coordinates,c(r)&&c(t)&&(n=[r,t]),n)return e.lonLatToProjectedUnits({lon:n[0],lat:n[1]})}},e.prototype.translate=function(){var t=this,e=this.chart.mapView;if(this.processedXData||this.processData(),this.generatePoints(),this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds()),e){var n=e.getSVGTransform(),r=e.projection.hasCoordinates;this.points.forEach((function(i){var o=i.x;o=void 0===o?void 0:o;var a=i.y;a=void 0===a?void 0:a;var s=c(i.insetIndex)&&e.insets[i.insetIndex].getSVGTransform()||n,l=t.projectPoint(i.options)||i.properties&&t.projectPoint(i.properties);if(l)o=l.x,a=l.y;else if(i.bounds&&(o=i.bounds.midX,a=i.bounds.midY,s&&c(o)&&c(a))){i.plotX=o*s.scaleX+s.translateX,i.plotY=a*s.scaleY+s.translateY;var u=!0}c(o)&&c(a)?u||(u=e.projectedUnitsToPixels({x:o,y:a}),i.plotX=u.x,i.plotY=r?u.y:t.chart.plotHeight-u.y):i.y=i.plotX=i.plotY=void 0,i.isInside=t.isPointInside(i),i.zone=t.zones.length?i.getZone():void 0}))}l(this,"afterTranslate")},e.defaultOptions=u(s.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}}),e}(s),o(r.prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:e,searchPoint:t,useMapGeometry:!0}),n.registerSeriesType("mappoint",r),r})),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}})),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var i=t.parse,o=n.noop,a=r.arrayMax,s=r.arrayMin,l=r.isNumber,c=r.merge,u=r.pick,h=r.stableSort;return t=function(){function t(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=o,this.init(t,e)}return t.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},t.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},t.prototype.drawLegendSymbol=function(t){var e=this.chart,n=u(t.options.itemDistance,20),r=this.legendItem||{},i=this.options,o=i.ranges,a=i.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(i.labels.style.fontSize),o&&o.length&&l(o[0].value)?(h(o,(function(t,e){return e.value-t.value})),this.ranges=o,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(o=this.ranges[0].radius),a=0<(a=a-o+t.width)?a:0,this.maxLabel=t,this.movementX="left"===i.labels.align?a:0,r.labelWidth=e+a+n,r.labelHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,n=this.chart.series[e.seriesIndex],r=this.legend.baseline,o={zIndex:e.zIndex,"stroke-width":e.borderWidth},a={zIndex:e.zIndex,"stroke-width":e.connectorWidth},s={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},l=n.options.marker.fillOpacity,h=this.chart.styledMode;t.forEach((function(d,p){h||(o.stroke=u(d.borderColor,e.borderColor,n.color),o.fill=u(d.color,e.color,1!==l?i(n.color).setOpacity(l).get("rgba"):n.color),a.stroke=u(d.connectorColor,e.connectorColor,n.color)),t[p].radius=this.getRangeRadius(d.value),t[p]=c(t[p],{center:t[0].radius-t[p].radius+r}),h||c(!0,t[p],{bubbleAttribs:c(o),connectorAttribs:c(a),labelAttribs:s})}),this)},t.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},t.prototype.render=function(){var t=this.legendItem||{},e=this.chart.renderer,n=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item"),t.symbol.translateX=0,e=t.symbol.translateY=0;for(var r=this.ranges;e=n&&this.renderRange(i)}t.symbol.add(t.label),t.label.add(t.group),this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.options,n=e.labels,r=this.chart,i=r.series[e.seriesIndex],o=r.renderer,a=this.symbols;r=a.labels;var s=t.center,l=Math.abs(t.radius),c=e.connectorDistance||0,u=n.align,h=e.connectorWidth,d=this.ranges[0].radius||0,p=s-l-e.borderWidth/2+h/2,f=this.fontMetrics;f=f.f/2-(f.h-f.f)/2;var m=o.styledMode;c=this.legend.options.rtl||"left"===u?-c:c,"center"===u&&(c=0,e.connectorDistance=0,t.labelAttribs.align="center"),u=p+e.labels.y;var g=d+c+e.labels.x;a.bubbleItems.push(o.circle(d,s+((p%1?1:.5)-(h%2?0:.5)),l).attr(m?{}:t.bubbleAttribs).addClass((m?"highcharts-color-"+i.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendItem.symbol)),a.connectors.push(o.path(o.crispLine([["M",d,p],["L",d+c,p]],e.connectorWidth)).attr(m?{}:t.connectorAttribs).addClass((m?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendItem.symbol)),t=o.text(this.formatLabel(t),g,u+f).attr(m?{}:t.labelAttribs).css(m?{}:n.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendItem.symbol),r.push(t),t.placed=!0,t.alignAttr={x:g,y:u+f}},t.prototype.getMaxLabelSize=function(){var t,e;return this.symbols.labels.forEach((function(n){e=n.getBBox(!0),t=t?e.width>t.width?e:t:e})),t||{}},t.prototype.formatLabel=function(t){var n=this.options,r=n.labels.formatter;n=n.labels.format;var i=this.chart.numberFormatter;return n?e.format(n,t):r?r.call(t):i(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(t.hideOverlappingLabels(e.labels),e.labels.forEach((function(t,n){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[n].show():e.connectors[n].hide()})))},t.prototype.getRanges=function(){var t,e=this.legend.bubbleLegend,n=e.options.ranges,r=Number.MAX_VALUE,i=-Number.MAX_VALUE;e.chart.series.forEach((function(e){e.isBubble&&!e.ignoreSeries&&(t=e.zData.filter(l)).length&&(r=u(e.options.zMin,Math.min(r,Math.max(s(t),!1===e.options.displayNegative?e.options.zThreshold:-Number.MAX_VALUE))),i=u(e.options.zMax,Math.max(i,a(t))))}));var o=r===i?[{value:i}]:[{value:r},{value:(r+i)/2},{value:i,autoRanges:!0}];return n.length&&n[0].radius&&o.reverse(),o.forEach((function(t,e){n&&n[e]&&(o[e]=c(n[e],t))})),o},t.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,n=t.legend.options,r=n.floating,i=(n="horizontal"===n.layout)?t.legend.lastLineHeight:0,o=t.plotSizeX,a=t.plotSizeY,s=t.series[this.options.seriesIndex],l=s.getPxExtremes();t=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var c=Math.min(a,o);return s=s.options.maxSize,r||!/%$/.test(s)?e=l:(s=parseFloat(s),e=(c+i-e.h/2)*s/100/(s/100+1),(n&&a-e>=o||!n&&o-e>=a)&&(e=l)),[t,Math.ceil(e)]},t.prototype.updateRanges=function(t,e){var n=this.legend.options.bubbleLegend;n.minSize=t,n.maxSize=e,n.ranges=this.getRanges()},t.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1o.height&&(o.height=t[i].itemHeight);o.step=e}}return n}function s(t){var n=this.bubbleLegend,r=this.options,i=r.bubbleLegend,a=o(this.chart);n&&n.ranges&&n.ranges.length&&(i.ranges.length&&(i.autoRanges=!!i.ranges[0].autoRanges),this.destroyItem(n)),0<=a&&r.enabled&&i.enabled&&(i.seriesIndex=a,this.bubbleLegend=new e(i,this),this.bubbleLegend.addToLegend(t.allItems))}function l(){var t=this.chart,e=this.visible,n=this.chart.legend;n&&n.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=o(t),n.bubbleLegend.visible!==t&&(n.update({bubbleLegend:{enabled:t}}),n.bubbleLegend.visible=t),this.visible=e)}function c(t,e){var n,r,i,o,a=t.options.rtl,s=0;t.allItems.forEach((function(t,l){(o=t.legendItem||{}).group&&(n=o.group.translateX||0,r=o.y||0,((i=t.movementX)||a&&t.ranges)&&(i=a?n-t.options.maxSize/2:n+i,o.group.attr({translateX:i})),l>e[s].step&&s++,o.group.attr({translateY:Math.round(r+e[s].height/2)}),o.y=r+e[s].height/2)}))}var u=n.setOptions,h=r.addEvent,d=r.objectEach,p=r.wrap,f=[];return{compose:function(e,n,r){-1===f.indexOf(e)&&(f.push(e),u({legend:{bubbleLegend:t}}),p(e.prototype,"drawChartBox",i)),-1===f.indexOf(n)&&(f.push(n),h(n,"afterGetAllItems",s)),-1===f.indexOf(r)&&(f.push(r),h(r,"legendItemClick",l))}}})),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();return n=n.extend,e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return r(n,e),n.prototype.haloPath=function(e){return t.prototype.haloPath.call(this,0===e?0:(this.marker&&this.marker.radius||0)+e)},n}(e.seriesTypes.scatter.prototype.pointClass),n(e.prototype,{ttBelow:!1}),e})),e(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r,i,o){function a(){var t,e=this,n=this.len,r=this.chart,i=this.isXAxis,o=i?"xData":"yData",a=this.min,s=this.max-a,l=0,c=n,u=n/s;this.series.forEach((function(n){if(n.bubblePadding&&(n.visible||!r.options.chart.ignoreHiddenSeries)){t=e.allowZoomOutside=!0;var h=n[o];if(i&&((n.onPoint||n).getRadii(0,0,n),n.onPoint&&(n.radii=n.onPoint.radii)),0=n/2?(i.marker=m(i.marker,{radius:o,width:2*o,height:2*o}),i.dlBox={x:i.plotX-o,y:i.plotY-o,width:2*o,height:2*o}):(i.shapeArgs=i.dlBox=void 0,i.plotY=0,i.marker={width:0,height:0})}},n.prototype.getPxExtremes=function(){var t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=function(e){if("string"==typeof e){var n=/%$/.test(e);e=parseInt(e,10)}return n?t*e/100:e},n=e(v(this.options.minSize,8));return{minPxSize:n,maxPxSize:e=Math.max(e(v(this.options.maxSize,"20%")),n)}},n.prototype.getZExtremes=function(){var t=this.options,e=(this.zData||[]).filter(g);if(e.length){var n=v(t.zMin,f(p(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(t=v(t.zMax,d(e)),g(n)&&g(t))return{zMin:n,zMax:t}}},n.defaultOptions=y(h.defaultOptions,{dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.z;return g(e)?t(e,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),n}(h),m(o.prototype,{alignDataLabel:r.alignDataLabel,applyZones:n,bubblePadding:!0,buildKDTree:n,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:e,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),u(o,"updatedData",(function(t){delete t.target.chart.bubbleZExtremes})),u(o,"remove",(function(t){delete t.target.chart.bubbleZExtremes})),i.registerSeriesType("bubble",o),o})),e(t,"Series/MapBubble/MapBubblePoint.js",[t["Series/Bubble/BubblePoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();return e=e.seriesTypes.map.prototype.pointClass.prototype,n=n.extend,t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.isValid=function(){return"number"==typeof this.z},e}(t),n(t.prototype,{applyOptions:e.applyOptions,getProjectedBounds:e.getProjectedBounds}),t})),e(t,"Series/MapBubble/MapBubbleSeries.js",[t["Series/Bubble/BubbleSeries.js"],t["Series/MapBubble/MapBubblePoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var i=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=n.seriesTypes,a=o.map.prototype,s=o.mappoint.prototype;o=r.extend;var l=r.merge;return r=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.clearBounds=a.clearBounds,t}return i(n,e),n.prototype.searchPoint=function(t,e){return this.searchKDTree({clientX:t.chartX-this.chart.plotLeft,plotY:t.chartY-this.chart.plotTop},e,t)},n.prototype.translate=function(){s.translate.call(this),this.getRadii(),this.translateBubble()},n.defaultOptions=l(t.defaultOptions,{lineWidth:0,animationLimit:500,joinBy:"hc-key",tooltip:{pointFormat:"{point.name}: {point.z}"}}),n}(t),o(r.prototype,{type:"mapbubble",axisTypes:["colorAxis"],getProjectedBounds:a.getProjectedBounds,isCartesian:!1,pointArrayMap:["z"],pointClass:e,processData:a.processData,projectPoint:s.projectPoint,setData:a.setData,setOptions:a.setOptions,updateData:a.updateData,useMapGeometry:!0,xyFromShape:!0}),n.registerSeriesType("mapbubble",r),r})),e(t,"Series/Heatmap/HeatmapPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e.clamp,i=e.defined,o=e.extend,a=e.pick;return t=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e.value=void 0,e.x=void 0,e.y=void 0,e}return n(e,t),e.prototype.applyOptions=function(e,n){return(e=t.prototype.applyOptions.call(this,e,n)).formatPrefix=e.isNull||null===e.value?"null":"point",e},e.prototype.getCellAttributes=function(){var t=this.series,e=t.options,n=(e.colsize||1)/2,o=(e.rowsize||1)/2,s=t.xAxis,l=t.yAxis,c=this.options.marker||t.options.marker;t=t.pointPlacementToXValue();var u=a(this.pointPadding,e.pointPadding,0),h={x1:r(Math.round(s.len-s.translate(this.x-n,!1,!0,!1,!0,-t)),-s.len,2*s.len),x2:r(Math.round(s.len-s.translate(this.x+n,!1,!0,!1,!0,-t)),-s.len,2*s.len),y1:r(Math.round(l.translate(this.y-o,!1,!0,!1,!0)),-l.len,2*l.len),y2:r(Math.round(l.translate(this.y+o,!1,!0,!1,!0)),-l.len,2*l.len)};return[["width","x"],["height","y"]].forEach((function(t){var e=t[0],n=(t=t[1])+"1",r=t+"2",o=Math.abs(h[n]-h[r]),a=c&&c.lineWidth||0,s=Math.abs(h[n]+h[r])/2;e=c&&c[e],i(e)&&e"},states:{hover:{halo:!1,brightness:.2}}}),n}(h),p(o.prototype,{axisTypes:e.seriesMembers.axisTypes,colorKey:e.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:n,trackerGroups:e.seriesMembers.trackerGroups,alignDataLabel:u.prototype.alignDataLabel,colorAttribs:e.seriesMembers.colorAttribs,drawLegendSymbol:r.drawRectangle,getSymbol:l.prototype.getSymbol}),e.compose(o),i.registerSeriesType("heatmap",o),o})),e(t,"masters/modules/map.src.js",[t["Core/Globals.js"],t["Core/Axis/Color/ColorAxis.js"],t["Series/MapBubble/MapBubbleSeries.js"],t["Core/Chart/MapChart.js"],t["Maps/MapView.js"],t["Maps/Projection.js"]],(function(t,e,n,r,i,o){t.ColorAxis=e,t.MapChart=r,t.mapChart=t.Map=r.mapChart,t.MapView=i,t.maps=r.maps,t.Projection=o,e.compose(t.Chart,t.Fx,t.Legend,t.Series),n.compose(t.Axis,t.Chart,t.Legend,t.Series)}))},t.exports?(o.default=o,t.exports=o):(r=[n(43869)],void 0===(i=function(t){return o(t),o.Highcharts=t,o}.apply(e,r))||(t.exports=i))},38224:function(t,e,n){var r,i;!function(o){t.exports?(o.default=o,t.exports=o):(r=[n(43869),n(83332)],void 0===(i=function(t){return o(t),o.Highcharts=t,o}.apply(e,r))||(t.exports=i))}((function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/DownloadURL.js",[t["Core/Globals.js"]],(function(t){var e=t.isSafari,n=t.win,r=n.document,i=n.URL||n.webkitURL||n,o=t.dataURLtoBlob=function(t){if((t=t.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3n.indexOf("Chrome");try{if(!n&&-1===t.indexOf("r?"p":"l","pt",[r,e]);[].forEach.call(t.querySelectorAll('*[visibility="hidden"]'),(function(t){t.parentNode.removeChild(t)}));for(var o=t.querySelectorAll("linearGradient"),a=0;a]*width\s*=\s*"?(\d+)"?[^>]*>/)[1]*g,s=n.match(/^]*height\s*=\s*"?(\d+)"?[^>]*>/)[1]*g,l=function(){h.canvg.Canvg.fromString(e,n).start();try{u(h.navigator.msSaveOrOpenBlob?t.msToBlob():t.toDataURL(f),m),a&&a()}catch(t){o(t)}finally{A()}};t.width=i,t.height=s,h.canvg?l():(v=!0,r(y+"canvg.js",(function(){l()})))}),o,o,(function(){v&&A()}))}},e.getScript=r,e.imageToDataUrl=l,e.svgToDataUrl=b,e.svgToPdf=w}(b||(b={})),b})),e(t,"masters/modules/offline-exporting.src.js",[t["Core/Globals.js"],t["Extensions/OfflineExporting/OfflineExporting.js"]],(function(t,e){t.downloadSVGLocal=e.downloadSVGLocal,e.compose(t.Chart)}))}))},55839:function(t,e,n){"use strict";var r=n(19185),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(t){return r.isMemo(t)?a:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(f){var i=p(n);i&&i!==f&&t(e,i,r)}var a=u(n);h&&(a=a.concat(h(n)));for(var s=l(e),m=l(n),g=0;g1?e-1:0),r=1;r3?e.i-4:e.i:Array.isArray(t)?1:d(t)?2:p(t)?3:0}function l(t,e){return 2===s(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function c(t,e){return 2===s(t)?t.get(e):t[e]}function u(t,e,n){var r=s(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function h(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function d(t){return B&&t instanceof Map}function p(t){return U&&t instanceof Set}function f(t){return t.o||t.t}function m(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=$(t);delete e[V];for(var n=X(e),r=0;r1&&(t.set=t.add=t.clear=t.delete=y),Object.freeze(t),e&&a(t,(function(t,e){return g(e,!0)}),!0)),t}function y(){r(2)}function v(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function b(t){var e=K[t];return e||r(18,t),e}function x(){return z}function w(t,e){e&&(b("Patches"),t.u=[],t.s=[],t.v=e)}function S(t){k(t),t.p.forEach(A),t.p=null}function k(t){t===z&&(z=t.l)}function C(t){return z={p:[],l:z,h:t,m:!0,_:0}}function A(t){var e=t[V];0===e.i||1===e.i?e.j():e.O=!0}function E(t,e){e._=e.p.length;var n=e.p[0],i=void 0!==t&&t!==n;return e.h.g||b("ES5").S(e,t,i),i?(n[V].P&&(S(e),r(4)),o(t)&&(t=M(e,t),e.l||P(e,t)),e.u&&b("Patches").M(n[V].t,t,e.u,e.s)):t=M(e,n,[]),S(e),e.u&&e.v(e.u,e.s),t!==G?t:void 0}function M(t,e,n){if(v(e))return e;var r=e[V];if(!r)return a(e,(function(i,o){return T(t,r,e,i,o,n)}),!0),e;if(r.A!==t)return e;if(!r.P)return P(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=m(r.k):r.o;a(3===r.i?new Set(i):i,(function(e,o){return T(t,r,i,e,o,n)})),P(t,i,!1),n&&t.u&&b("Patches").R(r,n,t.u,t.s)}return r.o}function T(t,e,n,r,a,s){if(i(a)){var c=M(t,a,s&&e&&3!==e.i&&!l(e.D,r)?s.concat(r):void 0);if(u(n,r,c),!i(c))return;t.m=!1}if(o(a)&&!v(a)){if(!t.h.F&&t._<1)return;M(t,a),e&&e.A.l||P(t,a)}}function P(t,e,n){void 0===n&&(n=!1),t.h.F&&t.m&&g(e,n)}function O(t,e){var n=t[V];return(n?f(n):t)[e]}function j(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function _(t){t.P||(t.P=!0,t.l&&_(t.l))}function L(t){t.o||(t.o=m(t.t))}function I(t,e,n){var r=d(e)?b("MapSet").N(e,n):p(e)?b("MapSet").T(e,n):t.g?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:x(),P:!1,I:!1,D:{},l:e,t:t,k:null,o:null,j:null,C:!1},i=r,o=q;n&&(i=[r],o=Z);var a=Proxy.revocable(i,o),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,n):b("ES5").J(e,n);return(n?n.A:x()).p.push(r),r}function D(t){return i(t)||r(22,t),function t(e){if(!o(e))return e;var n,r=e[V],i=s(e);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=N(e,i),r.I=!1}else n=N(e,i);return a(n,(function(e,i){r&&c(r.t,e)===i||u(n,e,t(i))})),3===i?new Set(n):n}(t)}function N(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return m(t)}n.d(e,{Uy:function(){return tt}});var R,z,F="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),B="undefined"!=typeof Map,U="undefined"!=typeof Set,W="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,G=F?Symbol.for("immer-nothing"):((R={})["immer-nothing"]=!0,R),H=F?Symbol.for("immer-draftable"):"__$immer_draftable",V=F?Symbol.for("immer-state"):"__$immer_state",Y=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),X="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,$=Object.getOwnPropertyDescriptors||function(t){var e={};return X(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},K={},q={get:function(t,e){if(e===V)return t;var n=f(t);if(!l(n,e))return function(t,e,n){var r,i=j(e,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,n,e);var r=n[e];return t.I||!o(r)?r:r===O(t.t,e)?(L(t),t.o[e]=I(t.A.h,r,t)):r},has:function(t,e){return e in f(t)},ownKeys:function(t){return Reflect.ownKeys(f(t))},set:function(t,e,n){var r=j(f(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,n),!0;if(!t.P){var i=O(f(t),e),o=null==i?void 0:i[V];if(o&&o.t===n)return t.o[e]=n,t.D[e]=!1,!0;if(h(n,i)&&(void 0!==n||l(t.t,e)))return!0;L(t),_(t)}return t.o[e]===n&&"number"!=typeof n&&(void 0!==n||e in t.o)||(t.o[e]=n,t.D[e]=!0,!0)},deleteProperty:function(t,e){return void 0!==O(t.t,e)||e in t.t?(t.D[e]=!1,L(t),_(t)):delete t.D[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=f(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:n[e]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){r(12)}},Z={};a(q,(function(t,e){Z[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Z.deleteProperty=function(t,e){return Z.set.call(this,t,e,void 0)},Z.set=function(t,e,n){return q.set.call(this,t[0],e,n,t[0])};var J=function(){function t(t){var e=this;this.g=W,this.F=!0,this.produce=function(t,n,i){if("function"==typeof t&&"function"!=typeof n){var a=n;n=t;var s=e;return function(t){var e=this;void 0===t&&(t=a);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}n>-1&&(e=e.slice(n+1));var o=b("Patches").$;return i(t)?o(t,e):this.produce(t,(function(t){return o(t,e)}))},t}(),Q=new J,tt=Q.produce;Q.produceWithPatches.bind(Q),Q.setAutoFreeze.bind(Q),Q.setUseProxies.bind(Q),Q.applyPatches.bind(Q),Q.createDraft.bind(Q),Q.finishDraft.bind(Q);e.ZP=tt},99312:function(t,e,n){"use strict";var r=n(18820);function i(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var e,n;return!1!==i(t)&&("function"==typeof(e=t.constructor)&&(!1!==i(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},55182:function(t){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},18820:function(t){"use strict";t.exports=function(t){return null!=t&&"object"==typeof t&&!1===Array.isArray(t)}},94306:function(t){var e=Object.prototype.toString;function n(t){return"function"==typeof t.constructor?t.constructor.name:null}t.exports=function(t){if(void 0===t)return"undefined";if(null===t)return"null";var r,i=typeof t;if("boolean"===i)return"boolean";if("string"===i)return"string";if("number"===i)return"number";if("symbol"===i)return"symbol";if("function"===i)return r=t,"GeneratorFunction"===n(r)?"generatorfunction":"function";if(function(t){return Array.isArray?Array.isArray(t):t instanceof Array}(t))return"array";if(function(t){if(t.constructor&&"function"==typeof t.constructor.isBuffer)return t.constructor.isBuffer(t);return!1}(t))return"buffer";if(function(t){try{if("number"==typeof t.length&&"function"==typeof t.callee)return!0}catch(t){if(-1!==t.message.indexOf("callee"))return!0}return!1}(t))return"arguments";if(function(t){return t instanceof Date||"function"==typeof t.toDateString&&"function"==typeof t.getDate&&"function"==typeof t.setDate}(t))return"date";if(function(t){return t instanceof Error||"string"==typeof t.message&&t.constructor&&"number"==typeof t.constructor.stackTraceLimit}(t))return"error";if(function(t){return t instanceof RegExp||"string"==typeof t.flags&&"boolean"==typeof t.ignoreCase&&"boolean"==typeof t.multiline&&"boolean"==typeof t.global}(t))return"regexp";switch(n(t)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(t){return"function"==typeof t.throw&&"function"==typeof t.return&&"function"==typeof t.next}(t))return"generator";switch(i=e.call(t)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return i.slice(8,-1).toLowerCase().replace(/\s/g,"")}},82545:function(t,e,n){var r=n(81822)(n(77400),"DataView");t.exports=r},96586:function(t,e,n){var r=n(57753),i=n(82452),o=n(22115),a=n(38256),s=n(67426);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++ei?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r-1?s[l?e[c]:c]:void 0}}},42630:function(t,e,n){var r=n(81822),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},27042:function(t,e,n){var r=n(52485),i=n(90756),o=n(65581);t.exports=function(t,e,n,a,s,l){var c=1&n,u=t.length,h=e.length;if(u!=h&&!(c&&h>u))return!1;var d=l.get(t),p=l.get(e);if(d&&p)return d==e&&p==t;var f=-1,m=!0,g=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++f-1&&t%1==0&&t-1}},52556:function(t,e,n){var r=n(93382);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},39448:function(t,e,n){var r=n(96586),i=n(36301),o=n(44538);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},7738:function(t,e,n){var r=n(95899);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},66575:function(t,e,n){var r=n(95899);t.exports=function(t){return r(this,t).get(t)}},7238:function(t,e,n){var r=n(95899);t.exports=function(t){return r(this,t).has(t)}},38738:function(t,e,n){var r=n(95899);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},19383:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},65042:function(t){t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},2941:function(t,e,n){var r=n(16651);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},35718:function(t,e,n){var r=n(81822)(Object,"create");t.exports=r},50962:function(t,e,n){var r=n(58023)(Object.keys,Object);t.exports=r},18125:function(t,e,n){t=n.nmd(t);var r=n(39120),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},21258:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},58023:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},64373:function(t,e,n){var r=n(79867),i=n(75733);t.exports=function(t,e){return e.length<2?t:r(t,i(e,0,-1))}},77400:function(t,e,n){var r=n(39120),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},38639:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},88379:function(t){t.exports=function(t){return this.__data__.has(t)}},43735:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},7354:function(t,e,n){var r=n(36301);t.exports=function(){this.__data__=new r,this.size=0}},5863:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},12367:function(t){t.exports=function(t){return this.__data__.get(t)}},90748:function(t){t.exports=function(t){return this.__data__.has(t)}},97569:function(t,e,n){var r=n(36301),i=n(44538),o=n(74554);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},23419:function(t,e,n){var r=n(2941),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)})),e}));t.exports=a},37948:function(t,e,n){var r=n(55193);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},76532:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},56127:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},66726:function(t,e,n){var r=n(11611),i=n(82846),o=n(91936),a=Math.max,s=Math.min;t.exports=function(t,e,n){var l,c,u,h,d,p,f=0,m=!1,g=!1,y=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function v(e){var n=l,r=c;return l=c=void 0,f=e,h=t.apply(r,n)}function b(t){return f=t,d=setTimeout(w,e),m?v(t):h}function x(t){var n=t-p;return void 0===p||n>=e||n<0||g&&t-f>=u}function w(){var t=i();if(x(t))return S(t);d=setTimeout(w,function(t){var n=e-(t-p);return g?s(n,u-(t-f)):n}(t))}function S(t){return d=void 0,y&&l?v(t):(l=c=void 0,h)}function k(){var t=i(),n=x(t);if(l=arguments,c=this,p=t,n){if(void 0===d)return b(p);if(g)return clearTimeout(d),d=setTimeout(w,e),v(p)}return void 0===d&&(d=setTimeout(w,e)),h}return e=o(e)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,e):u,y="trailing"in n?!!n.trailing:y),k.cancel=function(){void 0!==d&&clearTimeout(d),f=0,l=p=c=d=void 0},k.flush=function(){return void 0===d?h:S(i())},k}},85638:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},92489:function(t,e,n){var r=n(56632)(n(1724));t.exports=r},1724:function(t,e,n){var r=n(95372),i=n(89278),o=n(47991),a=Math.max,s=Math.min;t.exports=function(t,e,n){var l=null==t?0:t.length;if(!l)return-1;var c=l-1;return void 0!==n&&(c=o(n),c=n<0?a(l+c,0):s(c,l-1)),r(t,i(e,3),c,!0)}},99729:function(t,e,n){var r=n(79867);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},73915:function(t,e,n){var r=n(30124),i=n(731);t.exports=function(t,e){return null!=t&&i(t,e,r)}},79749:function(t,e,n){var r=n(21610),i=n(731);t.exports=function(t,e){return null!=t&&i(t,e,r)}},31137:function(t){t.exports=function(t){return t}},2900:function(t,e,n){var r=n(55829),i=n(92360),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=l},19785:function(t){var e=Array.isArray;t.exports=e},80068:function(t,e,n){var r=n(28338),i=n(84194);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},43854:function(t,e,n){t=n.nmd(t);var r=n(77400),i=n(57714),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;t.exports=l},28338:function(t,e,n){var r=n(99736),i=n(11611);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},84194:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},11611:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},92360:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},55193:function(t,e,n){var r=n(99736),i=n(92360);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},48519:function(t,e,n){var r=n(26972),i=n(39334),o=n(18125),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},50098:function(t,e,n){var r=n(98213),i=n(20186),o=n(80068);t.exports=function(t){return o(t)?r(t):i(t)}},31159:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},16651:function(t,e,n){var r=n(74554);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},82846:function(t,e,n){var r=n(77400);t.exports=function(){return r.Date.now()}},96001:function(t,e,n){var r=n(50517),i=n(10301),o=n(40318),a=n(37948);t.exports=function(t){return o(t)?r(a(t)):i(t)}},47215:function(t,e,n){var r=n(78859);t.exports=function(t,e,n){return null==t?t:r(t,e,n)}},15937:function(t){t.exports=function(){return[]}},57714:function(t){t.exports=function(){return!1}},94919:function(t,e,n){var r=n(91936),i=1/0;t.exports=function(t){return t?(t=r(t))===i||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},47991:function(t,e,n){var r=n(94919);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},91936:function(t,e,n){var r=n(74833),i=n(11611),o=n(55193),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):a.test(t)?NaN:+t}},65567:function(t,e,n){var r=n(34282);t.exports=function(t){return null==t?"":r(t)}},43551:function(t,e,n){var r=n(70830);t.exports=function(t,e){return null==t||r(t,e)}},49743:function(t,e,n){e.markdown=n(59291),e.Q=e.markdown.toHTML},59291:function(t,e,n){!function(t){var e=t.Markdown=function(t){switch(typeof t){case"undefined":this.dialect=e.dialects.Gruber;break;case"object":this.dialect=t;break;default:if(!(t in e.dialects))throw new Error("Unknown Markdown dialect '"+String(t)+"'");this.dialect=e.dialects[t]}this.em_state=[],this.strong_state=[],this.debug_indent=""};function r(){return"Markdown.mk_block( "+uneval(this.toString())+", "+uneval(this.trailing)+", "+uneval(this.lineNumber)+" )"}function i(){var t=n(71323);return"Markdown.mk_block( "+t.inspect(this.toString())+", "+t.inspect(this.trailing)+", "+t.inspect(this.lineNumber)+" )"}t.parse=function(t,n){return new e(n).toTree(t)},t.toHTML=function(e,n,r){var i=t.toHTMLTree(e,n,r);return t.renderJsonML(i)},t.toHTMLTree=function(t,e,n){"string"==typeof t&&(t=this.parse(t,e));var r=d(t),i={};r&&r.references&&(i=r.references);var o=g(t,i,n);return y(o),o};var o=e.mk_block=function(t,e,n){1==arguments.length&&(e="\n\n");var o=new String(t);return o.trailing=e,o.inspect=i,o.toSource=r,null!=n&&(o.lineNumber=n),o};function s(t){for(var e=0,n=-1;-1!==(n=t.indexOf("\n",n+1));)e++;return e}function l(t,e){var n=t+"_state",r="strong"==t?"em_state":"strong_state";function i(t){this.len_after=t,this.name="close_"+e}return function(o,a){if(this[n][0]==e)return this[n].shift(),[o.length,new i(o.length-e.length)];var s=this[r].slice(),l=this[n].slice();this[n].unshift(e);var c=this.processInline(o.substr(e.length)),u=c[c.length-1];this[n].shift();return u instanceof i?(c.pop(),[o.length-u.len_after,[t].concat(c)]):(this[r]=s,this[n]=l,[e.length,e])}}e.prototype.split_blocks=function(t,e){t=t.replace(/(\r\n|\n|\r)/g,"\n");var n,r=/([\s\S]+?)($|\n#|\n(?:\s*\n|$)+)/g,i=[],a=1;for(null!=(n=/^(\s*\n)/.exec(t))&&(a+=s(n[0]),r.lastIndex=n[0].length);null!==(n=r.exec(t));)"\n#"==n[2]&&(n[2]="\n",r.lastIndex--),i.push(o(n[1],n[2],a)),a+=s(n[0]);return i},e.prototype.processBlock=function(t,e){var n=this.dialect.block,r=n.__order__;if("__call__"in n)return n.__call__.call(this,t,e);for(var i=0;i0&&!u(o[0]))&&this.debug(r[i],"didn't return a proper array"),o}return[]},e.prototype.processInline=function(t){return this.dialect.inline.__call__.call(this,String(t))},e.prototype.toTree=function(t,e){var n=t instanceof Array?t:this.split_blocks(t),r=this.tree;try{for(this.tree=e||this.tree||["markdown"];n.length;){var i=this.processBlock(n.shift(),n);i.length&&this.tree.push.apply(this.tree,i)}return this.tree}finally{e&&(this.tree=r)}},e.prototype.debug=function(){var t=Array.prototype.slice.call(arguments);t.unshift(this.debug_indent),"undefined"!=typeof print&&print.apply(print,t),"undefined"!=typeof console&&void 0!==console.log&&console.log.apply(null,t)},e.prototype.loop_re_over_block=function(t,e,n){for(var r,i=e.valueOf();i.length&&null!=(r=t.exec(i));)i=i.substr(r[0].length),n.call(this,r);return i},e.dialects={},e.dialects.Gruber={block:{atxHeader:function(t,e){var n=t.match(/^(#{1,6})\s*(.*?)\s*#*\s*(?:\n|$)/);if(n){var r=["header",{level:n[1].length}];return Array.prototype.push.apply(r,this.processInline(n[2])),n[0].length1&&n.unshift(r);for(var o=0;o1&&"string"==typeof i[i.length-1]?i[i.length-1]+=a:i.push(a)}}}function a(t,e){for(var n=new RegExp("^("+r+"{"+t+"}.*?\\n?)*$"),i=new RegExp("^"+r+"{"+t+"}","gm"),a=[];e.length>0&&n.exec(e[0]);){var s=e.shift(),l=s.replace(i,"");a.push(o(l,s.trailing,s.lineNumber))}return a}function s(t,e,n){var r=t.list,i=r[r.length-1];if(!(i[1]instanceof Array&&"para"==i[1][0]))if(e+1==n.length)i.push(["para"].concat(i.splice(1,i.length-1)));else{var o=i.pop();i.push(["para"].concat(i.splice(1,i.length-1)),o)}}return function(o,l){var u=o.match(n);if(u){for(var h,d,p,f=[],m=P(u),g=!1,y=[f[0].list];;){for(var v=o.split(/(?=\n)/),b="",x=0;xf.length)m=P(u),h.push(m),h=m[1]=["listitem"];else{var A=!1;for(d=0;du[0].length&&(b+=w+S.substr(u[0].length))}b.length&&(i(h,g,this.processInline(b),w),g=!1,b="");var E=a(f.length,l);E.length>0&&(c(f,s,this),h.push.apply(h,this.toTree(E,[])));var M=l[0]&&l[0].valueOf()||"";if(!M.match(n)&&!M.match(/^ /))break;o=l.shift();var T=this.dialect.block.horizRule(o,l);if(T){y.push.apply(y,T);break}c(f,s,this),g=!0}return y}function P(t){var n=e.exec(t[2])?["bulletlist"]:["numberlist"];return f.push({list:n,indent:t[1]}),n}}}(),blockquote:function(t,e){if(t.match(/^>/m)){var n=[];if(">"!=t[0]){for(var r=t.split(/\n/),i=[],a=t.lineNumber;r.length&&">"!=r[0][0];)i.push(r.shift()),a++;var s=o(i.join("\n"),"\n",t.lineNumber);n.push.apply(n,this.processBlock(s,[])),t=o(r.join("\n"),t.trailing,a)}for(;e.length&&">"==e[0][0];){var l=e.shift();t=o(t+t.trailing+l,l.trailing,t.lineNumber)}var c=t.replace(/^> ?/gm,""),u=(this.tree,this.toTree(c,["blockquote"])),p=d(u);return p&&p.references&&(delete p.references,h(p)&&u.splice(1,1)),n.push(u),n}},referenceDefn:function(t,e){var n=/^\s*\[(.*?)\]:\s*(\S+)(?:\s+(?:(['"])(.*?)\3|\((.*?)\)))?\n?/;if(t.match(n)){d(this.tree)||this.tree.splice(1,0,{});var r=d(this.tree);void 0===r.references&&(r.references={});var i=this.loop_re_over_block(n,t,(function(t){t[2]&&"<"==t[2][0]&&">"==t[2][t[2].length-1]&&(t[2]=t[2].substring(1,t[2].length-1));var e=r.references[t[1].toLowerCase()]={href:t[2]};void 0!==t[4]?e.title=t[4]:void 0!==t[5]&&(e.title=t[5])}));return i.length&&e.unshift(o(i,t.trailing)),[]}},para:function(t,e){return[["para"].concat(this.processInline(t))]}}},e.dialects.Gruber.inline={__oneElement__:function(t,e,n){var r,i;return e=e||this.dialect.inline.__patterns__,(r=new RegExp("([\\s\\S]*?)("+(e.source||e)+")").exec(t))?r[1]?[r[1].length,r[1]]:(r[2]in this.dialect.inline&&(i=this.dialect.inline[r[2]].call(this,t.substr(r.index),r,n||[])),i=i||[r[2].length,r[2]]):[t.length,t]},__call__:function(t,e){var n,r=[];function i(t){"string"==typeof t&&"string"==typeof r[r.length-1]?r[r.length-1]+=t:r.push(t)}for(;t.length>0;)n=this.dialect.inline.__oneElement__.call(this,t,e,r),t=t.substr(n.shift()),c(n,i);return r},"]":function(){},"}":function(){},__escape__:/^\\[\\`\*_{}\[\]()#\+.!\-]/,"\\":function(t){return this.dialect.inline.__escape__.exec(t)?[2,t.charAt(1)]:[1,"\\"]},"![":function(t){var e=t.match(/^!\[(.*?)\][ \t]*\([ \t]*([^")]*?)(?:[ \t]+(["'])(.*?)\3)?[ \t]*\)/);if(e){e[2]&&"<"==e[2][0]&&">"==e[2][e[2].length-1]&&(e[2]=e[2].substring(1,e[2].length-1)),e[2]=this.dialect.inline.__call__.call(this,e[2],/\\/)[0];var n={alt:e[1],href:e[2]||""};return void 0!==e[4]&&(n.title=e[4]),[e[0].length,["img",n]]}return(e=t.match(/^!\[(.*?)\][ \t]*\[(.*?)\]/))?[e[0].length,["img_ref",{alt:e[1],ref:e[2].toLowerCase(),original:e[0]}]]:[2,"!["]},"[":function(t){var n=String(t),r=e.DialectHelpers.inline_until_char.call(this,t.substr(1),"]");if(!r)return[1,"["];var i,o,a=1+r[0],s=r[1],l=(t=t.substr(a)).match(/^\s*\([ \t]*([^"']*)(?:[ \t]+(["'])(.*?)\2)?[ \t]*\)/);if(l){var c=l[1];if(a+=l[0].length,c&&"<"==c[0]&&">"==c[c.length-1]&&(c=c.substring(1,c.length-1)),!l[3])for(var u=1,h=0;h]+)|(.*?@.*?\.[a-zA-Z]+))>/))?e[3]?[e[0].length,["link",{href:"mailto:"+e[3]},e[3]]]:"mailto"==e[2]?[e[0].length,["link",{href:e[1]},e[1].substr("mailto:".length)]]:[e[0].length,["link",{href:e[1]},e[1]]]:[1,"<"]},"`":function(t){var e=t.match(/(`+)(([\s\S]*?)\1)/);return e&&e[2]?[e[1].length+e[2].length,["inlinecode",e[3]]]:[1,"`"]}," \n":function(t){return[3,["linebreak"]]}},e.dialects.Gruber.inline["**"]=l("strong","**"),e.dialects.Gruber.inline.__=l("strong","__"),e.dialects.Gruber.inline["*"]=l("em","*"),e.dialects.Gruber.inline._=l("em","_"),e.buildBlockOrder=function(t){var e=[];for(var n in t)"__order__"!=n&&"__call__"!=n&&e.push(n);t.__order__=e},e.buildInlinePatterns=function(t){var e=[];for(var n in t)if(!n.match(/^__.*__$/)){var r=n.replace(/([\\.*+?|()\[\]{}])/g,"\\$1").replace(/\n/,"\\n");e.push(1==n.length?r:"(?:"+r+")")}e=e.join("|"),t.__patterns__=e;var i=t.__call__;t.__call__=function(t,n){return null!=n?i.call(this,t,n):i.call(this,t,e)}},e.DialectHelpers={},e.DialectHelpers.inline_until_char=function(t,e){for(var n=0,r=[];;){if(t.charAt(n)==e)return[++n,r];if(n>=t.length)return null;var i=this.dialect.inline.__oneElement__.call(this,t.substr(n));n+=i[0],r.push.apply(r,i.slice(1))}},e.subclassDialect=function(t){function e(){}function n(){}return e.prototype=t.block,n.prototype=t.inline,{block:new e,inline:new n}},e.buildBlockOrder(e.dialects.Gruber.block),e.buildInlinePatterns(e.dialects.Gruber.inline),e.dialects.Maruku=e.subclassDialect(e.dialects.Gruber),e.dialects.Maruku.processMetaHash=function(t){for(var e=function(t){var e=t.split(""),n=[""],r=!1;for(;e.length;){var i=e.shift();switch(i){case" ":r?n[n.length-1]+=i:n.push("");break;case"'":case'"':r=!r;break;case"\\":i=e.shift();default:n[n.length-1]+=i}}return n}(t),n={},r=0;r1)&&t.match(/^(?:\w+:.*\n)*\w+:.*$/)){d(this.tree)||this.tree.splice(1,0,{});var n=t.split(/\n/);for(p in n){var r=n[p].match(/(\w+):\s*(.*)$/),i=r[1].toLowerCase(),o=r[2];this.tree[1][i]=o}return[]}},e.dialects.Maruku.block.block_meta=function(t,e){var n=t.match(/(^|\n) {0,3}\{:\s*((?:\\\}|[^\}])*)\s*\}$/);if(n){var r,i=this.dialect.processMetaHash(n[2]);if(""===n[1]){var o=this.tree[this.tree.length-1];if(r=d(o),"string"==typeof o)return;for(a in r||(r={},o.splice(1,0,r)),i)r[a]=i[a];return[]}var s=t.replace(/\n.*$/,""),l=this.processBlock(s,[]);for(a in(r=d(l[0]))||(r={},l[0].splice(1,0,r)),i)r[a]=i[a];return l}},e.dialects.Maruku.block.definition_list=function(t,e){var n,r=/^((?:[^\s:].*\n)+):\s+([\s\S]+)$/,i=["dl"];if(s=t.match(r)){for(var o=[t];e.length&&r.exec(e[0]);)o.push(e.shift());for(var a=0;a1&&"object"==typeof t[1]&&!u(t[1])?t[1]:void 0}function f(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function m(t){if("string"==typeof t)return f(t);var e=t.shift(),n={},r=[];for(!t.length||"object"!=typeof t[0]||t[0]instanceof Array||(n=t.shift());t.length;)r.push(m(t.shift()));var i="";for(var o in n)i+=" "+o+'="'+f(n[o])+'"';return"img"==e||"br"==e||"hr"==e?"<"+e+i+"/>":"<"+e+i+">"+r.join("")+""}function g(t,e,n){var r;n=n||{};var i=t.slice(0);"function"==typeof n.preprocessTreeNode&&(i=n.preprocessTreeNode(i,e));var o=d(i);if(o){for(r in i[1]={},o)i[1][r]=o[r];o=i[1]}if("string"==typeof i)return i;switch(i[0]){case"header":i[0]="h"+i[1].level,delete i[1].level;break;case"bulletlist":i[0]="ul";break;case"numberlist":i[0]="ol";break;case"listitem":i[0]="li";break;case"para":i[0]="p";break;case"markdown":i[0]="html",o&&delete o.references;break;case"code_block":i[0]="pre",r=o?2:1;var a=["code"];a.push.apply(a,i.splice(r,i.length-r)),i[r]=a;break;case"inlinecode":i[0]="code";break;case"img":i[1].src=i[1].href,delete i[1].href;break;case"linebreak":i[0]="br";break;case"link":i[0]="a";break;case"link_ref":if(i[0]="a",!(s=e[o.ref]))return o.original;delete o.ref,o.href=s.href,s.title&&(o.title=s.title),delete o.original;break;case"img_ref":var s;if(i[0]="img",!(s=e[o.ref]))return o.original;delete o.ref,o.src=s.href,s.title&&(o.title=s.title),delete o.original}if(r=1,o){for(var l in i[1]){r=2;break}1===r&&i.splice(r,1)}for(;r=n.cleanAt&&(n.reaction.dispose(),e.current=null,u.delete(e))})),u.size>0&&h()}var p=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function f(){var t=p((0,r.useState)(0),2)[1];return(0,r.useCallback)((function(){t((function(t){return t+1}))}),[])}var m=!1,g=[];var y={};function v(t){return"observer"+t}function b(t,e,n){if(void 0===e&&(e="observed"),void 0===n&&(n=y),o())return t();var i,l=function(t){return function(){m?g.push(t):t()}}((n.useForceUpdate||f)()),d=r.useRef(null);if(!d.current){var p=new a.le(v(e),(function(){b.mounted?l():(p.dispose(),d.current=null)})),b=function(t){return{cleanAt:Date.now()+c,reaction:t}}(p);d.current=b,i=d,u.add(i),h()}var x=d.current.reaction;return r.useDebugValue(x,s),r.useEffect((function(){var t;return t=d,u.delete(t),d.current?d.current.mounted=!0:(d.current={reaction:new a.le(v(e),(function(){l()})),cleanAt:1/0},l()),function(){d.current.reaction.dispose(),d.current=null}}),[]),function(t){m=!0,g=[];try{var e=t();m=!1;var n=g.length>0?g:void 0;return r.useLayoutEffect((function(){n&&n.forEach((function(t){return t()}))}),[n]),e}finally{m=!1}}((function(){var e,n;if(x.track((function(){try{e=t()}catch(t){n=t}})),n)throw n;return e}))}var x=function(){return x=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function s(){for(var t=[],e=0;e2&&K("box");var n=U(e);return new xt(t,Y(n),n.name,!0,n.equals)},array:function(t,e){arguments.length>2&&K("array");var n=U(e);return _e(t,Y(n),n.name)},map:function(t,e){arguments.length>2&&K("map");var n=U(e);return new Be(t,Y(n),n.name)},set:function(t,e){arguments.length>2&&K("set");var n=U(e);return new Ge(t,Y(n),n.name)},object:function(t,e,n){"string"==typeof arguments[1]&&K("object");var r=U(n);if(!1===r.proxy)return oe({},t,e,r);var i=ae(r),o=oe({},void 0,void 0,r),a=Ce(o);return se(a,t,e,i),a},ref:H,shallow:G,deep:W,struct:V},$=function(t,e,n){if("string"==typeof arguments[1]||"symbol"==typeof arguments[1])return W.apply(null,arguments);if(de(t))return t;var r=g(t)?$.object(t,e,n):Array.isArray(t)?$.array(t,e):b(t)?$.map(t,e):x(t)?$.set(t,e):t;if(r!==t)return r;h(!1)};function K(t){h("Expected one or two arguments to observable."+t+". Did you accidentally try to use observable."+t+" as decorator?")}Object.keys(X).forEach((function(t){return $[t]=X[t]}));var q,Z,J=D(!1,(function(t,e,n,r,o){var a=n.get,s=n.set,l=o[0]||{};Ye(t).addComputedProp(t,e,i({get:a,set:s,context:t},l))})),Q=J({equals:T.structural}),tt=function(t,e,n){if("string"==typeof e)return J.apply(null,arguments);if(null!==t&&"object"==typeof t&&1===arguments.length)return J.apply(null,arguments);var r="object"==typeof e?e:{};return r.get=t,r.set="function"==typeof e?e:r.set,r.name=r.name||t.name||"",new St(r)};tt.struct=Q,function(t){t[t.NOT_TRACKING=-1]="NOT_TRACKING",t[t.UP_TO_DATE=0]="UP_TO_DATE",t[t.POSSIBLY_STALE=1]="POSSIBLY_STALE",t[t.STALE=2]="STALE"}(q||(q={})),function(t){t[t.NONE=0]="NONE",t[t.LOG=1]="LOG",t[t.BREAK=2]="BREAK"}(Z||(Z={}));var et=function(t){this.cause=t};function nt(t){return t instanceof et}function rt(t){switch(t.dependenciesState){case q.UP_TO_DATE:return!1;case q.NOT_TRACKING:case q.STALE:return!0;case q.POSSIBLY_STALE:for(var e=ut(!0),n=lt(),r=t.observing,i=r.length,o=0;o0;Ot.computationDepth>0&&e&&h(!1),Ot.allowStateChanges||!e&&"strict"!==Ot.enforceActions||h(!1)}function ot(t,e,n){var r=ut(!0);dt(t),t.newObserving=new Array(t.observing.length+100),t.unboundDepsCount=0,t.runId=++Ot.runId;var i,o=Ot.trackingDerivation;if(Ot.trackingDerivation=t,!0===Ot.disableErrorBoundaries)i=e.call(n);else try{i=e.call(n)}catch(t){i=new et(t)}return Ot.trackingDerivation=o,function(t){for(var e=t.observing,n=t.observing=t.newObserving,r=q.UP_TO_DATE,i=0,o=t.unboundDepsCount,a=0;ar&&(r=s.dependenciesState)}n.length=i,t.newObserving=null,o=e.length;for(;o--;){0===(s=e[o]).diffValue&&_t(s,t),s.diffValue=0}for(;i--;){var s;1===(s=n[i]).diffValue&&(s.diffValue=0,jt(s,t))}r!==q.UP_TO_DATE&&(t.dependenciesState=r,t.onBecomeStale())}(t),ht(r),i}function at(t){var e=t.observing;t.observing=[];for(var n=e.length;n--;)_t(e[n],t);t.dependenciesState=q.NOT_TRACKING}function st(t){var e=lt();try{return t()}finally{ct(e)}}function lt(){var t=Ot.trackingDerivation;return Ot.trackingDerivation=null,t}function ct(t){Ot.trackingDerivation=t}function ut(t){var e=Ot.allowStateReads;return Ot.allowStateReads=t,e}function ht(t){Ot.allowStateReads=t}function dt(t){if(t.dependenciesState!==q.UP_TO_DATE){t.dependenciesState=q.UP_TO_DATE;for(var e=t.observing,n=e.length;n--;)e[n].lowestObserverState=q.UP_TO_DATE}}var pt=0,ft=1,mt=Object.getOwnPropertyDescriptor((function(){}),"name");mt&&mt.configurable;function gt(t,e,n){var r=function(){return yt(t,e,n||this,arguments)};return r.isMobxAction=!0,r}function yt(t,e,n,r){var i=function(t,e,n){var r=!1,i=0;0;var o=lt();It();var a=vt(!0),s=ut(!0),l={prevDerivation:o,prevAllowStateChanges:a,prevAllowStateReads:s,notifySpy:r,startTime:i,actionId:ft++,parentActionId:pt};return pt=l.actionId,l}();try{return e.apply(n,r)}catch(t){throw i.error=t,t}finally{!function(t){pt!==t.actionId&&h("invalid action stack. did you forget to finish an action?");pt=t.parentActionId,void 0!==t.error&&(Ot.suppressReactionErrors=!0);bt(t.prevAllowStateChanges),ht(t.prevAllowStateReads),Dt(),ct(t.prevDerivation),t.notifySpy;Ot.suppressReactionErrors=!1}(i)}}function vt(t){var e=Ot.allowStateChanges;return Ot.allowStateChanges=t,e}function bt(t){Ot.allowStateChanges=t}var xt=function(t){function e(e,n,r,i,o){void 0===r&&(r="ObservableValue@"+u()),void 0===i&&(i=!0),void 0===o&&(o=T.default);var a=t.call(this,r)||this;return a.enhancer=n,a.name=r,a.equals=o,a.hasUnreportedChange=!1,a.value=n(e,void 0,r),a}return function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.dehanceValue=function(t){return void 0!==this.dehancer?this.dehancer(t):t},e.prototype.set=function(t){this.value;if((t=this.prepareNewValue(t))!==Ot.UNCHANGED){false,this.setNewValue(t)}},e.prototype.prepareNewValue=function(t){if(it(this),Ae(this)){var e=Me(this,{object:this,type:"update",newValue:t});if(!e)return Ot.UNCHANGED;t=e.newValue}return t=this.enhancer(t,this.value,this.name),this.equals(this.value,t)?Ot.UNCHANGED:t},e.prototype.setNewValue=function(t){var e=this.value;this.value=t,this.reportChanged(),Te(this)&&Oe(this,{type:"update",object:this,newValue:t,oldValue:e})},e.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},e.prototype.intercept=function(t){return Ee(this,t)},e.prototype.observe=function(t,e){return e&&t({object:this,type:"update",newValue:this.value,oldValue:void 0}),Pe(this,t)},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.value+"]"},e.prototype.valueOf=function(){return k(this.get())},e.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},e}(A),wt=v("ObservableValue",xt),St=function(){function t(t){this.dependenciesState=q.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=new Set,this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=q.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+u(),this.value=new et(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Z.NONE,d(t.get,"missing option for computed: get"),this.derivation=t.get,this.name=t.name||"ComputedValue@"+u(),t.set&&(this.setter=gt(this.name+"-setter",t.set)),this.equals=t.equals||(t.compareStructural||t.struct?T.structural:T.default),this.scope=t.context,this.requiresReaction=!!t.requiresReaction,this.keepAlive=!!t.keepAlive}return t.prototype.onBecomeStale=function(){!function(t){if(t.lowestObserverState!==q.UP_TO_DATE)return;t.lowestObserverState=q.POSSIBLY_STALE,t.observers.forEach((function(e){e.dependenciesState===q.UP_TO_DATE&&(e.dependenciesState=q.POSSIBLY_STALE,e.isTracing!==Z.NONE&&Rt(e,t),e.onBecomeStale())}))}(this)},t.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(t){return t()}))},t.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(t){return t()}))},t.prototype.get=function(){this.isComputing&&h("Cycle detected in computation "+this.name+": "+this.derivation),0!==Ot.inBatch||0!==this.observers.size||this.keepAlive?(Nt(this),rt(this)&&this.trackAndCompute()&&function(t){if(t.lowestObserverState===q.STALE)return;t.lowestObserverState=q.STALE,t.observers.forEach((function(e){e.dependenciesState===q.POSSIBLY_STALE?e.dependenciesState=q.STALE:e.dependenciesState===q.UP_TO_DATE&&(t.lowestObserverState=q.UP_TO_DATE)}))}(this)):rt(this)&&(this.warnAboutUntrackedRead(),It(),this.value=this.computeValue(!1),Dt());var t=this.value;if(nt(t))throw t.cause;return t},t.prototype.peek=function(){var t=this.computeValue(!1);if(nt(t))throw t.cause;return t},t.prototype.set=function(t){if(this.setter){d(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,t)}finally{this.isRunningSetter=!1}}else d(!1,!1)},t.prototype.trackAndCompute=function(){var t=this.value,e=this.dependenciesState===q.NOT_TRACKING,n=this.computeValue(!0),r=e||nt(t)||nt(n)||!this.equals(t,n);return r&&(this.value=n),r},t.prototype.computeValue=function(t){var e;if(this.isComputing=!0,Ot.computationDepth++,t)e=ot(this,this.derivation,this.scope);else if(!0===Ot.disableErrorBoundaries)e=this.derivation.call(this.scope);else try{e=this.derivation.call(this.scope)}catch(t){e=new et(t)}return Ot.computationDepth--,this.isComputing=!1,e},t.prototype.suspend=function(){this.keepAlive||(at(this),this.value=void 0)},t.prototype.observe=function(t,e){var n=this,r=!0,i=void 0;return Jt((function(){var o=n.get();if(!r||e){var a=lt();t({type:"update",object:n,newValue:o,oldValue:i}),ct(a)}r=!1,i=o}))},t.prototype.warnAboutUntrackedRead=function(){},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},t.prototype.valueOf=function(){return k(this.get())},t.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},t}(),kt=v("ComputedValue",St),Ct=function(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},At={};function Et(){return"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:At}var Mt,Tt=!0,Pt=!1,Ot=((Mt=Et()).__mobxInstanceCount>0&&!Mt.__mobxGlobals&&(Tt=!1),Mt.__mobxGlobals&&Mt.__mobxGlobals.version!==(new Ct).version&&(Tt=!1),Tt?Mt.__mobxGlobals?(Mt.__mobxInstanceCount+=1,Mt.__mobxGlobals.UNCHANGED||(Mt.__mobxGlobals.UNCHANGED={}),Mt.__mobxGlobals):(Mt.__mobxInstanceCount=1,Mt.__mobxGlobals=new Ct):(setTimeout((function(){Pt||h("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new Ct));function jt(t,e){t.observers.add(e),t.lowestObserverState>e.dependenciesState&&(t.lowestObserverState=e.dependenciesState)}function _t(t,e){t.observers.delete(e),0===t.observers.size&&Lt(t)}function Lt(t){!1===t.isPendingUnobservation&&(t.isPendingUnobservation=!0,Ot.pendingUnobservations.push(t))}function It(){Ot.inBatch++}function Dt(){if(0==--Ot.inBatch){Ut();for(var t=Ot.pendingUnobservations,e=0;e0&&Lt(t),!1)}function Rt(t,e){if(console.log("[mobx.trace] '"+t.name+"' is invalidated due to a change in: '"+e.name+"'"),t.isTracing===Z.BREAK){var n=[];zt(le(t),n,1),new Function("debugger;\n/*\nTracing '"+t.name+"'\n\nYou are entering this break point because derivation '"+t.name+"' is being traced and '"+e.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(t instanceof St?t.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function zt(t,e,n){e.length>=1e3?e.push("(and many more)"):(e.push(""+new Array(n).join("\t")+t.name),t.dependencies&&t.dependencies.forEach((function(t){return zt(t,e,n+1)})))}var Ft=function(){function t(t,e,n,r){void 0===t&&(t="Reaction@"+u()),void 0===r&&(r=!1),this.name=t,this.onInvalidate=e,this.errorHandler=n,this.requiresObservable=r,this.observing=[],this.newObserving=[],this.dependenciesState=q.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+u(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=Z.NONE}return t.prototype.onBecomeStale=function(){this.schedule()},t.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Ot.pendingReactions.push(this),Ut())},t.prototype.isScheduled=function(){return this._isScheduled},t.prototype.runReaction=function(){if(!this.isDisposed){if(It(),this._isScheduled=!1,rt(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(t){this.reportExceptionInDerivation(t)}}Dt()}},t.prototype.track=function(t){if(!this.isDisposed){It();false,this._isRunning=!0;var e=ot(this,t,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&at(this),nt(e)&&this.reportExceptionInDerivation(e.cause),Dt()}},t.prototype.reportExceptionInDerivation=function(t){var e=this;if(this.errorHandler)this.errorHandler(t,this);else{if(Ot.disableErrorBoundaries)throw t;var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Ot.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(n,t),Ot.globalReactionErrorHandlers.forEach((function(n){return n(t,e)}))}},t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(It(),at(this),Dt()))},t.prototype.getDisposer=function(){var t=this.dispose.bind(this);return t[C]=this,t},t.prototype.toString=function(){return"Reaction["+this.name+"]"},t.prototype.trace=function(t){void 0===t&&(t=!1),function(){for(var t=[],e=0;e0||Ot.isRunningReactions||Bt(Wt)}function Wt(){Ot.isRunningReactions=!0;for(var t=Ot.pendingReactions,e=0;t.length>0;){100==++e&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+t[0]),t.splice(0));for(var n=t.splice(0),r=0,i=n.length;r",t):2===arguments.length&&"function"==typeof e?gt(t,e):1===arguments.length&&"string"==typeof t?Xt(t):!0!==r?Xt(e).apply(null,arguments):void y(t,e,gt(t.name||e,n.value,this))};function qt(t,e){"string"==typeof t||t.name;return yt(0,"function"==typeof t?t:e,this,void 0)}function Zt(t,e,n){y(t,e,gt(e,n.bind(t)))}function Jt(t,e){void 0===e&&(e=c);var n,r=e&&e.name||t.name||"Autorun@"+u();if(!e.scheduler&&!e.delay)n=new Ft(r,(function(){this.track(a)}),e.onError,e.requiresObservable);else{var i=te(e),o=!1;n=new Ft(r,(function(){o||(o=!0,i((function(){o=!1,n.isDisposed||n.track(a)})))}),e.onError,e.requiresObservable)}function a(){t(n)}return n.schedule(),n.getDisposer()}Kt.bound=function(t,e,n,r){return!0===r?(Zt(t,e,n.value),null):n?{configurable:!0,enumerable:!1,get:function(){return Zt(this,e,n.value||n.initializer.call(this)),this[e]},set:Yt}:{enumerable:!1,configurable:!0,set:function(t){Zt(this,e,t)},get:function(){}}};var Qt=function(t){return t()};function te(t){return t.scheduler?t.scheduler:t.delay?function(e){return setTimeout(e,t.delay)}:Qt}function ee(t,e,n){void 0===n&&(n=c);var r,i,o,a=n.name||"Reaction@"+u(),s=Kt(a,n.onError?(r=n.onError,i=e,function(){try{return i.apply(this,arguments)}catch(t){r.call(this,t)}}):e),l=!n.scheduler&&!n.delay,h=te(n),d=!0,p=!1,f=n.compareStructural?T.structural:n.equals||T.default,m=new Ft(a,(function(){d||l?g():p||(p=!0,h(g))}),n.onError,n.requiresObservable);function g(){if(p=!1,!m.isDisposed){var e=!1;m.track((function(){var n=t(m);e=d||!f(o,n),o=n})),d&&n.fireImmediately&&s(o,m),d||!0!==e||s(o,m),d&&(d=!1)}}return m.schedule(),m.getDisposer()}function ne(t,e,n){return re("onBecomeUnobserved",t,e,n)}function re(t,e,n,r){var i="function"==typeof r?Je(e,n):Je(e),o="function"==typeof r?r:n,a=t+"Listeners";return i[a]?i[a].add(o):i[a]=new Set([o]),"function"!=typeof i[t]?h(!1):function(){var t=i[a];t&&(t.delete(o),0===t.size&&delete i[a])}}function ie(t){var e=t.enforceActions,n=t.computedRequiresReaction,r=t.computedConfigurable,i=t.disableErrorBoundaries,o=t.reactionScheduler,a=t.reactionRequiresObservable,s=t.observableRequiresReaction;if(!0===t.isolateGlobalState&&((Ot.pendingReactions.length||Ot.inBatch||Ot.isRunningReactions)&&h("isolateGlobalState should be called before MobX is running any reactions"),Pt=!0,Tt&&(0==--Et().__mobxInstanceCount&&(Et().__mobxGlobals=void 0),Ot=new Ct)),void 0!==e){var l=void 0;switch(e){case!0:case"observed":l=!0;break;case!1:case"never":l=!1;break;case"strict":case"always":l="strict";break;default:h("Invalid value for 'enforceActions': '"+e+"', expected 'never', 'always' or 'observed'")}Ot.enforceActions=l,Ot.allowStateChanges=!0!==l&&"strict"!==l}void 0!==n&&(Ot.computedRequiresReaction=!!n),void 0!==a&&(Ot.reactionRequiresObservable=!!a),void 0!==s&&(Ot.observableRequiresReaction=!!s,Ot.allowStateReads=!Ot.observableRequiresReaction),void 0!==r&&(Ot.computedConfigurable=!!r),void 0!==i&&(!0===i&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),Ot.disableErrorBoundaries=!!i),o&&Ht(o)}function oe(t,e,n,r){var i=ae(r=U(r));return I(t),Ye(t,r.name,i.enhancer),e&&se(t,e,n,i),t}function ae(t){return t.defaultDecorator||(!1===t.deep?H:W)}function se(t,e,n,r){var i,a;It();try{var s=w(e);try{for(var l=o(s),c=l.next();!c.done;c=l.next()){var u=c.value,h=Object.getOwnPropertyDescriptor(e,u);0;var d=(n&&u in n?n[u]:h.get?J:r)(t,u,h,!0);d&&Object.defineProperty(t,u,d)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}}finally{Dt()}}function le(t,e){return ce(Je(t,e))}function ce(t){var e,n,r={name:t.name};return t.observing&&t.observing.length>0&&(r.dependencies=(e=t.observing,n=[],e.forEach((function(t){-1===n.indexOf(t)&&n.push(t)})),n).map(ce)),r}function ue(){this.message="FLOW_CANCELLED"}function he(t,e){return null!=t&&(void 0!==e?!!Ze(t)&&t[C].values.has(e):Ze(t)||!!t[C]||E(t)||Gt(t)||kt(t))}function de(t){return 1!==arguments.length&&h(!1),he(t)}function pe(t){return Ze(t)?t[C].getKeys():Ue(t)||He(t)?Array.from(t.keys()):Re(t)?t.map((function(t,e){return e})):h(!1)}function fe(t,e,n){if(2!==arguments.length||He(t))if(Ze(t)){var r=t[C],i=r.values.get(e);i?r.write(e,n):r.addObservableProp(e,n,r.defaultEnhancer)}else if(Ue(t))t.set(e,n);else if(He(t))t.add(e);else{if(!Re(t))return h(!1);"number"!=typeof e&&(e=parseInt(e,10)),d(e>=0,"Not a valid index: '"+e+"'"),It(),e>=t.length&&(t.length=e+1),t[e]=n,Dt()}else{It();var o=e;try{for(var a in o)fe(t,a,o[a])}finally{Dt()}}}ue.prototype=Object.create(Error.prototype);var me={detectCycles:!0,exportMapsAsObjects:!0,recurseEverything:!1};function ge(t,e,n,r){return r.detectCycles&&t.set(e,n),n}function ye(t,e,n){if(!e.recurseEverything&&!de(t))return t;if("object"!=typeof t)return t;if(null===t)return null;if(t instanceof Date)return t;if(wt(t))return ye(t.get(),e,n);if(de(t)&&pe(t),!0===e.detectCycles&&null!==t&&n.has(t))return n.get(t);if(Re(t)||Array.isArray(t)){var r=ge(n,t,[],e),i=t.map((function(t){return ye(t,e,n)}));r.length=i.length;for(var o=0,a=i.length;o0}function Ee(t,e){var n=t.interceptors||(t.interceptors=[]);return n.push(e),p((function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}))}function Me(t,e){var n=lt();try{for(var r=s(t.interceptors||[]),i=0,o=r.length;i0}function Pe(t,e){var n=t.changeListeners||(t.changeListeners=[]);return n.push(e),p((function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}))}function Oe(t,e){var n=lt(),r=t.changeListeners;if(r){for(var i=0,o=(r=r.slice()).length;i0?t.map(this.dehancer):t},t.prototype.intercept=function(t){return Ee(this,t)},t.prototype.observe=function(t,e){return void 0===e&&(e=!1),e&&t({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),Pe(this,t)},t.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},t.prototype.setArrayLength=function(t){if("number"!=typeof t||t<0)throw new Error("[mobx.array] Out of range: "+t);var e=this.values.length;if(t!==e)if(t>e){for(var n=new Array(t-e),r=0;ri?t=i:t<0&&(t=Math.max(0,i+t)),e=1===arguments.length?i-t:null==e?0:Math.max(0,Math.min(e,i-t)),void 0===n&&(n=l),Ae(this)){var o=Me(this,{object:this.proxy,type:"splice",index:t,removedCount:e,added:n});if(!o)return l;e=o.removedCount,n=o.added}n=0===n.length?n:n.map((function(t){return r.enhancer(t,void 0)}));var a=this.spliceItemsIntoValues(t,e,n);return 0===e&&0===n.length||this.notifyArraySplice(t,n,a),this.dehanceValues(a)},t.prototype.spliceItemsIntoValues=function(t,e,n){var r;if(n.length<1e4)return(r=this.values).splice.apply(r,s([t,e],n));var i=this.values.slice(t,t+e);return this.values=this.values.slice(0,t).concat(n,this.values.slice(t+e)),i},t.prototype.notifyArrayChildUpdate=function(t,e,n){var r=!this.owned&&!1,i=Te(this),o=i||r?{object:this.proxy,type:"update",index:t,newValue:e,oldValue:n}:null;this.atom.reportChanged(),i&&Oe(this,o)},t.prototype.notifyArraySplice=function(t,e,n){var r=!this.owned&&!1,i=Te(this),o=i||r?{object:this.proxy,type:"splice",index:t,removed:n,added:e,removedCount:n.length,addedCount:e.length}:null;this.atom.reportChanged(),i&&Oe(this,o)},t}(),Ie={intercept:function(t){return this[C].intercept(t)},observe:function(t,e){return void 0===e&&(e=!1),this[C].observe(t,e)},clear:function(){return this.splice(0)},replace:function(t){var e=this[C];return e.spliceWithArray(0,e.values.length,t)},toJS:function(){return this.slice()},toJSON:function(){return this.toJS()},splice:function(t,e){for(var n=[],r=2;r-1&&(this.splice(n,1),!0)},get:function(t){var e=this[C];if(e){if(t=0&&n++}t=rn(t),e=rn(e);var s="[object Array]"===a;if(!s){if("object"!=typeof t||"object"!=typeof e)return!1;var l=t.constructor,c=e.constructor;if(l!==c&&!("function"==typeof l&&l instanceof l&&"function"==typeof c&&c instanceof c)&&"constructor"in t&&"constructor"in e)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var u=(r=r||[]).length;u--;)if(r[u]===t)return i[u]===e;if(r.push(t),i.push(e),s){if((u=t.length)!==e.length)return!1;for(;u--;)if(!nn(t[u],e[u],n-1,r,i))return!1}else{var h=Object.keys(t),d=void 0;if(u=h.length,Object.keys(e).length!==u)return!1;for(;u--;)if(!on(e,d=h[u])||!nn(t[d],e[d],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function rn(t){return Re(t)?t.slice():b(t)||Ue(t)||x(t)||He(t)?Array.from(t.entries()):t}function on(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function an(t){return t[Symbol.iterator]=sn,t}function sn(){return this}if("undefined"==typeof Proxy||"undefined"==typeof Symbol)throw new Error("[mobx] MobX 5+ requires Proxy and Symbol objects. If your environment doesn't support Symbol or Proxy objects, please downgrade to MobX 4. For React Native Android, consider upgrading JSCore.");"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Vt,extras:{getDebugName:function(t,e){return(void 0!==e?Je(t,e):Ze(t)||Ue(t)||He(t)?Qe(t):Je(t)).name}},$mobx:C})},48628:function(t){var e=1e3,n=60*e,r=60*n,i=24*r,o=365.25*i;function a(t,e,n){if(!(t0)return function(t){if((t=String(t)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*o;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(t);if("number"===c&&!1===isNaN(t))return s.long?a(l=t,i,"day")||a(l,r,"hour")||a(l,n,"minute")||a(l,e,"second")||l+" ms":function(t){if(t>=i)return Math.round(t/i)+"d";if(t>=r)return Math.round(t/r)+"h";if(t>=n)return Math.round(t/n)+"m";if(t>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},62525:function(t){"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var a,s,l=i(t),c=1;cM;M++)E[M]=M+1;E[15]=0;var T=/^[: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]*$/,P=Object.prototype.hasOwnProperty,O={},j={};function _(t){return!!P.call(j,t)||!P.call(O,t)&&(T.test(t)?j[t]=!0:(O[t]=!0,!1))}function L(t,e,n,r,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){I[t]=new L(t,0,!1,t,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];I[e]=new L(e,1,!1,t[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){I[t]=new L(t,2,!1,t.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){I[t]=new L(t,2,!1,t,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(t){I[t]=new L(t,3,!1,t.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(t){I[t]=new L(t,3,!0,t,null,!1)})),["capture","download"].forEach((function(t){I[t]=new L(t,4,!1,t,null,!1)})),["cols","rows","size","span"].forEach((function(t){I[t]=new L(t,6,!1,t,null,!1)})),["rowSpan","start"].forEach((function(t){I[t]=new L(t,5,!1,t.toLowerCase(),null,!1)}));var D=/[\-:]([a-z])/g;function N(t){return t[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(t){var e=t.replace(D,N);I[e]=new L(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(D,N);I[e]=new L(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(D,N);I[e]=new L(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){I[t]=new L(t,1,!1,t.toLowerCase(),null,!1)})),I.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){I[t]=new L(t,1,!1,t.toLowerCase(),null,!0)}));var R=/["'&<>]/;function z(t){if("boolean"==typeof t||"number"==typeof t)return""+t;t=""+t;var e=R.exec(t);if(e){var n,r="",i=0;for(n=e.index;ne}return!1}(t,e,r,!1)?"":null!==r?(t=r.attributeName,3===(n=r.type)||4===n&&!0===e?t+'=""':(r.sanitizeURL&&(e=""+e),t+'="'+z(e)+'"')):_(t)?t+'="'+z(e)+'"':""}var B="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},U=null,W=null,G=null,H=!1,V=!1,Y=null,X=0;function $(){if(null===U)throw Error(o(321));return U}function K(){if(0X))throw Error(o(301));if(t===U)if(V=!0,t={action:n,next:null},null===Y&&(Y=new Map),void 0===(n=Y.get(e)))Y.set(e,t);else{for(e=n;null!==e.next;)e=e.next;e.next=t}}function et(){}var nt=0,rt={readContext:function(t){var e=nt;return A(t,e),t[e]},useContext:function(t){$();var e=nt;return A(t,e),t[e]},useMemo:function(t,e){if(U=$(),e=void 0===e?null:e,null!==(G=q())){var n=G.memoizedState;if(null!==n&&null!==e){t:{var r=n[1];if(null===r)r=!1;else{for(var i=0;i=a))throw Error(o(304));var s=new Uint16Array(a);for(s.set(r),(E=s)[0]=n+1,r=n;r=s.children.length){var l=s.footer;if(""!==l&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===h)this.popProvider(s.type);else if(s.type===m){this.suspenseDepth--;var c=r.pop();if(i){i=!1;var u=s.fallbackFrame;if(!u)throw Error(o(303));this.stack.push(u),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=c}r[this.suspenseDepth]+=l}else{var d=s.children[s.childIndex++],p="";try{p+=this.render(d,s.context,s.domNamespace)}catch(t){if(null!=t&&"function"==typeof t.then)throw Error(o(294));throw t}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=p}}return r[0]}finally{pt.current=n,nt=e}},e.render=function(t,e,n){if("string"==typeof t||"number"==typeof t)return""===(n=""+t)?"":this.makeStaticMarkup?z(n):this.previousWasTextNode?"\x3c!-- --\x3e"+z(n):(this.previousWasTextNode=!0,z(n));if(t=(e=wt(t,e,this.threadID)).child,e=e.context,null===t||!1===t)return"";if(!i.isValidElement(t)){if(null!=t&&null!=t.$$typeof){if((n=t.$$typeof)===s)throw Error(o(257));throw Error(o(258,n.toString()))}return t=dt(t),this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),""}var a=t.type;if("string"==typeof a)return this.renderDOM(t,e,n);switch(a){case c:case p:case u:case g:case l:return t=dt(t.props.children),this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case m:throw Error(o(294))}if("object"==typeof a&&null!==a)switch(a.$$typeof){case f:U={};var b=a.render(t.props,t.ref);return b=Z(a.render,t.props,b,t.ref),b=dt(b),this.stack.push({type:null,domNamespace:n,children:b,childIndex:0,context:e,footer:""}),"";case y:return t=[i.createElement(a.type,r({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case h:return n={type:t,domNamespace:n,children:a=dt(t.props.children),childIndex:0,context:e,footer:""},this.pushProvider(t),this.stack.push(n),"";case d:a=t.type,b=t.props;var S=this.threadID;return A(a,S),a=dt(b.children(a[S])),this.stack.push({type:t,domNamespace:n,children:a,childIndex:0,context:e,footer:""}),"";case x:throw Error(o(338));case v:switch(function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(a=t.type),a._status){case 1:return t=[i.createElement(a._result,r({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case 2:throw a._result;default:throw Error(o(295))}case w:throw Error(o(343))}throw Error(o(130,null==a?a:typeof a,""))},e.renderDOM=function(t,e,n){var a=t.type.toLowerCase();if(n===it&&ot(a),!gt.hasOwnProperty(a)){if(!mt.test(a))throw Error(o(65,a));gt[a]=!0}var s=t.props;if("input"===a)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var l=s.value;if(null==l){l=s.defaultValue;var c=s.children;if(null!=c){if(null!=l)throw Error(o(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(o(93));c=c[0]}l=""+c}null==l&&(l="")}s=r({},s,{value:void 0,children:""+l})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===a){c=this.currentSelectValue;var u=function(t){if(null==t)return t;var e="";return i.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(s.children);if(null!=c){var h=null!=s.value?s.value+"":u;if(l=!1,Array.isArray(c)){for(var d=0;d":(x+=">",l="");t:{if(null!=(c=s.dangerouslySetInnerHTML)){if(null!=c.__html){c=c.__html;break t}}else if("string"==typeof(c=s.children)||"number"==typeof c){c=z(c);break t}c=null}return null!=c?(s=[],ft.hasOwnProperty(a)&&"\n"===c.charAt(0)&&(x+="\n"),x+=c):s=dt(s.children),t=t.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?ot(t):"http://www.w3.org/2000/svg"===n&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:s,childIndex:0,context:e,footer:l}),this.previousWasTextNode=!1,x},t}(),kt={renderToString:function(t){t=new St(t,!1);try{return t.read(1/0)}finally{t.destroy()}},renderToStaticMarkup:function(t){t=new St(t,!0);try{return t.read(1/0)}finally{t.destroy()}},renderToNodeStream:function(){throw Error(o(207))},renderToStaticNodeStream:function(){throw Error(o(208))},version:"16.14.0"};t.exports=kt.default||kt},43577:function(t,e,n){"use strict";var r=n(27378),i=n(62525),o=n(91102);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n