spacetime-week-start 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* spencermountain/spacetime-week-start 0.
|
|
1
|
+
/* spencermountain/spacetime-week-start 0.3.0 Apache 2.0 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
@@ -3527,7 +3527,7 @@
|
|
|
3527
3527
|
//find the desired date by a increment/check while loop
|
|
3528
3528
|
const units = {
|
|
3529
3529
|
year: {
|
|
3530
|
-
valid: n => n > -
|
|
3530
|
+
valid: n => n > -4e3 && n < 4000,
|
|
3531
3531
|
walkTo: (s, n) => walk(s, n, 'getFullYear', 'year', null)
|
|
3532
3532
|
},
|
|
3533
3533
|
month: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):(e="undefined"!=typeof globalThis?globalThis:e||self).weekStart=a()}(this,(function(){"use strict";let e={c009:"antarctica",c011:"arctic",c081:"gmt",c231:"universal",c233:"utc",c245:"zulu"},a={monday:{c002:"aland islands",c003:"albania",c006:"andorra",c007:"angola",c008:"anguilla",c013:"armenia",c014:"aruba",c016:"austria",c017:"azerbaijan",c020:"barbados",c021:"belarus",c022:"belgium",c024:"benin",c025:"bermuda",c028:"bonaire",c029:"bosnia and herzegovina",c032:"british indian ocean territory",c033:"brunei",c034:"bulgaria",c035:"burkina faso",c036:"burundi",c038:"cameroon",c040:"cape verde",c041:"cayman islands",c042:"central african republic",c043:"chad",c046:"christmas island",c047:"cocos (keeling) islands",c049:"comoros",c050:"cook islands",c052:"croatia",c053:"cuba",c054:"curacao",c055:"cyprus",c056:"czech republic",c057:"democratic republic of the congo",c058:"denmark",c064:"equatorial guinea",c065:"eritrea",c066:"estonia",c068:"falkland islands",c069:"faroe islands",c070:"fiji",c071:"finland",c072:"france",c073:"french guiana",c074:"french polynesia",c075:"french southern and antarctic lands",c076:"gabon",c077:"georgia",c078:"germany",c079:"ghana",c080:"gibraltar",c082:"greece",c083:"greenland",c084:"grenada",c085:"guadeloupe",c088:"guinea",c089:"guinea-bissau",c090:"guyana",c091:"haiti",c094:"hungary",c095:"iceland",c097:"indonesia",c100:"ireland",c102:"italy",c103:"ivory coast",c107:"kazakhstan",c109:"kiribati",c111:"kyrgyzstan",c113:"latvia",c114:"lebanon",c115:"lesotho",c116:"liberia",c118:"liechtenstein",c119:"lithuania",c120:"luxembourg",c123:"madagascar",c124:"malawi",c127:"mali",c130:"martinique",c131:"mauritania",c132:"mauritius",c133:"mayotte",c135:"micronesia",c137:"moldova",c138:"monaco",c139:"mongolia",c140:"montenegro",c141:"montserrat",c142:"morocco",c145:"namibia",c146:"nauru",c148:"netherlands",c149:"new caledonia",c150:"new zealand",c152:"niger",c153:"nigeria",c154:"niue",c155:"norfolk island",c157:"northern ireland",c158:"northern macedonia",c160:"norway",c162:"pakistan",c166:"papua new guinea",c170:"pitcairn islands",c171:"poland",c175:"republic of the congo",c176:"reunion",c177:"romania",c178:"russia",c179:"rwanda",c180:"saint helena, ascension and tristan da cunha",c181:"saint kitts and nevis",c182:"saint lucia",c183:"saint pierre and miquelon",c184:"saint vincent and the grenadines",c186:"san marino",c187:"sao tome and principe",c189:"senegal",c190:"serbia",c191:"seychelles",c192:"sierra leone",c194:"sint maarten",c195:"slovakia",c196:"slovenia",c197:"solomon islands",c200:"south georgia and the south sandwich islands",c203:"spain",c204:"sri lanka",c206:"suriname",c207:"swaziland",c208:"sweden",c209:"switzerland",c212:"tajikistan",c213:"tanzania",c216:"the gambia",c217:"togo",c218:"tokelau",c219:"tonga",c221:"tunisia",c222:"turkey",c223:"turkmenistan",c224:"turks and caicos islands",c225:"tuvalu",c226:"uganda",c227:"ukraine",c229:"united kingdom",c234:"uzbekistan",c235:"vanuatu",c236:"vatican city",c238:"vietnam",c241:"wallis and futuna",c243:"zambia"},saturday:{c019:"bangladesh",c059:"djibouti",c098:"iran",c164:"palestine",c198:"somalia"},sunday:{c001:"afghanistan",c004:"algeria",c005:"american samoa",c010:"antigua and barbuda",c012:"argentina",c015:"australia",c018:"bahrain",c023:"belize",c026:"bhutan",c030:"botswana",c031:"brazil",c037:"cambodia",c039:"canada",c044:"chile",c045:"china",c048:"colombia",c051:"costa rica",c060:"dominica",c061:"ecuador",c062:"egypt",c063:"el salvador",c067:"ethiopia",c086:"guam",c092:"honduras",c093:"hong kong",c096:"india",c099:"iraq",c101:"israel",c104:"jamaica",c105:"japan",c106:"jordan",c108:"kenya",c110:"kuwait",c112:"laos",c121:"macao",c122:"macau",c125:"malaysia",c126:"maldives",c128:"malta",c129:"marshall islands",c134:"mexico",c136:"midway atoll",c143:"mozambique",c144:"myanmar",c147:"nepal",c151:"nicaragua",c156:"north korea",c159:"northern mariana islands",c161:"oman",c163:"palau",c165:"panama",c167:"paraguay",c168:"peru",c169:"philippines",c172:"portugal",c173:"puerto rico",c174:"qatar",c185:"samoa",c188:"saudi arabia",c193:"singapore",c199:"south africa",c201:"south korea",c202:"south sudan",c205:"sudan",c210:"syria",c211:"taiwan",c214:"thailand",c215:"the bahamas",c220:"trinidad and tobago",c228:"united arab emirates",c230:"united states of america",c232:"uruguay",c237:"venezuela",c239:"virgin islands",c240:"wake island",c242:"yemen",c244:"zimbabwe"}};var t=()=>a,r=()=>e,n={"africa/abidjan":{offset:0,hem:"n",ctry:"c103"},"africa/accra":{offset:0,hem:"n",ctry:"c079"},"africa/addis_ababa":{offset:3,hem:"n",ctry:"c067"},"africa/algiers":{offset:1,hem:"n",ctry:"c004"},"africa/asmara":{offset:3,hem:"n",ctry:"c065"},"africa/asmera":{offset:3,hem:"n",ctry:"c065"},"africa/bamako":{offset:0,hem:"n",ctry:"c127"},"africa/bangui":{offset:1,hem:"n",ctry:"c042"},"africa/banjul":{offset:0,hem:"n",ctry:"c216"},"africa/bissau":{offset:0,hem:"n",ctry:"c089"},"africa/blantyre":{offset:2,hem:"n",ctry:"c124"},"africa/brazzaville":{offset:1,hem:"n",ctry:"c175"},"africa/bujumbura":{offset:2,hem:"n",ctry:"c036"},"africa/cairo":{offset:2,hem:"n",ctry:"c062"},"africa/casablanca":{offset:1,hem:"n",dst:"05/05:03->06/09:02",ctry:"c142"},"africa/ceuta":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c203"},"africa/conakry":{offset:0,hem:"n",ctry:"c088"},"africa/dakar":{offset:0,hem:"n",ctry:"c189"},"africa/dar_es_salaam":{offset:3,hem:"n",ctry:"c213"},"africa/djibouti":{offset:3,hem:"n"},"africa/douala":{offset:1,hem:"n",ctry:"c038"},"africa/el_aaiun":{offset:1,hem:"n",dst:"05/05:03->06/09:02",ctry:"c142"},"africa/freetown":{offset:0,hem:"n",ctry:"c192"},"africa/gaborone":{offset:2,hem:"s",ctry:"c030"},"africa/harare":{offset:2,hem:"s",ctry:"c244"},"africa/johannesburg":{offset:2,hem:"s",ctry:"c199"},"africa/juba":{offset:3,hem:"n",ctry:"c202"},"africa/kampala":{offset:3,hem:"n",ctry:"c226"},"africa/khartoum":{offset:2,hem:"n",ctry:"c205"},"africa/kigali":{offset:2,hem:"n",ctry:"c179"},"africa/kinshasa":{offset:1,hem:"s",ctry:"c057"},"africa/lagos":{offset:1,hem:"n",ctry:"c153"},"africa/libreville":{offset:1,hem:"n",ctry:"c076"},"africa/lome":{offset:0,hem:"n",ctry:"c217"},"africa/luanda":{offset:1,hem:"s",ctry:"c007"},"africa/lubumbashi":{offset:2,hem:"s",ctry:"c057"},"africa/lusaka":{offset:2,hem:"s",ctry:"c243"},"africa/malabo":{offset:1,hem:"n",ctry:"c064"},"africa/maputo":{offset:2,hem:"s",ctry:"c143"},"africa/maseru":{offset:2,hem:"s",ctry:"c115"},"africa/mbabane":{offset:2,hem:"s",ctry:"c207"},"africa/mogadishu":{offset:3,hem:"n",ctry:"c198"},"africa/monrovia":{offset:0,hem:"n",ctry:"c116"},"africa/nairobi":{offset:3,hem:"n",ctry:"c108"},"africa/ndjamena":{offset:1,hem:"n",ctry:"c043"},"africa/niamey":{offset:1,hem:"n",ctry:"c152"},"africa/nouakchott":{offset:0,hem:"n",ctry:"c131"},"africa/ouagadougou":{offset:0,hem:"n",ctry:"c035"},"africa/porto-novo":{offset:1,hem:"n",ctry:"c024"},"africa/sao_tome":{offset:0,hem:"n",ctry:"c187"},"africa/timbuktu":{offset:0,hem:"n",ctry:"c127"},"africa/tripoli":{offset:2,hem:"n",ctry:"c117"},"africa/tunis":{offset:1,hem:"n",ctry:"c221"},"africa/windhoek":{offset:1,hem:"s",dst:"04/02:01->09/03:03",ctry:"c145"},"america/adak":{offset:-9,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/anchorage":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/anguilla":{offset:-4,hem:"n"},"america/antigua":{offset:-4,hem:"n",ctry:"c010"},"america/araguaina":{offset:-3,hem:"n",ctry:"c031"},"america/argentina":{offset:-3,hem:"s"},"america/aruba":{offset:-4,hem:"n"},"america/asuncion":{offset:-4,hem:"s",dst:"03/23:24->10/06:00",ctry:"c167"},"america/atikokan":{offset:-5,hem:"n",ctry:"c039"},"america/atka":{offset:-9,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/bahia":{offset:-3,hem:"n",ctry:"c031"},"america/bahia_banderas":{offset:-5,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/barbados":{offset:-4,hem:"n"},"america/belem":{offset:-3,hem:"n",ctry:"c031"},"america/belize":{offset:-6,hem:"n"},"america/blanc-sablon":{offset:-4,hem:"n",ctry:"c039"},"america/boa_vista":{offset:-4,hem:"n",ctry:"c031"},"america/bogota":{offset:-5,hem:"n",ctry:"c048"},"america/boise":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/buenos_aires":{offset:-3,hem:"s",ctry:"c012"},"america/cambridge_bay":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/campo_grande":{offset:-4,hem:"s",dst:"02/16:24->11/03:00",ctry:"c031"},"america/cancun":{offset:-5,hem:"n",ctry:"c134"},"america/caracas":{offset:-4,hem:"n",ctry:"c237"},"america/catamarca":{offset:-3,hem:"n",ctry:"c012"},"america/cayenne":{offset:-3,hem:"n",ctry:"c073"},"america/cayman":{offset:-5,hem:"n",ctry:"c041"},"america/chicago":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/chihuahua":{offset:-6,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/coral_harbour":{offset:-5,hem:"n",ctry:"c215"},"america/cordoba":{offset:-3,hem:"s",ctry:"c012"},"america/costa_rica":{offset:-6,hem:"n"},"america/creston":{offset:-7,hem:"n",ctry:"c230"},"america/cuiaba":{offset:-4,hem:"s",dst:"02/16:24->11/03:00",ctry:"c031"},"america/curacao":{offset:-4,hem:"n"},"america/danmarkshavn":{offset:0,hem:"n",ctry:"c083"},"america/dawson":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/dawson_creek":{offset:-7,hem:"n",ctry:"c039"},"america/denver":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/detroit":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/dominica":{offset:-4,hem:"n"},"america/edmonton":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/eirunepe":{offset:-5,hem:"n",ctry:"c031"},"america/el_salvador":{offset:-6,hem:"n"},"america/ensenada":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/fort_wayne":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/fortaleza":{offset:-3,hem:"s",ctry:"c031"},"america/glace_bay":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/godthab":{offset:-2,hem:"n",dst:"03/30:22->10/26:23",ctry:"c083"},"america/goose_bay":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/grand_turk":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c224"},"america/grenada":{offset:-4,hem:"n"},"america/guadeloupe":{offset:-4,hem:"n"},"america/guatemala":{offset:-6,hem:"n"},"america/guayaquil":{offset:-5,hem:"n",ctry:"c061"},"america/guyana":{offset:-4,hem:"n"},"america/halifax":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/havana":{offset:-4,hem:"n",dst:"03/10:00->11/03:01",ctry:"c053"},"america/hermosillo":{offset:-7,hem:"n",ctry:"c134"},"america/indiana":{offset:-4,hem:"n",dst:"03/12:03->11/05:01",ctry:"c230"},"america/indianapolis":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/inuvik":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/iqaluit":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/jamaica":{offset:-5,hem:"n"},"america/jujuy":{offset:-3,hem:"n",ctry:"c012"},"america/juneau":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/kentucky":{offset:-4,hem:"n",dst:"03/12:03->11/05:01",ctry:"c230"},"america/knox_in":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/kralendijk":{offset:-4,hem:"n",ctry:"c028"},"america/la_paz":{offset:-4,hem:"s",ctry:"c027"},"america/lima":{offset:-5,hem:"s",ctry:"c168"},"america/los_angeles":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/louisville":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/lower_princes":{offset:-4,hem:"n",ctry:"c194"},"america/maceio":{offset:-3,hem:"n",ctry:"c031"},"america/managua":{offset:-6,hem:"n",ctry:"c151"},"america/manaus":{offset:-4,hem:"s",ctry:"c031"},"america/marigot":{offset:-4,hem:"n",ctry:"c194"},"america/martinique":{offset:-4,hem:"n"},"america/matamoros":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/mazatlan":{offset:-6,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/mendoza":{offset:-3,hem:"n",ctry:"c012"},"america/menominee":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/merida":{offset:-5,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/metlakatla":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/mexico_city":{offset:-5,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/miquelon":{offset:-2,hem:"n",dst:"03/10:02->11/03:02",ctry:"c183"},"america/moncton":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/monterrey":{offset:-5,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/montevideo":{offset:-3,hem:"s",ctry:"c232"},"america/montreal":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/montserrat":{offset:-4,hem:"n"},"america/nassau":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c215"},"america/new_york":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/nipigon":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/nome":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/noronha":{offset:-2,hem:"n",ctry:"c031"},"america/north_dakota":{offset:-5,hem:"n",dst:"03/12:03->11/05:01",ctry:"c230"},"america/ojinaga":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/panama":{offset:-5,hem:"n"},"america/pangnirtung":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/paramaribo":{offset:-3,hem:"n",ctry:"c206"},"america/phoenix":{offset:-7,hem:"n",ctry:"c230"},"america/port-au-prince":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c091"},"america/port_of_spain":{offset:-4,hem:"n",ctry:"c220"},"america/porto_acre":{offset:-5,hem:"n",ctry:"c031"},"america/porto_velho":{offset:-4,hem:"n",ctry:"c031"},"america/puerto_rico":{offset:-4,hem:"n"},"america/punta_arenas":{offset:-3,hem:"s",ctry:"c051"},"america/rainy_river":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/rankin_inlet":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/recife":{offset:-3,hem:"n",ctry:"c031"},"america/regina":{offset:-6,hem:"n",ctry:"c039"},"america/resolute":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/rio_branco":{offset:-5,hem:"s",ctry:"c031"},"america/rosario":{offset:-3,hem:"n",ctry:"c012"},"america/santa_isabel":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/santarem":{offset:-3,hem:"n",ctry:"c031"},"america/santiago":{offset:-4,hem:"s",dst:"04/06:24->09/08:00",ctry:"c134"},"america/santo_domingo":{offset:-4,hem:"n",ctry:"c134"},"america/sao_paulo":{offset:-3,hem:"s",dst:"02/16:24->11/03:00",ctry:"c031"},"america/scoresbysund":{offset:0,hem:"n",dst:"03/31:00->10/27:01",ctry:"c083"},"america/shiprock":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/sitka":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/st_barthelemy":{offset:-4,hem:"n",ctry:"c039"},"america/st_johns":{offset:-2.5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/st_kitts":{offset:-4,hem:"n",ctry:"c181"},"america/st_lucia":{offset:-4,hem:"n",ctry:"c182"},"america/st_thomas":{offset:-4,hem:"n",ctry:"c239"},"america/st_vincent":{offset:-4,hem:"n",ctry:"c184"},"america/swift_current":{offset:-6,hem:"n",ctry:"c039"},"america/tegucigalpa":{offset:-6,hem:"n",ctry:"c092"},"america/thule":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c083"},"america/thunder_bay":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/tijuana":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/toronto":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/tortola":{offset:-4,hem:"n",ctry:"c239"},"america/vancouver":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/virgin":{offset:-4,hem:"n",ctry:"c239"},"america/whitehorse":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/winnipeg":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/yakutat":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/yellowknife":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"antarctica/casey":{offset:8,hem:"s"},"antarctica/davis":{offset:7,hem:"s"},"antarctica/dumontdurville":{offset:10,hem:"s"},"antarctica/macquarie":{offset:11,hem:"s"},"antarctica/mawson":{offset:5,hem:"s"},"antarctica/mcmurdo":{offset:12,hem:"s",dst:"04/07:03->09/29:02"},"antarctica/palmer":{offset:-4,hem:"s",dst:"05/13:23->08/13:01"},"antarctica/rothera":{offset:-3,hem:"s"},"antarctica/south_pole":{offset:12,hem:"s",dst:"04/07:03->09/29:02"},"antarctica/syowa":{offset:3,hem:"s"},"antarctica/troll":{offset:2,hem:"s",dst:"03/31:02->10/27:02"},"antarctica/vostok":{offset:6,hem:"s"},"arctic/longyearbyen":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"asia/aden":{offset:3,hem:"n",ctry:"c242"},"asia/almaty":{offset:6,hem:"n",ctry:"c107"},"asia/amman":{offset:3,hem:"n",dst:"03/29:00->10/25:01",ctry:"c106"},"asia/anadyr":{offset:12,hem:"n",ctry:"c178"},"asia/aqtau":{offset:5,hem:"n",ctry:"c107"},"asia/aqtobe":{offset:5,hem:"n",ctry:"c107"},"asia/ashgabat":{offset:5,hem:"n",ctry:"c223"},"asia/ashkhabad":{offset:5,hem:"n",ctry:"c223"},"asia/atyrau":{offset:5,hem:"n",ctry:"c107"},"asia/baghdad":{offset:3,hem:"n",ctry:"c099"},"asia/bahrain":{offset:3,hem:"n"},"asia/baku":{offset:5,hem:"n",ctry:"c017"},"asia/bangkok":{offset:7,hem:"n",ctry:"c214"},"asia/barnaul":{offset:7,hem:"n",ctry:"c178"},"asia/beirut":{offset:3,hem:"n",dst:"03/31:00->10/26:24",ctry:"c114"},"asia/bishkek":{offset:6,hem:"n",ctry:"c111"},"asia/brunei":{offset:8,hem:"n"},"asia/calcutta":{offset:5.5,hem:"n",ctry:"c096"},"asia/chita":{offset:9,hem:"n",ctry:"c048"},"asia/choibalsan":{offset:8,hem:"n",ctry:"c139"},"asia/chongqing":{offset:8,hem:"n",ctry:"c045"},"asia/chungking":{offset:8,hem:"n",ctry:"c045"},"asia/colombo":{offset:5.5,hem:"n",ctry:"c204"},"asia/dacca":{offset:6,hem:"n",ctry:"c019"},"asia/damascus":{offset:3,hem:"n",dst:"03/29:00->10/24:24",ctry:"c210"},"asia/dhaka":{offset:6,hem:"n",ctry:"c019"},"asia/dili":{offset:9,hem:"s",ctry:"c096"},"asia/dubai":{offset:4,hem:"n",ctry:"c228"},"asia/dushanbe":{offset:5,hem:"n",ctry:"c212"},"asia/gaza":{offset:3,hem:"n",dst:"03/23:01->10/26:01",ctry:"c164"},"asia/harbin":{offset:8,hem:"n",ctry:"c045"},"asia/hebron":{offset:3,hem:"n",dst:"03/23:01->10/26:01",ctry:"c164"},"asia/ho_chi_minh":{offset:7,hem:"n",ctry:"c238"},"asia/hong_kong":{offset:8,hem:"n"},"asia/hovd":{offset:7,hem:"n",ctry:"c139"},"asia/irkutsk":{offset:8,hem:"n",ctry:"c178"},"asia/istanbul":{offset:3,hem:"n",ctry:"c222"},"asia/jakarta":{offset:7,hem:"s",ctry:"c097"},"asia/jayapura":{offset:9,hem:"s",ctry:"c097"},"asia/jerusalem":{offset:3,hem:"n",dst:"03/29:02->10/27:02",ctry:"c101"},"asia/kabul":{offset:4.5,hem:"n",ctry:"c001"},"asia/kamchatka":{offset:12,hem:"n",ctry:"c178"},"asia/karachi":{offset:5,hem:"n",ctry:"c162"},"asia/kashgar":{offset:6,hem:"n",ctry:"c045"},"asia/kathmandu":{offset:5.75,hem:"n",ctry:"c147"},"asia/katmandu":{offset:5.75,hem:"n",ctry:"c147"},"asia/khandyga":{offset:9,hem:"n",ctry:"c178"},"asia/kolkata":{offset:5.5,hem:"n",ctry:"c096"},"asia/krasnoyarsk":{offset:7,hem:"n",ctry:"c178"},"asia/kuala_lumpur":{offset:8,hem:"s",ctry:"c125"},"asia/kuching":{offset:8,hem:"n",ctry:"c125"},"asia/kuwait":{offset:3,hem:"n"},"asia/macao":{offset:8,hem:"n"},"asia/macau":{offset:8,hem:"n"},"asia/magadan":{offset:11,hem:"n",ctry:"c178"},"asia/makassar":{offset:8,hem:"s",ctry:"c097"},"asia/manila":{offset:8,hem:"n",ctry:"c169"},"asia/muscat":{offset:4,hem:"n",ctry:"c161"},"asia/nicosia":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c055"},"asia/novokuznetsk":{offset:7,hem:"n",ctry:"c178"},"asia/novosibirsk":{offset:7,hem:"n",ctry:"c178"},"asia/omsk":{offset:6,hem:"n",ctry:"c178"},"asia/oral":{offset:5,hem:"n",ctry:"c107"},"asia/phnom_penh":{offset:7,hem:"n",ctry:"c037"},"asia/pontianak":{offset:7,hem:"n",ctry:"c097"},"asia/pyongyang":{offset:9,hem:"n",ctry:"c156"},"asia/qatar":{offset:3,hem:"n"},"asia/qyzylorda":{offset:6,hem:"n",ctry:"c107"},"asia/rangoon":{offset:6.5,hem:"n",ctry:"c144"},"asia/riyadh":{offset:3,hem:"n",ctry:"c188"},"asia/saigon":{offset:7,hem:"n",ctry:"c238"},"asia/sakhalin":{offset:11,hem:"n",ctry:""},"asia/samarkand":{offset:5,hem:"n",ctry:"c178"},"asia/seoul":{offset:9,hem:"n",ctry:"c201"},"asia/shanghai":{offset:8,hem:"n",ctry:"c045"},"asia/singapore":{offset:8,hem:"s"},"asia/srednekolymsk":{offset:12,hem:"n",ctry:"c178"},"asia/taipei":{offset:8,hem:"n",ctry:"c211"},"asia/tashkent":{offset:5,hem:"n",ctry:"c234"},"asia/tbilisi":{offset:4,hem:"n",ctry:"c077"},"asia/tehran":{offset:4.5,hem:"n",dst:"03/22:00->09/21:24",ctry:"c098"},"asia/tel_aviv":{offset:3,hem:"n",dst:"03/29:02->10/27:02",ctry:"c101"},"asia/thimbu":{offset:6,hem:"n",ctry:"c026"},"asia/thimphu":{offset:6,hem:"n",ctry:"c026"},"asia/tokyo":{offset:9,hem:"n",ctry:"c105"},"asia/tomsk":{offset:7,hem:"n",ctry:"c178"},"asia/ujung_pandang":{offset:8,hem:"n",ctry:"c097"},"asia/ulaanbaatar":{offset:8,hem:"n",ctry:"c139"},"asia/ulan_bator":{offset:8,hem:"n",dst:"03/25:03->09/29:23",ctry:"c139"},"asia/urumqi":{offset:6,hem:"n",ctry:"c045"},"asia/ust-nera":{offset:10,hem:"n",ctry:"c178"},"asia/vientiane":{offset:7,hem:"n",ctry:"c112"},"asia/vladivostok":{offset:10,hem:"n",ctry:"c178"},"asia/yakutsk":{offset:10,hem:"n",ctry:"c178"},"asia/yekaterinburg":{offset:5,hem:"n",ctry:"c178"},"asia/yerevan":{offset:4,hem:"n",ctry:"c013"},"atlantic/azores":{offset:0,hem:"n",dst:"03/31:00->10/27:01",ctry:"c172"},"atlantic/bermuda":{offset:-3,hem:"n",dst:"03/10:02->11/03:02"},"atlantic/canary":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c203"},"atlantic/cape_verde":{offset:-1,hem:"n"},"atlantic/faeroe":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c069"},"atlantic/faroe":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c069"},"atlantic/jan_mayen":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c160"},"atlantic/madeira":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c172"},"atlantic/reykjavik":{offset:0,hem:"n",ctry:"c095"},"atlantic/south_georgia":{offset:-2,hem:"n",ctry:"c200"},"atlantic/st_helena":{offset:0,hem:"n",ctry:"c180"},"atlantic/stanley":{offset:-3,hem:"s",ctry:"c068"},"australia/act":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/adelaide":{offset:9.5,hem:"s",dst:"04/07:03->10/06:02"},"australia/brisbane":{offset:10,hem:"s"},"australia/broken_hill":{offset:9.5,hem:"s",dst:"04/07:03->10/06:02"},"australia/canberra":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/currie":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/darwin":{offset:9.5,hem:"s"},"australia/eucla":{offset:8.75,hem:"s"},"australia/hobart":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/lhi":{offset:10.5,hem:"s",dst:"04/07:01->10/06:02"},"australia/lindeman":{offset:10,hem:"s"},"australia/lord_howe":{offset:10.5,hem:"s",dst:"04/07:01->10/06:02"},"australia/melbourne":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/nsw":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/north":{offset:9.5,hem:"s"},"australia/perth":{offset:8,hem:"s"},"australia/queensland":{offset:10,hem:"s"},"australia/south":{offset:9.5,hem:"s",dst:"04/07:03->10/06:02"},"australia/sydney":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/tasmania":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/victoria":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/west":{offset:8,hem:"s"},"australia/yancowinna":{offset:9.5,hem:"s",dst:"04/07:03->10/06:02"},"brazil/acre":{offset:-5,hem:"s"},"brazil/denoronha":{offset:-2,hem:"s"},"brazil/east":{offset:-3,hem:"s",dst:"02/16:24->11/03:00"},"brazil/west":{offset:-4,hem:"s"},"canada/atlantic":{offset:-3,hem:"n",dst:"03/10:02->11/03:02"},"canada/central":{offset:-5,hem:"n",dst:"03/10:02->11/03:02"},"canada/east-saskatchewan":{offset:-6,hem:"n"},"canada/eastern":{offset:-4,hem:"n",dst:"03/10:02->11/03:02"},"canada/mountain":{offset:-6,hem:"n",dst:"03/10:02->11/03:02"},"canada/newfoundland":{offset:-2.5,hem:"n",dst:"03/10:02->11/03:02"},"canada/pacific":{offset:-7,hem:"n",dst:"03/10:02->11/03:02"},"canada/saskatchewan":{offset:-6,hem:"n"},"canada/yukon":{offset:-7,hem:"n",dst:"03/10:02->11/03:02"},"chile/continental":{offset:-4,hem:"s",dst:"04/06:24->09/08:00"},"chile/easterisland":{offset:-6,hem:"s",dst:"04/06:22->09/07:22"},"europe/amsterdam":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c148"},"europe/andorra":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/astrakhan":{offset:4,hem:"n",ctry:"c178"},"europe/athens":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c082"},"europe/belfast":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c157"},"europe/belgrade":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c190"},"europe/berlin":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c078"},"europe/bratislava":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c195"},"europe/brussels":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c022"},"europe/bucharest":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c177"},"europe/budapest":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c094"},"europe/busingen":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c078"},"europe/chisinau":{offset:3,hem:"n",dst:"03/31:02->10/27:03",ctry:"c137"},"europe/copenhagen":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"denmark"},"europe/dublin":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c100"},"europe/gibraltar":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/guernsey":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c229"},"europe/helsinki":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c071"},"europe/isle_of_man":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c229"},"europe/istanbul":{offset:3,hem:"n",ctry:"c222"},"europe/jersey":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c229"},"europe/kaliningrad":{offset:2,hem:"n",ctry:"c178"},"europe/kirov":{offset:3,hem:"n",ctry:"c178"},"europe/kiev":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c227"},"europe/lisbon":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c172"},"europe/ljubljana":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c196"},"europe/london":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c229"},"europe/luxembourg":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/madrid":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c203"},"europe/malta":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/mariehamn":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c002"},"europe/minsk":{offset:3,hem:"n",ctry:"c021"},"europe/monaco":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/moscow":{offset:3,hem:"n",ctry:"c178"},"europe/nicosia":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c055"},"europe/oslo":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c160"},"europe/paris":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c072"},"europe/podgorica":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c140"},"europe/prague":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c056"},"europe/riga":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c113"},"europe/rome":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c102"},"europe/samara":{offset:4,hem:"n",ctry:"c178"},"europe/saratov":{offset:4,hem:"n",ctry:"c178"},"europe/san_marino":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/sarajevo":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c029"},"europe/simferopol":{offset:3,hem:"n",ctry:"c178"},"europe/skopje":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c158"},"europe/sofia":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"bulgaria"},"europe/stockholm":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c208"},"europe/tallinn":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c066"},"europe/tirane":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c003"},"europe/tiraspol":{offset:3,hem:"n",dst:"03/31:02->10/27:03",ctry:"c137"},"europe/ulyanovsk":{offset:4,hem:"n",ctry:"c178"},"europe/uzhgorod":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c227"},"europe/vaduz":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c118"},"europe/vatican":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/vienna":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c016"},"europe/vilnius":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c119"},"europe/volgograd":{offset:4,hem:"n",ctry:"c178"},"asia/volgograd":{offset:4,hem:"n",ctry:"c178"},"europe/warsaw":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c171"},"europe/zagreb":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c052"},"europe/zaporozhye":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c227"},"europe/zurich":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c209"},"indian/antananarivo":{offset:3,hem:"s",ctry:"c123"},"indian/chagos":{offset:6,hem:"n",ctry:"c032"},"indian/christmas":{offset:7,hem:"s",ctry:"c046"},"indian/cocos":{offset:6.5,hem:"n",ctry:"c047"},"indian/comoro":{offset:3,hem:"n",ctry:"c049"},"indian/kerguelen":{offset:5,hem:"s",ctry:"c075"},"indian/mahe":{offset:4,hem:"n",ctry:"c191"},"indian/maldives":{offset:5,hem:"n"},"indian/mauritius":{offset:4,hem:"n"},"indian/mayotte":{offset:3,hem:"n"},"indian/reunion":{offset:4,hem:"s"},"mexico/bajanorte":{offset:-7,hem:"n",dst:"03/10:02->11/03:02"},"mexico/bajasur":{offset:-6,hem:"n",dst:"04/07:02->10/27:02"},"mexico/general":{offset:-5,hem:"n",dst:"04/07:02->10/27:02"},"pacific/apia":{offset:13,hem:"s",dst:"04/07:04->09/29:03",ctry:"c031"},"pacific/auckland":{offset:12,hem:"s",dst:"04/07:03->09/29:02",ctry:"c150"},"pacific/bougainville":{offset:11,hem:"s",ctry:"c166"},"pacific/chatham":{offset:12.75,hem:"s",dst:"04/07:03->04/07:02",ctry:"c150"},"pacific/chuuk":{offset:10,hem:"n",ctry:"c135"},"pacific/easter":{offset:-6,hem:"s",dst:"04/06:22->09/07:22",ctry:"c044"},"pacific/efate":{offset:11,hem:"n",ctry:"c235"},"pacific/enderbury":{offset:13,hem:"n",ctry:"c109"},"pacific/fakaofo":{offset:13,hem:"n",ctry:"c218"},"pacific/fiji":{offset:12,hem:"s",dst:"01/13:03->11/03:02"},"pacific/funafuti":{offset:12,hem:"n",ctry:"c225"},"pacific/galapagos":{offset:-6,hem:"n",ctry:"c061"},"pacific/gambier":{offset:-9,hem:"n",ctry:"c074"},"pacific/guadalcanal":{offset:11,hem:"n",ctry:"c197"},"pacific/guam":{offset:10,hem:"n"},"pacific/honolulu":{offset:-10,hem:"n",ctry:"c230"},"pacific/johnston":{offset:-10,hem:"n",ctry:"c230"},"pacific/kiritimati":{offset:14,hem:"n",ctry:"c109"},"pacific/kosrae":{offset:11,hem:"n",ctry:"c135"},"pacific/kwajalein":{offset:12,hem:"n",ctry:"c129"},"pacific/majuro":{offset:12,hem:"n",ctry:"c129"},"pacific/marquesas":{offset:-9.5,hem:"n",ctry:"c074"},"pacific/midway":{offset:-11,hem:"n",ctry:"c136"},"pacific/nauru":{offset:12,hem:"n"},"pacific/niue":{offset:-11,hem:"n"},"pacific/norfolk":{offset:11.5,hem:"n",ctry:"c155"},"pacific/noumea":{offset:11,hem:"n",ctry:"c149"},"pacific/pago_pago":{offset:-11,hem:"n",ctry:"c005"},"pacific/palau":{offset:9,hem:"n"},"pacific/pitcairn":{offset:-8,hem:"n",ctry:"c170"},"pacific/pohnpei":{offset:11,hem:"n",ctry:"c135"},"pacific/ponape":{offset:11,hem:"n",ctry:"c135"},"pacific/port_moresby":{offset:10,hem:"n",ctry:"c166"},"pacific/rarotonga":{offset:-10,hem:"n",ctry:"c050"},"pacific/saipan":{offset:10,hem:"n",ctry:"c159"},"pacific/samoa":{offset:-11,hem:"n"},"pacific/tahiti":{offset:-10,hem:"n",ctry:"c074"},"pacific/tarawa":{offset:12,hem:"n",ctry:"c109"},"pacific/tongatapu":{offset:13,hem:"s",dst:"01/15:02->11/05:03",ctry:"c219"},"pacific/truk":{offset:10,hem:"n",ctry:"c135"},"pacific/wake":{offset:12,hem:"n",ctry:"c240"},"pacific/wallis":{offset:12,hem:"n",ctry:"c241"},"pacific/yap":{offset:10,hem:"n",ctry:"c135"},"etc/gmt":{offset:0,hem:"n"},"etc/gmt+0":{offset:0,hem:"n"},"etc/gmt-0":{offset:0,hem:"n"},"etc/gmt0":{offset:0,hem:"n"},"etc/greenwich":{offset:0,hem:"n",ctry:"c229"},"etc/utc":{offset:0,hem:"n"},"etc/universal":{offset:0,hem:"n"},"etc/zulu":{offset:0,hem:"n"}};var s=function(e,a){return e(a={exports:{}},a.exports),a.exports}((function(e,a){a.isLeapYear=e=>e%4==0&&e%100!=0||e%400==0,a.isDate=e=>"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.valueOf()),a.isArray=e=>"[object Array]"===Object.prototype.toString.call(e),a.isObject=e=>"[object Object]"===Object.prototype.toString.call(e),a.zeroPad=(e,a=2)=>(e+="").length>=a?e:new Array(a-e.length+1).join("0")+e,a.titleCase=e=>e?e[0].toUpperCase()+e.substr(1):"",a.ordinal=e=>{let a=e%10,t=e%100;return 1===a&&11!==t?e+"st":2===a&&12!==t?e+"nd":3===a&&13!==t?e+"rd":e+"th"},a.toCardinal=e=>(e=(e=String(e)).replace(/([0-9])(st|nd|rd|th)$/i,"$1"),parseInt(e,10)),a.normalize=(e="")=>"day"===(e=(e=(e=(e=e.toLowerCase().trim()).replace(/ies$/,"y")).replace(/s$/,"")).replace(/-/g,""))?"date":e,a.getEpoch=e=>"number"==typeof e?e:a.isDate(e)?e.getTime():e.epoch?e.epoch:null,a.beADate=(e,t)=>!1===a.isObject(e)?t.clone().set(e):e,a.formatTimezone=(e,t="")=>{const r=Math.abs(e);return`${e>0?"+":"-"}${a.zeroPad(r)}${t}00`}}));s.isLeapYear,s.isDate,s.isArray,s.isObject,s.zeroPad,s.titleCase,s.ordinal,s.toCardinal,s.normalize,s.getEpoch,s.beADate,s.formatTimezone;const o=s.zeroPad;var c=(e,a,t,r)=>{let n=new Date(e),s=(n.getTimezoneOffset()||0)+60*r;s=60*s*1e3,n=new Date(e+s);let c=(e=>o(e.getMonth()+1)+"/"+o(e.getDate())+":"+o(e.getHours()))(n);return c>=a&&c<t};var i,f=e=>{let a=e.timezones[e.tz];if(void 0===a)return console.warn("Warning: couldn't find timezone "+e.tz),0;if(void 0===a.dst)return a.offset;let t=a.offset,r=a.offset+1;"n"===a.hem&&(r=t-1);let n=a.dst.split("->");return!0===c(e.epoch,n[0],n[1],t)?t:r},m=["africa","america","asia","atlantic","australia","brazil","canada","chile","europe","indian","mexico","pacific","antarctica","etc"],h=(i=Object.freeze({default:{"9|s":"2/dili,2/jayapura","9|n":"2/chita,2/khandyga,2/pyongyang,2/seoul,2/tokyo,11/palau","9.5|s|04/07:03->10/06:02":"4/adelaide,4/broken_hill,4/south,4/yancowinna","9.5|s":"4/darwin,4/north","8|s":"12/casey,2/kuala_lumpur,2/makassar,2/singapore,4/perth,4/west","8|n|03/25:03->09/29:23":"2/ulan_bator","8|n":"2/brunei,2/choibalsan,2/chongqing,2/chungking,2/harbin,2/hong_kong,2/irkutsk,2/kuching,2/macao,2/macau,2/manila,2/shanghai,2/taipei,2/ujung_pandang,2/ulaanbaatar","8.75|s":"4/eucla","7|s":"12/davis,2/jakarta,9/christmas","7|n":"2/bangkok,2/barnaul,2/ho_chi_minh,2/hovd,2/krasnoyarsk,2/novokuznetsk,2/novosibirsk,2/phnom_penh,2/pontianak,2/saigon,2/tomsk,2/vientiane","6|s":"12/vostok","6|n":"2/almaty,2/bishkek,2/dacca,2/dhaka,2/kashgar,2/omsk,2/qyzylorda,2/thimbu,2/thimphu,2/urumqi,9/chagos","6.5|n":"2/rangoon,9/cocos","5|s":"12/mawson,9/kerguelen","5|n":"2/aqtau,2/aqtobe,2/ashgabat,2/ashkhabad,2/atyrau,2/baku,2/dushanbe,2/karachi,2/oral,2/samarkand,2/tashkent,2/yekaterinburg,9/maldives","5.75|n":"2/kathmandu,2/katmandu","5.5|n":"2/calcutta,2/colombo,2/kolkata","4|s":"9/reunion","4|n":"2/dubai,2/muscat,2/tbilisi,2/yerevan,8/astrakhan,8/samara,8/saratov,8/ulyanovsk,8/volgograd,2/volgograd,9/mahe,9/mauritius","4.5|n|03/22:00->09/21:24":"2/tehran","4.5|n":"2/kabul","3|s":"12/syowa,9/antananarivo","3|n|03/31:03->10/27:04":"2/nicosia,8/athens,8/bucharest,8/helsinki,8/kiev,8/mariehamn,8/nicosia,8/riga,8/sofia,8/tallinn,8/uzhgorod,8/vilnius,8/zaporozhye","3|n|03/31:02->10/27:03":"8/chisinau,8/tiraspol","3|n|03/31:00->10/26:24":"2/beirut","3|n|03/29:02->10/27:02":"2/jerusalem,2/tel_aviv","3|n|03/29:00->10/25:01":"2/amman","3|n|03/29:00->10/24:24":"2/damascus","3|n|03/23:01->10/26:01":"2/gaza,2/hebron","3|n":"0/addis_ababa,0/asmara,0/asmera,0/dar_es_salaam,0/djibouti,0/juba,0/kampala,0/mogadishu,0/nairobi,2/aden,2/baghdad,2/bahrain,2/istanbul,2/kuwait,2/qatar,2/riyadh,8/istanbul,8/kirov,8/minsk,8/moscow,8/simferopol,9/comoro,9/mayotte","2|s|03/31:02->10/27:02":"12/troll","2|s":"0/gaborone,0/harare,0/johannesburg,0/lubumbashi,0/lusaka,0/maputo,0/maseru,0/mbabane","2|n|03/31:02->10/27:03":"0/ceuta,arctic/longyearbyen,3/jan_mayen,8/amsterdam,8/andorra,8/belgrade,8/berlin,8/bratislava,8/brussels,8/budapest,8/busingen,8/copenhagen,8/gibraltar,8/ljubljana,8/luxembourg,8/madrid,8/malta,8/monaco,8/oslo,8/paris,8/podgorica,8/prague,8/rome,8/san_marino,8/sarajevo,8/skopje,8/stockholm,8/tirane,8/vaduz,8/vatican,8/vienna,8/warsaw,8/zagreb,8/zurich","2|n":"0/blantyre,0/bujumbura,0/cairo,0/khartoum,0/kigali,0/tripoli,8/kaliningrad","1|s|04/02:01->09/03:03":"0/windhoek","1|s":"0/kinshasa,0/luanda","1|n|05/05:03->06/09:02":"0/casablanca,0/el_aaiun","1|n|03/31:01->10/27:02":"3/canary,3/faeroe,3/faroe,3/madeira,8/belfast,8/dublin,8/guernsey,8/isle_of_man,8/jersey,8/lisbon,8/london","1|n":"0/algiers,0/bangui,0/brazzaville,0/douala,0/lagos,0/libreville,0/malabo,0/ndjamena,0/niamey,0/porto-novo,0/tunis","14|n":"11/kiritimati","13|s|04/07:04->09/29:03":"11/apia","13|s|01/15:02->11/05:03":"11/tongatapu","13|n":"11/enderbury,11/fakaofo","12|s|04/07:03->09/29:02":"12/mcmurdo,12/south_pole,11/auckland","12|s|01/13:03->11/03:02":"11/fiji","12|n":"2/anadyr,2/kamchatka,2/srednekolymsk,11/funafuti,11/kwajalein,11/majuro,11/nauru,11/tarawa,11/wake,11/wallis","12.75|s|04/07:03->04/07:02":"11/chatham","11|s":"12/macquarie,11/bougainville","11|n":"2/magadan,2/sakhalin,11/efate,11/guadalcanal,11/kosrae,11/noumea,11/pohnpei,11/ponape","11.5|n":"11/norfolk","10|s|04/07:03->10/06:02":"4/act,4/canberra,4/currie,4/hobart,4/melbourne,4/nsw,4/sydney,4/tasmania,4/victoria","10|s":"12/dumontdurville,4/brisbane,4/lindeman,4/queensland","10|n":"2/ust-nera,2/vladivostok,2/yakutsk,11/chuuk,11/guam,11/port_moresby,11/saipan,11/truk,11/yap","10.5|s|04/07:01->10/06:02":"4/lhi,4/lord_howe","0|n|03/31:00->10/27:01":"1/scoresbysund,3/azores","0|n":"0/abidjan,0/accra,0/bamako,0/banjul,0/bissau,0/conakry,0/dakar,0/freetown,0/lome,0/monrovia,0/nouakchott,0/ouagadougou,0/sao_tome,0/timbuktu,1/danmarkshavn,3/reykjavik,3/st_helena,13/gmt,13/gmt+0,13/gmt-0,13/gmt0,13/greenwich,13/utc,13/universal,13/zulu","-9|n|03/10:02->11/03:02":"1/adak,1/atka","-9|n":"11/gambier","-9.5|n":"11/marquesas","-8|n|03/10:02->11/03:02":"1/anchorage,1/juneau,1/metlakatla,1/nome,1/sitka,1/yakutat","-8|n":"11/pitcairn","-7|n|03/10:02->11/03:02":"1/dawson,1/ensenada,1/los_angeles,1/santa_isabel,1/tijuana,1/vancouver,1/whitehorse,6/pacific,6/yukon,10/bajanorte","-7|n":"1/creston,1/dawson_creek,1/hermosillo,1/phoenix","-6|s|04/06:22->09/07:22":"7/easterisland,11/easter","-6|n|04/07:02->10/27:02":"1/chihuahua,1/mazatlan,10/bajasur","-6|n|03/10:02->11/03:02":"1/boise,1/cambridge_bay,1/denver,1/edmonton,1/inuvik,1/ojinaga,1/shiprock,1/yellowknife,6/mountain","-6|n":"1/belize,1/costa_rica,1/el_salvador,1/guatemala,1/managua,1/regina,1/swift_current,1/tegucigalpa,6/east-saskatchewan,6/saskatchewan,11/galapagos","-5|s":"1/lima,1/rio_branco,5/acre","-5|n|04/07:02->10/27:02":"1/bahia_banderas,1/merida,1/mexico_city,1/monterrey,10/general","-5|n|03/12:03->11/05:01":"1/north_dakota","-5|n|03/10:02->11/03:02":"1/chicago,1/knox_in,1/matamoros,1/menominee,1/rainy_river,1/rankin_inlet,1/resolute,1/winnipeg,6/central","-5|n":"1/atikokan,1/bogota,1/cancun,1/cayman,1/coral_harbour,1/eirunepe,1/guayaquil,1/jamaica,1/panama,1/porto_acre","-4|s|05/13:23->08/13:01":"12/palmer","-4|s|04/06:24->09/08:00":"1/santiago,7/continental","-4|s|03/23:24->10/06:00":"1/asuncion","-4|s|02/16:24->11/03:00":"1/campo_grande,1/cuiaba","-4|s":"1/la_paz,1/manaus,5/west","-4|n|03/12:03->11/05:01":"1/indiana,1/kentucky","-4|n|03/10:02->11/03:02":"1/detroit,1/fort_wayne,1/grand_turk,1/indianapolis,1/iqaluit,1/louisville,1/montreal,1/nassau,1/new_york,1/nipigon,1/pangnirtung,1/port-au-prince,1/thunder_bay,1/toronto,6/eastern","-4|n|03/10:00->11/03:01":"1/havana","-4|n":"1/anguilla,1/antigua,1/aruba,1/barbados,1/blanc-sablon,1/boa_vista,1/caracas,1/curacao,1/dominica,1/grenada,1/guadeloupe,1/guyana,1/kralendijk,1/lower_princes,1/marigot,1/martinique,1/montserrat,1/port_of_spain,1/porto_velho,1/puerto_rico,1/santo_domingo,1/st_barthelemy,1/st_kitts,1/st_lucia,1/st_thomas,1/st_vincent,1/tortola,1/virgin","-3|s|02/16:24->11/03:00":"1/sao_paulo,5/east","-3|s":"1/argentina,1/buenos_aires,1/cordoba,1/fortaleza,1/montevideo,1/punta_arenas,12/rothera,3/stanley","-3|n|03/10:02->11/03:02":"1/glace_bay,1/goose_bay,1/halifax,1/moncton,1/thule,3/bermuda,6/atlantic","-3|n":"1/araguaina,1/bahia,1/belem,1/catamarca,1/cayenne,1/jujuy,1/maceio,1/mendoza,1/paramaribo,1/recife,1/rosario,1/santarem","-2|s":"5/denoronha","-2|n|03/30:22->10/26:23":"1/godthab","-2|n|03/10:02->11/03:02":"1/miquelon","-2|n":"1/noronha,3/south_georgia","-2.5|n|03/10:02->11/03:02":"1/st_johns,6/newfoundland","-1|n":"3/cape_verde","-11|n":"11/midway,11/niue,11/pago_pago,11/samoa","-10|n":"11/honolulu,11/johnston,11/rarotonga,11/tahiti"}}))&&i.default||i;let u={};Object.keys(h).forEach(e=>{let a=e.split("|"),t={offset:Number(a[0]),hem:a[1]};a[2]&&(t.dst=a[2]),h[e].split(",").forEach(e=>{e=e.replace(/(^[0-9]+)\//,(e,a)=>(a=Number(a),m[a]+"/")),u[e]=t})}),u.utc={offset:0,hem:"n"};for(let e=-13;e<=13;e+=.5){let a=e;a>0&&(a="+"+a);let t="etc/gmt"+a;u[t]={offset:-1*e,hem:"n"},t="utc/gmt"+a,u[t]={offset:-1*e,hem:"n"}}var l=u;const d={"america/halifax":["ast","adt","atlantic"],"america/new_york":["est","edt","eastern"],"america/chicago":["cst","cdt","central"],"america/denver":["mst","mdt","mountain"],"america/los_angeles":["pst","pdt","pacific"],"america/anchorage":["ahst","ahdt","akst","akdt","alaska"],"america/st_johns":["nst","ndt","nt","newfoundland","nddt"],"america/caracas":["vet",null,"venezuela"],"america/bogota":["cot",null,"colombia"],"america/cayenne":["gft",null,"french guiana"],"america/paramaribo":["srt",null,"suriname"],"america/guyana":["gyt"],"america/buenos_aires":["art",null,"argentina"],"america/la_paz":["bot",null,"bolivia"],"america/asuncion":["pyt","pyst","paraguay"],"america/santiago":["clt","clst","chile"],"america/lima":["pet",null,"peru"],"america/montevideo":["uyt",null,"uruguay"],"atlantic/stanley":["fkst",null,"falkland island"],"america/manaus":["amt"],"america/sao_paulo":["brt","brst"],"brazil/acre":["act"],"europe/london":["gmt","bst","british"],"etc/gmt":["gmt",null,"greenwich"],"europe/lisbon":["wet","west","west europe"],"europe/berlin":["cet","cest","central europe","middle european","met","mest"],"europe/riga":["eet","eest","east europe","kalt"],"europe/moscow":["msk",null,"fet","mdst","msd"],"europe/samara":["samt"],"asia/yekaterinburg":["yekt"],"asia/omsk":["omst"],"asia/krasnoyarsk":["krat"],"asia/novosibirsk":["novt"],"asia/irkutsk":["irkt"],"asia/yakutsk":["yakt"],"asia/vladivostok":["vlat"],"asia/magadan":["magt"],"asia/sakhalin":["sakt"],"asia/srednekolymsk":["sret"],"asia/anadyr":["anat"],"asia/kamchatka":["pett"],"asia/tashkent":["uzt","uzbekistan"],"asia/bishkek":["kgt","kyrgyzstan"],"antarctica/vostok":["vost"],"asia/hovd":["hovt"],"asia/ashgabat":["tmt",null,"turkmenistan"],"africa/lagos":["wat","wast","west africa"],"africa/khartoum":["cat",null,"central africa"],"africa/nairobi":["eat",null,"east africa"],"atlantic/cape_verde":["cvt"],"indian/mauritius":["mut"],"indian/reunion":["ret"],"africa/johannesburg":["sast",null,"south africa"],"atlantic/azores":["azot","azost","hmt"],"america/godthab":["wgt","wgst","west greenland"],"america/scoresbysund":["egt","egst","east greenland"],"europe/istanbul":["trt",null,"turkey"],"asia/tbilisi":["get",null,"georgia"],"asia/baku":["azt",null,"azerbaijan"],"asia/jerusalem":[null,"idt","israel","jmt","iddt"],"asia/tehran":["irst","irdt","iran"],"asia/karachi":["pkt",null,"pakistan"],"asia/kabul":["aft",null,"afghanistan"],"asia/dushanbe":["tjt",null,"tajikistan"],"asia/almaty":["almt",null,"alma ata"],"asia/dubai":["gst",null,"gulf"],"asia/kolkata":["ist",null,"india","slst"],"asia/thimbu":["btt",null,"bhutan"],"indian/maldives":["mvt"],"asia/kathmandu":["npt",null,"nepal"],"indian/cocos":["cct",null,"cocos island"],"indian/chagos":["iot",null,"indian chagos"],"indian/kerguelen":["tft",null,"french southern and antarctic"],"asia/shanghai":["ct",null,"china","hkt"],"asia/ulaanbaatar":["ulat"],"asia/seoul":["kst",null,"korea"],"asia/tokyo":["jst",null,"japan"],"asia/phnom_penh":["ict",null,"indochina"],"asia/manila":["pht",null,"philippines"],"asia/singapore":["sgt"],"australia/brisbane":["aest","aedt","australian east"],"australia/adelaide":["acst","acdt","australian central"],"australia/eucla":["acwst",null,"cwst","australian central western"],"australia/perth":["awst","awdt","australian west"],"pacific/auckland":["nzst","nzdt","nzmt"],"australia/lord_howe":["lhst","lhdt"],"pacific/guam":["chst"],"pacific/chatham":["chast","chadt"],"pacific/honolulu":["hst"],"asia/brunei":["bnt",null,"bdt"],"pacific/midway":["sst",null,"samoa","sdt"],"pacific/niue":["nut"],"pacific/fakaofo":["tkt"],"pacific/rarotonga":["ckt",null,"cook islands"],"chile/easterisland":["east","easst","easter island","emt"],"asia/jayapura":["wit",null,"east indonesia"],"asia/jakarta":["wib",null,"west indonesia"],"asia/makassar":["wita",null,"central indonesia"],"pacific/galapagos":["galt"],"pacific/fiji":["fjt","fjst"],"asia/dili":["tlt",null,"east timor"],"indian/christmas":["cxt"]},y=Object.keys(d).reduce((e,a)=>{let t=d[a];for(let r=0;r<5;r+=1)t[r]&&(e[t[r]]=a);return e},{});var p={informal:d,lookup:y};const g=p.lookup,b=(()=>{let e=(()=>{if("undefined"==typeof Intl||void 0===Intl.DateTimeFormat)return null;let e=Intl.DateTimeFormat();if(void 0===e||void 0===e.resolvedOptions)return null;let a=e.resolvedOptions().timeZone;return a?a.toLowerCase():null})();return null===e?"utc":e})(),k=/(\-?[0-9]+)h(rs)?/,w=Object.keys(l).reduce((e,a)=>{let t=a.split("/")[1]||"";return t=t.replace(/_/g," "),e[t]=a,e},{});var v=(e,a)=>{if(!e)return b;let t=e.trim(),r=e.split("/");if(r.length>2&&!1===a.hasOwnProperty(t)&&(t=r[0]+"/"+r[1]),t=t.toLowerCase(),!0===a.hasOwnProperty(t))return t;if(t=(e=>(e=(e=(e=(e=(e=e.replace(/ time/g,"")).replace(/ (standard|daylight|summer)/g,"")).replace(/\b(east|west|north|south)ern/g,"$1")).replace(/\b(africa|america|australia)n/g,"$1")).replace(/\beuropean/g,"europe")).replace(/\islands/g,"island"))(t),!0===a.hasOwnProperty(t))return t;if(!0===g.hasOwnProperty(t))return g[t];if(!0===w.hasOwnProperty(t))return w[t];let n=t.match(k);if(null!==n){let e=Number(n[1]);e*=-1,e=(e>0?"+":"")+e;let t="etc/gmt"+e;if(a.hasOwnProperty(t))return t}return console.warn("Cannot find timezone named: '"+e+"'"),b};let z={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5};z.date=z.day,z.month=25488e5,z.week=6048e5,z.year=3154e7,Object.keys(z).forEach(e=>{z[e+"s"]=z[e]});var _=z;const j=(e,a,t,r,n)=>{let s=e.d[t]();if(s===a)return;let o=null===n?null:e.d[n](),c=e.epoch,i=a-s;e.epoch+=_[r]*i,"day"===r&&Math.abs(i)>28&&a<28&&(e.epoch+=_.hour);const f=_[r]/2;for(;e.d[t]()<a;)e.epoch+=f;for(;e.d[t]()>a;)e.epoch-=f;null!==n&&o!==e.d[n]()&&(e.epoch=c,e.epoch+=_[r]*i*.97)},O={year:{valid:e=>e>-4e3&&e<4e3,walkTo:(e,a)=>j(e,a,"getFullYear","year",null)},month:{valid:e=>e>=0&&e<=11,walkTo:(e,a)=>{let t=e.d,r=t.getMonth(),n=e.epoch,s=t.getYear();if(r===a)return;let o=a-r;for(e.epoch+=_.day*(28*o),s!==e.d.getYear()&&(e.epoch=n);e.d.getMonth()<a;)e.epoch+=_.day;for(;e.d.getMonth()>a;)e.epoch-=_.day}},date:{valid:e=>e>0&&e<=31,walkTo:(e,a)=>j(e,a,"getDate","day","getMonth")},hour:{valid:e=>e>=0&&e<24,walkTo:(e,a)=>j(e,a,"getHours","hour","getDate")},minute:{valid:e=>e>=0&&e<60,walkTo:(e,a)=>j(e,a,"getMinutes","minute","getHours")},second:{valid:e=>e>=0&&e<60,walkTo:(e,a)=>{e.epoch=e.seconds(a).epoch}},millisecond:{valid:e=>e>=0&&e<1e3,walkTo:(e,a)=>{e.epoch=e.milliseconds(a).epoch}}};var D=(e,a)=>{let t=Object.keys(O),r=e.clone();for(let n=0;n<t.length;n++){let s=t[n],o=a[s];if(void 0===o&&(o=r[s]()),"string"==typeof o&&(o=parseInt(o,10)),!O[s].valid(o))return e.epoch=null,void(!1===e.silent&&console.warn("invalid "+s+": "+o));O[s].walkTo(e,o)}};let $=["jan","feb","mar","apr","may","jun","jul","aug","sept","oct","nov","dec"],q=["january","february","march","april","may","june","july","august","september","october","november","december"];var P=()=>$,M=()=>q,S=()=>function(){const e={sep:8};for(let a=0;a<$.length;a++)e[$[a]]=a;for(let a=0;a<q.length;a++)e[q[a]]=a;return e}(),C=e=>{$=e.short||$,q=e.long||q};var x=(e,a)=>{if(!a)return e;"Z"===a&&(a="+0000");let t=0;/^[\+-]?[0-9]{2}:[0-9]{2}$/.test(a)&&(!0===/:00/.test(a)&&(a=a.replace(/:00/,"")),!0===/:30/.test(a)&&(a=a.replace(/:30/,".5"))),/^[\+-]?[0-9]{4}$/.test(a)&&(a=a.replace(/30$/,".5")),t=parseFloat(a),Math.abs(t)>100&&(t/=100),t*=-1,t>=0&&(t="+"+t);let r="etc/gmt"+t;return e.timezones[r]&&(e.tz=r),e};var E=(e,a="")=>{let t=(a=a.replace(/^\s+/,"").toLowerCase()).match(/([0-9]{1,2}):([0-9]{1,2}):?([0-9]{1,2})?[:\.]?([0-9]{1,4})?/);if(null!==t){let r=Number(t[1]);if(r<0||r>24)return e.startOf("day");let n=Number(t[2]);if(t[2].length<2||n<0||n>59)return e.startOf("day");e=(e=(e=(e=e.hour(r)).minute(n)).seconds(t[3]||0)).millisecond(t[4]||0);let s=a.match(/[\b0-9](am|pm)\b/);return null!==s&&s[1]&&(e=e.ampm(s[1])),e}if(t=a.match(/([0-9]+) ?(am|pm)/),null!==t&&t[1]){let a=Number(t[1]);return a>12||a<1?e.startOf("day"):e=(e=(e=e.hour(t[1]||0)).ampm(t[2])).startOf("hour")}return e=e.startOf("day")};var T=[31,28,31,30,31,30,31,31,30,31,30,31];const I=s.isLeapYear;var A=e=>{if(!0!==T.hasOwnProperty(e.month))return!1;if(1===e.month)return!!(I(e.year)&&e.date<=29)||e.date<=28;let a=T[e.month]||0;return e.date<=a};const Y=S(),N=(e="")=>{let a=parseInt(e.trim(),10);return a=a||(new Date).getFullYear(),a};var L=[{reg:/^(\-?0?0?[0-9]{3,4})-([0-9]{1,2})-([0-9]{1,2})[T| ]([0-9.:]+)(Z|[0-9\-\+:]+)?$/,parse:(e,a,t,r)=>{let n=parseInt(a[2],10)-1,s={year:a[1],month:n,date:a[3]};return!1===A(s)?(e.epoch=null,e):(x(e,a[5]),D(e,s),e=E(e,a[4]))}},{reg:/^([0-9]{4})[\-\/]([0-9]{1,2})[\-\/]([0-9]{1,2})$/,parse:(e,a)=>{let t={year:a[1],month:parseInt(a[2],10)-1,date:parseInt(a[3],10)};return t.month>=12&&(t.date=parseInt(a[2],10),t.month=parseInt(a[3],10)-1),!1===A(t)?(e.epoch=null,e):(D(e,t),e=E(e))}},{reg:/^([0-9]{1,2})[\-\/]([0-9]{1,2})[\-\/]?([0-9]{4})?$/,parse:(e,a)=>{let t=parseInt(a[1],10)-1,r=parseInt(a[2],10);t>=12&&(t=parseInt(a[2],10)-1,r=parseInt(a[1],10));let n={year:a[3]||(new Date).getFullYear(),month:t,date:r};return!1===A(n)?(e.epoch=null,e):(D(e,n),e=E(e))}},{reg:/^([a-z]+) ([0-9]{1,2}(?:st|nd|rd|th)?),?( [0-9]{4})?( ([0-9:]+( ?am| ?pm)?))?$/i,parse:(e,a)=>{let t=Y[a[1].toLowerCase()],r={year:N(a[3]),month:t,date:s.toCardinal(a[2]||"")};return!1===A(r)?(e.epoch=null,e):(D(e,r),e=E(e,a[4]))}},{reg:/^([a-z]+) ([0-9]{4})$/i,parse:(e,a)=>{let t=Y[a[1].toLowerCase()],r={year:N(a[2]),month:t,date:1};return!1===A(r)?(e.epoch=null,e):(D(e,r),e=E(e,a[4]))}},{reg:/^([0-9]{1,2}(?:st|nd|rd|th)?) ([a-z]+),?( [0-9]{4})?$/i,parse:(e,a)=>{let t=Y[a[2].toLowerCase()],r={year:N(a[3]),month:t,date:s.toCardinal(a[1])};return!1===A(r)?(e.epoch=null,e):(D(e,r),e=E(e))}},{reg:/^[0-9]{4}$/i,parse:(e,a)=>{let t=N(a[0]),r=new Date,n={year:t,month:r.getMonth(),date:r.getDate()};return!1===A(n)?(e.epoch=null,e):(D(e,n),e=E(e))}},{reg:/^[0-9,]+ ?b\.?c\.?$/i,parse:(e,a)=>{let t=a[0]||"";t=t.replace(/^([0-9,]+) ?b\.?c\.?$/i,"-$1"),t=t.replace(/,/g,"");let r=parseInt(t.trim(),10),n=new Date,s={year:r,month:n.getMonth(),date:n.getDate()};return!1===A(s)?(e.epoch=null,e):(D(e,s),e=E(e))}}];const F={now:e=>(e.epoch=Date.now(),e),tonight:e=>(e.epoch=Date.now(),e=e.hour(18)),today:e=>(e.epoch=Date.now(),e),tomorrow:e=>(e.epoch=Date.now(),e=(e=e.add(1,"day")).startOf("day")),yesterday:e=>(e.epoch=Date.now(),e=(e=e.subtract(1,"day")).startOf("day")),christmas:e=>{let a=(new Date).getFullYear();return e=e.set([a,11,25,18,0,0])},"new years":e=>{let a=(new Date).getFullYear();return e=e.set([a,11,31,18,0,0])}};F["new years eve"]=F["new years"];var Z=F;const H={year:(new Date).getFullYear(),month:0,date:1};var B=(e,a,t)=>{if("number"==typeof a)return a>0&&a<25e8&&!1===e.silent&&(console.warn(" - Warning: You are setting the date to January 1970."),console.warn(" - did input seconds instead of milliseconds?")),e.epoch=a,e;if(e.epoch=Date.now(),null==a)return e;if(!0===s.isDate(a))return e.epoch=a.getTime(),e;if(!0===s.isArray(a))return e=((e,a)=>{let t=["year","month","date","hour","minute","second","millisecond"];for(let r=0;r<t.length;r++){let n=a[r]||H[t[r]]||0;e=e[t[r]](n)}return e})(e,a);if(!0===s.isObject(a))return a.epoch?(e.epoch=a.epoch,e.tz=a.tz,e):e=((e,a)=>{a=Object.assign({},H,a);let t=Object.keys(a);for(let r=0;r<t.length;r++){let n=t[r];if(void 0===e[n]||"function"!=typeof e[n])continue;if(null===a[n]||void 0===a[n]||""===a[n])continue;let s=a[n]||H[n]||0;e=e[n](s)}return e})(e,a);if("string"!=typeof a)return e;if(a=(a=(a=a.replace(/\b(mon|tues|wed|wednes|thu|thurs|fri|sat|satur|sun)(day)?\b/i,"")).replace(/,/g,"")).replace(/ +/g," ").trim(),!0===Z.hasOwnProperty(a))return e=Z[a](e);for(let r=0;r<L.length;r++){let n=a.match(L[r].reg);if(n)return e=L[r].parse(e,n,t)}return!1===e.silent&&console.warn("Warning: couldn't parse date-string: '"+a+"'"),e.epoch=null,e};let G=["sun","mon","tue","wed","thu","fri","sat"],Q=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];var U=()=>G,W=()=>Q,V=e=>{G=e.short||G,Q=e.long||Q};var J=e=>{let a=e.timezone().current.offset;const t=a<0;let r="00";return.5===Math.abs(a%1)&&(r="30",a=a>=0?Math.floor(a):Math.ceil(a)),t?(a*=-1,a=s.zeroPad(a,2),a="-"+a):(a=s.zeroPad(a,2),a="+"+a),a=a+":"+r,"+00:00"===a&&(a="Z"),a};const K={day:e=>s.titleCase(e.dayName()),"day-short":e=>s.titleCase(U()[e.day()]),"day-number":e=>e.day(),"day-ordinal":e=>s.ordinal(e.day()),"day-pad":e=>s.zeroPad(e.day()),date:e=>e.date(),"date-ordinal":e=>s.ordinal(e.date()),"date-pad":e=>s.zeroPad(e.date()),month:e=>s.titleCase(e.monthName()),"month-short":e=>s.titleCase(P()[e.month()]),"month-number":e=>e.month(),"month-ordinal":e=>s.ordinal(e.month()),"month-pad":e=>s.zeroPad(e.month()),"iso-month":e=>s.zeroPad(e.month()+1),year:e=>{let a=e.year();return a>0?a:(a=Math.abs(a),a+" BC")},"year-short":e=>{let a=e.year();return a>0?"'"+String(e.year()).substr(2,4):(a=Math.abs(a),a+" BC")},"iso-year":e=>{let a=e.year(),t=a<0,r=s.zeroPad(Math.abs(a),4);return t&&(r=s.zeroPad(r,6),r="-"+r),r},time:e=>e.time(),"time-24":e=>`${e.hour24()}:${s.zeroPad(e.minute())}`,hour:e=>e.hour12(),"hour-pad":e=>s.zeroPad(e.hour12()),"hour-24":e=>e.hour24(),"hour-24-pad":e=>s.zeroPad(e.hour24()),minute:e=>e.minute(),"minute-pad":e=>s.zeroPad(e.minute()),second:e=>e.second(),"second-pad":e=>s.zeroPad(e.second()),ampm:e=>e.ampm(),quarter:e=>"Q"+e.quarter(),season:e=>e.season(),era:e=>e.era(),timezone:e=>e.timezone().name,offset:e=>J(e),numeric:e=>`${e.year()}/${s.zeroPad(e.month()+1)}/${s.zeroPad(e.date())}`,"numeric-us":e=>`${s.zeroPad(e.month()+1)}/${s.zeroPad(e.date())}/${e.year()}`,"numeric-uk":e=>`${s.zeroPad(e.date())}/${s.zeroPad(e.month()+1)}/${e.year()}`,"mm/dd":e=>`${s.zeroPad(e.month()+1)}/${s.zeroPad(e.date())}`,iso:e=>`${e.format("iso-year")}-${s.zeroPad(e.month()+1)}-${s.zeroPad(e.date())}T${s.zeroPad(e.h24())}:${s.zeroPad(e.minute())}:${s.zeroPad(e.second())}.${s.zeroPad(e.millisecond(),3)}${J(e)}`,"iso-short":e=>{let a=s.zeroPad(e.month()+1),t=s.zeroPad(e.date());return`${e.year()}-${a}-${t}`},"iso-utc":e=>new Date(e.epoch).toISOString(),nice:e=>`${P()[e.month()]} ${s.ordinal(e.date())}, ${e.time()}`,"nice-year":e=>`${P()[e.month()]} ${s.ordinal(e.date())}, ${e.year()}`,"nice-day":e=>`${U()[e.day()]} ${s.titleCase(P()[e.month()])} ${s.ordinal(e.date())}`,"nice-full":e=>`${e.dayName()} ${s.titleCase(e.monthName())} ${s.ordinal(e.date())}, ${e.time()}`},R={"day-name":"day","month-name":"month","iso 8601":"iso","time-h24":"time-24","time-12":"time","time-h12":"time",tz:"timezone","day-num":"day-number","month-num":"month-number","month-iso":"iso-month","year-iso":"iso-year","nice-short":"nice",mdy:"numeric-us",dmy:"numeric-uk",ymd:"numeric","yyyy/mm/dd":"numeric","mm/dd/yyyy":"numeric-us","dd/mm/yyyy":"numeric-us","little-endian":"numeric-uk","big-endian":"numeric","day-nice":"nice-day"};Object.keys(R).forEach(e=>K[e]=K[R[e]]);var X=(e,a="")=>{if(!0!==e.isValid())return"";if(K.hasOwnProperty(a)){let t=String(K[a](e)||"");return"ampm"!==a&&(t=s.titleCase(t)),t}if(-1!==a.indexOf("{")){let t=/\{(.+?)\}/g;return a=a.replace(t,(a,t)=>(t=t.toLowerCase().trim(),K.hasOwnProperty(t)?String(K[t](e)||""):""))}return e.format("iso-short")};const ee=s.zeroPad,ae=s.formatTimezone,te={G:e=>e.era(),GG:e=>e.era(),GGG:e=>e.era(),GGGG:e=>"AD"===e.era()?"Anno Domini":"Before Christ",y:e=>e.year(),yy:e=>parseInt(String(e.year()).substr(2,4),10),yyy:e=>e.year(),yyyy:e=>e.year(),yyyyy:e=>"0"+e.year(),Q:e=>e.quarter(),QQ:e=>e.quarter(),QQQ:e=>e.quarter(),QQQQ:e=>e.quarter(),M:e=>e.month()+1,MM:e=>ee(e.month()+1),MMM:e=>e.format("month-short"),MMMM:e=>e.format("month"),w:e=>e.week(),ww:e=>ee(e.week()),d:e=>e.date(),dd:e=>ee(e.date()),D:e=>e.dayOfYear(),DD:e=>ee(e.dayOfYear()),DDD:e=>ee(e.dayOfYear(),3),E:e=>e.format("day-short"),EE:e=>e.format("day-short"),EEE:e=>e.format("day-short"),EEEE:e=>e.format("day"),EEEEE:e=>e.format("day")[0],e:e=>e.day(),ee:e=>e.day(),eee:e=>e.format("day-short"),eeee:e=>e.format("day"),eeeee:e=>e.format("day")[0],a:e=>e.ampm().toUpperCase(),aa:e=>e.ampm().toUpperCase(),aaa:e=>e.ampm().toUpperCase(),aaaa:e=>e.ampm().toUpperCase(),h:e=>e.h12(),hh:e=>ee(e.h12()),H:e=>e.hour(),HH:e=>ee(e.hour()),m:e=>e.minute(),mm:e=>ee(e.minute()),s:e=>e.second(),ss:e=>ee(e.second()),A:e=>e.epoch-e.startOf("day").epoch,z:e=>e.timezone().name,zz:e=>e.timezone().name,zzz:e=>e.timezone().name,zzzz:e=>e.timezone().name,Z:e=>ae(e.timezone().current.offset),ZZ:e=>ae(e.timezone().current.offset),ZZZ:e=>ae(e.timezone().current.offset),ZZZZ:e=>ae(e.timezone().current.offset,":")},re=(e,a,t)=>{let r=e,n=a;for(let s=0;s<t;s+=1)te[r]=te[n],r+=e,n+=a};re("q","Q",4),re("L","M",4),re("Y","y",4),re("c","e",4),re("k","H",2),re("K","h",2),re("S","s",2),re("v","z",4),re("V","Z",4);var ne=(e,a)=>{let t=a.split(""),r=[t[0]],n=!1;for(let e=1;e<t.length;e+=1){if("'"===t[e]){if(n=!n,!0!==n||!t[e+1]||"'"!==t[e+1])continue;n=!0}!0===n||t[e]===r[r.length-1][0]?r[r.length-1]+=t[e]:r.push(t[e])}return r.reduce((a,t)=>(void 0!==te[t]?a+=te[t](e)||"":a+=t,a),"")};const se=["year","season","quarter","month","week","day","quarterHour","hour","minute"],oe=function(e,a){let t=e.clone().startOf(a),r=e.clone().endOf(a).epoch-t.epoch,n=(e.epoch-t.epoch)/r;return parseFloat(n.toFixed(2))};var ce=(e,a)=>{if(a)return a=s.normalize(a),oe(e,a);let t={};return se.forEach(a=>{t[a]=oe(e,a)}),t};var ie=(e,a)=>{let t=e.progress();return"quarterhour"===(a=s.normalize(a))&&(a="quarterHour"),void 0!==t[a]?(t[a]>.5&&(e=e.add(1,a)),e=e.startOf(a)):!1===e.silent&&console.warn("no known unit '"+a+"'"),e};const fe=(e,a,t)=>{let r=0;for(e=e.clone();e.isBefore(a);)e=e.add(1,t),r+=1;return e.isAfter(a,t)&&(r-=1),r};var me=(e,a,t)=>e.isBefore(a)?fe(e,a,t):-1*fe(a,e,t);var he=function(e,a){let t=a.epoch-e.epoch,r={milliseconds:t,seconds:parseInt(t/1e3,10)};r.minutes=parseInt(r.seconds/60,10),r.hours=parseInt(r.minutes/60,10);let n=e.clone();return r.years=((e,a)=>{let t=a.year()-e.year();return(e=e.year(a.year())).isAfter(a)&&(t-=1),t})(n,a),n=e.add(r.years,"year"),r.months=12*r.years,n=e.add(r.months,"month"),r.months+=me(n,a,"month"),r.weeks=52*r.years,n=e.add(r.weeks,"week"),r.weeks+=me(n,a,"week"),r.days=7*r.weeks,n=e.add(r.days,"day"),r.days+=me(n,a,"day"),r};var ue=function(e,a,t){a=s.beADate(a,e);let r=!1;if(e.isAfter(a)){let t=e;e=a,a=t,r=!0}let n=he(e,a);return r&&(n=function(e){return Object.keys(e).forEach(a=>{e[a]*=-1}),e}(n)),t?(t=s.normalize(t),!0!==/s$/.test(t)&&(t+="s"),"dates"===t&&(t="days"),n[t]):n};const le={months:{almost:10,over:4},days:{almost:25,over:10},hours:{almost:20,over:8},minutes:{almost:50,over:20},seconds:{almost:50,over:20}};function de(e,a){return 1===e&&(a=a.slice(0,-1)),e+" "+a}var ye=(e,a)=>{const t=function(e,a){const t=e.isBefore(a),r=t?a:e;let n=t?e:a;n=n.clone();const s={years:0,months:0,days:0,hours:0,minutes:0,seconds:0};return Object.keys(s).forEach(e=>{if(n.isSame(r,e))return;let a=n.diff(r,e);n=n.add(a,e),s[e]=a}),t&&Object.keys(s).forEach(e=>{0!==s[e]&&(s[e]*=-1)}),s}(e,a=s.beADate(a,e));if(!0===Object.keys(t).every(e=>!t[e]))return{diff:t,rounded:"now",qualified:"now",precise:"now"};let r,n,o,c=[];return Object.keys(t).forEach((e,a,s)=>{const o=Math.abs(t[e]);if(0===o)return;const i=de(o,e);if(c.push(i),!r){if(r=n=i,a>4)return;const c=s[a+1],f=Math.abs(t[c]);f>le[c].almost?(r=de(o+1,e),n="almost "+r):f>le[c].over&&(n="over "+i)}}),o=c.splice(0,2).join(", "),!0===e.isAfter(a)?(r+=" ago",n+=" ago",o+=" ago"):(r="in "+r,n="in "+n,o="in "+o),{diff:t,rounded:r,qualified:n,precise:o}},pe={north:[["spring",2,1],["summer",5,1],["fall",8,1],["autumn",8,1],["winter",11,1]],south:[["fall",2,1],["autumn",2,1],["winter",5,1],["spring",8,1],["summer",11,1]]},ge=[null,[0,1],[3,1],[6,1],[9,1]];const be={minute:e=>(D(e,{second:0,millisecond:0}),e),quarterhour:e=>{let a=e.minutes();return e=a>=45?e.minutes(45):a>=30?e.minutes(30):a>=15?e.minutes(15):e.minutes(0),D(e,{second:0,millisecond:0}),e},hour:e=>(D(e,{minute:0,second:0,millisecond:0}),e),day:e=>(D(e,{hour:0,minute:0,second:0,millisecond:0}),e),week:e=>{let a=e.clone();return(e=e.day(e._weekStart)).isAfter(a)&&(e=e.subtract(1,"week")),D(e,{hour:0,minute:0,second:0,millisecond:0}),e},month:e=>(D(e,{date:1,hour:0,minute:0,second:0,millisecond:0}),e),quarter:e=>{let a=e.quarter();return ge[a]&&D(e,{month:ge[a][0],date:ge[a][1],hour:0,minute:0,second:0,millisecond:0}),e},season:e=>{let a=e.season(),t="north";"South"===e.hemisphere()&&(t="south");for(let r=0;r<pe[t].length;r++)if(pe[t][r][0]===a){let n=e.year();return"winter"===a&&e.month()<3&&(n-=1),D(e,{year:n,month:pe[t][r][1],date:pe[t][r][2],hour:0,minute:0,second:0,millisecond:0}),e}return e},year:e=>(D(e,{month:0,date:1,hour:0,minute:0,second:0,millisecond:0}),e),decade:e=>{let a=(e=e.startOf("year")).year(),t=10*parseInt(a/10,10);return e=e.year(t)},century:e=>{let a=(e=e.startOf("year")).year(),t=100*parseInt(a/100,10);return e=e.year(t)}};be.date=be.day;var ke=(e,a)=>{let t=e.clone();return a=s.normalize(a),be[a]?be[a](t):"summer"===a||"winter"===a?(t=t.season(a),be.season(t)):t},we=(e,a)=>{let t=e.clone();return a=s.normalize(a),be[a]?(t=be[a](t),t=t.add(1,a),t=t.subtract(1,"milliseconds"),t):t};var ve=function(e,a="",t){if(!a||!t)return[];if(a=s.normalize(a),t=e.clone().set(t),e.isAfter(t)){let a=e;e=t,t=a}let r=e.clone();!function(e){return!!U().find(a=>a===e)||!!W().find(a=>a===e)}(a)?r=r.next(a):(r=r.next(a),a="week");let n=[];for(;r.isBefore(t);)n.push(r),r=r.add(1,a);return n};const ze=p.informal,_e={"-8":"america/anchorage","-7":"america/los_angeles","-6":"america/denver","-5":"america/chicago","-4":"america/new_york","-3":"america/halifax",0:"etc/gmt",1:"europe/lisbon",2:"europe/berlin",8:"asia/shanghai"},je={"-3":"america/sao_paulo",0:"etc/gmt",1:"africa/lagos",2:"africa/johannesburg",3:"africa/nairobi",10:"australia/brisbane",12:"pacific/auckland"},Oe={"europe/belfast":!0,"europe/dublin":!0,"europe/guernsey":!0,"europe/jersey":!0},De=(e,a)=>e[1]&&!0===a.current.isDST?e[1].toUpperCase():e[0]?e[0].toUpperCase():null;var $e=(e,a)=>{if(ze.hasOwnProperty(e)){let t=De(ze[e],a);if(null!==t)return t}let t=String(a.default_offset),r=((e,a)=>Oe.hasOwnProperty(e)?"1"===a?"BST":"GMT":null)(e,t);if(r)return r;if("North"===a.hemisphere&&_e.hasOwnProperty(t)){let e=_e[t];return De(ze[e],a)||""}if("South"===a.hemisphere&&je.hasOwnProperty(t)){let e=je[t];return De(ze[e],a)||""}return""};var qe=e=>{let a=e.timezones,t=e.tz;if(!1===a.hasOwnProperty(t)&&(t=v(e.tz,a)),null===t)return!1===e.silent&&console.warn("Warn: could not find given or local timezone - '"+e.tz+"'"),{current:{epochShift:0}};let r=a[t],n={name:(s=t,s=(s=(s=s[0].toUpperCase()+s.substr(1)).replace(/\/gmt/,"/GMT")).replace(/[\/_]([a-z])/gi,e=>e.toUpperCase())),hasDst:Boolean(r.dst),default_offset:r.offset,hemisphere:"s"===r.hem?"South":"North",current:{}};var s,o;if(n.hasDst){let e=(o=r.dst)?o.split("->"):[];n.change={start:e[0],back:e[1]}}let i=r.offset,f=i;return!0===n.hasDst&&(f="North"===n.hemisphere?i-1:r.offset+1),!1===n.hasDst?(n.current.offset=i,n.current.isDST=!1):!0===c(e.epoch,n.change.start,n.change.back,i)?(n.current.offset=i,n.current.isDST="North"===n.hemisphere):(n.current.offset=f,n.current.isDST="South"===n.hemisphere),n.display=$e(t,n),n};const Pe={set:function(e,a){let t=this.clone();return t=B(t,e),a&&(this.tz=v(a)),t},timezone:function(){return qe(this)},isDST:function(){return qe(this).current.isDST},hasDST:function(){return qe(this).hasDst},offset:function(){return 60*qe(this).current.offset},hemisphere:function(){return qe(this).hemisphere},format:function(e){return X(this,e)},unixFmt:function(e){return ne(this,e)},startOf:function(e){return ke(this,e)},endOf:function(e){return we(this,e)},leapYear:function(){let e=this.year();return s.isLeapYear(e)},progress:function(e){return ce(this,e)},nearest:function(e){return ie(this,e)},diff:function(e,a){return ue(this,e,a)},since:function(e){return e||(e=this.clone().set()),ye(this,e)},next:function(e){return this.add(1,e).startOf(e)},last:function(e){return this.subtract(1,e).startOf(e)},isValid:function(){return!(!this.epoch&&0!==this.epoch)&&!isNaN(this.d.getTime())},goto:function(e){let a=this.clone();return a.tz=v(e,a.timezones),a},every:function(e,a){return ve(this,e,a)},isAwake:function(){let e=this.hour();return!(e<8||e>22)},isAsleep:function(){return!this.isAwake()},log:function(){return console.log(""),console.log(X(this,"nice-short")),this},logYear:function(){return console.log(""),console.log(X(this,"full-short")),this},debug:function(){let e=this.timezone(),a=this.format("MM")+" "+this.format("date-ordinal")+" "+this.year();return a+="\n - "+this.format("time"),console.log("\n\n",a+"\n - "+e.name+" ("+e.current.offset+")"),this},from:function(e){return(e=this.clone().set(e)).since(this)},fromNow:function(){return this.clone().set(Date.now()).since(this)},weekStart:function(e){if("number"==typeof e)return this._weekStart=e,this;if("string"==typeof e){e=e.toLowerCase().trim();let a=U().indexOf(e);-1===a&&(a=W().indexOf(e)),-1===a&&(a=1),this._weekStart=a}else console.warn("Spacetime Error: Cannot understand .weekStart() input:",e);return this}};Pe.inDST=Pe.isDST,Pe.round=Pe.nearest,Pe.each=Pe.every;var Me=Pe;const Se=e=>("string"==typeof e&&(e=parseInt(e,10)),e),Ce=["year","month","date","hour","minute","second","millisecond"],xe=(e,a,t)=>{let r=Ce.indexOf(t),n=Ce.slice(r,Ce.length);for(let t=0;t<n.length;t++){let r=a[n[t]]();e[n[t]](r)}return e};var Ee=(e,a)=>{a=Se(a);let t=e.millisecond()-a;return e.epoch-t},Te=(e,a)=>{a=Se(a);let t=(e.second()-a)*_.second;return e.epoch-t},Ie=(e,a)=>{a=Se(a);let t=e.clone(),r=(e.minute()-a)*_.minute;return e.epoch-=r,xe(e,t,"second"),e.epoch},Ae=(e,a)=>{(a=Se(a))>=24?a=24:a<0&&(a=0);let t=e.clone(),r=(e.hour()-a)*_.hour;return e.epoch-=r,D(e,{hour:a}),xe(e,t,"minute"),e.epoch},Ye=(e,a)=>{let t=a.match(/([0-9]{1,2}):([0-9]{1,2})(am|pm)?/);if(!t){if(t=a.match(/([0-9]{1,2})(am|pm)/),!t)return e.epoch;t.splice(2,0,"0")}let r=!1,n=parseInt(t[1],10),s=parseInt(t[2],10);return n>12&&(r=!0),!1===r&&("am"===t[3]&&12===n&&(n=0),"pm"===t[3]&&n<12&&(n+=12)),(e=(e=(e=(e=e.hour(n)).minute(s)).second(0)).millisecond(0)).epoch},Ne=(e,a)=>{if((a=Se(a))>28){const t=T[e.month()];a>t&&(a=t)}return a<=0&&(a=1),D(e,{date:a}),e.epoch},Le=(e,a)=>{"string"==typeof a&&(a=S()[a.toLowerCase()]),(a=Se(a))>=12&&(a=11),a<=0&&(a=0);let t=e.date();return t>T[a]&&(t=T[a]),D(e,{month:a,date:t}),e.epoch},Fe=(e,a)=>(a=Se(a),D(e,{year:a}),e.epoch),Ze=(e,a)=>{a=Se(a);let t=e.clone();return(a-=1)<=0?a=0:a>=365&&(a=364),e=(e=e.startOf("year")).add(a,"day"),xe(e,t,"hour"),e.epoch};var He={millisecond:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Ee(a,e),a}return this.d.getMilliseconds()},second:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Te(a,e),a}return this.d.getSeconds()},minute:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Ie(a,e),a}return this.d.getMinutes()},hour:function(e){let a=this.d;if(void 0!==e){let a=this.clone();return a.epoch=Ae(a,e),a}return a.getHours()},hourFloat:function(e){if(void 0!==e){let a=this.clone(),t=e%1;t*=60;let r=parseInt(e,10);return a.epoch=Ae(a,r),a.epoch=Ie(a,t),a}let a=this.d,t=a.getHours(),r=a.getMinutes();return r/=60,t+r},hour12:function(e){let a=this.d;if(void 0!==e){let a=this.clone(),t=(e=""+e).match(/^([0-9]+)(am|pm)$/);if(t){let e=parseInt(t[1],10);"pm"===t[2]&&(e+=12),a.epoch=Ae(a,e)}return a}let t=a.getHours();return t>12&&(t-=12),0===t&&(t=12),t},time:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Ye(a,e),a}return`${this.h12()}:${s.zeroPad(this.minute())}${this.ampm()}`},ampm:function(e){let a="am",t=this.hour();if(t>=12&&(a="pm"),"string"!=typeof e)return a;let r=this.clone();return e=e.toLowerCase().trim(),t>=12&&"am"===e?(t-=12,r.hour(t)):t<12&&"pm"===e?(t+=12,r.hour(t)):r},dayTime:function(e){if(void 0!==e){const a={morning:"7:00am",breakfast:"7:00am",noon:"12:00am",lunch:"12:00pm",afternoon:"2:00pm",evening:"6:00pm",dinner:"6:00pm",night:"11:00pm",midnight:"23:59pm"};let t=this.clone();return e=(e=e||"").toLowerCase(),!0===a.hasOwnProperty(e)&&(t=t.time(a[e])),t}let a=this.hour();return a<6?"night":a<12?"morning":a<17?"afternoon":a<22?"evening":"night"},iso:function(e){return void 0!==e?this.set(e):this.format("iso")}};const Be=e=>e=(e=(e=e.minute(0)).second(0)).millisecond(1);var Ge={date:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Ne(a,e),a}return this.d.getDate()},day:function(e){if(void 0===e)return this.d.getDay();let a=this.clone(),t=e;"string"==typeof e&&(e=e.toLowerCase(),t=U().indexOf(e),-1===t&&(t=W().indexOf(e)));let r=this.d.getDay()-t,n=this.subtract(24*r,"hours");return D(n,{hour:a.hour(),minute:a.minute(),second:a.second()}),n},dayName:function(e){if(void 0===e)return W()[this.day()];let a=this.clone();return a=a.day(e),a},week:function(e){if(void 0!==e){let a=this.clone();return a=a.month(0),a=a.date(1),a=a.day("monday"),a=Be(a),"december"===a.monthName()&&(a=a.add(1,"week")),e-=1,a=a.add(e,"weeks"),a}let a=this.clone();a=a.month(0),a=a.date(1),a=Be(a),a=a.day("monday"),"december"===a.monthName()&&(a=a.add(1,"week"));const t=this.epoch;if(a.epoch>t)return 1;for(let e=0;e<52;e++){if(a.epoch>t)return e;a=a.add(1,"week")}return 52},month:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Le(a,e),a}return this.d.getMonth()}};var Qe={dayOfYear:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Ze(a,e),a}let a,t=0,r=this.d.getMonth();for(let e=1;e<=r;e++)a=new Date,a.setDate(1),a.setYear(this.d.getFullYear()),a.setHours(1),a.setMinutes(1),a.setMonth(e),a.setHours(-2),t+=a.getDate();return t+this.d.getDate()},monthName:function(e){if(void 0===e)return M()[this.month()];let a=this.clone();return a=a.month(e),a},quarter:function(e){if(void 0!==e&&("string"==typeof e&&(e=e.replace(/^q/i,""),e=parseInt(e,10)),ge[e])){let a=this.clone(),t=ge[e][0];return a=a.month(t),a=a.date(1),a=a.startOf("day"),a}let a=this.d.getMonth();for(let e=1;e<ge.length;e++)if(a<ge[e][0])return e-1;return 4},season:function(e){let a="north";if("South"===this.hemisphere()&&(a="south"),void 0!==e){let t=this.clone();for(let r=0;r<pe[a].length;r++)e===pe[a][r][0]&&(t=t.month(pe[a][r][1]),t=t.date(1),t=t.startOf("day"));return t}let t=this.d.getMonth();for(let e=0;e<pe[a].length-1;e++)if(t>=pe[a][e][1]&&t<pe[a][e+1][1])return pe[a][e][0];return"winter"},year:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Fe(a,e),a}return this.d.getFullYear()},era:function(e){if(void 0!==e){let a=this.clone();e=e.toLowerCase();let t=a.d.getFullYear();return"bc"===e&&t>0&&(a.epoch=Fe(a,-1*t)),"ad"===e&&t<0&&(a.epoch=Fe(a,-1*t)),a}return this.d.getFullYear()<0?"BC":"AD"}};const Ue=Object.assign({},He,Ge,Qe);Ue.milliseconds=Ue.millisecond,Ue.seconds=Ue.second,Ue.minutes=Ue.minute,Ue.hours=Ue.hour,Ue.hour24=Ue.hour,Ue.h12=Ue.hour12,Ue.h24=Ue.hour24,Ue.days=Ue.day;var We=e=>{Object.keys(Ue).forEach(a=>{e.prototype[a]=Ue[a]})};const Ve=["millisecond","second","minute","hour","date","month"];let Je={second:Ve.slice(0,1),minute:Ve.slice(0,2),quarterhour:Ve.slice(0,2),hour:Ve.slice(0,3),date:Ve.slice(0,4),month:Ve.slice(0,4),quarter:Ve.slice(0,4),season:Ve.slice(0,4),year:Ve,decade:Ve,century:Ve};Je.week=Je.hour,Je.season=Je.date,Je.quarter=Je.date;const Ke={year:!0,quarter:!0,season:!0,month:!0,week:!0,day:!0},Re={month:!0,quarter:!0,season:!0,year:!0};var Xe=e=>{e.prototype.add=function(e,a){let t=this.clone();if(!a||0===e)return t;let r=this.clone();a=s.normalize(a),_[a]?t.epoch+=_[a]*e:"week"===a?t.epoch+=_.day*(7*e):"quarter"===a||"season"===a||"season"===a?t.epoch+=_.month*(4*e):"quarterhour"===a&&(t.epoch+=15*_.minute*e);let n={};if(Je[a]&&Je[a].forEach(e=>{n[e]=r[e]()}),Ke[a]){const e=r.timezone().current.offset-t.timezone().current.offset;t.epoch+=3600*e*1e3}if("month"===a&&(n.month=r.month()+e,n=((e,a)=>{if(e.month>0){let t=parseInt(e.month/12,10);e.year=a.year()+t,e.month=e.month%12}else if(e.month<0){let t=Math.floor(Math.abs(e.month)/13,10);t=Math.abs(t)+1,e.year=a.year()-t,e.month=e.month%12,e.month=e.month+12,12===e.month&&(e.month=0)}return e})(n,r)),"week"===a){let a=r.date()+7*e;a<=28&&a>1&&(n.date=a)}else if("date"===a){let a=r.date()+e;a<=28&&a>1?n.date=a:0!==e&&r.isSame(t,"day")&&(n.date=r.date()+e)}else"year"===a&&t.year()===r.year()?t.epoch+=_.week:"decade"===a?n.year=t.year()+10:"century"===a&&(n.year=t.year()+100);if(Re[a]){let e=T[n.month];n.date=r.date(),n.date>e&&(n.date=e)}return D(t,n),t},e.prototype.subtract=function(e,a){return this.clone().add(-1*e,a)},e.prototype.minus=e.prototype.subtract,e.prototype.plus=e.prototype.add};const ea={millisecond:e=>e.epoch,second:e=>[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second()].join("-"),minute:e=>[e.year(),e.month(),e.date(),e.hour(),e.minute()].join("-"),hour:e=>[e.year(),e.month(),e.date(),e.hour()].join("-"),day:e=>[e.year(),e.month(),e.date()].join("-"),week:e=>[e.year(),e.week()].join("-"),month:e=>[e.year(),e.month()].join("-"),quarter:e=>[e.year(),e.quarter()].join("-"),year:e=>e.year()};ea.date=ea.day;var aa=e=>{e.prototype.isSame=function(a,t){let r=this;return t?("string"!=typeof a&&"number"!=typeof a||(a=new e(a,this.timezone.name)),t=t.replace(/s$/,""),ea[t]?ea[t](r)===ea[t](a):null):null}};var ta=e=>{const a={isAfter:function(e){e=s.beADate(e,this);let a=s.getEpoch(e);return null===a?null:this.epoch>a},isBefore:function(e){e=s.beADate(e,this);let a=s.getEpoch(e);return null===a?null:this.epoch<a},isEqual:function(e){e=s.beADate(e,this);let a=s.getEpoch(e);return null===a?null:this.epoch===a},isBetween:function(e,a){e=s.beADate(e,this),a=s.beADate(a,this);let t=s.getEpoch(e);if(null===t)return null;let r=s.getEpoch(a);return null===r?null:t<this.epoch&&this.epoch<r}};Object.keys(a).forEach(t=>{e.prototype[t]=a[t]})};var ra=e=>{const a={i18n:e=>{s.isObject(e.days)&&V(e.days),s.isObject(e.months)&&C(e.months)}};Object.keys(a).forEach(t=>{e.prototype[t]=a[t]})};let na=l;const sa=function(e,a,t={}){if(this.epoch=null,this.tz=v(a,na),this.silent=t.silent||!0,this._weekStart=1,void 0!==t.weekStart&&(this._weekStart=t.weekStart),Object.defineProperty(this,"d",{get:function(){let e=f(this),a=(new Date(this.epoch).getTimezoneOffset()||0)+60*e;a=60*a*1e3;let t=this.epoch+a;return new Date(t)}}),Object.defineProperty(this,"timezones",{get:()=>na,set:e=>(na=e,e)}),void 0!==e||null===e){let t=B(this,e,a);this.epoch=t.epoch}};Object.keys(Me).forEach(e=>{sa.prototype[e]=Me[e]}),sa.prototype.clone=function(){return new sa(this.epoch,this.tz,{silent:this.silent,weekStart:this._weekStart})},We(sa),Xe(sa),aa(sa),ta(sa),ra(sa);var oa=sa;var ca=(e,a)=>{let t=new oa(null),r=new oa(null);t=t.time(e),r=a?r.time(a):t.add(59,"minutes");let n=t.hour(),s=r.hour();return Object.keys(t.timezones).filter(e=>{if(-1===e.indexOf("/"))return!1;let a=new oa(null,e),o=a.hour();return o>=n&&o<=s&&(!(o===n&&a.minute()<t.minute())&&!(o===s&&a.minute()>r.minute()))})};const ia=(e,a,t)=>new oa(e,a,t);ia.now=(e,a)=>new oa((new Date).getTime(),e,a),ia.today=(e,a)=>new oa((new Date).getTime(),e,a).startOf("day"),ia.tomorrow=(e,a)=>new oa((new Date).getTime(),e,a).add(1,"day").startOf("day"),ia.yesterday=(e,a)=>new oa((new Date).getTime(),e,a).subtract(1,"day").startOf("day"),ia.extend=function(e){return Object.keys(e).forEach(a=>{oa.prototype[a]=e[a]}),this},ia.whereIts=ca,ia.version="5.10.0",ia.plugin=ia.extend;var fa=ia;const ma=t(),ha=r();function ua(e){for(let a in ma)if(ma.hasOwnProperty(a))for(let t in ma[a])if(ma[a].hasOwnProperty(t)&&(t===e||-1!==ma[a][t].indexOf(e)))return{day:a,country:ma[a][t]};for(let a in ha)if(ha.hasOwnProperty(a)&&-1!==ha[a].indexOf(e))return{day:"monday",location:e};return{}}function la(e=""){let a;if(e&&"string"==typeof e||(e=null,a=fa.now().tz),!e)return function(e){if(!e)return{message:"there are problems determine time zone"};for(let a in n)if(a===e)if(n[a].ctry||n[a].loc){if(n[a].loc)return ua(n[a].loc);if(n[a].ctry)return ua(n[a].ctry)}else{let e=ua(a.substr(0,a.indexOf("/")));if(e)return e;if(e=ua(a.substr(a.indexOf("/")+1).replace("_"," ")),e)return e}return null}(a);if(e){let a=ua(e.toLowerCase().trim());return a||la()}return null}return{weekStart:function(e){return la(e=e||this.timezone().name)}}}));
|
|
1
|
+
!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):(e="undefined"!=typeof globalThis?globalThis:e||self).weekStart=a()}(this,(function(){"use strict";let e={c009:"antarctica",c011:"arctic",c081:"gmt",c231:"universal",c233:"utc",c245:"zulu"},a={monday:{c002:"aland islands",c003:"albania",c006:"andorra",c007:"angola",c008:"anguilla",c013:"armenia",c014:"aruba",c016:"austria",c017:"azerbaijan",c020:"barbados",c021:"belarus",c022:"belgium",c024:"benin",c025:"bermuda",c028:"bonaire",c029:"bosnia and herzegovina",c032:"british indian ocean territory",c033:"brunei",c034:"bulgaria",c035:"burkina faso",c036:"burundi",c038:"cameroon",c040:"cape verde",c041:"cayman islands",c042:"central african republic",c043:"chad",c046:"christmas island",c047:"cocos (keeling) islands",c049:"comoros",c050:"cook islands",c052:"croatia",c053:"cuba",c054:"curacao",c055:"cyprus",c056:"czech republic",c057:"democratic republic of the congo",c058:"denmark",c064:"equatorial guinea",c065:"eritrea",c066:"estonia",c068:"falkland islands",c069:"faroe islands",c070:"fiji",c071:"finland",c072:"france",c073:"french guiana",c074:"french polynesia",c075:"french southern and antarctic lands",c076:"gabon",c077:"georgia",c078:"germany",c079:"ghana",c080:"gibraltar",c082:"greece",c083:"greenland",c084:"grenada",c085:"guadeloupe",c088:"guinea",c089:"guinea-bissau",c090:"guyana",c091:"haiti",c094:"hungary",c095:"iceland",c097:"indonesia",c100:"ireland",c102:"italy",c103:"ivory coast",c107:"kazakhstan",c109:"kiribati",c111:"kyrgyzstan",c113:"latvia",c114:"lebanon",c115:"lesotho",c116:"liberia",c118:"liechtenstein",c119:"lithuania",c120:"luxembourg",c123:"madagascar",c124:"malawi",c127:"mali",c130:"martinique",c131:"mauritania",c132:"mauritius",c133:"mayotte",c135:"micronesia",c137:"moldova",c138:"monaco",c139:"mongolia",c140:"montenegro",c141:"montserrat",c142:"morocco",c145:"namibia",c146:"nauru",c148:"netherlands",c149:"new caledonia",c150:"new zealand",c152:"niger",c153:"nigeria",c154:"niue",c155:"norfolk island",c157:"northern ireland",c158:"northern macedonia",c160:"norway",c162:"pakistan",c166:"papua new guinea",c170:"pitcairn islands",c171:"poland",c175:"republic of the congo",c176:"reunion",c177:"romania",c178:"russia",c179:"rwanda",c180:"saint helena, ascension and tristan da cunha",c181:"saint kitts and nevis",c182:"saint lucia",c183:"saint pierre and miquelon",c184:"saint vincent and the grenadines",c186:"san marino",c187:"sao tome and principe",c189:"senegal",c190:"serbia",c191:"seychelles",c192:"sierra leone",c194:"sint maarten",c195:"slovakia",c196:"slovenia",c197:"solomon islands",c200:"south georgia and the south sandwich islands",c203:"spain",c204:"sri lanka",c206:"suriname",c207:"swaziland",c208:"sweden",c209:"switzerland",c212:"tajikistan",c213:"tanzania",c216:"the gambia",c217:"togo",c218:"tokelau",c219:"tonga",c221:"tunisia",c222:"turkey",c223:"turkmenistan",c224:"turks and caicos islands",c225:"tuvalu",c226:"uganda",c227:"ukraine",c229:"united kingdom",c234:"uzbekistan",c235:"vanuatu",c236:"vatican city",c238:"vietnam",c241:"wallis and futuna",c243:"zambia"},saturday:{c019:"bangladesh",c059:"djibouti",c098:"iran",c164:"palestine",c198:"somalia"},sunday:{c001:"afghanistan",c004:"algeria",c005:"american samoa",c010:"antigua and barbuda",c012:"argentina",c015:"australia",c018:"bahrain",c023:"belize",c026:"bhutan",c030:"botswana",c031:"brazil",c037:"cambodia",c039:"canada",c044:"chile",c045:"china",c048:"colombia",c051:"costa rica",c060:"dominica",c061:"ecuador",c062:"egypt",c063:"el salvador",c067:"ethiopia",c086:"guam",c092:"honduras",c093:"hong kong",c096:"india",c099:"iraq",c101:"israel",c104:"jamaica",c105:"japan",c106:"jordan",c108:"kenya",c110:"kuwait",c112:"laos",c121:"macao",c122:"macau",c125:"malaysia",c126:"maldives",c128:"malta",c129:"marshall islands",c134:"mexico",c136:"midway atoll",c143:"mozambique",c144:"myanmar",c147:"nepal",c151:"nicaragua",c156:"north korea",c159:"northern mariana islands",c161:"oman",c163:"palau",c165:"panama",c167:"paraguay",c168:"peru",c169:"philippines",c172:"portugal",c173:"puerto rico",c174:"qatar",c185:"samoa",c188:"saudi arabia",c193:"singapore",c199:"south africa",c201:"south korea",c202:"south sudan",c205:"sudan",c210:"syria",c211:"taiwan",c214:"thailand",c215:"the bahamas",c220:"trinidad and tobago",c228:"united arab emirates",c230:"united states of america",c232:"uruguay",c237:"venezuela",c239:"virgin islands",c240:"wake island",c242:"yemen",c244:"zimbabwe"}};var t=()=>a,r=()=>e,n={"africa/abidjan":{offset:0,hem:"n",ctry:"c103"},"africa/accra":{offset:0,hem:"n",ctry:"c079"},"africa/addis_ababa":{offset:3,hem:"n",ctry:"c067"},"africa/algiers":{offset:1,hem:"n",ctry:"c004"},"africa/asmara":{offset:3,hem:"n",ctry:"c065"},"africa/asmera":{offset:3,hem:"n",ctry:"c065"},"africa/bamako":{offset:0,hem:"n",ctry:"c127"},"africa/bangui":{offset:1,hem:"n",ctry:"c042"},"africa/banjul":{offset:0,hem:"n",ctry:"c216"},"africa/bissau":{offset:0,hem:"n",ctry:"c089"},"africa/blantyre":{offset:2,hem:"n",ctry:"c124"},"africa/brazzaville":{offset:1,hem:"n",ctry:"c175"},"africa/bujumbura":{offset:2,hem:"n",ctry:"c036"},"africa/cairo":{offset:2,hem:"n",ctry:"c062"},"africa/casablanca":{offset:1,hem:"n",dst:"05/05:03->06/09:02",ctry:"c142"},"africa/ceuta":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c203"},"africa/conakry":{offset:0,hem:"n",ctry:"c088"},"africa/dakar":{offset:0,hem:"n",ctry:"c189"},"africa/dar_es_salaam":{offset:3,hem:"n",ctry:"c213"},"africa/djibouti":{offset:3,hem:"n"},"africa/douala":{offset:1,hem:"n",ctry:"c038"},"africa/el_aaiun":{offset:1,hem:"n",dst:"05/05:03->06/09:02",ctry:"c142"},"africa/freetown":{offset:0,hem:"n",ctry:"c192"},"africa/gaborone":{offset:2,hem:"s",ctry:"c030"},"africa/harare":{offset:2,hem:"s",ctry:"c244"},"africa/johannesburg":{offset:2,hem:"s",ctry:"c199"},"africa/juba":{offset:3,hem:"n",ctry:"c202"},"africa/kampala":{offset:3,hem:"n",ctry:"c226"},"africa/khartoum":{offset:2,hem:"n",ctry:"c205"},"africa/kigali":{offset:2,hem:"n",ctry:"c179"},"africa/kinshasa":{offset:1,hem:"s",ctry:"c057"},"africa/lagos":{offset:1,hem:"n",ctry:"c153"},"africa/libreville":{offset:1,hem:"n",ctry:"c076"},"africa/lome":{offset:0,hem:"n",ctry:"c217"},"africa/luanda":{offset:1,hem:"s",ctry:"c007"},"africa/lubumbashi":{offset:2,hem:"s",ctry:"c057"},"africa/lusaka":{offset:2,hem:"s",ctry:"c243"},"africa/malabo":{offset:1,hem:"n",ctry:"c064"},"africa/maputo":{offset:2,hem:"s",ctry:"c143"},"africa/maseru":{offset:2,hem:"s",ctry:"c115"},"africa/mbabane":{offset:2,hem:"s",ctry:"c207"},"africa/mogadishu":{offset:3,hem:"n",ctry:"c198"},"africa/monrovia":{offset:0,hem:"n",ctry:"c116"},"africa/nairobi":{offset:3,hem:"n",ctry:"c108"},"africa/ndjamena":{offset:1,hem:"n",ctry:"c043"},"africa/niamey":{offset:1,hem:"n",ctry:"c152"},"africa/nouakchott":{offset:0,hem:"n",ctry:"c131"},"africa/ouagadougou":{offset:0,hem:"n",ctry:"c035"},"africa/porto-novo":{offset:1,hem:"n",ctry:"c024"},"africa/sao_tome":{offset:0,hem:"n",ctry:"c187"},"africa/timbuktu":{offset:0,hem:"n",ctry:"c127"},"africa/tripoli":{offset:2,hem:"n",ctry:"c117"},"africa/tunis":{offset:1,hem:"n",ctry:"c221"},"africa/windhoek":{offset:1,hem:"s",dst:"04/02:01->09/03:03",ctry:"c145"},"america/adak":{offset:-9,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/anchorage":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/anguilla":{offset:-4,hem:"n"},"america/antigua":{offset:-4,hem:"n",ctry:"c010"},"america/araguaina":{offset:-3,hem:"n",ctry:"c031"},"america/argentina":{offset:-3,hem:"s"},"america/aruba":{offset:-4,hem:"n"},"america/asuncion":{offset:-4,hem:"s",dst:"03/23:24->10/06:00",ctry:"c167"},"america/atikokan":{offset:-5,hem:"n",ctry:"c039"},"america/atka":{offset:-9,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/bahia":{offset:-3,hem:"n",ctry:"c031"},"america/bahia_banderas":{offset:-5,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/barbados":{offset:-4,hem:"n"},"america/belem":{offset:-3,hem:"n",ctry:"c031"},"america/belize":{offset:-6,hem:"n"},"america/blanc-sablon":{offset:-4,hem:"n",ctry:"c039"},"america/boa_vista":{offset:-4,hem:"n",ctry:"c031"},"america/bogota":{offset:-5,hem:"n",ctry:"c048"},"america/boise":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/buenos_aires":{offset:-3,hem:"s",ctry:"c012"},"america/cambridge_bay":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/campo_grande":{offset:-4,hem:"s",dst:"02/16:24->11/03:00",ctry:"c031"},"america/cancun":{offset:-5,hem:"n",ctry:"c134"},"america/caracas":{offset:-4,hem:"n",ctry:"c237"},"america/catamarca":{offset:-3,hem:"n",ctry:"c012"},"america/cayenne":{offset:-3,hem:"n",ctry:"c073"},"america/cayman":{offset:-5,hem:"n",ctry:"c041"},"america/chicago":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/chihuahua":{offset:-6,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/coral_harbour":{offset:-5,hem:"n",ctry:"c215"},"america/cordoba":{offset:-3,hem:"s",ctry:"c012"},"america/costa_rica":{offset:-6,hem:"n"},"america/creston":{offset:-7,hem:"n",ctry:"c230"},"america/cuiaba":{offset:-4,hem:"s",dst:"02/16:24->11/03:00",ctry:"c031"},"america/curacao":{offset:-4,hem:"n"},"america/danmarkshavn":{offset:0,hem:"n",ctry:"c083"},"america/dawson":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/dawson_creek":{offset:-7,hem:"n",ctry:"c039"},"america/denver":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/detroit":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/dominica":{offset:-4,hem:"n"},"america/edmonton":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/eirunepe":{offset:-5,hem:"n",ctry:"c031"},"america/el_salvador":{offset:-6,hem:"n"},"america/ensenada":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/fort_wayne":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/fortaleza":{offset:-3,hem:"s",ctry:"c031"},"america/glace_bay":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/godthab":{offset:-2,hem:"n",dst:"03/30:22->10/26:23",ctry:"c083"},"america/goose_bay":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/grand_turk":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c224"},"america/grenada":{offset:-4,hem:"n"},"america/guadeloupe":{offset:-4,hem:"n"},"america/guatemala":{offset:-6,hem:"n"},"america/guayaquil":{offset:-5,hem:"n",ctry:"c061"},"america/guyana":{offset:-4,hem:"n"},"america/halifax":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/havana":{offset:-4,hem:"n",dst:"03/10:00->11/03:01",ctry:"c053"},"america/hermosillo":{offset:-7,hem:"n",ctry:"c134"},"america/indiana":{offset:-4,hem:"n",dst:"03/12:03->11/05:01",ctry:"c230"},"america/indianapolis":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/inuvik":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/iqaluit":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/jamaica":{offset:-5,hem:"n"},"america/jujuy":{offset:-3,hem:"n",ctry:"c012"},"america/juneau":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/kentucky":{offset:-4,hem:"n",dst:"03/12:03->11/05:01",ctry:"c230"},"america/knox_in":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/kralendijk":{offset:-4,hem:"n",ctry:"c028"},"america/la_paz":{offset:-4,hem:"s",ctry:"c027"},"america/lima":{offset:-5,hem:"s",ctry:"c168"},"america/los_angeles":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/louisville":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/lower_princes":{offset:-4,hem:"n",ctry:"c194"},"america/maceio":{offset:-3,hem:"n",ctry:"c031"},"america/managua":{offset:-6,hem:"n",ctry:"c151"},"america/manaus":{offset:-4,hem:"s",ctry:"c031"},"america/marigot":{offset:-4,hem:"n",ctry:"c194"},"america/martinique":{offset:-4,hem:"n"},"america/matamoros":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/mazatlan":{offset:-6,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/mendoza":{offset:-3,hem:"n",ctry:"c012"},"america/menominee":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/merida":{offset:-5,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/metlakatla":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/mexico_city":{offset:-5,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/miquelon":{offset:-2,hem:"n",dst:"03/10:02->11/03:02",ctry:"c183"},"america/moncton":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/monterrey":{offset:-5,hem:"n",dst:"04/07:02->10/27:02",ctry:"c134"},"america/montevideo":{offset:-3,hem:"s",ctry:"c232"},"america/montreal":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/montserrat":{offset:-4,hem:"n"},"america/nassau":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c215"},"america/new_york":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/nipigon":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/nome":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/noronha":{offset:-2,hem:"n",ctry:"c031"},"america/north_dakota":{offset:-5,hem:"n",dst:"03/12:03->11/05:01",ctry:"c230"},"america/ojinaga":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/panama":{offset:-5,hem:"n"},"america/pangnirtung":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/paramaribo":{offset:-3,hem:"n",ctry:"c206"},"america/phoenix":{offset:-7,hem:"n",ctry:"c230"},"america/port-au-prince":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c091"},"america/port_of_spain":{offset:-4,hem:"n",ctry:"c220"},"america/porto_acre":{offset:-5,hem:"n",ctry:"c031"},"america/porto_velho":{offset:-4,hem:"n",ctry:"c031"},"america/puerto_rico":{offset:-4,hem:"n"},"america/punta_arenas":{offset:-3,hem:"s",ctry:"c051"},"america/rainy_river":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/rankin_inlet":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/recife":{offset:-3,hem:"n",ctry:"c031"},"america/regina":{offset:-6,hem:"n",ctry:"c039"},"america/resolute":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/rio_branco":{offset:-5,hem:"s",ctry:"c031"},"america/rosario":{offset:-3,hem:"n",ctry:"c012"},"america/santa_isabel":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/santarem":{offset:-3,hem:"n",ctry:"c031"},"america/santiago":{offset:-4,hem:"s",dst:"04/06:24->09/08:00",ctry:"c134"},"america/santo_domingo":{offset:-4,hem:"n",ctry:"c134"},"america/sao_paulo":{offset:-3,hem:"s",dst:"02/16:24->11/03:00",ctry:"c031"},"america/scoresbysund":{offset:0,hem:"n",dst:"03/31:00->10/27:01",ctry:"c083"},"america/shiprock":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/sitka":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/st_barthelemy":{offset:-4,hem:"n",ctry:"c039"},"america/st_johns":{offset:-2.5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/st_kitts":{offset:-4,hem:"n",ctry:"c181"},"america/st_lucia":{offset:-4,hem:"n",ctry:"c182"},"america/st_thomas":{offset:-4,hem:"n",ctry:"c239"},"america/st_vincent":{offset:-4,hem:"n",ctry:"c184"},"america/swift_current":{offset:-6,hem:"n",ctry:"c039"},"america/tegucigalpa":{offset:-6,hem:"n",ctry:"c092"},"america/thule":{offset:-3,hem:"n",dst:"03/10:02->11/03:02",ctry:"c083"},"america/thunder_bay":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/tijuana":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c134"},"america/toronto":{offset:-4,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/tortola":{offset:-4,hem:"n",ctry:"c239"},"america/vancouver":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/virgin":{offset:-4,hem:"n",ctry:"c239"},"america/whitehorse":{offset:-7,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/winnipeg":{offset:-5,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"america/yakutat":{offset:-8,hem:"n",dst:"03/10:02->11/03:02",ctry:"c230"},"america/yellowknife":{offset:-6,hem:"n",dst:"03/10:02->11/03:02",ctry:"c039"},"antarctica/casey":{offset:8,hem:"s"},"antarctica/davis":{offset:7,hem:"s"},"antarctica/dumontdurville":{offset:10,hem:"s"},"antarctica/macquarie":{offset:11,hem:"s"},"antarctica/mawson":{offset:5,hem:"s"},"antarctica/mcmurdo":{offset:12,hem:"s",dst:"04/07:03->09/29:02"},"antarctica/palmer":{offset:-4,hem:"s",dst:"05/13:23->08/13:01"},"antarctica/rothera":{offset:-3,hem:"s"},"antarctica/south_pole":{offset:12,hem:"s",dst:"04/07:03->09/29:02"},"antarctica/syowa":{offset:3,hem:"s"},"antarctica/troll":{offset:2,hem:"s",dst:"03/31:02->10/27:02"},"antarctica/vostok":{offset:6,hem:"s"},"arctic/longyearbyen":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"asia/aden":{offset:3,hem:"n",ctry:"c242"},"asia/almaty":{offset:6,hem:"n",ctry:"c107"},"asia/amman":{offset:3,hem:"n",dst:"03/29:00->10/25:01",ctry:"c106"},"asia/anadyr":{offset:12,hem:"n",ctry:"c178"},"asia/aqtau":{offset:5,hem:"n",ctry:"c107"},"asia/aqtobe":{offset:5,hem:"n",ctry:"c107"},"asia/ashgabat":{offset:5,hem:"n",ctry:"c223"},"asia/ashkhabad":{offset:5,hem:"n",ctry:"c223"},"asia/atyrau":{offset:5,hem:"n",ctry:"c107"},"asia/baghdad":{offset:3,hem:"n",ctry:"c099"},"asia/bahrain":{offset:3,hem:"n"},"asia/baku":{offset:5,hem:"n",ctry:"c017"},"asia/bangkok":{offset:7,hem:"n",ctry:"c214"},"asia/barnaul":{offset:7,hem:"n",ctry:"c178"},"asia/beirut":{offset:3,hem:"n",dst:"03/31:00->10/26:24",ctry:"c114"},"asia/bishkek":{offset:6,hem:"n",ctry:"c111"},"asia/brunei":{offset:8,hem:"n"},"asia/calcutta":{offset:5.5,hem:"n",ctry:"c096"},"asia/chita":{offset:9,hem:"n",ctry:"c048"},"asia/choibalsan":{offset:8,hem:"n",ctry:"c139"},"asia/chongqing":{offset:8,hem:"n",ctry:"c045"},"asia/chungking":{offset:8,hem:"n",ctry:"c045"},"asia/colombo":{offset:5.5,hem:"n",ctry:"c204"},"asia/dacca":{offset:6,hem:"n",ctry:"c019"},"asia/damascus":{offset:3,hem:"n",dst:"03/29:00->10/24:24",ctry:"c210"},"asia/dhaka":{offset:6,hem:"n",ctry:"c019"},"asia/dili":{offset:9,hem:"s",ctry:"c096"},"asia/dubai":{offset:4,hem:"n",ctry:"c228"},"asia/dushanbe":{offset:5,hem:"n",ctry:"c212"},"asia/gaza":{offset:3,hem:"n",dst:"03/23:01->10/26:01",ctry:"c164"},"asia/harbin":{offset:8,hem:"n",ctry:"c045"},"asia/hebron":{offset:3,hem:"n",dst:"03/23:01->10/26:01",ctry:"c164"},"asia/ho_chi_minh":{offset:7,hem:"n",ctry:"c238"},"asia/hong_kong":{offset:8,hem:"n"},"asia/hovd":{offset:7,hem:"n",ctry:"c139"},"asia/irkutsk":{offset:8,hem:"n",ctry:"c178"},"asia/istanbul":{offset:3,hem:"n",ctry:"c222"},"asia/jakarta":{offset:7,hem:"s",ctry:"c097"},"asia/jayapura":{offset:9,hem:"s",ctry:"c097"},"asia/jerusalem":{offset:3,hem:"n",dst:"03/29:02->10/27:02",ctry:"c101"},"asia/kabul":{offset:4.5,hem:"n",ctry:"c001"},"asia/kamchatka":{offset:12,hem:"n",ctry:"c178"},"asia/karachi":{offset:5,hem:"n",ctry:"c162"},"asia/kashgar":{offset:6,hem:"n",ctry:"c045"},"asia/kathmandu":{offset:5.75,hem:"n",ctry:"c147"},"asia/katmandu":{offset:5.75,hem:"n",ctry:"c147"},"asia/khandyga":{offset:9,hem:"n",ctry:"c178"},"asia/kolkata":{offset:5.5,hem:"n",ctry:"c096"},"asia/krasnoyarsk":{offset:7,hem:"n",ctry:"c178"},"asia/kuala_lumpur":{offset:8,hem:"s",ctry:"c125"},"asia/kuching":{offset:8,hem:"n",ctry:"c125"},"asia/kuwait":{offset:3,hem:"n"},"asia/macao":{offset:8,hem:"n"},"asia/macau":{offset:8,hem:"n"},"asia/magadan":{offset:11,hem:"n",ctry:"c178"},"asia/makassar":{offset:8,hem:"s",ctry:"c097"},"asia/manila":{offset:8,hem:"n",ctry:"c169"},"asia/muscat":{offset:4,hem:"n",ctry:"c161"},"asia/nicosia":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c055"},"asia/novokuznetsk":{offset:7,hem:"n",ctry:"c178"},"asia/novosibirsk":{offset:7,hem:"n",ctry:"c178"},"asia/omsk":{offset:6,hem:"n",ctry:"c178"},"asia/oral":{offset:5,hem:"n",ctry:"c107"},"asia/phnom_penh":{offset:7,hem:"n",ctry:"c037"},"asia/pontianak":{offset:7,hem:"n",ctry:"c097"},"asia/pyongyang":{offset:9,hem:"n",ctry:"c156"},"asia/qatar":{offset:3,hem:"n"},"asia/qyzylorda":{offset:6,hem:"n",ctry:"c107"},"asia/rangoon":{offset:6.5,hem:"n",ctry:"c144"},"asia/riyadh":{offset:3,hem:"n",ctry:"c188"},"asia/saigon":{offset:7,hem:"n",ctry:"c238"},"asia/sakhalin":{offset:11,hem:"n",ctry:""},"asia/samarkand":{offset:5,hem:"n",ctry:"c178"},"asia/seoul":{offset:9,hem:"n",ctry:"c201"},"asia/shanghai":{offset:8,hem:"n",ctry:"c045"},"asia/singapore":{offset:8,hem:"s"},"asia/srednekolymsk":{offset:12,hem:"n",ctry:"c178"},"asia/taipei":{offset:8,hem:"n",ctry:"c211"},"asia/tashkent":{offset:5,hem:"n",ctry:"c234"},"asia/tbilisi":{offset:4,hem:"n",ctry:"c077"},"asia/tehran":{offset:4.5,hem:"n",dst:"03/22:00->09/21:24",ctry:"c098"},"asia/tel_aviv":{offset:3,hem:"n",dst:"03/29:02->10/27:02",ctry:"c101"},"asia/thimbu":{offset:6,hem:"n",ctry:"c026"},"asia/thimphu":{offset:6,hem:"n",ctry:"c026"},"asia/tokyo":{offset:9,hem:"n",ctry:"c105"},"asia/tomsk":{offset:7,hem:"n",ctry:"c178"},"asia/ujung_pandang":{offset:8,hem:"n",ctry:"c097"},"asia/ulaanbaatar":{offset:8,hem:"n",ctry:"c139"},"asia/ulan_bator":{offset:8,hem:"n",dst:"03/25:03->09/29:23",ctry:"c139"},"asia/urumqi":{offset:6,hem:"n",ctry:"c045"},"asia/ust-nera":{offset:10,hem:"n",ctry:"c178"},"asia/vientiane":{offset:7,hem:"n",ctry:"c112"},"asia/vladivostok":{offset:10,hem:"n",ctry:"c178"},"asia/yakutsk":{offset:10,hem:"n",ctry:"c178"},"asia/yekaterinburg":{offset:5,hem:"n",ctry:"c178"},"asia/yerevan":{offset:4,hem:"n",ctry:"c013"},"atlantic/azores":{offset:0,hem:"n",dst:"03/31:00->10/27:01",ctry:"c172"},"atlantic/bermuda":{offset:-3,hem:"n",dst:"03/10:02->11/03:02"},"atlantic/canary":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c203"},"atlantic/cape_verde":{offset:-1,hem:"n"},"atlantic/faeroe":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c069"},"atlantic/faroe":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c069"},"atlantic/jan_mayen":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c160"},"atlantic/madeira":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c172"},"atlantic/reykjavik":{offset:0,hem:"n",ctry:"c095"},"atlantic/south_georgia":{offset:-2,hem:"n",ctry:"c200"},"atlantic/st_helena":{offset:0,hem:"n",ctry:"c180"},"atlantic/stanley":{offset:-3,hem:"s",ctry:"c068"},"australia/act":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/adelaide":{offset:9.5,hem:"s",dst:"04/07:03->10/06:02"},"australia/brisbane":{offset:10,hem:"s"},"australia/broken_hill":{offset:9.5,hem:"s",dst:"04/07:03->10/06:02"},"australia/canberra":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/currie":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/darwin":{offset:9.5,hem:"s"},"australia/eucla":{offset:8.75,hem:"s"},"australia/hobart":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/lhi":{offset:10.5,hem:"s",dst:"04/07:01->10/06:02"},"australia/lindeman":{offset:10,hem:"s"},"australia/lord_howe":{offset:10.5,hem:"s",dst:"04/07:01->10/06:02"},"australia/melbourne":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/nsw":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/north":{offset:9.5,hem:"s"},"australia/perth":{offset:8,hem:"s"},"australia/queensland":{offset:10,hem:"s"},"australia/south":{offset:9.5,hem:"s",dst:"04/07:03->10/06:02"},"australia/sydney":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/tasmania":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/victoria":{offset:10,hem:"s",dst:"04/07:03->10/06:02"},"australia/west":{offset:8,hem:"s"},"australia/yancowinna":{offset:9.5,hem:"s",dst:"04/07:03->10/06:02"},"brazil/acre":{offset:-5,hem:"s"},"brazil/denoronha":{offset:-2,hem:"s"},"brazil/east":{offset:-3,hem:"s",dst:"02/16:24->11/03:00"},"brazil/west":{offset:-4,hem:"s"},"canada/atlantic":{offset:-3,hem:"n",dst:"03/10:02->11/03:02"},"canada/central":{offset:-5,hem:"n",dst:"03/10:02->11/03:02"},"canada/east-saskatchewan":{offset:-6,hem:"n"},"canada/eastern":{offset:-4,hem:"n",dst:"03/10:02->11/03:02"},"canada/mountain":{offset:-6,hem:"n",dst:"03/10:02->11/03:02"},"canada/newfoundland":{offset:-2.5,hem:"n",dst:"03/10:02->11/03:02"},"canada/pacific":{offset:-7,hem:"n",dst:"03/10:02->11/03:02"},"canada/saskatchewan":{offset:-6,hem:"n"},"canada/yukon":{offset:-7,hem:"n",dst:"03/10:02->11/03:02"},"chile/continental":{offset:-4,hem:"s",dst:"04/06:24->09/08:00"},"chile/easterisland":{offset:-6,hem:"s",dst:"04/06:22->09/07:22"},"europe/amsterdam":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c148"},"europe/andorra":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/astrakhan":{offset:4,hem:"n",ctry:"c178"},"europe/athens":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c082"},"europe/belfast":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c157"},"europe/belgrade":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c190"},"europe/berlin":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c078"},"europe/bratislava":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c195"},"europe/brussels":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c022"},"europe/bucharest":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c177"},"europe/budapest":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c094"},"europe/busingen":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c078"},"europe/chisinau":{offset:3,hem:"n",dst:"03/31:02->10/27:03",ctry:"c137"},"europe/copenhagen":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"denmark"},"europe/dublin":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c100"},"europe/gibraltar":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/guernsey":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c229"},"europe/helsinki":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c071"},"europe/isle_of_man":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c229"},"europe/istanbul":{offset:3,hem:"n",ctry:"c222"},"europe/jersey":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c229"},"europe/kaliningrad":{offset:2,hem:"n",ctry:"c178"},"europe/kirov":{offset:3,hem:"n",ctry:"c178"},"europe/kiev":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c227"},"europe/lisbon":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c172"},"europe/ljubljana":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c196"},"europe/london":{offset:1,hem:"n",dst:"03/31:01->10/27:02",ctry:"c229"},"europe/luxembourg":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/madrid":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c203"},"europe/malta":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/mariehamn":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c002"},"europe/minsk":{offset:3,hem:"n",ctry:"c021"},"europe/monaco":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/moscow":{offset:3,hem:"n",ctry:"c178"},"europe/nicosia":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c055"},"europe/oslo":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c160"},"europe/paris":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c072"},"europe/podgorica":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c140"},"europe/prague":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c056"},"europe/riga":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c113"},"europe/rome":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c102"},"europe/samara":{offset:4,hem:"n",ctry:"c178"},"europe/saratov":{offset:4,hem:"n",ctry:"c178"},"europe/san_marino":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/sarajevo":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c029"},"europe/simferopol":{offset:3,hem:"n",ctry:"c178"},"europe/skopje":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c158"},"europe/sofia":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"bulgaria"},"europe/stockholm":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c208"},"europe/tallinn":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c066"},"europe/tirane":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c003"},"europe/tiraspol":{offset:3,hem:"n",dst:"03/31:02->10/27:03",ctry:"c137"},"europe/ulyanovsk":{offset:4,hem:"n",ctry:"c178"},"europe/uzhgorod":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c227"},"europe/vaduz":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c118"},"europe/vatican":{offset:2,hem:"n",dst:"03/31:02->10/27:03"},"europe/vienna":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c016"},"europe/vilnius":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c119"},"europe/volgograd":{offset:4,hem:"n",ctry:"c178"},"asia/volgograd":{offset:4,hem:"n",ctry:"c178"},"europe/warsaw":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c171"},"europe/zagreb":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c052"},"europe/zaporozhye":{offset:3,hem:"n",dst:"03/31:03->10/27:04",ctry:"c227"},"europe/zurich":{offset:2,hem:"n",dst:"03/31:02->10/27:03",ctry:"c209"},"indian/antananarivo":{offset:3,hem:"s",ctry:"c123"},"indian/chagos":{offset:6,hem:"n",ctry:"c032"},"indian/christmas":{offset:7,hem:"s",ctry:"c046"},"indian/cocos":{offset:6.5,hem:"n",ctry:"c047"},"indian/comoro":{offset:3,hem:"n",ctry:"c049"},"indian/kerguelen":{offset:5,hem:"s",ctry:"c075"},"indian/mahe":{offset:4,hem:"n",ctry:"c191"},"indian/maldives":{offset:5,hem:"n"},"indian/mauritius":{offset:4,hem:"n"},"indian/mayotte":{offset:3,hem:"n"},"indian/reunion":{offset:4,hem:"s"},"mexico/bajanorte":{offset:-7,hem:"n",dst:"03/10:02->11/03:02"},"mexico/bajasur":{offset:-6,hem:"n",dst:"04/07:02->10/27:02"},"mexico/general":{offset:-5,hem:"n",dst:"04/07:02->10/27:02"},"pacific/apia":{offset:13,hem:"s",dst:"04/07:04->09/29:03",ctry:"c031"},"pacific/auckland":{offset:12,hem:"s",dst:"04/07:03->09/29:02",ctry:"c150"},"pacific/bougainville":{offset:11,hem:"s",ctry:"c166"},"pacific/chatham":{offset:12.75,hem:"s",dst:"04/07:03->04/07:02",ctry:"c150"},"pacific/chuuk":{offset:10,hem:"n",ctry:"c135"},"pacific/easter":{offset:-6,hem:"s",dst:"04/06:22->09/07:22",ctry:"c044"},"pacific/efate":{offset:11,hem:"n",ctry:"c235"},"pacific/enderbury":{offset:13,hem:"n",ctry:"c109"},"pacific/fakaofo":{offset:13,hem:"n",ctry:"c218"},"pacific/fiji":{offset:12,hem:"s",dst:"01/13:03->11/03:02"},"pacific/funafuti":{offset:12,hem:"n",ctry:"c225"},"pacific/galapagos":{offset:-6,hem:"n",ctry:"c061"},"pacific/gambier":{offset:-9,hem:"n",ctry:"c074"},"pacific/guadalcanal":{offset:11,hem:"n",ctry:"c197"},"pacific/guam":{offset:10,hem:"n"},"pacific/honolulu":{offset:-10,hem:"n",ctry:"c230"},"pacific/johnston":{offset:-10,hem:"n",ctry:"c230"},"pacific/kiritimati":{offset:14,hem:"n",ctry:"c109"},"pacific/kosrae":{offset:11,hem:"n",ctry:"c135"},"pacific/kwajalein":{offset:12,hem:"n",ctry:"c129"},"pacific/majuro":{offset:12,hem:"n",ctry:"c129"},"pacific/marquesas":{offset:-9.5,hem:"n",ctry:"c074"},"pacific/midway":{offset:-11,hem:"n",ctry:"c136"},"pacific/nauru":{offset:12,hem:"n"},"pacific/niue":{offset:-11,hem:"n"},"pacific/norfolk":{offset:11.5,hem:"n",ctry:"c155"},"pacific/noumea":{offset:11,hem:"n",ctry:"c149"},"pacific/pago_pago":{offset:-11,hem:"n",ctry:"c005"},"pacific/palau":{offset:9,hem:"n"},"pacific/pitcairn":{offset:-8,hem:"n",ctry:"c170"},"pacific/pohnpei":{offset:11,hem:"n",ctry:"c135"},"pacific/ponape":{offset:11,hem:"n",ctry:"c135"},"pacific/port_moresby":{offset:10,hem:"n",ctry:"c166"},"pacific/rarotonga":{offset:-10,hem:"n",ctry:"c050"},"pacific/saipan":{offset:10,hem:"n",ctry:"c159"},"pacific/samoa":{offset:-11,hem:"n"},"pacific/tahiti":{offset:-10,hem:"n",ctry:"c074"},"pacific/tarawa":{offset:12,hem:"n",ctry:"c109"},"pacific/tongatapu":{offset:13,hem:"s",dst:"01/15:02->11/05:03",ctry:"c219"},"pacific/truk":{offset:10,hem:"n",ctry:"c135"},"pacific/wake":{offset:12,hem:"n",ctry:"c240"},"pacific/wallis":{offset:12,hem:"n",ctry:"c241"},"pacific/yap":{offset:10,hem:"n",ctry:"c135"},"etc/gmt":{offset:0,hem:"n"},"etc/gmt+0":{offset:0,hem:"n"},"etc/gmt-0":{offset:0,hem:"n"},"etc/gmt0":{offset:0,hem:"n"},"etc/greenwich":{offset:0,hem:"n",ctry:"c229"},"etc/utc":{offset:0,hem:"n"},"etc/universal":{offset:0,hem:"n"},"etc/zulu":{offset:0,hem:"n"}};var s=function(e,a){return e(a={exports:{}},a.exports),a.exports}((function(e,a){a.isLeapYear=e=>e%4==0&&e%100!=0||e%400==0,a.isDate=e=>"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.valueOf()),a.isArray=e=>"[object Array]"===Object.prototype.toString.call(e),a.isObject=e=>"[object Object]"===Object.prototype.toString.call(e),a.zeroPad=(e,a=2)=>(e+="").length>=a?e:new Array(a-e.length+1).join("0")+e,a.titleCase=e=>e?e[0].toUpperCase()+e.substr(1):"",a.ordinal=e=>{let a=e%10,t=e%100;return 1===a&&11!==t?e+"st":2===a&&12!==t?e+"nd":3===a&&13!==t?e+"rd":e+"th"},a.toCardinal=e=>(e=(e=String(e)).replace(/([0-9])(st|nd|rd|th)$/i,"$1"),parseInt(e,10)),a.normalize=(e="")=>"day"===(e=(e=(e=(e=e.toLowerCase().trim()).replace(/ies$/,"y")).replace(/s$/,"")).replace(/-/g,""))?"date":e,a.getEpoch=e=>"number"==typeof e?e:a.isDate(e)?e.getTime():e.epoch?e.epoch:null,a.beADate=(e,t)=>!1===a.isObject(e)?t.clone().set(e):e,a.formatTimezone=(e,t="")=>{const r=Math.abs(e);return`${e>0?"+":"-"}${a.zeroPad(r)}${t}00`}}));s.isLeapYear,s.isDate,s.isArray,s.isObject,s.zeroPad,s.titleCase,s.ordinal,s.toCardinal,s.normalize,s.getEpoch,s.beADate,s.formatTimezone;const o=s.zeroPad;var c=(e,a,t,r)=>{let n=new Date(e),s=(n.getTimezoneOffset()||0)+60*r;s=60*s*1e3,n=new Date(e+s);let c=(e=>o(e.getMonth()+1)+"/"+o(e.getDate())+":"+o(e.getHours()))(n);return c>=a&&c<t};var i,f=e=>{let a=e.timezones[e.tz];if(void 0===a)return console.warn("Warning: couldn't find timezone "+e.tz),0;if(void 0===a.dst)return a.offset;let t=a.offset,r=a.offset+1;"n"===a.hem&&(r=t-1);let n=a.dst.split("->");return!0===c(e.epoch,n[0],n[1],t)?t:r},m=["africa","america","asia","atlantic","australia","brazil","canada","chile","europe","indian","mexico","pacific","antarctica","etc"],h=(i=Object.freeze({default:{"9|s":"2/dili,2/jayapura","9|n":"2/chita,2/khandyga,2/pyongyang,2/seoul,2/tokyo,11/palau","9.5|s|04/07:03->10/06:02":"4/adelaide,4/broken_hill,4/south,4/yancowinna","9.5|s":"4/darwin,4/north","8|s":"12/casey,2/kuala_lumpur,2/makassar,2/singapore,4/perth,4/west","8|n|03/25:03->09/29:23":"2/ulan_bator","8|n":"2/brunei,2/choibalsan,2/chongqing,2/chungking,2/harbin,2/hong_kong,2/irkutsk,2/kuching,2/macao,2/macau,2/manila,2/shanghai,2/taipei,2/ujung_pandang,2/ulaanbaatar","8.75|s":"4/eucla","7|s":"12/davis,2/jakarta,9/christmas","7|n":"2/bangkok,2/barnaul,2/ho_chi_minh,2/hovd,2/krasnoyarsk,2/novokuznetsk,2/novosibirsk,2/phnom_penh,2/pontianak,2/saigon,2/tomsk,2/vientiane","6|s":"12/vostok","6|n":"2/almaty,2/bishkek,2/dacca,2/dhaka,2/kashgar,2/omsk,2/qyzylorda,2/thimbu,2/thimphu,2/urumqi,9/chagos","6.5|n":"2/rangoon,9/cocos","5|s":"12/mawson,9/kerguelen","5|n":"2/aqtau,2/aqtobe,2/ashgabat,2/ashkhabad,2/atyrau,2/baku,2/dushanbe,2/karachi,2/oral,2/samarkand,2/tashkent,2/yekaterinburg,9/maldives","5.75|n":"2/kathmandu,2/katmandu","5.5|n":"2/calcutta,2/colombo,2/kolkata","4|s":"9/reunion","4|n":"2/dubai,2/muscat,2/tbilisi,2/yerevan,8/astrakhan,8/samara,8/saratov,8/ulyanovsk,8/volgograd,2/volgograd,9/mahe,9/mauritius","4.5|n|03/22:00->09/21:24":"2/tehran","4.5|n":"2/kabul","3|s":"12/syowa,9/antananarivo","3|n|03/31:03->10/27:04":"2/nicosia,8/athens,8/bucharest,8/helsinki,8/kiev,8/mariehamn,8/nicosia,8/riga,8/sofia,8/tallinn,8/uzhgorod,8/vilnius,8/zaporozhye","3|n|03/31:02->10/27:03":"8/chisinau,8/tiraspol","3|n|03/31:00->10/26:24":"2/beirut","3|n|03/29:02->10/27:02":"2/jerusalem,2/tel_aviv","3|n|03/29:00->10/25:01":"2/amman","3|n|03/29:00->10/24:24":"2/damascus","3|n|03/23:01->10/26:01":"2/gaza,2/hebron","3|n":"0/addis_ababa,0/asmara,0/asmera,0/dar_es_salaam,0/djibouti,0/juba,0/kampala,0/mogadishu,0/nairobi,2/aden,2/baghdad,2/bahrain,2/istanbul,2/kuwait,2/qatar,2/riyadh,8/istanbul,8/kirov,8/minsk,8/moscow,8/simferopol,9/comoro,9/mayotte","2|s|03/31:02->10/27:02":"12/troll","2|s":"0/gaborone,0/harare,0/johannesburg,0/lubumbashi,0/lusaka,0/maputo,0/maseru,0/mbabane","2|n|03/31:02->10/27:03":"0/ceuta,arctic/longyearbyen,3/jan_mayen,8/amsterdam,8/andorra,8/belgrade,8/berlin,8/bratislava,8/brussels,8/budapest,8/busingen,8/copenhagen,8/gibraltar,8/ljubljana,8/luxembourg,8/madrid,8/malta,8/monaco,8/oslo,8/paris,8/podgorica,8/prague,8/rome,8/san_marino,8/sarajevo,8/skopje,8/stockholm,8/tirane,8/vaduz,8/vatican,8/vienna,8/warsaw,8/zagreb,8/zurich","2|n":"0/blantyre,0/bujumbura,0/cairo,0/khartoum,0/kigali,0/tripoli,8/kaliningrad","1|s|04/02:01->09/03:03":"0/windhoek","1|s":"0/kinshasa,0/luanda","1|n|05/05:03->06/09:02":"0/casablanca,0/el_aaiun","1|n|03/31:01->10/27:02":"3/canary,3/faeroe,3/faroe,3/madeira,8/belfast,8/dublin,8/guernsey,8/isle_of_man,8/jersey,8/lisbon,8/london","1|n":"0/algiers,0/bangui,0/brazzaville,0/douala,0/lagos,0/libreville,0/malabo,0/ndjamena,0/niamey,0/porto-novo,0/tunis","14|n":"11/kiritimati","13|s|04/07:04->09/29:03":"11/apia","13|s|01/15:02->11/05:03":"11/tongatapu","13|n":"11/enderbury,11/fakaofo","12|s|04/07:03->09/29:02":"12/mcmurdo,12/south_pole,11/auckland","12|s|01/13:03->11/03:02":"11/fiji","12|n":"2/anadyr,2/kamchatka,2/srednekolymsk,11/funafuti,11/kwajalein,11/majuro,11/nauru,11/tarawa,11/wake,11/wallis","12.75|s|04/07:03->04/07:02":"11/chatham","11|s":"12/macquarie,11/bougainville","11|n":"2/magadan,2/sakhalin,11/efate,11/guadalcanal,11/kosrae,11/noumea,11/pohnpei,11/ponape","11.5|n":"11/norfolk","10|s|04/07:03->10/06:02":"4/act,4/canberra,4/currie,4/hobart,4/melbourne,4/nsw,4/sydney,4/tasmania,4/victoria","10|s":"12/dumontdurville,4/brisbane,4/lindeman,4/queensland","10|n":"2/ust-nera,2/vladivostok,2/yakutsk,11/chuuk,11/guam,11/port_moresby,11/saipan,11/truk,11/yap","10.5|s|04/07:01->10/06:02":"4/lhi,4/lord_howe","0|n|03/31:00->10/27:01":"1/scoresbysund,3/azores","0|n":"0/abidjan,0/accra,0/bamako,0/banjul,0/bissau,0/conakry,0/dakar,0/freetown,0/lome,0/monrovia,0/nouakchott,0/ouagadougou,0/sao_tome,0/timbuktu,1/danmarkshavn,3/reykjavik,3/st_helena,13/gmt,13/gmt+0,13/gmt-0,13/gmt0,13/greenwich,13/utc,13/universal,13/zulu","-9|n|03/10:02->11/03:02":"1/adak,1/atka","-9|n":"11/gambier","-9.5|n":"11/marquesas","-8|n|03/10:02->11/03:02":"1/anchorage,1/juneau,1/metlakatla,1/nome,1/sitka,1/yakutat","-8|n":"11/pitcairn","-7|n|03/10:02->11/03:02":"1/dawson,1/ensenada,1/los_angeles,1/santa_isabel,1/tijuana,1/vancouver,1/whitehorse,6/pacific,6/yukon,10/bajanorte","-7|n":"1/creston,1/dawson_creek,1/hermosillo,1/phoenix","-6|s|04/06:22->09/07:22":"7/easterisland,11/easter","-6|n|04/07:02->10/27:02":"1/chihuahua,1/mazatlan,10/bajasur","-6|n|03/10:02->11/03:02":"1/boise,1/cambridge_bay,1/denver,1/edmonton,1/inuvik,1/ojinaga,1/shiprock,1/yellowknife,6/mountain","-6|n":"1/belize,1/costa_rica,1/el_salvador,1/guatemala,1/managua,1/regina,1/swift_current,1/tegucigalpa,6/east-saskatchewan,6/saskatchewan,11/galapagos","-5|s":"1/lima,1/rio_branco,5/acre","-5|n|04/07:02->10/27:02":"1/bahia_banderas,1/merida,1/mexico_city,1/monterrey,10/general","-5|n|03/12:03->11/05:01":"1/north_dakota","-5|n|03/10:02->11/03:02":"1/chicago,1/knox_in,1/matamoros,1/menominee,1/rainy_river,1/rankin_inlet,1/resolute,1/winnipeg,6/central","-5|n":"1/atikokan,1/bogota,1/cancun,1/cayman,1/coral_harbour,1/eirunepe,1/guayaquil,1/jamaica,1/panama,1/porto_acre","-4|s|05/13:23->08/13:01":"12/palmer","-4|s|04/06:24->09/08:00":"1/santiago,7/continental","-4|s|03/23:24->10/06:00":"1/asuncion","-4|s|02/16:24->11/03:00":"1/campo_grande,1/cuiaba","-4|s":"1/la_paz,1/manaus,5/west","-4|n|03/12:03->11/05:01":"1/indiana,1/kentucky","-4|n|03/10:02->11/03:02":"1/detroit,1/fort_wayne,1/grand_turk,1/indianapolis,1/iqaluit,1/louisville,1/montreal,1/nassau,1/new_york,1/nipigon,1/pangnirtung,1/port-au-prince,1/thunder_bay,1/toronto,6/eastern","-4|n|03/10:00->11/03:01":"1/havana","-4|n":"1/anguilla,1/antigua,1/aruba,1/barbados,1/blanc-sablon,1/boa_vista,1/caracas,1/curacao,1/dominica,1/grenada,1/guadeloupe,1/guyana,1/kralendijk,1/lower_princes,1/marigot,1/martinique,1/montserrat,1/port_of_spain,1/porto_velho,1/puerto_rico,1/santo_domingo,1/st_barthelemy,1/st_kitts,1/st_lucia,1/st_thomas,1/st_vincent,1/tortola,1/virgin","-3|s|02/16:24->11/03:00":"1/sao_paulo,5/east","-3|s":"1/argentina,1/buenos_aires,1/cordoba,1/fortaleza,1/montevideo,1/punta_arenas,12/rothera,3/stanley","-3|n|03/10:02->11/03:02":"1/glace_bay,1/goose_bay,1/halifax,1/moncton,1/thule,3/bermuda,6/atlantic","-3|n":"1/araguaina,1/bahia,1/belem,1/catamarca,1/cayenne,1/jujuy,1/maceio,1/mendoza,1/paramaribo,1/recife,1/rosario,1/santarem","-2|s":"5/denoronha","-2|n|03/30:22->10/26:23":"1/godthab","-2|n|03/10:02->11/03:02":"1/miquelon","-2|n":"1/noronha,3/south_georgia","-2.5|n|03/10:02->11/03:02":"1/st_johns,6/newfoundland","-1|n":"3/cape_verde","-11|n":"11/midway,11/niue,11/pago_pago,11/samoa","-10|n":"11/honolulu,11/johnston,11/rarotonga,11/tahiti"}}))&&i.default||i;let u={};Object.keys(h).forEach((e=>{let a=e.split("|"),t={offset:Number(a[0]),hem:a[1]};a[2]&&(t.dst=a[2]),h[e].split(",").forEach((e=>{e=e.replace(/(^[0-9]+)\//,((e,a)=>(a=Number(a),m[a]+"/"))),u[e]=t}))})),u.utc={offset:0,hem:"n"};for(let e=-13;e<=13;e+=.5){let a=e;a>0&&(a="+"+a);let t="etc/gmt"+a;u[t]={offset:-1*e,hem:"n"},t="utc/gmt"+a,u[t]={offset:-1*e,hem:"n"}}var l=u;const d={"america/halifax":["ast","adt","atlantic"],"america/new_york":["est","edt","eastern"],"america/chicago":["cst","cdt","central"],"america/denver":["mst","mdt","mountain"],"america/los_angeles":["pst","pdt","pacific"],"america/anchorage":["ahst","ahdt","akst","akdt","alaska"],"america/st_johns":["nst","ndt","nt","newfoundland","nddt"],"america/caracas":["vet",null,"venezuela"],"america/bogota":["cot",null,"colombia"],"america/cayenne":["gft",null,"french guiana"],"america/paramaribo":["srt",null,"suriname"],"america/guyana":["gyt"],"america/buenos_aires":["art",null,"argentina"],"america/la_paz":["bot",null,"bolivia"],"america/asuncion":["pyt","pyst","paraguay"],"america/santiago":["clt","clst","chile"],"america/lima":["pet",null,"peru"],"america/montevideo":["uyt",null,"uruguay"],"atlantic/stanley":["fkst",null,"falkland island"],"america/manaus":["amt"],"america/sao_paulo":["brt","brst"],"brazil/acre":["act"],"europe/london":["gmt","bst","british"],"etc/gmt":["gmt",null,"greenwich"],"europe/lisbon":["wet","west","west europe"],"europe/berlin":["cet","cest","central europe","middle european","met","mest"],"europe/riga":["eet","eest","east europe","kalt"],"europe/moscow":["msk",null,"fet","mdst","msd"],"europe/samara":["samt"],"asia/yekaterinburg":["yekt"],"asia/omsk":["omst"],"asia/krasnoyarsk":["krat"],"asia/novosibirsk":["novt"],"asia/irkutsk":["irkt"],"asia/yakutsk":["yakt"],"asia/vladivostok":["vlat"],"asia/magadan":["magt"],"asia/sakhalin":["sakt"],"asia/srednekolymsk":["sret"],"asia/anadyr":["anat"],"asia/kamchatka":["pett"],"asia/tashkent":["uzt","uzbekistan"],"asia/bishkek":["kgt","kyrgyzstan"],"antarctica/vostok":["vost"],"asia/hovd":["hovt"],"asia/ashgabat":["tmt",null,"turkmenistan"],"africa/lagos":["wat","wast","west africa"],"africa/khartoum":["cat",null,"central africa"],"africa/nairobi":["eat",null,"east africa"],"atlantic/cape_verde":["cvt"],"indian/mauritius":["mut"],"indian/reunion":["ret"],"africa/johannesburg":["sast",null,"south africa"],"atlantic/azores":["azot","azost","hmt"],"america/godthab":["wgt","wgst","west greenland"],"america/scoresbysund":["egt","egst","east greenland"],"europe/istanbul":["trt",null,"turkey"],"asia/tbilisi":["get",null,"georgia"],"asia/baku":["azt",null,"azerbaijan"],"asia/jerusalem":[null,"idt","israel","jmt","iddt"],"asia/tehran":["irst","irdt","iran"],"asia/karachi":["pkt",null,"pakistan"],"asia/kabul":["aft",null,"afghanistan"],"asia/dushanbe":["tjt",null,"tajikistan"],"asia/almaty":["almt",null,"alma ata"],"asia/dubai":["gst",null,"gulf"],"asia/kolkata":["ist",null,"india","slst"],"asia/thimbu":["btt",null,"bhutan"],"indian/maldives":["mvt"],"asia/kathmandu":["npt",null,"nepal"],"indian/cocos":["cct",null,"cocos island"],"indian/chagos":["iot",null,"indian chagos"],"indian/kerguelen":["tft",null,"french southern and antarctic"],"asia/shanghai":["ct",null,"china","hkt"],"asia/ulaanbaatar":["ulat"],"asia/seoul":["kst",null,"korea"],"asia/tokyo":["jst",null,"japan"],"asia/phnom_penh":["ict",null,"indochina"],"asia/manila":["pht",null,"philippines"],"asia/singapore":["sgt"],"australia/brisbane":["aest","aedt","australian east"],"australia/adelaide":["acst","acdt","australian central"],"australia/eucla":["acwst",null,"cwst","australian central western"],"australia/perth":["awst","awdt","australian west"],"pacific/auckland":["nzst","nzdt","nzmt"],"australia/lord_howe":["lhst","lhdt"],"pacific/guam":["chst"],"pacific/chatham":["chast","chadt"],"pacific/honolulu":["hst"],"asia/brunei":["bnt",null,"bdt"],"pacific/midway":["sst",null,"samoa","sdt"],"pacific/niue":["nut"],"pacific/fakaofo":["tkt"],"pacific/rarotonga":["ckt",null,"cook islands"],"chile/easterisland":["east","easst","easter island","emt"],"asia/jayapura":["wit",null,"east indonesia"],"asia/jakarta":["wib",null,"west indonesia"],"asia/makassar":["wita",null,"central indonesia"],"pacific/galapagos":["galt"],"pacific/fiji":["fjt","fjst"],"asia/dili":["tlt",null,"east timor"],"indian/christmas":["cxt"]},y=Object.keys(d).reduce(((e,a)=>{let t=d[a];for(let r=0;r<5;r+=1)t[r]&&(e[t[r]]=a);return e}),{});var p={informal:d,lookup:y};var g=()=>{let e=(()=>{if("undefined"==typeof Intl||void 0===Intl.DateTimeFormat)return null;let e=Intl.DateTimeFormat();if(void 0===e||void 0===e.resolvedOptions)return null;let a=e.resolvedOptions().timeZone;return a?a.toLowerCase():null})();return null===e?"utc":e};const b=p.lookup,k=g(),w=/(\-?[0-9]+)h(rs)?/,v=Object.keys(l).reduce(((e,a)=>{let t=a.split("/")[1]||"";return t=t.replace(/_/g," "),e[t]=a,e}),{});var z=(e,a)=>{if(!e)return k;let t=e.trim(),r=e.split("/");if(r.length>2&&!1===a.hasOwnProperty(t)&&(t=r[0]+"/"+r[1]),t=t.toLowerCase(),!0===a.hasOwnProperty(t))return t;if(t=(e=>(e=(e=(e=(e=(e=e.replace(/ time/g,"")).replace(/ (standard|daylight|summer)/g,"")).replace(/\b(east|west|north|south)ern/g,"$1")).replace(/\b(africa|america|australia)n/g,"$1")).replace(/\beuropean/g,"europe")).replace(/\islands/g,"island"))(t),!0===a.hasOwnProperty(t))return t;if(!0===b.hasOwnProperty(t))return b[t];if(!0===v.hasOwnProperty(t))return v[t];let n=t.match(w);if(null!==n){let e=Number(n[1]);e*=-1,e=(e>0?"+":"")+e;let t="etc/gmt"+e;if(a.hasOwnProperty(t))return t}return console.warn("Cannot find timezone named: '"+e+"'"),k};let _={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5};_.date=_.day,_.month=25488e5,_.week=6048e5,_.year=3154e7,Object.keys(_).forEach((e=>{_[e+"s"]=_[e]}));var j=_;const O=(e,a,t,r,n)=>{let s=e.d[t]();if(s===a)return;let o=null===n?null:e.d[n](),c=e.epoch,i=a-s;e.epoch+=j[r]*i,"day"===r&&Math.abs(i)>28&&a<28&&(e.epoch+=j.hour);const f=j[r]/2;for(;e.d[t]()<a;)e.epoch+=f;for(;e.d[t]()>a;)e.epoch-=f;null!==n&&o!==e.d[n]()&&(e.epoch=c,e.epoch+=j[r]*i*.97)},D={year:{valid:e=>e>-4e3&&e<4e3,walkTo:(e,a)=>O(e,a,"getFullYear","year",null)},month:{valid:e=>e>=0&&e<=11,walkTo:(e,a)=>{let t=e.d,r=t.getMonth(),n=e.epoch,s=t.getYear();if(r===a)return;let o=a-r;for(e.epoch+=j.day*(28*o),s!==e.d.getYear()&&(e.epoch=n);e.d.getMonth()<a;)e.epoch+=j.day;for(;e.d.getMonth()>a;)e.epoch-=j.day}},date:{valid:e=>e>0&&e<=31,walkTo:(e,a)=>O(e,a,"getDate","day","getMonth")},hour:{valid:e=>e>=0&&e<24,walkTo:(e,a)=>O(e,a,"getHours","hour","getDate")},minute:{valid:e=>e>=0&&e<60,walkTo:(e,a)=>O(e,a,"getMinutes","minute","getHours")},second:{valid:e=>e>=0&&e<60,walkTo:(e,a)=>{e.epoch=e.seconds(a).epoch}},millisecond:{valid:e=>e>=0&&e<1e3,walkTo:(e,a)=>{e.epoch=e.milliseconds(a).epoch}}};var $=(e,a)=>{let t=Object.keys(D),r=e.clone();for(let n=0;n<t.length;n++){let s=t[n],o=a[s];if(void 0===o&&(o=r[s]()),"string"==typeof o&&(o=parseInt(o,10)),!D[s].valid(o))return e.epoch=null,void(!1===e.silent&&console.warn("invalid "+s+": "+o));D[s].walkTo(e,o)}};let q=["jan","feb","mar","apr","may","jun","jul","aug","sept","oct","nov","dec"],P=["january","february","march","april","may","june","july","august","september","october","november","december"];var M=()=>q,S=()=>P,C=()=>function(){const e={sep:8};for(let a=0;a<q.length;a++)e[q[a]]=a;for(let a=0;a<P.length;a++)e[P[a]]=a;return e}(),x=e=>{q=e.short||q,P=e.long||P};var E=(e,a)=>{if(!a)return e;"Z"===a&&(a="+0000");let t=0;/^[\+-]?[0-9]{2}:[0-9]{2}$/.test(a)&&(!0===/:00/.test(a)&&(a=a.replace(/:00/,"")),!0===/:30/.test(a)&&(a=a.replace(/:30/,".5"))),/^[\+-]?[0-9]{4}$/.test(a)&&(a=a.replace(/30$/,".5")),t=parseFloat(a),Math.abs(t)>100&&(t/=100),t*=-1,t>=0&&(t="+"+t);let r="etc/gmt"+t;return e.timezones[r]&&(e.tz=r),e};var T=(e,a="")=>{let t=(a=a.replace(/^\s+/,"").toLowerCase()).match(/([0-9]{1,2}):([0-9]{1,2}):?([0-9]{1,2})?[:\.]?([0-9]{1,4})?/);if(null!==t){let r=Number(t[1]);if(r<0||r>24)return e.startOf("day");let n=Number(t[2]);if(t[2].length<2||n<0||n>59)return e.startOf("day");e=(e=(e=(e=e.hour(r)).minute(n)).seconds(t[3]||0)).millisecond(t[4]||0);let s=a.match(/[\b0-9](am|pm)\b/);return null!==s&&s[1]&&(e=e.ampm(s[1])),e}if(t=a.match(/([0-9]+) ?(am|pm)/),null!==t&&t[1]){let a=Number(t[1]);return a>12||a<1?e.startOf("day"):e=(e=(e=e.hour(t[1]||0)).ampm(t[2])).startOf("hour")}return e=e.startOf("day")};var I=[31,28,31,30,31,30,31,31,30,31,30,31];const A=s.isLeapYear;var Y=e=>{if(!0!==I.hasOwnProperty(e.month))return!1;if(1===e.month)return!!(A(e.year)&&e.date<=29)||e.date<=28;let a=I[e.month]||0;return e.date<=a};const N=C(),L=(e="")=>{let a=parseInt(e.trim(),10);return a=a||(new Date).getFullYear(),a};var F=[{reg:/^(\-?0?0?[0-9]{3,4})-([0-9]{1,2})-([0-9]{1,2})[T| ]([0-9.:]+)(Z|[0-9\-\+:]+)?$/,parse:(e,a,t,r)=>{let n=parseInt(a[2],10)-1,s={year:a[1],month:n,date:a[3]};return!1===Y(s)?(e.epoch=null,e):(E(e,a[5]),$(e,s),e=T(e,a[4]))}},{reg:/^([0-9]{4})[\-\/]([0-9]{1,2})[\-\/]([0-9]{1,2})$/,parse:(e,a)=>{let t={year:a[1],month:parseInt(a[2],10)-1,date:parseInt(a[3],10)};return t.month>=12&&(t.date=parseInt(a[2],10),t.month=parseInt(a[3],10)-1),!1===Y(t)?(e.epoch=null,e):($(e,t),e=T(e))}},{reg:/^([0-9]{1,2})[\-\/]([0-9]{1,2})[\-\/]?([0-9]{4})?$/,parse:(e,a)=>{let t=parseInt(a[1],10)-1,r=parseInt(a[2],10);t>=12&&(t=parseInt(a[2],10)-1,r=parseInt(a[1],10));let n={year:a[3]||(new Date).getFullYear(),month:t,date:r};return!1===Y(n)?(e.epoch=null,e):($(e,n),e=T(e))}},{reg:/^([a-z]+) ([0-9]{1,2}(?:st|nd|rd|th)?),?( [0-9]{4})?( ([0-9:]+( ?am| ?pm)?))?$/i,parse:(e,a)=>{let t=N[a[1].toLowerCase()],r={year:L(a[3]),month:t,date:s.toCardinal(a[2]||"")};return!1===Y(r)?(e.epoch=null,e):($(e,r),e=T(e,a[4]))}},{reg:/^([a-z]+) ([0-9]{4})$/i,parse:(e,a)=>{let t=N[a[1].toLowerCase()],r={year:L(a[2]),month:t,date:1};return!1===Y(r)?(e.epoch=null,e):($(e,r),e=T(e,a[4]))}},{reg:/^([0-9]{1,2}(?:st|nd|rd|th)?) ([a-z]+),?( [0-9]{4})?$/i,parse:(e,a)=>{let t=N[a[2].toLowerCase()],r={year:L(a[3]),month:t,date:s.toCardinal(a[1])};return!1===Y(r)?(e.epoch=null,e):($(e,r),e=T(e))}},{reg:/^[0-9]{4}$/i,parse:(e,a)=>{let t=L(a[0]),r=new Date,n={year:t,month:r.getMonth(),date:r.getDate()};return!1===Y(n)?(e.epoch=null,e):($(e,n),e=T(e))}},{reg:/^[0-9,]+ ?b\.?c\.?$/i,parse:(e,a)=>{let t=a[0]||"";t=t.replace(/^([0-9,]+) ?b\.?c\.?$/i,"-$1"),t=t.replace(/,/g,"");let r=parseInt(t.trim(),10),n=new Date,s={year:r,month:n.getMonth(),date:n.getDate()};return!1===Y(s)?(e.epoch=null,e):($(e,s),e=T(e))}}];const Z={now:e=>(e.epoch=Date.now(),e),tonight:e=>(e.epoch=Date.now(),e=e.hour(18)),today:e=>(e.epoch=Date.now(),e),tomorrow:e=>(e.epoch=Date.now(),e=(e=e.add(1,"day")).startOf("day")),yesterday:e=>(e.epoch=Date.now(),e=(e=e.subtract(1,"day")).startOf("day")),christmas:e=>{let a=(new Date).getFullYear();return e=e.set([a,11,25,18,0,0])},"new years":e=>{let a=(new Date).getFullYear();return e=e.set([a,11,31,18,0,0])}};Z["new years eve"]=Z["new years"];var H=Z;const B={year:(new Date).getFullYear(),month:0,date:1};var G=(e,a,t)=>{if("number"==typeof a)return a>0&&a<25e8&&!1===e.silent&&(console.warn(" - Warning: You are setting the date to January 1970."),console.warn(" - did input seconds instead of milliseconds?")),e.epoch=a,e;if(e.epoch=Date.now(),null==a)return e;if(!0===s.isDate(a))return e.epoch=a.getTime(),e;if(!0===s.isArray(a))return e=((e,a)=>{let t=["year","month","date","hour","minute","second","millisecond"];for(let r=0;r<t.length;r++){let n=a[r]||B[t[r]]||0;e=e[t[r]](n)}return e})(e,a),e;if(!0===s.isObject(a))return a.epoch?(e.epoch=a.epoch,e.tz=a.tz,e):e=((e,a)=>{a=Object.assign({},B,a);let t=Object.keys(a);for(let r=0;r<t.length;r++){let n=t[r];if(void 0===e[n]||"function"!=typeof e[n])continue;if(null===a[n]||void 0===a[n]||""===a[n])continue;let s=a[n]||B[n]||0;e=e[n](s)}return e})(e,a);if("string"!=typeof a)return e;if(a=(a=(a=a.replace(/\b(mon|tues|wed|wednes|thu|thurs|fri|sat|satur|sun)(day)?\b/i,"")).replace(/,/g,"")).replace(/ +/g," ").trim(),!0===H.hasOwnProperty(a))return e=H[a](e);for(let r=0;r<F.length;r++){let n=a.match(F[r].reg);if(n)return e=F[r].parse(e,n,t)}return!1===e.silent&&console.warn("Warning: couldn't parse date-string: '"+a+"'"),e.epoch=null,e};let Q=["sun","mon","tue","wed","thu","fri","sat"],U=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];var W=()=>Q,V=()=>U,J=e=>{Q=e.short||Q,U=e.long||U};var K=e=>{let a=e.timezone().current.offset;const t=a<0;let r="00";return.5===Math.abs(a%1)&&(r="30",a=a>=0?Math.floor(a):Math.ceil(a)),t?(a*=-1,a=s.zeroPad(a,2),a="-"+a):(a=s.zeroPad(a,2),a="+"+a),a=a+":"+r,"+00:00"===a&&(a="Z"),a};const R={day:e=>s.titleCase(e.dayName()),"day-short":e=>s.titleCase(W()[e.day()]),"day-number":e=>e.day(),"day-ordinal":e=>s.ordinal(e.day()),"day-pad":e=>s.zeroPad(e.day()),date:e=>e.date(),"date-ordinal":e=>s.ordinal(e.date()),"date-pad":e=>s.zeroPad(e.date()),month:e=>s.titleCase(e.monthName()),"month-short":e=>s.titleCase(M()[e.month()]),"month-number":e=>e.month(),"month-ordinal":e=>s.ordinal(e.month()),"month-pad":e=>s.zeroPad(e.month()),"iso-month":e=>s.zeroPad(e.month()+1),year:e=>{let a=e.year();return a>0?a:(a=Math.abs(a),a+" BC")},"year-short":e=>{let a=e.year();return a>0?`'${String(e.year()).substr(2,4)}`:(a=Math.abs(a),a+" BC")},"iso-year":e=>{let a=e.year(),t=a<0,r=s.zeroPad(Math.abs(a),4);return t&&(r=s.zeroPad(r,6),r="-"+r),r},time:e=>e.time(),"time-24":e=>`${e.hour24()}:${s.zeroPad(e.minute())}`,hour:e=>e.hour12(),"hour-pad":e=>s.zeroPad(e.hour12()),"hour-24":e=>e.hour24(),"hour-24-pad":e=>s.zeroPad(e.hour24()),minute:e=>e.minute(),"minute-pad":e=>s.zeroPad(e.minute()),second:e=>e.second(),"second-pad":e=>s.zeroPad(e.second()),ampm:e=>e.ampm(),quarter:e=>"Q"+e.quarter(),season:e=>e.season(),era:e=>e.era(),timezone:e=>e.timezone().name,offset:e=>K(e),numeric:e=>`${e.year()}/${s.zeroPad(e.month()+1)}/${s.zeroPad(e.date())}`,"numeric-us":e=>`${s.zeroPad(e.month()+1)}/${s.zeroPad(e.date())}/${e.year()}`,"numeric-uk":e=>`${s.zeroPad(e.date())}/${s.zeroPad(e.month()+1)}/${e.year()}`,"mm/dd":e=>`${s.zeroPad(e.month()+1)}/${s.zeroPad(e.date())}`,iso:e=>`${e.format("iso-year")}-${s.zeroPad(e.month()+1)}-${s.zeroPad(e.date())}T${s.zeroPad(e.h24())}:${s.zeroPad(e.minute())}:${s.zeroPad(e.second())}.${s.zeroPad(e.millisecond(),3)}${K(e)}`,"iso-short":e=>{let a=s.zeroPad(e.month()+1),t=s.zeroPad(e.date());return`${e.year()}-${a}-${t}`},"iso-utc":e=>new Date(e.epoch).toISOString(),nice:e=>`${M()[e.month()]} ${s.ordinal(e.date())}, ${e.time()}`,"nice-year":e=>`${M()[e.month()]} ${s.ordinal(e.date())}, ${e.year()}`,"nice-day":e=>`${W()[e.day()]} ${s.titleCase(M()[e.month()])} ${s.ordinal(e.date())}`,"nice-full":e=>`${e.dayName()} ${s.titleCase(e.monthName())} ${s.ordinal(e.date())}, ${e.time()}`},X={"day-name":"day","month-name":"month","iso 8601":"iso","time-h24":"time-24","time-12":"time","time-h12":"time",tz:"timezone","day-num":"day-number","month-num":"month-number","month-iso":"iso-month","year-iso":"iso-year","nice-short":"nice",mdy:"numeric-us",dmy:"numeric-uk",ymd:"numeric","yyyy/mm/dd":"numeric","mm/dd/yyyy":"numeric-us","dd/mm/yyyy":"numeric-us","little-endian":"numeric-uk","big-endian":"numeric","day-nice":"nice-day"};Object.keys(X).forEach((e=>R[e]=R[X[e]]));var ee=(e,a="")=>{if(!0!==e.isValid())return"";if(R.hasOwnProperty(a)){let t=String(R[a](e)||"");return"ampm"!==a&&(t=s.titleCase(t)),t}if(-1!==a.indexOf("{")){let t=/\{(.+?)\}/g;return a=a.replace(t,((a,t)=>(t=t.toLowerCase().trim(),R.hasOwnProperty(t)?String(R[t](e)||""):"")))}return e.format("iso-short")};const ae=s.zeroPad,te=s.formatTimezone,re={G:e=>e.era(),GG:e=>e.era(),GGG:e=>e.era(),GGGG:e=>"AD"===e.era()?"Anno Domini":"Before Christ",y:e=>e.year(),yy:e=>parseInt(String(e.year()).substr(2,4),10),yyy:e=>e.year(),yyyy:e=>e.year(),yyyyy:e=>"0"+e.year(),Q:e=>e.quarter(),QQ:e=>e.quarter(),QQQ:e=>e.quarter(),QQQQ:e=>e.quarter(),M:e=>e.month()+1,MM:e=>ae(e.month()+1),MMM:e=>e.format("month-short"),MMMM:e=>e.format("month"),w:e=>e.week(),ww:e=>ae(e.week()),d:e=>e.date(),dd:e=>ae(e.date()),D:e=>e.dayOfYear(),DD:e=>ae(e.dayOfYear()),DDD:e=>ae(e.dayOfYear(),3),E:e=>e.format("day-short"),EE:e=>e.format("day-short"),EEE:e=>e.format("day-short"),EEEE:e=>e.format("day"),EEEEE:e=>e.format("day")[0],e:e=>e.day(),ee:e=>e.day(),eee:e=>e.format("day-short"),eeee:e=>e.format("day"),eeeee:e=>e.format("day")[0],a:e=>e.ampm().toUpperCase(),aa:e=>e.ampm().toUpperCase(),aaa:e=>e.ampm().toUpperCase(),aaaa:e=>e.ampm().toUpperCase(),h:e=>e.h12(),hh:e=>ae(e.h12()),H:e=>e.hour(),HH:e=>ae(e.hour()),m:e=>e.minute(),mm:e=>ae(e.minute()),s:e=>e.second(),ss:e=>ae(e.second()),A:e=>e.epoch-e.startOf("day").epoch,z:e=>e.timezone().name,zz:e=>e.timezone().name,zzz:e=>e.timezone().name,zzzz:e=>e.timezone().name,Z:e=>te(e.timezone().current.offset),ZZ:e=>te(e.timezone().current.offset),ZZZ:e=>te(e.timezone().current.offset),ZZZZ:e=>te(e.timezone().current.offset,":")},ne=(e,a,t)=>{let r=e,n=a;for(let s=0;s<t;s+=1)re[r]=re[n],r+=e,n+=a};ne("q","Q",4),ne("L","M",4),ne("Y","y",4),ne("c","e",4),ne("k","H",2),ne("K","h",2),ne("S","s",2),ne("v","z",4),ne("V","Z",4);var se=(e,a)=>{let t=a.split(""),r=[t[0]],n=!1;for(let e=1;e<t.length;e+=1){if("'"===t[e]){if(n=!n,!0!==n||!t[e+1]||"'"!==t[e+1])continue;n=!0}!0===n||t[e]===r[r.length-1][0]?r[r.length-1]+=t[e]:r.push(t[e])}return r.reduce(((a,t)=>(void 0!==re[t]?a+=re[t](e)||"":a+=t,a)),"")};const oe=["year","season","quarter","month","week","day","quarterHour","hour","minute"],ce=function(e,a){let t=e.clone().startOf(a),r=e.clone().endOf(a).epoch-t.epoch,n=(e.epoch-t.epoch)/r;return parseFloat(n.toFixed(2))};var ie=(e,a)=>{if(a)return a=s.normalize(a),ce(e,a);let t={};return oe.forEach((a=>{t[a]=ce(e,a)})),t};var fe=(e,a)=>{let t=e.progress();return"quarterhour"===(a=s.normalize(a))&&(a="quarterHour"),void 0!==t[a]?(t[a]>.5&&(e=e.add(1,a)),e=e.startOf(a)):!1===e.silent&&console.warn("no known unit '"+a+"'"),e};const me=(e,a,t)=>{let r=0;for(e=e.clone();e.isBefore(a);)e=e.add(1,t),r+=1;return e.isAfter(a,t)&&(r-=1),r};var he=(e,a,t)=>e.isBefore(a)?me(e,a,t):-1*me(a,e,t);var ue=function(e,a){let t=a.epoch-e.epoch,r={milliseconds:t,seconds:parseInt(t/1e3,10)};r.minutes=parseInt(r.seconds/60,10),r.hours=parseInt(r.minutes/60,10);let n=e.clone();return r.years=((e,a)=>{let t=a.year()-e.year();return(e=e.year(a.year())).isAfter(a)&&(t-=1),t})(n,a),n=e.add(r.years,"year"),r.months=12*r.years,n=e.add(r.months,"month"),r.months+=he(n,a,"month"),r.weeks=52*r.years,n=e.add(r.weeks,"week"),r.weeks+=he(n,a,"week"),r.days=7*r.weeks,n=e.add(r.days,"day"),r.days+=he(n,a,"day"),r};var le=function(e,a,t){a=s.beADate(a,e);let r=!1;if(e.isAfter(a)){let t=e;e=a,a=t,r=!0}let n=ue(e,a);return r&&(n=function(e){return Object.keys(e).forEach((a=>{e[a]*=-1})),e}(n)),t?(t=s.normalize(t),!0!==/s$/.test(t)&&(t+="s"),"dates"===t&&(t="days"),n[t]):n};const de={months:{almost:10,over:4},days:{almost:25,over:10},hours:{almost:20,over:8},minutes:{almost:50,over:20},seconds:{almost:50,over:20}};function ye(e,a){return 1===e&&(a=a.slice(0,-1)),e+" "+a}var pe=(e,a)=>{const t=function(e,a){const t=e.isBefore(a),r=t?a:e;let n=t?e:a;n=n.clone();const s={years:0,months:0,days:0,hours:0,minutes:0,seconds:0};return Object.keys(s).forEach((e=>{if(n.isSame(r,e))return;let a=n.diff(r,e);n=n.add(a,e),s[e]=a})),t&&Object.keys(s).forEach((e=>{0!==s[e]&&(s[e]*=-1)})),s}(e,a=s.beADate(a,e));if(!0===Object.keys(t).every((e=>!t[e])))return{diff:t,rounded:"now",qualified:"now",precise:"now"};let r,n,o,c=[];return Object.keys(t).forEach(((e,a,s)=>{const o=Math.abs(t[e]);if(0===o)return;const i=ye(o,e);if(c.push(i),!r){if(r=n=i,a>4)return;const c=s[a+1],f=Math.abs(t[c]);f>de[c].almost?(r=ye(o+1,e),n="almost "+r):f>de[c].over&&(n="over "+i)}})),o=c.splice(0,2).join(", "),!0===e.isAfter(a)?(r+=" ago",n+=" ago",o+=" ago"):(r="in "+r,n="in "+n,o="in "+o),{diff:t,rounded:r,qualified:n,precise:o}},ge={north:[["spring",2,1],["summer",5,1],["fall",8,1],["autumn",8,1],["winter",11,1]],south:[["fall",2,1],["autumn",2,1],["winter",5,1],["spring",8,1],["summer",11,1]]},be=[null,[0,1],[3,1],[6,1],[9,1]];const ke={minute:e=>($(e,{second:0,millisecond:0}),e),quarterhour:e=>{let a=e.minutes();return e=a>=45?e.minutes(45):a>=30?e.minutes(30):a>=15?e.minutes(15):e.minutes(0),$(e,{second:0,millisecond:0}),e},hour:e=>($(e,{minute:0,second:0,millisecond:0}),e),day:e=>($(e,{hour:0,minute:0,second:0,millisecond:0}),e),week:e=>{let a=e.clone();return(e=e.day(e._weekStart)).isAfter(a)&&(e=e.subtract(1,"week")),$(e,{hour:0,minute:0,second:0,millisecond:0}),e},month:e=>($(e,{date:1,hour:0,minute:0,second:0,millisecond:0}),e),quarter:e=>{let a=e.quarter();return be[a]&&$(e,{month:be[a][0],date:be[a][1],hour:0,minute:0,second:0,millisecond:0}),e},season:e=>{let a=e.season(),t="north";"South"===e.hemisphere()&&(t="south");for(let r=0;r<ge[t].length;r++)if(ge[t][r][0]===a){let n=e.year();return"winter"===a&&e.month()<3&&(n-=1),$(e,{year:n,month:ge[t][r][1],date:ge[t][r][2],hour:0,minute:0,second:0,millisecond:0}),e}return e},year:e=>($(e,{month:0,date:1,hour:0,minute:0,second:0,millisecond:0}),e),decade:e=>{let a=(e=e.startOf("year")).year(),t=10*parseInt(a/10,10);return e=e.year(t)},century:e=>{let a=(e=e.startOf("year")).year(),t=100*parseInt(a/100,10);return e=e.year(t)}};ke.date=ke.day;var we=(e,a)=>{let t=e.clone();return a=s.normalize(a),ke[a]?ke[a](t):"summer"===a||"winter"===a?(t=t.season(a),ke.season(t)):t},ve=(e,a)=>{let t=e.clone();return a=s.normalize(a),ke[a]?(t=ke[a](t),t=t.add(1,a),t=t.subtract(1,"milliseconds"),t):t};var ze=function(e,a="",t){if(!a||!t)return[];if(a=s.normalize(a),t=e.clone().set(t),e.isAfter(t)){let a=e;e=t,t=a}let r=e.clone();!function(e){return!!W().find((a=>a===e))||!!V().find((a=>a===e))}(a)?r=r.next(a):(r=r.next(a),a="week");let n=[];for(;r.isBefore(t);)n.push(r),r=r.add(1,a);return n};const _e=p.informal,je={"-8":"america/anchorage","-7":"america/los_angeles","-6":"america/denver","-5":"america/chicago","-4":"america/new_york","-3":"america/halifax",0:"etc/gmt",1:"europe/lisbon",2:"europe/berlin",8:"asia/shanghai"},Oe={"-3":"america/sao_paulo",0:"etc/gmt",1:"africa/lagos",2:"africa/johannesburg",3:"africa/nairobi",10:"australia/brisbane",12:"pacific/auckland"},De={"europe/belfast":!0,"europe/dublin":!0,"europe/guernsey":!0,"europe/jersey":!0},$e=(e,a)=>e[1]&&!0===a.current.isDST?e[1].toUpperCase():e[0]?e[0].toUpperCase():null;var qe=(e,a)=>{if(_e.hasOwnProperty(e)){let t=$e(_e[e],a);if(null!==t)return t}let t=String(a.default_offset),r=((e,a)=>De.hasOwnProperty(e)?"1"===a?"BST":"GMT":null)(e,t);if(r)return r;if("North"===a.hemisphere&&je.hasOwnProperty(t)){let e=je[t];return $e(_e[e],a)||""}if("South"===a.hemisphere&&Oe.hasOwnProperty(t)){let e=Oe[t];return $e(_e[e],a)||""}return""};var Pe=e=>{let a=e.timezones,t=e.tz;if(!1===a.hasOwnProperty(t)&&(t=z(e.tz,a)),null===t)return!1===e.silent&&console.warn("Warn: could not find given or local timezone - '"+e.tz+"'"),{current:{epochShift:0}};let r=a[t],n={name:(s=t,s=(s=(s=s[0].toUpperCase()+s.substr(1)).replace(/\/gmt/,"/GMT")).replace(/[\/_]([a-z])/gi,(e=>e.toUpperCase()))),hasDst:Boolean(r.dst),default_offset:r.offset,hemisphere:"s"===r.hem?"South":"North",current:{}};var s,o;if(n.hasDst){let e=(o=r.dst)?o.split("->"):[];n.change={start:e[0],back:e[1]}}let i=r.offset,f=i;return!0===n.hasDst&&(f="North"===n.hemisphere?i-1:r.offset+1),!1===n.hasDst?(n.current.offset=i,n.current.isDST=!1):!0===c(e.epoch,n.change.start,n.change.back,i)?(n.current.offset=i,n.current.isDST="North"===n.hemisphere):(n.current.offset=f,n.current.isDST="South"===n.hemisphere),n.display=qe(t,n),n};const Me={set:function(e,a){let t=this.clone();return t=G(t,e),a&&(this.tz=z(a)),t},timezone:function(){return Pe(this)},isDST:function(){return Pe(this).current.isDST},hasDST:function(){return Pe(this).hasDst},offset:function(){return 60*Pe(this).current.offset},hemisphere:function(){return Pe(this).hemisphere},format:function(e){return ee(this,e)},unixFmt:function(e){return se(this,e)},startOf:function(e){return we(this,e)},endOf:function(e){return ve(this,e)},leapYear:function(){let e=this.year();return s.isLeapYear(e)},progress:function(e){return ie(this,e)},nearest:function(e){return fe(this,e)},diff:function(e,a){return le(this,e,a)},since:function(e){return e||(e=this.clone().set()),pe(this,e)},next:function(e){return this.add(1,e).startOf(e)},last:function(e){return this.subtract(1,e).startOf(e)},isValid:function(){return!(!this.epoch&&0!==this.epoch)&&!isNaN(this.d.getTime())},goto:function(e){let a=this.clone();return a.tz=z(e,a.timezones),a},every:function(e,a){return ze(this,e,a)},isAwake:function(){let e=this.hour();return!(e<8||e>22)},isAsleep:function(){return!this.isAwake()},log:function(){return console.log(""),console.log(ee(this,"nice-short")),this},logYear:function(){return console.log(""),console.log(ee(this,"full-short")),this},debug:function(){let e=this.timezone(),a=this.format("MM")+" "+this.format("date-ordinal")+" "+this.year();return a+="\n - "+this.format("time"),console.log("\n\n",a+"\n - "+e.name+" ("+e.current.offset+")"),this},from:function(e){return(e=this.clone().set(e)).since(this)},fromNow:function(){return this.clone().set(Date.now()).since(this)},weekStart:function(e){if("number"==typeof e)return this._weekStart=e,this;if("string"==typeof e){e=e.toLowerCase().trim();let a=W().indexOf(e);-1===a&&(a=V().indexOf(e)),-1===a&&(a=1),this._weekStart=a}else console.warn("Spacetime Error: Cannot understand .weekStart() input:",e);return this}};Me.inDST=Me.isDST,Me.round=Me.nearest,Me.each=Me.every;var Se=Me;const Ce=e=>("string"==typeof e&&(e=parseInt(e,10)),e),xe=["year","month","date","hour","minute","second","millisecond"],Ee=(e,a,t)=>{let r=xe.indexOf(t),n=xe.slice(r,xe.length);for(let t=0;t<n.length;t++){let r=a[n[t]]();e[n[t]](r)}return e};var Te=(e,a)=>{a=Ce(a);let t=e.millisecond()-a;return e.epoch-t},Ie=(e,a)=>{a=Ce(a);let t=(e.second()-a)*j.second;return e.epoch-t},Ae=(e,a)=>{a=Ce(a);let t=e.clone(),r=(e.minute()-a)*j.minute;return e.epoch-=r,Ee(e,t,"second"),e.epoch},Ye=(e,a)=>{(a=Ce(a))>=24?a=24:a<0&&(a=0);let t=e.clone(),r=(e.hour()-a)*j.hour;return e.epoch-=r,$(e,{hour:a}),Ee(e,t,"minute"),e.epoch},Ne=(e,a)=>{let t=a.match(/([0-9]{1,2}):([0-9]{1,2})(am|pm)?/);if(!t){if(t=a.match(/([0-9]{1,2})(am|pm)/),!t)return e.epoch;t.splice(2,0,"0")}let r=!1,n=parseInt(t[1],10),s=parseInt(t[2],10);return n>12&&(r=!0),!1===r&&("am"===t[3]&&12===n&&(n=0),"pm"===t[3]&&n<12&&(n+=12)),(e=(e=(e=(e=e.hour(n)).minute(s)).second(0)).millisecond(0)).epoch},Le=(e,a)=>{if((a=Ce(a))>28){const t=I[e.month()];a>t&&(a=t)}return a<=0&&(a=1),$(e,{date:a}),e.epoch},Fe=(e,a)=>{"string"==typeof a&&(a=C()[a.toLowerCase()]),(a=Ce(a))>=12&&(a=11),a<=0&&(a=0);let t=e.date();return t>I[a]&&(t=I[a]),$(e,{month:a,date:t}),e.epoch},Ze=(e,a)=>(a=Ce(a),$(e,{year:a}),e.epoch),He=(e,a)=>{a=Ce(a);let t=e.clone();return(a-=1)<=0?a=0:a>=365&&(a=364),e=(e=e.startOf("year")).add(a,"day"),Ee(e,t,"hour"),e.epoch};const Be={millisecond:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Te(a,e),a}return this.d.getMilliseconds()},second:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Ie(a,e),a}return this.d.getSeconds()},minute:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Ae(a,e),a}return this.d.getMinutes()},hour:function(e){let a=this.d;if(void 0!==e){let a=this.clone();return a.epoch=Ye(a,e),a}return a.getHours()},hourFloat:function(e){if(void 0!==e){let a=this.clone(),t=e%1;t*=60;let r=parseInt(e,10);return a.epoch=Ye(a,r),a.epoch=Ae(a,t),a}let a=this.d,t=a.getHours(),r=a.getMinutes();return r/=60,t+r},hour12:function(e){let a=this.d;if(void 0!==e){let a=this.clone(),t=(e=""+e).match(/^([0-9]+)(am|pm)$/);if(t){let e=parseInt(t[1],10);"pm"===t[2]&&(e+=12),a.epoch=Ye(a,e)}return a}let t=a.getHours();return t>12&&(t-=12),0===t&&(t=12),t},time:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Ne(a,e),a}return`${this.h12()}:${s.zeroPad(this.minute())}${this.ampm()}`},ampm:function(e){let a="am",t=this.hour();if(t>=12&&(a="pm"),"string"!=typeof e)return a;let r=this.clone();return e=e.toLowerCase().trim(),t>=12&&"am"===e?(t-=12,r.hour(t)):t<12&&"pm"===e?(t+=12,r.hour(t)):r},dayTime:function(e){if(void 0!==e){const a={morning:"7:00am",breakfast:"7:00am",noon:"12:00am",lunch:"12:00pm",afternoon:"2:00pm",evening:"6:00pm",dinner:"6:00pm",night:"11:00pm",midnight:"23:59pm"};let t=this.clone();return e=(e=e||"").toLowerCase(),!0===a.hasOwnProperty(e)&&(t=t.time(a[e])),t}let a=this.hour();return a<6?"night":a<12?"morning":a<17?"afternoon":a<22?"evening":"night"},iso:function(e){return void 0!==e?this.set(e):this.format("iso")}};var Ge=Be;const Qe=e=>e=(e=(e=e.minute(0)).second(0)).millisecond(1),Ue={date:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Le(a,e),a}return this.d.getDate()},day:function(e){if(void 0===e)return this.d.getDay();let a=this.clone(),t=e;"string"==typeof e&&(e=e.toLowerCase(),t=W().indexOf(e),-1===t&&(t=V().indexOf(e)));let r=this.d.getDay()-t,n=this.subtract(24*r,"hours");return $(n,{hour:a.hour(),minute:a.minute(),second:a.second()}),n},dayName:function(e){if(void 0===e)return V()[this.day()];let a=this.clone();return a=a.day(e),a},week:function(e){if(void 0!==e){let a=this.clone();return a=a.month(0),a=a.date(1),a=a.day("monday"),a=Qe(a),"december"===a.monthName()&&(a=a.add(1,"week")),e-=1,a=a.add(e,"weeks"),a}let a=this.clone();a=a.month(0),a=a.date(1),a=Qe(a),a=a.day("monday"),"december"===a.monthName()&&(a=a.add(1,"week"));const t=this.epoch;if(a.epoch>t)return 1;for(let e=0;e<52;e++){if(a.epoch>t)return e;a=a.add(1,"week")}return 52},month:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Fe(a,e),a}return this.d.getMonth()}};var We=Ue;const Ve={dayOfYear:function(e){if(void 0!==e){let a=this.clone();return a.epoch=He(a,e),a}let a,t=0,r=this.d.getMonth();for(let e=1;e<=r;e++)a=new Date,a.setDate(1),a.setYear(this.d.getFullYear()),a.setHours(1),a.setMinutes(1),a.setMonth(e),a.setHours(-2),t+=a.getDate();return t+this.d.getDate()},monthName:function(e){if(void 0===e)return S()[this.month()];let a=this.clone();return a=a.month(e),a},quarter:function(e){if(void 0!==e&&("string"==typeof e&&(e=e.replace(/^q/i,""),e=parseInt(e,10)),be[e])){let a=this.clone(),t=be[e][0];return a=a.month(t),a=a.date(1),a=a.startOf("day"),a}let a=this.d.getMonth();for(let e=1;e<be.length;e++)if(a<be[e][0])return e-1;return 4},season:function(e){let a="north";if("South"===this.hemisphere()&&(a="south"),void 0!==e){let t=this.clone();for(let r=0;r<ge[a].length;r++)e===ge[a][r][0]&&(t=t.month(ge[a][r][1]),t=t.date(1),t=t.startOf("day"));return t}let t=this.d.getMonth();for(let e=0;e<ge[a].length-1;e++)if(t>=ge[a][e][1]&&t<ge[a][e+1][1])return ge[a][e][0];return"winter"},year:function(e){if(void 0!==e){let a=this.clone();return a.epoch=Ze(a,e),a}return this.d.getFullYear()},era:function(e){if(void 0!==e){let a=this.clone();e=e.toLowerCase();let t=a.d.getFullYear();return"bc"===e&&t>0&&(a.epoch=Ze(a,-1*t)),"ad"===e&&t<0&&(a.epoch=Ze(a,-1*t)),a}return this.d.getFullYear()<0?"BC":"AD"}};var Je=Ve;const Ke=Object.assign({},Ge,We,Je);Ke.milliseconds=Ke.millisecond,Ke.seconds=Ke.second,Ke.minutes=Ke.minute,Ke.hours=Ke.hour,Ke.hour24=Ke.hour,Ke.h12=Ke.hour12,Ke.h24=Ke.hour24,Ke.days=Ke.day;var Re=e=>{Object.keys(Ke).forEach((a=>{e.prototype[a]=Ke[a]}))};const Xe=["millisecond","second","minute","hour","date","month"];let ea={second:Xe.slice(0,1),minute:Xe.slice(0,2),quarterhour:Xe.slice(0,2),hour:Xe.slice(0,3),date:Xe.slice(0,4),month:Xe.slice(0,4),quarter:Xe.slice(0,4),season:Xe.slice(0,4),year:Xe,decade:Xe,century:Xe};ea.week=ea.hour,ea.season=ea.date,ea.quarter=ea.date;const aa={year:!0,quarter:!0,season:!0,month:!0,week:!0,day:!0},ta={month:!0,quarter:!0,season:!0,year:!0};var ra=e=>{e.prototype.add=function(e,a){let t=this.clone();if(!a||0===e)return t;let r=this.clone();a=s.normalize(a),j[a]?t.epoch+=j[a]*e:"week"===a?t.epoch+=j.day*(7*e):"quarter"===a||"season"===a||"season"===a?t.epoch+=j.month*(4*e):"quarterhour"===a&&(t.epoch+=15*j.minute*e);let n={};if(ea[a]&&ea[a].forEach((e=>{n[e]=r[e]()})),aa[a]){const e=r.timezone().current.offset-t.timezone().current.offset;t.epoch+=3600*e*1e3}if("month"===a&&(n.month=r.month()+e,n=((e,a)=>{if(e.month>0){let t=parseInt(e.month/12,10);e.year=a.year()+t,e.month=e.month%12}else if(e.month<0){let t=Math.floor(Math.abs(e.month)/13,10);t=Math.abs(t)+1,e.year=a.year()-t,e.month=e.month%12,e.month=e.month+12,12===e.month&&(e.month=0)}return e})(n,r)),"week"===a){let a=r.date()+7*e;a<=28&&a>1&&(n.date=a)}else if("date"===a){let a=r.date()+e;a<=28&&a>1?n.date=a:0!==e&&r.isSame(t,"day")&&(n.date=r.date()+e)}else"year"===a&&t.year()===r.year()?t.epoch+=j.week:"decade"===a?n.year=t.year()+10:"century"===a&&(n.year=t.year()+100);if(ta[a]){let e=I[n.month];n.date=r.date(),n.date>e&&(n.date=e)}return $(t,n),t},e.prototype.subtract=function(e,a){return this.clone().add(-1*e,a)},e.prototype.minus=e.prototype.subtract,e.prototype.plus=e.prototype.add};const na={millisecond:e=>e.epoch,second:e=>[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second()].join("-"),minute:e=>[e.year(),e.month(),e.date(),e.hour(),e.minute()].join("-"),hour:e=>[e.year(),e.month(),e.date(),e.hour()].join("-"),day:e=>[e.year(),e.month(),e.date()].join("-"),week:e=>[e.year(),e.week()].join("-"),month:e=>[e.year(),e.month()].join("-"),quarter:e=>[e.year(),e.quarter()].join("-"),year:e=>e.year()};na.date=na.day;var sa=e=>{e.prototype.isSame=function(a,t){let r=this;return t?("string"!=typeof a&&"number"!=typeof a||(a=new e(a,this.timezone.name)),t=t.replace(/s$/,""),na[t]?na[t](r)===na[t](a):null):null}};var oa=e=>{const a={isAfter:function(e){e=s.beADate(e,this);let a=s.getEpoch(e);return null===a?null:this.epoch>a},isBefore:function(e){e=s.beADate(e,this);let a=s.getEpoch(e);return null===a?null:this.epoch<a},isEqual:function(e){e=s.beADate(e,this);let a=s.getEpoch(e);return null===a?null:this.epoch===a},isBetween:function(e,a){e=s.beADate(e,this),a=s.beADate(a,this);let t=s.getEpoch(e);if(null===t)return null;let r=s.getEpoch(a);return null===r?null:t<this.epoch&&this.epoch<r}};Object.keys(a).forEach((t=>{e.prototype[t]=a[t]}))};var ca=e=>{const a={i18n:e=>{s.isObject(e.days)&&J(e.days),s.isObject(e.months)&&x(e.months)}};Object.keys(a).forEach((t=>{e.prototype[t]=a[t]}))};let ia=l;const fa=function(e,a,t={}){if(this.epoch=null,this.tz=z(a,ia),this.silent=t.silent||!0,this._weekStart=1,void 0!==t.weekStart&&(this._weekStart=t.weekStart),Object.defineProperty(this,"d",{get:function(){let e=f(this),a=(new Date(this.epoch).getTimezoneOffset()||0)+60*e;a=60*a*1e3;let t=this.epoch+a;return new Date(t)}}),Object.defineProperty(this,"timezones",{get:()=>ia,set:e=>(ia=e,e)}),void 0!==e||null===e){let t=G(this,e,a);this.epoch=t.epoch}};Object.keys(Se).forEach((e=>{fa.prototype[e]=Se[e]})),fa.prototype.clone=function(){return new fa(this.epoch,this.tz,{silent:this.silent,weekStart:this._weekStart})},Re(fa),ra(fa),sa(fa),oa(fa),ca(fa);var ma=fa;var ha=(e,a)=>{let t=new ma(null),r=new ma(null);t=t.time(e),r=a?r.time(a):t.add(59,"minutes");let n=t.hour(),s=r.hour();return Object.keys(t.timezones).filter((e=>{if(-1===e.indexOf("/"))return!1;let a=new ma(null,e),o=a.hour();return o>=n&&o<=s&&(!(o===n&&a.minute()<t.minute())&&!(o===s&&a.minute()>r.minute()))}))};const ua=(e,a,t)=>new ma(e,a,t);ua.now=(e,a)=>new ma((new Date).getTime(),e,a),ua.today=(e,a)=>new ma((new Date).getTime(),e,a).startOf("day"),ua.tomorrow=(e,a)=>new ma((new Date).getTime(),e,a).add(1,"day").startOf("day"),ua.yesterday=(e,a)=>new ma((new Date).getTime(),e,a).subtract(1,"day").startOf("day"),ua.extend=function(e){return Object.keys(e).forEach((a=>{ma.prototype[a]=e[a]})),this},ua.whereIts=ha,ua.version="5.10.0",ua.plugin=ua.extend;var la=ua;const da=t(),ya=r();function pa(e){for(let a in da)if(da.hasOwnProperty(a))for(let t in da[a])if(da[a].hasOwnProperty(t)&&(t===e||-1!==da[a][t].indexOf(e)))return{day:a,country:da[a][t]};for(let a in ya)if(ya.hasOwnProperty(a)&&-1!==ya[a].indexOf(e))return{day:"monday",location:e};return{}}function ga(e=""){let a;if(e&&"string"==typeof e||(e=null,a=la.now().tz),!e)return function(e){if(!e)return{message:"there are problems determine time zone"};for(let a in n)if(a===e)if(n[a].ctry||n[a].loc){if(n[a].loc)return pa(n[a].loc);if(n[a].ctry)return pa(n[a].ctry)}else{let e=pa(a.substr(0,a.indexOf("/")));if(e)return e;if(e=pa(a.substr(a.indexOf("/")+1).replace("_"," ")),e)return e}return null}(a);if(e){let a=pa(e.toLowerCase().trim());return a||ga()}return null}var ba={weekStart:function(e){return ga(e=e||this.timezone().name)}};return ba}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* spencermountain/spacetime-week-start 0.
|
|
1
|
+
/* spencermountain/spacetime-week-start 0.3.0 Apache 2.0 */
|
|
2
2
|
let loc$1 = {
|
|
3
3
|
c009: 'antarctica',
|
|
4
4
|
c011: 'arctic',
|
|
@@ -3521,7 +3521,7 @@ const walk = (s, n, fn, unit, previous) => {
|
|
|
3521
3521
|
//find the desired date by a increment/check while loop
|
|
3522
3522
|
const units = {
|
|
3523
3523
|
year: {
|
|
3524
|
-
valid: n => n > -
|
|
3524
|
+
valid: n => n > -4e3 && n < 4000,
|
|
3525
3525
|
walkTo: (s, n) => walk(s, n, 'getFullYear', 'year', null)
|
|
3526
3526
|
},
|
|
3527
3527
|
month: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spacetime-week-start",
|
|
3
3
|
"description": "calculate start-of-week",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"unpkg": "builds/spacetime-week-start.min.js",
|
|
7
7
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"url": "git+https://github.com/spencermountain/spacetime.git"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"watch": "
|
|
23
|
+
"watch": "node --watch ./scratch.js",
|
|
24
24
|
"test": "TESTENV=dev tape ./test/**/*.test.js | tap-dancer",
|
|
25
25
|
"build": "rollup -c --silent"
|
|
26
26
|
},
|
|
@@ -32,14 +32,13 @@
|
|
|
32
32
|
"printWidth": 100
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"amble": "1.3.0",
|
|
36
35
|
"shelljs": "0.8.5",
|
|
37
36
|
"tap-dancer": "0.3.4",
|
|
38
37
|
"tape": "5.5.3",
|
|
39
|
-
"terser": "5.
|
|
38
|
+
"terser": "5.39.0"
|
|
40
39
|
},
|
|
41
40
|
"peerDependencies": {
|
|
42
|
-
"spacetime": "
|
|
41
|
+
"spacetime": ">=5.8.2"
|
|
43
42
|
},
|
|
44
43
|
"licence": "MIT"
|
|
45
44
|
}
|
package/rollup.config.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import fs from 'fs'
|
|
1
2
|
import commonjs from 'rollup-plugin-commonjs'
|
|
2
3
|
import json from 'rollup-plugin-json'
|
|
3
4
|
import { terser } from 'rollup-plugin-terser'
|
|
4
5
|
import resolve from 'rollup-plugin-node-resolve'
|
|
5
6
|
import sizeCheck from 'rollup-plugin-filesize-check'
|
|
6
|
-
|
|
7
|
+
let pkg = JSON.parse(fs.readFileSync('./package.json').toString())
|
|
8
|
+
const version = pkg.version
|
|
7
9
|
|
|
8
10
|
console.log('\n 📦 - running rollup..\n')
|
|
9
11
|
|