From b984a98b5b6fc8345d0a592c05ba7138a3d517c1 Mon Sep 17 00:00:00 2001 From: iOS Date: Sat, 29 Jun 2024 13:43:16 +0200 Subject: [PATCH] post srbn push --- .obsidian/plugins/cron/data.json | 2 +- .../obsidian-activity-history/data.json | 32 +- .obsidian/plugins/obsidian-commits/data.json | 332 ++++++++++++------ .../obsidian-reminder-plugin/data.json | 70 ++-- .../plugins/obsidian-tasks-plugin/main.js | 85 +++-- .../obsidian-tasks-plugin/manifest.json | 2 +- .obsidian/plugins/quickadd/data.json | 2 +- .obsidian/plugins/quickadd/main.js | 4 +- .obsidian/plugins/quickadd/manifest.json | 2 +- .obsidian/themes/Minimal/manifest.json | 2 +- .obsidian/themes/Minimal/theme.css | 2 +- .obsidian/workspace-mobile.json | 56 +-- 00.01 Admin/Calendars/2023-03-08.md | 2 +- 00.01 Admin/Calendars/2024-04-30.md | 2 +- 00.01 Admin/Calendars/2024-06-22.md | 4 +- 00.01 Admin/Calendars/2024-06-23.md | 136 +++++++ 00.01 Admin/Calendars/2024-06-24.md | 134 +++++++ 00.01 Admin/Calendars/2024-06-25.md | 134 +++++++ 00.01 Admin/Calendars/2024-06-26.md | 134 +++++++ 00.01 Admin/Calendars/2024-06-27.md | 136 +++++++ 00.01 Admin/Calendars/2024-06-28.md | 136 +++++++ 00.01 Admin/Calendars/2024-06-29.md | 134 +++++++ 00.02 Inbox/Blonde.md | 86 +++++ 00.02 Inbox/Carolyn et John.md | 86 +++++ 00.02 Inbox/Le Barman du Ritz.md | 86 +++++ ...e of Acting. It’s a Wonder to Behold..md | 87 +++++ ...y Advanced Civilization Hiding on Earth.md | 71 ++++ ...ring the VA’s Homeless Veteran Crisis.md | 41 +++ ...Set the Stage for Today’s Tragicomedy.md | 67 ++++ ...owering the Electric Vehicle Revolution.md | 267 ++++++++++++++ ...y, Secretive World of Glass-Eel Fishing.md | 211 +++++++++++ ...s. The Commissioner Buried Their Cases..md | 165 +++++++++ ... a Father of 16 Hire a Dark-Web Hit Man.md | 183 ++++++++++ .../Bookmarks - Travels & Sport.md | 3 +- 01.01 Life Orga/@Personal projects.md | 2 +- 01.02 Home/Household.md | 3 +- 01.03 Family/Amélie Solanet.md | 3 +- 01.06 Health/2024-04-03 STD Checkup.md | 58 +++ 01.06 Health/2024-06-28 Appointment.md | 58 +++ 01.06 Health/2024-06-29 Fungal treatment.md | 54 +++ 02.01 London/@@London.md | 3 +- 02.03 Zürich/Kafi Freud.md | 2 +- 03.04 Cinematheque/Kiss the Future (2023).md | 102 ++++++ 05.02 Networks/Configuring UFW.md | 6 +- 06.01 Finances/2024.ledger | 84 +++++ 45 files changed, 3025 insertions(+), 246 deletions(-) create mode 100644 00.01 Admin/Calendars/2024-06-23.md create mode 100644 00.01 Admin/Calendars/2024-06-24.md create mode 100644 00.01 Admin/Calendars/2024-06-25.md create mode 100644 00.01 Admin/Calendars/2024-06-26.md create mode 100644 00.01 Admin/Calendars/2024-06-27.md create mode 100644 00.01 Admin/Calendars/2024-06-28.md create mode 100644 00.01 Admin/Calendars/2024-06-29.md create mode 100644 00.02 Inbox/Blonde.md create mode 100644 00.02 Inbox/Carolyn et John.md create mode 100644 00.02 Inbox/Le Barman du Ritz.md create mode 100644 00.03 News/Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold..md create mode 100644 00.03 News/Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth.md create mode 100644 00.03 News/Home of the Brave Enduring the VA’s Homeless Veteran Crisis.md create mode 100644 00.03 News/How the Naughty ’90s Set the Stage for Today’s Tragicomedy.md create mode 100644 00.03 News/Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution.md create mode 100644 00.03 News/Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing.md create mode 100644 00.03 News/New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases..md create mode 100644 00.03 News/Why Did a Father of 16 Hire a Dark-Web Hit Man.md create mode 100644 01.06 Health/2024-04-03 STD Checkup.md create mode 100644 01.06 Health/2024-06-28 Appointment.md create mode 100644 01.06 Health/2024-06-29 Fungal treatment.md create mode 100644 03.04 Cinematheque/Kiss the Future (2023).md diff --git a/.obsidian/plugins/cron/data.json b/.obsidian/plugins/cron/data.json index cca4ab72..acf837d3 100644 --- a/.obsidian/plugins/cron/data.json +++ b/.obsidian/plugins/cron/data.json @@ -19,7 +19,7 @@ "601d1cc7-a4f3-4f19-aa9f-3bddd7ab6b1d": { "locked": false, "lockedDeviceName": "iPhone", - "lastRun": "2024-06-22T09:55:10+02:00" + "lastRun": "2024-06-29T08:48:49+02:00" } } } \ No newline at end of file diff --git a/.obsidian/plugins/obsidian-activity-history/data.json b/.obsidian/plugins/obsidian-activity-history/data.json index f7322aee..db7a7bbf 100644 --- a/.obsidian/plugins/obsidian-activity-history/data.json +++ b/.obsidian/plugins/obsidian-activity-history/data.json @@ -12,8 +12,8 @@ "checkpointList": [ { "path": "/", - "date": "2024-06-22", - "size": 16561774 + "date": "2024-06-29", + "size": 16766709 } ], "activityHistory": [ @@ -3591,6 +3591,34 @@ { "date": "2024-06-22", "value": 32375 + }, + { + "date": "2024-06-23", + "value": 171533 + }, + { + "date": "2024-06-24", + "value": 1498 + }, + { + "date": "2024-06-25", + "value": 1310 + }, + { + "date": "2024-06-26", + "value": 1315 + }, + { + "date": "2024-06-27", + "value": 3778 + }, + { + "date": "2024-06-28", + "value": 2211 + }, + { + "date": "2024-06-29", + "value": 23300 } ] } diff --git a/.obsidian/plugins/obsidian-commits/data.json b/.obsidian/plugins/obsidian-commits/data.json index 025bf009..c5708f6f 100644 --- a/.obsidian/plugins/obsidian-commits/data.json +++ b/.obsidian/plugins/obsidian-commits/data.json @@ -3195,7 +3195,7 @@ "links": 26 }, "00.08 Bookmarks/Bookmarks - Travels & Sport.md": { - "size": 2158, + "size": 2442, "tags": 0, "links": 5 }, @@ -12788,14 +12788,124 @@ "size": 877, "tags": 3, "links": 4 + }, + "00.01 Admin/Calendars/2024-06-23.md": { + "size": 1412, + "tags": 0, + "links": 7 + }, + "00.03 News/Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold..md": { + "size": 16427, + "tags": 4, + "links": 1 + }, + "00.03 News/Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth.md": { + "size": 5896, + "tags": 2, + "links": 1 + }, + "00.03 News/How the Naughty ’90s Set the Stage for Today’s Tragicomedy.md": { + "size": 9392, + "tags": 2, + "links": 1 + }, + "00.03 News/Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing.md": { + "size": 49371, + "tags": 3, + "links": 1 + }, + "00.03 News/Why Did a Father of 16 Hire a Dark-Web Hit Man.md": { + "size": 35050, + "tags": 3, + "links": 1 + }, + "00.03 News/Home of the Brave Enduring the VA’s Homeless Veteran Crisis.md": { + "size": 1288, + "tags": 3, + "links": 1 + }, + "00.03 News/Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution.md": { + "size": 53494, + "tags": 4, + "links": 1 + }, + "00.01 Admin/Calendars/2024-06-24.md": { + "size": 1412, + "tags": 0, + "links": 5 + }, + "00.01 Admin/Calendars/2024-06-25.md": { + "size": 1412, + "tags": 0, + "links": 5 + }, + "00.01 Admin/Calendars/2024-06-26.md": { + "size": 1412, + "tags": 0, + "links": 6 + }, + "00.01 Admin/Calendars/2024-06-27.md": { + "size": 1412, + "tags": 0, + "links": 7 + }, + "03.04 Cinematheque/Kiss the Future (2023).md": { + "size": 2329, + "tags": 1, + "links": 1 + }, + "00.01 Admin/Calendars/2024-06-28.md": { + "size": 1412, + "tags": 0, + "links": 7 + }, + "01.06 Health/2024-06-28 Appointment.md": { + "size": 795, + "tags": 2, + "links": 2 + }, + "00.01 Admin/Calendars/2024-06-29.md": { + "size": 1412, + "tags": 0, + "links": 4 + }, + "00.02 Inbox/Le Barman du Ritz.md": { + "size": 891, + "tags": 0, + "links": 1 + }, + "00.02 Inbox/Carolyn et John.md": { + "size": 894, + "tags": 0, + "links": 1 + }, + "00.02 Inbox/Blonde.md": { + "size": 882, + "tags": 0, + "links": 1 + }, + "00.03 News/New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases..md": { + "size": 17572, + "tags": 4, + "links": 1 + }, + "01.06 Health/2024-06-29 Fungal treatment.md": { + "size": 701, + "tags": 2, + "links": 2 + }, + "01.06 Health/2024-04-03 STD Checkup.md": { + "size": 658, + "tags": 1, + "links": 1 } }, "commitTypes": { "/": { - "Refactor": 10371, - "Create": 2750, - "Link": 12908, - "Expand": 2251 + "Refactor": 10383, + "Create": 2772, + "Link": 12953, + "Expand": 2256 } }, "dailyCommits": { @@ -12807,39 +12917,44 @@ "4": 46, "5": 16, "6": 73, - "7": 1044, - "8": 1224, - "9": 1188, - "10": 809, - "11": 610, + "7": 1054, + "8": 1229, + "9": 1199, + "10": 811, + "11": 612, "12": 6795, - "13": 727, + "13": 767, "14": 667, - "15": 706, - "16": 766, - "17": 894, + "15": 708, + "16": 769, + "17": 897, "18": 7453, "19": 1035, - "20": 919, - "21": 844, + "20": 922, + "21": 847, "22": 792, "23": 1392 } }, "weeklyCommits": { "/": { - "Mon": 3066, - "Tue": 1888, - "Wed": 8011, - "Thu": 1508, - "Fri": 1567, + "Mon": 3070, + "Tue": 1890, + "Wed": 8014, + "Thu": 1516, + "Fri": 1577, "Sat": 0, - "Sun": 12240 + "Sun": 12297 } }, "recentCommits": { "/": { "Expanded": [ + " 2024-04-03 STD Check Up ", + " 2024-06-29 Fungal treatment ", + " 2024-06-28 Appointment ", + " 2024-06-28 Appointment ", + " Bookmarks - Travels & Sport ", " 2024-06-17 Groom change ", " 2024-06-17 Groom change ", " Segundo Rubbo ", @@ -12885,14 +13000,31 @@ " Bookmarks - Investments ", " 2024-05-03 ", " Marguerite de Villeneuve ", - " Server Cloud ", - " 2024-04-30 ", - " @@Paris ", - " Gordana ", - " Household ", - " 2024-04-29 " + " Server Cloud " ], "Created": [ + " 2024-04-03 STD Check Up ", + " 2024-06-29 Fungal treatment ", + " New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases. ", + " Blonde ", + " Carolyn et John ", + " Le Barman du Ritz ", + " 2024-06-29 ", + " 2024-06-28 Appointment ", + " 2024-06-28 ", + " Kiss the Future (2023) ", + " 2024-06-27 ", + " 2024-06-26 ", + " 2024-06-25 ", + " 2024-06-24 ", + " Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution ", + " Home of the Brave Enduring the VA’s Homeless Veteran Crisis ", + " Why Did a Father of 16 Hire a Dark-Web Hit Man ", + " Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing ", + " How the Naughty ’90s Set the Stage for Today’s Tragicomedy ", + " Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth ", + " Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold. ", + " 2024-06-23 ", " Untitled ", " Untitled ", " 2024-06-22 ", @@ -12921,31 +13053,21 @@ " 2024-06-10 ", " ‘As Lonely as a Man Can Get’ The True Story of D-Day, as Told by Paratroopers ", " Justice Clarence Thomas Acknowledges He Should Have Disclosed Free Trips From Billionaire Donor ", - " 2024-06-09 ", - " 2024-06-08 ", - " 2024-06-07 ", - " 2024-06-06 ", - " 2024-06-05 ", - " 2024-06-04 ", - " Multiple Trump Witnesses Have Received Significant Financial Benefits From His Businesses, Campaign ", - " 2024-06-03 ", - " Inside the Savage, Surreal, Booming World of Professional Slap Fighting ", - " Buying Baja Hakai Magazine ", - " The Insulin Empire Edward Ongweso Jr. & Athena Sofides ", - " 2024-06-02 ", - " 2024-06-01 ", - " 2024-05-31 ", - " 2024-05-30 ", - " 2024-05-29 ", - " 2024-05-28 ", - " 2024-05-27 ", - " 2024-05-25 Zürich Low Goal Championship ", - " 2024-05-26 ", - " Untitled ", - " 2024-05-25 ", - " Untitled " + " 2024-06-09 " ], "Renamed": [ + " 2024-04-03 STD Checkup ", + " 2024-04-03 STD Check Up ", + " 2024-06-29 Fungal treatment ", + " New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases. ", + " 2024-06-28 Appointment ", + " Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution ", + " Home of the Brave Enduring the VA’s Homeless Veteran Crisis ", + " Why Did a Father of 16 Hire a Dark-Web Hit Man ", + " Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing ", + " How the Naughty ’90s Set the Stage for Today’s Tragicomedy ", + " Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth ", + " Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold. ", " 2024-06-17 Groom change ", " Segundo Rubbo ", " What a Leading State Auditor Says About Fraud, Government Misspending and Building Public Trust ", @@ -12984,21 +13106,22 @@ " The elections next door Mexico’s cartels pick candidates, kill rivals ", " 52,529 guns once owned by police departments have been later used in crimes, new data finds ", " The Local Girls Who Inspired the Hollywood Classic “Mean Girls” ", - " Sexism, cheating, and nightclubs inside the dark heart of modern chess ", - " 2024-04-20 Naissance de Dorothee ", - " Actual Life 3 (January 1 - September 9 2022) (by Fred again - 2022) ", - " Qui sème le vent récolte le tempo (by MC Solaar - 1991) ", - " Oracular Spectacular (by MGMT - 2007) ", - " Former Far-Right Hard-Liner Says Billionaires Are Using School Board Races to Sow Distrust in Public Education ", - " IRS Audit of Trump Could Cost Former President More Than $100 Million ", - " A 19-year-old Stanford phenom is blazing a new trail from Japan to the majors ", - " The professor, the caregiver and the missing $30 million ", - "", - " How a Miami Student’s Package Scam Came Crashing Down ", - " Hotel Alex ", - " Breakfast Stromboli " + " Sexism, cheating, and nightclubs inside the dark heart of modern chess " ], "Tagged": [ + " 2024-04-03 STD Check Up ", + " 2024-06-29 Fungal treatment ", + " New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases. ", + " 2024-06-28 Appointment ", + " Kiss the Future (2023) ", + " Home of the Brave Enduring the VA’s Homeless Veteran Crisis ", + " Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution ", + " Home of the Brave Enduring the VA’s Homeless Veteran Crisis ", + " Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing ", + " Why Did a Father of 16 Hire a Dark-Web Hit Man ", + " Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth ", + " How the Naughty ’90s Set the Stage for Today’s Tragicomedy ", + " Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold. ", " 2024-06-17 Groom change ", " Juan Bautista Bossio ", " Segundo Rubbo ", @@ -13036,20 +13159,7 @@ " Sexism, cheating, and nightclubs inside the dark heart of modern chess ", " The Local Girls Who Inspired the Hollywood Classic “Mean Girls” ", " Sexism, cheating, and nightclubs inside the dark heart of modern chess ", - " Sexism, cheating, and nightclubs inside the dark heart of modern chess ", - " 2024-04-20 Naissance de Dorothee ", - " Qui sème le vent récolte le tempo (by MC Solaar - 1991) ", - " Actual Life 3 (January 1 - September 9 2022) (by Fred again - 2022) ", - " Oracular Spectacular (by MGMT - 2007) ", - " IRS Audit of Trump Could Cost Former President More Than $100 Million ", - " Former Far-Right Hard-Liner Says Billionaires Are Using School Board Races to Sow Distrust in Public Education ", - " A 19-year-old Stanford phenom is blazing a new trail from Japan to the majors ", - "", - " The professor, the caregiver and the missing $30 million ", - "", - " How a Miami Student’s Package Scam Came Crashing Down ", - " Hotel Alex ", - " Lemon Zucchini Muffins " + " Sexism, cheating, and nightclubs inside the dark heart of modern chess " ], "Refactored": [ " The Local Girls Who Inspired the Hollywood Classic “Mean Girls” ", @@ -13158,6 +13268,38 @@ " These three brothers scammed their investors out of $233 million. Then they lived like kings " ], "Linked": [ + " 2024-04-03 STD Check Up ", + " 2024-06-29 Fungal treatment ", + " New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases. ", + " Blonde ", + " Le Barman du Ritz ", + " Carolyn et John ", + " 2024-06-29 ", + " 2024-06-28 ", + " 2024-06-28 ", + " 2024-06-28 Appointment ", + " 2024-06-28 Appointment ", + " 2024-06-28 ", + " 2024-06-27 ", + " Kiss the Future (2023) ", + " 2024-06-27 ", + " 2024-06-27 ", + " 2024-06-26 ", + " 2024-06-26 ", + " 2024-06-25 ", + " 2024-06-25 ", + " 2024-06-24 ", + " 2024-06-24 ", + " 2024-06-23 ", + " Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution ", + " Home of the Brave Enduring the VA’s Homeless Veteran Crisis ", + " Why Did a Father of 16 Hire a Dark-Web Hit Man ", + " Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing ", + " How the Naughty ’90s Set the Stage for Today’s Tragicomedy ", + " Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth ", + " Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold. ", + " 2024-06-23 ", + " 2024-06-23 ", " 2024-06-22 ", " The Local Girls Who Inspired the Hollywood Classic “Mean Girls” ", " 2024-06-17 Groom change ", @@ -13176,39 +13318,7 @@ " 2024-06-19 ", " 2024-06-18 ", " 2024-06-18 ", - " The big idea can you inherit memories from your ancestors ", - " 2024-06-17 ", - " Nausicaä of the Valley of the Wind (1984) ", - " Spirited Away (2001) ", - " Tonari no Totoro (1988) ", - " Kurenai no Buta (1992) ", - " Nausicaä of the Valley of the Wind (1984) ", - " Kurenai no Buta (1992) ", - " 2024-06-16 ", - " Tonari no Totoro (1988) ", - " The Worm Charmers ", - " How the Fridge Changed Flavor ", - " Jerry West, as a player and exec, sustained excellence during a lifetime of emotional struggle ", - " The Excel superstars throw down in Vegas ", - " I Was the Person Who Named the ‘Brat Pack’ - I Stand By It ", - " ‘The Death of Slim Shady’ or Not, You Can’t Kill Eminem. Not Really. ", - " 2024-06-16 ", - " 2024-06-16 ", - " Whistleblower Says Microsoft Dismissed Warnings About a Security Flaw That Russians Later Used to Hack U.S. Government ", - " 2024-06-15 ", - " Mumbo Jumbo ", - " 2024-06-14 ", - " 2024-06-13 ", - " Vital City Jimmy Breslin and the Lost Rhythm of New York ", - " I have little time left. I hope my goodbye inspires you. ", - " Inside the Glorious Afterlife of Roger Federer ", - "", - " 2024-06-12 ", - " IRS Audit of Trump Could Cost Former President More Than $100 Million ", - " 2024-06-12 ", - " Toxic Gaslighting How 3M Executives Convinced a Scientist the Forever Chemicals She Found in Human Blood Were Safe ", - " 2024-06-11 ", - " 2024-06-11 " + " The big idea can you inherit memories from your ancestors " ], "Removed Tags from": [ " Juan Bautista Bossio ", diff --git a/.obsidian/plugins/obsidian-reminder-plugin/data.json b/.obsidian/plugins/obsidian-reminder-plugin/data.json index a1d102fb..89d39d76 100644 --- a/.obsidian/plugins/obsidian-reminder-plugin/data.json +++ b/.obsidian/plugins/obsidian-reminder-plugin/data.json @@ -327,50 +327,50 @@ } ], "01.02 Home/Household.md": [ - { - "title": "♻ [[Household]]: *Cardboard* recycling collection %%done_del%%", - "time": "2024-06-25", - "rowNumber": 79 - }, { "title": "🛎️ :house: [[Household]]: Pay rent %%done_del%%", "time": "2024-06-30", - "rowNumber": 88 + "rowNumber": 89 }, { "title": "🛎 🧻 REMINDER [[Household]]: check need for toilet paper %%done_del%%", "time": "2024-07-01", - "rowNumber": 90 + "rowNumber": 91 }, { "title": "♻ [[Household]]: *Paper* recycling collection %%done_del%%", "time": "2024-07-02", "rowNumber": 75 }, + { + "title": "♻ [[Household]]: *Cardboard* recycling collection %%done_del%%", + "time": "2024-07-09", + "rowNumber": 79 + }, { "title": ":blue_car: [[Household]]: Change to Winter tyres @ [[Rex Automobile CH]] %%done_del%%", "time": "2024-10-15", - "rowNumber": 100 + "rowNumber": 101 }, { "title": ":ski: [[Household]]: Organise yearly ski servicing ([[Ski Rental Zürich]]) %%done_del%%", "time": "2024-10-31", - "rowNumber": 109 + "rowNumber": 110 }, { "title": ":blue_car: [[Household]]: Clean car %%done_del%%", "time": "2024-11-30", - "rowNumber": 102 + "rowNumber": 103 }, { "title": ":blue_car: [[Household]]: Renew [road vignette](https://www.e-vignette.ch/) %%done_del%%", "time": "2024-12-20", - "rowNumber": 101 + "rowNumber": 102 }, { "title": ":blue_car: [[Household]]: Change to Summer tyres @ [[Rex Automobile CH]] %%done_del%%", "time": "2025-04-15", - "rowNumber": 99 + "rowNumber": 100 } ], "01.03 Family/Pia Bousquié.md": [ @@ -410,16 +410,16 @@ } ], "01.01 Life Orga/@Personal projects.md": [ - { - "title": ":fleur_de_lis: [[@Personal projects|Personal projects]]: Continue [[@lebv.org Tasks|lebv.org]]", - "time": "2024-06-28", - "rowNumber": 79 - }, { "title": "🖋 [[@Personal projects|Personal projects]]: Caligraph & frame life mementos", "time": "2024-06-30", "rowNumber": 78 }, + { + "title": ":fleur_de_lis: [[@Personal projects|Personal projects]]: Continue [[@lebv.org Tasks|lebv.org]]", + "time": "2024-11-28", + "rowNumber": 79 + }, { "title": ":fork_and_knife: [[@Personal projects|Personal projects]]: Rechercher à créer un set Christofle (80e les 6 couteaux; 120e les 6 autres aux Puces)", "time": "2024-11-30", @@ -458,19 +458,19 @@ "05.02 Networks/Configuring UFW.md": [ { "title": "🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%%", - "time": "2024-06-29", + "time": "2024-07-06", "rowNumber": 239 }, { "title": "🖥 [[Selfhosting]], [[Configuring UFW|Firewall]]: Update the Blocked IP list %%done_del%%", - "time": "2024-06-29", - "rowNumber": 315 + "time": "2024-07-06", + "rowNumber": 316 } ], "01.03 Family/Amélie Solanet.md": [ { "title": ":birthday: **[[Amélie Solanet|Amélie]]** %%done_del%%", - "time": "2024-06-28", + "time": "2025-06-28", "rowNumber": 100 } ], @@ -533,7 +533,7 @@ "00.08 Bookmarks/Bookmarks - Travels & Sport.md": [ { "title": ":label: [[Bookmarks - Travels & Sport]]: review bookmarks %%done_del%%", - "time": "2024-06-23", + "time": "2024-09-23", "rowNumber": 126 } ], @@ -618,15 +618,15 @@ } ], "02.01 London/@@London.md": [ - { - "title": ":birthday: **Stefan Schmidt**, [[@@London|London]] %%done_del%%", - "time": "2024-06-29", - "rowNumber": 117 - }, { "title": ":birthday: **Alex Houyvet**, [[@@London|London]] %%done_del%%", "time": "2024-07-13", - "rowNumber": 119 + "rowNumber": 120 + }, + { + "title": ":birthday: **Stefan Schmidt**, [[@@London|London]] %%done_del%%", + "time": "2025-06-29", + "rowNumber": 117 } ], "01.01 Life Orga/@Lifestyle.md": [ @@ -662,13 +662,6 @@ "rowNumber": 66 } ], - "00.01 Admin/Calendars/2023-03-08.md": [ - { - "title": "06:35 :clapper: [[2023-03-08|Memo]], [[Entertainment]]: Download Kiss the Future", - "time": "2024-06-25", - "rowNumber": 106 - } - ], "01.07 Animals/@Sally.md": [ { "title": ":racehorse: [[@Sally|Sally]]: Pay for horseshoes (150 CHF) %%done_del%%", @@ -1004,13 +997,6 @@ "rowNumber": 106 } ], - "00.01 Admin/Calendars/2024-04-30.md": [ - { - "title": "07:16 :frame_with_picture: [[@@Paris|Paris]]: Booker l’expo [Mexica](https://www.offi.fr/expositions-musees/musee-du-quai-branly-3039/mexica-des-dons-et-des-dieux-au-templo-mayor-95677.html)", - "time": "2024-06-15", - "rowNumber": 103 - } - ], "00.01 Admin/Calendars/2024-06-10.md": [ { "title": "19:21 :camera: [[Polo Park Zürich|PPZ]]: Pay for the LG pictures", diff --git a/.obsidian/plugins/obsidian-tasks-plugin/main.js b/.obsidian/plugins/obsidian-tasks-plugin/main.js index b0c8df54..54a4180c 100644 --- a/.obsidian/plugins/obsidian-tasks-plugin/main.js +++ b/.obsidian/plugins/obsidian-tasks-plugin/main.js @@ -122,14 +122,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -"use strict";var zk=Object.create;var ra=Object.defineProperty,Kk=Object.defineProperties,Qk=Object.getOwnPropertyDescriptor,Xk=Object.getOwnPropertyDescriptors,Zk=Object.getOwnPropertyNames,jo=Object.getOwnPropertySymbols,Jk=Object.getPrototypeOf,Tc=Object.prototype.hasOwnProperty,Yh=Object.prototype.propertyIsEnumerable;var Gh=(r,e,t)=>e in r?ra(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,K=(r,e)=>{for(var t in e||(e={}))Tc.call(e,t)&&Gh(r,t,e[t]);if(jo)for(var t of jo(e))Yh.call(e,t)&&Gh(r,t,e[t]);return r},he=(r,e)=>Kk(r,Xk(e));var Go=(r,e)=>{var t={};for(var n in r)Tc.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&jo)for(var n of jo(r))e.indexOf(n)<0&&Yh.call(r,n)&&(t[n]=r[n]);return t};var k=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),eE=(r,e)=>{for(var t in e)ra(r,t,{get:e[t],enumerable:!0})},Bh=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zk(e))!Tc.call(r,i)&&i!==t&&ra(r,i,{get:()=>e[i],enumerable:!(n=Qk(e,i))||n.enumerable});return r};var na=(r,e,t)=>(t=r!=null?zk(Jk(r)):{},Bh(e||!r||!r.__esModule?ra(t,"default",{value:r,enumerable:!0}):t,r)),tE=r=>Bh(ra({},"__esModule",{value:!0}),r);var P=(r,e,t)=>new Promise((n,i)=>{var s=u=>{try{o(t.next(u))}catch(l){i(l)}},a=u=>{try{o(t.throw(u))}catch(l){i(l)}},o=u=>u.done?n(u.value):Promise.resolve(u.value).then(s,a);o((t=t.apply(r,e)).next())});var Re=k(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.matchAnyPattern=Fn.extractTerms=Fn.repeatedTimeunitPattern=void 0;function sE(r,e){let t=e.replace(/\((?!\?)/g,"(?:");return`${r}${t}\\s{0,5}(?:,?\\s{0,5}${t}){0,10}`}Fn.repeatedTimeunitPattern=sE;function Hh(r){let e;return r instanceof Array?e=[...r]:r instanceof Map?e=Array.from(r.keys()):e=Object.keys(r),e}Fn.extractTerms=Hh;function aE(r){return`(?:${Hh(r).sort((t,n)=>n.length-t.length).join("|").replace(/\./g,"\\.")})`}Fn.matchAnyPattern=aE});var ve=k((vc,wc)=>{(function(r,e){typeof vc=="object"&&typeof wc!="undefined"?wc.exports=e():typeof define=="function"&&define.amd?define(e):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs=e()})(vc,function(){"use strict";var r=1e3,e=6e4,t=36e5,n="millisecond",i="second",s="minute",a="hour",o="day",u="week",l="month",c="quarter",d="year",f="date",m="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},E=function(j,$,D){var V=String(j);return!V||V.length>=$?j:""+Array($+1-V.length).join(D)+j},S={s:E,z:function(j){var $=-j.utcOffset(),D=Math.abs($),V=Math.floor(D/60),U=D%60;return($<=0?"+":"-")+E(V,2,"0")+":"+E(U,2,"0")},m:function j($,D){if($.date(){"use strict";var oE=Ln&&Ln.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ln,"__esModule",{value:!0});Ln.findYearClosestToRef=Ln.findMostLikelyADYear=void 0;var uE=oE(ve());function lE(r){return r<100&&(r>50?r=r+1900:r=r+2e3),r}Ln.findMostLikelyADYear=lE;function cE(r,e,t){let n=uE.default(r),i=n;i=i.month(t-1),i=i.date(e),i=i.year(n.year());let s=i.add(1,"y"),a=i.add(-1,"y");return Math.abs(s.diff(n)){"use strict";Object.defineProperty(ce,"__esModule",{value:!0});ce.parseTimeUnits=ce.TIME_UNITS_PATTERN=ce.parseYear=ce.YEAR_PATTERN=ce.parseOrdinalNumberPattern=ce.ORDINAL_NUMBER_PATTERN=ce.parseNumberPattern=ce.NUMBER_PATTERN=ce.TIME_UNIT_DICTIONARY=ce.ORDINAL_WORD_DICTIONARY=ce.INTEGER_WORD_DICTIONARY=ce.MONTH_DICTIONARY=ce.FULL_MONTH_NAME_DICTIONARY=ce.WEEKDAY_DICTIONARY=void 0;var Bo=Re(),dE=ot();ce.WEEKDAY_DICTIONARY={sunday:0,sun:0,"sun.":0,monday:1,mon:1,"mon.":1,tuesday:2,tue:2,"tue.":2,wednesday:3,wed:3,"wed.":3,thursday:4,thurs:4,"thurs.":4,thur:4,"thur.":4,thu:4,"thu.":4,friday:5,fri:5,"fri.":5,saturday:6,sat:6,"sat.":6};ce.FULL_MONTH_NAME_DICTIONARY={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12};ce.MONTH_DICTIONARY=Object.assign(Object.assign({},ce.FULL_MONTH_NAME_DICTIONARY),{jan:1,"jan.":1,feb:2,"feb.":2,mar:3,"mar.":3,apr:4,"apr.":4,jun:6,"jun.":6,jul:7,"jul.":7,aug:8,"aug.":8,sep:9,"sep.":9,sept:9,"sept.":9,oct:10,"oct.":10,nov:11,"nov.":11,dec:12,"dec.":12});ce.INTEGER_WORD_DICTIONARY={one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12};ce.ORDINAL_WORD_DICTIONARY={first:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12,thirteenth:13,fourteenth:14,fifteenth:15,sixteenth:16,seventeenth:17,eighteenth:18,nineteenth:19,twentieth:20,"twenty first":21,"twenty-first":21,"twenty second":22,"twenty-second":22,"twenty third":23,"twenty-third":23,"twenty fourth":24,"twenty-fourth":24,"twenty fifth":25,"twenty-fifth":25,"twenty sixth":26,"twenty-sixth":26,"twenty seventh":27,"twenty-seventh":27,"twenty eighth":28,"twenty-eighth":28,"twenty ninth":29,"twenty-ninth":29,thirtieth:30,"thirty first":31,"thirty-first":31};ce.TIME_UNIT_DICTIONARY={sec:"second",second:"second",seconds:"second",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",hour:"hour",hours:"hour",day:"d",days:"d",week:"week",weeks:"week",month:"month",months:"month",qtr:"quarter",quarter:"quarter",quarters:"quarter",y:"year",yr:"year",year:"year",years:"year"};ce.NUMBER_PATTERN=`(?:${Bo.matchAnyPattern(ce.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s{0,2}an?)?|an?\\b(?:\\s{0,2}few)?|few|several|a?\\s{0,2}couple\\s{0,2}(?:of)?)`;function zh(r){let e=r.toLowerCase();return ce.INTEGER_WORD_DICTIONARY[e]!==void 0?ce.INTEGER_WORD_DICTIONARY[e]:e==="a"||e==="an"?1:e.match(/few/)?3:e.match(/half/)?.5:e.match(/couple/)?2:e.match(/several/)?7:parseFloat(e)}ce.parseNumberPattern=zh;ce.ORDINAL_NUMBER_PATTERN=`(?:${Bo.matchAnyPattern(ce.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:st|nd|rd|th)?)`;function fE(r){let e=r.toLowerCase();return ce.ORDINAL_WORD_DICTIONARY[e]!==void 0?ce.ORDINAL_WORD_DICTIONARY[e]:(e=e.replace(/(?:st|nd|rd|th)$/i,""),parseInt(e))}ce.parseOrdinalNumberPattern=fE;ce.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s{0,2}(?:BE|AD|BC|BCE|CE)|[1-2][0-9]{3}|[5-9][0-9])";function pE(r){if(/BE/i.test(r))return r=r.replace(/BE/i,""),parseInt(r)-543;if(/BCE?/i.test(r))return r=r.replace(/BCE?/i,""),-parseInt(r);if(/(AD|CE)/i.test(r))return r=r.replace(/(AD|CE)/i,""),parseInt(r);let e=parseInt(r);return dE.findMostLikelyADYear(e)}ce.parseYear=pE;var Kh=`(${ce.NUMBER_PATTERN})\\s{0,3}(${Bo.matchAnyPattern(ce.TIME_UNIT_DICTIONARY)})`,Vh=new RegExp(Kh,"i");ce.TIME_UNITS_PATTERN=Bo.repeatedTimeunitPattern("(?:(?:about|around)\\s{0,3})?",Kh);function mE(r){let e={},t=r,n=Vh.exec(t);for(;n;)hE(e,n),t=t.substring(n[0].length).trim(),n=Vh.exec(t);return e}ce.parseTimeUnits=mE;function hE(r,e){let t=zh(e[1]),n=ce.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var Qh=k((kc,Ec)=>{(function(r,e){typeof kc=="object"&&typeof Ec!="undefined"?Ec.exports=e():typeof define=="function"&&define.amd?define(e):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs_plugin_quarterOfYear=e()})(kc,function(){"use strict";var r="month",e="quarter";return function(t,n){var i=n.prototype;i.quarter=function(o){return this.$utils().u(o)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(o-1))};var s=i.add;i.add=function(o,u){return o=Number(o),this.$utils().p(u)===e?this.add(3*o,r):s.bind(this)(o,u)};var a=i.startOf;i.startOf=function(o,u){var l=this.$utils(),c=!!l.u(u)||u;if(l.p(o)===e){var d=this.quarter()-1;return c?this.month(3*d).startOf(r).startOf("day"):this.month(3*d+2).endOf(r).endOf("day")}return a.bind(this)(o,u)}}})});var nr=k(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.implySimilarTime=Ur.assignSimilarTime=Ur.assignSimilarDate=Ur.assignTheNextDay=void 0;var Xh=ze();function gE(r,e){e=e.add(1,"day"),Zh(r,e),Jh(r,e)}Ur.assignTheNextDay=gE;function Zh(r,e){r.assign("day",e.date()),r.assign("month",e.month()+1),r.assign("year",e.year())}Ur.assignSimilarDate=Zh;function yE(r,e){r.assign("hour",e.hour()),r.assign("minute",e.minute()),r.assign("second",e.second()),r.assign("millisecond",e.millisecond()),r.get("hour")<12?r.assign("meridiem",Xh.Meridiem.AM):r.assign("meridiem",Xh.Meridiem.PM)}Ur.assignSimilarTime=yE;function Jh(r,e){r.imply("hour",e.hour()),r.imply("minute",e.minute()),r.imply("second",e.second()),r.imply("millisecond",e.millisecond())}Ur.implySimilarTime=Jh});var eg=k(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.toTimezoneOffset=oi.TIMEZONE_ABBR_MAP=void 0;oi.TIMEZONE_ABBR_MAP={ACDT:630,ACST:570,ADT:-180,AEDT:660,AEST:600,AFT:270,AKDT:-480,AKST:-540,ALMT:360,AMST:-180,AMT:-240,ANAST:720,ANAT:720,AQTT:300,ART:-180,AST:-240,AWDT:540,AWST:480,AZOST:0,AZOT:-60,AZST:300,AZT:240,BNT:480,BOT:-240,BRST:-120,BRT:-180,BST:60,BTT:360,CAST:480,CAT:120,CCT:390,CDT:-300,CEST:120,CET:60,CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CVT:-60,CXT:420,ChST:600,DAVT:420,EASST:-300,EAST:-360,EAT:180,ECT:-300,EDT:-240,EEST:180,EET:120,EGST:0,EGT:-60,EST:-300,ET:-300,FJST:780,FJT:720,FKST:-180,FKT:-240,FNT:-120,GALT:-360,GAMT:-540,GET:240,GFT:-180,GILT:720,GMT:0,GST:240,GYT:-240,HAA:-180,HAC:-300,HADT:-540,HAE:-240,HAP:-420,HAR:-360,HAST:-600,HAT:-90,HAY:-480,HKT:480,HLV:-210,HNA:-240,HNC:-360,HNE:-300,HNP:-480,HNR:-420,HNT:-150,HNY:-540,HOVT:420,ICT:420,IDT:180,IOT:360,IRDT:270,IRKST:540,IRKT:540,IRST:210,IST:330,JST:540,KGT:360,KRAST:480,KRAT:480,KST:540,KUYT:240,LHDT:660,LHST:630,LINT:840,MAGST:720,MAGT:720,MART:-510,MAWT:300,MDT:-360,MESZ:120,MEZ:60,MHT:720,MMT:390,MSD:240,MSK:180,MST:-420,MUT:240,MVT:300,MYT:480,NCT:660,NDT:-90,NFT:690,NOVST:420,NOVT:360,NPT:345,NST:-150,NUT:-660,NZDT:780,NZST:720,OMSST:420,OMST:420,PDT:-420,PET:-300,PETST:720,PETT:720,PGT:600,PHOT:780,PHT:480,PKT:300,PMDT:-120,PMST:-180,PONT:660,PST:-480,PT:-480,PWT:540,PYST:-180,PYT:-240,RET:240,SAMT:240,SAST:120,SBT:660,SCT:240,SGT:480,SRT:-180,SST:-660,TAHT:-600,TFT:300,TJT:300,TKT:780,TLT:540,TMT:300,TVT:720,ULAT:480,UTC:0,UYST:-120,UYT:-180,UZT:300,VET:-210,VLAST:660,VLAT:660,VUT:660,WAST:120,WAT:60,WEST:60,WESZ:60,WET:0,WEZ:0,WFT:720,WGST:-120,WGT:-180,WIB:420,WIT:540,WITA:480,WST:780,WT:0,YAKST:600,YAKT:600,YAPT:600,YEKST:360,YEKT:360};function bE(r){var e;return r==null?null:typeof r=="number"?r:(e=oi.TIMEZONE_ABBR_MAP[r])!==null&&e!==void 0?e:null}oi.toTimezoneOffset=bE});var We=k(Wr=>{"use strict";var tg=Wr&&Wr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Wr,"__esModule",{value:!0});Wr.ParsingResult=Wr.ParsingComponents=Wr.ReferenceWithTimezone=void 0;var TE=tg(Qh()),Ho=tg(ve()),Sc=nr(),_E=eg();Ho.default.extend(TE.default);var Oc=class{constructor(e){var t;e=e!=null?e:new Date,e instanceof Date?this.instant=e:(this.instant=(t=e.instant)!==null&&t!==void 0?t:new Date,this.timezoneOffset=_E.toTimezoneOffset(e.timezone))}};Wr.ReferenceWithTimezone=Oc;var ui=class{constructor(e,t){if(this.reference=e,this.knownValues={},this.impliedValues={},t)for(let i in t)this.knownValues[i]=t[i];let n=Ho.default(e.instant);this.imply("day",n.date()),this.imply("month",n.month()+1),this.imply("year",n.year()),this.imply("hour",12),this.imply("minute",0),this.imply("second",0),this.imply("millisecond",0)}get(e){return e in this.knownValues?this.knownValues[e]:e in this.impliedValues?this.impliedValues[e]:null}isCertain(e){return e in this.knownValues}getCertainComponents(){return Object.keys(this.knownValues)}imply(e,t){return e in this.knownValues?this:(this.impliedValues[e]=t,this)}assign(e,t){return this.knownValues[e]=t,delete this.impliedValues[e],this}delete(e){delete this.knownValues[e],delete this.impliedValues[e]}clone(){let e=new ui(this.reference);e.knownValues={},e.impliedValues={};for(let t in this.knownValues)e.knownValues[t]=this.knownValues[t];for(let t in this.impliedValues)e.impliedValues[t]=this.impliedValues[t];return e}isOnlyDate(){return!this.isCertain("hour")&&!this.isCertain("minute")&&!this.isCertain("second")}isOnlyTime(){return!this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isOnlyWeekdayComponent(){return this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isOnlyDayMonthComponent(){return this.isCertain("day")&&this.isCertain("month")&&!this.isCertain("year")}isValidDate(){let e=this.dateWithoutTimezoneAdjustment();return!(e.getFullYear()!==this.get("year")||e.getMonth()!==this.get("month")-1||e.getDate()!==this.get("day")||this.get("hour")!=null&&e.getHours()!=this.get("hour")||this.get("minute")!=null&&e.getMinutes()!=this.get("minute"))}toString(){return`[ParsingComponents {knownValues: ${JSON.stringify(this.knownValues)}, impliedValues: ${JSON.stringify(this.impliedValues)}}, reference: ${JSON.stringify(this.reference)}]`}dayjs(){return Ho.default(this.date())}date(){let e=this.dateWithoutTimezoneAdjustment();return new Date(e.getTime()+this.getSystemTimezoneAdjustmentMinute(e)*6e4)}dateWithoutTimezoneAdjustment(){let e=new Date(this.get("year"),this.get("month")-1,this.get("day"),this.get("hour"),this.get("minute"),this.get("second"),this.get("millisecond"));return e.setFullYear(this.get("year")),e}getSystemTimezoneAdjustmentMinute(e){var t,n;(!e||e.getTime()<0)&&(e=new Date);let i=-e.getTimezoneOffset(),s=(n=(t=this.get("timezoneOffset"))!==null&&t!==void 0?t:this.reference.timezoneOffset)!==null&&n!==void 0?n:i;return i-s}static createRelativeFromReference(e,t){let n=Ho.default(e.instant);for(let s in t)n=n.add(t[s],s);let i=new ui(e);return t.hour||t.minute||t.second?(Sc.assignSimilarTime(i,n),Sc.assignSimilarDate(i,n),e.timezoneOffset!==null&&i.assign("timezoneOffset",-e.instant.getTimezoneOffset())):(Sc.implySimilarTime(i,n),e.timezoneOffset!==null&&i.imply("timezoneOffset",-e.instant.getTimezoneOffset()),t.d?(i.assign("day",n.date()),i.assign("month",n.month()+1),i.assign("year",n.year())):(t.week&&i.imply("weekday",n.day()),i.imply("day",n.date()),t.month?(i.assign("month",n.month()+1),i.assign("year",n.year())):(i.imply("month",n.month()+1),t.year?i.assign("year",n.year()):i.imply("year",n.year())))),i}};Wr.ParsingComponents=ui;var ia=class{constructor(e,t,n,i,s){this.reference=e,this.refDate=e.instant,this.index=t,this.text=n,this.start=i||new ui(e),this.end=s}clone(){let e=new ia(this.reference,this.index,this.text);return e.start=this.start?this.start.clone():null,e.end=this.end?this.end.clone():null,e}date(){return this.start.date()}toString(){return`[ParsingResult {index: ${this.index}, text: '${this.text}', ...}]`}};Wr.ParsingResult=ia});var B=k(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.AbstractParserWithWordBoundaryChecking=void 0;var Dc=class{constructor(){this.cachedInnerPattern=null,this.cachedPattern=null}patternLeftBoundary(){return"(\\W|^)"}pattern(e){let t=this.innerPattern(e);return t==this.cachedInnerPattern?this.cachedPattern:(this.cachedPattern=new RegExp(`${this.patternLeftBoundary()}${t.source}`,t.flags),this.cachedInnerPattern=t,this.cachedPattern)}extract(e,t){var n;let i=(n=t[1])!==null&&n!==void 0?n:"";t.index=t.index+i.length,t[0]=t[0].substring(i.length);for(let s=2;s{"use strict";Object.defineProperty(Mc,"__esModule",{value:!0});var Rc=ut(),vE=We(),wE=B(),kE=new RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${Rc.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),EE=new RegExp(`(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${Rc.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),xc=class extends wE.AbstractParserWithWordBoundaryChecking{innerPattern(e){return e.option.forwardDate?EE:kE}innerExtract(e,t){let n=Rc.parseTimeUnits(t[1]);return vE.ParsingComponents.createRelativeFromReference(e.reference,n)}};Mc.default=xc});var ug=k(Ac=>{"use strict";Object.defineProperty(Ac,"__esModule",{value:!0});var SE=ot(),ag=ut(),og=ut(),zo=ut(),OE=Re(),DE=B(),xE=new RegExp(`(?:on\\s{0,3})?(${zo.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:to|\\-|\\\u2013|until|through|till)?\\s{0,3}(${zo.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s{0,3}(?:of)?\\s{0,3})(${OE.matchAnyPattern(ag.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s{0,3})(${og.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),ng=1,ig=2,RE=3,sg=4,Cc=class extends DE.AbstractParserWithWordBoundaryChecking{innerPattern(){return xE}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=ag.MONTH_DICTIONARY[t[RE].toLowerCase()],s=zo.parseOrdinalNumberPattern(t[ng]);if(s>31)return t.index=t.index+t[ng].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[sg]){let a=og.parseYear(t[sg]);n.start.assign("year",a)}else{let a=SE.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[ig]){let a=zo.parseOrdinalNumberPattern(t[ig]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Ac.default=Cc});var pg=k(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});var ME=ot(),dg=ut(),Ko=ut(),fg=ut(),CE=Re(),AE=B(),PE=new RegExp(`(${CE.matchAnyPattern(dg.MONTH_DICTIONARY)})(?:-|/|\\s*,?\\s*)(${Ko.ORDINAL_NUMBER_PATTERN})(?!\\s*(?:am|pm))\\s*(?:(?:to|\\-)\\s*(${Ko.ORDINAL_NUMBER_PATTERN})\\s*)?(?:(?:-|/|\\s*,?\\s*)(${fg.YEAR_PATTERN}))?(?=\\W|$)(?!\\:\\d)`,"i"),NE=1,IE=2,lg=3,cg=4,Pc=class extends AE.AbstractParserWithWordBoundaryChecking{innerPattern(){return PE}innerExtract(e,t){let n=dg.MONTH_DICTIONARY[t[NE].toLowerCase()],i=Ko.parseOrdinalNumberPattern(t[IE]);if(i>31)return null;let s=e.createParsingComponents({day:i,month:n});if(t[cg]){let u=fg.parseYear(t[cg]);s.assign("year",u)}else{let u=ME.findYearClosestToRef(e.refDate,i,n);s.imply("year",u)}if(!t[lg])return s;let a=Ko.parseOrdinalNumberPattern(t[lg]),o=e.createParsingResult(t.index,t[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};Nc.default=Pc});var gg=k(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});var Ic=ut(),FE=ot(),LE=Re(),hg=ut(),UE=B(),WE=new RegExp(`((?:in)\\s*)?(${LE.matchAnyPattern(Ic.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${hg.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),qE=1,$E=2,mg=3,Fc=class extends UE.AbstractParserWithWordBoundaryChecking{innerPattern(){return WE}innerExtract(e,t){let n=t[$E].toLowerCase();if(t[0].length<=3&&!Ic.FULL_MONTH_NAME_DICTIONARY[n])return null;let i=e.createParsingResult(t.index+(t[qE]||"").length,t.index+t[0].length);i.start.imply("day",1);let s=Ic.MONTH_DICTIONARY[n];if(i.start.assign("month",s),t[mg]){let a=hg.parseYear(t[mg]);i.start.assign("year",a)}else{let a=FE.findYearClosestToRef(e.refDate,1,s);i.start.imply("year",a)}return i}};Lc.default=Fc});var Tg=k(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});var bg=ut(),jE=Re(),GE=B(),YE=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${jE.matchAnyPattern(bg.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),BE=1,HE=2,yg=3,VE=4,Uc=class extends GE.AbstractParserWithWordBoundaryChecking{innerPattern(){return YE}innerExtract(e,t){let n=t[yg]?parseInt(t[yg]):bg.MONTH_DICTIONARY[t[HE].toLowerCase()];if(n<1||n>12)return null;let i=parseInt(t[BE]);return{day:parseInt(t[VE]),month:n,year:i}}};Wc.default=Uc});var _g=k($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});var zE=B(),KE=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),QE=1,XE=2,qc=class extends zE.AbstractParserWithWordBoundaryChecking{innerPattern(){return KE}innerExtract(e,t){let n=parseInt(t[XE]),i=parseInt(t[QE]);return e.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}};$c.default=qc});var li=k(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.AbstractTimeExpressionParser=void 0;var wt=ze();function ZE(r,e,t,n){return new RegExp(`${r}${e}(\\d{1,4})(?:(?:\\.|:|\uFF1A)(\\d{1,2})(?:(?::|\uFF1A)(\\d{2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${t}`,n)}function JE(r,e){return new RegExp(`^(${r})(\\d{1,4})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${e}`,"i")}var vg=2,Bi=3,Qo=4,Xo=5,sa=6,jc=class{constructor(e=!1){this.cachedPrimaryPrefix=null,this.cachedPrimarySuffix=null,this.cachedPrimaryTimePattern=null,this.cachedFollowingPhase=null,this.cachedFollowingSuffix=null,this.cachedFollowingTimePatten=null,this.strictMode=e}patternFlags(){return"i"}primaryPatternLeftBoundary(){return"(^|\\s|T|\\b)"}primarySuffix(){return"(?=\\W|$)"}followingSuffix(){return"(?=\\W|$)"}pattern(e){return this.getPrimaryTimePatternThroughCache()}extract(e,t){let n=this.extractPrimaryTimeComponents(e,t);if(!n)return t.index+=t[0].length,null;let i=t.index+t[1].length,s=t[0].substring(t[1].length),a=e.createParsingResult(i,s,n);t.index+=t[0].length;let o=e.text.substring(t.index),l=this.getFollowingTimePatternThroughCache().exec(o);return s.match(/^\d{3,4}/)&&l&&l[0].match(/^\s*([+-])\s*\d{2,4}$/)?null:!l||l[0].match(/^\s*([+-])\s*\d{3,4}$/)?this.checkAndReturnWithoutFollowingPattern(a):(a.end=this.extractFollowingTimeComponents(e,l,a),a.end&&(a.text+=l[0]),this.checkAndReturnWithFollowingPattern(a))}extractPrimaryTimeComponents(e,t,n=!1){let i=e.createParsingComponents(),s=0,a=null,o=parseInt(t[vg]);if(o>100){if(this.strictMode||t[Bi]!=null)return null;s=o%100,o=Math.floor(o/100)}if(o>24)return null;if(t[Bi]!=null){if(t[Bi].length==1&&!t[sa])return null;s=parseInt(t[Bi])}if(s>=60)return null;if(o>12&&(a=wt.Meridiem.PM),t[sa]!=null){if(o>12)return null;let u=t[sa][0].toLowerCase();u=="a"&&(a=wt.Meridiem.AM,o==12&&(o=0)),u=="p"&&(a=wt.Meridiem.PM,o!=12&&(o+=12))}if(i.assign("hour",o),i.assign("minute",s),a!==null?i.assign("meridiem",a):o<12?i.imply("meridiem",wt.Meridiem.AM):i.imply("meridiem",wt.Meridiem.PM),t[Xo]!=null){let u=parseInt(t[Xo].substring(0,3));if(u>=1e3)return null;i.assign("millisecond",u)}if(t[Qo]!=null){let u=parseInt(t[Qo]);if(u>=60)return null;i.assign("second",u)}return i}extractFollowingTimeComponents(e,t,n){let i=e.createParsingComponents();if(t[Xo]!=null){let u=parseInt(t[Xo].substring(0,3));if(u>=1e3)return null;i.assign("millisecond",u)}if(t[Qo]!=null){let u=parseInt(t[Qo]);if(u>=60)return null;i.assign("second",u)}let s=parseInt(t[vg]),a=0,o=-1;if(t[Bi]!=null?a=parseInt(t[Bi]):s>100&&(a=s%100,s=Math.floor(s/100)),a>=60||s>24)return null;if(s>=12&&(o=wt.Meridiem.PM),t[sa]!=null){if(s>12)return null;let u=t[sa][0].toLowerCase();u=="a"&&(o=wt.Meridiem.AM,s==12&&(s=0,i.isCertain("day")||i.imply("day",i.get("day")+1))),u=="p"&&(o=wt.Meridiem.PM,s!=12&&(s+=12)),n.start.isCertain("meridiem")||(o==wt.Meridiem.AM?(n.start.imply("meridiem",wt.Meridiem.AM),n.start.get("hour")==12&&n.start.assign("hour",0)):(n.start.imply("meridiem",wt.Meridiem.PM),n.start.get("hour")!=12&&n.start.assign("hour",n.start.get("hour")+12)))}return i.assign("hour",s),i.assign("minute",a),o>=0?i.assign("meridiem",o):n.start.isCertain("meridiem")&&n.start.get("hour")>12?n.start.get("hour")-12>s?i.imply("meridiem",wt.Meridiem.AM):s<=12&&(i.assign("hour",s+12),i.assign("meridiem",wt.Meridiem.PM)):s>12?i.imply("meridiem",wt.Meridiem.PM):s<=12&&i.imply("meridiem",wt.Meridiem.AM),i.date().getTime()24)return null}return e}checkAndReturnWithFollowingPattern(e){if(e.text.match(/^\d+-\d+$/))return null;let t=e.text.match(/[^\d:.](\d[\d.]+)\s*-\s*(\d[\d.]+)$/);if(t){if(this.strictMode)return null;let n=t[1],i=t[2];if(i.includes(".")&&!i.match(/\d(\.\d{2})+$/))return null;let s=parseInt(i),a=parseInt(n);if(s>24||a>24)return null}return e}getPrimaryTimePatternThroughCache(){let e=this.primaryPrefix(),t=this.primarySuffix();return this.cachedPrimaryPrefix===e&&this.cachedPrimarySuffix===t?this.cachedPrimaryTimePattern:(this.cachedPrimaryTimePattern=ZE(this.primaryPatternLeftBoundary(),e,t,this.patternFlags()),this.cachedPrimaryPrefix=e,this.cachedPrimarySuffix=t,this.cachedPrimaryTimePattern)}getFollowingTimePatternThroughCache(){let e=this.followingPhase(),t=this.followingSuffix();return this.cachedFollowingPhase===e&&this.cachedFollowingSuffix===t?this.cachedFollowingTimePatten:(this.cachedFollowingTimePatten=JE(e,t),this.cachedFollowingPhase=e,this.cachedFollowingSuffix=t,this.cachedFollowingTimePatten)}};Zo.AbstractTimeExpressionParser=jc});var wg=k(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});var Jo=ze(),eS=li(),Gc=class extends eS.AbstractTimeExpressionParser{constructor(e){super(e)}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|to|\\?)\\s*"}primaryPrefix(){return"(?:(?:at|from)\\s*)??"}primarySuffix(){return"(?:\\s*(?:o\\W*clock|at\\s*night|in\\s*the\\s*(?:morning|afternoon)))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(n){if(t[0].endsWith("night")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",Jo.Meridiem.PM)):i<6&&n.assign("meridiem",Jo.Meridiem.AM)}if(t[0].endsWith("afternoon")){n.assign("meridiem",Jo.Meridiem.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}t[0].endsWith("morning")&&(n.assign("meridiem",Jo.Meridiem.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}};Yc.default=Gc});var ir=k(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.addImpliedTimeUnits=Hi.reverseTimeUnits=void 0;function tS(r){let e={};for(let t in r)e[t]=-r[t];return e}Hi.reverseTimeUnits=tS;function rS(r,e){let t=r.clone(),n=r.dayjs();for(let i in e)n=n.add(e[i],i);return("day"in e||"d"in e||"week"in e||"month"in e||"year"in e)&&(t.imply("day",n.date()),t.imply("month",n.month()+1),t.imply("year",n.year())),("second"in e||"minute"in e||"hour"in e)&&(t.imply("second",n.second()),t.imply("minute",n.minute()),t.imply("hour",n.hour())),t}Hi.addImpliedTimeUnits=rS});var kg=k(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});var Hc=ut(),nS=We(),iS=B(),sS=ir(),aS=new RegExp(`(${Hc.TIME_UNITS_PATTERN})\\s{0,5}(?:ago|before|earlier)(?=(?:\\W|$))`,"i"),oS=new RegExp(`(${Hc.TIME_UNITS_PATTERN})\\s{0,5}ago(?=(?:\\W|$))`,"i"),Bc=class extends iS.AbstractParserWithWordBoundaryChecking{constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?oS:aS}innerExtract(e,t){let n=Hc.parseTimeUnits(t[1]),i=sS.reverseTimeUnits(n);return nS.ParsingComponents.createRelativeFromReference(e.reference,i)}};Vc.default=Bc});var Eg=k(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});var Kc=ut(),uS=We(),lS=B(),cS=new RegExp(`(${Kc.TIME_UNITS_PATTERN})\\s{0,5}(?:later|after|from now|henceforth|forward|out)(?=(?:\\W|$))`,"i"),dS=new RegExp("("+Kc.TIME_UNITS_PATTERN+")(later|from now)(?=(?:\\W|$))","i"),fS=1,zc=class extends lS.AbstractParserWithWordBoundaryChecking{constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?dS:cS}innerExtract(e,t){let n=Kc.parseTimeUnits(t[fS]);return uS.ParsingComponents.createRelativeFromReference(e.reference,n)}};Qc.default=zc});var zi=k(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.MergingRefiner=Vi.Filter=void 0;var Xc=class{refine(e,t){return t.filter(n=>this.isValid(e,n))}};Vi.Filter=Xc;var Zc=class{refine(e,t){if(t.length<2)return t;let n=[],i=t[0],s=null;for(let a=1;a{console.log(`${this.constructor.name} merged ${u} and ${l} into ${c}`)}),i=c}}return i!=null&&n.push(i),n}};Vi.MergingRefiner=Zc});var qr=k(ed=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});var pS=zi(),Jc=class extends pS.MergingRefiner{shouldMergeResults(e,t,n){return!t.end&&!n.end&&e.match(this.patternBetween())!=null}mergeResults(e,t,n){if(!t.start.isOnlyWeekdayComponent()&&!n.start.isOnlyWeekdayComponent()&&(n.start.getCertainComponents().forEach(s=>{t.start.isCertain(s)||t.start.assign(s,n.start.get(s))}),t.start.getCertainComponents().forEach(s=>{n.start.isCertain(s)||n.start.assign(s,t.start.get(s))})),t.start.date().getTime()>n.start.date().getTime()){let s=t.start.dayjs(),a=n.start.dayjs();t.start.isOnlyWeekdayComponent()&&s.add(-7,"days").isBefore(a)?(s=s.add(-7,"days"),t.start.imply("day",s.date()),t.start.imply("month",s.month()+1),t.start.imply("year",s.year())):n.start.isOnlyWeekdayComponent()&&a.add(7,"days").isAfter(s)?(a=a.add(7,"days"),n.start.imply("day",a.date()),n.start.imply("month",a.month()+1),n.start.imply("year",a.year())):[n,t]=[t,n]}let i=t.clone();return i.start=t.start,i.end=n.start,i.index=Math.min(t.index,n.index),t.index{"use strict";var mS=aa&&aa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(aa,"__esModule",{value:!0});var hS=mS(qr()),td=class extends hS.default{patternBetween(){return/^\s*(to|-)\s*$/i}};aa.default=td});var Og=k(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.mergeDateTimeComponent=Ki.mergeDateTimeResult=void 0;var gS=ze();function yS(r,e){let t=r.clone(),n=r.start,i=e.start;if(t.start=rd(n,i),r.end!=null||e.end!=null){let s=r.end==null?r.start:r.end,a=e.end==null?e.start:e.end,o=rd(s,a);r.end==null&&o.date().getTime(){"use strict";Object.defineProperty(id,"__esModule",{value:!0});var bS=zi(),Dg=Og(),nd=class extends bS.MergingRefiner{shouldMergeResults(e,t,n){return(t.start.isOnlyDate()&&n.start.isOnlyTime()||n.start.isOnlyDate()&&t.start.isOnlyTime())&&e.match(this.patternBetween())!=null}mergeResults(e,t,n){let i=t.start.isOnlyDate()?Dg.mergeDateTimeResult(t,n):Dg.mergeDateTimeResult(n,t);return i.index=t.index,i.text=t.text+e+n.text,i}};id.default=nd});var xg=k(oa=>{"use strict";var TS=oa&&oa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(oa,"__esModule",{value:!0});var _S=TS(un()),sd=class extends _S.default{patternBetween(){return new RegExp("^\\s*(T|at|after|before|on|of|,|-)?\\s*$")}};oa.default=sd});var Rg=k(od=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});var vS=new RegExp("^\\s*,?\\s*\\(?([A-Z]{2,4})\\)?(?=\\W|$)","i"),wS={ACDT:630,ACST:570,ADT:-180,AEDT:660,AEST:600,AFT:270,AKDT:-480,AKST:-540,ALMT:360,AMST:-180,AMT:-240,ANAST:720,ANAT:720,AQTT:300,ART:-180,AST:-240,AWDT:540,AWST:480,AZOST:0,AZOT:-60,AZST:300,AZT:240,BNT:480,BOT:-240,BRST:-120,BRT:-180,BST:60,BTT:360,CAST:480,CAT:120,CCT:390,CDT:-300,CEST:120,CET:60,CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CVT:-60,CXT:420,ChST:600,DAVT:420,EASST:-300,EAST:-360,EAT:180,ECT:-300,EDT:-240,EEST:180,EET:120,EGST:0,EGT:-60,EST:-300,ET:-300,FJST:780,FJT:720,FKST:-180,FKT:-240,FNT:-120,GALT:-360,GAMT:-540,GET:240,GFT:-180,GILT:720,GMT:0,GST:240,GYT:-240,HAA:-180,HAC:-300,HADT:-540,HAE:-240,HAP:-420,HAR:-360,HAST:-600,HAT:-90,HAY:-480,HKT:480,HLV:-210,HNA:-240,HNC:-360,HNE:-300,HNP:-480,HNR:-420,HNT:-150,HNY:-540,HOVT:420,ICT:420,IDT:180,IOT:360,IRDT:270,IRKST:540,IRKT:540,IRST:210,IST:330,JST:540,KGT:360,KRAST:480,KRAT:480,KST:540,KUYT:240,LHDT:660,LHST:630,LINT:840,MAGST:720,MAGT:720,MART:-510,MAWT:300,MDT:-360,MESZ:120,MEZ:60,MHT:720,MMT:390,MSD:240,MSK:240,MST:-420,MUT:240,MVT:300,MYT:480,NCT:660,NDT:-90,NFT:690,NOVST:420,NOVT:360,NPT:345,NST:-150,NUT:-660,NZDT:780,NZST:720,OMSST:420,OMST:420,PDT:-420,PET:-300,PETST:720,PETT:720,PGT:600,PHOT:780,PHT:480,PKT:300,PMDT:-120,PMST:-180,PONT:660,PST:-480,PT:-480,PWT:540,PYST:-180,PYT:-240,RET:240,SAMT:240,SAST:120,SBT:660,SCT:240,SGT:480,SRT:-180,SST:-660,TAHT:-600,TFT:300,TJT:300,TKT:780,TLT:540,TMT:300,TVT:720,ULAT:480,UTC:0,UYST:-120,UYT:-180,UZT:300,VET:-210,VLAST:660,VLAT:660,VUT:660,WAST:120,WAT:60,WEST:60,WESZ:60,WET:0,WEZ:0,WFT:720,WGST:-120,WGT:-180,WIB:420,WIT:540,WITA:480,WST:780,WT:0,YAKST:600,YAKT:600,YAPT:600,YEKST:360,YEKT:360},ad=class{constructor(e){this.timezone=Object.assign(Object.assign({},wS),e)}refine(e,t){var n;let i=(n=e.option.timezones)!==null&&n!==void 0?n:{};return t.forEach(s=>{var a,o;let u=e.text.substring(s.index+s.text.length),l=vS.exec(u);if(!l)return;let c=l[1].toUpperCase(),d=(o=(a=i[c])!==null&&a!==void 0?a:this.timezone[c])!==null&&o!==void 0?o:null;if(d===null)return;e.debug(()=>{console.log(`Extracting timezone: '${c}' into: ${d} for: ${s.start}`)});let f=s.start.get("timezoneOffset");f!==null&&d!=f&&(s.start.isCertain("timezoneOffset")||c!=l[1])||s.start.isOnlyDate()&&c!=l[1]||(s.text+=l[0],s.start.isCertain("timezoneOffset")||s.start.assign("timezoneOffset",d),s.end!=null&&!s.end.isCertain("timezoneOffset")&&s.end.assign("timezoneOffset",d))}),t}};od.default=ad});var eu=k(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});var kS=new RegExp("^\\s*(?:\\(?(?:GMT|UTC)\\s?)?([+-])(\\d{1,2})(?::?(\\d{2}))?\\)?","i"),ES=1,SS=2,OS=3,ud=class{refine(e,t){return t.forEach(function(n){if(n.start.isCertain("timezoneOffset"))return;let i=e.text.substring(n.index+n.text.length),s=kS.exec(i);if(!s)return;e.debug(()=>{console.log(`Extracting timezone: '${s[0]}' into : ${n}`)});let a=parseInt(s[SS]),o=parseInt(s[OS]||"0"),u=a*60+o;u>14*60||(s[ES]==="-"&&(u=-u),n.end!=null&&n.end.assign("timezoneOffset",u),n.start.assign("timezoneOffset",u),n.text+=s[0])}),t}};ld.default=ud});var Mg=k(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});var cd=class{refine(e,t){if(t.length<2)return t;let n=[],i=t[0];for(let s=1;si.text.length&&(i=a):(n.push(i),i=a)}return i!=null&&n.push(i),n}};dd.default=cd});var Cg=k(ua=>{"use strict";var DS=ua&&ua.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ua,"__esModule",{value:!0});var xS=DS(ve()),fd=class{refine(e,t){return e.option.forwardDate&&t.forEach(function(n){let i=xS.default(e.refDate);if(n.start.isOnlyDayMonthComponent()&&i.isAfter(n.start.dayjs()))for(let s=0;s<3&&i.isAfter(n.start.dayjs());s++)n.start.imply("year",n.start.get("year")+1),e.debug(()=>{console.log(`Forward yearly adjusted for ${n} (${n.start})`)}),n.end&&!n.end.isCertain("year")&&(n.end.imply("year",n.end.get("year")+1),e.debug(()=>{console.log(`Forward yearly adjusted for ${n} (${n.end})`)}));n.start.isOnlyWeekdayComponent()&&i.isAfter(n.start.dayjs())&&(i.day()>=n.start.get("weekday")?i=i.day(n.start.get("weekday")+7):i=i.day(n.start.get("weekday")),n.start.imply("day",i.date()),n.start.imply("month",i.month()+1),n.start.imply("year",i.year()),e.debug(()=>{console.log(`Forward weekly adjusted for ${n} (${n.start})`)}),n.end&&n.end.isOnlyWeekdayComponent()&&(i.day()>n.end.get("weekday")?i=i.day(n.end.get("weekday")+7):i=i.day(n.end.get("weekday")),n.end.imply("day",i.date()),n.end.imply("month",i.month()+1),n.end.imply("year",i.year()),e.debug(()=>{console.log(`Forward weekly adjusted for ${n} (${n.end})`)})))}),t}};ua.default=fd});var Ag=k(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});var RS=zi(),pd=class extends RS.Filter{constructor(e){super(),this.strictMode=e}isValid(e,t){return t.text.replace(" ","").match(/^\d*(\.\d*)?$/)?(e.debug(()=>{console.log(`Removing unlikely result '${t.text}'`)}),!1):t.start.isValidDate()?t.end&&!t.end.isValidDate()?(e.debug(()=>{console.log(`Removing invalid result: ${t} (${t.end})`)}),!1):this.strictMode?this.isStrictModeValid(e,t):!0:(e.debug(()=>{console.log(`Removing invalid result: ${t} (${t.start})`)}),!1)}isStrictModeValid(e,t){return t.start.isOnlyWeekdayComponent()?(e.debug(()=>{console.log(`(Strict) Removing weekday only component: ${t} (${t.end})`)}),!1):t.start.isOnlyTime()&&(!t.start.isCertain("hour")||!t.start.isCertain("minute"))?(e.debug(()=>{console.log(`(Strict) Removing uncertain time component: ${t} (${t.end})`)}),!1):!0}};md.default=pd});var yd=k(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});var MS=B(),CS=new RegExp("([0-9]{4})\\-([0-9]{1,2})\\-([0-9]{1,2})(?:T([0-9]{1,2}):([0-9]{1,2})(?::([0-9]{1,2})(?:\\.(\\d{1,4}))?)?(?:Z|([+-]\\d{2}):?(\\d{2})?)?)?(?=\\W|$)","i"),AS=1,PS=2,NS=3,Pg=4,IS=5,Ng=6,Ig=7,Fg=8,Lg=9,hd=class extends MS.AbstractParserWithWordBoundaryChecking{innerPattern(){return CS}innerExtract(e,t){let n={};if(n.year=parseInt(t[AS]),n.month=parseInt(t[PS]),n.day=parseInt(t[NS]),t[Pg]!=null)if(n.hour=parseInt(t[Pg]),n.minute=parseInt(t[IS]),t[Ng]!=null&&(n.second=parseInt(t[Ng])),t[Ig]!=null&&(n.millisecond=parseInt(t[Ig])),t[Fg]==null)n.timezoneOffset=0;else{let i=parseInt(t[Fg]),s=0;t[Lg]!=null&&(s=parseInt(t[Lg]));let a=i*60;a<0?a-=s:a+=s,n.timezoneOffset=a}return n}};gd.default=hd});var Ug=k(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});var FS=zi(),bd=class extends FS.MergingRefiner{mergeResults(e,t,n){let i=n.clone();return i.index=t.index,i.text=t.text+e+i.text,i.start.assign("weekday",t.start.get("weekday")),i.end&&i.end.assign("weekday",t.start.get("weekday")),i}shouldMergeResults(e,t,n){return t.start.isOnlyWeekdayComponent()&&!t.start.isCertain("hour")&&n.start.isCertain("day")&&e.match(/^,?\s*$/)!=null}};Td.default=bd});var ln=k(Qi=>{"use strict";var ci=Qi&&Qi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Qi,"__esModule",{value:!0});Qi.includeCommonConfiguration=void 0;var LS=ci(Rg()),US=ci(eu()),Wg=ci(Mg()),WS=ci(Cg()),qS=ci(Ag()),$S=ci(yd()),jS=ci(Ug());function GS(r,e=!1){return r.parsers.unshift(new $S.default),r.refiners.unshift(new jS.default),r.refiners.unshift(new LS.default),r.refiners.unshift(new US.default),r.refiners.unshift(new Wg.default),r.refiners.push(new Wg.default),r.refiners.push(new WS.default),r.refiners.push(new qS.default(e)),r}Qi.includeCommonConfiguration=GS});var dn=k(Oe=>{"use strict";var YS=Oe&&Oe.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.noon=Oe.morning=Oe.midnight=Oe.yesterdayEvening=Oe.evening=Oe.lastNight=Oe.tonight=Oe.theDayAfter=Oe.tomorrow=Oe.theDayBefore=Oe.yesterday=Oe.today=Oe.now=void 0;var $r=We(),Xi=YS(ve()),cn=nr(),la=ze();function BS(r){let e=Xi.default(r.instant),t=new $r.ParsingComponents(r,{});return cn.assignSimilarDate(t,e),cn.assignSimilarTime(t,e),r.timezoneOffset!==null&&t.assign("timezoneOffset",e.utcOffset()),t}Oe.now=BS;function HS(r){let e=Xi.default(r.instant),t=new $r.ParsingComponents(r,{});return cn.assignSimilarDate(t,e),cn.implySimilarTime(t,e),t}Oe.today=HS;function VS(r){return qg(r,1)}Oe.yesterday=VS;function qg(r,e){return _d(r,-e)}Oe.theDayBefore=qg;function zS(r){return _d(r,1)}Oe.tomorrow=zS;function _d(r,e){let t=Xi.default(r.instant),n=new $r.ParsingComponents(r,{});return t=t.add(e,"day"),cn.assignSimilarDate(n,t),cn.implySimilarTime(n,t),n}Oe.theDayAfter=_d;function KS(r,e=22){let t=Xi.default(r.instant),n=new $r.ParsingComponents(r,{});return n.imply("hour",e),n.imply("meridiem",la.Meridiem.PM),cn.assignSimilarDate(n,t),n}Oe.tonight=KS;function QS(r,e=0){let t=Xi.default(r.instant),n=new $r.ParsingComponents(r,{});return t.hour()<6&&(t=t.add(-1,"day")),cn.assignSimilarDate(n,t),n.imply("hour",e),n}Oe.lastNight=QS;function XS(r,e=20){let t=new $r.ParsingComponents(r,{});return t.imply("meridiem",la.Meridiem.PM),t.imply("hour",e),t}Oe.evening=XS;function ZS(r,e=20){let t=Xi.default(r.instant),n=new $r.ParsingComponents(r,{});return t=t.add(-1,"day"),cn.assignSimilarDate(n,t),n.imply("hour",e),n.imply("meridiem",la.Meridiem.PM),n}Oe.yesterdayEvening=ZS;function JS(r){let e=new $r.ParsingComponents(r,{});return e.imply("hour",0),e.imply("minute",0),e.imply("second",0),e}Oe.midnight=JS;function eO(r,e=6){let t=new $r.ParsingComponents(r,{});return t.imply("meridiem",la.Meridiem.AM),t.imply("hour",e),t}Oe.morning=eO;function tO(r){let e=new $r.ParsingComponents(r,{});return e.imply("meridiem",la.Meridiem.AM),e.imply("hour",12),e}Oe.noon=tO});var $g=k(_r=>{"use strict";var rO=_r&&_r.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),nO=_r&&_r.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),iO=_r&&_r.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&rO(e,r,t);return nO(e,r),e},sO=_r&&_r.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(_r,"__esModule",{value:!0});var aO=sO(ve()),oO=B(),uO=nr(),ca=iO(dn()),lO=/(now|today|tonight|tomorrow|tmr|tmrw|yesterday|last\s*night)(?=\W|$)/i,vd=class extends oO.AbstractParserWithWordBoundaryChecking{innerPattern(e){return lO}innerExtract(e,t){let n=aO.default(e.refDate),i=t[0].toLowerCase(),s=e.createParsingComponents();switch(i){case"now":return ca.now(e.reference);case"today":return ca.today(e.reference);case"yesterday":return ca.yesterday(e.reference);case"tomorrow":case"tmr":case"tmrw":return ca.tomorrow(e.reference);case"tonight":return ca.tonight(e.reference);default:i.match(/last\s*night/)&&(n.hour()>6&&(n=n.add(-1,"day")),uO.assignSimilarDate(s,n),s.imply("hour",0));break}return s}};_r.default=vd});var jg=k(da=>{"use strict";var cO=da&&da.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(da,"__esModule",{value:!0});var tu=ze(),dO=B(),fO=cO(ve()),pO=nr(),mO=/(?:this)?\s{0,3}(morning|afternoon|evening|night|midnight|noon)(?=\W|$)/i,wd=class extends dO.AbstractParserWithWordBoundaryChecking{innerPattern(){return mO}innerExtract(e,t){let n=fO.default(e.refDate),i=e.createParsingComponents();switch(t[1].toLowerCase()){case"afternoon":i.imply("meridiem",tu.Meridiem.PM),i.imply("hour",15);break;case"evening":case"night":i.imply("meridiem",tu.Meridiem.PM),i.imply("hour",20);break;case"midnight":pO.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"morning":i.imply("meridiem",tu.Meridiem.AM),i.imply("hour",6);break;case"noon":i.imply("meridiem",tu.Meridiem.AM),i.imply("hour",12);break}return i}};da.default=wd});var di=k(Un=>{"use strict";var hO=Un&&Un.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Un,"__esModule",{value:!0});Un.toDayJSClosestWeekday=Un.toDayJSWeekday=void 0;var Gg=hO(ve());function gO(r,e,t){if(!t)return Yg(r,e);let n=Gg.default(r);switch(t){case"this":n=n.day(e);break;case"next":n=n.day(e+7);break;case"last":n=n.day(e-7);break}return n}Un.toDayJSWeekday=gO;function Yg(r,e){let t=Gg.default(r),n=t.day();return Math.abs(e-7-n){"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});var Bg=ut(),yO=Re(),bO=B(),TO=di(),_O=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:on\\s*?)?(?:(this|last|past|next)\\s*)?(${yO.matchAnyPattern(Bg.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(this|last|past|next)\\s*week)?(?=\\W|$)`,"i"),vO=1,wO=2,kO=3,kd=class extends bO.AbstractParserWithWordBoundaryChecking{innerPattern(){return _O}innerExtract(e,t){let n=t[wO].toLowerCase(),i=Bg.WEEKDAY_DICTIONARY[n],s=t[vO],a=t[kO],o=s||a;o=o||"",o=o.toLowerCase();let u=null;o=="last"||o=="past"?u="last":o=="next"?u="next":o=="this"&&(u="this");let l=TO.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};Ed.default=kd});var Kg=k(fa=>{"use strict";var EO=fa&&fa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(fa,"__esModule",{value:!0});var zg=ut(),Vg=We(),SO=EO(ve()),OO=B(),DO=Re(),xO=new RegExp(`(this|last|past|next|after\\s*this)\\s*(${DO.matchAnyPattern(zg.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),RO=1,MO=2,Sd=class extends OO.AbstractParserWithWordBoundaryChecking{innerPattern(){return xO}innerExtract(e,t){let n=t[RO].toLowerCase(),i=t[MO].toLowerCase(),s=zg.TIME_UNIT_DICTIONARY[i];if(n=="next"||n.startsWith("after")){let u={};return u[s]=1,Vg.ParsingComponents.createRelativeFromReference(e.reference,u)}if(n=="last"||n=="past"){let u={};return u[s]=-1,Vg.ParsingComponents.createRelativeFromReference(e.reference,u)}let a=e.createParsingComponents(),o=SO.default(e.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):i.match(/month/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):i.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};fa.default=Sd});var vr=k(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});es.ParsingContext=es.Chrono=void 0;var Zi=We(),CO=Od(),Ji=class{constructor(e){e=e||CO.createCasualConfiguration(),this.parsers=[...e.parsers],this.refiners=[...e.refiners]}clone(){return new Ji({parsers:[...this.parsers],refiners:[...this.refiners]})}parseDate(e,t,n){let i=this.parse(e,t,n);return i.length>0?i[0].start.date():null}parse(e,t,n){let i=new ru(e,t,n),s=[];return this.parsers.forEach(a=>{let o=Ji.executeParser(i,a);s=s.concat(o)}),s.sort((a,o)=>a.index-o.index),this.refiners.forEach(function(a){s=a.refine(i,s)}),s}static executeParser(e,t){let n=[],i=t.pattern(e),s=e.text,a=e.text,o=i.exec(a);for(;o;){let u=o.index+s.length-a.length;o.index=u;let l=t.extract(e,o);if(!l){a=s.substring(o.index+1),o=i.exec(a);continue}let c=null;l instanceof Zi.ParsingResult?c=l:l instanceof Zi.ParsingComponents?(c=e.createParsingResult(o.index,o[0]),c.start=l):c=e.createParsingResult(o.index,o[0],l),e.debug(()=>console.log(`${t.constructor.name} extracted result ${c}`)),n.push(c),a=s.substring(u+c.text.length),o=i.exec(a)}return n}};es.Chrono=Ji;var ru=class{constructor(e,t,n){this.text=e,this.reference=new Zi.ReferenceWithTimezone(t),this.option=n!=null?n:{},this.refDate=this.reference.instant}createParsingComponents(e){return e instanceof Zi.ParsingComponents?e:new Zi.ParsingComponents(this.reference,e)}createParsingResult(e,t,n,i){let s=typeof t=="string"?t:this.text.substring(e,t),a=n?this.createParsingComponents(n):null,o=i?this.createParsingComponents(i):null;return new Zi.ParsingResult(this.reference,e,s,a,o)}debug(e){this.option.debug&&(this.option.debug instanceof Function?this.option.debug(e):this.option.debug.debug(e))}};es.ParsingContext=ru});var fi=k(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});var Qg=ot(),AO=new RegExp("([^\\d]|^)([0-3]{0,1}[0-9]{1})[\\/\\.\\-]([0-3]{0,1}[0-9]{1})(?:[\\/\\.\\-]([0-9]{4}|[0-9]{2}))?(\\W|$)","i"),nu=1,Xg=5,Zg=2,Jg=3,Dd=4,xd=class{constructor(e){this.groupNumberMonth=e?Jg:Zg,this.groupNumberDay=e?Zg:Jg}pattern(){return AO}extract(e,t){if(t[nu]=="/"||t[Xg]=="/"){t.index+=t[0].length;return}let n=t.index+t[nu].length,i=t[0].substr(t[nu].length,t[0].length-t[nu].length-t[Xg].length);if(i.match(/^\d\.\d$/)||i.match(/^\d\.\d{1,2}\.\d{1,2}\s*$/)||!t[Dd]&&t[0].indexOf("/")<0)return;let s=e.createParsingResult(n,i),a=parseInt(t[this.groupNumberMonth]),o=parseInt(t[this.groupNumberDay]);if((a<1||a>12)&&a>12)if(o>=1&&o<=12&&a<=31)[o,a]=[a,o];else return null;if(o<1||o>31)return null;if(s.start.assign("day",o),s.start.assign("month",a),t[Dd]){let u=parseInt(t[Dd]),l=Qg.findMostLikelyADYear(u);s.start.assign("year",l)}else{let u=Qg.findYearClosestToRef(e.refDate,o,a);s.start.imply("year",u)}return s}};Rd.default=xd});var ty=k(Cd=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});var ey=ut(),PO=We(),NO=B(),IO=ir(),FO=new RegExp(`(this|last|past|next|after|\\+|-)\\s*(${ey.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),Md=class extends NO.AbstractParserWithWordBoundaryChecking{innerPattern(){return FO}innerExtract(e,t){let n=t[1].toLowerCase(),i=ey.parseTimeUnits(t[2]);switch(n){case"last":case"past":case"-":i=IO.reverseTimeUnits(i);break}return PO.ParsingComponents.createRelativeFromReference(e.reference,i)}};Cd.default=Md});var ny=k(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});var LO=zi(),Ad=We(),UO=ut(),WO=ir();function ry(r){return r.text.match(/\s+(before|from)$/i)!=null}function qO(r){return r.text.match(/\s+(after|since)$/i)!=null}var Pd=class extends LO.MergingRefiner{patternBetween(){return/^\s*$/i}shouldMergeResults(e,t,n){return!e.match(this.patternBetween())||!ry(t)&&!qO(t)?!1:!!n.start.get("day")&&!!n.start.get("month")&&!!n.start.get("year")}mergeResults(e,t,n){let i=UO.parseTimeUnits(t.text);ry(t)&&(i=WO.reverseTimeUnits(i));let s=Ad.ParsingComponents.createRelativeFromReference(new Ad.ReferenceWithTimezone(n.start.date()),i);return new Ad.ParsingResult(n.reference,t.index,`${t.text}${e}${n.text}`,s)}};Nd.default=Pd});var Od=k(Ge=>{"use strict";var Ze=Ge&&Ge.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.createConfiguration=Ge.createCasualConfiguration=Ge.parseDate=Ge.parse=Ge.GB=Ge.strict=Ge.casual=void 0;var $O=Ze(rg()),jO=Ze(ug()),GO=Ze(pg()),YO=Ze(gg()),BO=Ze(Tg()),HO=Ze(_g()),VO=Ze(wg()),zO=Ze(kg()),KO=Ze(Eg()),QO=Ze(Sg()),XO=Ze(xg()),ZO=ln(),JO=Ze($g()),e0=Ze(jg()),t0=Ze(Hg()),r0=Ze(Kg()),Id=vr(),n0=Ze(fi()),i0=Ze(ty()),s0=Ze(ny());Ge.casual=new Id.Chrono(iy(!1));Ge.strict=new Id.Chrono(iu(!0,!1));Ge.GB=new Id.Chrono(iu(!1,!0));function a0(r,e,t){return Ge.casual.parse(r,e,t)}Ge.parse=a0;function o0(r,e,t){return Ge.casual.parseDate(r,e,t)}Ge.parseDate=o0;function iy(r=!1){let e=iu(!1,r);return e.parsers.unshift(new JO.default),e.parsers.unshift(new e0.default),e.parsers.unshift(new YO.default),e.parsers.unshift(new r0.default),e.parsers.unshift(new i0.default),e}Ge.createCasualConfiguration=iy;function iu(r=!0,e=!1){return ZO.includeCommonConfiguration({parsers:[new n0.default(e),new $O.default,new jO.default,new GO.default,new t0.default,new BO.default,new HO.default,new VO.default(r),new zO.default(r),new KO.default(r)],refiners:[new s0.default,new XO.default,new QO.default]},r)}Ge.createConfiguration=iu});var sy=k(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});var u0=li(),Fd=class extends u0.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:um|von)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|bis)\\s*"}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}};Ld.default=Fd});var pa=k(Ae=>{"use strict";Object.defineProperty(Ae,"__esModule",{value:!0});Ae.parseTimeUnits=Ae.TIME_UNITS_PATTERN=Ae.parseYear=Ae.YEAR_PATTERN=Ae.parseNumberPattern=Ae.NUMBER_PATTERN=Ae.TIME_UNIT_DICTIONARY=Ae.INTEGER_WORD_DICTIONARY=Ae.MONTH_DICTIONARY=Ae.WEEKDAY_DICTIONARY=void 0;var Ud=Re(),l0=ot();Ae.WEEKDAY_DICTIONARY={sonntag:0,so:0,montag:1,mo:1,dienstag:2,di:2,mittwoch:3,mi:3,donnerstag:4,do:4,freitag:5,fr:5,samstag:6,sa:6};Ae.MONTH_DICTIONARY={januar:1,j\u00E4nner:1,janner:1,jan:1,"jan.":1,februar:2,feber:2,feb:2,"feb.":2,m\u00E4rz:3,maerz:3,m\u00E4r:3,"m\xE4r.":3,mrz:3,"mrz.":3,april:4,apr:4,"apr.":4,mai:5,juni:6,jun:6,"jun.":6,juli:7,jul:7,"jul.":7,august:8,aug:8,"aug.":8,september:9,sep:9,"sep.":9,sept:9,"sept.":9,oktober:10,okt:10,"okt.":10,november:11,nov:11,"nov.":11,dezember:12,dez:12,"dez.":12};Ae.INTEGER_WORD_DICTIONARY={eins:1,eine:1,einem:1,einen:1,einer:1,zwei:2,drei:3,vier:4,f\u00FCnf:5,fuenf:5,sechs:6,sieben:7,acht:8,neun:9,zehn:10,elf:11,zw\u00F6lf:12,zwoelf:12};Ae.TIME_UNIT_DICTIONARY={sek:"second",sekunde:"second",sekunden:"second",min:"minute",minute:"minute",minuten:"minute",h:"hour",std:"hour",stunde:"hour",stunden:"hour",tag:"d",tage:"d",tagen:"d",woche:"week",wochen:"week",monat:"month",monate:"month",monaten:"month",monats:"month",quartal:"quarter",quartals:"quarter",quartale:"quarter",quartalen:"quarter",a:"year",j:"year",jr:"year",jahr:"year",jahre:"year",jahren:"year",jahres:"year"};Ae.NUMBER_PATTERN=`(?:${Ud.matchAnyPattern(Ae.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s*an?)?|an?\\b(?:\\s*few)?|few|several|a?\\s*couple\\s*(?:of)?)`;function oy(r){let e=r.toLowerCase();return Ae.INTEGER_WORD_DICTIONARY[e]!==void 0?Ae.INTEGER_WORD_DICTIONARY[e]:e==="a"||e==="an"?1:e.match(/few/)?3:e.match(/half/)?.5:e.match(/couple/)?2:e.match(/several/)?7:parseFloat(e)}Ae.parseNumberPattern=oy;Ae.YEAR_PATTERN="(?:[0-9]{1,4}(?:\\s*[vn]\\.?\\s*(?:C(?:hr)?|(?:u\\.?|d\\.?(?:\\s*g\\.?)?)?\\s*Z)\\.?|\\s*(?:u\\.?|d\\.?(?:\\s*g\\.)?)\\s*Z\\.?)?)";function c0(r){if(/v/i.test(r))return-parseInt(r.replace(/[^0-9]+/gi,""));if(/n/i.test(r))return parseInt(r.replace(/[^0-9]+/gi,""));if(/z/i.test(r))return parseInt(r.replace(/[^0-9]+/gi,""));let e=parseInt(r);return l0.findMostLikelyADYear(e)}Ae.parseYear=c0;var uy=`(${Ae.NUMBER_PATTERN})\\s{0,5}(${Ud.matchAnyPattern(Ae.TIME_UNIT_DICTIONARY)})\\s{0,5}`,ay=new RegExp(uy,"i");Ae.TIME_UNITS_PATTERN=Ud.repeatedTimeunitPattern("",uy);function d0(r){let e={},t=r,n=ay.exec(t);for(;n;)f0(e,n),t=t.substring(n[0].length),n=ay.exec(t);return e}Ae.parseTimeUnits=d0;function f0(r,e){let t=oy(e[1]),n=Ae.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var cy=k(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});var ly=pa(),p0=Re(),m0=B(),h0=di(),g0=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:a[mn]\\s*?)?(?:(diese[mn]|letzte[mn]|n(?:\xE4|ae)chste[mn])\\s*)?(${p0.matchAnyPattern(ly.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(diese|letzte|n(?:\xE4|ae)chste)\\s*woche)?(?=\\W|$)`,"i"),y0=1,b0=3,T0=2,Wd=class extends m0.AbstractParserWithWordBoundaryChecking{innerPattern(){return g0}innerExtract(e,t){let n=t[T0].toLowerCase(),i=ly.WEEKDAY_DICTIONARY[n],s=t[y0],a=t[b0],o=s||a;o=o||"",o=o.toLowerCase();let u=null;o.match(/letzte/)?u="last":o.match(/chste/)?u="next":o.match(/diese/)&&(u="this");let l=h0.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};qd.default=Wd});var my=k($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});var Wn=ze(),_0=new RegExp("(^|\\s|T)(?:(?:um|von)\\s*)?(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s)?)?(?:\\s*Uhr)?(?:\\s*(morgens|vormittags|nachmittags|abends|nachts|am\\s+(?:Morgen|Vormittag|Nachmittag|Abend)|in\\s+der\\s+Nacht))?(?=\\W|$)","i"),v0=new RegExp("^\\s*(\\-|\\\u2013|\\~|\\\u301C|bis(?:\\s+um)?|\\?)\\s*(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s)?)?(?:\\s*Uhr)?(?:\\s*(morgens|vormittags|nachmittags|abends|nachts|am\\s+(?:Morgen|Vormittag|Nachmittag|Abend)|in\\s+der\\s+Nacht))?(?=\\W|$)","i"),w0=2,dy=3,fy=4,py=5,ts=class{pattern(e){return _0}extract(e,t){let n=e.createParsingResult(t.index+t[1].length,t[0].substring(t[1].length));if(n.text.match(/^\d{4}$/)||(n.start=ts.extractTimeComponent(n.start.clone(),t),!n.start))return t.index+=t[0].length,null;let i=e.text.substring(t.index+t[0].length),s=v0.exec(i);return s&&(n.end=ts.extractTimeComponent(n.start.clone(),s),n.end&&(n.text+=s[0])),n}static extractTimeComponent(e,t){let n=0,i=0,s=null;if(n=parseInt(t[w0]),t[dy]!=null&&(i=parseInt(t[dy])),i>=60||n>24)return null;if(n>=12&&(s=Wn.Meridiem.PM),t[py]!=null){if(n>12)return null;let a=t[py].toLowerCase();a.match(/morgen|vormittag/)&&(s=Wn.Meridiem.AM,n==12&&(n=0)),a.match(/nachmittag|abend/)&&(s=Wn.Meridiem.PM,n!=12&&(n+=12)),a.match(/nacht/)&&(n==12?(s=Wn.Meridiem.AM,n=0):n<6?s=Wn.Meridiem.AM:(s=Wn.Meridiem.PM,n+=12))}if(e.assign("hour",n),e.assign("minute",i),s!==null?e.assign("meridiem",s):n<12?e.imply("meridiem",Wn.Meridiem.AM):e.imply("meridiem",Wn.Meridiem.PM),t[fy]!=null){let a=parseInt(t[fy]);if(a>=60)return null;e.assign("second",a)}return e}};$d.default=ts});var hy=k(ma=>{"use strict";var k0=ma&&ma.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ma,"__esModule",{value:!0});var E0=k0(qr()),jd=class extends E0.default{patternBetween(){return/^\s*(bis(?:\s*(?:am|zum))?|-)\s*$/i}};ma.default=jd});var gy=k(ha=>{"use strict";var S0=ha&&ha.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ha,"__esModule",{value:!0});var O0=S0(un()),Gd=class extends O0.default{patternBetween(){return new RegExp("^\\s*(T|um|am|,|-)?\\s*$")}};ha.default=Gd});var Yd=k(ya=>{"use strict";var D0=ya&&ya.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ya,"__esModule",{value:!0});var x0=D0(ve()),pi=ze(),R0=B(),M0=nr(),C0=ir(),ga=class extends R0.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(diesen)?\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht)(?=\W|$)/i}innerExtract(e,t){let n=x0.default(e.refDate),i=t[2].toLowerCase(),s=e.createParsingComponents();return M0.implySimilarTime(s,n),ga.extractTimeComponents(s,i)}static extractTimeComponents(e,t){switch(t){case"morgen":e.imply("hour",6),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.AM);break;case"vormittag":e.imply("hour",9),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.AM);break;case"mittag":case"mittags":e.imply("hour",12),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.AM);break;case"nachmittag":e.imply("hour",15),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.PM);break;case"abend":e.imply("hour",18),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.PM);break;case"nacht":e.imply("hour",22),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.PM);break;case"mitternacht":e.get("hour")>1&&(e=C0.addImpliedTimeUnits(e,{day:1})),e.imply("hour",0),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.AM);break}return e}};ya.default=ga});var Ty=k(wr=>{"use strict";var A0=wr&&wr.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),P0=wr&&wr.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),N0=wr&&wr.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&A0(e,r,t);return P0(e,r),e},by=wr&&wr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(wr,"__esModule",{value:!0});var I0=by(ve()),F0=B(),mi=nr(),L0=by(Yd()),yy=N0(dn()),U0=new RegExp("(jetzt|heute|morgen|\xFCbermorgen|uebermorgen|gestern|vorgestern|letzte\\s*nacht)(?:\\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht))?(?=\\W|$)","i"),W0=1,q0=2,Bd=class extends F0.AbstractParserWithWordBoundaryChecking{innerPattern(e){return U0}innerExtract(e,t){let n=I0.default(e.refDate),i=(t[W0]||"").toLowerCase(),s=(t[q0]||"").toLowerCase(),a=e.createParsingComponents();switch(i){case"jetzt":a=yy.now(e.reference);break;case"heute":a=yy.today(e.reference);break;case"morgen":mi.assignTheNextDay(a,n);break;case"\xFCbermorgen":case"uebermorgen":n=n.add(1,"day"),mi.assignTheNextDay(a,n);break;case"gestern":n=n.add(-1,"day"),mi.assignSimilarDate(a,n),mi.implySimilarTime(a,n);break;case"vorgestern":n=n.add(-2,"day"),mi.assignSimilarDate(a,n),mi.implySimilarTime(a,n);break;default:i.match(/letzte\s*nacht/)&&(n.hour()>6&&(n=n.add(-1,"day")),mi.assignSimilarDate(a,n),a.imply("hour",0));break}return s&&(a=L0.default.extractTimeComponents(a,s)),a}};wr.default=Bd});var Sy=k(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});var $0=ot(),ky=pa(),Ey=pa(),j0=Re(),G0=B(),Y0=new RegExp(`(?:am\\s*?)?(?:den\\s*?)?([0-9]{1,2})\\.(?:\\s*(?:bis(?:\\s*(?:am|zum))?|\\-|\\\u2013|\\s)\\s*([0-9]{1,2})\\.?)?\\s*(${j0.matchAnyPattern(ky.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${Ey.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),_y=1,vy=2,B0=3,wy=4,Hd=class extends G0.AbstractParserWithWordBoundaryChecking{innerPattern(){return Y0}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=ky.MONTH_DICTIONARY[t[B0].toLowerCase()],s=parseInt(t[_y]);if(s>31)return t.index=t.index+t[_y].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[wy]){let a=Ey.parseYear(t[wy]);n.start.assign("year",a)}else{let a=$0.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[vy]){let a=parseInt(t[vy]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Vd.default=Hd});var Oy=k(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});var su=pa(),H0=We(),V0=B(),z0=ir(),K0=Re(),zd=class extends V0.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`(?:\\s*((?:n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?|vor|in)\\s*)?(${su.NUMBER_PATTERN})?(?:\\s*(n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?)?\\s*(${K0.matchAnyPattern(su.TIME_UNIT_DICTIONARY)})`,"i")}innerExtract(e,t){let n=t[2]?su.parseNumberPattern(t[2]):1,i=su.TIME_UNIT_DICTIONARY[t[4].toLowerCase()],s={};s[i]=n;let a=t[1]||t[3]||"";if(a=a.toLowerCase(),!!a)return(/vor/.test(a)||/letzte/.test(a)||/vergangen/.test(a))&&(s=z0.reverseTimeUnits(s)),H0.ParsingComponents.createRelativeFromReference(e.reference,s)}};Kd.default=zd});var Ry=k(Je=>{"use strict";var kr=Je&&Je.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Je,"__esModule",{value:!0});Je.createConfiguration=Je.createCasualConfiguration=Je.parseDate=Je.parse=Je.strict=Je.casual=void 0;var Q0=ln(),Dy=vr(),X0=kr(fi()),Z0=kr(yd()),J0=kr(sy()),e1=kr(cy()),t1=kr(my()),r1=kr(hy()),n1=kr(gy()),i1=kr(Ty()),s1=kr(Yd()),a1=kr(Sy()),o1=kr(Oy());Je.casual=new Dy.Chrono(xy());Je.strict=new Dy.Chrono(Qd(!0));function u1(r,e,t){return Je.casual.parse(r,e,t)}Je.parse=u1;function l1(r,e,t){return Je.casual.parseDate(r,e,t)}Je.parseDate=l1;function xy(r=!0){let e=Qd(!1,r);return e.parsers.unshift(new s1.default),e.parsers.unshift(new i1.default),e.parsers.unshift(new o1.default),e}Je.createCasualConfiguration=xy;function Qd(r=!0,e=!0){return Q0.includeCommonConfiguration({parsers:[new Z0.default,new X0.default(e),new J0.default,new t1.default,new a1.default,new e1.default],refiners:[new r1.default,new n1.default]},r)}Je.createConfiguration=Qd});var Cy=k(Er=>{"use strict";var c1=Er&&Er.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),d1=Er&&Er.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),f1=Er&&Er.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&c1(e,r,t);return d1(e,r),e},p1=Er&&Er.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Er,"__esModule",{value:!0});var m1=p1(ve()),h1=ze(),g1=B(),My=nr(),au=f1(dn()),Xd=class extends g1.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(maintenant|aujourd'hui|demain|hier|cette\s*nuit|la\s*veille)(?=\W|$)/i}innerExtract(e,t){let n=m1.default(e.refDate),i=t[0].toLowerCase(),s=e.createParsingComponents();switch(i){case"maintenant":return au.now(e.reference);case"aujourd'hui":return au.today(e.reference);case"hier":return au.yesterday(e.reference);case"demain":return au.tomorrow(e.reference);default:i.match(/cette\s*nuit/)?(My.assignSimilarDate(s,n),s.imply("hour",22),s.imply("meridiem",h1.Meridiem.PM)):i.match(/la\s*veille/)&&(n=n.add(-1,"day"),My.assignSimilarDate(s,n),s.imply("hour",0))}return s}};Er.default=Xd});var Ay=k(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});var ba=ze(),y1=B(),Zd=class extends y1.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(cet?)?\s*(matin|soir|après-midi|aprem|a midi|à minuit)(?=\W|$)/i}innerExtract(e,t){let n=t[2].toLowerCase(),i=e.createParsingComponents();switch(n){case"apr\xE8s-midi":case"aprem":i.imply("hour",14),i.imply("minute",0),i.imply("meridiem",ba.Meridiem.PM);break;case"soir":i.imply("hour",18),i.imply("minute",0),i.imply("meridiem",ba.Meridiem.PM);break;case"matin":i.imply("hour",8),i.imply("minute",0),i.imply("meridiem",ba.Meridiem.AM);break;case"a midi":i.imply("hour",12),i.imply("minute",0),i.imply("meridiem",ba.Meridiem.AM);break;case"\xE0 minuit":i.imply("hour",0),i.imply("meridiem",ba.Meridiem.AM);break}return i}};Jd.default=Zd});var Py=k(tf=>{"use strict";Object.defineProperty(tf,"__esModule",{value:!0});var b1=li(),ef=class extends b1.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:[\xE0a])\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*"}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}};tf.default=ef});var Ny=k(Ta=>{"use strict";var T1=Ta&&Ta.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ta,"__esModule",{value:!0});var _1=T1(un()),rf=class extends _1.default{patternBetween(){return new RegExp("^\\s*(T|\xE0|a|vers|de|,|-)?\\s*$")}};Ta.default=rf});var Iy=k(_a=>{"use strict";var v1=_a&&_a.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(_a,"__esModule",{value:!0});var w1=v1(qr()),nf=class extends w1.default{patternBetween(){return/^\s*(à|a|-)\s*$/i}};_a.default=nf});var qn=k(we=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});we.parseTimeUnits=we.TIME_UNITS_PATTERN=we.parseYear=we.YEAR_PATTERN=we.parseOrdinalNumberPattern=we.ORDINAL_NUMBER_PATTERN=we.parseNumberPattern=we.NUMBER_PATTERN=we.TIME_UNIT_DICTIONARY=we.INTEGER_WORD_DICTIONARY=we.MONTH_DICTIONARY=we.WEEKDAY_DICTIONARY=void 0;var sf=Re();we.WEEKDAY_DICTIONARY={dimanche:0,dim:0,lundi:1,lun:1,mardi:2,mar:2,mercredi:3,mer:3,jeudi:4,jeu:4,vendredi:5,ven:5,samedi:6,sam:6};we.MONTH_DICTIONARY={janvier:1,jan:1,"jan.":1,f\u00E9vrier:2,f\u00E9v:2,"f\xE9v.":2,fevrier:2,fev:2,"fev.":2,mars:3,mar:3,"mar.":3,avril:4,avr:4,"avr.":4,mai:5,juin:6,jun:6,juillet:7,juil:7,jul:7,"jul.":7,ao\u00FBt:8,aout:8,septembre:9,sep:9,"sep.":9,sept:9,"sept.":9,octobre:10,oct:10,"oct.":10,novembre:11,nov:11,"nov.":11,d\u00E9cembre:12,decembre:12,dec:12,"dec.":12};we.INTEGER_WORD_DICTIONARY={un:1,deux:2,trois:3,quatre:4,cinq:5,six:6,sept:7,huit:8,neuf:9,dix:10,onze:11,douze:12,treize:13};we.TIME_UNIT_DICTIONARY={sec:"second",seconde:"second",secondes:"second",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",heure:"hour",heures:"hour",jour:"d",jours:"d",semaine:"week",semaines:"week",mois:"month",trimestre:"quarter",trimestres:"quarter",ans:"year",ann\u00E9e:"year",ann\u00E9es:"year"};we.NUMBER_PATTERN=`(?:${sf.matchAnyPattern(we.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|une?\\b|quelques?|demi-?)`;function Ly(r){let e=r.toLowerCase();return we.INTEGER_WORD_DICTIONARY[e]!==void 0?we.INTEGER_WORD_DICTIONARY[e]:e==="une"||e==="un"?1:e.match(/quelques?/)?3:e.match(/demi-?/)?.5:parseFloat(e)}we.parseNumberPattern=Ly;we.ORDINAL_NUMBER_PATTERN="(?:[0-9]{1,2}(?:er)?)";function k1(r){let e=r.toLowerCase();return e=e.replace(/(?:er)$/i,""),parseInt(e)}we.parseOrdinalNumberPattern=k1;we.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s*(?:AC|AD|p\\.\\s*C(?:hr?)?\\.\\s*n\\.)|[1-2][0-9]{3}|[5-9][0-9])";function E1(r){if(/AC/i.test(r))return r=r.replace(/BC/i,""),-parseInt(r);if(/AD/i.test(r)||/C/i.test(r))return r=r.replace(/[^\d]+/i,""),parseInt(r);let e=parseInt(r);return e<100&&(e>50?e=e+1900:e=e+2e3),e}we.parseYear=E1;var Uy=`(${we.NUMBER_PATTERN})\\s{0,5}(${sf.matchAnyPattern(we.TIME_UNIT_DICTIONARY)})\\s{0,5}`,Fy=new RegExp(Uy,"i");we.TIME_UNITS_PATTERN=sf.repeatedTimeunitPattern("",Uy);function S1(r){let e={},t=r,n=Fy.exec(t);for(;n;)O1(e,n),t=t.substring(n[0].length),n=Fy.exec(t);return e}we.parseTimeUnits=S1;function O1(r,e){let t=Ly(e[1]),n=we.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var qy=k(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});var Wy=qn(),D1=Re(),x1=B(),R1=di(),M1=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(?:ce)\\s*)?(${D1.matchAnyPattern(Wy.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(dernier|prochain)\\s*)?(?=\\W|\\d|$)`,"i"),C1=1,A1=2,af=class extends x1.AbstractParserWithWordBoundaryChecking{innerPattern(){return M1}innerExtract(e,t){let n=t[C1].toLowerCase(),i=Wy.WEEKDAY_DICTIONARY[n];if(i===void 0)return null;let s=t[A1];s=s||"",s=s.toLowerCase();let a=null;s=="dernier"?a="last":s=="prochain"&&(a="next");let o=R1.toDayJSWeekday(e.refDate,i,a);return e.createParsingComponents().assign("weekday",i).imply("day",o.date()).imply("month",o.month()+1).imply("year",o.year())}};of.default=af});var Yy=k(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});var va=ze(),P1=new RegExp("(^|\\s|T)(?:(?:[\xE0a])\\s*)?(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)","i"),N1=new RegExp("^\\s*(\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)","i"),I1=2,$y=3,jy=4,Gy=5,rs=class{pattern(e){return P1}extract(e,t){let n=e.createParsingResult(t.index+t[1].length,t[0].substring(t[1].length));if(n.text.match(/^\d{4}$/)||(n.start=rs.extractTimeComponent(n.start.clone(),t),!n.start))return t.index+=t[0].length,null;let i=e.text.substring(t.index+t[0].length),s=N1.exec(i);return s&&(n.end=rs.extractTimeComponent(n.start.clone(),s),n.end&&(n.text+=s[0])),n}static extractTimeComponent(e,t){let n=0,i=0,s=null;if(n=parseInt(t[I1]),t[$y]!=null&&(i=parseInt(t[$y])),i>=60||n>24)return null;if(n>=12&&(s=va.Meridiem.PM),t[Gy]!=null){if(n>12)return null;let a=t[Gy][0].toLowerCase();a=="a"&&(s=va.Meridiem.AM,n==12&&(n=0)),a=="p"&&(s=va.Meridiem.PM,n!=12&&(n+=12))}if(e.assign("hour",n),e.assign("minute",i),s!==null?e.assign("meridiem",s):n<12?e.imply("meridiem",va.Meridiem.AM):e.imply("meridiem",va.Meridiem.PM),t[jy]!=null){let a=parseInt(t[jy]);if(a>=60)return null;e.assign("second",a)}return e}};uf.default=rs});var Qy=k(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});var F1=ot(),zy=qn(),Ky=qn(),ou=qn(),L1=Re(),U1=B(),W1=new RegExp(`(?:on\\s*?)?(${ou.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:au|\\-|\\\u2013|jusqu'au?|\\s)\\s*(${ou.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:de)?\\s*)(${L1.matchAnyPattern(zy.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${Ky.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),By=1,Hy=2,q1=3,Vy=4,lf=class extends U1.AbstractParserWithWordBoundaryChecking{innerPattern(){return W1}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=zy.MONTH_DICTIONARY[t[q1].toLowerCase()],s=ou.parseOrdinalNumberPattern(t[By]);if(s>31)return t.index=t.index+t[By].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[Vy]){let a=Ky.parseYear(t[Vy]);n.start.assign("year",a)}else{let a=F1.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[Hy]){let a=ou.parseOrdinalNumberPattern(t[Hy]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};cf.default=lf});var Zy=k(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});var Xy=qn(),$1=We(),j1=B(),G1=ir(),df=class extends j1.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`il y a\\s*(${Xy.TIME_UNITS_PATTERN})(?=(?:\\W|$))`,"i")}innerExtract(e,t){let n=Xy.parseTimeUnits(t[1]),i=G1.reverseTimeUnits(n);return $1.ParsingComponents.createRelativeFromReference(e.reference,i)}};ff.default=df});var eb=k(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});var Jy=qn(),Y1=We(),B1=B(),pf=class extends B1.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp(`(?:dans|en|pour|pendant|de)\\s*(${Jy.TIME_UNITS_PATTERN})(?=\\W|$)`,"i")}innerExtract(e,t){let n=Jy.parseTimeUnits(t[1]);return Y1.ParsingComponents.createRelativeFromReference(e.reference,n)}};mf.default=pf});var tb=k(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});var uu=qn(),H1=We(),V1=B(),z1=ir(),K1=Re(),hf=class extends V1.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`(?:les?|la|l'|du|des?)\\s*(${uu.NUMBER_PATTERN})?(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?\\s*(${K1.matchAnyPattern(uu.TIME_UNIT_DICTIONARY)})(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?`,"i")}innerExtract(e,t){let n=t[1]?uu.parseNumberPattern(t[1]):1,i=uu.TIME_UNIT_DICTIONARY[t[3].toLowerCase()],s={};s[i]=n;let a=t[2]||t[4]||"";if(a=a.toLowerCase(),!!a)return(/derni[eè]re?s?/.test(a)||/pass[ée]e?s?/.test(a)||/pr[ée]c[ée]dents?/.test(a))&&(s=z1.reverseTimeUnits(s)),H1.ParsingComponents.createRelativeFromReference(e.reference,s)}};gf.default=hf});var ib=k(et=>{"use strict";var sr=et&&et.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(et,"__esModule",{value:!0});et.createConfiguration=et.createCasualConfiguration=et.parseDate=et.parse=et.strict=et.casual=void 0;var Q1=ln(),rb=vr(),X1=sr(Cy()),Z1=sr(Ay()),J1=sr(fi()),eD=sr(Py()),tD=sr(Ny()),rD=sr(Iy()),nD=sr(qy()),iD=sr(Yy()),sD=sr(Qy()),aD=sr(Zy()),oD=sr(eb()),uD=sr(tb());et.casual=new rb.Chrono(nb());et.strict=new rb.Chrono(yf(!0));function lD(r,e,t){return et.casual.parse(r,e,t)}et.parse=lD;function cD(r,e,t){return et.casual.parseDate(r,e,t)}et.parseDate=cD;function nb(r=!0){let e=yf(!1,r);return e.parsers.unshift(new X1.default),e.parsers.unshift(new Z1.default),e.parsers.unshift(new uD.default),e}et.createCasualConfiguration=nb;function yf(r=!0,e=!0){return Q1.includeCommonConfiguration({parsers:[new J1.default(e),new sD.default,new eD.default,new iD.default,new aD.default,new oD.default,new nD.default],refiners:[new tD.default,new rD.default]},r)}et.createConfiguration=yf});var sb=k(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.toHankaku=void 0;function dD(r){return String(r).replace(/\u2019/g,"'").replace(/\u201D/g,'"').replace(/\u3000/g," ").replace(/\uFFE5/g,"\xA5").replace(/[\uFF01\uFF03-\uFF06\uFF08\uFF09\uFF0C-\uFF19\uFF1C-\uFF1F\uFF21-\uFF3B\uFF3D\uFF3F\uFF41-\uFF5B\uFF5D\uFF5E]/g,fD)}lu.toHankaku=dD;function fD(r){return String.fromCharCode(r.charCodeAt(0)-65248)}});var ob=k(wa=>{"use strict";var pD=wa&&wa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(wa,"__esModule",{value:!0});var bf=sb(),mD=ot(),hD=pD(ve()),gD=/(?:(?:([同今本])|((昭和|平成|令和)?([0-90-9]{1,4}|元)))年\s*)?([0-90-9]{1,2})月\s*([0-90-9]{1,2})日/i,ab=1,yD=2,Tf=3,bD=4,TD=5,_D=6,_f=class{pattern(){return gD}extract(e,t){let n=parseInt(bf.toHankaku(t[TD])),i=parseInt(bf.toHankaku(t[_D])),s=e.createParsingComponents({day:i,month:n});if(t[ab]&&t[ab].match("\u540C|\u4ECA|\u672C")){let a=hD.default(e.refDate);s.assign("year",a.year())}if(t[yD]){let a=t[bD],o=a=="\u5143"?1:parseInt(bf.toHankaku(a));t[Tf]=="\u4EE4\u548C"?o+=2018:t[Tf]=="\u5E73\u6210"?o+=1988:t[Tf]=="\u662D\u548C"&&(o+=1925),s.assign("year",o)}else{let a=mD.findYearClosestToRef(e.refDate,i,n);s.imply("year",a)}return s}};wa.default=_f});var ub=k(ka=>{"use strict";var vD=ka&&ka.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ka,"__esModule",{value:!0});var wD=vD(qr()),vf=class extends wD.default{patternBetween(){return/^\s*(から|ー|-)\s*$/i}};ka.default=vf});var cb=k(Sr=>{"use strict";var kD=Sr&&Sr.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),ED=Sr&&Sr.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),SD=Sr&&Sr.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&kD(e,r,t);return ED(e,r),e},OD=Sr&&Sr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Sr,"__esModule",{value:!0});var DD=OD(ve()),lb=ze(),wf=SD(dn()),xD=/今日|当日|昨日|明日|今夜|今夕|今晩|今朝/i,kf=class{pattern(){return xD}extract(e,t){let n=t[0],i=DD.default(e.refDate),s=e.createParsingComponents();switch(n){case"\u6628\u65E5":return wf.yesterday(e.reference);case"\u660E\u65E5":return wf.tomorrow(e.reference);case"\u4ECA\u65E5":case"\u5F53\u65E5":return wf.today(e.reference)}return n=="\u4ECA\u591C"||n=="\u4ECA\u5915"||n=="\u4ECA\u6669"?(s.imply("hour",22),s.assign("meridiem",lb.Meridiem.PM)):n.match("\u4ECA\u671D")&&(s.imply("hour",6),s.assign("meridiem",lb.Meridiem.AM)),s.assign("day",i.date()),s.assign("month",i.month()+1),s.assign("year",i.year()),s}};Sr.default=kf});var pb=k(tt=>{"use strict";var Ef=tt&&tt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(tt,"__esModule",{value:!0});tt.createConfiguration=tt.createCasualConfiguration=tt.parseDate=tt.parse=tt.strict=tt.casual=void 0;var RD=Ef(ob()),MD=Ef(ub()),CD=Ef(cb()),db=vr();tt.casual=new db.Chrono(fb());tt.strict=new db.Chrono(Sf());function AD(r,e,t){return tt.casual.parse(r,e,t)}tt.parse=AD;function PD(r,e,t){return tt.casual.parseDate(r,e,t)}tt.parseDate=PD;function fb(){let r=Sf();return r.parsers.unshift(new CD.default),r}tt.createCasualConfiguration=fb;function Sf(){return{parsers:[new RD.default],refiners:[new MD.default]}}tt.createConfiguration=Sf});var cu=k(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.parseYear=jr.YEAR_PATTERN=jr.MONTH_DICTIONARY=jr.WEEKDAY_DICTIONARY=void 0;jr.WEEKDAY_DICTIONARY={domingo:0,dom:0,segunda:1,"segunda-feira":1,seg:1,ter\u00E7a:2,"ter\xE7a-feira":2,ter:2,quarta:3,"quarta-feira":3,qua:3,quinta:4,"quinta-feira":4,qui:4,sexta:5,"sexta-feira":5,sex:5,s\u00E1bado:6,sabado:6,sab:6};jr.MONTH_DICTIONARY={janeiro:1,jan:1,"jan.":1,fevereiro:2,fev:2,"fev.":2,mar\u00E7o:3,mar:3,"mar.":3,abril:4,abr:4,"abr.":4,maio:5,mai:5,"mai.":5,junho:6,jun:6,"jun.":6,julho:7,jul:7,"jul.":7,agosto:8,ago:8,"ago.":8,setembro:9,set:9,"set.":9,outubro:10,out:10,"out.":10,novembro:11,nov:11,"nov.":11,dezembro:12,dez:12,"dez.":12};jr.YEAR_PATTERN="[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?";function ND(r){if(r.match(/^[0-9]{1,4}$/)){let e=parseInt(r);return e<100&&(e>50?e=e+1900:e=e+2e3),e}return r.match(/a\.?\s*c\.?/i)?(r=r.replace(/a\.?\s*c\.?/i,""),-parseInt(r)):parseInt(r)}jr.parseYear=ND});var hb=k(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});var mb=cu(),ID=Re(),FD=B(),LD=di(),UD=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(este|esta|passado|pr[o\xF3]ximo)\\s*)?(${ID.matchAnyPattern(mb.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(este|esta|passado|pr[\xF3o]ximo)\\s*semana)?(?=\\W|\\d|$)`,"i"),WD=1,qD=2,$D=3,Of=class extends FD.AbstractParserWithWordBoundaryChecking{innerPattern(){return UD}innerExtract(e,t){let n=t[qD].toLowerCase(),i=mb.WEEKDAY_DICTIONARY[n];if(i===void 0)return null;let s=t[WD],a=t[$D],o=s||a||"";o=o.toLowerCase();let u=null;o=="passado"?u="this":o=="pr\xF3ximo"||o=="proximo"?u="next":o=="este"&&(u="this");let l=LD.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};Df.default=Of});var gb=k(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});var jD=li(),xf=class extends jD.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:ao?|\xE0s?|das|da|de|do)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|a(?:o)?|\\?)\\s*"}};Rf.default=xf});var yb=k(Ea=>{"use strict";var GD=Ea&&Ea.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ea,"__esModule",{value:!0});var YD=GD(un()),Mf=class extends YD.default{patternBetween(){return new RegExp("^\\s*(?:,|\xE0)?\\s*$")}};Ea.default=Mf});var bb=k(Sa=>{"use strict";var BD=Sa&&Sa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Sa,"__esModule",{value:!0});var HD=BD(qr()),Cf=class extends HD.default{patternBetween(){return/^\s*(?:-)\s*$/i}};Sa.default=Cf});var Eb=k(Pf=>{"use strict";Object.defineProperty(Pf,"__esModule",{value:!0});var VD=ot(),wb=cu(),kb=cu(),zD=Re(),KD=B(),QD=new RegExp(`([0-9]{1,2})(?:\xBA|\xAA|\xB0)?(?:\\s*(?:desde|de|\\-|\\\u2013|ao?|\\s)\\s*([0-9]{1,2})(?:\xBA|\xAA|\xB0)?)?\\s*(?:de)?\\s*(?:-|/|\\s*(?:de|,)?\\s*)(${zD.matchAnyPattern(wb.MONTH_DICTIONARY)})(?:\\s*(?:de|,)?\\s*(${kb.YEAR_PATTERN}))?(?=\\W|$)`,"i"),Tb=1,_b=2,XD=3,vb=4,Af=class extends KD.AbstractParserWithWordBoundaryChecking{innerPattern(){return QD}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=wb.MONTH_DICTIONARY[t[XD].toLowerCase()],s=parseInt(t[Tb]);if(s>31)return t.index=t.index+t[Tb].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[vb]){let a=kb.parseYear(t[vb]);n.start.assign("year",a)}else{let a=VD.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[_b]){let a=parseInt(t[_b]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Pf.default=Af});var Sb=k(fn=>{"use strict";var ZD=fn&&fn.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),JD=fn&&fn.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),ex=fn&&fn.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&ZD(e,r,t);return JD(e,r),e};Object.defineProperty(fn,"__esModule",{value:!0});var tx=B(),du=ex(dn()),Nf=class extends tx.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(agora|hoje|amanha|amanhã|ontem)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),i=e.createParsingComponents();switch(n){case"agora":return du.now(e.reference);case"hoje":return du.today(e.reference);case"amanha":case"amanh\xE3":return du.tomorrow(e.reference);case"ontem":return du.yesterday(e.reference)}return i}};fn.default=Nf});var Ob=k(Oa=>{"use strict";var rx=Oa&&Oa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Oa,"__esModule",{value:!0});var fu=ze(),nx=B(),ix=nr(),sx=rx(ve()),If=class extends nx.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(?:esta\s*)?(manha|manhã|tarde|meia-noite|meio-dia|noite)(?=\W|$)/i}innerExtract(e,t){let n=sx.default(e.refDate),i=e.createParsingComponents();switch(t[1].toLowerCase()){case"tarde":i.imply("meridiem",fu.Meridiem.PM),i.imply("hour",15);break;case"noite":i.imply("meridiem",fu.Meridiem.PM),i.imply("hour",22);break;case"manha":case"manh\xE3":i.imply("meridiem",fu.Meridiem.AM),i.imply("hour",6);break;case"meia-noite":ix.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"meio-dia":i.imply("meridiem",fu.Meridiem.AM),i.imply("hour",12);break}return i}};Oa.default=If});var Rb=k(rt=>{"use strict";var $n=rt&&rt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(rt,"__esModule",{value:!0});rt.createConfiguration=rt.createCasualConfiguration=rt.parseDate=rt.parse=rt.strict=rt.casual=void 0;var ax=ln(),Db=vr(),ox=$n(fi()),ux=$n(hb()),lx=$n(gb()),cx=$n(yb()),dx=$n(bb()),fx=$n(Eb()),px=$n(Sb()),mx=$n(Ob());rt.casual=new Db.Chrono(xb());rt.strict=new Db.Chrono(Ff(!0));function hx(r,e,t){return rt.casual.parse(r,e,t)}rt.parse=hx;function gx(r,e,t){return rt.casual.parseDate(r,e,t)}rt.parseDate=gx;function xb(r=!0){let e=Ff(!1,r);return e.parsers.push(new px.default),e.parsers.push(new mx.default),e}rt.createCasualConfiguration=xb;function Ff(r=!0,e=!0){return ax.includeCommonConfiguration({parsers:[new ox.default(e),new ux.default,new lx.default,new fx.default],refiners:[new cx.default,new dx.default]},r)}rt.createConfiguration=Ff});var Mb=k(Da=>{"use strict";var yx=Da&&Da.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Da,"__esModule",{value:!0});var bx=yx(qr()),Lf=class extends bx.default{patternBetween(){return/^\s*(tot|-)\s*$/i}};Da.default=Lf});var Cb=k(xa=>{"use strict";var Tx=xa&&xa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(xa,"__esModule",{value:!0});var _x=Tx(un()),Uf=class extends _x.default{patternBetween(){return new RegExp("^\\s*(om|na|voor|in de|,|-)?\\s*$")}};xa.default=Uf});var Ab=k(pn=>{"use strict";var vx=pn&&pn.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),wx=pn&&pn.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),kx=pn&&pn.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&vx(e,r,t);return wx(e,r),e};Object.defineProperty(pn,"__esModule",{value:!0});var Ex=B(),pu=kx(dn()),Wf=class extends Ex.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(nu|vandaag|morgen|morgend|gisteren)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),i=e.createParsingComponents();switch(n){case"nu":return pu.now(e.reference);case"vandaag":return pu.today(e.reference);case"morgen":case"morgend":return pu.tomorrow(e.reference);case"gisteren":return pu.yesterday(e.reference)}return i}};pn.default=Wf});var Pb=k(Ra=>{"use strict";var Sx=Ra&&Ra.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ra,"__esModule",{value:!0});var mu=ze(),Ox=B(),Dx=Sx(ve()),xx=nr(),Rx=1,Mx=2,qf=class extends Ox.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(deze)?\s*(namiddag|avond|middernacht|ochtend|middag|'s middags|'s avonds|'s ochtends)(?=\W|$)/i}innerExtract(e,t){let n=Dx.default(e.refDate),i=e.createParsingComponents();switch(t[Rx]==="deze"&&(i.assign("day",e.refDate.getDate()),i.assign("month",e.refDate.getMonth()+1),i.assign("year",e.refDate.getFullYear())),t[Mx].toLowerCase()){case"namiddag":case"'s namiddags":i.imply("meridiem",mu.Meridiem.PM),i.imply("hour",15);break;case"avond":case"'s avonds'":i.imply("meridiem",mu.Meridiem.PM),i.imply("hour",20);break;case"middernacht":xx.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"ochtend":case"'s ochtends":i.imply("meridiem",mu.Meridiem.AM),i.imply("hour",6);break;case"middag":case"'s middags":i.imply("meridiem",mu.Meridiem.AM),i.imply("hour",12);break}return i}};Ra.default=qf});var $t=k(ge=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0});ge.parseTimeUnits=ge.TIME_UNITS_PATTERN=ge.parseYear=ge.YEAR_PATTERN=ge.parseOrdinalNumberPattern=ge.ORDINAL_NUMBER_PATTERN=ge.parseNumberPattern=ge.NUMBER_PATTERN=ge.TIME_UNIT_DICTIONARY=ge.ORDINAL_WORD_DICTIONARY=ge.INTEGER_WORD_DICTIONARY=ge.MONTH_DICTIONARY=ge.WEEKDAY_DICTIONARY=void 0;var hu=Re(),Cx=ot();ge.WEEKDAY_DICTIONARY={zondag:0,zon:0,"zon.":0,zo:0,"zo.":0,maandag:1,ma:1,"ma.":1,dinsdag:2,din:2,"din.":2,di:2,"di.":2,woensdag:3,woe:3,"woe.":3,wo:3,"wo.":3,donderdag:4,dond:4,"dond.":4,do:4,"do.":4,vrijdag:5,vrij:5,"vrij.":5,vr:5,"vr.":5,zaterdag:6,zat:6,"zat.":6,za:6,"za.":6};ge.MONTH_DICTIONARY={januari:1,jan:1,"jan.":1,februari:2,feb:2,"feb.":2,maart:3,mar:3,"mar.":3,april:4,apr:4,"apr.":4,mei:5,juni:6,jun:6,"jun.":6,juli:7,jul:7,"jul.":7,augustus:8,aug:8,"aug.":8,september:9,sep:9,"sep.":9,sept:9,"sept.":9,oktober:10,okt:10,"okt.":10,november:11,nov:11,"nov.":11,december:12,dec:12,"dec.":12};ge.INTEGER_WORD_DICTIONARY={een:1,twee:2,drie:3,vier:4,vijf:5,zes:6,zeven:7,acht:8,negen:9,tien:10,elf:11,twaalf:12};ge.ORDINAL_WORD_DICTIONARY={eerste:1,tweede:2,derde:3,vierde:4,vijfde:5,zesde:6,zevende:7,achtste:8,negende:9,tiende:10,elfde:11,twaalfde:12,dertiende:13,veertiende:14,vijftiende:15,zestiende:16,zeventiende:17,achttiende:18,negentiende:19,twintigste:20,eenentwintigste:21,twee\u00EBntwintigste:22,drieentwintigste:23,vierentwintigste:24,vijfentwintigste:25,zesentwintigste:26,zevenentwintigste:27,achtentwintig:28,negenentwintig:29,dertigste:30,eenendertigste:31};ge.TIME_UNIT_DICTIONARY={sec:"second",second:"second",seconden:"second",min:"minute",mins:"minute",minute:"minute",minuut:"minute",minuten:"minute",minuutje:"minute",h:"hour",hr:"hour",hrs:"hour",uur:"hour",u:"hour",uren:"hour",dag:"d",dagen:"d",week:"week",weken:"week",maand:"month",maanden:"month",jaar:"year",jr:"year",jaren:"year"};ge.NUMBER_PATTERN=`(?:${hu.matchAnyPattern(ge.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+[\\.,][0-9]+|halve?|half|paar)`;function Ib(r){let e=r.toLowerCase();return ge.INTEGER_WORD_DICTIONARY[e]!==void 0?ge.INTEGER_WORD_DICTIONARY[e]:e==="paar"?2:e==="half"||e.match(/halve?/)?.5:parseFloat(e.replace(",","."))}ge.parseNumberPattern=Ib;ge.ORDINAL_NUMBER_PATTERN=`(?:${hu.matchAnyPattern(ge.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:ste|de)?)`;function Ax(r){let e=r.toLowerCase();return ge.ORDINAL_WORD_DICTIONARY[e]!==void 0?ge.ORDINAL_WORD_DICTIONARY[e]:(e=e.replace(/(?:ste|de)$/i,""),parseInt(e))}ge.parseOrdinalNumberPattern=Ax;ge.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s*(?:voor Christus|na Christus)|[1-2][0-9]{3}|[5-9][0-9])";function Px(r){if(/voor Christus/i.test(r))return r=r.replace(/voor Christus/i,""),-parseInt(r);if(/na Christus/i.test(r))return r=r.replace(/na Christus/i,""),parseInt(r);let e=parseInt(r);return Cx.findMostLikelyADYear(e)}ge.parseYear=Px;var Fb=`(${ge.NUMBER_PATTERN})\\s{0,5}(${hu.matchAnyPattern(ge.TIME_UNIT_DICTIONARY)})\\s{0,5}`,Nb=new RegExp(Fb,"i");ge.TIME_UNITS_PATTERN=hu.repeatedTimeunitPattern("(?:(?:binnen|in)\\s*)?",Fb);function Nx(r){let e={},t=r,n=Nb.exec(t);for(;n;)Ix(e,n),t=t.substring(n[0].length),n=Nb.exec(t);return e}ge.parseTimeUnits=Nx;function Ix(r,e){let t=Ib(e[1]),n=ge.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var Ub=k(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var Lb=$t(),Fx=We(),Lx=B(),$f=class extends Lx.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(?:binnen|in|binnen de|voor)\\s*("+Lb.TIME_UNITS_PATTERN+")(?=\\W|$)","i")}innerExtract(e,t){let n=Lb.parseTimeUnits(t[1]);return Fx.ParsingComponents.createRelativeFromReference(e.reference,n)}};jf.default=$f});var qb=k(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});var Wb=$t(),Ux=Re(),Wx=B(),qx=di(),$x=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:op\\s*?)?(?:(deze|vorige|volgende)\\s*(?:week\\s*)?)?(${Ux.matchAnyPattern(Wb.WEEKDAY_DICTIONARY)})(?=\\W|$)`,"i"),jx=1,Gx=2,Yx=3,Gf=class extends Wx.AbstractParserWithWordBoundaryChecking{innerPattern(){return $x}innerExtract(e,t){let n=t[Gx].toLowerCase(),i=Wb.WEEKDAY_DICTIONARY[n],s=t[jx],a=t[Yx],o=s||a;o=o||"",o=o.toLowerCase();let u=null;o=="vorige"?u="last":o=="volgende"?u="next":o=="deze"&&(u="this");let l=qx.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};Yf.default=Gf});var Hb=k(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});var Bx=ot(),Yb=$t(),gu=$t(),Bb=$t(),Hx=Re(),Vx=B(),zx=new RegExp(`(?:on\\s*?)?(${gu.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:tot|\\-|\\\u2013|until|through|till|\\s)\\s*(${gu.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:of)?\\s*)(`+Hx.matchAnyPattern(Yb.MONTH_DICTIONARY)+`)(?:(?:-|/|,?\\s*)(${Bb.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),Kx=3,$b=1,jb=2,Gb=4,Bf=class extends Vx.AbstractParserWithWordBoundaryChecking{innerPattern(){return zx}innerExtract(e,t){let n=Yb.MONTH_DICTIONARY[t[Kx].toLowerCase()],i=gu.parseOrdinalNumberPattern(t[$b]);if(i>31)return t.index=t.index+t[$b].length,null;let s=e.createParsingComponents({day:i,month:n});if(t[Gb]){let u=Bb.parseYear(t[Gb]);s.assign("year",u)}else{let u=Bx.findYearClosestToRef(e.refDate,i,n);s.imply("year",u)}if(!t[jb])return s;let a=gu.parseOrdinalNumberPattern(t[jb]),o=e.createParsingResult(t.index,t[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};Hf.default=Bf});var Qb=k(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});var zb=$t(),Qx=ot(),Xx=Re(),Kb=$t(),Zx=B(),Jx=new RegExp(`(${Xx.matchAnyPattern(zb.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${Kb.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),eR=1,Vb=2,Vf=class extends Zx.AbstractParserWithWordBoundaryChecking{innerPattern(){return Jx}innerExtract(e,t){let n=e.createParsingComponents();n.imply("day",1);let i=t[eR],s=zb.MONTH_DICTIONARY[i.toLowerCase()];if(n.assign("month",s),t[Vb]){let a=Kb.parseYear(t[Vb]);n.assign("year",a)}else{let a=Qx.findYearClosestToRef(e.refDate,1,s);n.imply("year",a)}return n}};zf.default=Vf});var Xb=k(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});var tR=B(),rR=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),nR=1,iR=2,Kf=class extends tR.AbstractParserWithWordBoundaryChecking{innerPattern(){return rR}innerExtract(e,t){let n=parseInt(t[iR]),i=parseInt(t[nR]);return e.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}};Qf.default=Kf});var Zb=k(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});var sR=li(),Xf=class extends sR.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:om)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|om|\\?)\\s*"}primarySuffix(){return"(?:\\s*(?:uur))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}};Zf.default=Xf});var tT=k(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});var eT=$t(),aR=Re(),oR=B(),uR=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${aR.matchAnyPattern(eT.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),lR=1,cR=2,Jb=3,dR=4,Jf=class extends oR.AbstractParserWithWordBoundaryChecking{innerPattern(){return uR}innerExtract(e,t){let n=t[Jb]?parseInt(t[Jb]):eT.MONTH_DICTIONARY[t[cR].toLowerCase()];if(n<1||n>12)return null;let i=parseInt(t[lR]);return{day:parseInt(t[dR]),month:n,year:i}}};ep.default=Jf});var rT=k(Ma=>{"use strict";var fR=Ma&&Ma.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ma,"__esModule",{value:!0});var pR=B(),yu=ze(),tp=nr(),mR=fR(ve()),hR=1,gR=2,rp=class extends pR.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(gisteren|morgen|van)(ochtend|middag|namiddag|avond|nacht)(?=\W|$)/i}innerExtract(e,t){let n=t[hR].toLowerCase(),i=t[gR].toLowerCase(),s=e.createParsingComponents(),a=mR.default(e.refDate);switch(n){case"gisteren":tp.assignSimilarDate(s,a.add(-1,"day"));break;case"van":tp.assignSimilarDate(s,a);break;case"morgen":tp.assignTheNextDay(s,a);break}switch(i){case"ochtend":s.imply("meridiem",yu.Meridiem.AM),s.imply("hour",6);break;case"middag":s.imply("meridiem",yu.Meridiem.AM),s.imply("hour",12);break;case"namiddag":s.imply("meridiem",yu.Meridiem.PM),s.imply("hour",15);break;case"avond":s.imply("meridiem",yu.Meridiem.PM),s.imply("hour",20);break}return s}};Ma.default=rp});var iT=k(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});var nT=$t(),yR=We(),bR=B(),TR=ir(),_R=new RegExp(`(deze|vorige|afgelopen|komende|over|\\+|-)\\s*(${nT.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),np=class extends bR.AbstractParserWithWordBoundaryChecking{innerPattern(){return _R}innerExtract(e,t){let n=t[1].toLowerCase(),i=nT.parseTimeUnits(t[2]);switch(n){case"vorige":case"afgelopen":case"-":i=TR.reverseTimeUnits(i);break}return yR.ParsingComponents.createRelativeFromReference(e.reference,i)}};ip.default=np});var oT=k(Ca=>{"use strict";var vR=Ca&&Ca.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ca,"__esModule",{value:!0});var aT=$t(),sT=We(),wR=vR(ve()),kR=B(),ER=Re(),SR=new RegExp(`(dit|deze|komende|volgend|volgende|afgelopen|vorige)\\s*(${ER.matchAnyPattern(aT.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),OR=1,DR=2,sp=class extends kR.AbstractParserWithWordBoundaryChecking{innerPattern(){return SR}innerExtract(e,t){let n=t[OR].toLowerCase(),i=t[DR].toLowerCase(),s=aT.TIME_UNIT_DICTIONARY[i];if(n=="volgend"||n=="volgende"||n=="komende"){let u={};return u[s]=1,sT.ParsingComponents.createRelativeFromReference(e.reference,u)}if(n=="afgelopen"||n=="vorige"){let u={};return u[s]=-1,sT.ParsingComponents.createRelativeFromReference(e.reference,u)}let a=e.createParsingComponents(),o=wR.default(e.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):i.match(/maand/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):i.match(/jaar/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};Ca.default=sp});var uT=k(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});var op=$t(),xR=We(),RR=B(),MR=ir(),CR=new RegExp("("+op.TIME_UNITS_PATTERN+")(?:geleden|voor|eerder)(?=(?:\\W|$))","i"),AR=new RegExp("("+op.TIME_UNITS_PATTERN+")geleden(?=(?:\\W|$))","i"),ap=class extends RR.AbstractParserWithWordBoundaryChecking{constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?AR:CR}innerExtract(e,t){let n=op.parseTimeUnits(t[1]),i=MR.reverseTimeUnits(n);return xR.ParsingComponents.createRelativeFromReference(e.reference,i)}};up.default=ap});var lT=k(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});var cp=$t(),PR=We(),NR=B(),IR=new RegExp("("+cp.TIME_UNITS_PATTERN+")(later|na|vanaf nu|voortaan|vooruit|uit)(?=(?:\\W|$))","i"),FR=new RegExp("("+cp.TIME_UNITS_PATTERN+")(later|vanaf nu)(?=(?:\\W|$))","i"),LR=1,lp=class extends NR.AbstractParserWithWordBoundaryChecking{constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?FR:IR}innerExtract(e,t){let n=cp.parseTimeUnits(t[LR]);return PR.ParsingComponents.createRelativeFromReference(e.reference,n)}};dp.default=lp});var pT=k(nt=>{"use strict";var lt=nt&&nt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(nt,"__esModule",{value:!0});nt.createConfiguration=nt.createCasualConfiguration=nt.parseDate=nt.parse=nt.strict=nt.casual=void 0;var UR=ln(),cT=vr(),WR=lt(Mb()),qR=lt(Cb()),$R=lt(Ab()),jR=lt(Pb()),GR=lt(fi()),YR=lt(Ub()),BR=lt(qb()),HR=lt(Hb()),dT=lt(Qb()),VR=lt(Xb()),zR=lt(Zb()),KR=lt(tT()),QR=lt(rT()),XR=lt(iT()),ZR=lt(oT()),JR=lt(uT()),eM=lt(lT());nt.casual=new cT.Chrono(fT());nt.strict=new cT.Chrono(fp(!0));function tM(r,e,t){return nt.casual.parse(r,e,t)}nt.parse=tM;function rM(r,e,t){return nt.casual.parseDate(r,e,t)}nt.parseDate=rM;function fT(r=!0){let e=fp(!1,r);return e.parsers.unshift(new $R.default),e.parsers.unshift(new jR.default),e.parsers.unshift(new QR.default),e.parsers.unshift(new dT.default),e.parsers.unshift(new ZR.default),e.parsers.unshift(new XR.default),e}nt.createCasualConfiguration=fT;function fp(r=!0,e=!0){return UR.includeCommonConfiguration({parsers:[new GR.default(e),new YR.default,new HR.default,new dT.default,new BR.default,new KR.default,new VR.default,new zR.default(r),new JR.default(r),new eM.default(r)],refiners:[new qR.default,new WR.default]},r)}nt.createConfiguration=fp});var yT=k(Aa=>{"use strict";var nM=Aa&&Aa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Aa,"__esModule",{value:!0});var iM=nM(ve()),sM=B(),aM=1,mT=2,oM=3,hT=4,gT=5,uM=6,pp=class extends sM.AbstractParserWithWordBoundaryChecking{innerPattern(e){return new RegExp("(\u800C\u5BB6|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(e,t){let n=t.index,i=e.createParsingResult(n,t[0]),s=iM.default(e.refDate),a=s;if(t[aM])i.start.imply("hour",s.hour()),i.start.imply("minute",s.minute()),i.start.imply("second",s.second()),i.start.imply("millisecond",s.millisecond());else if(t[mT]){let o=t[mT],u=t[oM];o=="\u660E"||o=="\u807D"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u5F8C"?a=a.add(2,"day"):o=="\u5927\u5F8C"&&(a=a.add(3,"day")),u=="\u65E9"||u=="\u671D"?i.start.imply("hour",6):u=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(t[hT]){let u=t[hT][0];u=="\u65E9"||u=="\u671D"||u=="\u4E0A"?i.start.imply("hour",6):u=="\u4E0B"||u=="\u664F"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):u=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):u=="\u591C"||u=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):u=="\u51CC"&&i.start.imply("hour",0)}else if(t[gT]){let o=t[gT];o=="\u660E"||o=="\u807D"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u5F8C"?a=a.add(2,"day"):o=="\u5927\u5F8C"&&(a=a.add(3,"day"));let u=t[uM];if(u){let l=u[0];l=="\u65E9"||l=="\u671D"||l=="\u4E0A"?i.start.imply("hour",6):l=="\u4E0B"||l=="\u664F"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):l=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):l=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year()),i}};Aa.default=pp});var ns=k(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.zhStringToYear=Mt.zhStringToNumber=Mt.WEEKDAY_OFFSET=Mt.NUMBER=void 0;Mt.NUMBER={\u96F6:0,\u4E00:1,\u4E8C:2,\u5169:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10,\u5EFF:20,\u5345:30};Mt.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function lM(r){let e=0;for(let t=0;t{"use strict";var dM=Pa&&Pa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Pa,"__esModule",{value:!0});var fM=dM(ve()),pM=B(),hi=ns(),mp=1,bT=2,hp=3,gp=class extends pM.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(hi.NUMBER).join("")+"]{4}|["+Object.keys(hi.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(hi.NUMBER).join("")+"]{1,2})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(hi.NUMBER).join("")+"]{1,2})?(?:\\s*)(?:\u65E5|\u865F)?")}innerExtract(e,t){let n=fM.default(e.refDate),i=e.createParsingResult(t.index,t[0]),s=parseInt(t[bT]);if(isNaN(s)&&(s=hi.zhStringToNumber(t[bT])),i.start.assign("month",s),t[hp]){let a=parseInt(t[hp]);isNaN(a)&&(a=hi.zhStringToNumber(t[hp])),i.start.assign("day",a)}else i.start.imply("day",n.date());if(t[mp]){let a=parseInt(t[mp]);isNaN(a)&&(a=hi.zhStringToYear(t[mp])),i.start.assign("year",a)}else i.start.imply("year",n.year());return i}};Pa.default=gp});var vT=k(Na=>{"use strict";var mM=Na&&Na.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Na,"__esModule",{value:!0});var hM=mM(ve()),gM=B(),_T=ns(),yM=new RegExp("(\\d+|["+Object.keys(_T.NUMBER).join("")+"]+|\u534A|\u5E7E)(?:\\s*)(?:\u500B)?(\u79D2(?:\u9418)?|\u5206\u9418|\u5C0F\u6642|\u9418|\u65E5|\u5929|\u661F\u671F|\u79AE\u62DC|\u6708|\u5E74)(?:(?:\u4E4B|\u904E)?\u5F8C|(?:\u4E4B)?\u5167)","i"),yp=1,bM=2,bp=class extends gM.AbstractParserWithWordBoundaryChecking{innerPattern(){return yM}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=parseInt(t[yp]);if(isNaN(i)&&(i=_T.zhStringToNumber(t[yp])),isNaN(i)){let u=t[yp];if(u==="\u5E7E")i=3;else if(u==="\u534A")i=.5;else return null}let s=hM.default(e.refDate),o=t[bM][0];return o.match(/[日天星禮月年]/)?(o=="\u65E5"||o=="\u5929"?s=s.add(i,"d"):o=="\u661F"||o=="\u79AE"?s=s.add(i*7,"d"):o=="\u6708"?s=s.add(i,"month"):o=="\u5E74"&&(s=s.add(i,"year")),n.start.assign("year",s.year()),n.start.assign("month",s.month()+1),n.start.assign("day",s.date()),n):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u9418")&&(s=s.add(i,"hour")),n.start.imply("year",s.year()),n.start.imply("month",s.month()+1),n.start.imply("day",s.date()),n.start.assign("hour",s.hour()),n.start.assign("minute",s.minute()),n.start.assign("second",s.second()),n)}};Na.default=bp});var kT=k(Ia=>{"use strict";var TM=Ia&&Ia.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ia,"__esModule",{value:!0});var _M=TM(ve()),vM=B(),wT=ns(),wM=new RegExp("(?\u4E0A|\u4ECA|\u4E0B|\u9019|\u5462)(?:\u500B)?(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?"+Object.keys(wT.WEEKDAY_OFFSET).join("|")+")"),Tp=class extends vM.AbstractParserWithWordBoundaryChecking{innerPattern(){return wM}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,s=wT.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=null,o=t.groups.prefix;o=="\u4E0A"?a="last":o=="\u4E0B"?a="next":(o=="\u4ECA"||o=="\u9019"||o=="\u5462")&&(a="this");let u=_M.default(e.refDate),l=!1,c=u.day();return a=="last"||a=="past"?(u=u.day(s-7),l=!0):a=="next"?(u=u.day(s+7),l=!0):a=="this"?u=u.day(s):Math.abs(s-7-c){"use strict";var kM=Fa&&Fa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Fa,"__esModule",{value:!0});var EM=kM(ve()),SM=B(),or=ns(),OM=new RegExp("(?:\u7531|\u5F9E|\u81EA)?(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(or.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(or.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(or.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),DM=new RegExp("(?:^\\s*(?:\u5230|\u81F3|\\-|\\\u2013|\\~|\\\u301C)\\s*)(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(or.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(or.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(or.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),bu=1,Tu=2,_u=3,vu=4,wu=5,ku=6,ar=7,is=8,Eu=9,_p=class extends SM.AbstractParserWithWordBoundaryChecking{innerPattern(){return OM}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=EM.default(e.refDate),i=e.createParsingResult(t.index,t[0]),s=n.clone();if(t[bu]){var a=t[bu];a=="\u660E"||a=="\u807D"?n.hour()>1&&s.add(1,"day"):a=="\u6628"||a=="\u5C0B"||a=="\u7434"?s.add(-1,"day"):a=="\u524D"?s.add(-2,"day"):a=="\u5927\u524D"?s.add(-3,"day"):a=="\u5F8C"?s.add(2,"day"):a=="\u5927\u5F8C"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else if(t[vu]){var o=t[vu];o=="\u660E"||o=="\u807D"?s.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?s.add(-1,"day"):o=="\u524D"?s.add(-2,"day"):o=="\u5927\u524D"?s.add(-3,"day"):o=="\u5F8C"?s.add(2,"day"):o=="\u5927\u5F8C"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else i.start.imply("day",s.date()),i.start.imply("month",s.month()+1),i.start.imply("year",s.year());let u=0,l=0,c=-1;if(t[is]){var d=parseInt(t[is]);if(isNaN(d)&&(d=or.zhStringToNumber(t[is])),d>=60)return null;i.start.assign("second",d)}if(u=parseInt(t[ku]),isNaN(u)&&(u=or.zhStringToNumber(t[ku])),t[ar]?t[ar]=="\u534A"?l=30:t[ar]=="\u6B63"||t[ar]=="\u6574"?l=0:(l=parseInt(t[ar]),isNaN(l)&&(l=or.zhStringToNumber(t[ar]))):u>100&&(l=u%100,u=Math.floor(u/100)),l>=60||u>24)return null;if(u>=12&&(c=1),t[Eu]){if(u>12)return null;var f=t[Eu][0].toLowerCase();f=="a"&&(c=0,u==12&&(u=0)),f=="p"&&(c=1,u!=12&&(u+=12))}else if(t[Tu]){var m=t[Tu],y=m[0];y=="\u671D"||y=="\u65E9"?(c=0,u==12&&(u=0)):y=="\u665A"&&(c=1,u!=12&&(u+=12))}else if(t[_u]){var g=t[_u],T=g[0];T=="\u4E0A"||T=="\u671D"||T=="\u65E9"||T=="\u51CC"?(c=0,u==12&&(u=0)):(T=="\u4E0B"||T=="\u664F"||T=="\u665A")&&(c=1,u!=12&&(u+=12))}else if(t[wu]){var E=t[wu],S=E[0];S=="\u4E0A"||S=="\u671D"||S=="\u65E9"||S=="\u51CC"?(c=0,u==12&&(u=0)):(S=="\u4E0B"||S=="\u664F"||S=="\u665A")&&(c=1,u!=12&&(u+=12))}if(i.start.assign("hour",u),i.start.assign("minute",l),c>=0?i.start.assign("meridiem",c):u<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),t=DM.exec(e.text.substring(i.index+i.text.length)),!t)return i.text.match(/^\d+$/)?null:i;let x=s.clone();if(i.end=e.createParsingComponents(),t[bu]){var a=t[bu];a=="\u660E"||a=="\u807D"?n.hour()>1&&x.add(1,"day"):a=="\u6628"||a=="\u5C0B"||a=="\u7434"?x.add(-1,"day"):a=="\u524D"?x.add(-2,"day"):a=="\u5927\u524D"?x.add(-3,"day"):a=="\u5F8C"?x.add(2,"day"):a=="\u5927\u5F8C"&&x.add(3,"day"),i.end.assign("day",x.date()),i.end.assign("month",x.month()+1),i.end.assign("year",x.year())}else if(t[vu]){var o=t[vu];o=="\u660E"||o=="\u807D"?x.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?x.add(-1,"day"):o=="\u524D"?x.add(-2,"day"):o=="\u5927\u524D"?x.add(-3,"day"):o=="\u5F8C"?x.add(2,"day"):o=="\u5927\u5F8C"&&x.add(3,"day"),i.end.assign("day",x.date()),i.end.assign("month",x.month()+1),i.end.assign("year",x.year())}else i.end.imply("day",x.date()),i.end.imply("month",x.month()+1),i.end.imply("year",x.year());if(u=0,l=0,c=-1,t[is]){var d=parseInt(t[is]);if(isNaN(d)&&(d=or.zhStringToNumber(t[is])),d>=60)return null;i.end.assign("second",d)}if(u=parseInt(t[ku]),isNaN(u)&&(u=or.zhStringToNumber(t[ku])),t[ar]?t[ar]=="\u534A"?l=30:t[ar]=="\u6B63"||t[ar]=="\u6574"?l=0:(l=parseInt(t[ar]),isNaN(l)&&(l=or.zhStringToNumber(t[ar]))):u>100&&(l=u%100,u=Math.floor(u/100)),l>=60||u>24)return null;if(u>=12&&(c=1),t[Eu]){if(u>12)return null;var f=t[Eu][0].toLowerCase();f=="a"&&(c=0,u==12&&(u=0)),f=="p"&&(c=1,u!=12&&(u+=12)),i.start.isCertain("meridiem")||(c==0?(i.start.imply("meridiem",0),i.start.get("hour")==12&&i.start.assign("hour",0)):(i.start.imply("meridiem",1),i.start.get("hour")!=12&&i.start.assign("hour",i.start.get("hour")+12)))}else if(t[Tu]){var m=t[Tu],y=m[0];y=="\u671D"||y=="\u65E9"?(c=0,u==12&&(u=0)):y=="\u665A"&&(c=1,u!=12&&(u+=12))}else if(t[_u]){var g=t[_u],T=g[0];T=="\u4E0A"||T=="\u671D"||T=="\u65E9"||T=="\u51CC"?(c=0,u==12&&(u=0)):(T=="\u4E0B"||T=="\u664F"||T=="\u665A")&&(c=1,u!=12&&(u+=12))}else if(t[wu]){var E=t[wu],S=E[0];S=="\u4E0A"||S=="\u671D"||S=="\u65E9"||S=="\u51CC"?(c=0,u==12&&(u=0)):(S=="\u4E0B"||S=="\u664F"||S=="\u665A")&&(c=1,u!=12&&(u+=12))}return i.text=i.text+t[0],i.end.assign("hour",u),i.end.assign("minute",l),c>=0?i.end.assign("meridiem",c):i.start.isCertain("meridiem")&&i.start.get("meridiem")==1&&i.start.get("hour")>u?i.end.imply("meridiem",0):u>12&&i.end.imply("meridiem",1),i.end.date().getTime(){"use strict";var xM=La&&La.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(La,"__esModule",{value:!0});var RM=xM(ve()),MM=B(),ST=ns(),CM=new RegExp("(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?"+Object.keys(ST.WEEKDAY_OFFSET).join("|")+")"),vp=class extends MM.AbstractParserWithWordBoundaryChecking{innerPattern(){return CM}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,s=ST.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=RM.default(e.refDate),o=!1,u=a.day();return Math.abs(s-7-u){"use strict";var AM=Ua&&Ua.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ua,"__esModule",{value:!0});var PM=AM(qr()),wp=class extends PM.default{patternBetween(){return/^\s*(至|到|\-|\~|~|-|ー)\s*$/i}};Ua.default=wp});var xT=k(Wa=>{"use strict";var NM=Wa&&Wa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Wa,"__esModule",{value:!0});var IM=NM(un()),kp=class extends IM.default{patternBetween(){return/^\s*$/i}};Wa.default=kp});var RT=k(Ye=>{"use strict";var mn=Ye&&Ye.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ye,"__esModule",{value:!0});Ye.createConfiguration=Ye.createCasualConfiguration=Ye.parseDate=Ye.parse=Ye.strict=Ye.casual=Ye.hant=void 0;var Ep=vr(),FM=mn(eu()),LM=ln(),UM=mn(yT()),WM=mn(TT()),qM=mn(vT()),$M=mn(kT()),jM=mn(ET()),GM=mn(OT()),YM=mn(DT()),BM=mn(xT());Ye.hant=new Ep.Chrono(Sp());Ye.casual=new Ep.Chrono(Sp());Ye.strict=new Ep.Chrono(Op());function HM(r,e,t){return Ye.casual.parse(r,e,t)}Ye.parse=HM;function VM(r,e,t){return Ye.casual.parseDate(r,e,t)}Ye.parseDate=VM;function Sp(){let r=Op();return r.parsers.unshift(new UM.default),r}Ye.createCasualConfiguration=Sp;function Op(){let r=LM.includeCommonConfiguration({parsers:[new WM.default,new $M.default,new GM.default,new jM.default,new qM.default],refiners:[new YM.default,new BM.default]});return r.refiners=r.refiners.filter(e=>!(e instanceof FM.default)),r}Ye.createConfiguration=Op});var PT=k(qa=>{"use strict";var zM=qa&&qa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(qa,"__esModule",{value:!0});var KM=zM(ve()),QM=B(),XM=1,MT=2,ZM=3,CT=4,AT=5,JM=6,Dp=class extends QM.AbstractParserWithWordBoundaryChecking{innerPattern(e){return new RegExp("(\u73B0\u5728|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(e,t){let n=t.index,i=e.createParsingResult(n,t[0]),s=KM.default(e.refDate),a=s;if(t[XM])i.start.imply("hour",s.hour()),i.start.imply("minute",s.minute()),i.start.imply("second",s.second()),i.start.imply("millisecond",s.millisecond());else if(t[MT]){let o=t[MT],u=t[ZM];o=="\u660E"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u540E"?a=a.add(2,"day"):o=="\u5927\u540E"&&(a=a.add(3,"day")),u=="\u65E9"?i.start.imply("hour",6):u=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(t[CT]){let u=t[CT][0];u=="\u65E9"||u=="\u4E0A"?i.start.imply("hour",6):u=="\u4E0B"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):u=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):u=="\u591C"||u=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):u=="\u51CC"&&i.start.imply("hour",0)}else if(t[AT]){let o=t[AT];o=="\u660E"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u540E"?a=a.add(2,"day"):o=="\u5927\u540E"&&(a=a.add(3,"day"));let u=t[JM];if(u){let l=u[0];l=="\u65E9"||l=="\u4E0A"?i.start.imply("hour",6):l=="\u4E0B"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):l=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):l=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year()),i}};qa.default=Dp});var ss=k(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.zhStringToYear=Ct.zhStringToNumber=Ct.WEEKDAY_OFFSET=Ct.NUMBER=void 0;Ct.NUMBER={\u96F6:0,"\u3007":0,\u4E00:1,\u4E8C:2,\u4E24:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10};Ct.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function eC(r){let e=0;for(let t=0;t{"use strict";var rC=$a&&$a.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty($a,"__esModule",{value:!0});var nC=rC(ve()),iC=B(),gi=ss(),xp=1,NT=2,Rp=3,Mp=class extends iC.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(gi.NUMBER).join("")+"]{4}|["+Object.keys(gi.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(gi.NUMBER).join("")+"]{1,3})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(gi.NUMBER).join("")+"]{1,3})?(?:\\s*)(?:\u65E5|\u53F7)?")}innerExtract(e,t){let n=nC.default(e.refDate),i=e.createParsingResult(t.index,t[0]),s=parseInt(t[NT]);if(isNaN(s)&&(s=gi.zhStringToNumber(t[NT])),i.start.assign("month",s),t[Rp]){let a=parseInt(t[Rp]);isNaN(a)&&(a=gi.zhStringToNumber(t[Rp])),i.start.assign("day",a)}else i.start.imply("day",n.date());if(t[xp]){let a=parseInt(t[xp]);isNaN(a)&&(a=gi.zhStringToYear(t[xp])),i.start.assign("year",a)}else i.start.imply("year",n.year());return i}};$a.default=Mp});var LT=k(ja=>{"use strict";var sC=ja&&ja.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ja,"__esModule",{value:!0});var aC=sC(ve()),oC=B(),FT=ss(),uC=new RegExp("(\\d+|["+Object.keys(FT.NUMBER).join("")+"]+|\u534A|\u51E0)(?:\\s*)(?:\u4E2A)?(\u79D2(?:\u949F)?|\u5206\u949F|\u5C0F\u65F6|\u949F|\u65E5|\u5929|\u661F\u671F|\u793C\u62DC|\u6708|\u5E74)(?:(?:\u4E4B|\u8FC7)?\u540E|(?:\u4E4B)?\u5185)","i"),Cp=1,lC=2,Ap=class extends oC.AbstractParserWithWordBoundaryChecking{innerPattern(){return uC}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=parseInt(t[Cp]);if(isNaN(i)&&(i=FT.zhStringToNumber(t[Cp])),isNaN(i)){let u=t[Cp];if(u==="\u51E0")i=3;else if(u==="\u534A")i=.5;else return null}let s=aC.default(e.refDate),o=t[lC][0];return o.match(/[日天星礼月年]/)?(o=="\u65E5"||o=="\u5929"?s=s.add(i,"d"):o=="\u661F"||o=="\u793C"?s=s.add(i*7,"d"):o=="\u6708"?s=s.add(i,"month"):o=="\u5E74"&&(s=s.add(i,"year")),n.start.assign("year",s.year()),n.start.assign("month",s.month()+1),n.start.assign("day",s.date()),n):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u949F")&&(s=s.add(i,"hour")),n.start.imply("year",s.year()),n.start.imply("month",s.month()+1),n.start.imply("day",s.date()),n.start.assign("hour",s.hour()),n.start.assign("minute",s.minute()),n.start.assign("second",s.second()),n)}};ja.default=Ap});var WT=k(Ga=>{"use strict";var cC=Ga&&Ga.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ga,"__esModule",{value:!0});var dC=cC(ve()),fC=B(),UT=ss(),pC=new RegExp("(?\u4E0A|\u4E0B|\u8FD9)(?:\u4E2A)?(?:\u661F\u671F|\u793C\u62DC|\u5468)(?"+Object.keys(UT.WEEKDAY_OFFSET).join("|")+")"),Pp=class extends fC.AbstractParserWithWordBoundaryChecking{innerPattern(){return pC}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,s=UT.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=null,o=t.groups.prefix;o=="\u4E0A"?a="last":o=="\u4E0B"?a="next":o=="\u8FD9"&&(a="this");let u=dC.default(e.refDate),l=!1,c=u.day();return a=="last"||a=="past"?(u=u.day(s-7),l=!0):a=="next"?(u=u.day(s+7),l=!0):a=="this"?u=u.day(s):Math.abs(s-7-c){"use strict";var mC=Ya&&Ya.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ya,"__esModule",{value:!0});var hC=mC(ve()),gC=B(),lr=ss(),yC=new RegExp("(?:\u4ECE|\u81EA)?(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(lr.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(lr.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(lr.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),bC=new RegExp("(?:^\\s*(?:\u5230|\u81F3|\\-|\\\u2013|\\~|\\\u301C)\\s*)(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(lr.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(lr.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(lr.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),Su=1,Ou=2,Du=3,xu=4,Ru=5,Mu=6,ur=7,as=8,Cu=9,Np=class extends gC.AbstractParserWithWordBoundaryChecking{innerPattern(){return yC}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=hC.default(e.refDate),i=e.createParsingResult(t.index,t[0]),s=n.clone();if(t[Su]){let c=t[Su];c=="\u660E"?n.hour()>1&&s.add(1,"day"):c=="\u6628"?s.add(-1,"day"):c=="\u524D"?s.add(-2,"day"):c=="\u5927\u524D"?s.add(-3,"day"):c=="\u540E"?s.add(2,"day"):c=="\u5927\u540E"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else if(t[xu]){let c=t[xu];c=="\u660E"?s.add(1,"day"):c=="\u6628"?s.add(-1,"day"):c=="\u524D"?s.add(-2,"day"):c=="\u5927\u524D"?s.add(-3,"day"):c=="\u540E"?s.add(2,"day"):c=="\u5927\u540E"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else i.start.imply("day",s.date()),i.start.imply("month",s.month()+1),i.start.imply("year",s.year());let a=0,o=0,u=-1;if(t[as]){let c=parseInt(t[as]);if(isNaN(c)&&(c=lr.zhStringToNumber(t[as])),c>=60)return null;i.start.assign("second",c)}if(a=parseInt(t[Mu]),isNaN(a)&&(a=lr.zhStringToNumber(t[Mu])),t[ur]?t[ur]=="\u534A"?o=30:t[ur]=="\u6B63"||t[ur]=="\u6574"?o=0:(o=parseInt(t[ur]),isNaN(o)&&(o=lr.zhStringToNumber(t[ur]))):a>100&&(o=a%100,a=Math.floor(a/100)),o>=60||a>24)return null;if(a>=12&&(u=1),t[Cu]){if(a>12)return null;let c=t[Cu][0].toLowerCase();c=="a"&&(u=0,a==12&&(a=0)),c=="p"&&(u=1,a!=12&&(a+=12))}else if(t[Ou]){let d=t[Ou][0];d=="\u65E9"?(u=0,a==12&&(a=0)):d=="\u665A"&&(u=1,a!=12&&(a+=12))}else if(t[Du]){let d=t[Du][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(u=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(u=1,a!=12&&(a+=12))}else if(t[Ru]){let d=t[Ru][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(u=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(u=1,a!=12&&(a+=12))}if(i.start.assign("hour",a),i.start.assign("minute",o),u>=0?i.start.assign("meridiem",u):a<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),t=bC.exec(e.text.substring(i.index+i.text.length)),!t)return i.text.match(/^\d+$/)?null:i;let l=s.clone();if(i.end=e.createParsingComponents(),t[Su]){let c=t[Su];c=="\u660E"?n.hour()>1&&l.add(1,"day"):c=="\u6628"?l.add(-1,"day"):c=="\u524D"?l.add(-2,"day"):c=="\u5927\u524D"?l.add(-3,"day"):c=="\u540E"?l.add(2,"day"):c=="\u5927\u540E"&&l.add(3,"day"),i.end.assign("day",l.date()),i.end.assign("month",l.month()+1),i.end.assign("year",l.year())}else if(t[xu]){let c=t[xu];c=="\u660E"?l.add(1,"day"):c=="\u6628"?l.add(-1,"day"):c=="\u524D"?l.add(-2,"day"):c=="\u5927\u524D"?l.add(-3,"day"):c=="\u540E"?l.add(2,"day"):c=="\u5927\u540E"&&l.add(3,"day"),i.end.assign("day",l.date()),i.end.assign("month",l.month()+1),i.end.assign("year",l.year())}else i.end.imply("day",l.date()),i.end.imply("month",l.month()+1),i.end.imply("year",l.year());if(a=0,o=0,u=-1,t[as]){let c=parseInt(t[as]);if(isNaN(c)&&(c=lr.zhStringToNumber(t[as])),c>=60)return null;i.end.assign("second",c)}if(a=parseInt(t[Mu]),isNaN(a)&&(a=lr.zhStringToNumber(t[Mu])),t[ur]?t[ur]=="\u534A"?o=30:t[ur]=="\u6B63"||t[ur]=="\u6574"?o=0:(o=parseInt(t[ur]),isNaN(o)&&(o=lr.zhStringToNumber(t[ur]))):a>100&&(o=a%100,a=Math.floor(a/100)),o>=60||a>24)return null;if(a>=12&&(u=1),t[Cu]){if(a>12)return null;let c=t[Cu][0].toLowerCase();c=="a"&&(u=0,a==12&&(a=0)),c=="p"&&(u=1,a!=12&&(a+=12)),i.start.isCertain("meridiem")||(u==0?(i.start.imply("meridiem",0),i.start.get("hour")==12&&i.start.assign("hour",0)):(i.start.imply("meridiem",1),i.start.get("hour")!=12&&i.start.assign("hour",i.start.get("hour")+12)))}else if(t[Ou]){let d=t[Ou][0];d=="\u65E9"?(u=0,a==12&&(a=0)):d=="\u665A"&&(u=1,a!=12&&(a+=12))}else if(t[Du]){let d=t[Du][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(u=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(u=1,a!=12&&(a+=12))}else if(t[Ru]){let d=t[Ru][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(u=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(u=1,a!=12&&(a+=12))}return i.text=i.text+t[0],i.end.assign("hour",a),i.end.assign("minute",o),u>=0?i.end.assign("meridiem",u):i.start.isCertain("meridiem")&&i.start.get("meridiem")==1&&i.start.get("hour")>a?i.end.imply("meridiem",0):a>12&&i.end.imply("meridiem",1),i.end.date().getTime(){"use strict";var TC=Ba&&Ba.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ba,"__esModule",{value:!0});var _C=TC(ve()),vC=B(),$T=ss(),wC=new RegExp("(?:\u661F\u671F|\u793C\u62DC|\u5468)(?"+Object.keys($T.WEEKDAY_OFFSET).join("|")+")"),Ip=class extends vC.AbstractParserWithWordBoundaryChecking{innerPattern(){return wC}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,s=$T.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=_C.default(e.refDate),o=!1,u=a.day();return Math.abs(s-7-u){"use strict";var kC=Ha&&Ha.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ha,"__esModule",{value:!0});var EC=kC(qr()),Fp=class extends EC.default{patternBetween(){return/^\s*(至|到|-|~|~|-|ー)\s*$/i}};Ha.default=Fp});var YT=k(Va=>{"use strict";var SC=Va&&Va.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Va,"__esModule",{value:!0});var OC=SC(un()),Lp=class extends OC.default{patternBetween(){return/^\s*$/i}};Va.default=Lp});var BT=k(Be=>{"use strict";var hn=Be&&Be.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Be,"__esModule",{value:!0});Be.createConfiguration=Be.createCasualConfiguration=Be.parseDate=Be.parse=Be.strict=Be.casual=Be.hans=void 0;var Up=vr(),DC=hn(eu()),xC=ln(),RC=hn(PT()),MC=hn(IT()),CC=hn(LT()),AC=hn(WT()),PC=hn(qT()),NC=hn(jT()),IC=hn(GT()),FC=hn(YT());Be.hans=new Up.Chrono(Wp());Be.casual=new Up.Chrono(Wp());Be.strict=new Up.Chrono(qp());function LC(r,e,t){return Be.casual.parse(r,e,t)}Be.parse=LC;function UC(r,e,t){return Be.casual.parseDate(r,e,t)}Be.parseDate=UC;function Wp(){let r=qp();return r.parsers.unshift(new RC.default),r}Be.createCasualConfiguration=Wp;function qp(){let r=xC.includeCommonConfiguration({parsers:[new MC.default,new AC.default,new NC.default,new PC.default,new CC.default],refiners:[new IC.default,new FC.default]});return r.refiners=r.refiners.filter(e=>!(e instanceof DC.default)),r}Be.createConfiguration=qp});var VT=k(jt=>{"use strict";var HT=jt&&jt.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),WC=jt&&jt.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),qC=jt&&jt.__exportStar||function(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&HT(e,r,t)},$C=jt&&jt.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&HT(e,r,t);return WC(e,r),e};Object.defineProperty(jt,"__esModule",{value:!0});jt.hans=void 0;qC(RT(),jt);jt.hans=$C(BT())});var At=k(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.parseTimeUnits=se.TIME_UNITS_PATTERN=se.parseYear=se.YEAR_PATTERN=se.parseOrdinalNumberPattern=se.ORDINAL_NUMBER_PATTERN=se.parseNumberPattern=se.NUMBER_PATTERN=se.TIME_UNIT_DICTIONARY=se.ORDINAL_WORD_DICTIONARY=se.INTEGER_WORD_DICTIONARY=se.MONTH_DICTIONARY=se.FULL_MONTH_NAME_DICTIONARY=se.WEEKDAY_DICTIONARY=se.REGEX_PARTS=void 0;var Au=Re(),jC=ot();se.REGEX_PARTS={leftBoundary:"([^\\p{L}\\p{N}_]|^)",rightBoundary:"(?=[^\\p{L}\\p{N}_]|$)",flags:"iu"};se.WEEKDAY_DICTIONARY={\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435:0,\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u044F:0,\u0432\u0441\u043A:0,"\u0432\u0441\u043A.":0,\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A:1,\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A\u0430:1,\u043F\u043D:1,"\u043F\u043D.":1,\u0432\u0442\u043E\u0440\u043D\u0438\u043A:2,\u0432\u0442\u043E\u0440\u043D\u0438\u043A\u0430:2,\u0432\u0442:2,"\u0432\u0442.":2,\u0441\u0440\u0435\u0434\u0430:3,\u0441\u0440\u0435\u0434\u044B:3,\u0441\u0440\u0435\u0434\u0443:3,\u0441\u0440:3,"\u0441\u0440.":3,\u0447\u0435\u0442\u0432\u0435\u0440\u0433:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430:4,\u0447\u0442:4,"\u0447\u0442.":4,\u043F\u044F\u0442\u043D\u0438\u0446\u0430:5,\u043F\u044F\u0442\u043D\u0438\u0446\u0443:5,\u043F\u044F\u0442\u043D\u0438\u0446\u044B:5,\u043F\u0442:5,"\u043F\u0442.":5,\u0441\u0443\u0431\u0431\u043E\u0442\u0430:6,\u0441\u0443\u0431\u0431\u043E\u0442\u0443:6,\u0441\u0443\u0431\u0431\u043E\u0442\u044B:6,\u0441\u0431:6,"\u0441\u0431.":6};se.FULL_MONTH_NAME_DICTIONARY={\u044F\u043D\u0432\u0430\u0440\u044C:1,\u044F\u043D\u0432\u0430\u0440\u044F:1,\u044F\u043D\u0432\u0430\u0440\u0435:1,\u0444\u0435\u0432\u0440\u044F\u043B\u044C:2,\u0444\u0435\u0432\u0440\u044F\u043B\u044F:2,\u0444\u0435\u0432\u0440\u044F\u043B\u0435:2,\u043C\u0430\u0440\u0442:3,\u043C\u0430\u0440\u0442\u0430:3,\u043C\u0430\u0440\u0442\u0435:3,\u0430\u043F\u0440\u0435\u043B\u044C:4,\u0430\u043F\u0440\u0435\u043B\u044F:4,\u0430\u043F\u0440\u0435\u043B\u0435:4,\u043C\u0430\u0439:5,\u043C\u0430\u044F:5,\u043C\u0430\u0435:5,\u0438\u044E\u043D\u044C:6,\u0438\u044E\u043D\u044F:6,\u0438\u044E\u043D\u0435:6,\u0438\u044E\u043B\u044C:7,\u0438\u044E\u043B\u044F:7,\u0438\u044E\u043B\u0435:7,\u0430\u0432\u0433\u0443\u0441\u0442:8,\u0430\u0432\u0433\u0443\u0441\u0442\u0430:8,\u0430\u0432\u0433\u0443\u0441\u0442\u0435:8,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C:9,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F:9,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u0435:9,\u043E\u043A\u0442\u044F\u0431\u0440\u044C:10,\u043E\u043A\u0442\u044F\u0431\u0440\u044F:10,\u043E\u043A\u0442\u044F\u0431\u0440\u0435:10,\u043D\u043E\u044F\u0431\u0440\u044C:11,\u043D\u043E\u044F\u0431\u0440\u044F:11,\u043D\u043E\u044F\u0431\u0440\u0435:11,\u0434\u0435\u043A\u0430\u0431\u0440\u044C:12,\u0434\u0435\u043A\u0430\u0431\u0440\u044F:12,\u0434\u0435\u043A\u0430\u0431\u0440\u0435:12};se.MONTH_DICTIONARY=Object.assign(Object.assign({},se.FULL_MONTH_NAME_DICTIONARY),{\u044F\u043D\u0432:1,"\u044F\u043D\u0432.":1,\u0444\u0435\u0432:2,"\u0444\u0435\u0432.":2,\u043C\u0430\u0440:3,"\u043C\u0430\u0440.":3,\u0430\u043F\u0440:4,"\u0430\u043F\u0440.":4,\u0430\u0432\u0433:8,"\u0430\u0432\u0433.":8,\u0441\u0435\u043D:9,"\u0441\u0435\u043D.":9,\u043E\u043A\u0442:10,"\u043E\u043A\u0442.":10,\u043D\u043E\u044F:11,"\u043D\u043E\u044F.":11,\u0434\u0435\u043A:12,"\u0434\u0435\u043A.":12});se.INTEGER_WORD_DICTIONARY={\u043E\u0434\u0438\u043D:1,\u043E\u0434\u043D\u0430:1,\u043E\u0434\u043D\u043E\u0439:1,\u043E\u0434\u043D\u0443:1,\u0434\u0432\u0435:2,\u0434\u0432\u0430:2,\u0434\u0432\u0443\u0445:2,\u0442\u0440\u0438:3,\u0442\u0440\u0435\u0445:3,\u0442\u0440\u0451\u0445:3,\u0447\u0435\u0442\u044B\u0440\u0435:4,\u0447\u0435\u0442\u044B\u0440\u0435\u0445:4,\u0447\u0435\u0442\u044B\u0440\u0451\u0445:4,\u043F\u044F\u0442\u044C:5,\u043F\u044F\u0442\u0438:5,\u0448\u0435\u0441\u0442\u044C:6,\u0448\u0435\u0441\u0442\u0438:6,\u0441\u0435\u043C\u044C:7,\u0441\u0435\u043C\u0438:7,\u0432\u043E\u0441\u0435\u043C\u044C:8,\u0432\u043E\u0441\u0435\u043C\u044C\u043C\u0438:8,\u0434\u0435\u0432\u044F\u0442\u044C:9,\u0434\u0435\u0432\u044F\u0442\u0438:9,\u0434\u0435\u0441\u044F\u0442\u044C:10,\u0434\u0435\u0441\u044F\u0442\u0438:10,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u044C:11,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u0438:11,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u044C:12,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u0438:12};se.ORDINAL_WORD_DICTIONARY={\u043F\u0435\u0440\u0432\u043E\u0435:1,\u043F\u0435\u0440\u0432\u043E\u0433\u043E:1,\u0432\u0442\u043E\u0440\u043E\u0435:2,\u0432\u0442\u043E\u0440\u043E\u0433\u043E:2,\u0442\u0440\u0435\u0442\u044C\u0435:3,\u0442\u0440\u0435\u0442\u044C\u0435\u0433\u043E:3,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0435:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E:4,\u043F\u044F\u0442\u043E\u0435:5,\u043F\u044F\u0442\u043E\u0433\u043E:5,\u0448\u0435\u0441\u0442\u043E\u0435:6,\u0448\u0435\u0441\u0442\u043E\u0433\u043E:6,\u0441\u0435\u0434\u044C\u043C\u043E\u0435:7,\u0441\u0435\u0434\u044C\u043C\u043E\u0433\u043E:7,\u0432\u043E\u0441\u044C\u043C\u043E\u0435:8,\u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E:8,\u0434\u0435\u0432\u044F\u0442\u043E\u0435:9,\u0434\u0435\u0432\u044F\u0442\u043E\u0433\u043E:9,\u0434\u0435\u0441\u044F\u0442\u043E\u0435:10,\u0434\u0435\u0441\u044F\u0442\u043E\u0433\u043E:10,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:11,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:11,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:12,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:12,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:13,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:13,\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:14,\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:14,\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:15,\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:15,\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:16,\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:16,\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:17,\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:17,\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:18,\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:18,\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:19,\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:19,\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u043E\u0435:20,\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:20,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435":21,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0433\u043E":21,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0435":22,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0433\u043E":22,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0442\u0440\u0435\u0442\u044C\u0435":23,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0442\u0440\u0435\u0442\u044C\u0435\u0433\u043E":23,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0435":24,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E":24,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u044F\u0442\u043E\u0435":25,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u044F\u0442\u043E\u0433\u043E":25,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0448\u0435\u0441\u0442\u043E\u0435":26,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0448\u0435\u0441\u0442\u043E\u0433\u043E":26,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0441\u0435\u0434\u044C\u043C\u043E\u0435":27,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0441\u0435\u0434\u044C\u043C\u043E\u0433\u043E":27,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u043E\u0435":28,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E":28,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0434\u0435\u0432\u044F\u0442\u043E\u0435":29,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0434\u0435\u0432\u044F\u0442\u043E\u0433\u043E":29,\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u043E\u0435:30,\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u043E\u0433\u043E:30,"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435":31,"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0433\u043E":31};se.TIME_UNIT_DICTIONARY={\u0441\u0435\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0430:"second",\u0441\u0435\u043A\u0443\u043D\u0434:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u044B:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0443:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0430:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0438:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u0435\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0443:"second",\u043C\u0438\u043D:"minute",\u043C\u0438\u043D\u0443\u0442\u0430:"minute",\u043C\u0438\u043D\u0443\u0442:"minute",\u043C\u0438\u043D\u0443\u0442\u044B:"minute",\u043C\u0438\u043D\u0443\u0442\u0443:"minute",\u043C\u0438\u043D\u0443\u0442\u043E\u043A:"minute",\u043C\u0438\u043D\u0443\u0442\u043A\u0438:"minute",\u043C\u0438\u043D\u0443\u0442\u043A\u0443:"minute",\u0447\u0430\u0441:"hour",\u0447\u0430\u0441\u043E\u0432:"hour",\u0447\u0430\u0441\u0430:"hour",\u0447\u0430\u0441\u0443:"hour",\u0447\u0430\u0441\u0438\u043A\u043E\u0432:"hour",\u0447\u0430\u0441\u0438\u043A\u0430:"hour",\u0447\u0430\u0441\u0438\u043A\u0435:"hour",\u0447\u0430\u0441\u0438\u043A:"hour",\u0434\u0435\u043D\u044C:"d",\u0434\u043D\u044F:"d",\u0434\u043D\u0435\u0439:"d",\u0441\u0443\u0442\u043E\u043A:"d",\u0441\u0443\u0442\u043A\u0438:"d",\u043D\u0435\u0434\u0435\u043B\u044F:"week",\u043D\u0435\u0434\u0435\u043B\u0435:"week",\u043D\u0435\u0434\u0435\u043B\u0438:"week",\u043D\u0435\u0434\u0435\u043B\u044E:"week",\u043D\u0435\u0434\u0435\u043B\u044C:"week",\u043D\u0435\u0434\u0435\u043B\u044C\u043A\u0435:"week",\u043D\u0435\u0434\u0435\u043B\u044C\u043A\u0438:"week",\u043D\u0435\u0434\u0435\u043B\u0435\u043A:"week",\u043C\u0435\u0441\u044F\u0446:"month",\u043C\u0435\u0441\u044F\u0446\u0435:"month",\u043C\u0435\u0441\u044F\u0446\u0435\u0432:"month",\u043C\u0435\u0441\u044F\u0446\u0430:"month",\u043A\u0432\u0430\u0440\u0442\u0430\u043B:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0435:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u043E\u0432:"quarter",\u0433\u043E\u0434:"year",\u0433\u043E\u0434\u0430:"year",\u0433\u043E\u0434\u0443:"year",\u0433\u043E\u0434\u043E\u0432:"year",\u043B\u0435\u0442:"year",\u0433\u043E\u0434\u0438\u043A:"year",\u0433\u043E\u0434\u0438\u043A\u0430:"year",\u0433\u043E\u0434\u0438\u043A\u043E\u0432:"year"};se.NUMBER_PATTERN=`(?:${Au.matchAnyPattern(se.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|\u043F\u043E\u043B|\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E|\u043F\u0430\u0440(?:\u044B|\u0443)|\\s{0,3})`;function KT(r){let e=r.toLowerCase();return se.INTEGER_WORD_DICTIONARY[e]!==void 0?se.INTEGER_WORD_DICTIONARY[e]:e.match(/несколько/)?3:e.match(/пол/)?.5:e.match(/пар/)?2:e===""?1:parseFloat(e)}se.parseNumberPattern=KT;se.ORDINAL_NUMBER_PATTERN=`(?:${Au.matchAnyPattern(se.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:\u0433\u043E|\u043E\u0433\u043E|\u0435|\u043E\u0435)?)`;function GC(r){let e=r.toLowerCase();return se.ORDINAL_WORD_DICTIONARY[e]!==void 0?se.ORDINAL_WORD_DICTIONARY[e]:(e=e.replace(/(?:st|nd|rd|th)$/i,""),parseInt(e))}se.parseOrdinalNumberPattern=GC;var $p="(?:\\s+(?:\u0433\u043E\u0434\u0443|\u0433\u043E\u0434\u0430|\u0433\u043E\u0434|\u0433|\u0433.))?";se.YEAR_PATTERN=`(?:[1-9][0-9]{0,3}${$p}\\s*(?:\u043D.\u044D.|\u0434\u043E \u043D.\u044D.|\u043D. \u044D.|\u0434\u043E \u043D. \u044D.)|[1-2][0-9]{3}${$p}|[5-9][0-9]${$p})`;function YC(r){if(/(год|года|г|г.)/i.test(r)&&(r=r.replace(/(год|года|г|г.)/i,"")),/(до н.э.|до н. э.)/i.test(r))return r=r.replace(/(до н.э.|до н. э.)/i,""),-parseInt(r);if(/(н. э.|н.э.)/i.test(r))return r=r.replace(/(н. э.|н.э.)/i,""),parseInt(r);let e=parseInt(r);return jC.findMostLikelyADYear(e)}se.parseYear=YC;var QT=`(${se.NUMBER_PATTERN})\\s{0,3}(${Au.matchAnyPattern(se.TIME_UNIT_DICTIONARY)})`,zT=new RegExp(QT,"i");se.TIME_UNITS_PATTERN=Au.repeatedTimeunitPattern("(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s{0,3})?",QT);function BC(r){let e={},t=r,n=zT.exec(t);for(;n;)HC(e,n),t=t.substring(n[0].length).trim(),n=zT.exec(t);return e}se.parseTimeUnits=BC;function HC(r,e){let t=KT(e[1]),n=se.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var ZT=k(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});var za=At(),VC=We(),zC=B(),XT=`(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s*(?:~\\s*)?)?(${za.TIME_UNITS_PATTERN})${za.REGEX_PARTS.rightBoundary}`,KC=new RegExp(`(?:\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435|\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0438)\\s*${XT}`,za.REGEX_PARTS.flags),QC=new RegExp(XT,"i"),jp=class extends zC.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return za.REGEX_PARTS.leftBoundary}innerPattern(e){return e.option.forwardDate?QC:KC}innerExtract(e,t){let n=za.parseTimeUnits(t[1]);return VC.ParsingComponents.createRelativeFromReference(e.reference,n)}};Gp.default=jp});var n_=k(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});var XC=ot(),Ka=At(),r_=At(),Pu=At(),ZC=Re(),JC=B(),eA=new RegExp(`(?:\u0441)?\\s*(${Pu.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:\u043F\u043E|-|\u2013|\u0434\u043E)?\\s{0,3}(${Pu.ORDINAL_NUMBER_PATTERN}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${ZC.matchAnyPattern(Ka.MONTH_DICTIONARY)})(?:(?:-|\\/|,?\\s{0,3})(${r_.YEAR_PATTERN}(?![^\\s]\\d)))?${Ka.REGEX_PARTS.rightBoundary}`,Ka.REGEX_PARTS.flags),JT=1,e_=2,tA=3,t_=4,Yp=class extends JC.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Ka.REGEX_PARTS.leftBoundary}innerPattern(){return eA}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=Ka.MONTH_DICTIONARY[t[tA].toLowerCase()],s=Pu.parseOrdinalNumberPattern(t[JT]);if(s>31)return t.index=t.index+t[JT].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[t_]){let a=r_.parseYear(t[t_]);n.start.assign("year",a)}else{let a=XC.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[e_]){let a=Pu.parseOrdinalNumberPattern(t[e_]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Bp.default=Yp});var a_=k(Vp=>{"use strict";Object.defineProperty(Vp,"__esModule",{value:!0});var Qa=At(),rA=ot(),nA=Re(),s_=At(),iA=B(),sA=new RegExp(`((?:\u0432)\\s*)?(${nA.matchAnyPattern(Qa.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${s_.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,Qa.REGEX_PARTS.flags),aA=2,i_=3,Hp=class extends iA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Qa.REGEX_PARTS.leftBoundary}innerPattern(){return sA}innerExtract(e,t){let n=t[aA].toLowerCase();if(t[0].length<=3&&!Qa.FULL_MONTH_NAME_DICTIONARY[n])return null;let i=e.createParsingResult(t.index,t.index+t[0].length);i.start.imply("day",1);let s=Qa.MONTH_DICTIONARY[n];if(i.start.assign("month",s),t[i_]){let a=s_.parseYear(t[i_]);i.start.assign("year",a)}else{let a=rA.findYearClosestToRef(e.refDate,1,s);i.start.imply("year",a)}return i}};Vp.default=Hp});var u_=k(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});var Nu=ze(),oA=li(),o_=At(),zp=class extends oA.AbstractTimeExpressionParser{constructor(e){super(e)}patternFlags(){return o_.REGEX_PARTS.flags}primaryPatternLeftBoundary(){return"(^|\\s|T|(?:[^\\p{L}\\p{N}_]))"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|\u0434\u043E|\u0438|\u043F\u043E|\\?)\\s*"}primaryPrefix(){return"(?:(?:\u0432|\u0441)\\s*)??"}primarySuffix(){return`(?:\\s*(?:\u0443\u0442\u0440\u0430|\u0432\u0435\u0447\u0435\u0440\u0430|\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F))?(?!\\/)${o_.REGEX_PARTS.rightBoundary}`}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(n){if(t[0].endsWith("\u0432\u0435\u0447\u0435\u0440\u0430")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",Nu.Meridiem.PM)):i<6&&n.assign("meridiem",Nu.Meridiem.AM)}if(t[0].endsWith("\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F")){n.assign("meridiem",Nu.Meridiem.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}t[0].endsWith("\u0443\u0442\u0440\u0430")&&(n.assign("meridiem",Nu.Meridiem.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}};Kp.default=zp});var l_=k(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});var Iu=At(),uA=We(),lA=B(),cA=ir(),dA=new RegExp(`(${Iu.TIME_UNITS_PATTERN})\\s{0,5}\u043D\u0430\u0437\u0430\u0434(?=(?:\\W|$))`,Iu.REGEX_PARTS.flags),Qp=class extends lA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Iu.REGEX_PARTS.leftBoundary}innerPattern(){return dA}innerExtract(e,t){let n=Iu.parseTimeUnits(t[1]),i=cA.reverseTimeUnits(n);return uA.ParsingComponents.createRelativeFromReference(e.reference,i)}};Xp.default=Qp});var c_=k(Xa=>{"use strict";var fA=Xa&&Xa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Xa,"__esModule",{value:!0});var pA=fA(qr()),Zp=class extends pA.default{patternBetween(){return/^\s*(и до|и по|до|по|-)\s*$/i}};Xa.default=Zp});var d_=k(Za=>{"use strict";var mA=Za&&Za.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Za,"__esModule",{value:!0});var hA=mA(un()),Jp=class extends hA.default{patternBetween(){return new RegExp("^\\s*(T|\u0432|,|-)?\\s*$")}};Za.default=Jp});var f_=k(gn=>{"use strict";var gA=gn&&gn.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),yA=gn&&gn.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),bA=gn&&gn.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&gA(e,r,t);return yA(e,r),e};Object.defineProperty(gn,"__esModule",{value:!0});var TA=B(),Ja=bA(dn()),em=At(),_A=new RegExp(`(?:\u0441|\u0441\u043E)?\\s*(\u0441\u0435\u0433\u043E\u0434\u043D\u044F|\u0432\u0447\u0435\u0440\u0430|\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430)${em.REGEX_PARTS.rightBoundary}`,em.REGEX_PARTS.flags),tm=class extends TA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return em.REGEX_PARTS.leftBoundary}innerPattern(e){return _A}innerExtract(e,t){let n=t[1].toLowerCase(),i=e.createParsingComponents();switch(n){case"\u0441\u0435\u0433\u043E\u0434\u043D\u044F":return Ja.today(e.reference);case"\u0432\u0447\u0435\u0440\u0430":return Ja.yesterday(e.reference);case"\u0437\u0430\u0432\u0442\u0440\u0430":return Ja.tomorrow(e.reference);case"\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430":return Ja.theDayAfter(e.reference,2);case"\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430":return Ja.theDayBefore(e.reference,2)}return i}};gn.default=tm});var p_=k(Or=>{"use strict";var vA=Or&&Or.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),wA=Or&&Or.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),kA=Or&&Or.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&vA(e,r,t);return wA(e,r),e},EA=Or&&Or.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Or,"__esModule",{value:!0});var SA=B(),yi=kA(dn()),OA=nr(),DA=EA(ve()),rm=At(),xA=new RegExp(`(\u0441\u0435\u0439\u0447\u0430\u0441|\u043F\u0440\u043E\u0448\u043B\u044B\u043C\\s*\u0432\u0435\u0447\u0435\u0440\u043E\u043C|\u043F\u0440\u043E\u0448\u043B\u043E\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u0441\u0435\u0433\u043E\u0434\u043D\u044F\\s*\u043D\u043E\u0447\u044C\u044E|\u044D\u0442\u043E\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u043D\u043E\u0447\u044C\u044E|\u044D\u0442\u0438\u043C \u0443\u0442\u0440\u043E\u043C|\u0443\u0442\u0440\u043E\u043C|\u0443\u0442\u0440\u0430|\u0432\\s*\u043F\u043E\u043B\u0434\u0435\u043D\u044C|\u0432\u0435\u0447\u0435\u0440\u043E\u043C|\u0432\u0435\u0447\u0435\u0440\u0430|\u0432\\s*\u043F\u043E\u043B\u043D\u043E\u0447\u044C)${rm.REGEX_PARTS.rightBoundary}`,rm.REGEX_PARTS.flags),nm=class extends SA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return rm.REGEX_PARTS.leftBoundary}innerPattern(){return xA}innerExtract(e,t){let n=DA.default(e.refDate),i=t[0].toLowerCase(),s=e.createParsingComponents();if(i==="\u0441\u0435\u0439\u0447\u0430\u0441")return yi.now(e.reference);if(i==="\u0432\u0435\u0447\u0435\u0440\u043E\u043C"||i==="\u0432\u0435\u0447\u0435\u0440\u0430")return yi.evening(e.reference);if(i.endsWith("\u0443\u0442\u0440\u043E\u043C")||i.endsWith("\u0443\u0442\u0440\u0430"))return yi.morning(e.reference);if(i.match(/в\s*полдень/))return yi.noon(e.reference);if(i.match(/прошлой\s*ночью/))return yi.lastNight(e.reference);if(i.match(/прошлым\s*вечером/))return yi.yesterdayEvening(e.reference);if(i.match(/следующей\s*ночью/)){let a=n.hour()<22?1:2;n=n.add(a,"day"),OA.assignSimilarDate(s,n),s.imply("hour",0)}return i.match(/в\s*полночь/)||i.endsWith("\u043D\u043E\u0447\u044C\u044E")?yi.midnight(e.reference):s}};Or.default=nm});var m_=k(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});var eo=At(),RA=Re(),MA=B(),CA=di(),AA=new RegExp(`(?:(?:,|\\(|\uFF08)\\s*)?(?:\u0432\\s*?)?(?:(\u044D\u0442\u0443|\u044D\u0442\u043E\u0442|\u043F\u0440\u043E\u0448\u043B\u044B\u0439|\u043F\u0440\u043E\u0448\u043B\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E)\\s*)?(${RA.matchAnyPattern(eo.WEEKDAY_DICTIONARY)})(?:\\s*(?:,|\\)|\uFF09))?(?:\\s*\u043D\u0430\\s*(\u044D\u0442\u043E\u0439|\u043F\u0440\u043E\u0448\u043B\u043E\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439)\\s*\u043D\u0435\u0434\u0435\u043B\u0435)?${eo.REGEX_PARTS.rightBoundary}`,eo.REGEX_PARTS.flags),PA=1,NA=2,IA=3,im=class extends MA.AbstractParserWithWordBoundaryChecking{innerPattern(){return AA}patternLeftBoundary(){return eo.REGEX_PARTS.leftBoundary}innerExtract(e,t){let n=t[NA].toLowerCase(),i=eo.WEEKDAY_DICTIONARY[n],s=t[PA],a=t[IA],o=s||a;o=o||"",o=o.toLowerCase();let u=null;o=="\u043F\u0440\u043E\u0448\u043B\u044B\u0439"||o=="\u043F\u0440\u043E\u0448\u043B\u0443\u044E"||o=="\u043F\u0440\u043E\u0448\u043B\u043E\u0439"?u="last":o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E"?u="next":(o=="\u044D\u0442\u043E\u0442"||o=="\u044D\u0442\u0443"||o=="\u044D\u0442\u043E\u0439")&&(u="this");let l=CA.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};sm.default=im});var g_=k(ro=>{"use strict";var FA=ro&&ro.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ro,"__esModule",{value:!0});var to=At(),h_=We(),LA=FA(ve()),UA=B(),WA=Re(),qA=new RegExp(`(\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C|\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439|\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439|\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C|\u043D\u0430 \u044D\u0442\u043E\u0439|\u0432 \u044D\u0442\u043E\u043C)\\s*(${WA.matchAnyPattern(to.TIME_UNIT_DICTIONARY)})(?=\\s*)${to.REGEX_PARTS.rightBoundary}`,to.REGEX_PARTS.flags),$A=1,jA=2,am=class extends UA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return to.REGEX_PARTS.leftBoundary}innerPattern(){return qA}innerExtract(e,t){let n=t[$A].toLowerCase(),i=t[jA].toLowerCase(),s=to.TIME_UNIT_DICTIONARY[i];if(n=="\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||n=="\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C"){let u={};return u[s]=1,h_.ParsingComponents.createRelativeFromReference(e.reference,u)}if(n=="\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C"||n=="\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439"){let u={};return u[s]=-1,h_.ParsingComponents.createRelativeFromReference(e.reference,u)}let a=e.createParsingComponents(),o=LA.default(e.reference.instant);return s.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):s.match(/month/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):s.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};ro.default=am});var y_=k(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});var no=At(),GA=We(),YA=B(),BA=ir(),HA=new RegExp(`(\u044D\u0442\u0438|\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435|\u043F\u0440\u043E\u0448\u043B\u044B\u0435|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435|\u043F\u043E\u0441\u043B\u0435|\u0447\u0435\u0440\u0435\u0437|\\+|-)\\s*(${no.TIME_UNITS_PATTERN})${no.REGEX_PARTS.rightBoundary}`,no.REGEX_PARTS.flags),om=class extends YA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return no.REGEX_PARTS.leftBoundary}innerPattern(){return HA}innerExtract(e,t){let n=t[1].toLowerCase(),i=no.parseTimeUnits(t[2]);switch(n){case"\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435":case"\u043F\u0440\u043E\u0448\u043B\u044B\u0435":case"-":i=BA.reverseTimeUnits(i);break}return GA.ParsingComponents.createRelativeFromReference(e.reference,i)}};um.default=om});var __=k(it=>{"use strict";var Gt=it&&it.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(it,"__esModule",{value:!0});it.createConfiguration=it.createCasualConfiguration=it.parseDate=it.parse=it.strict=it.casual=void 0;var VA=Gt(ZT()),zA=Gt(n_()),KA=Gt(a_()),QA=Gt(u_()),XA=Gt(l_()),ZA=Gt(c_()),JA=Gt(d_()),eP=ln(),tP=Gt(f_()),rP=Gt(p_()),nP=Gt(m_()),iP=Gt(g_()),b_=vr(),sP=Gt(fi()),aP=Gt(y_());it.casual=new b_.Chrono(T_());it.strict=new b_.Chrono(lm(!0));function oP(r,e,t){return it.casual.parse(r,e,t)}it.parse=oP;function uP(r,e,t){return it.casual.parseDate(r,e,t)}it.parseDate=uP;function T_(){let r=lm(!1);return r.parsers.unshift(new tP.default),r.parsers.unshift(new rP.default),r.parsers.unshift(new KA.default),r.parsers.unshift(new iP.default),r.parsers.unshift(new aP.default),r}it.createCasualConfiguration=T_;function lm(r=!0){return eP.includeCommonConfiguration({parsers:[new sP.default(!0),new VA.default,new zA.default,new nP.default,new QA.default(r),new XA.default],refiners:[new JA.default,new ZA.default]},r)}it.createConfiguration=lm});var ze=k(pe=>{"use strict";var lP=pe&&pe.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),cP=pe&&pe.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),jn=pe&&pe.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&lP(e,r,t);return cP(e,r),e};Object.defineProperty(pe,"__esModule",{value:!0});pe.parseDate=pe.parse=pe.casual=pe.strict=pe.ru=pe.zh=pe.nl=pe.pt=pe.ja=pe.fr=pe.de=pe.Meridiem=pe.Chrono=pe.en=void 0;var cm=jn(Od());pe.en=cm;var dP=vr();Object.defineProperty(pe,"Chrono",{enumerable:!0,get:function(){return dP.Chrono}});var fP;(function(r){r[r.AM=0]="AM",r[r.PM=1]="PM"})(fP=pe.Meridiem||(pe.Meridiem={}));var pP=jn(Ry());pe.de=pP;var mP=jn(ib());pe.fr=mP;var hP=jn(pb());pe.ja=hP;var gP=jn(Rb());pe.pt=gP;var yP=jn(pT());pe.nl=yP;var bP=jn(VT());pe.zh=bP;var TP=jn(__());pe.ru=TP;pe.strict=cm.strict;pe.casual=cm.casual;function _P(r,e,t){return pe.casual.parse(r,e,t)}pe.parse=_P;function vP(r,e,t){return pe.casual.parseDate(r,e,t)}pe.parseDate=vP});var _v=k((bv,Tv)=>{(function(r){var e=Object.hasOwnProperty,t=Array.isArray?Array.isArray:function(h){return Object.prototype.toString.call(h)==="[object Array]"},n=10,i=typeof process=="object"&&typeof process.nextTick=="function",s=typeof Symbol=="function",a=typeof Reflect=="object",o=typeof setImmediate=="function",u=o?setImmediate:setTimeout,l=s?a&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(p){var h=Object.getOwnPropertyNames(p);return h.push.apply(h,Object.getOwnPropertySymbols(p)),h}:Object.keys;function c(){this._events={},this._conf&&d.call(this,this._conf)}function d(p){p&&(this._conf=p,p.delimiter&&(this.delimiter=p.delimiter),p.maxListeners!==r&&(this._maxListeners=p.maxListeners),p.wildcard&&(this.wildcard=p.wildcard),p.newListener&&(this._newListener=p.newListener),p.removeListener&&(this._removeListener=p.removeListener),p.verboseMemoryLeak&&(this.verboseMemoryLeak=p.verboseMemoryLeak),p.ignoreErrors&&(this.ignoreErrors=p.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function f(p,h){var b="(node) warning: possible EventEmitter memory leak detected. "+p+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(b+=" Event name: "+h+"."),typeof process!="undefined"&&process.emitWarning){var _=new Error(b);_.name="MaxListenersExceededWarning",_.emitter=this,_.count=p,process.emitWarning(_)}else console.error(b),console.trace&&console.trace()}var m=function(p,h,b){var _=arguments.length;switch(_){case 0:return[];case 1:return[p];case 2:return[p,h];case 3:return[p,h,b];default:for(var w=new Array(_);_--;)w[_]=arguments[_];return w}};function y(p,h){for(var b={},_,w=p.length,O=h?h.length:0,M=0;M0;)p=O[v],M.call(A,p,b[p]);this._listeners={},this._listenersCount=0,R()}}});function T(p,h,b,_){var w=Object.assign({},h);if(!p)return w;if(typeof p!="object")throw TypeError("options must be an object");var O=Object.keys(p),M=O.length,A,v,R;function N(le){throw Error('Invalid "'+A+'" option value'+(le?". Reason: "+le:""))}for(var te=0;te0;)if(A===p[v])return O;M(h)}}var x=S(["function"]),q=S(["object","function"]);function W(p,h,b){var _,w,O=0,M,A=new p(function(v,R,N){b=T(b,{timeout:0,overload:!1},{timeout:function(Ne,Ce){return Ne*=1,(typeof Ne!="number"||Ne<0||!Number.isFinite(Ne))&&Ce("timeout must be a positive number"),Ne}}),_=!b.overload&&typeof p.prototype.cancel=="function"&&typeof N=="function";function te(){w&&(w=null),O&&(clearTimeout(O),O=0)}var le=function(Ne){te(),v(Ne)},fe=function(Ne){te(),R(Ne)};_?h(le,fe,N):(w=[function(Ne){fe(Ne||Error("canceled"))}],h(le,fe,function(Ne){if(M)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof Ne!="function")throw TypeError("onCancel callback must be a function");w.push(Ne)}),M=!0),b.timeout>0&&(O=setTimeout(function(){var Ne=Error("timeout");Ne.code="ETIMEDOUT",O=0,A.cancel(Ne),R(Ne)},b.timeout))});return _||(A.cancel=function(v){if(!!w){for(var R=w.length,N=1;N0;)fe=qt[A],fe!=="_listeners"&&(Xe=H(p,h,b[fe],_+1,w),Xe&&(le?le.push.apply(le,Xe):le=Xe));return le}else if(Fr==="**"){for(nn=_+1===w||_+2===w&&G==="*",nn&&b._listeners&&(le=H(p,h,b,w,w)),qt=l(b),A=qt.length;A-- >0;)fe=qt[A],fe!=="_listeners"&&(fe==="*"||fe==="**"?(b[fe]._listeners&&!nn&&(Xe=H(p,h,b[fe],w,w),Xe&&(le?le.push.apply(le,Xe):le=Xe)),Xe=H(p,h,b[fe],_,w)):fe===G?Xe=H(p,h,b[fe],_+2,w):Xe=H(p,h,b[fe],_,w),Xe&&(le?le.push.apply(le,Xe):le=Xe));return le}else b[Fr]&&(le=H(p,h,b[Fr],_+1,w));if(Ne=b["*"],Ne&&H(p,h,Ne,_+1,w),Ce=b["**"],Ce)if(_0;)fe=qt[A],fe!=="_listeners"&&(fe===G?H(p,h,Ce[fe],_+2,w):fe===Fr?H(p,h,Ce[fe],_+1,w):(Rt={},Rt[fe]=Ce[fe],H(p,h,{"**":Rt},_+1,w)));else Ce._listeners?H(p,h,Ce,w,w):Ce["*"]&&Ce["*"]._listeners&&H(p,h,Ce["*"],w,w);return le}function Y(p,h,b){var _=0,w=0,O,M=this.delimiter,A=M.length,v;if(typeof p=="string")if((O=p.indexOf(M))!==-1){v=new Array(5);do v[_++]=p.slice(w,O),w=O+A;while((O=p.indexOf(M,w))!==-1);v[_++]=p.slice(w)}else v=[p],_=1;else v=p,_=p.length;if(_>1){for(O=0;O+1<_;O++)if(v[O]==="**"&&v[O+1]==="**")return}var R=this.listenerTree,N;for(O=0;O<_;O++)if(N=v[O],R=R[N]||(R[N]={}),O===_-1)return R._listeners?(typeof R._listeners=="function"&&(R._listeners=[R._listeners]),b?R._listeners.unshift(h):R._listeners.push(h),!R._listeners.warned&&this._maxListeners>0&&R._listeners.length>this._maxListeners&&(R._listeners.warned=!0,f.call(this,R._listeners.length,N))):R._listeners=h,!0;return!0}function be(p,h,b,_){for(var w=l(p),O=w.length,M,A,v,R=p._listeners,N;O-- >0;)A=w[O],M=p[A],A==="_listeners"?v=b:v=b?b.concat(A):[A],N=_||typeof A=="symbol",R&&h.push(N?v:v.join(this.delimiter)),typeof M=="object"&&be.call(this,M,h,v,N);return h}function Pe(p){for(var h=l(p),b=h.length,_,w,O;b-- >0;)w=h[b],_=p[w],_&&(O=!0,w!=="_listeners"&&!Pe(_)&&delete p[w]);return O}function j(p,h,b){this.emitter=p,this.event=h,this.listener=b}j.prototype.off=function(){return this.emitter.off(this.event,this.listener),this};function $(p,h,b){if(b===!0)w=!0;else if(b===!1)_=!0;else{if(!b||typeof b!="object")throw TypeError("options should be an object or true");var _=b.async,w=b.promisify,O=b.nextTick,M=b.objectify}if(_||O||w){var A=h,v=h._origin||h;if(O&&!i)throw Error("process.nextTick is not supported");w===r&&(w=h.constructor.name==="AsyncFunction"),h=function(){var R=arguments,N=this,te=this.event;return w?O?Promise.resolve():new Promise(function(le){u(le)}).then(function(){return N.event=te,A.apply(N,R)}):(O?process.nextTick:u)(function(){N.event=te,A.apply(N,R)})},h._async=!0,h._origin=v}return[h,M?new j(this,p,h):this]}function D(p){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,d.call(this,p)}D.EventEmitter2=D,D.prototype.listenTo=function(p,h,b){if(typeof p!="object")throw TypeError("target musts be an object");var _=this;b=T(b,{on:r,off:r,reducers:r},{on:x,off:x,reducers:q});function w(O){if(typeof O!="object")throw TypeError("events must be an object");var M=b.reducers,A=re.call(_,p),v;A===-1?v=new g(_,p,b):v=_._observers[A];for(var R=l(O),N=R.length,te,le=typeof M=="function",fe=0;fe0;)w=b[_],(!p||w._target===p)&&(w.unsubscribe(h),O=!0);return O},D.prototype.delimiter=".",D.prototype.setMaxListeners=function(p){p!==r&&(this._maxListeners=p,this._conf||(this._conf={}),this._conf.maxListeners=p)},D.prototype.getMaxListeners=function(){return this._maxListeners},D.prototype.event="",D.prototype.once=function(p,h,b){return this._once(p,h,!1,b)},D.prototype.prependOnceListener=function(p,h,b){return this._once(p,h,!0,b)},D.prototype._once=function(p,h,b,_){return this._many(p,1,h,b,_)},D.prototype.many=function(p,h,b,_){return this._many(p,h,b,!1,_)},D.prototype.prependMany=function(p,h,b,_){return this._many(p,h,b,!0,_)},D.prototype._many=function(p,h,b,_,w){var O=this;if(typeof b!="function")throw new Error("many only accepts instances of Function");function M(){return--h===0&&O.off(p,M),b.apply(this,arguments)}return M._origin=b,this._on(p,M,_,w)},D.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var p=arguments[0],h,b=this.wildcard,_,w,O,M,A;if(p==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(b&&(h=p,p!=="newListener"&&p!=="removeListener"&&typeof p=="object")){if(w=p.length,s){for(O=0;O3)for(_=new Array(v-1),M=1;M3)for(w=new Array(R-1),A=1;A0&&this._events[p].length>this._maxListeners&&(this._events[p].warned=!0,f.call(this,this._events[p].length,p))):this._events[p]=h,w)},D.prototype.off=function(p,h){if(typeof h!="function")throw new Error("removeListener only takes instances of Function");var b,_=[];if(this.wildcard){var w=typeof p=="string"?p.split(this.delimiter):p.slice();if(_=H.call(this,null,w,this.listenerTree,0),!_)return this}else{if(!this._events[p])return this;b=this._events[p],_.push({_listeners:b})}for(var O=0;O<_.length;O++){var M=_[O];if(b=M._listeners,t(b)){for(var A=-1,v=0,R=b.length;v0){for(_=this._all,h=0,b=_.length;h0;)_=h[b[O]],typeof _=="function"?w.push(_):w.push.apply(w,_);return w}else{if(this.wildcard){if(M=this.listenerTree,!M)return[];var A=[],v=typeof p=="string"?p.split(this.delimiter):p.slice();return H.call(this,A,v,M,0),A}return h?(_=h[p],_?typeof _=="function"?[_]:_:[]):[]}},D.prototype.eventNames=function(p){var h=this._events;return this.wildcard?be.call(this,this.listenerTree,[],null,p):h?l(h):[]},D.prototype.listenerCount=function(p){return this.listeners(p).length},D.prototype.hasListeners=function(p){if(this.wildcard){var h=[],b=typeof p=="string"?p.split(this.delimiter):p.slice();return H.call(this,h,b,this.listenerTree,0),h.length>0}var _=this._events,w=this._all;return!!(w&&w.length||_&&(p===r?l(_).length:_[p]))},D.prototype.listenersAny=function(){return this._all?this._all:[]},D.prototype.waitFor=function(p,h){var b=this,_=typeof h;return _==="number"?h={timeout:h}:_==="function"&&(h={filter:h}),h=T(h,{timeout:0,filter:r,handleError:!1,Promise,overload:!1},{filter:x,Promise:E}),W(h.Promise,function(w,O,M){function A(){var v=h.filter;if(!(v&&!v.apply(b,arguments)))if(b.off(p,A),h.handleError){var R=arguments[0];R?O(R):w(m.apply(null,arguments).slice(1))}else w(m.apply(null,arguments))}M(function(){b.off(p,A)}),b._on(p,A,!1)},{timeout:h.timeout,overload:h.overload})};function V(p,h,b){b=T(b,{Promise,timeout:0,overload:!1},{Promise:E});var _=b.Promise;return W(_,function(w,O,M){var A;if(typeof p.addEventListener=="function"){A=function(){w(m.apply(null,arguments))},M(function(){p.removeEventListener(h,A)}),p.addEventListener(h,A,{once:!0});return}var v=function(){R&&p.removeListener("error",R),w(m.apply(null,arguments))},R;h!=="error"&&(R=function(N){p.removeListener(h,v),O(N)},p.once("error",R)),M(function(){R&&p.removeListener("error",R),p.removeListener(h,v)}),p.once(h,v)},{timeout:b.timeout,overload:b.overload})}var U=D.prototype;if(Object.defineProperties(D,{defaultMaxListeners:{get:function(){return U._maxListeners},set:function(p){if(typeof p!="number"||p<0||Number.isNaN(p))throw TypeError("n must be a non-negative number");U._maxListeners=p},enumerable:!0},once:{value:V,writable:!0,configurable:!0}}),Object.defineProperties(U,{_maxListeners:{value:n,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),typeof define=="function"&&define.amd)define(function(){return D});else if(typeof bv=="object")Tv.exports=D;else{var X=new Function("","return this")();X.EventEmitter2=D}})()});var Dw=k(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});var Sw=Symbol("MustacheDataPath");function Ew({target:r,propertyName:e}){return[...r[Sw]||[],e]}function Ow(r,e){return typeof r!="object"?r:new Proxy(r,{get(t,n){let i=t[n];if(i===void 0&&!(n in t)){let s=Ew({target:t,propertyName:n});if(e!=null&&e.handleError)return e.handleError(s),i;throw Error(`Missing Mustache data property: ${s.join(" > ")}`)}return i&&typeof i=="object"?(i[Sw]=Ew({target:t,propertyName:n}),Ow(i,e)):i}})}oh.default=Ow});var Jr=k(Pr=>{"use strict";Pr.__esModule=!0;Pr.Tokens=Pr.StructuralCharacters=Pr.Operators=void 0;var jI;(function(r){r.AND="AND",r.OR="OR",r.XOR="XOR",r.NOT="NOT"})(jI=Pr.Operators||(Pr.Operators={}));var GI;(function(r){r.OPEN_PARENTHESIS="(",r.CLOSE_PARENTHESIS=")"})(GI=Pr.StructuralCharacters||(Pr.StructuralCharacters={}));var YI;(function(r){r.IDENTIFIER="IDENTIFIER",r.OPERATOR="OPERATOR",r.STRUCTURAL_CHARACTER="STRUCTURAL_CHARACTER",r.EOF="EOF",r.COMMENT="COMMENT"})(YI=Pr.Tokens||(Pr.Tokens={}))});var mh=k(Ns=>{"use strict";Ns.__esModule=!0;Ns.VALID_TOKENS=Ns.OPERATOR_PRECEDENCE=void 0;var qe=Jr();Ns.OPERATOR_PRECEDENCE={NOT:0,XOR:1,AND:2,OR:3};Ns.VALID_TOKENS={identifierOnly:[{name:qe.Tokens.IDENTIFIER},{name:qe.Tokens.STRUCTURAL_CHARACTER,value:qe.StructuralCharacters.OPEN_PARENTHESIS}],identifierOrNot:[{name:qe.Tokens.IDENTIFIER},{name:qe.Tokens.STRUCTURAL_CHARACTER,value:qe.StructuralCharacters.OPEN_PARENTHESIS},{name:qe.Tokens.OPERATOR,value:qe.Operators.NOT}],binaryOperator:[{name:qe.Tokens.OPERATOR,value:qe.Operators.AND},{name:qe.Tokens.OPERATOR,value:qe.Operators.OR},{name:qe.Tokens.OPERATOR,value:qe.Operators.XOR}],binaryOperatorOrClose:[{name:qe.Tokens.OPERATOR,value:qe.Operators.AND},{name:qe.Tokens.OPERATOR,value:qe.Operators.OR},{name:qe.Tokens.OPERATOR,value:qe.Operators.XOR},{name:qe.Tokens.STRUCTURAL_CHARACTER,value:qe.StructuralCharacters.CLOSE_PARENTHESIS}]}});var hh=k(Tt=>{"use strict";Tt.__esModule=!0;Tt.ESCAPE_CHARACTER=Tt.EOL=Tt.COMMENT_DELIMITER=Tt.QUOTED_IDENTIFIER_DELIMITER=Tt.SEPARATORS=Tt.OPERATORS=Tt.STRUCTURAL_CHARACTERS=void 0;var Is=Jr();Tt.STRUCTURAL_CHARACTERS={"(":Is.StructuralCharacters.OPEN_PARENTHESIS,")":Is.StructuralCharacters.CLOSE_PARENTHESIS};Tt.OPERATORS={AND:Is.Operators.AND,OR:Is.Operators.OR,XOR:Is.Operators.XOR,NOT:Is.Operators.NOT};Tt.SEPARATORS=new Set([32,9,10,13].map(function(r){return String.fromCodePoint(r)}));Tt.QUOTED_IDENTIFIER_DELIMITER=String.fromCodePoint(34);Tt.COMMENT_DELIMITER=String.fromCodePoint(35);Tt.EOL=String.fromCodePoint(10);Tt.ESCAPE_CHARACTER=String.fromCodePoint(92)});var Pw=k(br=>{"use strict";var gh=br&&br.__assign||function(){return gh=Object.assign||function(r){for(var e,t=1,n=arguments.length;t{"use strict";Rl.__esModule=!0;Rl.lex=void 0;var Fs=Jr(),Zt=hh(),Ls=Pw(),zI=function(r){for(var e=null,t=null,n=null,i=0;i{"use strict";var Iw=Jt&&Jt.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,s;n{"use strict";var en=Ws&&Ws.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,s;n{"use strict";_t.__esModule=!0;_t.throwInvalidExpression=_t.isOperator=_t.isIdentifier=_t.notUtil=_t.xorUtil=_t.orUtil=_t.andUtil=void 0;var Ww=Jr(),tF=function(r,e){return r&&e};_t.andUtil=tF;var rF=function(r,e){return r||e};_t.orUtil=rF;var nF=function(r,e){return r!==e};_t.xorUtil=nF;var iF=function(r){return!r};_t.notUtil=iF;var sF=function(r){var e=r.name,t=r.value;return e===Ww.Tokens.IDENTIFIER&&typeof t=="string"};_t.isIdentifier=sF;var aF=function(r){var e=r.name,t=r.value;return e===Ww.Tokens.OPERATOR&&typeof t=="string"};_t.isOperator=aF;var oF=function(r){throw new TypeError("Invalid postfix expression: ".concat(r))};_t.throwInvalidExpression=oF});var qw=k(Al=>{"use strict";var Po;Al.__esModule=!0;Al.OPERATOR_MAP=void 0;var _h=Jr(),vh=Th();Al.OPERATOR_MAP=(Po={},Po[_h.Operators.AND]=vh.andUtil,Po[_h.Operators.OR]=vh.orUtil,Po[_h.Operators.XOR]=vh.xorUtil,Po)});var jw=k(Cn=>{"use strict";var qs=Cn&&Cn.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,s;n{"use strict";var wh=tn&&tn.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(r,n,i)}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]});tn.__esModule=!0;tn.parse=tn.evaluate=tn.getEvaluator=void 0;var Gw=jw();wh(tn,Gw,"getEvaluator");wh(tn,Gw,"evaluate");var fF=bh();wh(tn,fF,"parse")});var DF={};eE(DF,{default:()=>ac});module.exports=tE(DF);var Pk=require("obsidian");var ms=require("obsidian");var RF=new Error("timeout while waiting for mutex to become available"),MF=new Error("mutex already locked"),rE=new Error("request for lock canceled"),nE=function(r,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function o(c){try{l(n.next(c))}catch(d){a(d)}}function u(c){try{l(n.throw(c))}catch(d){a(d)}}function l(c){c.done?s(c.value):i(c.value).then(o,u)}l((n=n.apply(r,e||[])).next())})},_c=class{constructor(e,t=rE){this._value=e,this._cancelError=t,this._weightedQueues=[],this._weightedWaiters=[]}acquire(e=1){if(e<=0)throw new Error(`invalid weight ${e}: must be positive`);return new Promise((t,n)=>{this._weightedQueues[e-1]||(this._weightedQueues[e-1]=[]),this._weightedQueues[e-1].push({resolve:t,reject:n}),this._dispatch()})}runExclusive(e,t=1){return nE(this,void 0,void 0,function*(){let[n,i]=yield this.acquire(t);try{return yield e(n)}finally{i()}})}waitForUnlock(e=1){if(e<=0)throw new Error(`invalid weight ${e}: must be positive`);return new Promise(t=>{this._weightedWaiters[e-1]||(this._weightedWaiters[e-1]=[]),this._weightedWaiters[e-1].push(t),this._dispatch()})}isLocked(){return this._value<=0}getValue(){return this._value}setValue(e){this._value=e,this._dispatch()}release(e=1){if(e<=0)throw new Error(`invalid weight ${e}: must be positive`);this._value+=e,this._dispatch()}cancel(){this._weightedQueues.forEach(e=>e.forEach(t=>t.reject(this._cancelError))),this._weightedQueues=[]}_dispatch(){var e;for(let t=this._value;t>0;t--){let n=(e=this._weightedQueues[t-1])===null||e===void 0?void 0:e.shift();if(!n)continue;let i=this._value,s=t;this._value-=t,t=this._value+1,n.resolve([i,this._newReleaser(s)])}this._drainUnlockWaiters()}_newReleaser(e){let t=!1;return()=>{t||(t=!0,this.release(e))}}_drainUnlockWaiters(){for(let e=this._value;e>0;e--)!this._weightedWaiters[e-1]||(this._weightedWaiters[e-1].forEach(t=>t()),this._weightedWaiters[e-1]=[])}},iE=function(r,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function o(c){try{l(n.next(c))}catch(d){a(d)}}function u(c){try{l(n.throw(c))}catch(d){a(d)}}function l(c){c.done?s(c.value):i(c.value).then(o,u)}l((n=n.apply(r,e||[])).next())})},Yo=class{constructor(e){this._semaphore=new _c(1,e)}acquire(){return iE(this,void 0,void 0,function*(){let[,e]=yield this._semaphore.acquire();return e})}runExclusive(e){return this._semaphore.runExclusive(()=>e())}isLocked(){return this._semaphore.isLocked()}waitForUnlock(){return this._semaphore.waitForUnlock()}release(){this._semaphore.isLocked()&&this._semaphore.release()}cancel(){return this._semaphore.cancel()}};var Ve=class{constructor(e){this._path=e}get path(){return this._path}get pathWithoutExtension(){return this.withoutExtension(this.path)}withoutExtension(e){return e.replace(/\.md$/,"")}get root(){let e=this.path.replace(/\\/g,"/");e.charAt(0)==="/"&&(e=e.substring(1));let t=e.indexOf("/");return t==-1?"/":e.substring(0,t+1)}get folder(){let e=this.path,t=this.filename,n=e.substring(0,e.lastIndexOf(t));return n===""?"/":n}get filename(){let e=this.path.match(/([^/]+)$/);return e!==null?e[1]:""}get filenameWithoutExtension(){return this.withoutExtension(this.filename)}};var Fu=na(ze());var kt=class{constructor(e,t){this.start=e,this.end=t,t.isBefore(e)&&(this.start=t,this.end=e),this.start=this.start.startOf("day"),this.end=this.end.startOf("day")}static buildRelative(e){let t=e==="week"?"isoWeek":e;return new kt(window.moment().startOf(t).startOf("day"),window.moment().endOf(t).startOf("day"))}static buildInvalid(){return new kt(window.moment.invalid(),window.moment.invalid())}isValid(){return this.start.isValid()&&this.end.isValid()}moveToPrevious(e){let t=window.moment.duration(1,e);this.start.subtract(t),this.end.subtract(t),(e==="month"||e==="quarter")&&(this.end=this.end.endOf(e).startOf("day"))}moveToNext(e){let t=window.moment.duration(1,e);this.start.add(t),this.end.add(t),(e==="month"||e==="quarter")&&(this.end=this.end.endOf(e).startOf("day"))}};var Yt=class{static parseDate(e,t=!1){return window.moment(Fu.parseDate(e,void 0,{forwardDate:t})).startOf("day")}static parseDateRange(e,t=!1){let n=[Yt.parseRelativeDateRange,Yt.parseNumberedDateRange,Yt.parseAbsoluteDateRange];for(let i of n){let s=i(e,t);if(s.isValid())return s}return kt.buildInvalid()}static parseAbsoluteDateRange(e,t){let n=Fu.parse(e,void 0,{forwardDate:t});if(n.length===0)return kt.buildInvalid();let i=n[0].start,s=n[1]&&n[1].start?n[1].start:i,a=window.moment(i.date()),o=window.moment(s.date());return new kt(a,o)}static parseRelativeDateRange(e,t){let n=/(last|this|next) (week|month|quarter|year)/,i=e.match(n);if(i&&i.length===3){let s=i[1],a=i[2],o=kt.buildRelative(a);switch(s){case"last":o.moveToPrevious(a);break;case"next":o.moveToNext(a);break}return o}return kt.buildInvalid()}static parseNumberedDateRange(e,t){let n=[[/^\s*[0-9]{4}\s*$/,"YYYY","year"],[/^\s*[0-9]{4}-Q[1-4]\s*$/,"YYYY-Q","quarter"],[/^\s*[0-9]{4}-[0-9]{2}\s*$/,"YYYY-MM","month"],[/^\s*[0-9]{4}-W[0-9]{2}\s*$/,"YYYY-WW","isoWeek"]];for(let[i,s,a]of n){let o=e.match(i);if(o){let u=o[0].trim();return new kt(window.moment(u,s).startOf(a),window.moment(u,s).endOf(a))}}return kt.buildInvalid()}};var wP={td:"today",tm:"tomorrow",yd:"yesterday",tw:"this week",nw:"next week",weekend:"sat",we:"sat"};function Lu(r){for(let[e,t]of Object.entries(wP))r=r.replace(RegExp(`\\b${e}\\s`,"i"),t);return r}var Uu=["MO","TU","WE","TH","FR","SA","SU"],He=function(){function r(e,t){if(t===0)throw new Error("Can't create weekday with n == 0");this.weekday=e,this.n=t}return r.fromStr=function(e){return new r(Uu.indexOf(e))},r.prototype.nth=function(e){return this.n===e?this:new r(this.weekday,e)},r.prototype.equals=function(e){return this.weekday===e.weekday&&this.n===e.n},r.prototype.toString=function(){var e=Uu[this.weekday];return this.n&&(e=(this.n>0?"+":"")+String(this.n)+e),e},r.prototype.getJsWeekday=function(){return this.weekday===6?0:this.weekday+1},r}();var Fe=function(r){return r!=null},Bt=function(r){return typeof r=="number"},dm=function(r){return typeof r=="string"&&Uu.includes(r)},ct=Array.isArray,cr=function(r,e){e===void 0&&(e=r),arguments.length===1&&(e=r,r=0);for(var t=[],n=r;n>0,n.length>e?String(n):(e=e-n.length,e>t.length&&(t+=ye(t,e/t.length)),t.slice(0,e)+String(n))}var w_=function(r,e,t){var n=r.split(e);return t?n.slice(0,t).concat([n.slice(t).join(e)]):n},mt=function(r,e){var t=r%e;return t*e<0?t+e:t},Wu=function(r,e){return{div:Math.floor(r/e),mod:mt(r,e)}},Ht=function(r){return!Fe(r)||r.length===0},$e=function(r){return!Ht(r)},Te=function(r,e){return $e(r)&&r.indexOf(e)!==-1};var Gr=function(r,e,t,n,i,s){return n===void 0&&(n=0),i===void 0&&(i=0),s===void 0&&(s=0),new Date(Date.UTC(r,e-1,t,n,i,s))},kP=[31,28,31,30,31,30,31,31,30,31,30,31],S_=1e3*60*60*24,qu=9999,O_=Gr(1970,1,1),EP=[6,0,1,2,3,4,5];var os=function(r){return r%4===0&&r%100!==0||r%400===0},fm=function(r){return r instanceof Date},Ti=function(r){return fm(r)&&!isNaN(r.getTime())},k_=function(r){return r.getTimezoneOffset()*60*1e3},SP=function(r,e){var t=r.getTime()-k_(r),n=e.getTime()-k_(e),i=t-n;return Math.round(i/S_)},io=function(r){return SP(r,O_)},$u=function(r){return new Date(O_.getTime()+r*S_)},OP=function(r){var e=r.getUTCMonth();return e===1&&os(r.getUTCFullYear())?29:kP[e]},yn=function(r){return EP[r.getUTCDay()]},pm=function(r,e){var t=Gr(r,e+1,1);return[yn(t),OP(t)]},ju=function(r,e){return e=e||r,new Date(Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))},Gu=function(r){var e=new Date(r.getTime());return e},mm=function(r){for(var e=[],t=0;tthis.maxDate;if(this.method==="between"){if(t)return!0;if(n)return!1}else if(this.method==="before"){if(n)return!1}else if(this.method==="after")return t?!0:(this.add(e),!1);return this.add(e)},r.prototype.add=function(e){return this._result.push(e),!0},r.prototype.getValue=function(){var e=this._result;switch(this.method){case"all":case"between":return e;case"before":case"after":default:return e.length?e[e.length-1]:null}},r.prototype.clone=function(){return new r(this.method,this.args)},r}(),Tn=DP;var hm=function(r,e){return hm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},hm(r,e)};function ls(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");hm(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var dt=function(){return dt=Object.assign||function(e){for(var t,n=1,i=arguments.length;ne[0].length)&&(e=s,t=i)}if(e!=null&&(this.text=this.text.substr(e[0].length),this.text===""&&(this.done=!0)),e==null){this.done=!0,this.symbol=null,this.value=null;return}}while(t==="SKIP");return this.symbol=t,this.value=e,!0},r.prototype.accept=function(e){if(this.symbol===e){if(this.value){var t=this.value;return this.nextSymbol(),t}return this.nextSymbol(),!0}return!1},r.prototype.acceptNumber=function(){return this.accept("number")},r.prototype.expect=function(e){if(this.accept(e))return!0;throw new Error("expected "+e+" but found "+this.symbol)},r}();function ao(r,e){e===void 0&&(e=_i);var t={},n=new PP(e.tokens);if(!n.start(r))return null;return i(),t;function i(){n.expect("every");var f=n.acceptNumber();if(f&&(t.interval=parseInt(f[0],10)),n.isDone())throw new Error("Unexpected end");switch(n.symbol){case"day(s)":t.freq=z.DAILY,n.nextSymbol()&&(a(),d());break;case"weekday(s)":t.freq=z.WEEKLY,t.byweekday=[z.MO,z.TU,z.WE,z.TH,z.FR],n.nextSymbol(),d();break;case"week(s)":t.freq=z.WEEKLY,n.nextSymbol()&&(s(),d());break;case"hour(s)":t.freq=z.HOURLY,n.nextSymbol()&&(s(),d());break;case"minute(s)":t.freq=z.MINUTELY,n.nextSymbol()&&(s(),d());break;case"month(s)":t.freq=z.MONTHLY,n.nextSymbol()&&(s(),d());break;case"year(s)":t.freq=z.YEARLY,n.nextSymbol()&&(s(),d());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":t.freq=z.WEEKLY;var m=n.symbol.substr(0,2).toUpperCase();if(t.byweekday=[z[m]],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var y=u();if(!y)throw new Error("Unexpected symbol "+n.symbol+", expected weekday");t.byweekday.push(z[y]),n.nextSymbol()}c(),d();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(t.freq=z.YEARLY,t.bymonth=[o()],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var g=o();if(!g)throw new Error("Unexpected symbol "+n.symbol+", expected month");t.bymonth.push(g),n.nextSymbol()}s(),d();break;default:throw new Error("Unknown symbol")}}function s(){var f=n.accept("on"),m=n.accept("the");if(!!(f||m))do{var y=l(),g=u(),T=o();if(y)g?(n.nextSymbol(),t.byweekday||(t.byweekday=[]),t.byweekday.push(z[g].nth(y))):(t.bymonthday||(t.bymonthday=[]),t.bymonthday.push(y),n.accept("day(s)"));else if(g)n.nextSymbol(),t.byweekday||(t.byweekday=[]),t.byweekday.push(z[g]);else if(n.symbol==="weekday(s)")n.nextSymbol(),t.byweekday||(t.byweekday=[z.MO,z.TU,z.WE,z.TH,z.FR]);else if(n.symbol==="week(s)"){n.nextSymbol();var E=n.acceptNumber();if(!E)throw new Error("Unexpected symbol "+n.symbol+", expected week number");for(t.byweekno=[parseInt(E[0],10)];n.accept("comma");){if(E=n.acceptNumber(),!E)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");t.byweekno.push(parseInt(E[0],10))}}else if(T)n.nextSymbol(),t.bymonth||(t.bymonth=[]),t.bymonth.push(T);else return}while(n.accept("comma")||n.accept("the")||n.accept("on"))}function a(){var f=n.accept("at");if(!!f)do{var m=n.acceptNumber();if(!m)throw new Error("Unexpected symbol "+n.symbol+", expected hour");for(t.byhour=[parseInt(m[0],10)];n.accept("comma");){if(m=n.acceptNumber(),!m)throw new Error("Unexpected symbol "+n.symbol+"; expected hour");t.byhour.push(parseInt(m[0],10))}}while(n.accept("comma")||n.accept("at"))}function o(){switch(n.symbol){case"january":return 1;case"february":return 2;case"march":return 3;case"april":return 4;case"may":return 5;case"june":return 6;case"july":return 7;case"august":return 8;case"september":return 9;case"october":return 10;case"november":return 11;case"december":return 12;default:return!1}}function u(){switch(n.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return n.symbol.substr(0,2).toUpperCase();default:return!1}}function l(){switch(n.symbol){case"last":return n.nextSymbol(),-1;case"first":return n.nextSymbol(),1;case"second":return n.nextSymbol(),n.accept("last")?-2:2;case"third":return n.nextSymbol(),n.accept("last")?-3:3;case"nth":var f=parseInt(n.value[1],10);if(f<-366||f>366)throw new Error("Nth out of range: "+f);return n.nextSymbol(),n.accept("last")?-f:f;default:return!1}}function c(){n.accept("on"),n.accept("the");var f=l();if(!!f)for(t.bymonthday=[f],n.nextSymbol();n.accept("comma");){if(f=l(),!f)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");t.bymonthday.push(f),n.nextSymbol()}}function d(){if(n.symbol==="until"){var f=Date.parse(n.text);if(!f)throw new Error("Cannot parse until date:"+n.text);t.until=new Date(f)}else n.accept("for")&&(t.count=parseInt(n.value[0],10),n.expect("number"))}}var me;(function(r){r[r.YEARLY=0]="YEARLY",r[r.MONTHLY=1]="MONTHLY",r[r.WEEKLY=2]="WEEKLY",r[r.DAILY=3]="DAILY",r[r.HOURLY=4]="HOURLY",r[r.MINUTELY=5]="MINUTELY",r[r.SECONDLY=6]="SECONDLY"})(me||(me={}));function oo(r){return r12){var n=Math.floor(this.month/12),i=mt(this.month,12);this.month=i,this.year+=n,this.month===0&&(this.month=12,--this.year)}},e.prototype.addWeekly=function(t,n){n>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-n))+t*7:this.day+=-(this.getWeekday()-n)+t*7,this.fixDay()},e.prototype.addDaily=function(t){this.day+=t,this.fixDay()},e.prototype.addHours=function(t,n,i){for(n&&(this.hour+=Math.floor((23-this.hour)/t)*t);;){this.hour+=t;var s=Wu(this.hour,24),a=s.div,o=s.mod;if(a&&(this.hour=o,this.addDaily(a)),Ht(i)||Te(i,this.hour))break}},e.prototype.addMinutes=function(t,n,i,s){for(n&&(this.minute+=Math.floor((1439-(this.hour*60+this.minute))/t)*t);;){this.minute+=t;var a=Wu(this.minute,60),o=a.div,u=a.mod;if(o&&(this.minute=u,this.addHours(o,!1,i)),(Ht(i)||Te(i,this.hour))&&(Ht(s)||Te(s,this.minute)))break}},e.prototype.addSeconds=function(t,n,i,s,a){for(n&&(this.second+=Math.floor((86399-(this.hour*3600+this.minute*60+this.second))/t)*t);;){this.second+=t;var o=Wu(this.second,60),u=o.div,l=o.mod;if(u&&(this.second=l,this.addMinutes(u,!1,i,s)),(Ht(i)||Te(i,this.hour))&&(Ht(s)||Te(s,this.minute))&&(Ht(a)||Te(a,this.second)))break}},e.prototype.fixDay=function(){if(!(this.day<=28)){var t=pm(this.year,this.month-1)[1];if(!(this.day<=t))for(;this.day>t;){if(this.day-=t,++this.month,this.month===13&&(this.month=1,++this.year,this.year>qu))return;t=pm(this.year,this.month-1)[1]}}},e.prototype.add=function(t,n){var i=t.freq,s=t.interval,a=t.wkst,o=t.byhour,u=t.byminute,l=t.bysecond;switch(i){case me.YEARLY:return this.addYears(s);case me.MONTHLY:return this.addMonths(s);case me.WEEKLY:return this.addWeekly(s,a);case me.DAILY:return this.addDaily(s);case me.HOURLY:return this.addHours(s,n,o);case me.MINUTELY:return this.addMinutes(s,n,o,u);case me.SECONDLY:return this.addSeconds(s,n,o,u,l)}},e}(ds);function ym(r){for(var e=[],t=Object.keys(r),n=0,i=t;n=-366&&n<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(Boolean(e.byweekno)||$e(e.byweekno)||$e(e.byyearday)||Boolean(e.bymonthday)||$e(e.bymonthday)||Fe(e.byweekday)||Fe(e.byeaster)))switch(e.freq){case z.YEARLY:e.bymonth||(e.bymonth=e.dtstart.getUTCMonth()+1),e.bymonthday=e.dtstart.getUTCDate();break;case z.MONTHLY:e.bymonthday=e.dtstart.getUTCDate();break;case z.WEEKLY:e.byweekday=[yn(e.dtstart)];break}if(Fe(e.bymonth)&&!ct(e.bymonth)&&(e.bymonth=[e.bymonth]),Fe(e.byyearday)&&!ct(e.byyearday)&&Bt(e.byyearday)&&(e.byyearday=[e.byyearday]),!Fe(e.bymonthday))e.bymonthday=[],e.bynmonthday=[];else if(ct(e.bymonthday)){for(var i=[],s=[],t=0;t0?i.push(n):n<0&&s.push(n)}e.bymonthday=i,e.bynmonthday=s}else e.bymonthday<0?(e.bynmonthday=[e.bymonthday],e.bymonthday=[]):(e.bynmonthday=[],e.bymonthday=[e.bymonthday]);if(Fe(e.byweekno)&&!ct(e.byweekno)&&(e.byweekno=[e.byweekno]),!Fe(e.byweekday))e.bynweekday=null;else if(Bt(e.byweekday))e.byweekday=[e.byweekday],e.bynweekday=null;else if(dm(e.byweekday))e.byweekday=[He.fromStr(e.byweekday).weekday],e.bynweekday=null;else if(e.byweekday instanceof He)!e.byweekday.n||e.freq>z.MONTHLY?(e.byweekday=[e.byweekday.weekday],e.bynweekday=null):(e.bynweekday=[[e.byweekday.weekday,e.byweekday.n]],e.byweekday=null);else{for(var a=[],o=[],t=0;tz.MONTHLY?a.push(u.weekday):o.push([u.weekday,u.n])}e.byweekday=$e(a)?a:null,e.bynweekday=$e(o)?o:null}return Fe(e.byhour)?Bt(e.byhour)&&(e.byhour=[e.byhour]):e.byhour=e.freq=4?(c=0,l=o.yearlen+mt(a-e.wkst,7)):l=n-c;for(var d=Math.floor(l/7),f=mt(l,7),m=Math.floor(d+f/4),y=0;y0&&g<=m){var T=void 0;g>1?(T=c+(g-1)*7,c!==u&&(T-=7-u)):T=c;for(var E=0;E<7&&(o.wnomask[T]=1,T++,o.wdaymask[T]!==e.wkst);E++);}}if(Te(e.byweekno,1)){var T=c+m*7;if(c!==u&&(T-=7-u),T=4?(q=0,re=W+mt(x-e.wkst,7)):re=n-c,S=Math.floor(52+mt(re,7)/4)}if(Te(e.byweekno,S))for(var T=0;Ts)return _n(r);if(S>=t){var x=Z_(S,e);if(!r.accept(x)||o&&(--o,!o))return _n(r)}}else for(var E=m;Es)return _n(r);if(S>=t){var x=Z_(S,e);if(!r.accept(x)||o&&(--o,!o))return _n(r)}}}if(e.interval===0||(u.add(e,g),u.year>qu))return _n(r);oo(n)||(c=l.gettimeset(n)(u.hour,u.minute,u.second,0)),l.rebuild(u.year,u.month)}}function BP(r,e,t){var n=t.bymonth,i=t.byweekno,s=t.byweekday,a=t.byeaster,o=t.bymonthday,u=t.bynmonthday,l=t.byyearday;return $e(n)&&!Te(n,r.mmask[e])||$e(i)&&!r.wnomask[e]||$e(s)&&!Te(s,r.wdaymask[e])||$e(r.nwdaymask)&&!r.nwdaymask[e]||a!==null&&!Te(r.eastermask,e)||($e(o)||$e(u))&&!Te(o,r.mdaymask[e])&&!Te(u,r.nmdaymask[e])||$e(l)&&(e=r.yearlen&&!Te(l,e+1-r.yearlen)&&!Te(l,-r.nextyearlen+e-r.yearlen))}function Z_(r,e){return new vi(r,e.tzid).rezonedDate()}function _n(r){return r.getValue()}function HP(r,e,t,n,i){for(var s=!1,a=e;a=z.HOURLY&&$e(i)&&!Te(i,e.hour)||n>=z.MINUTELY&&$e(s)&&!Te(s,e.minute)||n>=z.SECONDLY&&$e(a)&&!Te(a,e.second)?[]:r.gettimeset(n)(e.hour,e.minute,e.second,e.millisecond)}var dr={MO:new He(0),TU:new He(1),WE:new He(2),TH:new He(3),FR:new He(4),SA:new He(5),SU:new He(6)},uo={freq:me.YEARLY,dtstart:null,interval:1,wkst:dr.MO,count:null,until:null,tzid:null,bysetpos:null,bymonth:null,bymonthday:null,bynmonthday:null,byyearday:null,byweekno:null,byweekday:null,bynweekday:null,byhour:null,byminute:null,bysecond:null,byeaster:null},I_=Object.keys(uo),z=function(){function r(e,t){e===void 0&&(e={}),t===void 0&&(t=!1),this._cache=t?null:new U_,this.origOptions=ym(e);var n=P_(e).parsedOptions;this.options=n}return r.parseText=function(e,t){return ao(e,t)},r.fromText=function(e,t){return R_(e,t)},r.fromString=function(e){return new r(r.parseString(e)||void 0)},r.prototype._iter=function(e){return Yu(e,this.options)},r.prototype._cacheGet=function(e,t){return this._cache?this._cache._cacheGet(e,t):!1},r.prototype._cacheAdd=function(e,t,n){if(!!this._cache)return this._cache._cacheAdd(e,t,n)},r.prototype.all=function(e){if(e)return this._iter(new gm("all",{},e));var t=this._cacheGet("all");return t===!1&&(t=this._iter(new Tn("all",{})),this._cacheAdd("all",t)),t},r.prototype.between=function(e,t,n,i){if(n===void 0&&(n=!1),!Ti(e)||!Ti(t))throw new Error("Invalid date passed in to RRule.between");var s={before:t,after:e,inc:n};if(i)return this._iter(new gm("between",s,i));var a=this._cacheGet("between",s);return a===!1&&(a=this._iter(new Tn("between",s)),this._cacheAdd("between",a,s)),a},r.prototype.before=function(e,t){if(t===void 0&&(t=!1),!Ti(e))throw new Error("Invalid date passed in to RRule.before");var n={dt:e,inc:t},i=this._cacheGet("before",n);return i===!1&&(i=this._iter(new Tn("before",n)),this._cacheAdd("before",i,n)),i},r.prototype.after=function(e,t){if(t===void 0&&(t=!1),!Ti(e))throw new Error("Invalid date passed in to RRule.after");var n={dt:e,inc:t},i=this._cacheGet("after",n);return i===!1&&(i=this._iter(new Tn("after",n)),this._cacheAdd("after",i,n)),i},r.prototype.count=function(){return this.all().length},r.prototype.toString=function(){return fo(this.origOptions)},r.prototype.toText=function(e,t,n){return M_(this,e,t,n)},r.prototype.isFullyConvertibleToText=function(){return C_(this)},r.prototype.clone=function(){return new r(this.origOptions)},r.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],r.YEARLY=me.YEARLY,r.MONTHLY=me.MONTHLY,r.WEEKLY=me.WEEKLY,r.DAILY=me.DAILY,r.HOURLY=me.HOURLY,r.MINUTELY=me.MINUTELY,r.SECONDLY=me.SECONDLY,r.MO=dr.MO,r.TU=dr.TU,r.WE=dr.WE,r.TH=dr.TH,r.FR=dr.FR,r.SA=dr.SA,r.SU=dr.SU,r.parseString=co,r.optionsToString=fo,r}();function J_(r,e,t,n,i,s){var a={},o=r.accept;function u(f,m){t.forEach(function(y){y.between(f,m,!0).forEach(function(g){a[Number(g)]=!0})})}i.forEach(function(f){var m=new vi(f,s).rezonedDate();a[Number(m)]=!0}),r.accept=function(f){var m=Number(f);return isNaN(m)?o.call(this,f):!a[m]&&(u(new Date(m-1),new Date(m+1)),!a[m])?(a[m]=!0,o.call(this,f)):!0},r.method==="between"&&(u(r.args.after,r.args.before),r.accept=function(f){var m=Number(f);return a[m]?!0:(a[m]=!0,o.call(this,f))});for(var l=0;l1||i.length||s.length||a.length){var c=new _m(l);return c.dtstart(o),c.tzid(u||void 0),n.forEach(function(f){c.rrule(new z(Tm(f,o,u),l))}),i.forEach(function(f){c.rdate(f)}),s.forEach(function(f){c.exrule(new z(Tm(f,o,u),l))}),a.forEach(function(f){c.exdate(f)}),e.compatible&&e.dtstart&&c.rdate(o),c}var d=n[0]||{};return new z(Tm(d,d.dtstart||e.dtstart||o,d.tzid||e.tzid||u),l)}function Bu(r,e){return e===void 0&&(e={}),KP(r,QP(e))}function Tm(r,e,t){return dt(dt({},r),{dtstart:e,tzid:t})}function QP(r){var e=[],t=Object.keys(r),n=Object.keys(ev);if(t.forEach(function(i){Te(n,i)||e.push(i)}),e.length)throw new Error("Invalid options: "+e.join(", "));return dt(dt({},ev),r)}function XP(r){if(r.indexOf(":")===-1)return{name:"RRULE",value:r};var e=w_(r,":",1),t=e[0],n=e[1];return{name:t,value:n}}function ZP(r){var e=XP(r),t=e.name,n=e.value,i=t.split(";");if(!i)throw new Error("empty property name");return{name:i[0].toUpperCase(),parms:i.slice(1),value:n}}function JP(r,e){if(e===void 0&&(e=!1),r=r&&r.trim(),!r)throw new Error("Invalid empty string");if(!e)return r.split(/\s/);for(var t=r.split(` -`),n=0;n0&&i[0]===" "?(t[n-1]+=i.slice(1),t.splice(n,1)):n+=1:t.splice(n,1)}return t}function eN(r){r.forEach(function(e){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(e))throw new Error("unsupported RDATE/EXDATE parm: "+e)})}function tv(r,e){return eN(e),r.split(",").map(function(t){return so(t)})}function rv(r){var e=this;return function(t){if(t!==void 0&&(e["_".concat(r)]=t),e["_".concat(r)]!==void 0)return e["_".concat(r)];for(var n=0;ne in r?na(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,K=(r,e)=>{for(var t in e||(e={}))Tc.call(e,t)&&Gh(r,t,e[t]);if(Go)for(var t of Go(e))Yh.call(e,t)&&Gh(r,t,e[t]);return r},he=(r,e)=>Kk(r,Xk(e));var Yo=(r,e)=>{var t={};for(var n in r)Tc.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&Go)for(var n of Go(r))e.indexOf(n)<0&&Yh.call(r,n)&&(t[n]=r[n]);return t};var E=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),eE=(r,e)=>{for(var t in e)na(r,t,{get:e[t],enumerable:!0})},Bh=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zk(e))!Tc.call(r,i)&&i!==t&&na(r,i,{get:()=>e[i],enumerable:!(n=Qk(e,i))||n.enumerable});return r};var ia=(r,e,t)=>(t=r!=null?zk(Jk(r)):{},Bh(e||!r||!r.__esModule?na(t,"default",{value:r,enumerable:!0}):t,r)),tE=r=>Bh(na({},"__esModule",{value:!0}),r);var P=(r,e,t)=>new Promise((n,i)=>{var s=u=>{try{o(t.next(u))}catch(l){i(l)}},a=u=>{try{o(t.throw(u))}catch(l){i(l)}},o=u=>u.done?n(u.value):Promise.resolve(u.value).then(s,a);o((t=t.apply(r,e)).next())});var Re=E(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.matchAnyPattern=Fn.extractTerms=Fn.repeatedTimeunitPattern=void 0;function sE(r,e){let t=e.replace(/\((?!\?)/g,"(?:");return`${r}${t}\\s{0,5}(?:,?\\s{0,5}${t}){0,10}`}Fn.repeatedTimeunitPattern=sE;function Hh(r){let e;return r instanceof Array?e=[...r]:r instanceof Map?e=Array.from(r.keys()):e=Object.keys(r),e}Fn.extractTerms=Hh;function aE(r){return`(?:${Hh(r).sort((t,n)=>n.length-t.length).join("|").replace(/\./g,"\\.")})`}Fn.matchAnyPattern=aE});var ve=E((vc,wc)=>{(function(r,e){typeof vc=="object"&&typeof wc!="undefined"?wc.exports=e():typeof define=="function"&&define.amd?define(e):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs=e()})(vc,function(){"use strict";var r=1e3,e=6e4,t=36e5,n="millisecond",i="second",s="minute",a="hour",o="day",u="week",l="month",c="quarter",d="year",f="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,T={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},k=function(j,$,D){var V=String(j);return!V||V.length>=$?j:""+Array($+1-V.length).join(D)+j},S={s:k,z:function(j){var $=-j.utcOffset(),D=Math.abs($),V=Math.floor(D/60),W=D%60;return($<=0?"+":"-")+k(V,2,"0")+":"+k(W,2,"0")},m:function j($,D){if($.date(){"use strict";var oE=Ln&&Ln.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ln,"__esModule",{value:!0});Ln.findYearClosestToRef=Ln.findMostLikelyADYear=void 0;var uE=oE(ve());function lE(r){return r<100&&(r>50?r=r+1900:r=r+2e3),r}Ln.findMostLikelyADYear=lE;function cE(r,e,t){let n=uE.default(r),i=n;i=i.month(t-1),i=i.date(e),i=i.year(n.year());let s=i.add(1,"y"),a=i.add(-1,"y");return Math.abs(s.diff(n)){"use strict";Object.defineProperty(ce,"__esModule",{value:!0});ce.parseTimeUnits=ce.TIME_UNITS_PATTERN=ce.parseYear=ce.YEAR_PATTERN=ce.parseOrdinalNumberPattern=ce.ORDINAL_NUMBER_PATTERN=ce.parseNumberPattern=ce.NUMBER_PATTERN=ce.TIME_UNIT_DICTIONARY=ce.ORDINAL_WORD_DICTIONARY=ce.INTEGER_WORD_DICTIONARY=ce.MONTH_DICTIONARY=ce.FULL_MONTH_NAME_DICTIONARY=ce.WEEKDAY_DICTIONARY=void 0;var Ho=Re(),dE=ot();ce.WEEKDAY_DICTIONARY={sunday:0,sun:0,"sun.":0,monday:1,mon:1,"mon.":1,tuesday:2,tue:2,"tue.":2,wednesday:3,wed:3,"wed.":3,thursday:4,thurs:4,"thurs.":4,thur:4,"thur.":4,thu:4,"thu.":4,friday:5,fri:5,"fri.":5,saturday:6,sat:6,"sat.":6};ce.FULL_MONTH_NAME_DICTIONARY={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12};ce.MONTH_DICTIONARY=Object.assign(Object.assign({},ce.FULL_MONTH_NAME_DICTIONARY),{jan:1,"jan.":1,feb:2,"feb.":2,mar:3,"mar.":3,apr:4,"apr.":4,jun:6,"jun.":6,jul:7,"jul.":7,aug:8,"aug.":8,sep:9,"sep.":9,sept:9,"sept.":9,oct:10,"oct.":10,nov:11,"nov.":11,dec:12,"dec.":12});ce.INTEGER_WORD_DICTIONARY={one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12};ce.ORDINAL_WORD_DICTIONARY={first:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12,thirteenth:13,fourteenth:14,fifteenth:15,sixteenth:16,seventeenth:17,eighteenth:18,nineteenth:19,twentieth:20,"twenty first":21,"twenty-first":21,"twenty second":22,"twenty-second":22,"twenty third":23,"twenty-third":23,"twenty fourth":24,"twenty-fourth":24,"twenty fifth":25,"twenty-fifth":25,"twenty sixth":26,"twenty-sixth":26,"twenty seventh":27,"twenty-seventh":27,"twenty eighth":28,"twenty-eighth":28,"twenty ninth":29,"twenty-ninth":29,thirtieth:30,"thirty first":31,"thirty-first":31};ce.TIME_UNIT_DICTIONARY={sec:"second",second:"second",seconds:"second",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",hour:"hour",hours:"hour",day:"d",days:"d",week:"week",weeks:"week",month:"month",months:"month",qtr:"quarter",quarter:"quarter",quarters:"quarter",y:"year",yr:"year",year:"year",years:"year"};ce.NUMBER_PATTERN=`(?:${Ho.matchAnyPattern(ce.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s{0,2}an?)?|an?\\b(?:\\s{0,2}few)?|few|several|a?\\s{0,2}couple\\s{0,2}(?:of)?)`;function zh(r){let e=r.toLowerCase();return ce.INTEGER_WORD_DICTIONARY[e]!==void 0?ce.INTEGER_WORD_DICTIONARY[e]:e==="a"||e==="an"?1:e.match(/few/)?3:e.match(/half/)?.5:e.match(/couple/)?2:e.match(/several/)?7:parseFloat(e)}ce.parseNumberPattern=zh;ce.ORDINAL_NUMBER_PATTERN=`(?:${Ho.matchAnyPattern(ce.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:st|nd|rd|th)?)`;function fE(r){let e=r.toLowerCase();return ce.ORDINAL_WORD_DICTIONARY[e]!==void 0?ce.ORDINAL_WORD_DICTIONARY[e]:(e=e.replace(/(?:st|nd|rd|th)$/i,""),parseInt(e))}ce.parseOrdinalNumberPattern=fE;ce.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s{0,2}(?:BE|AD|BC|BCE|CE)|[1-2][0-9]{3}|[5-9][0-9])";function pE(r){if(/BE/i.test(r))return r=r.replace(/BE/i,""),parseInt(r)-543;if(/BCE?/i.test(r))return r=r.replace(/BCE?/i,""),-parseInt(r);if(/(AD|CE)/i.test(r))return r=r.replace(/(AD|CE)/i,""),parseInt(r);let e=parseInt(r);return dE.findMostLikelyADYear(e)}ce.parseYear=pE;var Kh=`(${ce.NUMBER_PATTERN})\\s{0,3}(${Ho.matchAnyPattern(ce.TIME_UNIT_DICTIONARY)})`,Vh=new RegExp(Kh,"i");ce.TIME_UNITS_PATTERN=Ho.repeatedTimeunitPattern("(?:(?:about|around)\\s{0,3})?",Kh);function mE(r){let e={},t=r,n=Vh.exec(t);for(;n;)hE(e,n),t=t.substring(n[0].length).trim(),n=Vh.exec(t);return e}ce.parseTimeUnits=mE;function hE(r,e){let t=zh(e[1]),n=ce.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var Qh=E((kc,Ec)=>{(function(r,e){typeof kc=="object"&&typeof Ec!="undefined"?Ec.exports=e():typeof define=="function"&&define.amd?define(e):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs_plugin_quarterOfYear=e()})(kc,function(){"use strict";var r="month",e="quarter";return function(t,n){var i=n.prototype;i.quarter=function(o){return this.$utils().u(o)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(o-1))};var s=i.add;i.add=function(o,u){return o=Number(o),this.$utils().p(u)===e?this.add(3*o,r):s.bind(this)(o,u)};var a=i.startOf;i.startOf=function(o,u){var l=this.$utils(),c=!!l.u(u)||u;if(l.p(o)===e){var d=this.quarter()-1;return c?this.month(3*d).startOf(r).startOf("day"):this.month(3*d+2).endOf(r).endOf("day")}return a.bind(this)(o,u)}}})});var nr=E(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.implySimilarTime=Ur.assignSimilarTime=Ur.assignSimilarDate=Ur.assignTheNextDay=void 0;var Xh=ze();function gE(r,e){e=e.add(1,"day"),Zh(r,e),Jh(r,e)}Ur.assignTheNextDay=gE;function Zh(r,e){r.assign("day",e.date()),r.assign("month",e.month()+1),r.assign("year",e.year())}Ur.assignSimilarDate=Zh;function yE(r,e){r.assign("hour",e.hour()),r.assign("minute",e.minute()),r.assign("second",e.second()),r.assign("millisecond",e.millisecond()),r.get("hour")<12?r.assign("meridiem",Xh.Meridiem.AM):r.assign("meridiem",Xh.Meridiem.PM)}Ur.assignSimilarTime=yE;function Jh(r,e){r.imply("hour",e.hour()),r.imply("minute",e.minute()),r.imply("second",e.second()),r.imply("millisecond",e.millisecond())}Ur.implySimilarTime=Jh});var eg=E(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.toTimezoneOffset=oi.TIMEZONE_ABBR_MAP=void 0;oi.TIMEZONE_ABBR_MAP={ACDT:630,ACST:570,ADT:-180,AEDT:660,AEST:600,AFT:270,AKDT:-480,AKST:-540,ALMT:360,AMST:-180,AMT:-240,ANAST:720,ANAT:720,AQTT:300,ART:-180,AST:-240,AWDT:540,AWST:480,AZOST:0,AZOT:-60,AZST:300,AZT:240,BNT:480,BOT:-240,BRST:-120,BRT:-180,BST:60,BTT:360,CAST:480,CAT:120,CCT:390,CDT:-300,CEST:120,CET:60,CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CVT:-60,CXT:420,ChST:600,DAVT:420,EASST:-300,EAST:-360,EAT:180,ECT:-300,EDT:-240,EEST:180,EET:120,EGST:0,EGT:-60,EST:-300,ET:-300,FJST:780,FJT:720,FKST:-180,FKT:-240,FNT:-120,GALT:-360,GAMT:-540,GET:240,GFT:-180,GILT:720,GMT:0,GST:240,GYT:-240,HAA:-180,HAC:-300,HADT:-540,HAE:-240,HAP:-420,HAR:-360,HAST:-600,HAT:-90,HAY:-480,HKT:480,HLV:-210,HNA:-240,HNC:-360,HNE:-300,HNP:-480,HNR:-420,HNT:-150,HNY:-540,HOVT:420,ICT:420,IDT:180,IOT:360,IRDT:270,IRKST:540,IRKT:540,IRST:210,IST:330,JST:540,KGT:360,KRAST:480,KRAT:480,KST:540,KUYT:240,LHDT:660,LHST:630,LINT:840,MAGST:720,MAGT:720,MART:-510,MAWT:300,MDT:-360,MESZ:120,MEZ:60,MHT:720,MMT:390,MSD:240,MSK:180,MST:-420,MUT:240,MVT:300,MYT:480,NCT:660,NDT:-90,NFT:690,NOVST:420,NOVT:360,NPT:345,NST:-150,NUT:-660,NZDT:780,NZST:720,OMSST:420,OMST:420,PDT:-420,PET:-300,PETST:720,PETT:720,PGT:600,PHOT:780,PHT:480,PKT:300,PMDT:-120,PMST:-180,PONT:660,PST:-480,PT:-480,PWT:540,PYST:-180,PYT:-240,RET:240,SAMT:240,SAST:120,SBT:660,SCT:240,SGT:480,SRT:-180,SST:-660,TAHT:-600,TFT:300,TJT:300,TKT:780,TLT:540,TMT:300,TVT:720,ULAT:480,UTC:0,UYST:-120,UYT:-180,UZT:300,VET:-210,VLAST:660,VLAT:660,VUT:660,WAST:120,WAT:60,WEST:60,WESZ:60,WET:0,WEZ:0,WFT:720,WGST:-120,WGT:-180,WIB:420,WIT:540,WITA:480,WST:780,WT:0,YAKST:600,YAKT:600,YAPT:600,YEKST:360,YEKT:360};function bE(r){var e;return r==null?null:typeof r=="number"?r:(e=oi.TIMEZONE_ABBR_MAP[r])!==null&&e!==void 0?e:null}oi.toTimezoneOffset=bE});var We=E(Wr=>{"use strict";var tg=Wr&&Wr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Wr,"__esModule",{value:!0});Wr.ParsingResult=Wr.ParsingComponents=Wr.ReferenceWithTimezone=void 0;var TE=tg(Qh()),Vo=tg(ve()),Sc=nr(),_E=eg();Vo.default.extend(TE.default);var Oc=class{constructor(e){var t;e=e!=null?e:new Date,e instanceof Date?this.instant=e:(this.instant=(t=e.instant)!==null&&t!==void 0?t:new Date,this.timezoneOffset=_E.toTimezoneOffset(e.timezone))}};Wr.ReferenceWithTimezone=Oc;var ui=class{constructor(e,t){if(this.reference=e,this.knownValues={},this.impliedValues={},t)for(let i in t)this.knownValues[i]=t[i];let n=Vo.default(e.instant);this.imply("day",n.date()),this.imply("month",n.month()+1),this.imply("year",n.year()),this.imply("hour",12),this.imply("minute",0),this.imply("second",0),this.imply("millisecond",0)}get(e){return e in this.knownValues?this.knownValues[e]:e in this.impliedValues?this.impliedValues[e]:null}isCertain(e){return e in this.knownValues}getCertainComponents(){return Object.keys(this.knownValues)}imply(e,t){return e in this.knownValues?this:(this.impliedValues[e]=t,this)}assign(e,t){return this.knownValues[e]=t,delete this.impliedValues[e],this}delete(e){delete this.knownValues[e],delete this.impliedValues[e]}clone(){let e=new ui(this.reference);e.knownValues={},e.impliedValues={};for(let t in this.knownValues)e.knownValues[t]=this.knownValues[t];for(let t in this.impliedValues)e.impliedValues[t]=this.impliedValues[t];return e}isOnlyDate(){return!this.isCertain("hour")&&!this.isCertain("minute")&&!this.isCertain("second")}isOnlyTime(){return!this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isOnlyWeekdayComponent(){return this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isOnlyDayMonthComponent(){return this.isCertain("day")&&this.isCertain("month")&&!this.isCertain("year")}isValidDate(){let e=this.dateWithoutTimezoneAdjustment();return!(e.getFullYear()!==this.get("year")||e.getMonth()!==this.get("month")-1||e.getDate()!==this.get("day")||this.get("hour")!=null&&e.getHours()!=this.get("hour")||this.get("minute")!=null&&e.getMinutes()!=this.get("minute"))}toString(){return`[ParsingComponents {knownValues: ${JSON.stringify(this.knownValues)}, impliedValues: ${JSON.stringify(this.impliedValues)}}, reference: ${JSON.stringify(this.reference)}]`}dayjs(){return Vo.default(this.date())}date(){let e=this.dateWithoutTimezoneAdjustment();return new Date(e.getTime()+this.getSystemTimezoneAdjustmentMinute(e)*6e4)}dateWithoutTimezoneAdjustment(){let e=new Date(this.get("year"),this.get("month")-1,this.get("day"),this.get("hour"),this.get("minute"),this.get("second"),this.get("millisecond"));return e.setFullYear(this.get("year")),e}getSystemTimezoneAdjustmentMinute(e){var t,n;(!e||e.getTime()<0)&&(e=new Date);let i=-e.getTimezoneOffset(),s=(n=(t=this.get("timezoneOffset"))!==null&&t!==void 0?t:this.reference.timezoneOffset)!==null&&n!==void 0?n:i;return i-s}static createRelativeFromReference(e,t){let n=Vo.default(e.instant);for(let s in t)n=n.add(t[s],s);let i=new ui(e);return t.hour||t.minute||t.second?(Sc.assignSimilarTime(i,n),Sc.assignSimilarDate(i,n),e.timezoneOffset!==null&&i.assign("timezoneOffset",-e.instant.getTimezoneOffset())):(Sc.implySimilarTime(i,n),e.timezoneOffset!==null&&i.imply("timezoneOffset",-e.instant.getTimezoneOffset()),t.d?(i.assign("day",n.date()),i.assign("month",n.month()+1),i.assign("year",n.year())):(t.week&&i.imply("weekday",n.day()),i.imply("day",n.date()),t.month?(i.assign("month",n.month()+1),i.assign("year",n.year())):(i.imply("month",n.month()+1),t.year?i.assign("year",n.year()):i.imply("year",n.year())))),i}};Wr.ParsingComponents=ui;var sa=class{constructor(e,t,n,i,s){this.reference=e,this.refDate=e.instant,this.index=t,this.text=n,this.start=i||new ui(e),this.end=s}clone(){let e=new sa(this.reference,this.index,this.text);return e.start=this.start?this.start.clone():null,e.end=this.end?this.end.clone():null,e}date(){return this.start.date()}toString(){return`[ParsingResult {index: ${this.index}, text: '${this.text}', ...}]`}};Wr.ParsingResult=sa});var B=E(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.AbstractParserWithWordBoundaryChecking=void 0;var Dc=class{constructor(){this.cachedInnerPattern=null,this.cachedPattern=null}patternLeftBoundary(){return"(\\W|^)"}pattern(e){let t=this.innerPattern(e);return t==this.cachedInnerPattern?this.cachedPattern:(this.cachedPattern=new RegExp(`${this.patternLeftBoundary()}${t.source}`,t.flags),this.cachedInnerPattern=t,this.cachedPattern)}extract(e,t){var n;let i=(n=t[1])!==null&&n!==void 0?n:"";t.index=t.index+i.length,t[0]=t[0].substring(i.length);for(let s=2;s{"use strict";Object.defineProperty(Mc,"__esModule",{value:!0});var Rc=ut(),vE=We(),wE=B(),kE=new RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${Rc.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),EE=new RegExp(`(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${Rc.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),xc=class extends wE.AbstractParserWithWordBoundaryChecking{innerPattern(e){return e.option.forwardDate?EE:kE}innerExtract(e,t){let n=Rc.parseTimeUnits(t[1]);return vE.ParsingComponents.createRelativeFromReference(e.reference,n)}};Mc.default=xc});var ug=E(Ac=>{"use strict";Object.defineProperty(Ac,"__esModule",{value:!0});var SE=ot(),ag=ut(),og=ut(),Ko=ut(),OE=Re(),DE=B(),xE=new RegExp(`(?:on\\s{0,3})?(${Ko.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:to|\\-|\\\u2013|until|through|till)?\\s{0,3}(${Ko.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s{0,3}(?:of)?\\s{0,3})(${OE.matchAnyPattern(ag.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s{0,3})(${og.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),ng=1,ig=2,RE=3,sg=4,Cc=class extends DE.AbstractParserWithWordBoundaryChecking{innerPattern(){return xE}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=ag.MONTH_DICTIONARY[t[RE].toLowerCase()],s=Ko.parseOrdinalNumberPattern(t[ng]);if(s>31)return t.index=t.index+t[ng].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[sg]){let a=og.parseYear(t[sg]);n.start.assign("year",a)}else{let a=SE.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[ig]){let a=Ko.parseOrdinalNumberPattern(t[ig]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Ac.default=Cc});var pg=E(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});var ME=ot(),dg=ut(),Qo=ut(),fg=ut(),CE=Re(),AE=B(),PE=new RegExp(`(${CE.matchAnyPattern(dg.MONTH_DICTIONARY)})(?:-|/|\\s*,?\\s*)(${Qo.ORDINAL_NUMBER_PATTERN})(?!\\s*(?:am|pm))\\s*(?:(?:to|\\-)\\s*(${Qo.ORDINAL_NUMBER_PATTERN})\\s*)?(?:(?:-|/|\\s*,?\\s*)(${fg.YEAR_PATTERN}))?(?=\\W|$)(?!\\:\\d)`,"i"),NE=1,IE=2,lg=3,cg=4,Pc=class extends AE.AbstractParserWithWordBoundaryChecking{innerPattern(){return PE}innerExtract(e,t){let n=dg.MONTH_DICTIONARY[t[NE].toLowerCase()],i=Qo.parseOrdinalNumberPattern(t[IE]);if(i>31)return null;let s=e.createParsingComponents({day:i,month:n});if(t[cg]){let u=fg.parseYear(t[cg]);s.assign("year",u)}else{let u=ME.findYearClosestToRef(e.refDate,i,n);s.imply("year",u)}if(!t[lg])return s;let a=Qo.parseOrdinalNumberPattern(t[lg]),o=e.createParsingResult(t.index,t[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};Nc.default=Pc});var gg=E(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});var Ic=ut(),FE=ot(),LE=Re(),hg=ut(),UE=B(),WE=new RegExp(`((?:in)\\s*)?(${LE.matchAnyPattern(Ic.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${hg.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),qE=1,$E=2,mg=3,Fc=class extends UE.AbstractParserWithWordBoundaryChecking{innerPattern(){return WE}innerExtract(e,t){let n=t[$E].toLowerCase();if(t[0].length<=3&&!Ic.FULL_MONTH_NAME_DICTIONARY[n])return null;let i=e.createParsingResult(t.index+(t[qE]||"").length,t.index+t[0].length);i.start.imply("day",1);let s=Ic.MONTH_DICTIONARY[n];if(i.start.assign("month",s),t[mg]){let a=hg.parseYear(t[mg]);i.start.assign("year",a)}else{let a=FE.findYearClosestToRef(e.refDate,1,s);i.start.imply("year",a)}return i}};Lc.default=Fc});var Tg=E(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});var bg=ut(),jE=Re(),GE=B(),YE=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${jE.matchAnyPattern(bg.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),BE=1,HE=2,yg=3,VE=4,Uc=class extends GE.AbstractParserWithWordBoundaryChecking{innerPattern(){return YE}innerExtract(e,t){let n=t[yg]?parseInt(t[yg]):bg.MONTH_DICTIONARY[t[HE].toLowerCase()];if(n<1||n>12)return null;let i=parseInt(t[BE]);return{day:parseInt(t[VE]),month:n,year:i}}};Wc.default=Uc});var _g=E($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});var zE=B(),KE=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),QE=1,XE=2,qc=class extends zE.AbstractParserWithWordBoundaryChecking{innerPattern(){return KE}innerExtract(e,t){let n=parseInt(t[XE]),i=parseInt(t[QE]);return e.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}};$c.default=qc});var li=E(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.AbstractTimeExpressionParser=void 0;var wt=ze();function ZE(r,e,t,n){return new RegExp(`${r}${e}(\\d{1,4})(?:(?:\\.|:|\uFF1A)(\\d{1,2})(?:(?::|\uFF1A)(\\d{2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${t}`,n)}function JE(r,e){return new RegExp(`^(${r})(\\d{1,4})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${e}`,"i")}var vg=2,Hi=3,Xo=4,Zo=5,aa=6,jc=class{constructor(e=!1){this.cachedPrimaryPrefix=null,this.cachedPrimarySuffix=null,this.cachedPrimaryTimePattern=null,this.cachedFollowingPhase=null,this.cachedFollowingSuffix=null,this.cachedFollowingTimePatten=null,this.strictMode=e}patternFlags(){return"i"}primaryPatternLeftBoundary(){return"(^|\\s|T|\\b)"}primarySuffix(){return"(?=\\W|$)"}followingSuffix(){return"(?=\\W|$)"}pattern(e){return this.getPrimaryTimePatternThroughCache()}extract(e,t){let n=this.extractPrimaryTimeComponents(e,t);if(!n)return t.index+=t[0].length,null;let i=t.index+t[1].length,s=t[0].substring(t[1].length),a=e.createParsingResult(i,s,n);t.index+=t[0].length;let o=e.text.substring(t.index),l=this.getFollowingTimePatternThroughCache().exec(o);return s.match(/^\d{3,4}/)&&l&&l[0].match(/^\s*([+-])\s*\d{2,4}$/)?null:!l||l[0].match(/^\s*([+-])\s*\d{3,4}$/)?this.checkAndReturnWithoutFollowingPattern(a):(a.end=this.extractFollowingTimeComponents(e,l,a),a.end&&(a.text+=l[0]),this.checkAndReturnWithFollowingPattern(a))}extractPrimaryTimeComponents(e,t,n=!1){let i=e.createParsingComponents(),s=0,a=null,o=parseInt(t[vg]);if(o>100){if(this.strictMode||t[Hi]!=null)return null;s=o%100,o=Math.floor(o/100)}if(o>24)return null;if(t[Hi]!=null){if(t[Hi].length==1&&!t[aa])return null;s=parseInt(t[Hi])}if(s>=60)return null;if(o>12&&(a=wt.Meridiem.PM),t[aa]!=null){if(o>12)return null;let u=t[aa][0].toLowerCase();u=="a"&&(a=wt.Meridiem.AM,o==12&&(o=0)),u=="p"&&(a=wt.Meridiem.PM,o!=12&&(o+=12))}if(i.assign("hour",o),i.assign("minute",s),a!==null?i.assign("meridiem",a):o<12?i.imply("meridiem",wt.Meridiem.AM):i.imply("meridiem",wt.Meridiem.PM),t[Zo]!=null){let u=parseInt(t[Zo].substring(0,3));if(u>=1e3)return null;i.assign("millisecond",u)}if(t[Xo]!=null){let u=parseInt(t[Xo]);if(u>=60)return null;i.assign("second",u)}return i}extractFollowingTimeComponents(e,t,n){let i=e.createParsingComponents();if(t[Zo]!=null){let u=parseInt(t[Zo].substring(0,3));if(u>=1e3)return null;i.assign("millisecond",u)}if(t[Xo]!=null){let u=parseInt(t[Xo]);if(u>=60)return null;i.assign("second",u)}let s=parseInt(t[vg]),a=0,o=-1;if(t[Hi]!=null?a=parseInt(t[Hi]):s>100&&(a=s%100,s=Math.floor(s/100)),a>=60||s>24)return null;if(s>=12&&(o=wt.Meridiem.PM),t[aa]!=null){if(s>12)return null;let u=t[aa][0].toLowerCase();u=="a"&&(o=wt.Meridiem.AM,s==12&&(s=0,i.isCertain("day")||i.imply("day",i.get("day")+1))),u=="p"&&(o=wt.Meridiem.PM,s!=12&&(s+=12)),n.start.isCertain("meridiem")||(o==wt.Meridiem.AM?(n.start.imply("meridiem",wt.Meridiem.AM),n.start.get("hour")==12&&n.start.assign("hour",0)):(n.start.imply("meridiem",wt.Meridiem.PM),n.start.get("hour")!=12&&n.start.assign("hour",n.start.get("hour")+12)))}return i.assign("hour",s),i.assign("minute",a),o>=0?i.assign("meridiem",o):n.start.isCertain("meridiem")&&n.start.get("hour")>12?n.start.get("hour")-12>s?i.imply("meridiem",wt.Meridiem.AM):s<=12&&(i.assign("hour",s+12),i.assign("meridiem",wt.Meridiem.PM)):s>12?i.imply("meridiem",wt.Meridiem.PM):s<=12&&i.imply("meridiem",wt.Meridiem.AM),i.date().getTime()24)return null}return e}checkAndReturnWithFollowingPattern(e){if(e.text.match(/^\d+-\d+$/))return null;let t=e.text.match(/[^\d:.](\d[\d.]+)\s*-\s*(\d[\d.]+)$/);if(t){if(this.strictMode)return null;let n=t[1],i=t[2];if(i.includes(".")&&!i.match(/\d(\.\d{2})+$/))return null;let s=parseInt(i),a=parseInt(n);if(s>24||a>24)return null}return e}getPrimaryTimePatternThroughCache(){let e=this.primaryPrefix(),t=this.primarySuffix();return this.cachedPrimaryPrefix===e&&this.cachedPrimarySuffix===t?this.cachedPrimaryTimePattern:(this.cachedPrimaryTimePattern=ZE(this.primaryPatternLeftBoundary(),e,t,this.patternFlags()),this.cachedPrimaryPrefix=e,this.cachedPrimarySuffix=t,this.cachedPrimaryTimePattern)}getFollowingTimePatternThroughCache(){let e=this.followingPhase(),t=this.followingSuffix();return this.cachedFollowingPhase===e&&this.cachedFollowingSuffix===t?this.cachedFollowingTimePatten:(this.cachedFollowingTimePatten=JE(e,t),this.cachedFollowingPhase=e,this.cachedFollowingSuffix=t,this.cachedFollowingTimePatten)}};Jo.AbstractTimeExpressionParser=jc});var wg=E(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});var eu=ze(),eS=li(),Gc=class extends eS.AbstractTimeExpressionParser{constructor(e){super(e)}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|to|\\?)\\s*"}primaryPrefix(){return"(?:(?:at|from)\\s*)??"}primarySuffix(){return"(?:\\s*(?:o\\W*clock|at\\s*night|in\\s*the\\s*(?:morning|afternoon)))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(n){if(t[0].endsWith("night")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",eu.Meridiem.PM)):i<6&&n.assign("meridiem",eu.Meridiem.AM)}if(t[0].endsWith("afternoon")){n.assign("meridiem",eu.Meridiem.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}t[0].endsWith("morning")&&(n.assign("meridiem",eu.Meridiem.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}};Yc.default=Gc});var ir=E(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.addImpliedTimeUnits=Vi.reverseTimeUnits=void 0;function tS(r){let e={};for(let t in r)e[t]=-r[t];return e}Vi.reverseTimeUnits=tS;function rS(r,e){let t=r.clone(),n=r.dayjs();for(let i in e)n=n.add(e[i],i);return("day"in e||"d"in e||"week"in e||"month"in e||"year"in e)&&(t.imply("day",n.date()),t.imply("month",n.month()+1),t.imply("year",n.year())),("second"in e||"minute"in e||"hour"in e)&&(t.imply("second",n.second()),t.imply("minute",n.minute()),t.imply("hour",n.hour())),t}Vi.addImpliedTimeUnits=rS});var kg=E(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});var Hc=ut(),nS=We(),iS=B(),sS=ir(),aS=new RegExp(`(${Hc.TIME_UNITS_PATTERN})\\s{0,5}(?:ago|before|earlier)(?=(?:\\W|$))`,"i"),oS=new RegExp(`(${Hc.TIME_UNITS_PATTERN})\\s{0,5}ago(?=(?:\\W|$))`,"i"),Bc=class extends iS.AbstractParserWithWordBoundaryChecking{constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?oS:aS}innerExtract(e,t){let n=Hc.parseTimeUnits(t[1]),i=sS.reverseTimeUnits(n);return nS.ParsingComponents.createRelativeFromReference(e.reference,i)}};Vc.default=Bc});var Eg=E(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});var Kc=ut(),uS=We(),lS=B(),cS=new RegExp(`(${Kc.TIME_UNITS_PATTERN})\\s{0,5}(?:later|after|from now|henceforth|forward|out)(?=(?:\\W|$))`,"i"),dS=new RegExp("("+Kc.TIME_UNITS_PATTERN+")(later|from now)(?=(?:\\W|$))","i"),fS=1,zc=class extends lS.AbstractParserWithWordBoundaryChecking{constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?dS:cS}innerExtract(e,t){let n=Kc.parseTimeUnits(t[fS]);return uS.ParsingComponents.createRelativeFromReference(e.reference,n)}};Qc.default=zc});var Ki=E(zi=>{"use strict";Object.defineProperty(zi,"__esModule",{value:!0});zi.MergingRefiner=zi.Filter=void 0;var Xc=class{refine(e,t){return t.filter(n=>this.isValid(e,n))}};zi.Filter=Xc;var Zc=class{refine(e,t){if(t.length<2)return t;let n=[],i=t[0],s=null;for(let a=1;a{console.log(`${this.constructor.name} merged ${u} and ${l} into ${c}`)}),i=c}}return i!=null&&n.push(i),n}};zi.MergingRefiner=Zc});var qr=E(ed=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});var pS=Ki(),Jc=class extends pS.MergingRefiner{shouldMergeResults(e,t,n){return!t.end&&!n.end&&e.match(this.patternBetween())!=null}mergeResults(e,t,n){if(!t.start.isOnlyWeekdayComponent()&&!n.start.isOnlyWeekdayComponent()&&(n.start.getCertainComponents().forEach(s=>{t.start.isCertain(s)||t.start.assign(s,n.start.get(s))}),t.start.getCertainComponents().forEach(s=>{n.start.isCertain(s)||n.start.assign(s,t.start.get(s))})),t.start.date().getTime()>n.start.date().getTime()){let s=t.start.dayjs(),a=n.start.dayjs();t.start.isOnlyWeekdayComponent()&&s.add(-7,"days").isBefore(a)?(s=s.add(-7,"days"),t.start.imply("day",s.date()),t.start.imply("month",s.month()+1),t.start.imply("year",s.year())):n.start.isOnlyWeekdayComponent()&&a.add(7,"days").isAfter(s)?(a=a.add(7,"days"),n.start.imply("day",a.date()),n.start.imply("month",a.month()+1),n.start.imply("year",a.year())):[n,t]=[t,n]}let i=t.clone();return i.start=t.start,i.end=n.start,i.index=Math.min(t.index,n.index),t.index{"use strict";var mS=oa&&oa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(oa,"__esModule",{value:!0});var hS=mS(qr()),td=class extends hS.default{patternBetween(){return/^\s*(to|-)\s*$/i}};oa.default=td});var Og=E(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.mergeDateTimeComponent=Qi.mergeDateTimeResult=void 0;var gS=ze();function yS(r,e){let t=r.clone(),n=r.start,i=e.start;if(t.start=rd(n,i),r.end!=null||e.end!=null){let s=r.end==null?r.start:r.end,a=e.end==null?e.start:e.end,o=rd(s,a);r.end==null&&o.date().getTime(){"use strict";Object.defineProperty(id,"__esModule",{value:!0});var bS=Ki(),Dg=Og(),nd=class extends bS.MergingRefiner{shouldMergeResults(e,t,n){return(t.start.isOnlyDate()&&n.start.isOnlyTime()||n.start.isOnlyDate()&&t.start.isOnlyTime())&&e.match(this.patternBetween())!=null}mergeResults(e,t,n){let i=t.start.isOnlyDate()?Dg.mergeDateTimeResult(t,n):Dg.mergeDateTimeResult(n,t);return i.index=t.index,i.text=t.text+e+n.text,i}};id.default=nd});var xg=E(ua=>{"use strict";var TS=ua&&ua.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ua,"__esModule",{value:!0});var _S=TS(un()),sd=class extends _S.default{patternBetween(){return new RegExp("^\\s*(T|at|after|before|on|of|,|-)?\\s*$")}};ua.default=sd});var Rg=E(od=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});var vS=new RegExp("^\\s*,?\\s*\\(?([A-Z]{2,4})\\)?(?=\\W|$)","i"),wS={ACDT:630,ACST:570,ADT:-180,AEDT:660,AEST:600,AFT:270,AKDT:-480,AKST:-540,ALMT:360,AMST:-180,AMT:-240,ANAST:720,ANAT:720,AQTT:300,ART:-180,AST:-240,AWDT:540,AWST:480,AZOST:0,AZOT:-60,AZST:300,AZT:240,BNT:480,BOT:-240,BRST:-120,BRT:-180,BST:60,BTT:360,CAST:480,CAT:120,CCT:390,CDT:-300,CEST:120,CET:60,CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CVT:-60,CXT:420,ChST:600,DAVT:420,EASST:-300,EAST:-360,EAT:180,ECT:-300,EDT:-240,EEST:180,EET:120,EGST:0,EGT:-60,EST:-300,ET:-300,FJST:780,FJT:720,FKST:-180,FKT:-240,FNT:-120,GALT:-360,GAMT:-540,GET:240,GFT:-180,GILT:720,GMT:0,GST:240,GYT:-240,HAA:-180,HAC:-300,HADT:-540,HAE:-240,HAP:-420,HAR:-360,HAST:-600,HAT:-90,HAY:-480,HKT:480,HLV:-210,HNA:-240,HNC:-360,HNE:-300,HNP:-480,HNR:-420,HNT:-150,HNY:-540,HOVT:420,ICT:420,IDT:180,IOT:360,IRDT:270,IRKST:540,IRKT:540,IRST:210,IST:330,JST:540,KGT:360,KRAST:480,KRAT:480,KST:540,KUYT:240,LHDT:660,LHST:630,LINT:840,MAGST:720,MAGT:720,MART:-510,MAWT:300,MDT:-360,MESZ:120,MEZ:60,MHT:720,MMT:390,MSD:240,MSK:240,MST:-420,MUT:240,MVT:300,MYT:480,NCT:660,NDT:-90,NFT:690,NOVST:420,NOVT:360,NPT:345,NST:-150,NUT:-660,NZDT:780,NZST:720,OMSST:420,OMST:420,PDT:-420,PET:-300,PETST:720,PETT:720,PGT:600,PHOT:780,PHT:480,PKT:300,PMDT:-120,PMST:-180,PONT:660,PST:-480,PT:-480,PWT:540,PYST:-180,PYT:-240,RET:240,SAMT:240,SAST:120,SBT:660,SCT:240,SGT:480,SRT:-180,SST:-660,TAHT:-600,TFT:300,TJT:300,TKT:780,TLT:540,TMT:300,TVT:720,ULAT:480,UTC:0,UYST:-120,UYT:-180,UZT:300,VET:-210,VLAST:660,VLAT:660,VUT:660,WAST:120,WAT:60,WEST:60,WESZ:60,WET:0,WEZ:0,WFT:720,WGST:-120,WGT:-180,WIB:420,WIT:540,WITA:480,WST:780,WT:0,YAKST:600,YAKT:600,YAPT:600,YEKST:360,YEKT:360},ad=class{constructor(e){this.timezone=Object.assign(Object.assign({},wS),e)}refine(e,t){var n;let i=(n=e.option.timezones)!==null&&n!==void 0?n:{};return t.forEach(s=>{var a,o;let u=e.text.substring(s.index+s.text.length),l=vS.exec(u);if(!l)return;let c=l[1].toUpperCase(),d=(o=(a=i[c])!==null&&a!==void 0?a:this.timezone[c])!==null&&o!==void 0?o:null;if(d===null)return;e.debug(()=>{console.log(`Extracting timezone: '${c}' into: ${d} for: ${s.start}`)});let f=s.start.get("timezoneOffset");f!==null&&d!=f&&(s.start.isCertain("timezoneOffset")||c!=l[1])||s.start.isOnlyDate()&&c!=l[1]||(s.text+=l[0],s.start.isCertain("timezoneOffset")||s.start.assign("timezoneOffset",d),s.end!=null&&!s.end.isCertain("timezoneOffset")&&s.end.assign("timezoneOffset",d))}),t}};od.default=ad});var tu=E(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});var kS=new RegExp("^\\s*(?:\\(?(?:GMT|UTC)\\s?)?([+-])(\\d{1,2})(?::?(\\d{2}))?\\)?","i"),ES=1,SS=2,OS=3,ud=class{refine(e,t){return t.forEach(function(n){if(n.start.isCertain("timezoneOffset"))return;let i=e.text.substring(n.index+n.text.length),s=kS.exec(i);if(!s)return;e.debug(()=>{console.log(`Extracting timezone: '${s[0]}' into : ${n}`)});let a=parseInt(s[SS]),o=parseInt(s[OS]||"0"),u=a*60+o;u>14*60||(s[ES]==="-"&&(u=-u),n.end!=null&&n.end.assign("timezoneOffset",u),n.start.assign("timezoneOffset",u),n.text+=s[0])}),t}};ld.default=ud});var Mg=E(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});var cd=class{refine(e,t){if(t.length<2)return t;let n=[],i=t[0];for(let s=1;si.text.length&&(i=a):(n.push(i),i=a)}return i!=null&&n.push(i),n}};dd.default=cd});var Cg=E(la=>{"use strict";var DS=la&&la.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(la,"__esModule",{value:!0});var xS=DS(ve()),fd=class{refine(e,t){return e.option.forwardDate&&t.forEach(function(n){let i=xS.default(e.refDate);if(n.start.isOnlyDayMonthComponent()&&i.isAfter(n.start.dayjs()))for(let s=0;s<3&&i.isAfter(n.start.dayjs());s++)n.start.imply("year",n.start.get("year")+1),e.debug(()=>{console.log(`Forward yearly adjusted for ${n} (${n.start})`)}),n.end&&!n.end.isCertain("year")&&(n.end.imply("year",n.end.get("year")+1),e.debug(()=>{console.log(`Forward yearly adjusted for ${n} (${n.end})`)}));n.start.isOnlyWeekdayComponent()&&i.isAfter(n.start.dayjs())&&(i.day()>=n.start.get("weekday")?i=i.day(n.start.get("weekday")+7):i=i.day(n.start.get("weekday")),n.start.imply("day",i.date()),n.start.imply("month",i.month()+1),n.start.imply("year",i.year()),e.debug(()=>{console.log(`Forward weekly adjusted for ${n} (${n.start})`)}),n.end&&n.end.isOnlyWeekdayComponent()&&(i.day()>n.end.get("weekday")?i=i.day(n.end.get("weekday")+7):i=i.day(n.end.get("weekday")),n.end.imply("day",i.date()),n.end.imply("month",i.month()+1),n.end.imply("year",i.year()),e.debug(()=>{console.log(`Forward weekly adjusted for ${n} (${n.end})`)})))}),t}};la.default=fd});var Ag=E(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});var RS=Ki(),pd=class extends RS.Filter{constructor(e){super(),this.strictMode=e}isValid(e,t){return t.text.replace(" ","").match(/^\d*(\.\d*)?$/)?(e.debug(()=>{console.log(`Removing unlikely result '${t.text}'`)}),!1):t.start.isValidDate()?t.end&&!t.end.isValidDate()?(e.debug(()=>{console.log(`Removing invalid result: ${t} (${t.end})`)}),!1):this.strictMode?this.isStrictModeValid(e,t):!0:(e.debug(()=>{console.log(`Removing invalid result: ${t} (${t.start})`)}),!1)}isStrictModeValid(e,t){return t.start.isOnlyWeekdayComponent()?(e.debug(()=>{console.log(`(Strict) Removing weekday only component: ${t} (${t.end})`)}),!1):t.start.isOnlyTime()&&(!t.start.isCertain("hour")||!t.start.isCertain("minute"))?(e.debug(()=>{console.log(`(Strict) Removing uncertain time component: ${t} (${t.end})`)}),!1):!0}};md.default=pd});var yd=E(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});var MS=B(),CS=new RegExp("([0-9]{4})\\-([0-9]{1,2})\\-([0-9]{1,2})(?:T([0-9]{1,2}):([0-9]{1,2})(?::([0-9]{1,2})(?:\\.(\\d{1,4}))?)?(?:Z|([+-]\\d{2}):?(\\d{2})?)?)?(?=\\W|$)","i"),AS=1,PS=2,NS=3,Pg=4,IS=5,Ng=6,Ig=7,Fg=8,Lg=9,hd=class extends MS.AbstractParserWithWordBoundaryChecking{innerPattern(){return CS}innerExtract(e,t){let n={};if(n.year=parseInt(t[AS]),n.month=parseInt(t[PS]),n.day=parseInt(t[NS]),t[Pg]!=null)if(n.hour=parseInt(t[Pg]),n.minute=parseInt(t[IS]),t[Ng]!=null&&(n.second=parseInt(t[Ng])),t[Ig]!=null&&(n.millisecond=parseInt(t[Ig])),t[Fg]==null)n.timezoneOffset=0;else{let i=parseInt(t[Fg]),s=0;t[Lg]!=null&&(s=parseInt(t[Lg]));let a=i*60;a<0?a-=s:a+=s,n.timezoneOffset=a}return n}};gd.default=hd});var Ug=E(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});var FS=Ki(),bd=class extends FS.MergingRefiner{mergeResults(e,t,n){let i=n.clone();return i.index=t.index,i.text=t.text+e+i.text,i.start.assign("weekday",t.start.get("weekday")),i.end&&i.end.assign("weekday",t.start.get("weekday")),i}shouldMergeResults(e,t,n){return t.start.isOnlyWeekdayComponent()&&!t.start.isCertain("hour")&&n.start.isCertain("day")&&e.match(/^,?\s*$/)!=null}};Td.default=bd});var ln=E(Xi=>{"use strict";var ci=Xi&&Xi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Xi,"__esModule",{value:!0});Xi.includeCommonConfiguration=void 0;var LS=ci(Rg()),US=ci(tu()),Wg=ci(Mg()),WS=ci(Cg()),qS=ci(Ag()),$S=ci(yd()),jS=ci(Ug());function GS(r,e=!1){return r.parsers.unshift(new $S.default),r.refiners.unshift(new jS.default),r.refiners.unshift(new LS.default),r.refiners.unshift(new US.default),r.refiners.unshift(new Wg.default),r.refiners.push(new Wg.default),r.refiners.push(new WS.default),r.refiners.push(new qS.default(e)),r}Xi.includeCommonConfiguration=GS});var dn=E(Oe=>{"use strict";var YS=Oe&&Oe.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Oe,"__esModule",{value:!0});Oe.noon=Oe.morning=Oe.midnight=Oe.yesterdayEvening=Oe.evening=Oe.lastNight=Oe.tonight=Oe.theDayAfter=Oe.tomorrow=Oe.theDayBefore=Oe.yesterday=Oe.today=Oe.now=void 0;var $r=We(),Zi=YS(ve()),cn=nr(),ca=ze();function BS(r){let e=Zi.default(r.instant),t=new $r.ParsingComponents(r,{});return cn.assignSimilarDate(t,e),cn.assignSimilarTime(t,e),r.timezoneOffset!==null&&t.assign("timezoneOffset",e.utcOffset()),t}Oe.now=BS;function HS(r){let e=Zi.default(r.instant),t=new $r.ParsingComponents(r,{});return cn.assignSimilarDate(t,e),cn.implySimilarTime(t,e),t}Oe.today=HS;function VS(r){return qg(r,1)}Oe.yesterday=VS;function qg(r,e){return _d(r,-e)}Oe.theDayBefore=qg;function zS(r){return _d(r,1)}Oe.tomorrow=zS;function _d(r,e){let t=Zi.default(r.instant),n=new $r.ParsingComponents(r,{});return t=t.add(e,"day"),cn.assignSimilarDate(n,t),cn.implySimilarTime(n,t),n}Oe.theDayAfter=_d;function KS(r,e=22){let t=Zi.default(r.instant),n=new $r.ParsingComponents(r,{});return n.imply("hour",e),n.imply("meridiem",ca.Meridiem.PM),cn.assignSimilarDate(n,t),n}Oe.tonight=KS;function QS(r,e=0){let t=Zi.default(r.instant),n=new $r.ParsingComponents(r,{});return t.hour()<6&&(t=t.add(-1,"day")),cn.assignSimilarDate(n,t),n.imply("hour",e),n}Oe.lastNight=QS;function XS(r,e=20){let t=new $r.ParsingComponents(r,{});return t.imply("meridiem",ca.Meridiem.PM),t.imply("hour",e),t}Oe.evening=XS;function ZS(r,e=20){let t=Zi.default(r.instant),n=new $r.ParsingComponents(r,{});return t=t.add(-1,"day"),cn.assignSimilarDate(n,t),n.imply("hour",e),n.imply("meridiem",ca.Meridiem.PM),n}Oe.yesterdayEvening=ZS;function JS(r){let e=new $r.ParsingComponents(r,{});return e.imply("hour",0),e.imply("minute",0),e.imply("second",0),e}Oe.midnight=JS;function eO(r,e=6){let t=new $r.ParsingComponents(r,{});return t.imply("meridiem",ca.Meridiem.AM),t.imply("hour",e),t}Oe.morning=eO;function tO(r){let e=new $r.ParsingComponents(r,{});return e.imply("meridiem",ca.Meridiem.AM),e.imply("hour",12),e}Oe.noon=tO});var $g=E(_r=>{"use strict";var rO=_r&&_r.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),nO=_r&&_r.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),iO=_r&&_r.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&rO(e,r,t);return nO(e,r),e},sO=_r&&_r.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(_r,"__esModule",{value:!0});var aO=sO(ve()),oO=B(),uO=nr(),da=iO(dn()),lO=/(now|today|tonight|tomorrow|tmr|tmrw|yesterday|last\s*night)(?=\W|$)/i,vd=class extends oO.AbstractParserWithWordBoundaryChecking{innerPattern(e){return lO}innerExtract(e,t){let n=aO.default(e.refDate),i=t[0].toLowerCase(),s=e.createParsingComponents();switch(i){case"now":return da.now(e.reference);case"today":return da.today(e.reference);case"yesterday":return da.yesterday(e.reference);case"tomorrow":case"tmr":case"tmrw":return da.tomorrow(e.reference);case"tonight":return da.tonight(e.reference);default:i.match(/last\s*night/)&&(n.hour()>6&&(n=n.add(-1,"day")),uO.assignSimilarDate(s,n),s.imply("hour",0));break}return s}};_r.default=vd});var jg=E(fa=>{"use strict";var cO=fa&&fa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(fa,"__esModule",{value:!0});var ru=ze(),dO=B(),fO=cO(ve()),pO=nr(),mO=/(?:this)?\s{0,3}(morning|afternoon|evening|night|midnight|noon)(?=\W|$)/i,wd=class extends dO.AbstractParserWithWordBoundaryChecking{innerPattern(){return mO}innerExtract(e,t){let n=fO.default(e.refDate),i=e.createParsingComponents();switch(t[1].toLowerCase()){case"afternoon":i.imply("meridiem",ru.Meridiem.PM),i.imply("hour",15);break;case"evening":case"night":i.imply("meridiem",ru.Meridiem.PM),i.imply("hour",20);break;case"midnight":pO.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"morning":i.imply("meridiem",ru.Meridiem.AM),i.imply("hour",6);break;case"noon":i.imply("meridiem",ru.Meridiem.AM),i.imply("hour",12);break}return i}};fa.default=wd});var di=E(Un=>{"use strict";var hO=Un&&Un.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Un,"__esModule",{value:!0});Un.toDayJSClosestWeekday=Un.toDayJSWeekday=void 0;var Gg=hO(ve());function gO(r,e,t){if(!t)return Yg(r,e);let n=Gg.default(r);switch(t){case"this":n=n.day(e);break;case"next":n=n.day(e+7);break;case"last":n=n.day(e-7);break}return n}Un.toDayJSWeekday=gO;function Yg(r,e){let t=Gg.default(r),n=t.day();return Math.abs(e-7-n){"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});var Bg=ut(),yO=Re(),bO=B(),TO=di(),_O=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:on\\s*?)?(?:(this|last|past|next)\\s*)?(${yO.matchAnyPattern(Bg.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(this|last|past|next)\\s*week)?(?=\\W|$)`,"i"),vO=1,wO=2,kO=3,kd=class extends bO.AbstractParserWithWordBoundaryChecking{innerPattern(){return _O}innerExtract(e,t){let n=t[wO].toLowerCase(),i=Bg.WEEKDAY_DICTIONARY[n],s=t[vO],a=t[kO],o=s||a;o=o||"",o=o.toLowerCase();let u=null;o=="last"||o=="past"?u="last":o=="next"?u="next":o=="this"&&(u="this");let l=TO.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};Ed.default=kd});var Kg=E(pa=>{"use strict";var EO=pa&&pa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(pa,"__esModule",{value:!0});var zg=ut(),Vg=We(),SO=EO(ve()),OO=B(),DO=Re(),xO=new RegExp(`(this|last|past|next|after\\s*this)\\s*(${DO.matchAnyPattern(zg.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),RO=1,MO=2,Sd=class extends OO.AbstractParserWithWordBoundaryChecking{innerPattern(){return xO}innerExtract(e,t){let n=t[RO].toLowerCase(),i=t[MO].toLowerCase(),s=zg.TIME_UNIT_DICTIONARY[i];if(n=="next"||n.startsWith("after")){let u={};return u[s]=1,Vg.ParsingComponents.createRelativeFromReference(e.reference,u)}if(n=="last"||n=="past"){let u={};return u[s]=-1,Vg.ParsingComponents.createRelativeFromReference(e.reference,u)}let a=e.createParsingComponents(),o=SO.default(e.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):i.match(/month/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):i.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};pa.default=Sd});var vr=E(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.ParsingContext=ts.Chrono=void 0;var Ji=We(),CO=Od(),es=class{constructor(e){e=e||CO.createCasualConfiguration(),this.parsers=[...e.parsers],this.refiners=[...e.refiners]}clone(){return new es({parsers:[...this.parsers],refiners:[...this.refiners]})}parseDate(e,t,n){let i=this.parse(e,t,n);return i.length>0?i[0].start.date():null}parse(e,t,n){let i=new nu(e,t,n),s=[];return this.parsers.forEach(a=>{let o=es.executeParser(i,a);s=s.concat(o)}),s.sort((a,o)=>a.index-o.index),this.refiners.forEach(function(a){s=a.refine(i,s)}),s}static executeParser(e,t){let n=[],i=t.pattern(e),s=e.text,a=e.text,o=i.exec(a);for(;o;){let u=o.index+s.length-a.length;o.index=u;let l=t.extract(e,o);if(!l){a=s.substring(o.index+1),o=i.exec(a);continue}let c=null;l instanceof Ji.ParsingResult?c=l:l instanceof Ji.ParsingComponents?(c=e.createParsingResult(o.index,o[0]),c.start=l):c=e.createParsingResult(o.index,o[0],l),e.debug(()=>console.log(`${t.constructor.name} extracted result ${c}`)),n.push(c),a=s.substring(u+c.text.length),o=i.exec(a)}return n}};ts.Chrono=es;var nu=class{constructor(e,t,n){this.text=e,this.reference=new Ji.ReferenceWithTimezone(t),this.option=n!=null?n:{},this.refDate=this.reference.instant}createParsingComponents(e){return e instanceof Ji.ParsingComponents?e:new Ji.ParsingComponents(this.reference,e)}createParsingResult(e,t,n,i){let s=typeof t=="string"?t:this.text.substring(e,t),a=n?this.createParsingComponents(n):null,o=i?this.createParsingComponents(i):null;return new Ji.ParsingResult(this.reference,e,s,a,o)}debug(e){this.option.debug&&(this.option.debug instanceof Function?this.option.debug(e):this.option.debug.debug(e))}};ts.ParsingContext=nu});var fi=E(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});var Qg=ot(),AO=new RegExp("([^\\d]|^)([0-3]{0,1}[0-9]{1})[\\/\\.\\-]([0-3]{0,1}[0-9]{1})(?:[\\/\\.\\-]([0-9]{4}|[0-9]{2}))?(\\W|$)","i"),iu=1,Xg=5,Zg=2,Jg=3,Dd=4,xd=class{constructor(e){this.groupNumberMonth=e?Jg:Zg,this.groupNumberDay=e?Zg:Jg}pattern(){return AO}extract(e,t){if(t[iu]=="/"||t[Xg]=="/"){t.index+=t[0].length;return}let n=t.index+t[iu].length,i=t[0].substr(t[iu].length,t[0].length-t[iu].length-t[Xg].length);if(i.match(/^\d\.\d$/)||i.match(/^\d\.\d{1,2}\.\d{1,2}\s*$/)||!t[Dd]&&t[0].indexOf("/")<0)return;let s=e.createParsingResult(n,i),a=parseInt(t[this.groupNumberMonth]),o=parseInt(t[this.groupNumberDay]);if((a<1||a>12)&&a>12)if(o>=1&&o<=12&&a<=31)[o,a]=[a,o];else return null;if(o<1||o>31)return null;if(s.start.assign("day",o),s.start.assign("month",a),t[Dd]){let u=parseInt(t[Dd]),l=Qg.findMostLikelyADYear(u);s.start.assign("year",l)}else{let u=Qg.findYearClosestToRef(e.refDate,o,a);s.start.imply("year",u)}return s}};Rd.default=xd});var ty=E(Cd=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});var ey=ut(),PO=We(),NO=B(),IO=ir(),FO=new RegExp(`(this|last|past|next|after|\\+|-)\\s*(${ey.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),Md=class extends NO.AbstractParserWithWordBoundaryChecking{innerPattern(){return FO}innerExtract(e,t){let n=t[1].toLowerCase(),i=ey.parseTimeUnits(t[2]);switch(n){case"last":case"past":case"-":i=IO.reverseTimeUnits(i);break}return PO.ParsingComponents.createRelativeFromReference(e.reference,i)}};Cd.default=Md});var ny=E(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});var LO=Ki(),Ad=We(),UO=ut(),WO=ir();function ry(r){return r.text.match(/\s+(before|from)$/i)!=null}function qO(r){return r.text.match(/\s+(after|since)$/i)!=null}var Pd=class extends LO.MergingRefiner{patternBetween(){return/^\s*$/i}shouldMergeResults(e,t,n){return!e.match(this.patternBetween())||!ry(t)&&!qO(t)?!1:!!n.start.get("day")&&!!n.start.get("month")&&!!n.start.get("year")}mergeResults(e,t,n){let i=UO.parseTimeUnits(t.text);ry(t)&&(i=WO.reverseTimeUnits(i));let s=Ad.ParsingComponents.createRelativeFromReference(new Ad.ReferenceWithTimezone(n.start.date()),i);return new Ad.ParsingResult(n.reference,t.index,`${t.text}${e}${n.text}`,s)}};Nd.default=Pd});var Od=E(Ge=>{"use strict";var Ze=Ge&&Ge.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.createConfiguration=Ge.createCasualConfiguration=Ge.parseDate=Ge.parse=Ge.GB=Ge.strict=Ge.casual=void 0;var $O=Ze(rg()),jO=Ze(ug()),GO=Ze(pg()),YO=Ze(gg()),BO=Ze(Tg()),HO=Ze(_g()),VO=Ze(wg()),zO=Ze(kg()),KO=Ze(Eg()),QO=Ze(Sg()),XO=Ze(xg()),ZO=ln(),JO=Ze($g()),e0=Ze(jg()),t0=Ze(Hg()),r0=Ze(Kg()),Id=vr(),n0=Ze(fi()),i0=Ze(ty()),s0=Ze(ny());Ge.casual=new Id.Chrono(iy(!1));Ge.strict=new Id.Chrono(su(!0,!1));Ge.GB=new Id.Chrono(su(!1,!0));function a0(r,e,t){return Ge.casual.parse(r,e,t)}Ge.parse=a0;function o0(r,e,t){return Ge.casual.parseDate(r,e,t)}Ge.parseDate=o0;function iy(r=!1){let e=su(!1,r);return e.parsers.unshift(new JO.default),e.parsers.unshift(new e0.default),e.parsers.unshift(new YO.default),e.parsers.unshift(new r0.default),e.parsers.unshift(new i0.default),e}Ge.createCasualConfiguration=iy;function su(r=!0,e=!1){return ZO.includeCommonConfiguration({parsers:[new n0.default(e),new $O.default,new jO.default,new GO.default,new t0.default,new BO.default,new HO.default,new VO.default(r),new zO.default(r),new KO.default(r)],refiners:[new s0.default,new XO.default,new QO.default]},r)}Ge.createConfiguration=su});var sy=E(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});var u0=li(),Fd=class extends u0.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:um|von)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|bis)\\s*"}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}};Ld.default=Fd});var ma=E(Ae=>{"use strict";Object.defineProperty(Ae,"__esModule",{value:!0});Ae.parseTimeUnits=Ae.TIME_UNITS_PATTERN=Ae.parseYear=Ae.YEAR_PATTERN=Ae.parseNumberPattern=Ae.NUMBER_PATTERN=Ae.TIME_UNIT_DICTIONARY=Ae.INTEGER_WORD_DICTIONARY=Ae.MONTH_DICTIONARY=Ae.WEEKDAY_DICTIONARY=void 0;var Ud=Re(),l0=ot();Ae.WEEKDAY_DICTIONARY={sonntag:0,so:0,montag:1,mo:1,dienstag:2,di:2,mittwoch:3,mi:3,donnerstag:4,do:4,freitag:5,fr:5,samstag:6,sa:6};Ae.MONTH_DICTIONARY={januar:1,j\u00E4nner:1,janner:1,jan:1,"jan.":1,februar:2,feber:2,feb:2,"feb.":2,m\u00E4rz:3,maerz:3,m\u00E4r:3,"m\xE4r.":3,mrz:3,"mrz.":3,april:4,apr:4,"apr.":4,mai:5,juni:6,jun:6,"jun.":6,juli:7,jul:7,"jul.":7,august:8,aug:8,"aug.":8,september:9,sep:9,"sep.":9,sept:9,"sept.":9,oktober:10,okt:10,"okt.":10,november:11,nov:11,"nov.":11,dezember:12,dez:12,"dez.":12};Ae.INTEGER_WORD_DICTIONARY={eins:1,eine:1,einem:1,einen:1,einer:1,zwei:2,drei:3,vier:4,f\u00FCnf:5,fuenf:5,sechs:6,sieben:7,acht:8,neun:9,zehn:10,elf:11,zw\u00F6lf:12,zwoelf:12};Ae.TIME_UNIT_DICTIONARY={sek:"second",sekunde:"second",sekunden:"second",min:"minute",minute:"minute",minuten:"minute",h:"hour",std:"hour",stunde:"hour",stunden:"hour",tag:"d",tage:"d",tagen:"d",woche:"week",wochen:"week",monat:"month",monate:"month",monaten:"month",monats:"month",quartal:"quarter",quartals:"quarter",quartale:"quarter",quartalen:"quarter",a:"year",j:"year",jr:"year",jahr:"year",jahre:"year",jahren:"year",jahres:"year"};Ae.NUMBER_PATTERN=`(?:${Ud.matchAnyPattern(Ae.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s*an?)?|an?\\b(?:\\s*few)?|few|several|a?\\s*couple\\s*(?:of)?)`;function oy(r){let e=r.toLowerCase();return Ae.INTEGER_WORD_DICTIONARY[e]!==void 0?Ae.INTEGER_WORD_DICTIONARY[e]:e==="a"||e==="an"?1:e.match(/few/)?3:e.match(/half/)?.5:e.match(/couple/)?2:e.match(/several/)?7:parseFloat(e)}Ae.parseNumberPattern=oy;Ae.YEAR_PATTERN="(?:[0-9]{1,4}(?:\\s*[vn]\\.?\\s*(?:C(?:hr)?|(?:u\\.?|d\\.?(?:\\s*g\\.?)?)?\\s*Z)\\.?|\\s*(?:u\\.?|d\\.?(?:\\s*g\\.)?)\\s*Z\\.?)?)";function c0(r){if(/v/i.test(r))return-parseInt(r.replace(/[^0-9]+/gi,""));if(/n/i.test(r))return parseInt(r.replace(/[^0-9]+/gi,""));if(/z/i.test(r))return parseInt(r.replace(/[^0-9]+/gi,""));let e=parseInt(r);return l0.findMostLikelyADYear(e)}Ae.parseYear=c0;var uy=`(${Ae.NUMBER_PATTERN})\\s{0,5}(${Ud.matchAnyPattern(Ae.TIME_UNIT_DICTIONARY)})\\s{0,5}`,ay=new RegExp(uy,"i");Ae.TIME_UNITS_PATTERN=Ud.repeatedTimeunitPattern("",uy);function d0(r){let e={},t=r,n=ay.exec(t);for(;n;)f0(e,n),t=t.substring(n[0].length),n=ay.exec(t);return e}Ae.parseTimeUnits=d0;function f0(r,e){let t=oy(e[1]),n=Ae.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var cy=E(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});var ly=ma(),p0=Re(),m0=B(),h0=di(),g0=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:a[mn]\\s*?)?(?:(diese[mn]|letzte[mn]|n(?:\xE4|ae)chste[mn])\\s*)?(${p0.matchAnyPattern(ly.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(diese|letzte|n(?:\xE4|ae)chste)\\s*woche)?(?=\\W|$)`,"i"),y0=1,b0=3,T0=2,Wd=class extends m0.AbstractParserWithWordBoundaryChecking{innerPattern(){return g0}innerExtract(e,t){let n=t[T0].toLowerCase(),i=ly.WEEKDAY_DICTIONARY[n],s=t[y0],a=t[b0],o=s||a;o=o||"",o=o.toLowerCase();let u=null;o.match(/letzte/)?u="last":o.match(/chste/)?u="next":o.match(/diese/)&&(u="this");let l=h0.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};qd.default=Wd});var my=E($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});var Wn=ze(),_0=new RegExp("(^|\\s|T)(?:(?:um|von)\\s*)?(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s)?)?(?:\\s*Uhr)?(?:\\s*(morgens|vormittags|nachmittags|abends|nachts|am\\s+(?:Morgen|Vormittag|Nachmittag|Abend)|in\\s+der\\s+Nacht))?(?=\\W|$)","i"),v0=new RegExp("^\\s*(\\-|\\\u2013|\\~|\\\u301C|bis(?:\\s+um)?|\\?)\\s*(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s)?)?(?:\\s*Uhr)?(?:\\s*(morgens|vormittags|nachmittags|abends|nachts|am\\s+(?:Morgen|Vormittag|Nachmittag|Abend)|in\\s+der\\s+Nacht))?(?=\\W|$)","i"),w0=2,dy=3,fy=4,py=5,rs=class{pattern(e){return _0}extract(e,t){let n=e.createParsingResult(t.index+t[1].length,t[0].substring(t[1].length));if(n.text.match(/^\d{4}$/)||(n.start=rs.extractTimeComponent(n.start.clone(),t),!n.start))return t.index+=t[0].length,null;let i=e.text.substring(t.index+t[0].length),s=v0.exec(i);return s&&(n.end=rs.extractTimeComponent(n.start.clone(),s),n.end&&(n.text+=s[0])),n}static extractTimeComponent(e,t){let n=0,i=0,s=null;if(n=parseInt(t[w0]),t[dy]!=null&&(i=parseInt(t[dy])),i>=60||n>24)return null;if(n>=12&&(s=Wn.Meridiem.PM),t[py]!=null){if(n>12)return null;let a=t[py].toLowerCase();a.match(/morgen|vormittag/)&&(s=Wn.Meridiem.AM,n==12&&(n=0)),a.match(/nachmittag|abend/)&&(s=Wn.Meridiem.PM,n!=12&&(n+=12)),a.match(/nacht/)&&(n==12?(s=Wn.Meridiem.AM,n=0):n<6?s=Wn.Meridiem.AM:(s=Wn.Meridiem.PM,n+=12))}if(e.assign("hour",n),e.assign("minute",i),s!==null?e.assign("meridiem",s):n<12?e.imply("meridiem",Wn.Meridiem.AM):e.imply("meridiem",Wn.Meridiem.PM),t[fy]!=null){let a=parseInt(t[fy]);if(a>=60)return null;e.assign("second",a)}return e}};$d.default=rs});var hy=E(ha=>{"use strict";var k0=ha&&ha.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ha,"__esModule",{value:!0});var E0=k0(qr()),jd=class extends E0.default{patternBetween(){return/^\s*(bis(?:\s*(?:am|zum))?|-)\s*$/i}};ha.default=jd});var gy=E(ga=>{"use strict";var S0=ga&&ga.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ga,"__esModule",{value:!0});var O0=S0(un()),Gd=class extends O0.default{patternBetween(){return new RegExp("^\\s*(T|um|am|,|-)?\\s*$")}};ga.default=Gd});var Yd=E(ba=>{"use strict";var D0=ba&&ba.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ba,"__esModule",{value:!0});var x0=D0(ve()),pi=ze(),R0=B(),M0=nr(),C0=ir(),ya=class extends R0.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(diesen)?\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht)(?=\W|$)/i}innerExtract(e,t){let n=x0.default(e.refDate),i=t[2].toLowerCase(),s=e.createParsingComponents();return M0.implySimilarTime(s,n),ya.extractTimeComponents(s,i)}static extractTimeComponents(e,t){switch(t){case"morgen":e.imply("hour",6),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.AM);break;case"vormittag":e.imply("hour",9),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.AM);break;case"mittag":case"mittags":e.imply("hour",12),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.AM);break;case"nachmittag":e.imply("hour",15),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.PM);break;case"abend":e.imply("hour",18),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.PM);break;case"nacht":e.imply("hour",22),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.PM);break;case"mitternacht":e.get("hour")>1&&(e=C0.addImpliedTimeUnits(e,{day:1})),e.imply("hour",0),e.imply("minute",0),e.imply("second",0),e.imply("meridiem",pi.Meridiem.AM);break}return e}};ba.default=ya});var Ty=E(wr=>{"use strict";var A0=wr&&wr.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),P0=wr&&wr.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),N0=wr&&wr.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&A0(e,r,t);return P0(e,r),e},by=wr&&wr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(wr,"__esModule",{value:!0});var I0=by(ve()),F0=B(),mi=nr(),L0=by(Yd()),yy=N0(dn()),U0=new RegExp("(jetzt|heute|morgen|\xFCbermorgen|uebermorgen|gestern|vorgestern|letzte\\s*nacht)(?:\\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht))?(?=\\W|$)","i"),W0=1,q0=2,Bd=class extends F0.AbstractParserWithWordBoundaryChecking{innerPattern(e){return U0}innerExtract(e,t){let n=I0.default(e.refDate),i=(t[W0]||"").toLowerCase(),s=(t[q0]||"").toLowerCase(),a=e.createParsingComponents();switch(i){case"jetzt":a=yy.now(e.reference);break;case"heute":a=yy.today(e.reference);break;case"morgen":mi.assignTheNextDay(a,n);break;case"\xFCbermorgen":case"uebermorgen":n=n.add(1,"day"),mi.assignTheNextDay(a,n);break;case"gestern":n=n.add(-1,"day"),mi.assignSimilarDate(a,n),mi.implySimilarTime(a,n);break;case"vorgestern":n=n.add(-2,"day"),mi.assignSimilarDate(a,n),mi.implySimilarTime(a,n);break;default:i.match(/letzte\s*nacht/)&&(n.hour()>6&&(n=n.add(-1,"day")),mi.assignSimilarDate(a,n),a.imply("hour",0));break}return s&&(a=L0.default.extractTimeComponents(a,s)),a}};wr.default=Bd});var Sy=E(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});var $0=ot(),ky=ma(),Ey=ma(),j0=Re(),G0=B(),Y0=new RegExp(`(?:am\\s*?)?(?:den\\s*?)?([0-9]{1,2})\\.(?:\\s*(?:bis(?:\\s*(?:am|zum))?|\\-|\\\u2013|\\s)\\s*([0-9]{1,2})\\.?)?\\s*(${j0.matchAnyPattern(ky.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${Ey.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),_y=1,vy=2,B0=3,wy=4,Hd=class extends G0.AbstractParserWithWordBoundaryChecking{innerPattern(){return Y0}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=ky.MONTH_DICTIONARY[t[B0].toLowerCase()],s=parseInt(t[_y]);if(s>31)return t.index=t.index+t[_y].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[wy]){let a=Ey.parseYear(t[wy]);n.start.assign("year",a)}else{let a=$0.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[vy]){let a=parseInt(t[vy]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Vd.default=Hd});var Oy=E(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});var au=ma(),H0=We(),V0=B(),z0=ir(),K0=Re(),zd=class extends V0.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`(?:\\s*((?:n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?|vor|in)\\s*)?(${au.NUMBER_PATTERN})?(?:\\s*(n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?)?\\s*(${K0.matchAnyPattern(au.TIME_UNIT_DICTIONARY)})`,"i")}innerExtract(e,t){let n=t[2]?au.parseNumberPattern(t[2]):1,i=au.TIME_UNIT_DICTIONARY[t[4].toLowerCase()],s={};s[i]=n;let a=t[1]||t[3]||"";if(a=a.toLowerCase(),!!a)return(/vor/.test(a)||/letzte/.test(a)||/vergangen/.test(a))&&(s=z0.reverseTimeUnits(s)),H0.ParsingComponents.createRelativeFromReference(e.reference,s)}};Kd.default=zd});var Ry=E(Je=>{"use strict";var kr=Je&&Je.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Je,"__esModule",{value:!0});Je.createConfiguration=Je.createCasualConfiguration=Je.parseDate=Je.parse=Je.strict=Je.casual=void 0;var Q0=ln(),Dy=vr(),X0=kr(fi()),Z0=kr(yd()),J0=kr(sy()),e1=kr(cy()),t1=kr(my()),r1=kr(hy()),n1=kr(gy()),i1=kr(Ty()),s1=kr(Yd()),a1=kr(Sy()),o1=kr(Oy());Je.casual=new Dy.Chrono(xy());Je.strict=new Dy.Chrono(Qd(!0));function u1(r,e,t){return Je.casual.parse(r,e,t)}Je.parse=u1;function l1(r,e,t){return Je.casual.parseDate(r,e,t)}Je.parseDate=l1;function xy(r=!0){let e=Qd(!1,r);return e.parsers.unshift(new s1.default),e.parsers.unshift(new i1.default),e.parsers.unshift(new o1.default),e}Je.createCasualConfiguration=xy;function Qd(r=!0,e=!0){return Q0.includeCommonConfiguration({parsers:[new Z0.default,new X0.default(e),new J0.default,new t1.default,new a1.default,new e1.default],refiners:[new r1.default,new n1.default]},r)}Je.createConfiguration=Qd});var Cy=E(Er=>{"use strict";var c1=Er&&Er.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),d1=Er&&Er.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),f1=Er&&Er.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&c1(e,r,t);return d1(e,r),e},p1=Er&&Er.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Er,"__esModule",{value:!0});var m1=p1(ve()),h1=ze(),g1=B(),My=nr(),ou=f1(dn()),Xd=class extends g1.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(maintenant|aujourd'hui|demain|hier|cette\s*nuit|la\s*veille)(?=\W|$)/i}innerExtract(e,t){let n=m1.default(e.refDate),i=t[0].toLowerCase(),s=e.createParsingComponents();switch(i){case"maintenant":return ou.now(e.reference);case"aujourd'hui":return ou.today(e.reference);case"hier":return ou.yesterday(e.reference);case"demain":return ou.tomorrow(e.reference);default:i.match(/cette\s*nuit/)?(My.assignSimilarDate(s,n),s.imply("hour",22),s.imply("meridiem",h1.Meridiem.PM)):i.match(/la\s*veille/)&&(n=n.add(-1,"day"),My.assignSimilarDate(s,n),s.imply("hour",0))}return s}};Er.default=Xd});var Ay=E(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});var Ta=ze(),y1=B(),Zd=class extends y1.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(cet?)?\s*(matin|soir|après-midi|aprem|a midi|à minuit)(?=\W|$)/i}innerExtract(e,t){let n=t[2].toLowerCase(),i=e.createParsingComponents();switch(n){case"apr\xE8s-midi":case"aprem":i.imply("hour",14),i.imply("minute",0),i.imply("meridiem",Ta.Meridiem.PM);break;case"soir":i.imply("hour",18),i.imply("minute",0),i.imply("meridiem",Ta.Meridiem.PM);break;case"matin":i.imply("hour",8),i.imply("minute",0),i.imply("meridiem",Ta.Meridiem.AM);break;case"a midi":i.imply("hour",12),i.imply("minute",0),i.imply("meridiem",Ta.Meridiem.AM);break;case"\xE0 minuit":i.imply("hour",0),i.imply("meridiem",Ta.Meridiem.AM);break}return i}};Jd.default=Zd});var Py=E(tf=>{"use strict";Object.defineProperty(tf,"__esModule",{value:!0});var b1=li(),ef=class extends b1.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:[\xE0a])\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*"}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}};tf.default=ef});var Ny=E(_a=>{"use strict";var T1=_a&&_a.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(_a,"__esModule",{value:!0});var _1=T1(un()),rf=class extends _1.default{patternBetween(){return new RegExp("^\\s*(T|\xE0|a|vers|de|,|-)?\\s*$")}};_a.default=rf});var Iy=E(va=>{"use strict";var v1=va&&va.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(va,"__esModule",{value:!0});var w1=v1(qr()),nf=class extends w1.default{patternBetween(){return/^\s*(à|a|-)\s*$/i}};va.default=nf});var qn=E(we=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});we.parseTimeUnits=we.TIME_UNITS_PATTERN=we.parseYear=we.YEAR_PATTERN=we.parseOrdinalNumberPattern=we.ORDINAL_NUMBER_PATTERN=we.parseNumberPattern=we.NUMBER_PATTERN=we.TIME_UNIT_DICTIONARY=we.INTEGER_WORD_DICTIONARY=we.MONTH_DICTIONARY=we.WEEKDAY_DICTIONARY=void 0;var sf=Re();we.WEEKDAY_DICTIONARY={dimanche:0,dim:0,lundi:1,lun:1,mardi:2,mar:2,mercredi:3,mer:3,jeudi:4,jeu:4,vendredi:5,ven:5,samedi:6,sam:6};we.MONTH_DICTIONARY={janvier:1,jan:1,"jan.":1,f\u00E9vrier:2,f\u00E9v:2,"f\xE9v.":2,fevrier:2,fev:2,"fev.":2,mars:3,mar:3,"mar.":3,avril:4,avr:4,"avr.":4,mai:5,juin:6,jun:6,juillet:7,juil:7,jul:7,"jul.":7,ao\u00FBt:8,aout:8,septembre:9,sep:9,"sep.":9,sept:9,"sept.":9,octobre:10,oct:10,"oct.":10,novembre:11,nov:11,"nov.":11,d\u00E9cembre:12,decembre:12,dec:12,"dec.":12};we.INTEGER_WORD_DICTIONARY={un:1,deux:2,trois:3,quatre:4,cinq:5,six:6,sept:7,huit:8,neuf:9,dix:10,onze:11,douze:12,treize:13};we.TIME_UNIT_DICTIONARY={sec:"second",seconde:"second",secondes:"second",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",heure:"hour",heures:"hour",jour:"d",jours:"d",semaine:"week",semaines:"week",mois:"month",trimestre:"quarter",trimestres:"quarter",ans:"year",ann\u00E9e:"year",ann\u00E9es:"year"};we.NUMBER_PATTERN=`(?:${sf.matchAnyPattern(we.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|une?\\b|quelques?|demi-?)`;function Ly(r){let e=r.toLowerCase();return we.INTEGER_WORD_DICTIONARY[e]!==void 0?we.INTEGER_WORD_DICTIONARY[e]:e==="une"||e==="un"?1:e.match(/quelques?/)?3:e.match(/demi-?/)?.5:parseFloat(e)}we.parseNumberPattern=Ly;we.ORDINAL_NUMBER_PATTERN="(?:[0-9]{1,2}(?:er)?)";function k1(r){let e=r.toLowerCase();return e=e.replace(/(?:er)$/i,""),parseInt(e)}we.parseOrdinalNumberPattern=k1;we.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s*(?:AC|AD|p\\.\\s*C(?:hr?)?\\.\\s*n\\.)|[1-2][0-9]{3}|[5-9][0-9])";function E1(r){if(/AC/i.test(r))return r=r.replace(/BC/i,""),-parseInt(r);if(/AD/i.test(r)||/C/i.test(r))return r=r.replace(/[^\d]+/i,""),parseInt(r);let e=parseInt(r);return e<100&&(e>50?e=e+1900:e=e+2e3),e}we.parseYear=E1;var Uy=`(${we.NUMBER_PATTERN})\\s{0,5}(${sf.matchAnyPattern(we.TIME_UNIT_DICTIONARY)})\\s{0,5}`,Fy=new RegExp(Uy,"i");we.TIME_UNITS_PATTERN=sf.repeatedTimeunitPattern("",Uy);function S1(r){let e={},t=r,n=Fy.exec(t);for(;n;)O1(e,n),t=t.substring(n[0].length),n=Fy.exec(t);return e}we.parseTimeUnits=S1;function O1(r,e){let t=Ly(e[1]),n=we.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var qy=E(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});var Wy=qn(),D1=Re(),x1=B(),R1=di(),M1=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(?:ce)\\s*)?(${D1.matchAnyPattern(Wy.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(dernier|prochain)\\s*)?(?=\\W|\\d|$)`,"i"),C1=1,A1=2,af=class extends x1.AbstractParserWithWordBoundaryChecking{innerPattern(){return M1}innerExtract(e,t){let n=t[C1].toLowerCase(),i=Wy.WEEKDAY_DICTIONARY[n];if(i===void 0)return null;let s=t[A1];s=s||"",s=s.toLowerCase();let a=null;s=="dernier"?a="last":s=="prochain"&&(a="next");let o=R1.toDayJSWeekday(e.refDate,i,a);return e.createParsingComponents().assign("weekday",i).imply("day",o.date()).imply("month",o.month()+1).imply("year",o.year())}};of.default=af});var Yy=E(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});var wa=ze(),P1=new RegExp("(^|\\s|T)(?:(?:[\xE0a])\\s*)?(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)","i"),N1=new RegExp("^\\s*(\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)","i"),I1=2,$y=3,jy=4,Gy=5,ns=class{pattern(e){return P1}extract(e,t){let n=e.createParsingResult(t.index+t[1].length,t[0].substring(t[1].length));if(n.text.match(/^\d{4}$/)||(n.start=ns.extractTimeComponent(n.start.clone(),t),!n.start))return t.index+=t[0].length,null;let i=e.text.substring(t.index+t[0].length),s=N1.exec(i);return s&&(n.end=ns.extractTimeComponent(n.start.clone(),s),n.end&&(n.text+=s[0])),n}static extractTimeComponent(e,t){let n=0,i=0,s=null;if(n=parseInt(t[I1]),t[$y]!=null&&(i=parseInt(t[$y])),i>=60||n>24)return null;if(n>=12&&(s=wa.Meridiem.PM),t[Gy]!=null){if(n>12)return null;let a=t[Gy][0].toLowerCase();a=="a"&&(s=wa.Meridiem.AM,n==12&&(n=0)),a=="p"&&(s=wa.Meridiem.PM,n!=12&&(n+=12))}if(e.assign("hour",n),e.assign("minute",i),s!==null?e.assign("meridiem",s):n<12?e.imply("meridiem",wa.Meridiem.AM):e.imply("meridiem",wa.Meridiem.PM),t[jy]!=null){let a=parseInt(t[jy]);if(a>=60)return null;e.assign("second",a)}return e}};uf.default=ns});var Qy=E(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});var F1=ot(),zy=qn(),Ky=qn(),uu=qn(),L1=Re(),U1=B(),W1=new RegExp(`(?:on\\s*?)?(${uu.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:au|\\-|\\\u2013|jusqu'au?|\\s)\\s*(${uu.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:de)?\\s*)(${L1.matchAnyPattern(zy.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${Ky.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),By=1,Hy=2,q1=3,Vy=4,lf=class extends U1.AbstractParserWithWordBoundaryChecking{innerPattern(){return W1}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=zy.MONTH_DICTIONARY[t[q1].toLowerCase()],s=uu.parseOrdinalNumberPattern(t[By]);if(s>31)return t.index=t.index+t[By].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[Vy]){let a=Ky.parseYear(t[Vy]);n.start.assign("year",a)}else{let a=F1.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[Hy]){let a=uu.parseOrdinalNumberPattern(t[Hy]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};cf.default=lf});var Zy=E(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});var Xy=qn(),$1=We(),j1=B(),G1=ir(),df=class extends j1.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`il y a\\s*(${Xy.TIME_UNITS_PATTERN})(?=(?:\\W|$))`,"i")}innerExtract(e,t){let n=Xy.parseTimeUnits(t[1]),i=G1.reverseTimeUnits(n);return $1.ParsingComponents.createRelativeFromReference(e.reference,i)}};ff.default=df});var eb=E(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});var Jy=qn(),Y1=We(),B1=B(),pf=class extends B1.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp(`(?:dans|en|pour|pendant|de)\\s*(${Jy.TIME_UNITS_PATTERN})(?=\\W|$)`,"i")}innerExtract(e,t){let n=Jy.parseTimeUnits(t[1]);return Y1.ParsingComponents.createRelativeFromReference(e.reference,n)}};mf.default=pf});var tb=E(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});var lu=qn(),H1=We(),V1=B(),z1=ir(),K1=Re(),hf=class extends V1.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`(?:les?|la|l'|du|des?)\\s*(${lu.NUMBER_PATTERN})?(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?\\s*(${K1.matchAnyPattern(lu.TIME_UNIT_DICTIONARY)})(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?`,"i")}innerExtract(e,t){let n=t[1]?lu.parseNumberPattern(t[1]):1,i=lu.TIME_UNIT_DICTIONARY[t[3].toLowerCase()],s={};s[i]=n;let a=t[2]||t[4]||"";if(a=a.toLowerCase(),!!a)return(/derni[eè]re?s?/.test(a)||/pass[ée]e?s?/.test(a)||/pr[ée]c[ée]dents?/.test(a))&&(s=z1.reverseTimeUnits(s)),H1.ParsingComponents.createRelativeFromReference(e.reference,s)}};gf.default=hf});var ib=E(et=>{"use strict";var sr=et&&et.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(et,"__esModule",{value:!0});et.createConfiguration=et.createCasualConfiguration=et.parseDate=et.parse=et.strict=et.casual=void 0;var Q1=ln(),rb=vr(),X1=sr(Cy()),Z1=sr(Ay()),J1=sr(fi()),eD=sr(Py()),tD=sr(Ny()),rD=sr(Iy()),nD=sr(qy()),iD=sr(Yy()),sD=sr(Qy()),aD=sr(Zy()),oD=sr(eb()),uD=sr(tb());et.casual=new rb.Chrono(nb());et.strict=new rb.Chrono(yf(!0));function lD(r,e,t){return et.casual.parse(r,e,t)}et.parse=lD;function cD(r,e,t){return et.casual.parseDate(r,e,t)}et.parseDate=cD;function nb(r=!0){let e=yf(!1,r);return e.parsers.unshift(new X1.default),e.parsers.unshift(new Z1.default),e.parsers.unshift(new uD.default),e}et.createCasualConfiguration=nb;function yf(r=!0,e=!0){return Q1.includeCommonConfiguration({parsers:[new J1.default(e),new sD.default,new eD.default,new iD.default,new aD.default,new oD.default,new nD.default],refiners:[new tD.default,new rD.default]},r)}et.createConfiguration=yf});var sb=E(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.toHankaku=void 0;function dD(r){return String(r).replace(/\u2019/g,"'").replace(/\u201D/g,'"').replace(/\u3000/g," ").replace(/\uFFE5/g,"\xA5").replace(/[\uFF01\uFF03-\uFF06\uFF08\uFF09\uFF0C-\uFF19\uFF1C-\uFF1F\uFF21-\uFF3B\uFF3D\uFF3F\uFF41-\uFF5B\uFF5D\uFF5E]/g,fD)}cu.toHankaku=dD;function fD(r){return String.fromCharCode(r.charCodeAt(0)-65248)}});var ob=E(ka=>{"use strict";var pD=ka&&ka.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ka,"__esModule",{value:!0});var bf=sb(),mD=ot(),hD=pD(ve()),gD=/(?:(?:([同今本])|((昭和|平成|令和)?([0-90-9]{1,4}|元)))年\s*)?([0-90-9]{1,2})月\s*([0-90-9]{1,2})日/i,ab=1,yD=2,Tf=3,bD=4,TD=5,_D=6,_f=class{pattern(){return gD}extract(e,t){let n=parseInt(bf.toHankaku(t[TD])),i=parseInt(bf.toHankaku(t[_D])),s=e.createParsingComponents({day:i,month:n});if(t[ab]&&t[ab].match("\u540C|\u4ECA|\u672C")){let a=hD.default(e.refDate);s.assign("year",a.year())}if(t[yD]){let a=t[bD],o=a=="\u5143"?1:parseInt(bf.toHankaku(a));t[Tf]=="\u4EE4\u548C"?o+=2018:t[Tf]=="\u5E73\u6210"?o+=1988:t[Tf]=="\u662D\u548C"&&(o+=1925),s.assign("year",o)}else{let a=mD.findYearClosestToRef(e.refDate,i,n);s.imply("year",a)}return s}};ka.default=_f});var ub=E(Ea=>{"use strict";var vD=Ea&&Ea.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ea,"__esModule",{value:!0});var wD=vD(qr()),vf=class extends wD.default{patternBetween(){return/^\s*(から|ー|-)\s*$/i}};Ea.default=vf});var cb=E(Sr=>{"use strict";var kD=Sr&&Sr.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),ED=Sr&&Sr.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),SD=Sr&&Sr.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&kD(e,r,t);return ED(e,r),e},OD=Sr&&Sr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Sr,"__esModule",{value:!0});var DD=OD(ve()),lb=ze(),wf=SD(dn()),xD=/今日|当日|昨日|明日|今夜|今夕|今晩|今朝/i,kf=class{pattern(){return xD}extract(e,t){let n=t[0],i=DD.default(e.refDate),s=e.createParsingComponents();switch(n){case"\u6628\u65E5":return wf.yesterday(e.reference);case"\u660E\u65E5":return wf.tomorrow(e.reference);case"\u4ECA\u65E5":case"\u5F53\u65E5":return wf.today(e.reference)}return n=="\u4ECA\u591C"||n=="\u4ECA\u5915"||n=="\u4ECA\u6669"?(s.imply("hour",22),s.assign("meridiem",lb.Meridiem.PM)):n.match("\u4ECA\u671D")&&(s.imply("hour",6),s.assign("meridiem",lb.Meridiem.AM)),s.assign("day",i.date()),s.assign("month",i.month()+1),s.assign("year",i.year()),s}};Sr.default=kf});var pb=E(tt=>{"use strict";var Ef=tt&&tt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(tt,"__esModule",{value:!0});tt.createConfiguration=tt.createCasualConfiguration=tt.parseDate=tt.parse=tt.strict=tt.casual=void 0;var RD=Ef(ob()),MD=Ef(ub()),CD=Ef(cb()),db=vr();tt.casual=new db.Chrono(fb());tt.strict=new db.Chrono(Sf());function AD(r,e,t){return tt.casual.parse(r,e,t)}tt.parse=AD;function PD(r,e,t){return tt.casual.parseDate(r,e,t)}tt.parseDate=PD;function fb(){let r=Sf();return r.parsers.unshift(new CD.default),r}tt.createCasualConfiguration=fb;function Sf(){return{parsers:[new RD.default],refiners:[new MD.default]}}tt.createConfiguration=Sf});var du=E(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.parseYear=jr.YEAR_PATTERN=jr.MONTH_DICTIONARY=jr.WEEKDAY_DICTIONARY=void 0;jr.WEEKDAY_DICTIONARY={domingo:0,dom:0,segunda:1,"segunda-feira":1,seg:1,ter\u00E7a:2,"ter\xE7a-feira":2,ter:2,quarta:3,"quarta-feira":3,qua:3,quinta:4,"quinta-feira":4,qui:4,sexta:5,"sexta-feira":5,sex:5,s\u00E1bado:6,sabado:6,sab:6};jr.MONTH_DICTIONARY={janeiro:1,jan:1,"jan.":1,fevereiro:2,fev:2,"fev.":2,mar\u00E7o:3,mar:3,"mar.":3,abril:4,abr:4,"abr.":4,maio:5,mai:5,"mai.":5,junho:6,jun:6,"jun.":6,julho:7,jul:7,"jul.":7,agosto:8,ago:8,"ago.":8,setembro:9,set:9,"set.":9,outubro:10,out:10,"out.":10,novembro:11,nov:11,"nov.":11,dezembro:12,dez:12,"dez.":12};jr.YEAR_PATTERN="[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?";function ND(r){if(r.match(/^[0-9]{1,4}$/)){let e=parseInt(r);return e<100&&(e>50?e=e+1900:e=e+2e3),e}return r.match(/a\.?\s*c\.?/i)?(r=r.replace(/a\.?\s*c\.?/i,""),-parseInt(r)):parseInt(r)}jr.parseYear=ND});var hb=E(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});var mb=du(),ID=Re(),FD=B(),LD=di(),UD=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(este|esta|passado|pr[o\xF3]ximo)\\s*)?(${ID.matchAnyPattern(mb.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(este|esta|passado|pr[\xF3o]ximo)\\s*semana)?(?=\\W|\\d|$)`,"i"),WD=1,qD=2,$D=3,Of=class extends FD.AbstractParserWithWordBoundaryChecking{innerPattern(){return UD}innerExtract(e,t){let n=t[qD].toLowerCase(),i=mb.WEEKDAY_DICTIONARY[n];if(i===void 0)return null;let s=t[WD],a=t[$D],o=s||a||"";o=o.toLowerCase();let u=null;o=="passado"?u="this":o=="pr\xF3ximo"||o=="proximo"?u="next":o=="este"&&(u="this");let l=LD.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};Df.default=Of});var gb=E(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});var jD=li(),xf=class extends jD.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:ao?|\xE0s?|das|da|de|do)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|a(?:o)?|\\?)\\s*"}};Rf.default=xf});var yb=E(Sa=>{"use strict";var GD=Sa&&Sa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Sa,"__esModule",{value:!0});var YD=GD(un()),Mf=class extends YD.default{patternBetween(){return new RegExp("^\\s*(?:,|\xE0)?\\s*$")}};Sa.default=Mf});var bb=E(Oa=>{"use strict";var BD=Oa&&Oa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Oa,"__esModule",{value:!0});var HD=BD(qr()),Cf=class extends HD.default{patternBetween(){return/^\s*(?:-)\s*$/i}};Oa.default=Cf});var Eb=E(Pf=>{"use strict";Object.defineProperty(Pf,"__esModule",{value:!0});var VD=ot(),wb=du(),kb=du(),zD=Re(),KD=B(),QD=new RegExp(`([0-9]{1,2})(?:\xBA|\xAA|\xB0)?(?:\\s*(?:desde|de|\\-|\\\u2013|ao?|\\s)\\s*([0-9]{1,2})(?:\xBA|\xAA|\xB0)?)?\\s*(?:de)?\\s*(?:-|/|\\s*(?:de|,)?\\s*)(${zD.matchAnyPattern(wb.MONTH_DICTIONARY)})(?:\\s*(?:de|,)?\\s*(${kb.YEAR_PATTERN}))?(?=\\W|$)`,"i"),Tb=1,_b=2,XD=3,vb=4,Af=class extends KD.AbstractParserWithWordBoundaryChecking{innerPattern(){return QD}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=wb.MONTH_DICTIONARY[t[XD].toLowerCase()],s=parseInt(t[Tb]);if(s>31)return t.index=t.index+t[Tb].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[vb]){let a=kb.parseYear(t[vb]);n.start.assign("year",a)}else{let a=VD.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[_b]){let a=parseInt(t[_b]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Pf.default=Af});var Sb=E(fn=>{"use strict";var ZD=fn&&fn.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),JD=fn&&fn.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),ex=fn&&fn.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&ZD(e,r,t);return JD(e,r),e};Object.defineProperty(fn,"__esModule",{value:!0});var tx=B(),fu=ex(dn()),Nf=class extends tx.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(agora|hoje|amanha|amanhã|ontem)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),i=e.createParsingComponents();switch(n){case"agora":return fu.now(e.reference);case"hoje":return fu.today(e.reference);case"amanha":case"amanh\xE3":return fu.tomorrow(e.reference);case"ontem":return fu.yesterday(e.reference)}return i}};fn.default=Nf});var Ob=E(Da=>{"use strict";var rx=Da&&Da.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Da,"__esModule",{value:!0});var pu=ze(),nx=B(),ix=nr(),sx=rx(ve()),If=class extends nx.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(?:esta\s*)?(manha|manhã|tarde|meia-noite|meio-dia|noite)(?=\W|$)/i}innerExtract(e,t){let n=sx.default(e.refDate),i=e.createParsingComponents();switch(t[1].toLowerCase()){case"tarde":i.imply("meridiem",pu.Meridiem.PM),i.imply("hour",15);break;case"noite":i.imply("meridiem",pu.Meridiem.PM),i.imply("hour",22);break;case"manha":case"manh\xE3":i.imply("meridiem",pu.Meridiem.AM),i.imply("hour",6);break;case"meia-noite":ix.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"meio-dia":i.imply("meridiem",pu.Meridiem.AM),i.imply("hour",12);break}return i}};Da.default=If});var Rb=E(rt=>{"use strict";var $n=rt&&rt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(rt,"__esModule",{value:!0});rt.createConfiguration=rt.createCasualConfiguration=rt.parseDate=rt.parse=rt.strict=rt.casual=void 0;var ax=ln(),Db=vr(),ox=$n(fi()),ux=$n(hb()),lx=$n(gb()),cx=$n(yb()),dx=$n(bb()),fx=$n(Eb()),px=$n(Sb()),mx=$n(Ob());rt.casual=new Db.Chrono(xb());rt.strict=new Db.Chrono(Ff(!0));function hx(r,e,t){return rt.casual.parse(r,e,t)}rt.parse=hx;function gx(r,e,t){return rt.casual.parseDate(r,e,t)}rt.parseDate=gx;function xb(r=!0){let e=Ff(!1,r);return e.parsers.push(new px.default),e.parsers.push(new mx.default),e}rt.createCasualConfiguration=xb;function Ff(r=!0,e=!0){return ax.includeCommonConfiguration({parsers:[new ox.default(e),new ux.default,new lx.default,new fx.default],refiners:[new cx.default,new dx.default]},r)}rt.createConfiguration=Ff});var Mb=E(xa=>{"use strict";var yx=xa&&xa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(xa,"__esModule",{value:!0});var bx=yx(qr()),Lf=class extends bx.default{patternBetween(){return/^\s*(tot|-)\s*$/i}};xa.default=Lf});var Cb=E(Ra=>{"use strict";var Tx=Ra&&Ra.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ra,"__esModule",{value:!0});var _x=Tx(un()),Uf=class extends _x.default{patternBetween(){return new RegExp("^\\s*(om|na|voor|in de|,|-)?\\s*$")}};Ra.default=Uf});var Ab=E(pn=>{"use strict";var vx=pn&&pn.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),wx=pn&&pn.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),kx=pn&&pn.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&vx(e,r,t);return wx(e,r),e};Object.defineProperty(pn,"__esModule",{value:!0});var Ex=B(),mu=kx(dn()),Wf=class extends Ex.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(nu|vandaag|morgen|morgend|gisteren)(?=\W|$)/i}innerExtract(e,t){let n=t[0].toLowerCase(),i=e.createParsingComponents();switch(n){case"nu":return mu.now(e.reference);case"vandaag":return mu.today(e.reference);case"morgen":case"morgend":return mu.tomorrow(e.reference);case"gisteren":return mu.yesterday(e.reference)}return i}};pn.default=Wf});var Pb=E(Ma=>{"use strict";var Sx=Ma&&Ma.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ma,"__esModule",{value:!0});var hu=ze(),Ox=B(),Dx=Sx(ve()),xx=nr(),Rx=1,Mx=2,qf=class extends Ox.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(deze)?\s*(namiddag|avond|middernacht|ochtend|middag|'s middags|'s avonds|'s ochtends)(?=\W|$)/i}innerExtract(e,t){let n=Dx.default(e.refDate),i=e.createParsingComponents();switch(t[Rx]==="deze"&&(i.assign("day",e.refDate.getDate()),i.assign("month",e.refDate.getMonth()+1),i.assign("year",e.refDate.getFullYear())),t[Mx].toLowerCase()){case"namiddag":case"'s namiddags":i.imply("meridiem",hu.Meridiem.PM),i.imply("hour",15);break;case"avond":case"'s avonds'":i.imply("meridiem",hu.Meridiem.PM),i.imply("hour",20);break;case"middernacht":xx.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"ochtend":case"'s ochtends":i.imply("meridiem",hu.Meridiem.AM),i.imply("hour",6);break;case"middag":case"'s middags":i.imply("meridiem",hu.Meridiem.AM),i.imply("hour",12);break}return i}};Ma.default=qf});var $t=E(ge=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0});ge.parseTimeUnits=ge.TIME_UNITS_PATTERN=ge.parseYear=ge.YEAR_PATTERN=ge.parseOrdinalNumberPattern=ge.ORDINAL_NUMBER_PATTERN=ge.parseNumberPattern=ge.NUMBER_PATTERN=ge.TIME_UNIT_DICTIONARY=ge.ORDINAL_WORD_DICTIONARY=ge.INTEGER_WORD_DICTIONARY=ge.MONTH_DICTIONARY=ge.WEEKDAY_DICTIONARY=void 0;var gu=Re(),Cx=ot();ge.WEEKDAY_DICTIONARY={zondag:0,zon:0,"zon.":0,zo:0,"zo.":0,maandag:1,ma:1,"ma.":1,dinsdag:2,din:2,"din.":2,di:2,"di.":2,woensdag:3,woe:3,"woe.":3,wo:3,"wo.":3,donderdag:4,dond:4,"dond.":4,do:4,"do.":4,vrijdag:5,vrij:5,"vrij.":5,vr:5,"vr.":5,zaterdag:6,zat:6,"zat.":6,za:6,"za.":6};ge.MONTH_DICTIONARY={januari:1,jan:1,"jan.":1,februari:2,feb:2,"feb.":2,maart:3,mar:3,"mar.":3,april:4,apr:4,"apr.":4,mei:5,juni:6,jun:6,"jun.":6,juli:7,jul:7,"jul.":7,augustus:8,aug:8,"aug.":8,september:9,sep:9,"sep.":9,sept:9,"sept.":9,oktober:10,okt:10,"okt.":10,november:11,nov:11,"nov.":11,december:12,dec:12,"dec.":12};ge.INTEGER_WORD_DICTIONARY={een:1,twee:2,drie:3,vier:4,vijf:5,zes:6,zeven:7,acht:8,negen:9,tien:10,elf:11,twaalf:12};ge.ORDINAL_WORD_DICTIONARY={eerste:1,tweede:2,derde:3,vierde:4,vijfde:5,zesde:6,zevende:7,achtste:8,negende:9,tiende:10,elfde:11,twaalfde:12,dertiende:13,veertiende:14,vijftiende:15,zestiende:16,zeventiende:17,achttiende:18,negentiende:19,twintigste:20,eenentwintigste:21,twee\u00EBntwintigste:22,drieentwintigste:23,vierentwintigste:24,vijfentwintigste:25,zesentwintigste:26,zevenentwintigste:27,achtentwintig:28,negenentwintig:29,dertigste:30,eenendertigste:31};ge.TIME_UNIT_DICTIONARY={sec:"second",second:"second",seconden:"second",min:"minute",mins:"minute",minute:"minute",minuut:"minute",minuten:"minute",minuutje:"minute",h:"hour",hr:"hour",hrs:"hour",uur:"hour",u:"hour",uren:"hour",dag:"d",dagen:"d",week:"week",weken:"week",maand:"month",maanden:"month",jaar:"year",jr:"year",jaren:"year"};ge.NUMBER_PATTERN=`(?:${gu.matchAnyPattern(ge.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+[\\.,][0-9]+|halve?|half|paar)`;function Ib(r){let e=r.toLowerCase();return ge.INTEGER_WORD_DICTIONARY[e]!==void 0?ge.INTEGER_WORD_DICTIONARY[e]:e==="paar"?2:e==="half"||e.match(/halve?/)?.5:parseFloat(e.replace(",","."))}ge.parseNumberPattern=Ib;ge.ORDINAL_NUMBER_PATTERN=`(?:${gu.matchAnyPattern(ge.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:ste|de)?)`;function Ax(r){let e=r.toLowerCase();return ge.ORDINAL_WORD_DICTIONARY[e]!==void 0?ge.ORDINAL_WORD_DICTIONARY[e]:(e=e.replace(/(?:ste|de)$/i,""),parseInt(e))}ge.parseOrdinalNumberPattern=Ax;ge.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s*(?:voor Christus|na Christus)|[1-2][0-9]{3}|[5-9][0-9])";function Px(r){if(/voor Christus/i.test(r))return r=r.replace(/voor Christus/i,""),-parseInt(r);if(/na Christus/i.test(r))return r=r.replace(/na Christus/i,""),parseInt(r);let e=parseInt(r);return Cx.findMostLikelyADYear(e)}ge.parseYear=Px;var Fb=`(${ge.NUMBER_PATTERN})\\s{0,5}(${gu.matchAnyPattern(ge.TIME_UNIT_DICTIONARY)})\\s{0,5}`,Nb=new RegExp(Fb,"i");ge.TIME_UNITS_PATTERN=gu.repeatedTimeunitPattern("(?:(?:binnen|in)\\s*)?",Fb);function Nx(r){let e={},t=r,n=Nb.exec(t);for(;n;)Ix(e,n),t=t.substring(n[0].length),n=Nb.exec(t);return e}ge.parseTimeUnits=Nx;function Ix(r,e){let t=Ib(e[1]),n=ge.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var Ub=E(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var Lb=$t(),Fx=We(),Lx=B(),$f=class extends Lx.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(?:binnen|in|binnen de|voor)\\s*("+Lb.TIME_UNITS_PATTERN+")(?=\\W|$)","i")}innerExtract(e,t){let n=Lb.parseTimeUnits(t[1]);return Fx.ParsingComponents.createRelativeFromReference(e.reference,n)}};jf.default=$f});var qb=E(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});var Wb=$t(),Ux=Re(),Wx=B(),qx=di(),$x=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:op\\s*?)?(?:(deze|vorige|volgende)\\s*(?:week\\s*)?)?(${Ux.matchAnyPattern(Wb.WEEKDAY_DICTIONARY)})(?=\\W|$)`,"i"),jx=1,Gx=2,Yx=3,Gf=class extends Wx.AbstractParserWithWordBoundaryChecking{innerPattern(){return $x}innerExtract(e,t){let n=t[Gx].toLowerCase(),i=Wb.WEEKDAY_DICTIONARY[n],s=t[jx],a=t[Yx],o=s||a;o=o||"",o=o.toLowerCase();let u=null;o=="vorige"?u="last":o=="volgende"?u="next":o=="deze"&&(u="this");let l=qx.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};Yf.default=Gf});var Hb=E(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});var Bx=ot(),Yb=$t(),yu=$t(),Bb=$t(),Hx=Re(),Vx=B(),zx=new RegExp(`(?:on\\s*?)?(${yu.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:tot|\\-|\\\u2013|until|through|till|\\s)\\s*(${yu.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:of)?\\s*)(`+Hx.matchAnyPattern(Yb.MONTH_DICTIONARY)+`)(?:(?:-|/|,?\\s*)(${Bb.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),Kx=3,$b=1,jb=2,Gb=4,Bf=class extends Vx.AbstractParserWithWordBoundaryChecking{innerPattern(){return zx}innerExtract(e,t){let n=Yb.MONTH_DICTIONARY[t[Kx].toLowerCase()],i=yu.parseOrdinalNumberPattern(t[$b]);if(i>31)return t.index=t.index+t[$b].length,null;let s=e.createParsingComponents({day:i,month:n});if(t[Gb]){let u=Bb.parseYear(t[Gb]);s.assign("year",u)}else{let u=Bx.findYearClosestToRef(e.refDate,i,n);s.imply("year",u)}if(!t[jb])return s;let a=yu.parseOrdinalNumberPattern(t[jb]),o=e.createParsingResult(t.index,t[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};Hf.default=Bf});var Qb=E(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});var zb=$t(),Qx=ot(),Xx=Re(),Kb=$t(),Zx=B(),Jx=new RegExp(`(${Xx.matchAnyPattern(zb.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${Kb.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),eR=1,Vb=2,Vf=class extends Zx.AbstractParserWithWordBoundaryChecking{innerPattern(){return Jx}innerExtract(e,t){let n=e.createParsingComponents();n.imply("day",1);let i=t[eR],s=zb.MONTH_DICTIONARY[i.toLowerCase()];if(n.assign("month",s),t[Vb]){let a=Kb.parseYear(t[Vb]);n.assign("year",a)}else{let a=Qx.findYearClosestToRef(e.refDate,1,s);n.imply("year",a)}return n}};zf.default=Vf});var Xb=E(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});var tR=B(),rR=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),nR=1,iR=2,Kf=class extends tR.AbstractParserWithWordBoundaryChecking{innerPattern(){return rR}innerExtract(e,t){let n=parseInt(t[iR]),i=parseInt(t[nR]);return e.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}};Qf.default=Kf});var Zb=E(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});var sR=li(),Xf=class extends sR.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:om)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|om|\\?)\\s*"}primarySuffix(){return"(?:\\s*(?:uur))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(e,t){return t[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(e,t)}};Zf.default=Xf});var tT=E(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});var eT=$t(),aR=Re(),oR=B(),uR=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${aR.matchAnyPattern(eT.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),lR=1,cR=2,Jb=3,dR=4,Jf=class extends oR.AbstractParserWithWordBoundaryChecking{innerPattern(){return uR}innerExtract(e,t){let n=t[Jb]?parseInt(t[Jb]):eT.MONTH_DICTIONARY[t[cR].toLowerCase()];if(n<1||n>12)return null;let i=parseInt(t[lR]);return{day:parseInt(t[dR]),month:n,year:i}}};ep.default=Jf});var rT=E(Ca=>{"use strict";var fR=Ca&&Ca.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ca,"__esModule",{value:!0});var pR=B(),bu=ze(),tp=nr(),mR=fR(ve()),hR=1,gR=2,rp=class extends pR.AbstractParserWithWordBoundaryChecking{innerPattern(e){return/(gisteren|morgen|van)(ochtend|middag|namiddag|avond|nacht)(?=\W|$)/i}innerExtract(e,t){let n=t[hR].toLowerCase(),i=t[gR].toLowerCase(),s=e.createParsingComponents(),a=mR.default(e.refDate);switch(n){case"gisteren":tp.assignSimilarDate(s,a.add(-1,"day"));break;case"van":tp.assignSimilarDate(s,a);break;case"morgen":tp.assignTheNextDay(s,a);break}switch(i){case"ochtend":s.imply("meridiem",bu.Meridiem.AM),s.imply("hour",6);break;case"middag":s.imply("meridiem",bu.Meridiem.AM),s.imply("hour",12);break;case"namiddag":s.imply("meridiem",bu.Meridiem.PM),s.imply("hour",15);break;case"avond":s.imply("meridiem",bu.Meridiem.PM),s.imply("hour",20);break}return s}};Ca.default=rp});var iT=E(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});var nT=$t(),yR=We(),bR=B(),TR=ir(),_R=new RegExp(`(deze|vorige|afgelopen|komende|over|\\+|-)\\s*(${nT.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),np=class extends bR.AbstractParserWithWordBoundaryChecking{innerPattern(){return _R}innerExtract(e,t){let n=t[1].toLowerCase(),i=nT.parseTimeUnits(t[2]);switch(n){case"vorige":case"afgelopen":case"-":i=TR.reverseTimeUnits(i);break}return yR.ParsingComponents.createRelativeFromReference(e.reference,i)}};ip.default=np});var oT=E(Aa=>{"use strict";var vR=Aa&&Aa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Aa,"__esModule",{value:!0});var aT=$t(),sT=We(),wR=vR(ve()),kR=B(),ER=Re(),SR=new RegExp(`(dit|deze|komende|volgend|volgende|afgelopen|vorige)\\s*(${ER.matchAnyPattern(aT.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),OR=1,DR=2,sp=class extends kR.AbstractParserWithWordBoundaryChecking{innerPattern(){return SR}innerExtract(e,t){let n=t[OR].toLowerCase(),i=t[DR].toLowerCase(),s=aT.TIME_UNIT_DICTIONARY[i];if(n=="volgend"||n=="volgende"||n=="komende"){let u={};return u[s]=1,sT.ParsingComponents.createRelativeFromReference(e.reference,u)}if(n=="afgelopen"||n=="vorige"){let u={};return u[s]=-1,sT.ParsingComponents.createRelativeFromReference(e.reference,u)}let a=e.createParsingComponents(),o=wR.default(e.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):i.match(/maand/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):i.match(/jaar/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};Aa.default=sp});var uT=E(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});var op=$t(),xR=We(),RR=B(),MR=ir(),CR=new RegExp("("+op.TIME_UNITS_PATTERN+")(?:geleden|voor|eerder)(?=(?:\\W|$))","i"),AR=new RegExp("("+op.TIME_UNITS_PATTERN+")geleden(?=(?:\\W|$))","i"),ap=class extends RR.AbstractParserWithWordBoundaryChecking{constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?AR:CR}innerExtract(e,t){let n=op.parseTimeUnits(t[1]),i=MR.reverseTimeUnits(n);return xR.ParsingComponents.createRelativeFromReference(e.reference,i)}};up.default=ap});var lT=E(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});var cp=$t(),PR=We(),NR=B(),IR=new RegExp("("+cp.TIME_UNITS_PATTERN+")(later|na|vanaf nu|voortaan|vooruit|uit)(?=(?:\\W|$))","i"),FR=new RegExp("("+cp.TIME_UNITS_PATTERN+")(later|vanaf nu)(?=(?:\\W|$))","i"),LR=1,lp=class extends NR.AbstractParserWithWordBoundaryChecking{constructor(e){super(),this.strictMode=e}innerPattern(){return this.strictMode?FR:IR}innerExtract(e,t){let n=cp.parseTimeUnits(t[LR]);return PR.ParsingComponents.createRelativeFromReference(e.reference,n)}};dp.default=lp});var pT=E(nt=>{"use strict";var lt=nt&&nt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(nt,"__esModule",{value:!0});nt.createConfiguration=nt.createCasualConfiguration=nt.parseDate=nt.parse=nt.strict=nt.casual=void 0;var UR=ln(),cT=vr(),WR=lt(Mb()),qR=lt(Cb()),$R=lt(Ab()),jR=lt(Pb()),GR=lt(fi()),YR=lt(Ub()),BR=lt(qb()),HR=lt(Hb()),dT=lt(Qb()),VR=lt(Xb()),zR=lt(Zb()),KR=lt(tT()),QR=lt(rT()),XR=lt(iT()),ZR=lt(oT()),JR=lt(uT()),eM=lt(lT());nt.casual=new cT.Chrono(fT());nt.strict=new cT.Chrono(fp(!0));function tM(r,e,t){return nt.casual.parse(r,e,t)}nt.parse=tM;function rM(r,e,t){return nt.casual.parseDate(r,e,t)}nt.parseDate=rM;function fT(r=!0){let e=fp(!1,r);return e.parsers.unshift(new $R.default),e.parsers.unshift(new jR.default),e.parsers.unshift(new QR.default),e.parsers.unshift(new dT.default),e.parsers.unshift(new ZR.default),e.parsers.unshift(new XR.default),e}nt.createCasualConfiguration=fT;function fp(r=!0,e=!0){return UR.includeCommonConfiguration({parsers:[new GR.default(e),new YR.default,new HR.default,new dT.default,new BR.default,new KR.default,new VR.default,new zR.default(r),new JR.default(r),new eM.default(r)],refiners:[new qR.default,new WR.default]},r)}nt.createConfiguration=fp});var yT=E(Pa=>{"use strict";var nM=Pa&&Pa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Pa,"__esModule",{value:!0});var iM=nM(ve()),sM=B(),aM=1,mT=2,oM=3,hT=4,gT=5,uM=6,pp=class extends sM.AbstractParserWithWordBoundaryChecking{innerPattern(e){return new RegExp("(\u800C\u5BB6|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(e,t){let n=t.index,i=e.createParsingResult(n,t[0]),s=iM.default(e.refDate),a=s;if(t[aM])i.start.imply("hour",s.hour()),i.start.imply("minute",s.minute()),i.start.imply("second",s.second()),i.start.imply("millisecond",s.millisecond());else if(t[mT]){let o=t[mT],u=t[oM];o=="\u660E"||o=="\u807D"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u5F8C"?a=a.add(2,"day"):o=="\u5927\u5F8C"&&(a=a.add(3,"day")),u=="\u65E9"||u=="\u671D"?i.start.imply("hour",6):u=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(t[hT]){let u=t[hT][0];u=="\u65E9"||u=="\u671D"||u=="\u4E0A"?i.start.imply("hour",6):u=="\u4E0B"||u=="\u664F"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):u=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):u=="\u591C"||u=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):u=="\u51CC"&&i.start.imply("hour",0)}else if(t[gT]){let o=t[gT];o=="\u660E"||o=="\u807D"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u5F8C"?a=a.add(2,"day"):o=="\u5927\u5F8C"&&(a=a.add(3,"day"));let u=t[uM];if(u){let l=u[0];l=="\u65E9"||l=="\u671D"||l=="\u4E0A"?i.start.imply("hour",6):l=="\u4E0B"||l=="\u664F"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):l=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):l=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year()),i}};Pa.default=pp});var is=E(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.zhStringToYear=Mt.zhStringToNumber=Mt.WEEKDAY_OFFSET=Mt.NUMBER=void 0;Mt.NUMBER={\u96F6:0,\u4E00:1,\u4E8C:2,\u5169:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10,\u5EFF:20,\u5345:30};Mt.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function lM(r){let e=0;for(let t=0;t{"use strict";var dM=Na&&Na.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Na,"__esModule",{value:!0});var fM=dM(ve()),pM=B(),hi=is(),mp=1,bT=2,hp=3,gp=class extends pM.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(hi.NUMBER).join("")+"]{4}|["+Object.keys(hi.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(hi.NUMBER).join("")+"]{1,2})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(hi.NUMBER).join("")+"]{1,2})?(?:\\s*)(?:\u65E5|\u865F)?")}innerExtract(e,t){let n=fM.default(e.refDate),i=e.createParsingResult(t.index,t[0]),s=parseInt(t[bT]);if(isNaN(s)&&(s=hi.zhStringToNumber(t[bT])),i.start.assign("month",s),t[hp]){let a=parseInt(t[hp]);isNaN(a)&&(a=hi.zhStringToNumber(t[hp])),i.start.assign("day",a)}else i.start.imply("day",n.date());if(t[mp]){let a=parseInt(t[mp]);isNaN(a)&&(a=hi.zhStringToYear(t[mp])),i.start.assign("year",a)}else i.start.imply("year",n.year());return i}};Na.default=gp});var vT=E(Ia=>{"use strict";var mM=Ia&&Ia.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ia,"__esModule",{value:!0});var hM=mM(ve()),gM=B(),_T=is(),yM=new RegExp("(\\d+|["+Object.keys(_T.NUMBER).join("")+"]+|\u534A|\u5E7E)(?:\\s*)(?:\u500B)?(\u79D2(?:\u9418)?|\u5206\u9418|\u5C0F\u6642|\u9418|\u65E5|\u5929|\u661F\u671F|\u79AE\u62DC|\u6708|\u5E74)(?:(?:\u4E4B|\u904E)?\u5F8C|(?:\u4E4B)?\u5167)","i"),yp=1,bM=2,bp=class extends gM.AbstractParserWithWordBoundaryChecking{innerPattern(){return yM}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=parseInt(t[yp]);if(isNaN(i)&&(i=_T.zhStringToNumber(t[yp])),isNaN(i)){let u=t[yp];if(u==="\u5E7E")i=3;else if(u==="\u534A")i=.5;else return null}let s=hM.default(e.refDate),o=t[bM][0];return o.match(/[日天星禮月年]/)?(o=="\u65E5"||o=="\u5929"?s=s.add(i,"d"):o=="\u661F"||o=="\u79AE"?s=s.add(i*7,"d"):o=="\u6708"?s=s.add(i,"month"):o=="\u5E74"&&(s=s.add(i,"year")),n.start.assign("year",s.year()),n.start.assign("month",s.month()+1),n.start.assign("day",s.date()),n):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u9418")&&(s=s.add(i,"hour")),n.start.imply("year",s.year()),n.start.imply("month",s.month()+1),n.start.imply("day",s.date()),n.start.assign("hour",s.hour()),n.start.assign("minute",s.minute()),n.start.assign("second",s.second()),n)}};Ia.default=bp});var kT=E(Fa=>{"use strict";var TM=Fa&&Fa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Fa,"__esModule",{value:!0});var _M=TM(ve()),vM=B(),wT=is(),wM=new RegExp("(?\u4E0A|\u4ECA|\u4E0B|\u9019|\u5462)(?:\u500B)?(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?"+Object.keys(wT.WEEKDAY_OFFSET).join("|")+")"),Tp=class extends vM.AbstractParserWithWordBoundaryChecking{innerPattern(){return wM}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,s=wT.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=null,o=t.groups.prefix;o=="\u4E0A"?a="last":o=="\u4E0B"?a="next":(o=="\u4ECA"||o=="\u9019"||o=="\u5462")&&(a="this");let u=_M.default(e.refDate),l=!1,c=u.day();return a=="last"||a=="past"?(u=u.day(s-7),l=!0):a=="next"?(u=u.day(s+7),l=!0):a=="this"?u=u.day(s):Math.abs(s-7-c){"use strict";var kM=La&&La.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(La,"__esModule",{value:!0});var EM=kM(ve()),SM=B(),or=is(),OM=new RegExp("(?:\u7531|\u5F9E|\u81EA)?(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(or.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(or.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(or.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),DM=new RegExp("(?:^\\s*(?:\u5230|\u81F3|\\-|\\\u2013|\\~|\\\u301C)\\s*)(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(or.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(or.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(or.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),Tu=1,_u=2,vu=3,wu=4,ku=5,Eu=6,ar=7,ss=8,Su=9,_p=class extends SM.AbstractParserWithWordBoundaryChecking{innerPattern(){return OM}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=EM.default(e.refDate),i=e.createParsingResult(t.index,t[0]),s=n.clone();if(t[Tu]){var a=t[Tu];a=="\u660E"||a=="\u807D"?n.hour()>1&&s.add(1,"day"):a=="\u6628"||a=="\u5C0B"||a=="\u7434"?s.add(-1,"day"):a=="\u524D"?s.add(-2,"day"):a=="\u5927\u524D"?s.add(-3,"day"):a=="\u5F8C"?s.add(2,"day"):a=="\u5927\u5F8C"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else if(t[wu]){var o=t[wu];o=="\u660E"||o=="\u807D"?s.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?s.add(-1,"day"):o=="\u524D"?s.add(-2,"day"):o=="\u5927\u524D"?s.add(-3,"day"):o=="\u5F8C"?s.add(2,"day"):o=="\u5927\u5F8C"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else i.start.imply("day",s.date()),i.start.imply("month",s.month()+1),i.start.imply("year",s.year());let u=0,l=0,c=-1;if(t[ss]){var d=parseInt(t[ss]);if(isNaN(d)&&(d=or.zhStringToNumber(t[ss])),d>=60)return null;i.start.assign("second",d)}if(u=parseInt(t[Eu]),isNaN(u)&&(u=or.zhStringToNumber(t[Eu])),t[ar]?t[ar]=="\u534A"?l=30:t[ar]=="\u6B63"||t[ar]=="\u6574"?l=0:(l=parseInt(t[ar]),isNaN(l)&&(l=or.zhStringToNumber(t[ar]))):u>100&&(l=u%100,u=Math.floor(u/100)),l>=60||u>24)return null;if(u>=12&&(c=1),t[Su]){if(u>12)return null;var f=t[Su][0].toLowerCase();f=="a"&&(c=0,u==12&&(u=0)),f=="p"&&(c=1,u!=12&&(u+=12))}else if(t[_u]){var m=t[_u],g=m[0];g=="\u671D"||g=="\u65E9"?(c=0,u==12&&(u=0)):g=="\u665A"&&(c=1,u!=12&&(u+=12))}else if(t[vu]){var y=t[vu],T=y[0];T=="\u4E0A"||T=="\u671D"||T=="\u65E9"||T=="\u51CC"?(c=0,u==12&&(u=0)):(T=="\u4E0B"||T=="\u664F"||T=="\u665A")&&(c=1,u!=12&&(u+=12))}else if(t[ku]){var k=t[ku],S=k[0];S=="\u4E0A"||S=="\u671D"||S=="\u65E9"||S=="\u51CC"?(c=0,u==12&&(u=0)):(S=="\u4E0B"||S=="\u664F"||S=="\u665A")&&(c=1,u!=12&&(u+=12))}if(i.start.assign("hour",u),i.start.assign("minute",l),c>=0?i.start.assign("meridiem",c):u<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),t=DM.exec(e.text.substring(i.index+i.text.length)),!t)return i.text.match(/^\d+$/)?null:i;let x=s.clone();if(i.end=e.createParsingComponents(),t[Tu]){var a=t[Tu];a=="\u660E"||a=="\u807D"?n.hour()>1&&x.add(1,"day"):a=="\u6628"||a=="\u5C0B"||a=="\u7434"?x.add(-1,"day"):a=="\u524D"?x.add(-2,"day"):a=="\u5927\u524D"?x.add(-3,"day"):a=="\u5F8C"?x.add(2,"day"):a=="\u5927\u5F8C"&&x.add(3,"day"),i.end.assign("day",x.date()),i.end.assign("month",x.month()+1),i.end.assign("year",x.year())}else if(t[wu]){var o=t[wu];o=="\u660E"||o=="\u807D"?x.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?x.add(-1,"day"):o=="\u524D"?x.add(-2,"day"):o=="\u5927\u524D"?x.add(-3,"day"):o=="\u5F8C"?x.add(2,"day"):o=="\u5927\u5F8C"&&x.add(3,"day"),i.end.assign("day",x.date()),i.end.assign("month",x.month()+1),i.end.assign("year",x.year())}else i.end.imply("day",x.date()),i.end.imply("month",x.month()+1),i.end.imply("year",x.year());if(u=0,l=0,c=-1,t[ss]){var d=parseInt(t[ss]);if(isNaN(d)&&(d=or.zhStringToNumber(t[ss])),d>=60)return null;i.end.assign("second",d)}if(u=parseInt(t[Eu]),isNaN(u)&&(u=or.zhStringToNumber(t[Eu])),t[ar]?t[ar]=="\u534A"?l=30:t[ar]=="\u6B63"||t[ar]=="\u6574"?l=0:(l=parseInt(t[ar]),isNaN(l)&&(l=or.zhStringToNumber(t[ar]))):u>100&&(l=u%100,u=Math.floor(u/100)),l>=60||u>24)return null;if(u>=12&&(c=1),t[Su]){if(u>12)return null;var f=t[Su][0].toLowerCase();f=="a"&&(c=0,u==12&&(u=0)),f=="p"&&(c=1,u!=12&&(u+=12)),i.start.isCertain("meridiem")||(c==0?(i.start.imply("meridiem",0),i.start.get("hour")==12&&i.start.assign("hour",0)):(i.start.imply("meridiem",1),i.start.get("hour")!=12&&i.start.assign("hour",i.start.get("hour")+12)))}else if(t[_u]){var m=t[_u],g=m[0];g=="\u671D"||g=="\u65E9"?(c=0,u==12&&(u=0)):g=="\u665A"&&(c=1,u!=12&&(u+=12))}else if(t[vu]){var y=t[vu],T=y[0];T=="\u4E0A"||T=="\u671D"||T=="\u65E9"||T=="\u51CC"?(c=0,u==12&&(u=0)):(T=="\u4E0B"||T=="\u664F"||T=="\u665A")&&(c=1,u!=12&&(u+=12))}else if(t[ku]){var k=t[ku],S=k[0];S=="\u4E0A"||S=="\u671D"||S=="\u65E9"||S=="\u51CC"?(c=0,u==12&&(u=0)):(S=="\u4E0B"||S=="\u664F"||S=="\u665A")&&(c=1,u!=12&&(u+=12))}return i.text=i.text+t[0],i.end.assign("hour",u),i.end.assign("minute",l),c>=0?i.end.assign("meridiem",c):i.start.isCertain("meridiem")&&i.start.get("meridiem")==1&&i.start.get("hour")>u?i.end.imply("meridiem",0):u>12&&i.end.imply("meridiem",1),i.end.date().getTime(){"use strict";var xM=Ua&&Ua.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ua,"__esModule",{value:!0});var RM=xM(ve()),MM=B(),ST=is(),CM=new RegExp("(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?"+Object.keys(ST.WEEKDAY_OFFSET).join("|")+")"),vp=class extends MM.AbstractParserWithWordBoundaryChecking{innerPattern(){return CM}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,s=ST.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=RM.default(e.refDate),o=!1,u=a.day();return Math.abs(s-7-u){"use strict";var AM=Wa&&Wa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Wa,"__esModule",{value:!0});var PM=AM(qr()),wp=class extends PM.default{patternBetween(){return/^\s*(至|到|\-|\~|~|-|ー)\s*$/i}};Wa.default=wp});var xT=E(qa=>{"use strict";var NM=qa&&qa.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(qa,"__esModule",{value:!0});var IM=NM(un()),kp=class extends IM.default{patternBetween(){return/^\s*$/i}};qa.default=kp});var RT=E(Ye=>{"use strict";var mn=Ye&&Ye.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ye,"__esModule",{value:!0});Ye.createConfiguration=Ye.createCasualConfiguration=Ye.parseDate=Ye.parse=Ye.strict=Ye.casual=Ye.hant=void 0;var Ep=vr(),FM=mn(tu()),LM=ln(),UM=mn(yT()),WM=mn(TT()),qM=mn(vT()),$M=mn(kT()),jM=mn(ET()),GM=mn(OT()),YM=mn(DT()),BM=mn(xT());Ye.hant=new Ep.Chrono(Sp());Ye.casual=new Ep.Chrono(Sp());Ye.strict=new Ep.Chrono(Op());function HM(r,e,t){return Ye.casual.parse(r,e,t)}Ye.parse=HM;function VM(r,e,t){return Ye.casual.parseDate(r,e,t)}Ye.parseDate=VM;function Sp(){let r=Op();return r.parsers.unshift(new UM.default),r}Ye.createCasualConfiguration=Sp;function Op(){let r=LM.includeCommonConfiguration({parsers:[new WM.default,new $M.default,new GM.default,new jM.default,new qM.default],refiners:[new YM.default,new BM.default]});return r.refiners=r.refiners.filter(e=>!(e instanceof FM.default)),r}Ye.createConfiguration=Op});var PT=E($a=>{"use strict";var zM=$a&&$a.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty($a,"__esModule",{value:!0});var KM=zM(ve()),QM=B(),XM=1,MT=2,ZM=3,CT=4,AT=5,JM=6,Dp=class extends QM.AbstractParserWithWordBoundaryChecking{innerPattern(e){return new RegExp("(\u73B0\u5728|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(e,t){let n=t.index,i=e.createParsingResult(n,t[0]),s=KM.default(e.refDate),a=s;if(t[XM])i.start.imply("hour",s.hour()),i.start.imply("minute",s.minute()),i.start.imply("second",s.second()),i.start.imply("millisecond",s.millisecond());else if(t[MT]){let o=t[MT],u=t[ZM];o=="\u660E"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u540E"?a=a.add(2,"day"):o=="\u5927\u540E"&&(a=a.add(3,"day")),u=="\u65E9"?i.start.imply("hour",6):u=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(t[CT]){let u=t[CT][0];u=="\u65E9"||u=="\u4E0A"?i.start.imply("hour",6):u=="\u4E0B"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):u=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):u=="\u591C"||u=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):u=="\u51CC"&&i.start.imply("hour",0)}else if(t[AT]){let o=t[AT];o=="\u660E"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u540E"?a=a.add(2,"day"):o=="\u5927\u540E"&&(a=a.add(3,"day"));let u=t[JM];if(u){let l=u[0];l=="\u65E9"||l=="\u4E0A"?i.start.imply("hour",6):l=="\u4E0B"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):l=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):l=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year()),i}};$a.default=Dp});var as=E(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.zhStringToYear=Ct.zhStringToNumber=Ct.WEEKDAY_OFFSET=Ct.NUMBER=void 0;Ct.NUMBER={\u96F6:0,"\u3007":0,\u4E00:1,\u4E8C:2,\u4E24:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10};Ct.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function eC(r){let e=0;for(let t=0;t{"use strict";var rC=ja&&ja.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ja,"__esModule",{value:!0});var nC=rC(ve()),iC=B(),gi=as(),xp=1,NT=2,Rp=3,Mp=class extends iC.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(gi.NUMBER).join("")+"]{4}|["+Object.keys(gi.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(gi.NUMBER).join("")+"]{1,3})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(gi.NUMBER).join("")+"]{1,3})?(?:\\s*)(?:\u65E5|\u53F7)?")}innerExtract(e,t){let n=nC.default(e.refDate),i=e.createParsingResult(t.index,t[0]),s=parseInt(t[NT]);if(isNaN(s)&&(s=gi.zhStringToNumber(t[NT])),i.start.assign("month",s),t[Rp]){let a=parseInt(t[Rp]);isNaN(a)&&(a=gi.zhStringToNumber(t[Rp])),i.start.assign("day",a)}else i.start.imply("day",n.date());if(t[xp]){let a=parseInt(t[xp]);isNaN(a)&&(a=gi.zhStringToYear(t[xp])),i.start.assign("year",a)}else i.start.imply("year",n.year());return i}};ja.default=Mp});var LT=E(Ga=>{"use strict";var sC=Ga&&Ga.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ga,"__esModule",{value:!0});var aC=sC(ve()),oC=B(),FT=as(),uC=new RegExp("(\\d+|["+Object.keys(FT.NUMBER).join("")+"]+|\u534A|\u51E0)(?:\\s*)(?:\u4E2A)?(\u79D2(?:\u949F)?|\u5206\u949F|\u5C0F\u65F6|\u949F|\u65E5|\u5929|\u661F\u671F|\u793C\u62DC|\u6708|\u5E74)(?:(?:\u4E4B|\u8FC7)?\u540E|(?:\u4E4B)?\u5185)","i"),Cp=1,lC=2,Ap=class extends oC.AbstractParserWithWordBoundaryChecking{innerPattern(){return uC}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=parseInt(t[Cp]);if(isNaN(i)&&(i=FT.zhStringToNumber(t[Cp])),isNaN(i)){let u=t[Cp];if(u==="\u51E0")i=3;else if(u==="\u534A")i=.5;else return null}let s=aC.default(e.refDate),o=t[lC][0];return o.match(/[日天星礼月年]/)?(o=="\u65E5"||o=="\u5929"?s=s.add(i,"d"):o=="\u661F"||o=="\u793C"?s=s.add(i*7,"d"):o=="\u6708"?s=s.add(i,"month"):o=="\u5E74"&&(s=s.add(i,"year")),n.start.assign("year",s.year()),n.start.assign("month",s.month()+1),n.start.assign("day",s.date()),n):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u949F")&&(s=s.add(i,"hour")),n.start.imply("year",s.year()),n.start.imply("month",s.month()+1),n.start.imply("day",s.date()),n.start.assign("hour",s.hour()),n.start.assign("minute",s.minute()),n.start.assign("second",s.second()),n)}};Ga.default=Ap});var WT=E(Ya=>{"use strict";var cC=Ya&&Ya.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ya,"__esModule",{value:!0});var dC=cC(ve()),fC=B(),UT=as(),pC=new RegExp("(?\u4E0A|\u4E0B|\u8FD9)(?:\u4E2A)?(?:\u661F\u671F|\u793C\u62DC|\u5468)(?"+Object.keys(UT.WEEKDAY_OFFSET).join("|")+")"),Pp=class extends fC.AbstractParserWithWordBoundaryChecking{innerPattern(){return pC}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,s=UT.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=null,o=t.groups.prefix;o=="\u4E0A"?a="last":o=="\u4E0B"?a="next":o=="\u8FD9"&&(a="this");let u=dC.default(e.refDate),l=!1,c=u.day();return a=="last"||a=="past"?(u=u.day(s-7),l=!0):a=="next"?(u=u.day(s+7),l=!0):a=="this"?u=u.day(s):Math.abs(s-7-c){"use strict";var mC=Ba&&Ba.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ba,"__esModule",{value:!0});var hC=mC(ve()),gC=B(),lr=as(),yC=new RegExp("(?:\u4ECE|\u81EA)?(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(lr.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(lr.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(lr.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),bC=new RegExp("(?:^\\s*(?:\u5230|\u81F3|\\-|\\\u2013|\\~|\\\u301C)\\s*)(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(lr.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(lr.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(lr.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),Ou=1,Du=2,xu=3,Ru=4,Mu=5,Cu=6,ur=7,os=8,Au=9,Np=class extends gC.AbstractParserWithWordBoundaryChecking{innerPattern(){return yC}innerExtract(e,t){if(t.index>0&&e.text[t.index-1].match(/\w/))return null;let n=hC.default(e.refDate),i=e.createParsingResult(t.index,t[0]),s=n.clone();if(t[Ou]){let c=t[Ou];c=="\u660E"?n.hour()>1&&s.add(1,"day"):c=="\u6628"?s.add(-1,"day"):c=="\u524D"?s.add(-2,"day"):c=="\u5927\u524D"?s.add(-3,"day"):c=="\u540E"?s.add(2,"day"):c=="\u5927\u540E"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else if(t[Ru]){let c=t[Ru];c=="\u660E"?s.add(1,"day"):c=="\u6628"?s.add(-1,"day"):c=="\u524D"?s.add(-2,"day"):c=="\u5927\u524D"?s.add(-3,"day"):c=="\u540E"?s.add(2,"day"):c=="\u5927\u540E"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else i.start.imply("day",s.date()),i.start.imply("month",s.month()+1),i.start.imply("year",s.year());let a=0,o=0,u=-1;if(t[os]){let c=parseInt(t[os]);if(isNaN(c)&&(c=lr.zhStringToNumber(t[os])),c>=60)return null;i.start.assign("second",c)}if(a=parseInt(t[Cu]),isNaN(a)&&(a=lr.zhStringToNumber(t[Cu])),t[ur]?t[ur]=="\u534A"?o=30:t[ur]=="\u6B63"||t[ur]=="\u6574"?o=0:(o=parseInt(t[ur]),isNaN(o)&&(o=lr.zhStringToNumber(t[ur]))):a>100&&(o=a%100,a=Math.floor(a/100)),o>=60||a>24)return null;if(a>=12&&(u=1),t[Au]){if(a>12)return null;let c=t[Au][0].toLowerCase();c=="a"&&(u=0,a==12&&(a=0)),c=="p"&&(u=1,a!=12&&(a+=12))}else if(t[Du]){let d=t[Du][0];d=="\u65E9"?(u=0,a==12&&(a=0)):d=="\u665A"&&(u=1,a!=12&&(a+=12))}else if(t[xu]){let d=t[xu][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(u=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(u=1,a!=12&&(a+=12))}else if(t[Mu]){let d=t[Mu][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(u=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(u=1,a!=12&&(a+=12))}if(i.start.assign("hour",a),i.start.assign("minute",o),u>=0?i.start.assign("meridiem",u):a<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),t=bC.exec(e.text.substring(i.index+i.text.length)),!t)return i.text.match(/^\d+$/)?null:i;let l=s.clone();if(i.end=e.createParsingComponents(),t[Ou]){let c=t[Ou];c=="\u660E"?n.hour()>1&&l.add(1,"day"):c=="\u6628"?l.add(-1,"day"):c=="\u524D"?l.add(-2,"day"):c=="\u5927\u524D"?l.add(-3,"day"):c=="\u540E"?l.add(2,"day"):c=="\u5927\u540E"&&l.add(3,"day"),i.end.assign("day",l.date()),i.end.assign("month",l.month()+1),i.end.assign("year",l.year())}else if(t[Ru]){let c=t[Ru];c=="\u660E"?l.add(1,"day"):c=="\u6628"?l.add(-1,"day"):c=="\u524D"?l.add(-2,"day"):c=="\u5927\u524D"?l.add(-3,"day"):c=="\u540E"?l.add(2,"day"):c=="\u5927\u540E"&&l.add(3,"day"),i.end.assign("day",l.date()),i.end.assign("month",l.month()+1),i.end.assign("year",l.year())}else i.end.imply("day",l.date()),i.end.imply("month",l.month()+1),i.end.imply("year",l.year());if(a=0,o=0,u=-1,t[os]){let c=parseInt(t[os]);if(isNaN(c)&&(c=lr.zhStringToNumber(t[os])),c>=60)return null;i.end.assign("second",c)}if(a=parseInt(t[Cu]),isNaN(a)&&(a=lr.zhStringToNumber(t[Cu])),t[ur]?t[ur]=="\u534A"?o=30:t[ur]=="\u6B63"||t[ur]=="\u6574"?o=0:(o=parseInt(t[ur]),isNaN(o)&&(o=lr.zhStringToNumber(t[ur]))):a>100&&(o=a%100,a=Math.floor(a/100)),o>=60||a>24)return null;if(a>=12&&(u=1),t[Au]){if(a>12)return null;let c=t[Au][0].toLowerCase();c=="a"&&(u=0,a==12&&(a=0)),c=="p"&&(u=1,a!=12&&(a+=12)),i.start.isCertain("meridiem")||(u==0?(i.start.imply("meridiem",0),i.start.get("hour")==12&&i.start.assign("hour",0)):(i.start.imply("meridiem",1),i.start.get("hour")!=12&&i.start.assign("hour",i.start.get("hour")+12)))}else if(t[Du]){let d=t[Du][0];d=="\u65E9"?(u=0,a==12&&(a=0)):d=="\u665A"&&(u=1,a!=12&&(a+=12))}else if(t[xu]){let d=t[xu][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(u=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(u=1,a!=12&&(a+=12))}else if(t[Mu]){let d=t[Mu][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(u=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(u=1,a!=12&&(a+=12))}return i.text=i.text+t[0],i.end.assign("hour",a),i.end.assign("minute",o),u>=0?i.end.assign("meridiem",u):i.start.isCertain("meridiem")&&i.start.get("meridiem")==1&&i.start.get("hour")>a?i.end.imply("meridiem",0):a>12&&i.end.imply("meridiem",1),i.end.date().getTime(){"use strict";var TC=Ha&&Ha.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ha,"__esModule",{value:!0});var _C=TC(ve()),vC=B(),$T=as(),wC=new RegExp("(?:\u661F\u671F|\u793C\u62DC|\u5468)(?"+Object.keys($T.WEEKDAY_OFFSET).join("|")+")"),Ip=class extends vC.AbstractParserWithWordBoundaryChecking{innerPattern(){return wC}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=t.groups.weekday,s=$T.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=_C.default(e.refDate),o=!1,u=a.day();return Math.abs(s-7-u){"use strict";var kC=Va&&Va.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Va,"__esModule",{value:!0});var EC=kC(qr()),Fp=class extends EC.default{patternBetween(){return/^\s*(至|到|-|~|~|-|ー)\s*$/i}};Va.default=Fp});var YT=E(za=>{"use strict";var SC=za&&za.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(za,"__esModule",{value:!0});var OC=SC(un()),Lp=class extends OC.default{patternBetween(){return/^\s*$/i}};za.default=Lp});var BT=E(Be=>{"use strict";var hn=Be&&Be.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Be,"__esModule",{value:!0});Be.createConfiguration=Be.createCasualConfiguration=Be.parseDate=Be.parse=Be.strict=Be.casual=Be.hans=void 0;var Up=vr(),DC=hn(tu()),xC=ln(),RC=hn(PT()),MC=hn(IT()),CC=hn(LT()),AC=hn(WT()),PC=hn(qT()),NC=hn(jT()),IC=hn(GT()),FC=hn(YT());Be.hans=new Up.Chrono(Wp());Be.casual=new Up.Chrono(Wp());Be.strict=new Up.Chrono(qp());function LC(r,e,t){return Be.casual.parse(r,e,t)}Be.parse=LC;function UC(r,e,t){return Be.casual.parseDate(r,e,t)}Be.parseDate=UC;function Wp(){let r=qp();return r.parsers.unshift(new RC.default),r}Be.createCasualConfiguration=Wp;function qp(){let r=xC.includeCommonConfiguration({parsers:[new MC.default,new AC.default,new NC.default,new PC.default,new CC.default],refiners:[new IC.default,new FC.default]});return r.refiners=r.refiners.filter(e=>!(e instanceof DC.default)),r}Be.createConfiguration=qp});var VT=E(jt=>{"use strict";var HT=jt&&jt.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),WC=jt&&jt.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),qC=jt&&jt.__exportStar||function(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&HT(e,r,t)},$C=jt&&jt.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&HT(e,r,t);return WC(e,r),e};Object.defineProperty(jt,"__esModule",{value:!0});jt.hans=void 0;qC(RT(),jt);jt.hans=$C(BT())});var At=E(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.parseTimeUnits=se.TIME_UNITS_PATTERN=se.parseYear=se.YEAR_PATTERN=se.parseOrdinalNumberPattern=se.ORDINAL_NUMBER_PATTERN=se.parseNumberPattern=se.NUMBER_PATTERN=se.TIME_UNIT_DICTIONARY=se.ORDINAL_WORD_DICTIONARY=se.INTEGER_WORD_DICTIONARY=se.MONTH_DICTIONARY=se.FULL_MONTH_NAME_DICTIONARY=se.WEEKDAY_DICTIONARY=se.REGEX_PARTS=void 0;var Pu=Re(),jC=ot();se.REGEX_PARTS={leftBoundary:"([^\\p{L}\\p{N}_]|^)",rightBoundary:"(?=[^\\p{L}\\p{N}_]|$)",flags:"iu"};se.WEEKDAY_DICTIONARY={\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435:0,\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u044F:0,\u0432\u0441\u043A:0,"\u0432\u0441\u043A.":0,\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A:1,\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A\u0430:1,\u043F\u043D:1,"\u043F\u043D.":1,\u0432\u0442\u043E\u0440\u043D\u0438\u043A:2,\u0432\u0442\u043E\u0440\u043D\u0438\u043A\u0430:2,\u0432\u0442:2,"\u0432\u0442.":2,\u0441\u0440\u0435\u0434\u0430:3,\u0441\u0440\u0435\u0434\u044B:3,\u0441\u0440\u0435\u0434\u0443:3,\u0441\u0440:3,"\u0441\u0440.":3,\u0447\u0435\u0442\u0432\u0435\u0440\u0433:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430:4,\u0447\u0442:4,"\u0447\u0442.":4,\u043F\u044F\u0442\u043D\u0438\u0446\u0430:5,\u043F\u044F\u0442\u043D\u0438\u0446\u0443:5,\u043F\u044F\u0442\u043D\u0438\u0446\u044B:5,\u043F\u0442:5,"\u043F\u0442.":5,\u0441\u0443\u0431\u0431\u043E\u0442\u0430:6,\u0441\u0443\u0431\u0431\u043E\u0442\u0443:6,\u0441\u0443\u0431\u0431\u043E\u0442\u044B:6,\u0441\u0431:6,"\u0441\u0431.":6};se.FULL_MONTH_NAME_DICTIONARY={\u044F\u043D\u0432\u0430\u0440\u044C:1,\u044F\u043D\u0432\u0430\u0440\u044F:1,\u044F\u043D\u0432\u0430\u0440\u0435:1,\u0444\u0435\u0432\u0440\u044F\u043B\u044C:2,\u0444\u0435\u0432\u0440\u044F\u043B\u044F:2,\u0444\u0435\u0432\u0440\u044F\u043B\u0435:2,\u043C\u0430\u0440\u0442:3,\u043C\u0430\u0440\u0442\u0430:3,\u043C\u0430\u0440\u0442\u0435:3,\u0430\u043F\u0440\u0435\u043B\u044C:4,\u0430\u043F\u0440\u0435\u043B\u044F:4,\u0430\u043F\u0440\u0435\u043B\u0435:4,\u043C\u0430\u0439:5,\u043C\u0430\u044F:5,\u043C\u0430\u0435:5,\u0438\u044E\u043D\u044C:6,\u0438\u044E\u043D\u044F:6,\u0438\u044E\u043D\u0435:6,\u0438\u044E\u043B\u044C:7,\u0438\u044E\u043B\u044F:7,\u0438\u044E\u043B\u0435:7,\u0430\u0432\u0433\u0443\u0441\u0442:8,\u0430\u0432\u0433\u0443\u0441\u0442\u0430:8,\u0430\u0432\u0433\u0443\u0441\u0442\u0435:8,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C:9,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F:9,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u0435:9,\u043E\u043A\u0442\u044F\u0431\u0440\u044C:10,\u043E\u043A\u0442\u044F\u0431\u0440\u044F:10,\u043E\u043A\u0442\u044F\u0431\u0440\u0435:10,\u043D\u043E\u044F\u0431\u0440\u044C:11,\u043D\u043E\u044F\u0431\u0440\u044F:11,\u043D\u043E\u044F\u0431\u0440\u0435:11,\u0434\u0435\u043A\u0430\u0431\u0440\u044C:12,\u0434\u0435\u043A\u0430\u0431\u0440\u044F:12,\u0434\u0435\u043A\u0430\u0431\u0440\u0435:12};se.MONTH_DICTIONARY=Object.assign(Object.assign({},se.FULL_MONTH_NAME_DICTIONARY),{\u044F\u043D\u0432:1,"\u044F\u043D\u0432.":1,\u0444\u0435\u0432:2,"\u0444\u0435\u0432.":2,\u043C\u0430\u0440:3,"\u043C\u0430\u0440.":3,\u0430\u043F\u0440:4,"\u0430\u043F\u0440.":4,\u0430\u0432\u0433:8,"\u0430\u0432\u0433.":8,\u0441\u0435\u043D:9,"\u0441\u0435\u043D.":9,\u043E\u043A\u0442:10,"\u043E\u043A\u0442.":10,\u043D\u043E\u044F:11,"\u043D\u043E\u044F.":11,\u0434\u0435\u043A:12,"\u0434\u0435\u043A.":12});se.INTEGER_WORD_DICTIONARY={\u043E\u0434\u0438\u043D:1,\u043E\u0434\u043D\u0430:1,\u043E\u0434\u043D\u043E\u0439:1,\u043E\u0434\u043D\u0443:1,\u0434\u0432\u0435:2,\u0434\u0432\u0430:2,\u0434\u0432\u0443\u0445:2,\u0442\u0440\u0438:3,\u0442\u0440\u0435\u0445:3,\u0442\u0440\u0451\u0445:3,\u0447\u0435\u0442\u044B\u0440\u0435:4,\u0447\u0435\u0442\u044B\u0440\u0435\u0445:4,\u0447\u0435\u0442\u044B\u0440\u0451\u0445:4,\u043F\u044F\u0442\u044C:5,\u043F\u044F\u0442\u0438:5,\u0448\u0435\u0441\u0442\u044C:6,\u0448\u0435\u0441\u0442\u0438:6,\u0441\u0435\u043C\u044C:7,\u0441\u0435\u043C\u0438:7,\u0432\u043E\u0441\u0435\u043C\u044C:8,\u0432\u043E\u0441\u0435\u043C\u044C\u043C\u0438:8,\u0434\u0435\u0432\u044F\u0442\u044C:9,\u0434\u0435\u0432\u044F\u0442\u0438:9,\u0434\u0435\u0441\u044F\u0442\u044C:10,\u0434\u0435\u0441\u044F\u0442\u0438:10,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u044C:11,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u0438:11,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u044C:12,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u0438:12};se.ORDINAL_WORD_DICTIONARY={\u043F\u0435\u0440\u0432\u043E\u0435:1,\u043F\u0435\u0440\u0432\u043E\u0433\u043E:1,\u0432\u0442\u043E\u0440\u043E\u0435:2,\u0432\u0442\u043E\u0440\u043E\u0433\u043E:2,\u0442\u0440\u0435\u0442\u044C\u0435:3,\u0442\u0440\u0435\u0442\u044C\u0435\u0433\u043E:3,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0435:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E:4,\u043F\u044F\u0442\u043E\u0435:5,\u043F\u044F\u0442\u043E\u0433\u043E:5,\u0448\u0435\u0441\u0442\u043E\u0435:6,\u0448\u0435\u0441\u0442\u043E\u0433\u043E:6,\u0441\u0435\u0434\u044C\u043C\u043E\u0435:7,\u0441\u0435\u0434\u044C\u043C\u043E\u0433\u043E:7,\u0432\u043E\u0441\u044C\u043C\u043E\u0435:8,\u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E:8,\u0434\u0435\u0432\u044F\u0442\u043E\u0435:9,\u0434\u0435\u0432\u044F\u0442\u043E\u0433\u043E:9,\u0434\u0435\u0441\u044F\u0442\u043E\u0435:10,\u0434\u0435\u0441\u044F\u0442\u043E\u0433\u043E:10,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:11,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:11,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:12,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:12,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:13,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:13,\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:14,\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:14,\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:15,\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:15,\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:16,\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:16,\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:17,\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:17,\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:18,\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:18,\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:19,\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:19,\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u043E\u0435:20,\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:20,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435":21,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0433\u043E":21,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0435":22,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0433\u043E":22,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0442\u0440\u0435\u0442\u044C\u0435":23,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0442\u0440\u0435\u0442\u044C\u0435\u0433\u043E":23,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0435":24,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E":24,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u044F\u0442\u043E\u0435":25,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u044F\u0442\u043E\u0433\u043E":25,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0448\u0435\u0441\u0442\u043E\u0435":26,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0448\u0435\u0441\u0442\u043E\u0433\u043E":26,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0441\u0435\u0434\u044C\u043C\u043E\u0435":27,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0441\u0435\u0434\u044C\u043C\u043E\u0433\u043E":27,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u043E\u0435":28,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E":28,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0434\u0435\u0432\u044F\u0442\u043E\u0435":29,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0434\u0435\u0432\u044F\u0442\u043E\u0433\u043E":29,\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u043E\u0435:30,\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u043E\u0433\u043E:30,"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435":31,"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0433\u043E":31};se.TIME_UNIT_DICTIONARY={\u0441\u0435\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0430:"second",\u0441\u0435\u043A\u0443\u043D\u0434:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u044B:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0443:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0430:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0438:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u0435\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0443:"second",\u043C\u0438\u043D:"minute",\u043C\u0438\u043D\u0443\u0442\u0430:"minute",\u043C\u0438\u043D\u0443\u0442:"minute",\u043C\u0438\u043D\u0443\u0442\u044B:"minute",\u043C\u0438\u043D\u0443\u0442\u0443:"minute",\u043C\u0438\u043D\u0443\u0442\u043E\u043A:"minute",\u043C\u0438\u043D\u0443\u0442\u043A\u0438:"minute",\u043C\u0438\u043D\u0443\u0442\u043A\u0443:"minute",\u0447\u0430\u0441:"hour",\u0447\u0430\u0441\u043E\u0432:"hour",\u0447\u0430\u0441\u0430:"hour",\u0447\u0430\u0441\u0443:"hour",\u0447\u0430\u0441\u0438\u043A\u043E\u0432:"hour",\u0447\u0430\u0441\u0438\u043A\u0430:"hour",\u0447\u0430\u0441\u0438\u043A\u0435:"hour",\u0447\u0430\u0441\u0438\u043A:"hour",\u0434\u0435\u043D\u044C:"d",\u0434\u043D\u044F:"d",\u0434\u043D\u0435\u0439:"d",\u0441\u0443\u0442\u043E\u043A:"d",\u0441\u0443\u0442\u043A\u0438:"d",\u043D\u0435\u0434\u0435\u043B\u044F:"week",\u043D\u0435\u0434\u0435\u043B\u0435:"week",\u043D\u0435\u0434\u0435\u043B\u0438:"week",\u043D\u0435\u0434\u0435\u043B\u044E:"week",\u043D\u0435\u0434\u0435\u043B\u044C:"week",\u043D\u0435\u0434\u0435\u043B\u044C\u043A\u0435:"week",\u043D\u0435\u0434\u0435\u043B\u044C\u043A\u0438:"week",\u043D\u0435\u0434\u0435\u043B\u0435\u043A:"week",\u043C\u0435\u0441\u044F\u0446:"month",\u043C\u0435\u0441\u044F\u0446\u0435:"month",\u043C\u0435\u0441\u044F\u0446\u0435\u0432:"month",\u043C\u0435\u0441\u044F\u0446\u0430:"month",\u043A\u0432\u0430\u0440\u0442\u0430\u043B:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0435:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u043E\u0432:"quarter",\u0433\u043E\u0434:"year",\u0433\u043E\u0434\u0430:"year",\u0433\u043E\u0434\u0443:"year",\u0433\u043E\u0434\u043E\u0432:"year",\u043B\u0435\u0442:"year",\u0433\u043E\u0434\u0438\u043A:"year",\u0433\u043E\u0434\u0438\u043A\u0430:"year",\u0433\u043E\u0434\u0438\u043A\u043E\u0432:"year"};se.NUMBER_PATTERN=`(?:${Pu.matchAnyPattern(se.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|\u043F\u043E\u043B|\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E|\u043F\u0430\u0440(?:\u044B|\u0443)|\\s{0,3})`;function KT(r){let e=r.toLowerCase();return se.INTEGER_WORD_DICTIONARY[e]!==void 0?se.INTEGER_WORD_DICTIONARY[e]:e.match(/несколько/)?3:e.match(/пол/)?.5:e.match(/пар/)?2:e===""?1:parseFloat(e)}se.parseNumberPattern=KT;se.ORDINAL_NUMBER_PATTERN=`(?:${Pu.matchAnyPattern(se.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:\u0433\u043E|\u043E\u0433\u043E|\u0435|\u043E\u0435)?)`;function GC(r){let e=r.toLowerCase();return se.ORDINAL_WORD_DICTIONARY[e]!==void 0?se.ORDINAL_WORD_DICTIONARY[e]:(e=e.replace(/(?:st|nd|rd|th)$/i,""),parseInt(e))}se.parseOrdinalNumberPattern=GC;var $p="(?:\\s+(?:\u0433\u043E\u0434\u0443|\u0433\u043E\u0434\u0430|\u0433\u043E\u0434|\u0433|\u0433.))?";se.YEAR_PATTERN=`(?:[1-9][0-9]{0,3}${$p}\\s*(?:\u043D.\u044D.|\u0434\u043E \u043D.\u044D.|\u043D. \u044D.|\u0434\u043E \u043D. \u044D.)|[1-2][0-9]{3}${$p}|[5-9][0-9]${$p})`;function YC(r){if(/(год|года|г|г.)/i.test(r)&&(r=r.replace(/(год|года|г|г.)/i,"")),/(до н.э.|до н. э.)/i.test(r))return r=r.replace(/(до н.э.|до н. э.)/i,""),-parseInt(r);if(/(н. э.|н.э.)/i.test(r))return r=r.replace(/(н. э.|н.э.)/i,""),parseInt(r);let e=parseInt(r);return jC.findMostLikelyADYear(e)}se.parseYear=YC;var QT=`(${se.NUMBER_PATTERN})\\s{0,3}(${Pu.matchAnyPattern(se.TIME_UNIT_DICTIONARY)})`,zT=new RegExp(QT,"i");se.TIME_UNITS_PATTERN=Pu.repeatedTimeunitPattern("(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s{0,3})?",QT);function BC(r){let e={},t=r,n=zT.exec(t);for(;n;)HC(e,n),t=t.substring(n[0].length).trim(),n=zT.exec(t);return e}se.parseTimeUnits=BC;function HC(r,e){let t=KT(e[1]),n=se.TIME_UNIT_DICTIONARY[e[2].toLowerCase()];r[n]=t}});var ZT=E(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});var Ka=At(),VC=We(),zC=B(),XT=`(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s*(?:~\\s*)?)?(${Ka.TIME_UNITS_PATTERN})${Ka.REGEX_PARTS.rightBoundary}`,KC=new RegExp(`(?:\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435|\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0438)\\s*${XT}`,Ka.REGEX_PARTS.flags),QC=new RegExp(XT,"i"),jp=class extends zC.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Ka.REGEX_PARTS.leftBoundary}innerPattern(e){return e.option.forwardDate?QC:KC}innerExtract(e,t){let n=Ka.parseTimeUnits(t[1]);return VC.ParsingComponents.createRelativeFromReference(e.reference,n)}};Gp.default=jp});var n_=E(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});var XC=ot(),Qa=At(),r_=At(),Nu=At(),ZC=Re(),JC=B(),eA=new RegExp(`(?:\u0441)?\\s*(${Nu.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:\u043F\u043E|-|\u2013|\u0434\u043E)?\\s{0,3}(${Nu.ORDINAL_NUMBER_PATTERN}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${ZC.matchAnyPattern(Qa.MONTH_DICTIONARY)})(?:(?:-|\\/|,?\\s{0,3})(${r_.YEAR_PATTERN}(?![^\\s]\\d)))?${Qa.REGEX_PARTS.rightBoundary}`,Qa.REGEX_PARTS.flags),JT=1,e_=2,tA=3,t_=4,Yp=class extends JC.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Qa.REGEX_PARTS.leftBoundary}innerPattern(){return eA}innerExtract(e,t){let n=e.createParsingResult(t.index,t[0]),i=Qa.MONTH_DICTIONARY[t[tA].toLowerCase()],s=Nu.parseOrdinalNumberPattern(t[JT]);if(s>31)return t.index=t.index+t[JT].length,null;if(n.start.assign("month",i),n.start.assign("day",s),t[t_]){let a=r_.parseYear(t[t_]);n.start.assign("year",a)}else{let a=XC.findYearClosestToRef(e.refDate,s,i);n.start.imply("year",a)}if(t[e_]){let a=Nu.parseOrdinalNumberPattern(t[e_]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Bp.default=Yp});var a_=E(Vp=>{"use strict";Object.defineProperty(Vp,"__esModule",{value:!0});var Xa=At(),rA=ot(),nA=Re(),s_=At(),iA=B(),sA=new RegExp(`((?:\u0432)\\s*)?(${nA.matchAnyPattern(Xa.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${s_.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,Xa.REGEX_PARTS.flags),aA=2,i_=3,Hp=class extends iA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Xa.REGEX_PARTS.leftBoundary}innerPattern(){return sA}innerExtract(e,t){let n=t[aA].toLowerCase();if(t[0].length<=3&&!Xa.FULL_MONTH_NAME_DICTIONARY[n])return null;let i=e.createParsingResult(t.index,t.index+t[0].length);i.start.imply("day",1);let s=Xa.MONTH_DICTIONARY[n];if(i.start.assign("month",s),t[i_]){let a=s_.parseYear(t[i_]);i.start.assign("year",a)}else{let a=rA.findYearClosestToRef(e.refDate,1,s);i.start.imply("year",a)}return i}};Vp.default=Hp});var u_=E(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});var Iu=ze(),oA=li(),o_=At(),zp=class extends oA.AbstractTimeExpressionParser{constructor(e){super(e)}patternFlags(){return o_.REGEX_PARTS.flags}primaryPatternLeftBoundary(){return"(^|\\s|T|(?:[^\\p{L}\\p{N}_]))"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|\u0434\u043E|\u0438|\u043F\u043E|\\?)\\s*"}primaryPrefix(){return"(?:(?:\u0432|\u0441)\\s*)??"}primarySuffix(){return`(?:\\s*(?:\u0443\u0442\u0440\u0430|\u0432\u0435\u0447\u0435\u0440\u0430|\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F))?(?!\\/)${o_.REGEX_PARTS.rightBoundary}`}extractPrimaryTimeComponents(e,t){let n=super.extractPrimaryTimeComponents(e,t);if(n){if(t[0].endsWith("\u0432\u0435\u0447\u0435\u0440\u0430")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",Iu.Meridiem.PM)):i<6&&n.assign("meridiem",Iu.Meridiem.AM)}if(t[0].endsWith("\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F")){n.assign("meridiem",Iu.Meridiem.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}t[0].endsWith("\u0443\u0442\u0440\u0430")&&(n.assign("meridiem",Iu.Meridiem.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}};Kp.default=zp});var l_=E(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});var Fu=At(),uA=We(),lA=B(),cA=ir(),dA=new RegExp(`(${Fu.TIME_UNITS_PATTERN})\\s{0,5}\u043D\u0430\u0437\u0430\u0434(?=(?:\\W|$))`,Fu.REGEX_PARTS.flags),Qp=class extends lA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Fu.REGEX_PARTS.leftBoundary}innerPattern(){return dA}innerExtract(e,t){let n=Fu.parseTimeUnits(t[1]),i=cA.reverseTimeUnits(n);return uA.ParsingComponents.createRelativeFromReference(e.reference,i)}};Xp.default=Qp});var c_=E(Za=>{"use strict";var fA=Za&&Za.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Za,"__esModule",{value:!0});var pA=fA(qr()),Zp=class extends pA.default{patternBetween(){return/^\s*(и до|и по|до|по|-)\s*$/i}};Za.default=Zp});var d_=E(Ja=>{"use strict";var mA=Ja&&Ja.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ja,"__esModule",{value:!0});var hA=mA(un()),Jp=class extends hA.default{patternBetween(){return new RegExp("^\\s*(T|\u0432|,|-)?\\s*$")}};Ja.default=Jp});var f_=E(gn=>{"use strict";var gA=gn&&gn.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),yA=gn&&gn.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),bA=gn&&gn.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&gA(e,r,t);return yA(e,r),e};Object.defineProperty(gn,"__esModule",{value:!0});var TA=B(),eo=bA(dn()),em=At(),_A=new RegExp(`(?:\u0441|\u0441\u043E)?\\s*(\u0441\u0435\u0433\u043E\u0434\u043D\u044F|\u0432\u0447\u0435\u0440\u0430|\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430)${em.REGEX_PARTS.rightBoundary}`,em.REGEX_PARTS.flags),tm=class extends TA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return em.REGEX_PARTS.leftBoundary}innerPattern(e){return _A}innerExtract(e,t){let n=t[1].toLowerCase(),i=e.createParsingComponents();switch(n){case"\u0441\u0435\u0433\u043E\u0434\u043D\u044F":return eo.today(e.reference);case"\u0432\u0447\u0435\u0440\u0430":return eo.yesterday(e.reference);case"\u0437\u0430\u0432\u0442\u0440\u0430":return eo.tomorrow(e.reference);case"\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430":return eo.theDayAfter(e.reference,2);case"\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430":return eo.theDayBefore(e.reference,2)}return i}};gn.default=tm});var p_=E(Or=>{"use strict";var vA=Or&&Or.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),wA=Or&&Or.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),kA=Or&&Or.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&vA(e,r,t);return wA(e,r),e},EA=Or&&Or.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Or,"__esModule",{value:!0});var SA=B(),yi=kA(dn()),OA=nr(),DA=EA(ve()),rm=At(),xA=new RegExp(`(\u0441\u0435\u0439\u0447\u0430\u0441|\u043F\u0440\u043E\u0448\u043B\u044B\u043C\\s*\u0432\u0435\u0447\u0435\u0440\u043E\u043C|\u043F\u0440\u043E\u0448\u043B\u043E\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u0441\u0435\u0433\u043E\u0434\u043D\u044F\\s*\u043D\u043E\u0447\u044C\u044E|\u044D\u0442\u043E\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u043D\u043E\u0447\u044C\u044E|\u044D\u0442\u0438\u043C \u0443\u0442\u0440\u043E\u043C|\u0443\u0442\u0440\u043E\u043C|\u0443\u0442\u0440\u0430|\u0432\\s*\u043F\u043E\u043B\u0434\u0435\u043D\u044C|\u0432\u0435\u0447\u0435\u0440\u043E\u043C|\u0432\u0435\u0447\u0435\u0440\u0430|\u0432\\s*\u043F\u043E\u043B\u043D\u043E\u0447\u044C)${rm.REGEX_PARTS.rightBoundary}`,rm.REGEX_PARTS.flags),nm=class extends SA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return rm.REGEX_PARTS.leftBoundary}innerPattern(){return xA}innerExtract(e,t){let n=DA.default(e.refDate),i=t[0].toLowerCase(),s=e.createParsingComponents();if(i==="\u0441\u0435\u0439\u0447\u0430\u0441")return yi.now(e.reference);if(i==="\u0432\u0435\u0447\u0435\u0440\u043E\u043C"||i==="\u0432\u0435\u0447\u0435\u0440\u0430")return yi.evening(e.reference);if(i.endsWith("\u0443\u0442\u0440\u043E\u043C")||i.endsWith("\u0443\u0442\u0440\u0430"))return yi.morning(e.reference);if(i.match(/в\s*полдень/))return yi.noon(e.reference);if(i.match(/прошлой\s*ночью/))return yi.lastNight(e.reference);if(i.match(/прошлым\s*вечером/))return yi.yesterdayEvening(e.reference);if(i.match(/следующей\s*ночью/)){let a=n.hour()<22?1:2;n=n.add(a,"day"),OA.assignSimilarDate(s,n),s.imply("hour",0)}return i.match(/в\s*полночь/)||i.endsWith("\u043D\u043E\u0447\u044C\u044E")?yi.midnight(e.reference):s}};Or.default=nm});var m_=E(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});var to=At(),RA=Re(),MA=B(),CA=di(),AA=new RegExp(`(?:(?:,|\\(|\uFF08)\\s*)?(?:\u0432\\s*?)?(?:(\u044D\u0442\u0443|\u044D\u0442\u043E\u0442|\u043F\u0440\u043E\u0448\u043B\u044B\u0439|\u043F\u0440\u043E\u0448\u043B\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E)\\s*)?(${RA.matchAnyPattern(to.WEEKDAY_DICTIONARY)})(?:\\s*(?:,|\\)|\uFF09))?(?:\\s*\u043D\u0430\\s*(\u044D\u0442\u043E\u0439|\u043F\u0440\u043E\u0448\u043B\u043E\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439)\\s*\u043D\u0435\u0434\u0435\u043B\u0435)?${to.REGEX_PARTS.rightBoundary}`,to.REGEX_PARTS.flags),PA=1,NA=2,IA=3,im=class extends MA.AbstractParserWithWordBoundaryChecking{innerPattern(){return AA}patternLeftBoundary(){return to.REGEX_PARTS.leftBoundary}innerExtract(e,t){let n=t[NA].toLowerCase(),i=to.WEEKDAY_DICTIONARY[n],s=t[PA],a=t[IA],o=s||a;o=o||"",o=o.toLowerCase();let u=null;o=="\u043F\u0440\u043E\u0448\u043B\u044B\u0439"||o=="\u043F\u0440\u043E\u0448\u043B\u0443\u044E"||o=="\u043F\u0440\u043E\u0448\u043B\u043E\u0439"?u="last":o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E"?u="next":(o=="\u044D\u0442\u043E\u0442"||o=="\u044D\u0442\u0443"||o=="\u044D\u0442\u043E\u0439")&&(u="this");let l=CA.toDayJSWeekday(e.refDate,i,u);return e.createParsingComponents().assign("weekday",i).imply("day",l.date()).imply("month",l.month()+1).imply("year",l.year())}};sm.default=im});var g_=E(no=>{"use strict";var FA=no&&no.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(no,"__esModule",{value:!0});var ro=At(),h_=We(),LA=FA(ve()),UA=B(),WA=Re(),qA=new RegExp(`(\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C|\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439|\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439|\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C|\u043D\u0430 \u044D\u0442\u043E\u0439|\u0432 \u044D\u0442\u043E\u043C)\\s*(${WA.matchAnyPattern(ro.TIME_UNIT_DICTIONARY)})(?=\\s*)${ro.REGEX_PARTS.rightBoundary}`,ro.REGEX_PARTS.flags),$A=1,jA=2,am=class extends UA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return ro.REGEX_PARTS.leftBoundary}innerPattern(){return qA}innerExtract(e,t){let n=t[$A].toLowerCase(),i=t[jA].toLowerCase(),s=ro.TIME_UNIT_DICTIONARY[i];if(n=="\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||n=="\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C"){let u={};return u[s]=1,h_.ParsingComponents.createRelativeFromReference(e.reference,u)}if(n=="\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C"||n=="\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439"){let u={};return u[s]=-1,h_.ParsingComponents.createRelativeFromReference(e.reference,u)}let a=e.createParsingComponents(),o=LA.default(e.reference.instant);return s.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):s.match(/month/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):s.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};no.default=am});var y_=E(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});var io=At(),GA=We(),YA=B(),BA=ir(),HA=new RegExp(`(\u044D\u0442\u0438|\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435|\u043F\u0440\u043E\u0448\u043B\u044B\u0435|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435|\u043F\u043E\u0441\u043B\u0435|\u0447\u0435\u0440\u0435\u0437|\\+|-)\\s*(${io.TIME_UNITS_PATTERN})${io.REGEX_PARTS.rightBoundary}`,io.REGEX_PARTS.flags),om=class extends YA.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return io.REGEX_PARTS.leftBoundary}innerPattern(){return HA}innerExtract(e,t){let n=t[1].toLowerCase(),i=io.parseTimeUnits(t[2]);switch(n){case"\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435":case"\u043F\u0440\u043E\u0448\u043B\u044B\u0435":case"-":i=BA.reverseTimeUnits(i);break}return GA.ParsingComponents.createRelativeFromReference(e.reference,i)}};um.default=om});var __=E(it=>{"use strict";var Gt=it&&it.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(it,"__esModule",{value:!0});it.createConfiguration=it.createCasualConfiguration=it.parseDate=it.parse=it.strict=it.casual=void 0;var VA=Gt(ZT()),zA=Gt(n_()),KA=Gt(a_()),QA=Gt(u_()),XA=Gt(l_()),ZA=Gt(c_()),JA=Gt(d_()),eP=ln(),tP=Gt(f_()),rP=Gt(p_()),nP=Gt(m_()),iP=Gt(g_()),b_=vr(),sP=Gt(fi()),aP=Gt(y_());it.casual=new b_.Chrono(T_());it.strict=new b_.Chrono(lm(!0));function oP(r,e,t){return it.casual.parse(r,e,t)}it.parse=oP;function uP(r,e,t){return it.casual.parseDate(r,e,t)}it.parseDate=uP;function T_(){let r=lm(!1);return r.parsers.unshift(new tP.default),r.parsers.unshift(new rP.default),r.parsers.unshift(new KA.default),r.parsers.unshift(new iP.default),r.parsers.unshift(new aP.default),r}it.createCasualConfiguration=T_;function lm(r=!0){return eP.includeCommonConfiguration({parsers:[new sP.default(!0),new VA.default,new zA.default,new nP.default,new QA.default(r),new XA.default],refiners:[new JA.default,new ZA.default]},r)}it.createConfiguration=lm});var ze=E(pe=>{"use strict";var lP=pe&&pe.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t),Object.defineProperty(r,n,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]}),cP=pe&&pe.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),jn=pe&&pe.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&lP(e,r,t);return cP(e,r),e};Object.defineProperty(pe,"__esModule",{value:!0});pe.parseDate=pe.parse=pe.casual=pe.strict=pe.ru=pe.zh=pe.nl=pe.pt=pe.ja=pe.fr=pe.de=pe.Meridiem=pe.Chrono=pe.en=void 0;var cm=jn(Od());pe.en=cm;var dP=vr();Object.defineProperty(pe,"Chrono",{enumerable:!0,get:function(){return dP.Chrono}});var fP;(function(r){r[r.AM=0]="AM",r[r.PM=1]="PM"})(fP=pe.Meridiem||(pe.Meridiem={}));var pP=jn(Ry());pe.de=pP;var mP=jn(ib());pe.fr=mP;var hP=jn(pb());pe.ja=hP;var gP=jn(Rb());pe.pt=gP;var yP=jn(pT());pe.nl=yP;var bP=jn(VT());pe.zh=bP;var TP=jn(__());pe.ru=TP;pe.strict=cm.strict;pe.casual=cm.casual;function _P(r,e,t){return pe.casual.parse(r,e,t)}pe.parse=_P;function vP(r,e,t){return pe.casual.parseDate(r,e,t)}pe.parseDate=vP});var vv=E((Tv,_v)=>{(function(r){var e=Object.hasOwnProperty,t=Array.isArray?Array.isArray:function(h){return Object.prototype.toString.call(h)==="[object Array]"},n=10,i=typeof process=="object"&&typeof process.nextTick=="function",s=typeof Symbol=="function",a=typeof Reflect=="object",o=typeof setImmediate=="function",u=o?setImmediate:setTimeout,l=s?a&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(p){var h=Object.getOwnPropertyNames(p);return h.push.apply(h,Object.getOwnPropertySymbols(p)),h}:Object.keys;function c(){this._events={},this._conf&&d.call(this,this._conf)}function d(p){p&&(this._conf=p,p.delimiter&&(this.delimiter=p.delimiter),p.maxListeners!==r&&(this._maxListeners=p.maxListeners),p.wildcard&&(this.wildcard=p.wildcard),p.newListener&&(this._newListener=p.newListener),p.removeListener&&(this._removeListener=p.removeListener),p.verboseMemoryLeak&&(this.verboseMemoryLeak=p.verboseMemoryLeak),p.ignoreErrors&&(this.ignoreErrors=p.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function f(p,h){var b="(node) warning: possible EventEmitter memory leak detected. "+p+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(b+=" Event name: "+h+"."),typeof process!="undefined"&&process.emitWarning){var _=new Error(b);_.name="MaxListenersExceededWarning",_.emitter=this,_.count=p,process.emitWarning(_)}else console.error(b),console.trace&&console.trace()}var m=function(p,h,b){var _=arguments.length;switch(_){case 0:return[];case 1:return[p];case 2:return[p,h];case 3:return[p,h,b];default:for(var w=new Array(_);_--;)w[_]=arguments[_];return w}};function g(p,h){for(var b={},_,w=p.length,O=h?h.length:0,M=0;M0;)p=O[v],M.call(A,p,b[p]);this._listeners={},this._listenersCount=0,R()}}});function T(p,h,b,_){var w=Object.assign({},h);if(!p)return w;if(typeof p!="object")throw TypeError("options must be an object");var O=Object.keys(p),M=O.length,A,v,R;function N(le){throw Error('Invalid "'+A+'" option value'+(le?". Reason: "+le:""))}for(var te=0;te0;)if(A===p[v])return O;M(h)}}var x=S(["function"]),U=S(["object","function"]);function q(p,h,b){var _,w,O=0,M,A=new p(function(v,R,N){b=T(b,{timeout:0,overload:!1},{timeout:function(Ne,Ce){return Ne*=1,(typeof Ne!="number"||Ne<0||!Number.isFinite(Ne))&&Ce("timeout must be a positive number"),Ne}}),_=!b.overload&&typeof p.prototype.cancel=="function"&&typeof N=="function";function te(){w&&(w=null),O&&(clearTimeout(O),O=0)}var le=function(Ne){te(),v(Ne)},fe=function(Ne){te(),R(Ne)};_?h(le,fe,N):(w=[function(Ne){fe(Ne||Error("canceled"))}],h(le,fe,function(Ne){if(M)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof Ne!="function")throw TypeError("onCancel callback must be a function");w.push(Ne)}),M=!0),b.timeout>0&&(O=setTimeout(function(){var Ne=Error("timeout");Ne.code="ETIMEDOUT",O=0,A.cancel(Ne),R(Ne)},b.timeout))});return _||(A.cancel=function(v){if(!!w){for(var R=w.length,N=1;N0;)fe=qt[A],fe!=="_listeners"&&(Xe=H(p,h,b[fe],_+1,w),Xe&&(le?le.push.apply(le,Xe):le=Xe));return le}else if(Fr==="**"){for(nn=_+1===w||_+2===w&&G==="*",nn&&b._listeners&&(le=H(p,h,b,w,w)),qt=l(b),A=qt.length;A-- >0;)fe=qt[A],fe!=="_listeners"&&(fe==="*"||fe==="**"?(b[fe]._listeners&&!nn&&(Xe=H(p,h,b[fe],w,w),Xe&&(le?le.push.apply(le,Xe):le=Xe)),Xe=H(p,h,b[fe],_,w)):fe===G?Xe=H(p,h,b[fe],_+2,w):Xe=H(p,h,b[fe],_,w),Xe&&(le?le.push.apply(le,Xe):le=Xe));return le}else b[Fr]&&(le=H(p,h,b[Fr],_+1,w));if(Ne=b["*"],Ne&&H(p,h,Ne,_+1,w),Ce=b["**"],Ce)if(_0;)fe=qt[A],fe!=="_listeners"&&(fe===G?H(p,h,Ce[fe],_+2,w):fe===Fr?H(p,h,Ce[fe],_+1,w):(Rt={},Rt[fe]=Ce[fe],H(p,h,{"**":Rt},_+1,w)));else Ce._listeners?H(p,h,Ce,w,w):Ce["*"]&&Ce["*"]._listeners&&H(p,h,Ce["*"],w,w);return le}function Y(p,h,b){var _=0,w=0,O,M=this.delimiter,A=M.length,v;if(typeof p=="string")if((O=p.indexOf(M))!==-1){v=new Array(5);do v[_++]=p.slice(w,O),w=O+A;while((O=p.indexOf(M,w))!==-1);v[_++]=p.slice(w)}else v=[p],_=1;else v=p,_=p.length;if(_>1){for(O=0;O+1<_;O++)if(v[O]==="**"&&v[O+1]==="**")return}var R=this.listenerTree,N;for(O=0;O<_;O++)if(N=v[O],R=R[N]||(R[N]={}),O===_-1)return R._listeners?(typeof R._listeners=="function"&&(R._listeners=[R._listeners]),b?R._listeners.unshift(h):R._listeners.push(h),!R._listeners.warned&&this._maxListeners>0&&R._listeners.length>this._maxListeners&&(R._listeners.warned=!0,f.call(this,R._listeners.length,N))):R._listeners=h,!0;return!0}function be(p,h,b,_){for(var w=l(p),O=w.length,M,A,v,R=p._listeners,N;O-- >0;)A=w[O],M=p[A],A==="_listeners"?v=b:v=b?b.concat(A):[A],N=_||typeof A=="symbol",R&&h.push(N?v:v.join(this.delimiter)),typeof M=="object"&&be.call(this,M,h,v,N);return h}function Pe(p){for(var h=l(p),b=h.length,_,w,O;b-- >0;)w=h[b],_=p[w],_&&(O=!0,w!=="_listeners"&&!Pe(_)&&delete p[w]);return O}function j(p,h,b){this.emitter=p,this.event=h,this.listener=b}j.prototype.off=function(){return this.emitter.off(this.event,this.listener),this};function $(p,h,b){if(b===!0)w=!0;else if(b===!1)_=!0;else{if(!b||typeof b!="object")throw TypeError("options should be an object or true");var _=b.async,w=b.promisify,O=b.nextTick,M=b.objectify}if(_||O||w){var A=h,v=h._origin||h;if(O&&!i)throw Error("process.nextTick is not supported");w===r&&(w=h.constructor.name==="AsyncFunction"),h=function(){var R=arguments,N=this,te=this.event;return w?O?Promise.resolve():new Promise(function(le){u(le)}).then(function(){return N.event=te,A.apply(N,R)}):(O?process.nextTick:u)(function(){N.event=te,A.apply(N,R)})},h._async=!0,h._origin=v}return[h,M?new j(this,p,h):this]}function D(p){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,d.call(this,p)}D.EventEmitter2=D,D.prototype.listenTo=function(p,h,b){if(typeof p!="object")throw TypeError("target musts be an object");var _=this;b=T(b,{on:r,off:r,reducers:r},{on:x,off:x,reducers:U});function w(O){if(typeof O!="object")throw TypeError("events must be an object");var M=b.reducers,A=re.call(_,p),v;A===-1?v=new y(_,p,b):v=_._observers[A];for(var R=l(O),N=R.length,te,le=typeof M=="function",fe=0;fe0;)w=b[_],(!p||w._target===p)&&(w.unsubscribe(h),O=!0);return O},D.prototype.delimiter=".",D.prototype.setMaxListeners=function(p){p!==r&&(this._maxListeners=p,this._conf||(this._conf={}),this._conf.maxListeners=p)},D.prototype.getMaxListeners=function(){return this._maxListeners},D.prototype.event="",D.prototype.once=function(p,h,b){return this._once(p,h,!1,b)},D.prototype.prependOnceListener=function(p,h,b){return this._once(p,h,!0,b)},D.prototype._once=function(p,h,b,_){return this._many(p,1,h,b,_)},D.prototype.many=function(p,h,b,_){return this._many(p,h,b,!1,_)},D.prototype.prependMany=function(p,h,b,_){return this._many(p,h,b,!0,_)},D.prototype._many=function(p,h,b,_,w){var O=this;if(typeof b!="function")throw new Error("many only accepts instances of Function");function M(){return--h===0&&O.off(p,M),b.apply(this,arguments)}return M._origin=b,this._on(p,M,_,w)},D.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var p=arguments[0],h,b=this.wildcard,_,w,O,M,A;if(p==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(b&&(h=p,p!=="newListener"&&p!=="removeListener"&&typeof p=="object")){if(w=p.length,s){for(O=0;O3)for(_=new Array(v-1),M=1;M3)for(w=new Array(R-1),A=1;A0&&this._events[p].length>this._maxListeners&&(this._events[p].warned=!0,f.call(this,this._events[p].length,p))):this._events[p]=h,w)},D.prototype.off=function(p,h){if(typeof h!="function")throw new Error("removeListener only takes instances of Function");var b,_=[];if(this.wildcard){var w=typeof p=="string"?p.split(this.delimiter):p.slice();if(_=H.call(this,null,w,this.listenerTree,0),!_)return this}else{if(!this._events[p])return this;b=this._events[p],_.push({_listeners:b})}for(var O=0;O<_.length;O++){var M=_[O];if(b=M._listeners,t(b)){for(var A=-1,v=0,R=b.length;v0){for(_=this._all,h=0,b=_.length;h0;)_=h[b[O]],typeof _=="function"?w.push(_):w.push.apply(w,_);return w}else{if(this.wildcard){if(M=this.listenerTree,!M)return[];var A=[],v=typeof p=="string"?p.split(this.delimiter):p.slice();return H.call(this,A,v,M,0),A}return h?(_=h[p],_?typeof _=="function"?[_]:_:[]):[]}},D.prototype.eventNames=function(p){var h=this._events;return this.wildcard?be.call(this,this.listenerTree,[],null,p):h?l(h):[]},D.prototype.listenerCount=function(p){return this.listeners(p).length},D.prototype.hasListeners=function(p){if(this.wildcard){var h=[],b=typeof p=="string"?p.split(this.delimiter):p.slice();return H.call(this,h,b,this.listenerTree,0),h.length>0}var _=this._events,w=this._all;return!!(w&&w.length||_&&(p===r?l(_).length:_[p]))},D.prototype.listenersAny=function(){return this._all?this._all:[]},D.prototype.waitFor=function(p,h){var b=this,_=typeof h;return _==="number"?h={timeout:h}:_==="function"&&(h={filter:h}),h=T(h,{timeout:0,filter:r,handleError:!1,Promise,overload:!1},{filter:x,Promise:k}),q(h.Promise,function(w,O,M){function A(){var v=h.filter;if(!(v&&!v.apply(b,arguments)))if(b.off(p,A),h.handleError){var R=arguments[0];R?O(R):w(m.apply(null,arguments).slice(1))}else w(m.apply(null,arguments))}M(function(){b.off(p,A)}),b._on(p,A,!1)},{timeout:h.timeout,overload:h.overload})};function V(p,h,b){b=T(b,{Promise,timeout:0,overload:!1},{Promise:k});var _=b.Promise;return q(_,function(w,O,M){var A;if(typeof p.addEventListener=="function"){A=function(){w(m.apply(null,arguments))},M(function(){p.removeEventListener(h,A)}),p.addEventListener(h,A,{once:!0});return}var v=function(){R&&p.removeListener("error",R),w(m.apply(null,arguments))},R;h!=="error"&&(R=function(N){p.removeListener(h,v),O(N)},p.once("error",R)),M(function(){R&&p.removeListener("error",R),p.removeListener(h,v)}),p.once(h,v)},{timeout:b.timeout,overload:b.overload})}var W=D.prototype;if(Object.defineProperties(D,{defaultMaxListeners:{get:function(){return W._maxListeners},set:function(p){if(typeof p!="number"||p<0||Number.isNaN(p))throw TypeError("n must be a non-negative number");W._maxListeners=p},enumerable:!0},once:{value:V,writable:!0,configurable:!0}}),Object.defineProperties(W,{_maxListeners:{value:n,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),typeof define=="function"&&define.amd)define(function(){return D});else if(typeof Tv=="object")_v.exports=D;else{var X=new Function("","return this")();X.EventEmitter2=D}})()});var xw=E(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});var Ow=Symbol("MustacheDataPath");function Sw({target:r,propertyName:e}){return[...r[Ow]||[],e]}function Dw(r,e){return typeof r!="object"?r:new Proxy(r,{get(t,n){let i=t[n];if(i===void 0&&!(n in t)){let s=Sw({target:t,propertyName:n});if(e!=null&&e.handleError)return e.handleError(s),i;throw Error(`Missing Mustache data property: ${s.join(" > ")}`)}return i&&typeof i=="object"?(i[Ow]=Sw({target:t,propertyName:n}),Dw(i,e)):i}})}oh.default=Dw});var Jr=E(Pr=>{"use strict";Pr.__esModule=!0;Pr.Tokens=Pr.StructuralCharacters=Pr.Operators=void 0;var jI;(function(r){r.AND="AND",r.OR="OR",r.XOR="XOR",r.NOT="NOT"})(jI=Pr.Operators||(Pr.Operators={}));var GI;(function(r){r.OPEN_PARENTHESIS="(",r.CLOSE_PARENTHESIS=")"})(GI=Pr.StructuralCharacters||(Pr.StructuralCharacters={}));var YI;(function(r){r.IDENTIFIER="IDENTIFIER",r.OPERATOR="OPERATOR",r.STRUCTURAL_CHARACTER="STRUCTURAL_CHARACTER",r.EOF="EOF",r.COMMENT="COMMENT"})(YI=Pr.Tokens||(Pr.Tokens={}))});var mh=E(Is=>{"use strict";Is.__esModule=!0;Is.VALID_TOKENS=Is.OPERATOR_PRECEDENCE=void 0;var qe=Jr();Is.OPERATOR_PRECEDENCE={NOT:0,XOR:1,AND:2,OR:3};Is.VALID_TOKENS={identifierOnly:[{name:qe.Tokens.IDENTIFIER},{name:qe.Tokens.STRUCTURAL_CHARACTER,value:qe.StructuralCharacters.OPEN_PARENTHESIS}],identifierOrNot:[{name:qe.Tokens.IDENTIFIER},{name:qe.Tokens.STRUCTURAL_CHARACTER,value:qe.StructuralCharacters.OPEN_PARENTHESIS},{name:qe.Tokens.OPERATOR,value:qe.Operators.NOT}],binaryOperator:[{name:qe.Tokens.OPERATOR,value:qe.Operators.AND},{name:qe.Tokens.OPERATOR,value:qe.Operators.OR},{name:qe.Tokens.OPERATOR,value:qe.Operators.XOR}],binaryOperatorOrClose:[{name:qe.Tokens.OPERATOR,value:qe.Operators.AND},{name:qe.Tokens.OPERATOR,value:qe.Operators.OR},{name:qe.Tokens.OPERATOR,value:qe.Operators.XOR},{name:qe.Tokens.STRUCTURAL_CHARACTER,value:qe.StructuralCharacters.CLOSE_PARENTHESIS}]}});var hh=E(Tt=>{"use strict";Tt.__esModule=!0;Tt.ESCAPE_CHARACTER=Tt.EOL=Tt.COMMENT_DELIMITER=Tt.QUOTED_IDENTIFIER_DELIMITER=Tt.SEPARATORS=Tt.OPERATORS=Tt.STRUCTURAL_CHARACTERS=void 0;var Fs=Jr();Tt.STRUCTURAL_CHARACTERS={"(":Fs.StructuralCharacters.OPEN_PARENTHESIS,")":Fs.StructuralCharacters.CLOSE_PARENTHESIS};Tt.OPERATORS={AND:Fs.Operators.AND,OR:Fs.Operators.OR,XOR:Fs.Operators.XOR,NOT:Fs.Operators.NOT};Tt.SEPARATORS=new Set([32,9,10,13].map(function(r){return String.fromCodePoint(r)}));Tt.QUOTED_IDENTIFIER_DELIMITER=String.fromCodePoint(34);Tt.COMMENT_DELIMITER=String.fromCodePoint(35);Tt.EOL=String.fromCodePoint(10);Tt.ESCAPE_CHARACTER=String.fromCodePoint(92)});var Nw=E(br=>{"use strict";var gh=br&&br.__assign||function(){return gh=Object.assign||function(r){for(var e,t=1,n=arguments.length;t{"use strict";Rl.__esModule=!0;Rl.lex=void 0;var Ls=Jr(),Zt=hh(),Us=Nw(),zI=function(r){for(var e=null,t=null,n=null,i=0;i{"use strict";var Fw=Jt&&Jt.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,s;n{"use strict";var en=qs&&qs.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,s;n{"use strict";_t.__esModule=!0;_t.throwInvalidExpression=_t.isOperator=_t.isIdentifier=_t.notUtil=_t.xorUtil=_t.orUtil=_t.andUtil=void 0;var qw=Jr(),tF=function(r,e){return r&&e};_t.andUtil=tF;var rF=function(r,e){return r||e};_t.orUtil=rF;var nF=function(r,e){return r!==e};_t.xorUtil=nF;var iF=function(r){return!r};_t.notUtil=iF;var sF=function(r){var e=r.name,t=r.value;return e===qw.Tokens.IDENTIFIER&&typeof t=="string"};_t.isIdentifier=sF;var aF=function(r){var e=r.name,t=r.value;return e===qw.Tokens.OPERATOR&&typeof t=="string"};_t.isOperator=aF;var oF=function(r){throw new TypeError("Invalid postfix expression: ".concat(r))};_t.throwInvalidExpression=oF});var $w=E(Al=>{"use strict";var No;Al.__esModule=!0;Al.OPERATOR_MAP=void 0;var _h=Jr(),vh=Th();Al.OPERATOR_MAP=(No={},No[_h.Operators.AND]=vh.andUtil,No[_h.Operators.OR]=vh.orUtil,No[_h.Operators.XOR]=vh.xorUtil,No)});var Gw=E(Cn=>{"use strict";var $s=Cn&&Cn.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,i=e.length,s;n{"use strict";var wh=tn&&tn.__createBinding||(Object.create?function(r,e,t,n){n===void 0&&(n=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(r,n,i)}:function(r,e,t,n){n===void 0&&(n=t),r[n]=e[t]});tn.__esModule=!0;tn.parse=tn.evaluate=tn.getEvaluator=void 0;var Yw=Gw();wh(tn,Yw,"getEvaluator");wh(tn,Yw,"evaluate");var fF=bh();wh(tn,fF,"parse")});var xF={};eE(xF,{default:()=>ac});module.exports=tE(xF);var Pk=require("obsidian");var hs=require("obsidian");var MF=new Error("timeout while waiting for mutex to become available"),CF=new Error("mutex already locked"),rE=new Error("request for lock canceled"),nE=function(r,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function o(c){try{l(n.next(c))}catch(d){a(d)}}function u(c){try{l(n.throw(c))}catch(d){a(d)}}function l(c){c.done?s(c.value):i(c.value).then(o,u)}l((n=n.apply(r,e||[])).next())})},_c=class{constructor(e,t=rE){this._value=e,this._cancelError=t,this._weightedQueues=[],this._weightedWaiters=[]}acquire(e=1){if(e<=0)throw new Error(`invalid weight ${e}: must be positive`);return new Promise((t,n)=>{this._weightedQueues[e-1]||(this._weightedQueues[e-1]=[]),this._weightedQueues[e-1].push({resolve:t,reject:n}),this._dispatch()})}runExclusive(e,t=1){return nE(this,void 0,void 0,function*(){let[n,i]=yield this.acquire(t);try{return yield e(n)}finally{i()}})}waitForUnlock(e=1){if(e<=0)throw new Error(`invalid weight ${e}: must be positive`);return new Promise(t=>{this._weightedWaiters[e-1]||(this._weightedWaiters[e-1]=[]),this._weightedWaiters[e-1].push(t),this._dispatch()})}isLocked(){return this._value<=0}getValue(){return this._value}setValue(e){this._value=e,this._dispatch()}release(e=1){if(e<=0)throw new Error(`invalid weight ${e}: must be positive`);this._value+=e,this._dispatch()}cancel(){this._weightedQueues.forEach(e=>e.forEach(t=>t.reject(this._cancelError))),this._weightedQueues=[]}_dispatch(){var e;for(let t=this._value;t>0;t--){let n=(e=this._weightedQueues[t-1])===null||e===void 0?void 0:e.shift();if(!n)continue;let i=this._value,s=t;this._value-=t,t=this._value+1,n.resolve([i,this._newReleaser(s)])}this._drainUnlockWaiters()}_newReleaser(e){let t=!1;return()=>{t||(t=!0,this.release(e))}}_drainUnlockWaiters(){for(let e=this._value;e>0;e--)!this._weightedWaiters[e-1]||(this._weightedWaiters[e-1].forEach(t=>t()),this._weightedWaiters[e-1]=[])}},iE=function(r,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function o(c){try{l(n.next(c))}catch(d){a(d)}}function u(c){try{l(n.throw(c))}catch(d){a(d)}}function l(c){c.done?s(c.value):i(c.value).then(o,u)}l((n=n.apply(r,e||[])).next())})},Bo=class{constructor(e){this._semaphore=new _c(1,e)}acquire(){return iE(this,void 0,void 0,function*(){let[,e]=yield this._semaphore.acquire();return e})}runExclusive(e){return this._semaphore.runExclusive(()=>e())}isLocked(){return this._semaphore.isLocked()}waitForUnlock(){return this._semaphore.waitForUnlock()}release(){this._semaphore.isLocked()&&this._semaphore.release()}cancel(){return this._semaphore.cancel()}};var Ve=class{constructor(e){this._path=e}get path(){return this._path}get pathWithoutExtension(){return this.withoutExtension(this.path)}withoutExtension(e){return e.replace(/\.md$/,"")}get root(){let e=this.path.replace(/\\/g,"/");e.charAt(0)==="/"&&(e=e.substring(1));let t=e.indexOf("/");return t==-1?"/":e.substring(0,t+1)}get folder(){let e=this.path,t=this.filename,n=e.substring(0,e.lastIndexOf(t));return n===""?"/":n}get filename(){let e=this.path.match(/([^/]+)$/);return e!==null?e[1]:""}get filenameWithoutExtension(){return this.withoutExtension(this.filename)}};var Bi=class{constructor(e,t){this.parent=null;this.children=[];this.originalMarkdown=e,this.parent=t,t!==null&&t.children.push(this)}};var Lu=ia(ze());var kt=class{constructor(e,t){this.start=e,this.end=t,t.isBefore(e)&&(this.start=t,this.end=e),this.start=this.start.startOf("day"),this.end=this.end.startOf("day")}static buildRelative(e){let t=e==="week"?"isoWeek":e;return new kt(window.moment().startOf(t).startOf("day"),window.moment().endOf(t).startOf("day"))}static buildInvalid(){return new kt(window.moment.invalid(),window.moment.invalid())}isValid(){return this.start.isValid()&&this.end.isValid()}moveToPrevious(e){let t=window.moment.duration(1,e);this.start.subtract(t),this.end.subtract(t),(e==="month"||e==="quarter")&&(this.end=this.end.endOf(e).startOf("day"))}moveToNext(e){let t=window.moment.duration(1,e);this.start.add(t),this.end.add(t),(e==="month"||e==="quarter")&&(this.end=this.end.endOf(e).startOf("day"))}};var Yt=class{static parseDate(e,t=!1){return window.moment(Lu.parseDate(e,void 0,{forwardDate:t})).startOf("day")}static parseDateRange(e,t=!1){let n=[Yt.parseRelativeDateRange,Yt.parseNumberedDateRange,Yt.parseAbsoluteDateRange];for(let i of n){let s=i(e,t);if(s.isValid())return s}return kt.buildInvalid()}static parseAbsoluteDateRange(e,t){let n=Lu.parse(e,void 0,{forwardDate:t});if(n.length===0)return kt.buildInvalid();let i=n[0].start,s=n[1]&&n[1].start?n[1].start:i,a=window.moment(i.date()),o=window.moment(s.date());return new kt(a,o)}static parseRelativeDateRange(e,t){let n=/(last|this|next) (week|month|quarter|year)/,i=e.match(n);if(i&&i.length===3){let s=i[1],a=i[2],o=kt.buildRelative(a);switch(s){case"last":o.moveToPrevious(a);break;case"next":o.moveToNext(a);break}return o}return kt.buildInvalid()}static parseNumberedDateRange(e,t){let n=[[/^\s*[0-9]{4}\s*$/,"YYYY","year"],[/^\s*[0-9]{4}-Q[1-4]\s*$/,"YYYY-Q","quarter"],[/^\s*[0-9]{4}-[0-9]{2}\s*$/,"YYYY-MM","month"],[/^\s*[0-9]{4}-W[0-9]{2}\s*$/,"YYYY-WW","isoWeek"]];for(let[i,s,a]of n){let o=e.match(i);if(o){let u=o[0].trim();return new kt(window.moment(u,s).startOf(a),window.moment(u,s).endOf(a))}}return kt.buildInvalid()}};var wP={td:"today",tm:"tomorrow",yd:"yesterday",tw:"this week",nw:"next week",weekend:"sat",we:"sat"};function Uu(r){for(let[e,t]of Object.entries(wP))r=r.replace(RegExp(`\\b${e}\\s`,"i"),t);return r}var Wu=["MO","TU","WE","TH","FR","SA","SU"],He=function(){function r(e,t){if(t===0)throw new Error("Can't create weekday with n == 0");this.weekday=e,this.n=t}return r.fromStr=function(e){return new r(Wu.indexOf(e))},r.prototype.nth=function(e){return this.n===e?this:new r(this.weekday,e)},r.prototype.equals=function(e){return this.weekday===e.weekday&&this.n===e.n},r.prototype.toString=function(){var e=Wu[this.weekday];return this.n&&(e=(this.n>0?"+":"")+String(this.n)+e),e},r.prototype.getJsWeekday=function(){return this.weekday===6?0:this.weekday+1},r}();var Fe=function(r){return r!=null},Bt=function(r){return typeof r=="number"},dm=function(r){return typeof r=="string"&&Wu.includes(r)},ct=Array.isArray,cr=function(r,e){e===void 0&&(e=r),arguments.length===1&&(e=r,r=0);for(var t=[],n=r;n>0,n.length>e?String(n):(e=e-n.length,e>t.length&&(t+=ye(t,e/t.length)),t.slice(0,e)+String(n))}var w_=function(r,e,t){var n=r.split(e);return t?n.slice(0,t).concat([n.slice(t).join(e)]):n},mt=function(r,e){var t=r%e;return t*e<0?t+e:t},qu=function(r,e){return{div:Math.floor(r/e),mod:mt(r,e)}},Ht=function(r){return!Fe(r)||r.length===0},$e=function(r){return!Ht(r)},Te=function(r,e){return $e(r)&&r.indexOf(e)!==-1};var Gr=function(r,e,t,n,i,s){return n===void 0&&(n=0),i===void 0&&(i=0),s===void 0&&(s=0),new Date(Date.UTC(r,e-1,t,n,i,s))},kP=[31,28,31,30,31,30,31,31,30,31,30,31],S_=1e3*60*60*24,$u=9999,O_=Gr(1970,1,1),EP=[6,0,1,2,3,4,5];var us=function(r){return r%4===0&&r%100!==0||r%400===0},fm=function(r){return r instanceof Date},Ti=function(r){return fm(r)&&!isNaN(r.getTime())},k_=function(r){return r.getTimezoneOffset()*60*1e3},SP=function(r,e){var t=r.getTime()-k_(r),n=e.getTime()-k_(e),i=t-n;return Math.round(i/S_)},so=function(r){return SP(r,O_)},ju=function(r){return new Date(O_.getTime()+r*S_)},OP=function(r){var e=r.getUTCMonth();return e===1&&us(r.getUTCFullYear())?29:kP[e]},yn=function(r){return EP[r.getUTCDay()]},pm=function(r,e){var t=Gr(r,e+1,1);return[yn(t),OP(t)]},Gu=function(r,e){return e=e||r,new Date(Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))},Yu=function(r){var e=new Date(r.getTime());return e},mm=function(r){for(var e=[],t=0;tthis.maxDate;if(this.method==="between"){if(t)return!0;if(n)return!1}else if(this.method==="before"){if(n)return!1}else if(this.method==="after")return t?!0:(this.add(e),!1);return this.add(e)},r.prototype.add=function(e){return this._result.push(e),!0},r.prototype.getValue=function(){var e=this._result;switch(this.method){case"all":case"between":return e;case"before":case"after":default:return e.length?e[e.length-1]:null}},r.prototype.clone=function(){return new r(this.method,this.args)},r}(),Tn=DP;var hm=function(r,e){return hm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])},hm(r,e)};function cs(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");hm(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var dt=function(){return dt=Object.assign||function(e){for(var t,n=1,i=arguments.length;ne[0].length)&&(e=s,t=i)}if(e!=null&&(this.text=this.text.substr(e[0].length),this.text===""&&(this.done=!0)),e==null){this.done=!0,this.symbol=null,this.value=null;return}}while(t==="SKIP");return this.symbol=t,this.value=e,!0},r.prototype.accept=function(e){if(this.symbol===e){if(this.value){var t=this.value;return this.nextSymbol(),t}return this.nextSymbol(),!0}return!1},r.prototype.acceptNumber=function(){return this.accept("number")},r.prototype.expect=function(e){if(this.accept(e))return!0;throw new Error("expected "+e+" but found "+this.symbol)},r}();function oo(r,e){e===void 0&&(e=_i);var t={},n=new PP(e.tokens);if(!n.start(r))return null;return i(),t;function i(){n.expect("every");var f=n.acceptNumber();if(f&&(t.interval=parseInt(f[0],10)),n.isDone())throw new Error("Unexpected end");switch(n.symbol){case"day(s)":t.freq=z.DAILY,n.nextSymbol()&&(a(),d());break;case"weekday(s)":t.freq=z.WEEKLY,t.byweekday=[z.MO,z.TU,z.WE,z.TH,z.FR],n.nextSymbol(),d();break;case"week(s)":t.freq=z.WEEKLY,n.nextSymbol()&&(s(),d());break;case"hour(s)":t.freq=z.HOURLY,n.nextSymbol()&&(s(),d());break;case"minute(s)":t.freq=z.MINUTELY,n.nextSymbol()&&(s(),d());break;case"month(s)":t.freq=z.MONTHLY,n.nextSymbol()&&(s(),d());break;case"year(s)":t.freq=z.YEARLY,n.nextSymbol()&&(s(),d());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":t.freq=z.WEEKLY;var m=n.symbol.substr(0,2).toUpperCase();if(t.byweekday=[z[m]],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var g=u();if(!g)throw new Error("Unexpected symbol "+n.symbol+", expected weekday");t.byweekday.push(z[g]),n.nextSymbol()}c(),d();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(t.freq=z.YEARLY,t.bymonth=[o()],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var y=o();if(!y)throw new Error("Unexpected symbol "+n.symbol+", expected month");t.bymonth.push(y),n.nextSymbol()}s(),d();break;default:throw new Error("Unknown symbol")}}function s(){var f=n.accept("on"),m=n.accept("the");if(!!(f||m))do{var g=l(),y=u(),T=o();if(g)y?(n.nextSymbol(),t.byweekday||(t.byweekday=[]),t.byweekday.push(z[y].nth(g))):(t.bymonthday||(t.bymonthday=[]),t.bymonthday.push(g),n.accept("day(s)"));else if(y)n.nextSymbol(),t.byweekday||(t.byweekday=[]),t.byweekday.push(z[y]);else if(n.symbol==="weekday(s)")n.nextSymbol(),t.byweekday||(t.byweekday=[z.MO,z.TU,z.WE,z.TH,z.FR]);else if(n.symbol==="week(s)"){n.nextSymbol();var k=n.acceptNumber();if(!k)throw new Error("Unexpected symbol "+n.symbol+", expected week number");for(t.byweekno=[parseInt(k[0],10)];n.accept("comma");){if(k=n.acceptNumber(),!k)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");t.byweekno.push(parseInt(k[0],10))}}else if(T)n.nextSymbol(),t.bymonth||(t.bymonth=[]),t.bymonth.push(T);else return}while(n.accept("comma")||n.accept("the")||n.accept("on"))}function a(){var f=n.accept("at");if(!!f)do{var m=n.acceptNumber();if(!m)throw new Error("Unexpected symbol "+n.symbol+", expected hour");for(t.byhour=[parseInt(m[0],10)];n.accept("comma");){if(m=n.acceptNumber(),!m)throw new Error("Unexpected symbol "+n.symbol+"; expected hour");t.byhour.push(parseInt(m[0],10))}}while(n.accept("comma")||n.accept("at"))}function o(){switch(n.symbol){case"january":return 1;case"february":return 2;case"march":return 3;case"april":return 4;case"may":return 5;case"june":return 6;case"july":return 7;case"august":return 8;case"september":return 9;case"october":return 10;case"november":return 11;case"december":return 12;default:return!1}}function u(){switch(n.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return n.symbol.substr(0,2).toUpperCase();default:return!1}}function l(){switch(n.symbol){case"last":return n.nextSymbol(),-1;case"first":return n.nextSymbol(),1;case"second":return n.nextSymbol(),n.accept("last")?-2:2;case"third":return n.nextSymbol(),n.accept("last")?-3:3;case"nth":var f=parseInt(n.value[1],10);if(f<-366||f>366)throw new Error("Nth out of range: "+f);return n.nextSymbol(),n.accept("last")?-f:f;default:return!1}}function c(){n.accept("on"),n.accept("the");var f=l();if(!!f)for(t.bymonthday=[f],n.nextSymbol();n.accept("comma");){if(f=l(),!f)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");t.bymonthday.push(f),n.nextSymbol()}}function d(){if(n.symbol==="until"){var f=Date.parse(n.text);if(!f)throw new Error("Cannot parse until date:"+n.text);t.until=new Date(f)}else n.accept("for")&&(t.count=parseInt(n.value[0],10),n.expect("number"))}}var me;(function(r){r[r.YEARLY=0]="YEARLY",r[r.MONTHLY=1]="MONTHLY",r[r.WEEKLY=2]="WEEKLY",r[r.DAILY=3]="DAILY",r[r.HOURLY=4]="HOURLY",r[r.MINUTELY=5]="MINUTELY",r[r.SECONDLY=6]="SECONDLY"})(me||(me={}));function uo(r){return r12){var n=Math.floor(this.month/12),i=mt(this.month,12);this.month=i,this.year+=n,this.month===0&&(this.month=12,--this.year)}},e.prototype.addWeekly=function(t,n){n>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-n))+t*7:this.day+=-(this.getWeekday()-n)+t*7,this.fixDay()},e.prototype.addDaily=function(t){this.day+=t,this.fixDay()},e.prototype.addHours=function(t,n,i){for(n&&(this.hour+=Math.floor((23-this.hour)/t)*t);;){this.hour+=t;var s=qu(this.hour,24),a=s.div,o=s.mod;if(a&&(this.hour=o,this.addDaily(a)),Ht(i)||Te(i,this.hour))break}},e.prototype.addMinutes=function(t,n,i,s){for(n&&(this.minute+=Math.floor((1439-(this.hour*60+this.minute))/t)*t);;){this.minute+=t;var a=qu(this.minute,60),o=a.div,u=a.mod;if(o&&(this.minute=u,this.addHours(o,!1,i)),(Ht(i)||Te(i,this.hour))&&(Ht(s)||Te(s,this.minute)))break}},e.prototype.addSeconds=function(t,n,i,s,a){for(n&&(this.second+=Math.floor((86399-(this.hour*3600+this.minute*60+this.second))/t)*t);;){this.second+=t;var o=qu(this.second,60),u=o.div,l=o.mod;if(u&&(this.second=l,this.addMinutes(u,!1,i,s)),(Ht(i)||Te(i,this.hour))&&(Ht(s)||Te(s,this.minute))&&(Ht(a)||Te(a,this.second)))break}},e.prototype.fixDay=function(){if(!(this.day<=28)){var t=pm(this.year,this.month-1)[1];if(!(this.day<=t))for(;this.day>t;){if(this.day-=t,++this.month,this.month===13&&(this.month=1,++this.year,this.year>$u))return;t=pm(this.year,this.month-1)[1]}}},e.prototype.add=function(t,n){var i=t.freq,s=t.interval,a=t.wkst,o=t.byhour,u=t.byminute,l=t.bysecond;switch(i){case me.YEARLY:return this.addYears(s);case me.MONTHLY:return this.addMonths(s);case me.WEEKLY:return this.addWeekly(s,a);case me.DAILY:return this.addDaily(s);case me.HOURLY:return this.addHours(s,n,o);case me.MINUTELY:return this.addMinutes(s,n,o,u);case me.SECONDLY:return this.addSeconds(s,n,o,u,l)}},e}(fs);function ym(r){for(var e=[],t=Object.keys(r),n=0,i=t;n=-366&&n<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(Boolean(e.byweekno)||$e(e.byweekno)||$e(e.byyearday)||Boolean(e.bymonthday)||$e(e.bymonthday)||Fe(e.byweekday)||Fe(e.byeaster)))switch(e.freq){case z.YEARLY:e.bymonth||(e.bymonth=e.dtstart.getUTCMonth()+1),e.bymonthday=e.dtstart.getUTCDate();break;case z.MONTHLY:e.bymonthday=e.dtstart.getUTCDate();break;case z.WEEKLY:e.byweekday=[yn(e.dtstart)];break}if(Fe(e.bymonth)&&!ct(e.bymonth)&&(e.bymonth=[e.bymonth]),Fe(e.byyearday)&&!ct(e.byyearday)&&Bt(e.byyearday)&&(e.byyearday=[e.byyearday]),!Fe(e.bymonthday))e.bymonthday=[],e.bynmonthday=[];else if(ct(e.bymonthday)){for(var i=[],s=[],t=0;t0?i.push(n):n<0&&s.push(n)}e.bymonthday=i,e.bynmonthday=s}else e.bymonthday<0?(e.bynmonthday=[e.bymonthday],e.bymonthday=[]):(e.bynmonthday=[],e.bymonthday=[e.bymonthday]);if(Fe(e.byweekno)&&!ct(e.byweekno)&&(e.byweekno=[e.byweekno]),!Fe(e.byweekday))e.bynweekday=null;else if(Bt(e.byweekday))e.byweekday=[e.byweekday],e.bynweekday=null;else if(dm(e.byweekday))e.byweekday=[He.fromStr(e.byweekday).weekday],e.bynweekday=null;else if(e.byweekday instanceof He)!e.byweekday.n||e.freq>z.MONTHLY?(e.byweekday=[e.byweekday.weekday],e.bynweekday=null):(e.bynweekday=[[e.byweekday.weekday,e.byweekday.n]],e.byweekday=null);else{for(var a=[],o=[],t=0;tz.MONTHLY?a.push(u.weekday):o.push([u.weekday,u.n])}e.byweekday=$e(a)?a:null,e.bynweekday=$e(o)?o:null}return Fe(e.byhour)?Bt(e.byhour)&&(e.byhour=[e.byhour]):e.byhour=e.freq=4?(c=0,l=o.yearlen+mt(a-e.wkst,7)):l=n-c;for(var d=Math.floor(l/7),f=mt(l,7),m=Math.floor(d+f/4),g=0;g0&&y<=m){var T=void 0;y>1?(T=c+(y-1)*7,c!==u&&(T-=7-u)):T=c;for(var k=0;k<7&&(o.wnomask[T]=1,T++,o.wdaymask[T]!==e.wkst);k++);}}if(Te(e.byweekno,1)){var T=c+m*7;if(c!==u&&(T-=7-u),T=4?(U=0,re=q+mt(x-e.wkst,7)):re=n-c,S=Math.floor(52+mt(re,7)/4)}if(Te(e.byweekno,S))for(var T=0;Ts)return _n(r);if(S>=t){var x=Z_(S,e);if(!r.accept(x)||o&&(--o,!o))return _n(r)}}else for(var k=m;ks)return _n(r);if(S>=t){var x=Z_(S,e);if(!r.accept(x)||o&&(--o,!o))return _n(r)}}}if(e.interval===0||(u.add(e,y),u.year>$u))return _n(r);uo(n)||(c=l.gettimeset(n)(u.hour,u.minute,u.second,0)),l.rebuild(u.year,u.month)}}function BP(r,e,t){var n=t.bymonth,i=t.byweekno,s=t.byweekday,a=t.byeaster,o=t.bymonthday,u=t.bynmonthday,l=t.byyearday;return $e(n)&&!Te(n,r.mmask[e])||$e(i)&&!r.wnomask[e]||$e(s)&&!Te(s,r.wdaymask[e])||$e(r.nwdaymask)&&!r.nwdaymask[e]||a!==null&&!Te(r.eastermask,e)||($e(o)||$e(u))&&!Te(o,r.mdaymask[e])&&!Te(u,r.nmdaymask[e])||$e(l)&&(e=r.yearlen&&!Te(l,e+1-r.yearlen)&&!Te(l,-r.nextyearlen+e-r.yearlen))}function Z_(r,e){return new vi(r,e.tzid).rezonedDate()}function _n(r){return r.getValue()}function HP(r,e,t,n,i){for(var s=!1,a=e;a=z.HOURLY&&$e(i)&&!Te(i,e.hour)||n>=z.MINUTELY&&$e(s)&&!Te(s,e.minute)||n>=z.SECONDLY&&$e(a)&&!Te(a,e.second)?[]:r.gettimeset(n)(e.hour,e.minute,e.second,e.millisecond)}var dr={MO:new He(0),TU:new He(1),WE:new He(2),TH:new He(3),FR:new He(4),SA:new He(5),SU:new He(6)},lo={freq:me.YEARLY,dtstart:null,interval:1,wkst:dr.MO,count:null,until:null,tzid:null,bysetpos:null,bymonth:null,bymonthday:null,bynmonthday:null,byyearday:null,byweekno:null,byweekday:null,bynweekday:null,byhour:null,byminute:null,bysecond:null,byeaster:null},I_=Object.keys(lo),z=function(){function r(e,t){e===void 0&&(e={}),t===void 0&&(t=!1),this._cache=t?null:new U_,this.origOptions=ym(e);var n=P_(e).parsedOptions;this.options=n}return r.parseText=function(e,t){return oo(e,t)},r.fromText=function(e,t){return R_(e,t)},r.fromString=function(e){return new r(r.parseString(e)||void 0)},r.prototype._iter=function(e){return Bu(e,this.options)},r.prototype._cacheGet=function(e,t){return this._cache?this._cache._cacheGet(e,t):!1},r.prototype._cacheAdd=function(e,t,n){if(!!this._cache)return this._cache._cacheAdd(e,t,n)},r.prototype.all=function(e){if(e)return this._iter(new gm("all",{},e));var t=this._cacheGet("all");return t===!1&&(t=this._iter(new Tn("all",{})),this._cacheAdd("all",t)),t},r.prototype.between=function(e,t,n,i){if(n===void 0&&(n=!1),!Ti(e)||!Ti(t))throw new Error("Invalid date passed in to RRule.between");var s={before:t,after:e,inc:n};if(i)return this._iter(new gm("between",s,i));var a=this._cacheGet("between",s);return a===!1&&(a=this._iter(new Tn("between",s)),this._cacheAdd("between",a,s)),a},r.prototype.before=function(e,t){if(t===void 0&&(t=!1),!Ti(e))throw new Error("Invalid date passed in to RRule.before");var n={dt:e,inc:t},i=this._cacheGet("before",n);return i===!1&&(i=this._iter(new Tn("before",n)),this._cacheAdd("before",i,n)),i},r.prototype.after=function(e,t){if(t===void 0&&(t=!1),!Ti(e))throw new Error("Invalid date passed in to RRule.after");var n={dt:e,inc:t},i=this._cacheGet("after",n);return i===!1&&(i=this._iter(new Tn("after",n)),this._cacheAdd("after",i,n)),i},r.prototype.count=function(){return this.all().length},r.prototype.toString=function(){return po(this.origOptions)},r.prototype.toText=function(e,t,n){return M_(this,e,t,n)},r.prototype.isFullyConvertibleToText=function(){return C_(this)},r.prototype.clone=function(){return new r(this.origOptions)},r.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],r.YEARLY=me.YEARLY,r.MONTHLY=me.MONTHLY,r.WEEKLY=me.WEEKLY,r.DAILY=me.DAILY,r.HOURLY=me.HOURLY,r.MINUTELY=me.MINUTELY,r.SECONDLY=me.SECONDLY,r.MO=dr.MO,r.TU=dr.TU,r.WE=dr.WE,r.TH=dr.TH,r.FR=dr.FR,r.SA=dr.SA,r.SU=dr.SU,r.parseString=fo,r.optionsToString=po,r}();function J_(r,e,t,n,i,s){var a={},o=r.accept;function u(f,m){t.forEach(function(g){g.between(f,m,!0).forEach(function(y){a[Number(y)]=!0})})}i.forEach(function(f){var m=new vi(f,s).rezonedDate();a[Number(m)]=!0}),r.accept=function(f){var m=Number(f);return isNaN(m)?o.call(this,f):!a[m]&&(u(new Date(m-1),new Date(m+1)),!a[m])?(a[m]=!0,o.call(this,f)):!0},r.method==="between"&&(u(r.args.after,r.args.before),r.accept=function(f){var m=Number(f);return a[m]?!0:(a[m]=!0,o.call(this,f))});for(var l=0;l1||i.length||s.length||a.length){var c=new _m(l);return c.dtstart(o),c.tzid(u||void 0),n.forEach(function(f){c.rrule(new z(Tm(f,o,u),l))}),i.forEach(function(f){c.rdate(f)}),s.forEach(function(f){c.exrule(new z(Tm(f,o,u),l))}),a.forEach(function(f){c.exdate(f)}),e.compatible&&e.dtstart&&c.rdate(o),c}var d=n[0]||{};return new z(Tm(d,d.dtstart||e.dtstart||o,d.tzid||e.tzid||u),l)}function Hu(r,e){return e===void 0&&(e={}),KP(r,QP(e))}function Tm(r,e,t){return dt(dt({},r),{dtstart:e,tzid:t})}function QP(r){var e=[],t=Object.keys(r),n=Object.keys(ev);if(t.forEach(function(i){Te(n,i)||e.push(i)}),e.length)throw new Error("Invalid options: "+e.join(", "));return dt(dt({},ev),r)}function XP(r){if(r.indexOf(":")===-1)return{name:"RRULE",value:r};var e=w_(r,":",1),t=e[0],n=e[1];return{name:t,value:n}}function ZP(r){var e=XP(r),t=e.name,n=e.value,i=t.split(";");if(!i)throw new Error("empty property name");return{name:i[0].toUpperCase(),parms:i.slice(1),value:n}}function JP(r,e){if(e===void 0&&(e=!1),r=r&&r.trim(),!r)throw new Error("Invalid empty string");if(!e)return r.split(/\s/);for(var t=r.split(` +`),n=0;n0&&i[0]===" "?(t[n-1]+=i.slice(1),t.splice(n,1)):n+=1:t.splice(n,1)}return t}function eN(r){r.forEach(function(e){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(e))throw new Error("unsupported RDATE/EXDATE parm: "+e)})}function tv(r,e){return eN(e),r.split(",").map(function(t){return ao(t)})}function rv(r){var e=this;return function(t){if(t!==void 0&&(e["_".concat(r)]=t),e["_".concat(r)]!==void 0)return e["_".concat(r)];for(var n=0;nno ${r} date`;let n=vm.parseDate(e,t,{forwardDate:t!=null});return n!==null?window.moment(n).format("YYYY-MM-DD"):`invalid ${r} date`}function av(r,e,t){return tN(r,e,t?new Date:void 0)}function wi(r,e){let t=null,n=vm.parseDate(r,new Date,{forwardDate:e});return n!==null&&(t=window.moment(n)),t}var st=class{constructor({rrule:e,baseOnToday:t,referenceDate:n,startDate:i,scheduledDate:s,dueDate:a}){this.rrule=e,this.baseOnToday=t,this.referenceDate=n,this.startDate=i,this.scheduledDate=s,this.dueDate=a}static fromText({recurrenceRuleText:e,startDate:t,scheduledDate:n,dueDate:i}){try{let s=e.match(/^([a-zA-Z0-9, !]+?)( when done)?$/i);if(s==null)return null;let a=s[1].trim(),o=s[2]!==void 0,u=z.parseText(a);if(u!==null){let l=null;i?l=window.moment(i):n?l=window.moment(n):t&&(l=window.moment(t)),!o&&l!==null?u.dtstart=window.moment(l).startOf("day").utc(!0).toDate():u.dtstart=window.moment().startOf("day").utc(!0).toDate();let c=new z(u);return new st({rrule:c,baseOnToday:o,referenceDate:l,startDate:t,scheduledDate:n,dueDate:i})}}catch(s){s instanceof Error&&console.log(s.message)}return null}toText(){let e=this.rrule.toText();return this.baseOnToday&&(e+=" when done"),e}next(e=window.moment()){let t=this.nextReferenceDate(e);if(t!==null){let n=null,i=null,s=null;if(this.referenceDate){if(this.startDate){let a=window.moment.duration(this.startDate.diff(this.referenceDate));n=window.moment(t),n.add(Math.round(a.asDays()),"days")}if(this.scheduledDate){let a=window.moment.duration(this.scheduledDate.diff(this.referenceDate));i=window.moment(t),i.add(Math.round(a.asDays()),"days")}if(this.dueDate){let a=window.moment.duration(this.dueDate.diff(this.referenceDate));s=window.moment(t),s.add(Math.round(a.asDays()),"days")}}return{startDate:n,scheduledDate:i,dueDate:s}}return null}identicalTo(e){return this.baseOnToday!==e.baseOnToday||fr(this.startDate,e.startDate)!==0||fr(this.scheduledDate,e.scheduledDate)!==0||fr(this.dueDate,e.dueDate)!==0?!1:this.toText()===e.toText()}nextReferenceDate(e){return this.baseOnToday?this.nextReferenceDateFromToday(e).toDate():this.nextReferenceDateFromOriginalReferenceDate().toDate()}nextReferenceDateFromToday(e){let t=new z(he(K({},this.rrule.origOptions),{dtstart:e.startOf("day").utc(!0).toDate()}));return this.nextAfter(e.endOf("day"),t)}nextReferenceDateFromOriginalReferenceDate(){var t;let e=window.moment((t=this.referenceDate)!=null?t:void 0).endOf("day");return this.nextAfter(e,this.rrule)}nextAfter(e,t){e.utc(!0);let n=window.moment(t.after(e.toDate())),i=this.toText(),s=i.match(/every( \d+)? month(s)?(.*)?/);s!==null&&(i.includes(" on ")||(n=st.nextAfterMonths(e,n,t,s[1])));let a=i.match(/every( \d+)? year(s)?(.*)?/);return a!==null&&(n=st.nextAfterYears(e,n,t,a[1])),st.addTimezone(n)}static nextAfterMonths(e,t,n,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));st.isSkippingTooManyMonths(e,t,s);)t=st.fromOneDayEarlier(e,n);return t}static isSkippingTooManyMonths(e,t,n){let i=t.month()-e.month();return i+=(t.year()-e.year())*12,i>n}static nextAfterYears(e,t,n,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));st.isSkippingTooManyYears(e,t,s);)t=st.fromOneDayEarlier(e,n);return t}static isSkippingTooManyYears(e,t,n){return t.year()-e.year()>n}static fromOneDayEarlier(e,t){e.subtract(1,"days").endOf("day");let n=t.origOptions;return n.dtstart=e.startOf("day").toDate(),t=new z(n),window.moment(t.after(e.toDate()))}static addTimezone(e){return window.moment.utc(e).local(!0).startOf("day")}};var fs=(f=>(f.Description="description",f.Id="id",f.DependsOn="dependsOn",f.Priority="priority",f.RecurrenceRule="recurrenceRule",f.CreatedDate="createdDate",f.StartDate="startDate",f.ScheduledDate="scheduledDate",f.DueDate="dueDate",f.CancelledDate="cancelledDate",f.DoneDate="doneDate",f.BlockLink="blockLink",f))(fs||{}),Hu=Object.values(fs),Br=class{constructor(){this.visible={};this.tagsVisible=!0;Hu.forEach(e=>{this.visible[e]=!0})}isShown(e){return this.visible[e]}areTagsShown(){return this.tagsVisible}hide(e){this.visible[e]=!1}setVisibility(e,t){this.visible[e]=t}setTagsVisibility(e){this.tagsVisible=e}get shownComponents(){return Hu.filter(e=>this.visible[e])}get hiddenComponents(){return Hu.filter(e=>!this.visible[e])}get toggleableComponents(){return Hu.filter(e=>e!=="description"&&e!=="blockLink")}toggleVisibilityExceptDescriptionAndBlockLink(){this.toggleableComponents.forEach(e=>{this.visible[e]=!this.visible[e]}),this.setTagsVisibility(!this.areTagsShown())}};var Vt=class{},J=Vt;J.dateFormat="YYYY-MM-DD",J.dateTimeFormat="YYYY-MM-DD HH:mm",J.indentationRegex=/^([\s\t>]*)/,J.listMarkerRegex=/([-*+]|[0-9]+\.)/,J.checkboxRegex=/\[(.)\]/u,J.afterCheckboxRegex=/ *(.*)/u,J.taskRegex=new RegExp(Vt.indentationRegex.source+Vt.listMarkerRegex.source+" +"+Vt.checkboxRegex.source+Vt.afterCheckboxRegex.source,"u"),J.nonTaskRegex=new RegExp(Vt.indentationRegex.source+Vt.listMarkerRegex.source+"? *("+Vt.checkboxRegex.source+")?"+Vt.afterCheckboxRegex.source,"u"),J.listItemRegex=new RegExp(Vt.indentationRegex.source+Vt.listMarkerRegex.source),J.blockLinkRegex=/ \^[a-zA-Z0-9-]+$/u,J.hashTags=/(^|\s)#[^ !@#$%^&*(),.?":{}|<>]+/g,J.hashTagsFromEnd=new RegExp(Vt.hashTags.source+"$");var ki=/[a-zA-Z0-9-_]+/,km=new RegExp(ki.source+"( *, *"+ki.source+" *)*"),po={prioritySymbols:{Highest:"\u{1F53A}",High:"\u23EB",Medium:"\u{1F53C}",Low:"\u{1F53D}",Lowest:"\u23EC",None:""},startDateSymbol:"\u{1F6EB}",createdDateSymbol:"\u2795",scheduledDateSymbol:"\u23F3",dueDateSymbol:"\u{1F4C5}",doneDateSymbol:"\u2705",cancelledDateSymbol:"\u274C",recurrenceSymbol:"\u{1F501}",dependsOnSymbol:"\u26D4",idSymbol:"\u{1F194}",TaskFormatRegularExpressions:{priorityRegex:/([🔺⏫🔼🔽⏬])\uFE0F?$/u,startDateRegex:/🛫 *(\d{4}-\d{2}-\d{2})$/u,createdDateRegex:/➕ *(\d{4}-\d{2}-\d{2})$/u,scheduledDateRegex:/[⏳⌛] *(\d{4}-\d{2}-\d{2})$/u,dueDateRegex:/[📅📆🗓] *(\d{4}-\d{2}-\d{2})$/u,doneDateRegex:/✅ *(\d{4}-\d{2}-\d{2})$/u,cancelledDateRegex:/❌ *(\d{4}-\d{2}-\d{2})$/u,recurrenceRegex:/🔁 ?([a-zA-Z0-9, !]+)$/iu,dependsOnRegex:new RegExp("\u26D4\uFE0F? *("+km.source+")$","iu"),idRegex:new RegExp("\u{1F194} *("+ki.source+")$","iu")}};function wm(r,e,t){return t?r?" "+e:` ${e} ${t}`:""}function ps(r,e,t){return t?r?" "+e:` ${e} ${t.format(J.dateFormat)}`:""}function ov(){let r=[];return Object.values(po.prioritySymbols).forEach(e=>{e.length>0&&r.push(e)}),Object.values(po).forEach(e=>{typeof e=="string"&&r.push(e)}),r}var Ei=class{constructor(e){this.symbols=e}serialize(e){let t=new Br,n="",i=!1;for(let s of t.shownComponents)n+=this.componentToString(e,i,s);return n}componentToString(e,t,n){var y;let{prioritySymbols:i,startDateSymbol:s,createdDateSymbol:a,scheduledDateSymbol:o,doneDateSymbol:u,cancelledDateSymbol:l,recurrenceSymbol:c,dueDateSymbol:d,dependsOnSymbol:f,idSymbol:m}=this.symbols;switch(n){case"description":return e.description;case"priority":{let g="";return e.priority==="0"?g=" "+i.Highest:e.priority==="1"?g=" "+i.High:e.priority==="2"?g=" "+i.Medium:e.priority==="4"?g=" "+i.Low:e.priority==="5"&&(g=" "+i.Lowest),g}case"startDate":return ps(t,s,e.startDate);case"createdDate":return ps(t,a,e.createdDate);case"scheduledDate":return e.scheduledDateIsInferred?"":ps(t,o,e.scheduledDate);case"doneDate":return ps(t,u,e.doneDate);case"cancelledDate":return ps(t,l,e.cancelledDate);case"dueDate":return ps(t,d,e.dueDate);case"recurrenceRule":return e.recurrence?wm(t,c,e.recurrence.toText()):"";case"dependsOn":return e.dependsOn.length===0?"":wm(t,f,e.dependsOn.join(","));case"id":return wm(t,m,e.id);case"blockLink":return(y=e.blockLink)!=null?y:"";default:throw new Error(`Don't know how to render task component of type '${n}'`)}}parsePriority(e){let{prioritySymbols:t}=this.symbols;switch(e){case t.Lowest:return"5";case t.Low:return"4";case t.Medium:return"2";case t.High:return"1";case t.Highest:return"0";default:return"3"}}deserialize(e){let{TaskFormatRegularExpressions:t}=this.symbols,n,i="3",s=null,a=null,o=null,u=null,l=null,c=null,d="",f=null,m="",y=[],g="",T=20,E=0;do{n=!1;let S=e.match(t.priorityRegex);S!==null&&(i=this.parsePriority(S[1]),e=e.replace(t.priorityRegex,"").trim(),n=!0);let x=e.match(t.doneDateRegex);x!==null&&(u=window.moment(x[1],J.dateFormat),e=e.replace(t.doneDateRegex,"").trim(),n=!0);let q=e.match(t.cancelledDateRegex);q!==null&&(l=window.moment(q[1],J.dateFormat),e=e.replace(t.cancelledDateRegex,"").trim(),n=!0);let W=e.match(t.dueDateRegex);W!==null&&(o=window.moment(W[1],J.dateFormat),e=e.replace(t.dueDateRegex,"").trim(),n=!0);let re=e.match(t.scheduledDateRegex);re!==null&&(a=window.moment(re[1],J.dateFormat),e=e.replace(t.scheduledDateRegex,"").trim(),n=!0);let H=e.match(t.startDateRegex);H!==null&&(s=window.moment(H[1],J.dateFormat),e=e.replace(t.startDateRegex,"").trim(),n=!0);let Y=e.match(t.createdDateRegex);Y!==null&&(c=window.moment(Y[1],J.dateFormat),e=e.replace(t.createdDateRegex,"").trim(),n=!0);let be=e.match(t.recurrenceRegex);be!==null&&(d=be[1].trim(),e=e.replace(t.recurrenceRegex,"").trim(),n=!0);let Pe=e.match(J.hashTagsFromEnd);if(Pe!=null){e=e.replace(J.hashTagsFromEnd,"").trim(),n=!0;let D=Pe[0].trim();g=g.length>0?[D,g].join(" "):D}let j=e.match(t.idRegex);j!=null&&(e=e.replace(t.idRegex,"").trim(),m=j[1].trim(),n=!0);let $=e.match(t.dependsOnRegex);$!=null&&(e=e.replace(t.dependsOnRegex,"").trim(),y=$[1].replace(/ /g,"").split(",").filter(D=>D!==""),n=!0),E++}while(n&&E<=T);return d.length>0&&(f=st.fromText({recurrenceRuleText:d,startDate:s,scheduledDate:a,dueDate:o})),g.length>0&&(e+=" "+g),{description:e,priority:i,startDate:s,createdDate:c,scheduledDate:a,dueDate:o,doneDate:u,cancelledDate:l,recurrence:f,id:m,dependsOn:y,tags:ae.extractHashtags(e)}}};function ho(r){let e="",t=!0;for(;t;)e=Math.random().toString(36).substring(2,6+2),r.includes(e)||(t=!1);return e}function Vu(r,e){return r.id!==""?r:new ae(he(K({},r),{id:ho(e)}))}function uv(r,e){let t=r;if(!r.dependsOn.includes(e.id)){let n=[...r.dependsOn,e.id];t=new ae(he(K({},r),{dependsOn:n}))}return t}function lv(r,e){let t=r;if(r.dependsOn.includes(e.id)){let n=r.dependsOn.filter(i=>i!==e.id);t=new ae(he(K({},r),{dependsOn:n}))}return t}function Bn(r){return r.replace(/([.*+?^${}()|[\]/\\])/g,"\\$1")}var Hn=class{constructor(){this._globalFilter="";this._removeGlobalFilter=!1}static getInstance(){return Hn.instance||(Hn.instance=new Hn),Hn.instance}get(){return this._globalFilter}set(e){this._globalFilter=e}reset(){this.set(Hn.empty)}isEmpty(){return this.get()===Hn.empty}equals(e){return this.get()===e}includedIn(e){let t=this.get();return e.includes(t)}prependTo(e){return this.get()+" "+e}removeAsWordFromDependingOnSettings(e){return this.getRemoveGlobalFilter()?this.removeAsWordFrom(e):e}getRemoveGlobalFilter(){return this._removeGlobalFilter}setRemoveGlobalFilter(e){this._removeGlobalFilter=e}removeAsWordFrom(e){if(this.isEmpty())return e;let t=RegExp("(^|\\s)"+Bn(this.get())+"($|\\s)","ug");return e.search(t)>-1&&(e=e.replace(t,"$1$2").replace(" "," ").trim()),e}removeAsSubstringFrom(e){let t=this.get();return e.replace(t,"").trim()}},_e=Hn;_e.empty="";var dv=require("obsidian");var rN=20;function Si(r){return _e.getInstance().removeAsWordFrom(r.description)}function nN(r,e){if(r==="")return e;let t=(0,dv.prepareSimpleSearch)(r),n=-4;return e.map(a=>{let o=t(Si(a));return o&&o.score>n?{item:a,match:o}:null}).filter(Boolean).sort((a,o)=>o.match.score-a.match.score).map(a=>a.item)}function zu(r,e,t,n,i){let s=nN(r,e);return s=s.filter(a=>!(a.isDone||a.description.includes("<%")&&a.description.includes("%>")||a.description===(t==null?void 0:t.description)&&a.taskLocation.path===(t==null?void 0:t.taskLocation.path)&&a.originalMarkdown===(t==null?void 0:t.originalMarkdown)||(n==null?void 0:n.includes(a))||(i==null?void 0:i.includes(a)))),t&&s.sort((a,o)=>{let u=a.taskLocation.path===t.taskLocation.path,l=o.taskLocation.path===t.taskLocation.path;return u&&l?Math.abs(a.taskLocation.lineNumber-t.taskLocation.lineNumber)-Math.abs(o.taskLocation.lineNumber-t.taskLocation.lineNumber):u?-1:l?1:0}),s.slice(0,rN)}var Em=5,iN=!0;globalThis.SHOW_DEPENDENCY_SUGGESTIONS=iN;function Sm(r,e,t){let n=[r.startDateSymbol,r.scheduledDateSymbol,r.dueDateSymbol].join("|");return(i,s,a,o,u)=>{let l=[];return l=l.concat(aN(i,s,a,n,e,t)),l=l.concat(oN(i,s,a,r.recurrenceSymbol,t)),globalThis.SHOW_DEPENDENCY_SUGGESTIONS&&(l=l.concat(uN(i,s,r.idSymbol,o)),l=l.concat(lN(i,s,a,r.dependsOnSymbol,o,t,u))),l=l.concat(sN(i,s,a,r,t)),l.length>0&&!l.some(c=>c.suggestionType==="match")&&(t||l.unshift({suggestionType:"empty",displayText:"\u23CE",appendText:` -`})),l=l.slice(0,a.autoSuggestMaxItems),l}}function Om(r,e,t){let n=dN(e.substring(0,t),[["(",")"],["[","]"]])=="("?")":"]",i=r?n+" ":" ",s=r&&e.length>t&&e.charAt(t)===n?1:0;return{postfix:i,insertSkip:s}}function sN(r,e,t,n,i){let s=d=>Object.values(n.prioritySymbols).some(f=>f.length>0&&d.includes(f)),a=[],{postfix:o,insertSkip:u}=Om(i,r,e);if(r.includes(n.dueDateSymbol)||a.push({displayText:`${n.dueDateSymbol} due date`,appendText:`${n.dueDateSymbol} `}),r.includes(n.startDateSymbol)||a.push({displayText:`${n.startDateSymbol} start date`,appendText:`${n.startDateSymbol} `}),r.includes(n.scheduledDateSymbol)||a.push({displayText:`${n.scheduledDateSymbol} scheduled date`,appendText:`${n.scheduledDateSymbol} `}),globalThis.SHOW_DEPENDENCY_SUGGESTIONS&&(r.includes(n.idSymbol)||a.push({displayText:`${n.idSymbol} id`,appendText:`${n.idSymbol}`}),r.includes(n.dependsOnSymbol)||a.push({displayText:`${n.dependsOnSymbol} depends on id`,appendText:`${n.dependsOnSymbol}`})),!s(r)){let d=n.prioritySymbols,f=["High","Medium","Low","Highest","Lowest"];for(let m=0;m0){let d=l[0];if(d.length>=Math.max(1,t.autoSuggestMinMatch)){let f=a.filter(m=>(m.textToMatch||m.displayText).toLowerCase().includes(d.toLowerCase()));for(let m of f){let y=i&&(m.displayText.includes("priority")||m.displayText.includes("created"))?d.length+u:d.length;c.push({suggestionType:"match",displayText:m.displayText,appendText:m.appendText,insertAt:l.index,insertSkip:y})}}}return c.length===0&&t.autoSuggestMinMatch===0?a:c}function aN(r,e,t,n,i,s){let a=["today","tomorrow","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","next week","next month","next year"],{postfix:o,insertSkip:u}=Om(s,r,e),l=[],c=new RegExp(`(${n})\\s*([0-9a-zA-Z ]*)`,"ug"),d=go(r,c,e);if(d&&d.length>=2){let f=d[1],m=d[2];if(m.length1?Yt.parseDate(Lu(m),!0):null;y&&y.isValid()&&l.push({displayText:`${y.format(J.dateFormat)}`,appendText:`${f} ${y.format(J.dateFormat)} `,insertAt:d.index,insertSkip:d[0].length});let g=1,T=a.filter(E=>m&&m.length>=g&&E.toLowerCase().includes(m.toLowerCase())).slice(0,i);T.length===0&&(T=a.slice(0,i));for(let E of T){let x=`${Yt.parseDate(E,!0).format(J.dateFormat)}`,q=s?d[0].length+u:d[0].length;l.push({suggestionType:"match",displayText:`${E} (${x})`,appendText:`${f} ${x}`+o,insertAt:d.index,insertSkip:q})}}return l}function oN(r,e,t,n,i){var d;let s=["every","every day","every week","every month","every month on the","every year","every week on Sunday","every week on Monday","every week on Tuesday","every week on Wednesday","every week on Thursday","every week on Friday","every week on Saturday"],{postfix:a,insertSkip:o}=Om(i,r,e),u=[],l=new RegExp(`(${n})\\s*([0-9a-zA-Z ]*)`,"ug"),c=go(r,l,e);if(c&&c.length>=2){let f=c[1],m=c[2];if(m.length0){let E=(d=st.fromText({recurrenceRuleText:m,startDate:null,scheduledDate:null,dueDate:null}))==null?void 0:d.toText();if(E){let S=`${f} ${E}`+a,x=i?c[0].length+o:c[0].length;if(u.push({suggestionType:"match",displayText:`\u2705 ${E}`,appendText:S,insertAt:c.index,insertSkip:x}),c[0]==S)return[]}}let y=1,g=t.autoSuggestMaxItems/2,T=s.filter(E=>m&&m.length>=y&&E.toLowerCase().includes(m.toLowerCase())).slice(0,g);T.length===0&&m.trim().length===0&&(T=s.slice(0,g));for(let E of T)u.push({suggestionType:"match",displayText:`${E}`,appendText:`${f} ${E} `,insertAt:c.index,insertSkip:c[0].length})}return u}function uN(r,e,t,n){let i=[],s=new RegExp(`(${t})\\s*(${ki.source})?`,"ug"),a=go(r,s,e);if(a&&a[0].trim().length<=t.length){let o=ho(n.map(u=>u.id));i.push({suggestionType:"match",displayText:"generate unique id",appendText:`${t} ${o}`,insertAt:a.index,insertSkip:t.length})}return i}function lN(r,e,t,n,i,s,a){let o=[],u=s?Bn("()[]"):ov(),l=new RegExp(`(${n})([0-9a-zA-Z-_ ^,]*,)*([^,${u}]*)`,"ug"),c=go(r,l,e);if(c&&c.length>=1){let d=c[2]||"",f=c[3],m=[];if(d){let y=d.split(",").map(g=>g.trim());m=i.filter(g=>g.id&&y.includes(g.id))}if(f.length>=t.autoSuggestMinMatch){let y=zu(f.trim(),i,a,[],m);for(let g of y)o.push({suggestionType:"match",displayText:`${g.descriptionWithoutTags} - From: ${g.filename}.md`,appendText:`${n}${d}`,insertAt:c.index,insertSkip:n.length+d.length+f.length,taskItDependsOn:g})}}return o}function go(r,e,t){let n=r.matchAll(e);for(let i of n)if((i==null?void 0:i.index)&&i.index[i,0])),n=Object.fromEntries(e.map(([i,s])=>[s,i]));for(let i of r)i in t?t[i]++:i in n&&(t[n[i]]=Math.max(0,t[n[i]]-1));return Object.values(t).some(i=>i>0)}function dN(r,e){if(e.length===0)return null;let t=Object.fromEntries(e.map(([s,a])=>[s,0])),n=Object.fromEntries(e.map(([s,a])=>[a,s])),i=[];for(let s=0;s=1){for(let o=i.length-1;o>=0;o--)if(i[o].bracket==n[a]){i.splice(o,1);break}}t[n[a]]=Math.max(0,t[n[a]]-1)}}return i.length>0?i[i.length-1].bracket:null}function fv(r,e){return(t,n,i,s,a)=>cN(t.slice(0,n),e)?r(t,n,i,s,a):[]}function pv(r,e,t){let n=_e.getInstance().includedIn(r),i=fN(t,e,n);return typeof i=="boolean"?i:n&&pN(r,e.ch)}function fN(r,e,t){var n,i;return(i=(n=r==null?void 0:r.editorComponent)==null?void 0:n.showTasksPluginAutoSuggest)==null?void 0:i.call(n,e,r,t)}function pN(r,e){if(r.length===0)return!1;let t=ae.extractTaskComponents(r);if(!t)return!1;let n=t.indentation+t.listMarker+" ["+t.status.symbol+"] ";return e>=n.length}function Hr(r){let e=["(?:",/(?=[^\]]+\])\[/,"|",/(?=[^)]+\))\(/,")",/ */,r,/ */,/[)\]]/,/(?: *,)?/,/$/].map(t=>t instanceof RegExp?t.source:t).join("");return new RegExp(e,r.flags)}var Dm={prioritySymbols:{Highest:"priority:: highest",High:"priority:: high",Medium:"priority:: medium",Low:"priority:: low",Lowest:"priority:: lowest",None:""},startDateSymbol:"start::",createdDateSymbol:"created::",scheduledDateSymbol:"scheduled::",dueDateSymbol:"due::",doneDateSymbol:"completion::",cancelledDateSymbol:"cancelled::",recurrenceSymbol:"repeat::",idSymbol:"id::",dependsOnSymbol:"dependsOn::",TaskFormatRegularExpressions:{priorityRegex:Hr(/priority:: *(highest|high|medium|low|lowest)/),startDateRegex:Hr(/start:: *(\d{4}-\d{2}-\d{2})/),createdDateRegex:Hr(/created:: *(\d{4}-\d{2}-\d{2})/),scheduledDateRegex:Hr(/scheduled:: *(\d{4}-\d{2}-\d{2})/),dueDateRegex:Hr(/due:: *(\d{4}-\d{2}-\d{2})/),doneDateRegex:Hr(/completion:: *(\d{4}-\d{2}-\d{2})/),cancelledDateRegex:Hr(/cancelled:: *(\d{4}-\d{2}-\d{2})/),recurrenceRegex:Hr(/repeat:: *([a-zA-Z0-9, !]+)/),dependsOnRegex:Hr(new RegExp("dependsOn:: *("+km.source+")")),idRegex:Hr(new RegExp("id:: *("+ki.source+")"))}},Ku=class extends Ei{constructor(){super(Dm)}parsePriority(e){switch(e){case"highest":return"0";case"high":return"1";case"medium":return"2";case"low":return"4";case"lowest":return"5";default:return"3"}}componentToString(e,t,n){let i=super.componentToString(e,t,n),s=["blockLink","description"];return i!==""&&!s.includes(n)?` [${i.trim()}]`:i}};var zt=(a=>(a.TODO="TODO",a.DONE="DONE",a.IN_PROGRESS="IN_PROGRESS",a.CANCELLED="CANCELLED",a.NON_TASK="NON_TASK",a.EMPTY="EMPTY",a))(zt||{}),Ke=class{constructor(e,t,n,i,s="TODO"){this.symbol=e,this.name=t,this.nextStatusSymbol=n,this.availableAsCommand=i,this.type=s}};var Et=class{get symbol(){return this.configuration.symbol}get name(){return this.configuration.name}get nextStatusSymbol(){return this.configuration.nextStatusSymbol}get nextSymbol(){return this.configuration.nextStatusSymbol}get availableAsCommand(){return this.configuration.availableAsCommand}get type(){return this.configuration.type}get typeGroupText(){let e=this.type,t;switch(e){case"IN_PROGRESS":t="1";break;case"TODO":t="2";break;case"DONE":t="3";break;case"CANCELLED":t="4";break;case"NON_TASK":t="5";break;case"EMPTY":t="6";break}return`%%${t}%%${e}`}constructor(e){this.configuration=e}static makeDone(){return new Et(new Ke("x","Done"," ",!0,"DONE"))}static makeEmpty(){return new Et(new Ke("","EMPTY","",!0,"EMPTY"))}static makeTodo(){return new Et(new Ke(" ","Todo","x",!0,"TODO"))}static makeCancelled(){return new Et(new Ke("-","Cancelled"," ",!0,"CANCELLED"))}static makeInProgress(){return new Et(new Ke("/","In Progress","x",!0,"IN_PROGRESS"))}static makeNonTask(){return new Et(new Ke("Q","Non-Task","A",!0,"NON_TASK"))}static getTypeForUnknownSymbol(e){switch(e){case"x":case"X":return"DONE";case"/":return"IN_PROGRESS";case"-":return"CANCELLED";case"":return"EMPTY";case" ":default:return"TODO"}}static getTypeFromStatusTypeString(e){return zt[e]||"TODO"}static createUnknownStatus(e){return new Et(new Ke(e,"Unknown","x",!1,"TODO"))}static createFromImportedValue(e){let t=e[0],n=Et.getTypeFromStatusTypeString(e[3]);return new Et(new Ke(t,e[1],e[2],!1,n))}isCompleted(){return this.type==="DONE"}isCancelled(){return this.type==="CANCELLED"}identicalTo(e){let t=["symbol","name","nextStatusSymbol","availableAsCommand","type"];for(let n of t)if(this[n]!==e[n])return!1;return!0}previewText(){let e="";return Et.tasksPluginCanCreateCommandsForStatuses()&&this.availableAsCommand&&(e=" Available as a command."),`- [${this.symbol}] => [${this.nextStatusSymbol}], name: '${this.name}', type: '${this.configuration.type}'.${e}`}static tasksPluginCanCreateCommandsForStatuses(){return!1}},ne=Et;ne.DONE=Et.makeDone(),ne.EMPTY=Et.makeEmpty(),ne.TODO=Et.makeTodo();var Qu=class{constructor(e=!1,t=!1,n=!1){this.ignoreSortInstructions=e,this.showTaskHiddenData=t,this.recordTimings=n}};var Le=class{constructor(){this.coreStatuses=[ne.makeTodo().configuration,ne.makeDone().configuration],this.customStatuses=[ne.makeInProgress().configuration,ne.makeCancelled().configuration]}static addStatus(e,t){e.push(t)}static replaceStatus(e,t,n){let i=this.findStatusIndex(t,e);return i<=-1?!1:(e.splice(i,1,n),!0)}static findStatusIndex(e,t){let n=new ne(e);return t.findIndex(i=>new ne(i).previewText()==n.previewText())}static deleteStatus(e,t){let n=this.findStatusIndex(t,e);return n<=-1?!1:(e.splice(n,1),!0)}static deleteAllCustomStatuses(e){e.customStatuses.splice(0)}static resetAllCustomStatuses(e){Le.deleteAllCustomStatuses(e),new Le().customStatuses.forEach(n=>{Le.addStatus(e.customStatuses,n)})}static bulkAddStatusCollection(e,t){let n=[];return t.forEach(i=>{e.customStatuses.find(a=>a.symbol==i[0]&&a.name==i[1]&&a.nextStatusSymbol==i[2])?n.push(`The status ${i[1]} (${i[0]}) is already added.`):Le.addStatus(e.customStatuses,ne.createFromImportedValue(i))}),n}static allStatuses(e){return e.coreStatuses.concat(e.customStatuses)}static applyToStatusRegistry(e,t){t.clearStatuses(),Le.allStatuses(e).forEach(n=>{t.add(n)})}};var mv=[{index:9999,internalName:"INTERNAL_TESTING_ENABLED_BY_DEFAULT",displayName:"Test Item. Used to validate the Feature Framework.",description:"Description",enabledByDefault:!0,stable:!1}];var vn=class{constructor(e,t,n,i,s,a){this.internalName=e;this.index=t;this.description=n;this.displayName=i;this.enabledByDefault=s;this.stable=a}static get values(){let e=[];return mv.forEach(t=>{e=[...e,new vn(t.internalName,t.index,t.description,t.displayName,t.enabledByDefault,t.stable)]}),e}static get settingsFlags(){let e={};return vn.values.forEach(t=>{e[t.internalName]=t.enabledByDefault}),e}static fromString(e){for(let t of vn.values)if(e===t.internalName)return t;throw new RangeError(`Illegal argument passed to fromString(): ${e} does not correspond to any available Feature ${this.prototype.constructor.name}`)}};var Dr={tasksPluginEmoji:{displayName:"Tasks Emoji Format",taskSerializer:new Ei(po),buildSuggestions:Sm(po,Em,!1)},dataview:{displayName:"Dataview",taskSerializer:new Ku,buildSuggestions:fv(Sm(Dm,Em,!0),[["(",")"],["[","]"]])}},Rm={globalQuery:"",globalFilter:"",removeGlobalFilter:!1,taskFormat:"tasksPluginEmoji",setCreatedDate:!1,setDoneDate:!0,setCancelledDate:!0,autoSuggestInEditor:!0,autoSuggestMinMatch:0,autoSuggestMaxItems:6,provideAccessKeys:!0,useFilenameAsScheduledDate:!1,filenameAsDateFolders:[],recurrenceOnNextLine:!1,statusSettings:new Le,features:vn.settingsFlags,generalSettings:{},headingOpened:{},debugSettings:new Qu,loggingOptions:{minLevels:{"":"info",tasks:"info","tasks.Cache":"info","tasks.Events":"info","tasks.File":"info","tasks.Query":"info","tasks.Task":"info"}}},wn=K({},Rm);function xm(r,e){for(let t in r)e[t]===void 0&&(e[t]=r[t])}var Z=()=>(xm(vn.settingsFlags,wn.features),xm(Rm.loggingOptions.minLevels,wn.loggingOptions.minLevels),xm(Rm.debugSettings,wn.debugSettings),wn.statusSettings.customStatuses.forEach((r,e,t)=>{var i,s;let n=ne.getTypeFromStatusTypeString(r.type);t[e]=new Ke((i=r.symbol)!=null?i:" ",r.name,(s=r.nextStatusSymbol)!=null?s:"x",r.availableAsCommand,n)}),K({},wn)),Qe=r=>(wn=K(K({},wn),r),Z());var Oi=(r,e)=>(wn.generalSettings[r]=e,Z()),hv=r=>{var e;return(e=wn.features[r])!=null?e:!1};function yo(){return Dr[Z().taskFormat]}function Xu(r){let t={"<":"<",">":">","&":"&",'"':"""}[r];return t!==void 0?t:r}function gv(r){let e=[...r],t="";return e.forEach(n=>{t+=Xu(n)}),t}var De=class{constructor(){this._registeredStatuses=[];this.addDefaultStatusTypes()}set(e){this.clearStatuses(),e.forEach(t=>{this.add(t)})}get registeredStatuses(){return this._registeredStatuses.filter(({symbol:e})=>e!==ne.EMPTY.symbol)}static getInstance(){return De.instance||(De.instance=new De),De.instance}add(e){this.hasSymbol(e.symbol)||(e instanceof ne?this._registeredStatuses.push(e):this._registeredStatuses.push(new ne(e)))}bySymbol(e){return this.hasSymbol(e)?this.getSymbol(e):ne.EMPTY}bySymbolOrCreate(e){return this.hasSymbol(e)?this.getSymbol(e):ne.createUnknownStatus(e)}byName(e){return this._registeredStatuses.filter(({name:t})=>t===e).length>0?this._registeredStatuses.filter(({name:t})=>t===e)[0]:ne.EMPTY}resetToDefaultStatuses(){this.clearStatuses(),this.addDefaultStatusTypes()}clearStatuses(){this._registeredStatuses=[]}getNextStatus(e){if(e.nextStatusSymbol!==""){let t=this.bySymbol(e.nextStatusSymbol);if(t!==null)return t}return ne.EMPTY}getNextStatusOrCreate(e){let t=this.getNextStatus(e);return t.type!=="EMPTY"?t:ne.createUnknownStatus(e.nextStatusSymbol)}getNextRecurrenceStatusOrCreate(e){let t=this.getNextStatusOrCreate(e),n=this.getNextRecurrenceStatusOfType(t,"TODO");if(n)return n;let i=this.getNextRecurrenceStatusOfType(t,"IN_PROGRESS");return i||this.bySymbolOrCreate(" ")}getNextRecurrenceStatusOfType(e,t){if(e.type===t)return e;let n=e;for(let i=0;i!this.hasSymbol(s.symbol)),n=new De,i=[];return t.forEach(s=>{if(n.hasSymbol(s.symbol))return;let a=De.copyStatusWithNewName(s,`Unknown (${s.symbol})`);i.push(a),n.add(a)}),i.sort((s,a)=>s.symbol.localeCompare(a.symbol,void 0,{numeric:!0}))}static copyStatusWithNewName(e,t){let n=new Ke(e.symbol,t,e.nextStatusSymbol,e.availableAsCommand,e.type);return new ne(n)}getSymbol(e){return this._registeredStatuses.filter(({symbol:t})=>t===e)[0]}hasSymbol(e){return this._registeredStatuses.find(t=>t.symbol===e)!==void 0}addDefaultStatusTypes(){[ne.makeTodo(),ne.makeInProgress(),ne.makeDone(),ne.makeCancelled()].forEach(t=>{this.add(t)})}mermaidDiagram(e=!1){let t=this.registeredStatuses,n="mermaid",i=[],s=[];return t.forEach((a,o)=>{let u=this.getMermaidNodeLabel(a,e);i.push(`${o+1}${u}`);let l=this.getNextStatus(a);if(this.addEdgeIfNotToInternal(t,l,s,o,!1),a.type==="DONE"){let c=this.getNextRecurrenceStatusOrCreate(a);c.symbol!==l.symbol&&this.addEdgeIfNotToInternal(t,c,s,o,!0)}}),` +`)},e.prototype.clone=function(){var t=new e(!!this._cache);return this._rrule.forEach(function(n){return t.rrule(n.clone())}),this._exrule.forEach(function(n){return t.exrule(n.clone())}),this._rdate.forEach(function(n){return t.rdate(new Date(n.getTime()))}),this._exdate.forEach(function(n){return t.exdate(new Date(n.getTime()))}),t},e}(z);function nv(r,e){if(!(r instanceof z))throw new TypeError(String(r)+" is not RRule instance");Te(e.map(String),String(r))||e.push(r)}function iv(r,e){if(!(r instanceof Date))throw new TypeError(String(r)+" is not Date instance");Te(e.map(Number),Number(r))||(e.push(r),bn(e))}function sv(r,e,t){var n=!t||t.toUpperCase()==="UTC",i=n?"".concat(r,":"):"".concat(r,";TZID=").concat(t,":"),s=e.map(function(a){return ls(a.valueOf(),n)}).join(",");return"".concat(i).concat(s)}var vm=ia(ze());function fr(r,e){return r!==null&&e===null?-1:r===null&&e!==null?1:r!==null&&e!==null?r.isValid()&&!e.isValid()?1:!r.isValid()&&e.isValid()?-1:r.isAfter(e)?1:r.isBefore(e)?-1:0:0}function tN(r,e,t=void 0){if(!e)return`no ${r} date`;let n=vm.parseDate(e,t,{forwardDate:t!=null});return n!==null?window.moment(n).format("YYYY-MM-DD"):`invalid ${r} date`}function av(r,e,t){return tN(r,e,t?new Date:void 0)}function wi(r,e){let t=null,n=vm.parseDate(r,new Date,{forwardDate:e});return n!==null&&(t=window.moment(n)),t}var st=class{constructor({rrule:e,baseOnToday:t,referenceDate:n,startDate:i,scheduledDate:s,dueDate:a}){this.rrule=e,this.baseOnToday=t,this.referenceDate=n,this.startDate=i,this.scheduledDate=s,this.dueDate=a}static fromText({recurrenceRuleText:e,startDate:t,scheduledDate:n,dueDate:i}){try{let s=e.match(/^([a-zA-Z0-9, !]+?)( when done)?$/i);if(s==null)return null;let a=s[1].trim(),o=s[2]!==void 0,u=z.parseText(a);if(u!==null){let l=null;i?l=window.moment(i):n?l=window.moment(n):t&&(l=window.moment(t)),!o&&l!==null?u.dtstart=window.moment(l).startOf("day").utc(!0).toDate():u.dtstart=window.moment().startOf("day").utc(!0).toDate();let c=new z(u);return new st({rrule:c,baseOnToday:o,referenceDate:l,startDate:t,scheduledDate:n,dueDate:i})}}catch(s){s instanceof Error&&console.log(s.message)}return null}toText(){let e=this.rrule.toText();return this.baseOnToday&&(e+=" when done"),e}next(e=window.moment()){let t=this.nextReferenceDate(e);if(t!==null){let n=null,i=null,s=null;if(this.referenceDate){if(this.startDate){let a=window.moment.duration(this.startDate.diff(this.referenceDate));n=window.moment(t),n.add(Math.round(a.asDays()),"days")}if(this.scheduledDate){let a=window.moment.duration(this.scheduledDate.diff(this.referenceDate));i=window.moment(t),i.add(Math.round(a.asDays()),"days")}if(this.dueDate){let a=window.moment.duration(this.dueDate.diff(this.referenceDate));s=window.moment(t),s.add(Math.round(a.asDays()),"days")}}return{startDate:n,scheduledDate:i,dueDate:s}}return null}identicalTo(e){return this.baseOnToday!==e.baseOnToday||fr(this.startDate,e.startDate)!==0||fr(this.scheduledDate,e.scheduledDate)!==0||fr(this.dueDate,e.dueDate)!==0?!1:this.toText()===e.toText()}nextReferenceDate(e){return this.baseOnToday?this.nextReferenceDateFromToday(e).toDate():this.nextReferenceDateFromOriginalReferenceDate().toDate()}nextReferenceDateFromToday(e){let t=new z(he(K({},this.rrule.origOptions),{dtstart:e.startOf("day").utc(!0).toDate()}));return this.nextAfter(e.endOf("day"),t)}nextReferenceDateFromOriginalReferenceDate(){var t;let e=window.moment((t=this.referenceDate)!=null?t:void 0).endOf("day");return this.nextAfter(e,this.rrule)}nextAfter(e,t){e.utc(!0);let n=window.moment(t.after(e.toDate())),i=this.toText(),s=i.match(/every( \d+)? month(s)?(.*)?/);s!==null&&(i.includes(" on ")||(n=st.nextAfterMonths(e,n,t,s[1])));let a=i.match(/every( \d+)? year(s)?(.*)?/);return a!==null&&(n=st.nextAfterYears(e,n,t,a[1])),st.addTimezone(n)}static nextAfterMonths(e,t,n,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));st.isSkippingTooManyMonths(e,t,s);)t=st.fromOneDayEarlier(e,n);return t}static isSkippingTooManyMonths(e,t,n){let i=t.month()-e.month();return i+=(t.year()-e.year())*12,i>n}static nextAfterYears(e,t,n,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));st.isSkippingTooManyYears(e,t,s);)t=st.fromOneDayEarlier(e,n);return t}static isSkippingTooManyYears(e,t,n){return t.year()-e.year()>n}static fromOneDayEarlier(e,t){e.subtract(1,"days").endOf("day");let n=t.origOptions;return n.dtstart=e.startOf("day").toDate(),t=new z(n),window.moment(t.after(e.toDate()))}static addTimezone(e){return window.moment.utc(e).local(!0).startOf("day")}};var ps=(f=>(f.Description="description",f.Id="id",f.DependsOn="dependsOn",f.Priority="priority",f.RecurrenceRule="recurrenceRule",f.CreatedDate="createdDate",f.StartDate="startDate",f.ScheduledDate="scheduledDate",f.DueDate="dueDate",f.CancelledDate="cancelledDate",f.DoneDate="doneDate",f.BlockLink="blockLink",f))(ps||{}),Vu=Object.values(ps),Br=class{constructor(){this.visible={};this.tagsVisible=!0;Vu.forEach(e=>{this.visible[e]=!0})}isShown(e){return this.visible[e]}areTagsShown(){return this.tagsVisible}hide(e){this.visible[e]=!1}setVisibility(e,t){this.visible[e]=t}setTagsVisibility(e){this.tagsVisible=e}get shownComponents(){return Vu.filter(e=>this.visible[e])}get hiddenComponents(){return Vu.filter(e=>!this.visible[e])}get toggleableComponents(){return Vu.filter(e=>e!=="description"&&e!=="blockLink")}toggleVisibilityExceptDescriptionAndBlockLink(){this.toggleableComponents.forEach(e=>{this.visible[e]=!this.visible[e]}),this.setTagsVisibility(!this.areTagsShown())}};var Vt=class{},J=Vt;J.dateFormat="YYYY-MM-DD",J.dateTimeFormat="YYYY-MM-DD HH:mm",J.indentationRegex=/^([\s\t>]*)/,J.listMarkerRegex=/([-*+]|[0-9]+\.)/,J.checkboxRegex=/\[(.)\]/u,J.afterCheckboxRegex=/ *(.*)/u,J.taskRegex=new RegExp(Vt.indentationRegex.source+Vt.listMarkerRegex.source+" +"+Vt.checkboxRegex.source+Vt.afterCheckboxRegex.source,"u"),J.nonTaskRegex=new RegExp(Vt.indentationRegex.source+Vt.listMarkerRegex.source+"? *("+Vt.checkboxRegex.source+")?"+Vt.afterCheckboxRegex.source,"u"),J.listItemRegex=new RegExp(Vt.indentationRegex.source+Vt.listMarkerRegex.source),J.blockLinkRegex=/ \^[a-zA-Z0-9-]+$/u,J.hashTags=/(^|\s)#[^ !@#$%^&*(),.?":{}|<>]+/g,J.hashTagsFromEnd=new RegExp(Vt.hashTags.source+"$");var ki=/[a-zA-Z0-9-_]+/,km=new RegExp(ki.source+"( *, *"+ki.source+" *)*"),mo={prioritySymbols:{Highest:"\u{1F53A}",High:"\u23EB",Medium:"\u{1F53C}",Low:"\u{1F53D}",Lowest:"\u23EC",None:""},startDateSymbol:"\u{1F6EB}",createdDateSymbol:"\u2795",scheduledDateSymbol:"\u23F3",dueDateSymbol:"\u{1F4C5}",doneDateSymbol:"\u2705",cancelledDateSymbol:"\u274C",recurrenceSymbol:"\u{1F501}",dependsOnSymbol:"\u26D4",idSymbol:"\u{1F194}",TaskFormatRegularExpressions:{priorityRegex:/([🔺⏫🔼🔽⏬])\uFE0F?$/u,startDateRegex:/🛫 *(\d{4}-\d{2}-\d{2})$/u,createdDateRegex:/➕ *(\d{4}-\d{2}-\d{2})$/u,scheduledDateRegex:/[⏳⌛] *(\d{4}-\d{2}-\d{2})$/u,dueDateRegex:/[📅📆🗓] *(\d{4}-\d{2}-\d{2})$/u,doneDateRegex:/✅ *(\d{4}-\d{2}-\d{2})$/u,cancelledDateRegex:/❌ *(\d{4}-\d{2}-\d{2})$/u,recurrenceRegex:/🔁 ?([a-zA-Z0-9, !]+)$/iu,dependsOnRegex:new RegExp("\u26D4\uFE0F? *("+km.source+")$","iu"),idRegex:new RegExp("\u{1F194} *("+ki.source+")$","iu")}};function wm(r,e,t){return t?r?" "+e:` ${e} ${t}`:""}function ms(r,e,t){return t?r?" "+e:` ${e} ${t.format(J.dateFormat)}`:""}function ov(){let r=[];return Object.values(mo.prioritySymbols).forEach(e=>{e.length>0&&r.push(e)}),Object.values(mo).forEach(e=>{typeof e=="string"&&r.push(e)}),r}var Ei=class{constructor(e){this.symbols=e}serialize(e){let t=new Br,n="",i=!1;for(let s of t.shownComponents)n+=this.componentToString(e,i,s);return n}componentToString(e,t,n){var g;let{prioritySymbols:i,startDateSymbol:s,createdDateSymbol:a,scheduledDateSymbol:o,doneDateSymbol:u,cancelledDateSymbol:l,recurrenceSymbol:c,dueDateSymbol:d,dependsOnSymbol:f,idSymbol:m}=this.symbols;switch(n){case"description":return e.description;case"priority":{let y="";return e.priority==="0"?y=" "+i.Highest:e.priority==="1"?y=" "+i.High:e.priority==="2"?y=" "+i.Medium:e.priority==="4"?y=" "+i.Low:e.priority==="5"&&(y=" "+i.Lowest),y}case"startDate":return ms(t,s,e.startDate);case"createdDate":return ms(t,a,e.createdDate);case"scheduledDate":return e.scheduledDateIsInferred?"":ms(t,o,e.scheduledDate);case"doneDate":return ms(t,u,e.doneDate);case"cancelledDate":return ms(t,l,e.cancelledDate);case"dueDate":return ms(t,d,e.dueDate);case"recurrenceRule":return e.recurrence?wm(t,c,e.recurrence.toText()):"";case"dependsOn":return e.dependsOn.length===0?"":wm(t,f,e.dependsOn.join(","));case"id":return wm(t,m,e.id);case"blockLink":return(g=e.blockLink)!=null?g:"";default:throw new Error(`Don't know how to render task component of type '${n}'`)}}parsePriority(e){let{prioritySymbols:t}=this.symbols;switch(e){case t.Lowest:return"5";case t.Low:return"4";case t.Medium:return"2";case t.High:return"1";case t.Highest:return"0";default:return"3"}}deserialize(e){let{TaskFormatRegularExpressions:t}=this.symbols,n,i="3",s=null,a=null,o=null,u=null,l=null,c=null,d="",f=null,m="",g=[],y="",T=20,k=0;do{n=!1;let S=e.match(t.priorityRegex);S!==null&&(i=this.parsePriority(S[1]),e=e.replace(t.priorityRegex,"").trim(),n=!0);let x=e.match(t.doneDateRegex);x!==null&&(u=window.moment(x[1],J.dateFormat),e=e.replace(t.doneDateRegex,"").trim(),n=!0);let U=e.match(t.cancelledDateRegex);U!==null&&(l=window.moment(U[1],J.dateFormat),e=e.replace(t.cancelledDateRegex,"").trim(),n=!0);let q=e.match(t.dueDateRegex);q!==null&&(o=window.moment(q[1],J.dateFormat),e=e.replace(t.dueDateRegex,"").trim(),n=!0);let re=e.match(t.scheduledDateRegex);re!==null&&(a=window.moment(re[1],J.dateFormat),e=e.replace(t.scheduledDateRegex,"").trim(),n=!0);let H=e.match(t.startDateRegex);H!==null&&(s=window.moment(H[1],J.dateFormat),e=e.replace(t.startDateRegex,"").trim(),n=!0);let Y=e.match(t.createdDateRegex);Y!==null&&(c=window.moment(Y[1],J.dateFormat),e=e.replace(t.createdDateRegex,"").trim(),n=!0);let be=e.match(t.recurrenceRegex);be!==null&&(d=be[1].trim(),e=e.replace(t.recurrenceRegex,"").trim(),n=!0);let Pe=e.match(J.hashTagsFromEnd);if(Pe!=null){e=e.replace(J.hashTagsFromEnd,"").trim(),n=!0;let D=Pe[0].trim();y=y.length>0?[D,y].join(" "):D}let j=e.match(t.idRegex);j!=null&&(e=e.replace(t.idRegex,"").trim(),m=j[1].trim(),n=!0);let $=e.match(t.dependsOnRegex);$!=null&&(e=e.replace(t.dependsOnRegex,"").trim(),g=$[1].replace(/ /g,"").split(",").filter(D=>D!==""),n=!0),k++}while(n&&k<=T);return d.length>0&&(f=st.fromText({recurrenceRuleText:d,startDate:s,scheduledDate:a,dueDate:o})),y.length>0&&(e+=" "+y),{description:e,priority:i,startDate:s,createdDate:c,scheduledDate:a,dueDate:o,doneDate:u,cancelledDate:l,recurrence:f,id:m,dependsOn:g,tags:ae.extractHashtags(e)}}};function go(r){let e="",t=!0;for(;t;)e=Math.random().toString(36).substring(2,6+2),r.includes(e)||(t=!1);return e}function zu(r,e){return r.id!==""?r:new ae(he(K({},r),{id:go(e)}))}function uv(r,e){let t=r;if(!r.dependsOn.includes(e.id)){let n=[...r.dependsOn,e.id];t=new ae(he(K({},r),{dependsOn:n}))}return t}function lv(r,e){let t=r;if(r.dependsOn.includes(e.id)){let n=r.dependsOn.filter(i=>i!==e.id);t=new ae(he(K({},r),{dependsOn:n}))}return t}function Bn(r){return r.replace(/([.*+?^${}()|[\]/\\])/g,"\\$1")}var Hn=class{constructor(){this._globalFilter="";this._removeGlobalFilter=!1}static getInstance(){return Hn.instance||(Hn.instance=new Hn),Hn.instance}get(){return this._globalFilter}set(e){this._globalFilter=e}reset(){this.set(Hn.empty)}isEmpty(){return this.get()===Hn.empty}equals(e){return this.get()===e}includedIn(e){let t=this.get();return e.includes(t)}prependTo(e){return this.get()+" "+e}removeAsWordFromDependingOnSettings(e){return this.getRemoveGlobalFilter()?this.removeAsWordFrom(e):e}getRemoveGlobalFilter(){return this._removeGlobalFilter}setRemoveGlobalFilter(e){this._removeGlobalFilter=e}removeAsWordFrom(e){if(this.isEmpty())return e;let t=RegExp("(^|\\s)"+Bn(this.get())+"($|\\s)","ug");return e.search(t)>-1&&(e=e.replace(t,"$1$2").replace(" "," ").trim()),e}removeAsSubstringFrom(e){let t=this.get();return e.replace(t,"").trim()}},_e=Hn;_e.empty="";var dv=require("obsidian");var rN=20;function Si(r){return _e.getInstance().removeAsWordFrom(r.description)}function nN(r,e){if(r==="")return e;let t=(0,dv.prepareSimpleSearch)(r),n=-4;return e.map(a=>{let o=t(Si(a));return o&&o.score>n?{item:a,match:o}:null}).filter(Boolean).sort((a,o)=>o.match.score-a.match.score).map(a=>a.item)}function Ku(r,e,t,n,i){let s=nN(r,e);return s=s.filter(a=>!(a.isDone||a.description.includes("<%")&&a.description.includes("%>")||a.description===(t==null?void 0:t.description)&&a.taskLocation.path===(t==null?void 0:t.taskLocation.path)&&a.originalMarkdown===(t==null?void 0:t.originalMarkdown)||(n==null?void 0:n.includes(a))||(i==null?void 0:i.includes(a)))),t&&s.sort((a,o)=>{let u=a.taskLocation.path===t.taskLocation.path,l=o.taskLocation.path===t.taskLocation.path;return u&&l?Math.abs(a.taskLocation.lineNumber-t.taskLocation.lineNumber)-Math.abs(o.taskLocation.lineNumber-t.taskLocation.lineNumber):u?-1:l?1:0}),s.slice(0,rN)}var Em=5,iN=!0;globalThis.SHOW_DEPENDENCY_SUGGESTIONS=iN;function fv(r){return globalThis.SHOW_DEPENDENCY_SUGGESTIONS&&r}function Sm(r,e,t){let n=[r.startDateSymbol,r.scheduledDateSymbol,r.dueDateSymbol].join("|");return(i,s,a,o,u,l)=>{let c=[];return c=c.concat(aN(i,s,a,n,e,t)),c=c.concat(oN(i,s,a,r.recurrenceSymbol,t)),fv(u)&&(c=c.concat(uN(i,s,r.idSymbol,o)),c=c.concat(lN(i,s,a,r.dependsOnSymbol,o,t,l))),c=c.concat(sN(i,s,a,r,t,u)),c.length>0&&!c.some(d=>d.suggestionType==="match")&&(t||c.unshift({suggestionType:"empty",displayText:"\u23CE",appendText:` +`})),c=c.slice(0,a.autoSuggestMaxItems),c}}function Om(r,e,t){let n=dN(e.substring(0,t),[["(",")"],["[","]"]])=="("?")":"]",i=r?n+" ":" ",s=r&&e.length>t&&e.charAt(t)===n?1:0;return{postfix:i,insertSkip:s}}function sN(r,e,t,n,i,s){let a=f=>Object.values(n.prioritySymbols).some(m=>m.length>0&&f.includes(m)),o=[],{postfix:u,insertSkip:l}=Om(i,r,e);if(r.includes(n.dueDateSymbol)||o.push({displayText:`${n.dueDateSymbol} due date`,appendText:`${n.dueDateSymbol} `}),r.includes(n.startDateSymbol)||o.push({displayText:`${n.startDateSymbol} start date`,appendText:`${n.startDateSymbol} `}),r.includes(n.scheduledDateSymbol)||o.push({displayText:`${n.scheduledDateSymbol} scheduled date`,appendText:`${n.scheduledDateSymbol} `}),!a(r)){let f=n.prioritySymbols,m=["High","Medium","Low","Highest","Lowest"];for(let g=0;g0){let f=c[0];if(f.length>=Math.max(1,t.autoSuggestMinMatch)){let m=o.filter(g=>(g.textToMatch||g.displayText).toLowerCase().includes(f.toLowerCase()));for(let g of m){let y=i&&(g.displayText.includes("priority")||g.displayText.includes("created"))?f.length+l:f.length;d.push({suggestionType:"match",displayText:g.displayText,appendText:g.appendText,insertAt:c.index,insertSkip:y})}}}return d.length===0&&t.autoSuggestMinMatch===0?o:d}function aN(r,e,t,n,i,s){let a=["today","tomorrow","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","next week","next month","next year"],{postfix:o,insertSkip:u}=Om(s,r,e),l=[],c=new RegExp(`(${n})\\s*([0-9a-zA-Z ]*)`,"ug"),d=yo(r,c,e);if(d&&d.length>=2){let f=d[1],m=d[2];if(m.length1?Yt.parseDate(Uu(m),!0):null;g&&g.isValid()&&l.push({displayText:`${g.format(J.dateFormat)}`,appendText:`${f} ${g.format(J.dateFormat)} `,insertAt:d.index,insertSkip:d[0].length});let y=1,T=a.filter(k=>m&&m.length>=y&&k.toLowerCase().includes(m.toLowerCase())).slice(0,i);T.length===0&&(T=a.slice(0,i));for(let k of T){let x=`${Yt.parseDate(k,!0).format(J.dateFormat)}`,U=s?d[0].length+u:d[0].length;l.push({suggestionType:"match",displayText:`${k} (${x})`,appendText:`${f} ${x}`+o,insertAt:d.index,insertSkip:U})}}return l}function oN(r,e,t,n,i){var d;let s=["every","every day","every week","every month","every month on the","every year","every week on Sunday","every week on Monday","every week on Tuesday","every week on Wednesday","every week on Thursday","every week on Friday","every week on Saturday"],{postfix:a,insertSkip:o}=Om(i,r,e),u=[],l=new RegExp(`(${n})\\s*([0-9a-zA-Z ]*)`,"ug"),c=yo(r,l,e);if(c&&c.length>=2){let f=c[1],m=c[2];if(m.length0){let k=(d=st.fromText({recurrenceRuleText:m,startDate:null,scheduledDate:null,dueDate:null}))==null?void 0:d.toText();if(k){let S=`${f} ${k}`+a,x=i?c[0].length+o:c[0].length;if(u.push({suggestionType:"match",displayText:`\u2705 ${k}`,appendText:S,insertAt:c.index,insertSkip:x}),c[0]==S)return[]}}let g=1,y=t.autoSuggestMaxItems/2,T=s.filter(k=>m&&m.length>=g&&k.toLowerCase().includes(m.toLowerCase())).slice(0,y);T.length===0&&m.trim().length===0&&(T=s.slice(0,y));for(let k of T)u.push({suggestionType:"match",displayText:`${k}`,appendText:`${f} ${k} `,insertAt:c.index,insertSkip:c[0].length})}return u}function uN(r,e,t,n){let i=[],s=new RegExp(`(${t})\\s*(${ki.source})?`,"ug"),a=yo(r,s,e);if(a&&a[0].trim().length<=t.length){let o=go(n.map(u=>u.id));i.push({suggestionType:"match",displayText:"generate unique id",appendText:`${t} ${o}`,insertAt:a.index,insertSkip:t.length})}return i}function lN(r,e,t,n,i,s,a){let o=[],u=s?Bn("()[]"):ov(),l=new RegExp(`(${n})([0-9a-zA-Z-_ ^,]*,)*([^,${u}]*)`,"ug"),c=yo(r,l,e);if(c&&c.length>=1){let d=c[2]||"",f=c[3],m=[];if(d){let g=d.split(",").map(y=>y.trim());m=i.filter(y=>y.id&&g.includes(y.id))}if(f.length>=t.autoSuggestMinMatch){let g=Ku(f.trim(),i,a,[],m);for(let y of g)o.push({suggestionType:"match",displayText:`${y.descriptionWithoutTags} - From: ${y.filename}.md`,appendText:`${n}${d}`,insertAt:c.index,insertSkip:n.length+d.length+f.length,taskItDependsOn:y})}}return o}function yo(r,e,t){let n=r.matchAll(e);for(let i of n)if((i==null?void 0:i.index)&&i.index[i,0])),n=Object.fromEntries(e.map(([i,s])=>[s,i]));for(let i of r)i in t?t[i]++:i in n&&(t[n[i]]=Math.max(0,t[n[i]]-1));return Object.values(t).some(i=>i>0)}function dN(r,e){if(e.length===0)return null;let t=Object.fromEntries(e.map(([s,a])=>[s,0])),n=Object.fromEntries(e.map(([s,a])=>[a,s])),i=[];for(let s=0;s=1){for(let o=i.length-1;o>=0;o--)if(i[o].bracket==n[a]){i.splice(o,1);break}}t[n[a]]=Math.max(0,t[n[a]]-1)}}return i.length>0?i[i.length-1].bracket:null}function pv(r,e){return(t,n,i,s,a)=>cN(t.slice(0,n),e)?r(t,n,i,s,a):[]}function mv(r,e,t){let n=_e.getInstance().includedIn(r),i=fN(t,e,n);return typeof i=="boolean"?i:n&&pN(r,e.ch)}function fN(r,e,t){var n,i;return(i=(n=r==null?void 0:r.editorComponent)==null?void 0:n.showTasksPluginAutoSuggest)==null?void 0:i.call(n,e,r,t)}function pN(r,e){if(r.length===0)return!1;let t=ae.extractTaskComponents(r);if(!t)return!1;let n=t.indentation+t.listMarker+" ["+t.status.symbol+"] ";return e>=n.length}function Hr(r){let e=["(?:",/(?=[^\]]+\])\[/,"|",/(?=[^)]+\))\(/,")",/ */,r,/ */,/[)\]]/,/(?: *,)?/,/$/].map(t=>t instanceof RegExp?t.source:t).join("");return new RegExp(e,r.flags)}var Dm={prioritySymbols:{Highest:"priority:: highest",High:"priority:: high",Medium:"priority:: medium",Low:"priority:: low",Lowest:"priority:: lowest",None:""},startDateSymbol:"start::",createdDateSymbol:"created::",scheduledDateSymbol:"scheduled::",dueDateSymbol:"due::",doneDateSymbol:"completion::",cancelledDateSymbol:"cancelled::",recurrenceSymbol:"repeat::",idSymbol:"id::",dependsOnSymbol:"dependsOn::",TaskFormatRegularExpressions:{priorityRegex:Hr(/priority:: *(highest|high|medium|low|lowest)/),startDateRegex:Hr(/start:: *(\d{4}-\d{2}-\d{2})/),createdDateRegex:Hr(/created:: *(\d{4}-\d{2}-\d{2})/),scheduledDateRegex:Hr(/scheduled:: *(\d{4}-\d{2}-\d{2})/),dueDateRegex:Hr(/due:: *(\d{4}-\d{2}-\d{2})/),doneDateRegex:Hr(/completion:: *(\d{4}-\d{2}-\d{2})/),cancelledDateRegex:Hr(/cancelled:: *(\d{4}-\d{2}-\d{2})/),recurrenceRegex:Hr(/repeat:: *([a-zA-Z0-9, !]+)/),dependsOnRegex:Hr(new RegExp("dependsOn:: *("+km.source+")")),idRegex:Hr(new RegExp("id:: *("+ki.source+")"))}},Qu=class extends Ei{constructor(){super(Dm)}parsePriority(e){switch(e){case"highest":return"0";case"high":return"1";case"medium":return"2";case"low":return"4";case"lowest":return"5";default:return"3"}}componentToString(e,t,n){let i=super.componentToString(e,t,n),s=["blockLink","description"];return i!==""&&!s.includes(n)?` [${i.trim()}]`:i}};var zt=(a=>(a.TODO="TODO",a.DONE="DONE",a.IN_PROGRESS="IN_PROGRESS",a.CANCELLED="CANCELLED",a.NON_TASK="NON_TASK",a.EMPTY="EMPTY",a))(zt||{}),Ke=class{constructor(e,t,n,i,s="TODO"){this.symbol=e,this.name=t,this.nextStatusSymbol=n,this.availableAsCommand=i,this.type=s}};var Et=class{get symbol(){return this.configuration.symbol}get name(){return this.configuration.name}get nextStatusSymbol(){return this.configuration.nextStatusSymbol}get nextSymbol(){return this.configuration.nextStatusSymbol}get availableAsCommand(){return this.configuration.availableAsCommand}get type(){return this.configuration.type}get typeGroupText(){let e=this.type,t;switch(e){case"IN_PROGRESS":t="1";break;case"TODO":t="2";break;case"DONE":t="3";break;case"CANCELLED":t="4";break;case"NON_TASK":t="5";break;case"EMPTY":t="6";break}return`%%${t}%%${e}`}constructor(e){this.configuration=e}static makeDone(){return new Et(new Ke("x","Done"," ",!0,"DONE"))}static makeEmpty(){return new Et(new Ke("","EMPTY","",!0,"EMPTY"))}static makeTodo(){return new Et(new Ke(" ","Todo","x",!0,"TODO"))}static makeCancelled(){return new Et(new Ke("-","Cancelled"," ",!0,"CANCELLED"))}static makeInProgress(){return new Et(new Ke("/","In Progress","x",!0,"IN_PROGRESS"))}static makeNonTask(){return new Et(new Ke("Q","Non-Task","A",!0,"NON_TASK"))}static getTypeForUnknownSymbol(e){switch(e){case"x":case"X":return"DONE";case"/":return"IN_PROGRESS";case"-":return"CANCELLED";case"":return"EMPTY";case" ":default:return"TODO"}}static getTypeFromStatusTypeString(e){return zt[e]||"TODO"}static createUnknownStatus(e){return new Et(new Ke(e,"Unknown","x",!1,"TODO"))}static createFromImportedValue(e){let t=e[0],n=Et.getTypeFromStatusTypeString(e[3]);return new Et(new Ke(t,e[1],e[2],!1,n))}isCompleted(){return this.type==="DONE"}isCancelled(){return this.type==="CANCELLED"}identicalTo(e){let t=["symbol","name","nextStatusSymbol","availableAsCommand","type"];for(let n of t)if(this[n]!==e[n])return!1;return!0}previewText(){let e="";return Et.tasksPluginCanCreateCommandsForStatuses()&&this.availableAsCommand&&(e=" Available as a command."),`- [${this.symbol}] => [${this.nextStatusSymbol}], name: '${this.name}', type: '${this.configuration.type}'.${e}`}static tasksPluginCanCreateCommandsForStatuses(){return!1}},ne=Et;ne.DONE=Et.makeDone(),ne.EMPTY=Et.makeEmpty(),ne.TODO=Et.makeTodo();var Xu=class{constructor(e=!1,t=!1,n=!1){this.ignoreSortInstructions=e,this.showTaskHiddenData=t,this.recordTimings=n}};var Le=class{constructor(){this.coreStatuses=[ne.makeTodo().configuration,ne.makeDone().configuration],this.customStatuses=[ne.makeInProgress().configuration,ne.makeCancelled().configuration]}static addStatus(e,t){e.push(t)}static replaceStatus(e,t,n){let i=this.findStatusIndex(t,e);return i<=-1?!1:(e.splice(i,1,n),!0)}static findStatusIndex(e,t){let n=new ne(e);return t.findIndex(i=>new ne(i).previewText()==n.previewText())}static deleteStatus(e,t){let n=this.findStatusIndex(t,e);return n<=-1?!1:(e.splice(n,1),!0)}static deleteAllCustomStatuses(e){e.customStatuses.splice(0)}static resetAllCustomStatuses(e){Le.deleteAllCustomStatuses(e),new Le().customStatuses.forEach(n=>{Le.addStatus(e.customStatuses,n)})}static bulkAddStatusCollection(e,t){let n=[];return t.forEach(i=>{e.customStatuses.find(a=>a.symbol==i[0]&&a.name==i[1]&&a.nextStatusSymbol==i[2])?n.push(`The status ${i[1]} (${i[0]}) is already added.`):Le.addStatus(e.customStatuses,ne.createFromImportedValue(i))}),n}static allStatuses(e){return e.coreStatuses.concat(e.customStatuses)}static applyToStatusRegistry(e,t){t.clearStatuses(),Le.allStatuses(e).forEach(n=>{t.add(n)})}};var hv=[{index:9999,internalName:"INTERNAL_TESTING_ENABLED_BY_DEFAULT",displayName:"Test Item. Used to validate the Feature Framework.",description:"Description",enabledByDefault:!0,stable:!1}];var vn=class{constructor(e,t,n,i,s,a){this.internalName=e;this.index=t;this.description=n;this.displayName=i;this.enabledByDefault=s;this.stable=a}static get values(){let e=[];return hv.forEach(t=>{e=[...e,new vn(t.internalName,t.index,t.description,t.displayName,t.enabledByDefault,t.stable)]}),e}static get settingsFlags(){let e={};return vn.values.forEach(t=>{e[t.internalName]=t.enabledByDefault}),e}static fromString(e){for(let t of vn.values)if(e===t.internalName)return t;throw new RangeError(`Illegal argument passed to fromString(): ${e} does not correspond to any available Feature ${this.prototype.constructor.name}`)}};var Dr={tasksPluginEmoji:{displayName:"Tasks Emoji Format",taskSerializer:new Ei(mo),buildSuggestions:Sm(mo,Em,!1)},dataview:{displayName:"Dataview",taskSerializer:new Qu,buildSuggestions:pv(Sm(Dm,Em,!0),[["(",")"],["[","]"]])}},Rm={globalQuery:"",globalFilter:"",removeGlobalFilter:!1,taskFormat:"tasksPluginEmoji",setCreatedDate:!1,setDoneDate:!0,setCancelledDate:!0,autoSuggestInEditor:!0,autoSuggestMinMatch:0,autoSuggestMaxItems:20,provideAccessKeys:!0,useFilenameAsScheduledDate:!1,filenameAsDateFolders:[],recurrenceOnNextLine:!1,statusSettings:new Le,features:vn.settingsFlags,generalSettings:{},headingOpened:{},debugSettings:new Xu,loggingOptions:{minLevels:{"":"info",tasks:"info","tasks.Cache":"info","tasks.Events":"info","tasks.File":"info","tasks.Query":"info","tasks.Task":"info"}}},wn=K({},Rm);function xm(r,e){for(let t in r)e[t]===void 0&&(e[t]=r[t])}var Z=()=>(xm(vn.settingsFlags,wn.features),xm(Rm.loggingOptions.minLevels,wn.loggingOptions.minLevels),xm(Rm.debugSettings,wn.debugSettings),wn.statusSettings.customStatuses.forEach((r,e,t)=>{var i,s;let n=ne.getTypeFromStatusTypeString(r.type);t[e]=new Ke((i=r.symbol)!=null?i:" ",r.name,(s=r.nextStatusSymbol)!=null?s:"x",r.availableAsCommand,n)}),K({},wn)),Qe=r=>(wn=K(K({},wn),r),Z());var Oi=(r,e)=>(wn.generalSettings[r]=e,Z()),gv=r=>{var e;return(e=wn.features[r])!=null?e:!1};function bo(){return Dr[Z().taskFormat]}function Zu(r){let t={"<":"<",">":">","&":"&",'"':"""}[r];return t!==void 0?t:r}function yv(r){let e=[...r],t="";return e.forEach(n=>{t+=Zu(n)}),t}var De=class{constructor(){this._registeredStatuses=[];this.addDefaultStatusTypes()}set(e){this.clearStatuses(),e.forEach(t=>{this.add(t)})}get registeredStatuses(){return this._registeredStatuses.filter(({symbol:e})=>e!==ne.EMPTY.symbol)}static getInstance(){return De.instance||(De.instance=new De),De.instance}add(e){this.hasSymbol(e.symbol)||(e instanceof ne?this._registeredStatuses.push(e):this._registeredStatuses.push(new ne(e)))}bySymbol(e){return this.hasSymbol(e)?this.getSymbol(e):ne.EMPTY}bySymbolOrCreate(e){return this.hasSymbol(e)?this.getSymbol(e):ne.createUnknownStatus(e)}byName(e){return this._registeredStatuses.filter(({name:t})=>t===e).length>0?this._registeredStatuses.filter(({name:t})=>t===e)[0]:ne.EMPTY}resetToDefaultStatuses(){this.clearStatuses(),this.addDefaultStatusTypes()}clearStatuses(){this._registeredStatuses=[]}getNextStatus(e){if(e.nextStatusSymbol!==""){let t=this.bySymbol(e.nextStatusSymbol);if(t!==null)return t}return ne.EMPTY}getNextStatusOrCreate(e){let t=this.getNextStatus(e);return t.type!=="EMPTY"?t:ne.createUnknownStatus(e.nextStatusSymbol)}getNextRecurrenceStatusOrCreate(e){let t=this.getNextStatusOrCreate(e),n=this.getNextRecurrenceStatusOfType(t,"TODO");if(n)return n;let i=this.getNextRecurrenceStatusOfType(t,"IN_PROGRESS");return i||this.bySymbolOrCreate(" ")}getNextRecurrenceStatusOfType(e,t){if(e.type===t)return e;let n=e;for(let i=0;i!this.hasSymbol(s.symbol)),n=new De,i=[];return t.forEach(s=>{if(n.hasSymbol(s.symbol))return;let a=De.copyStatusWithNewName(s,`Unknown (${s.symbol})`);i.push(a),n.add(a)}),i.sort((s,a)=>s.symbol.localeCompare(a.symbol,void 0,{numeric:!0}))}static copyStatusWithNewName(e,t){let n=new Ke(e.symbol,t,e.nextStatusSymbol,e.availableAsCommand,e.type);return new ne(n)}getSymbol(e){return this._registeredStatuses.filter(({symbol:t})=>t===e)[0]}hasSymbol(e){return this._registeredStatuses.find(t=>t.symbol===e)!==void 0}addDefaultStatusTypes(){[ne.makeTodo(),ne.makeInProgress(),ne.makeDone(),ne.makeCancelled()].forEach(t=>{this.add(t)})}mermaidDiagram(e=!1){let t=this.registeredStatuses,n="mermaid",i=[],s=[];return t.forEach((a,o)=>{let u=this.getMermaidNodeLabel(a,e);i.push(`${o+1}${u}`);let l=this.getNextStatus(a);if(this.addEdgeIfNotToInternal(t,l,s,o,!1),a.type==="DONE"){let c=this.getNextRecurrenceStatusOrCreate(a);c.symbol!==l.symbol&&this.addEdgeIfNotToInternal(t,c,s,o,!0)}}),` \`\`\`${n} flowchart LR @@ -146,8 +146,8 @@ ${s.join(` linkStyle default stroke:gray \`\`\` -`}addEdgeIfNotToInternal(e,t,n,i,s){let a=e.findIndex(l=>l.symbol===t.symbol),o=a!==-1,u=t.type!=="EMPTY";if(o&&u){let l;s?l='-. "\u{1F501}" .-> ':l=" --> ";let c=`${i+1}${l}${a+1}`;n.push(c)}}getMermaidNodeLabel(e,t){let n=gv(e.name),i=e.type;if(t){let s=Xu(e.symbol),a=Xu(e.nextStatusSymbol),o=`[${s}] -> [${a}]`,u=`'${n}'`,l=`(${i})`;return`["${u}
${o}
${l}"]:::${i}`}else return`["${n}"]:::${i}`}};var yv=require("obsidian");var Vr=class{constructor(e,t){this.name=e,this.sortOrder=t}get groupText(){return this.name!==""?`%%${this.sortOrder}%% ${this.name}`:""}};var Pt=class{constructor(e){this._date=null;this._date=e}get moment(){return this._date}formatAsDate(e=""){return this.format(J.dateFormat,e)}formatAsDateAndTime(e=""){return this.format(J.dateTimeFormat,e)}format(e,t=""){return this._date?this._date.format(e):t}toISOString(e){return this._date?this._date.toISOString(e):""}get category(){let e=window.moment(),t=this.moment;return t?t.isBefore(e,"day")?new Vr("Overdue",1):t.isSame(e,"day")?new Vr("Today",2):t.isValid()?new Vr("Future",3):new Vr("Invalid date",0):new Vr("Undated",4)}get fromNow(){let e=this.moment;if(!e)return new Vr("",0);let t=this.fromNowOrder(e);return new Vr(e.fromNow(),t)}fromNowOrder(e){if(!e.isValid())return 0;let t=window.moment(),n=e.isSameOrBefore(t,"day"),i=this.fromNowStartDateOfGroup(e,n,t);return Number((n?1:3)+i.format("YYYYMMDD"))}fromNowStartDateOfGroup(e,t,n){let i=e.fromNow(!0).split(" "),s,a=Number(i[0]);isNaN(a)?s=1:s=a;let o=i[1];return t?n.subtract(s,o):n.add(s,o)}postpone(e="days",t=1){if(!this._date)throw new yv.Notice("Cannot postpone a null date");let n=window.moment().startOf("day");return this._date.isSameOrAfter(n,"day")?this._date.clone().add(t,e):n.add(t,e)}};var kn=class{static priorityNameUsingNone(e){let t="ERROR";switch(e){case"1":t="High";break;case"0":t="Highest";break;case"2":t="Medium";break;case"3":t="None";break;case"4":t="Low";break;case"5":t="Lowest";break}return t}static priorityNameUsingNormal(e){return kn.priorityNameUsingNone(e).replace("None","Normal")}};var hN=require("obsidian"),vv=na(_v());var Mm=class extends vv.EventEmitter2{constructor(){super(...arguments);this.options={minLevels:{"":"info",tasks:"info"}};this.consoleLoggerRegistered=!1;this.arrAvg=t=>t.reduce((n,i)=>n+i,0)/t.length}configure(t){return this.options=Object.assign({},this.options,t),this}getLogger(t){let n="none",i="";for(let s in this.options.minLevels)t.startsWith(s)&&s.length>=i.length&&(n=this.options.minLevels[s],i=s);return new Cm(this,t,n)}onLogEntry(t){return this.on("log",t),this}registerConsoleLogger(){return this.consoleLoggerRegistered?this:(this.onLogEntry(t=>{let n=`[${window.moment().format("YYYY-MM-DD-HH:mm:ss.SSS")}][${t.level}][${t.module}]`;switch(t.traceId&&(n+=`[${t.traceId}]`),n+=` ${t.message}`,t.objects===void 0&&(t.objects=""),t.level){case"trace":console.trace(n,t.objects);break;case"debug":console.debug(n,t.objects);break;case"info":console.info(n,t.objects);break;case"warn":console.warn(n,t.objects);break;case"error":console.error(n,t.objects);break;default:console.log(`{${t.level}} ${n}`,t.objects)}}),this.consoleLoggerRegistered=!0,this)}},St=new Mm,Cm=class{constructor(e,t,n){this.levels={trace:1,debug:2,info:3,warn:4,error:5};this.logManager=e,this.module=t,this.minLevel=this.levelToInt(n)}levelToInt(e){return e.toLowerCase()in this.levels?this.levels[e.toLowerCase()]:99}log(e,t,n){if(this.levelToInt(e){r.debug(`${e} ==> ${i+1} : ${n.toFileLineString()}`)})}var yt=class{static fromPath(e){let{useFilenameAsScheduledDate:t,filenameAsDateFolders:n}=Z();return!t||!this.matchesAnyFolder(n,e)?null:this.extractDateFromPath(e)}static matchesAnyFolder(e,t){return e.length===0?!0:e.some(n=>t.startsWith(n+"/"))}static extractDateFromPath(e){let t=Math.max(0,e.lastIndexOf("/")+1),n=e.lastIndexOf("."),i=e.substring(t,n),s=/(\d{4})-(\d{2})-(\d{2})/.exec(i);if(s||(s=/(\d{4})(\d{2})(\d{2})/.exec(i)),s){let a=window.moment([parseInt(s[1]),parseInt(s[2])-1,parseInt(s[3])]);if(a.isValid())return a}return null}static canApplyFallback({startDate:e,scheduledDate:t,dueDate:n}){return e===null&&n===null&&t===null}static updateTaskPath(e,t,n){let i=e.scheduledDate,s=e.scheduledDateIsInferred;return n===null?s&&(s=!1,i=null):s?i=n:this.canApplyFallback(e)&&(i=n,s=!0),new ae(he(K({},e),{taskLocation:e.taskLocation.fromRenamedFile(new Ve(t)),scheduledDate:i,scheduledDateIsInferred:s}))}static removeInferredStatusIfNeeded(e,t){let n=e.scheduledDateIsInferred?e.scheduledDate:null;return t.map(i=>(n!==null&&!n.isSame(i.scheduledDate,"day")&&(i=new ae(he(K({},i),{scheduledDateIsInferred:!1}))),i))}};var el=class{constructor(e,t){this.parent=null;this.children=[];this.originalMarkdown=e,this.parent=t,t!==null&&t.children.push(this)}};var xr=class{static calculate(e){var n,i,s;let t=0;if((n=e.dueDate)!=null&&n.isValid()){let a=window.moment().startOf("day"),o=Math.round(a.diff(e.dueDate)/xr.milliSecondsPerDay),u;o>=7?u=1:o>=-14?u=(o+14)*.8/21+.2:u=.2,t+=u*xr.dueCoefficient}switch((i=e.scheduledDate)!=null&&i.isValid()&&window.moment().isSameOrAfter(e.scheduledDate)&&(t+=1*xr.scheduledCoefficient),(s=e.startDate)!=null&&s.isValid()&&window.moment().isBefore(e.startDate)&&(t+=1*xr.startedCoefficient),e.priority){case"0":t+=1.5*xr.priorityCoefficient;break;case"1":t+=1*xr.priorityCoefficient;break;case"2":t+=.65*xr.priorityCoefficient;break;case"3":t+=.325*xr.priorityCoefficient;break;case"5":t-=.3*xr.priorityCoefficient;break}return t}},En=xr;En.dueCoefficient=12,En.scheduledCoefficient=5,En.startedCoefficient=-3,En.priorityCoefficient=6,En.milliSecondsPerDay=1e3*60*60*24;var ae=class extends el{constructor({status:t,description:n,taskLocation:i,indentation:s,listMarker:a,priority:o,createdDate:u,startDate:l,scheduledDate:c,dueDate:d,doneDate:f,cancelledDate:m,recurrence:y,dependsOn:g,id:T,blockLink:E,tags:S,originalMarkdown:x,scheduledDateIsInferred:q,parent:W=null}){super(x,W);this._urgency=null;this.status=t,this.description=n,this.indentation=s,this.listMarker=a,this.taskLocation=i,this.tags=S,this.priority=o,this.createdDate=u,this.startDate=l,this.scheduledDate=c,this.dueDate=d,this.doneDate=f,this.cancelledDate=m,this.recurrence=y,this.dependsOn=g,this.id=T,this.blockLink=E,this.scheduledDateIsInferred=q}static fromLine({line:t,taskLocation:n,fallbackDate:i}){let s=ae.extractTaskComponents(t);return s===null||!_e.getInstance().includedIn(s.body)?null:ae.parseTaskSignifiers(t,n,i)}static parseTaskSignifiers(t,n,i){let s=ae.extractTaskComponents(t);if(s===null)return null;let{taskSerializer:a}=yo(),o=a.deserialize(s.body),u=!1;return yt.canApplyFallback(o)&&i!==null&&(o.scheduledDate=i,u=!0),o.tags=o.tags.map(l=>l.trim()),o.tags=o.tags.filter(l=>!_e.getInstance().equals(l)),new ae(he(K(K({},s),o),{taskLocation:n,originalMarkdown:t,scheduledDateIsInferred:u}))}static extractTaskComponents(t){let n=t.match(J.taskRegex);if(n===null)return null;let i=n[1],s=n[2],a=n[3],o=De.getInstance().bySymbolOrCreate(a),u=n[4].trim(),l=u.match(J.blockLinkRegex),c=l!==null?l[0]:"";return c!==""&&(u=u.replace(J.blockLinkRegex,"").trim()),{indentation:i,listMarker:s,status:o,body:u,blockLink:c}}toString(){return yo().taskSerializer.serialize(this)}toFileLineString(){return`${this.indentation}${this.listMarker} [${this.status.symbol}] ${this.toString()}`}toggle(){let t=St.getLogger("tasks.Task"),n="toggle()";Zu(t,n,this);let i=De.getInstance().getNextStatusOrCreate(this.status),s=this.handleNewStatus(i);return Ju(t,n,s),s}handleNewStatus(t,n=window.moment()){if(t.identicalTo(this.status))return[this];let{setDoneDate:i}=Z(),s=this.newDate(t,"DONE",this.doneDate,i,n),{setCancelledDate:a}=Z(),o=this.newDate(t,"CANCELLED",this.cancelledDate,a,n),u=null;t.isCompleted()&&!this.status.isCompleted()&&this.recurrence!==null&&(u=this.recurrence.next(n));let l=new ae(he(K({},this),{status:t,doneDate:s,cancelledDate:o})),c=[];if(u!==null){let d=this.createNextOccurrence(t,u);c.push(d)}return c.push(l),c}newDate(t,n,i,s,a){let o=null;return t.type===n&&(this.status.type!==n?s&&(o=a):o=i),o}createNextOccurrence(t,n){let{setCreatedDate:i}=Z(),s=null;i&&(s=window.moment());let a=null,o=null,l=De.getInstance().getNextRecurrenceStatusOrCreate(t);return new ae(he(K(K({},this),n),{status:l,blockLink:"",id:"",dependsOn:[],createdDate:s,cancelledDate:a,doneDate:o}))}toggleWithRecurrenceInUsersOrder(){let t=this.toggle();return this.putRecurrenceInUsersOrder(t)}handleNewStatusWithRecurrenceInUsersOrder(t,n=window.moment()){St.getLogger("tasks.Task").debug(`changed task ${this.taskLocation.path} ${this.taskLocation.lineNumber} ${this.originalMarkdown} status to '${t.symbol}'`);let s=this.handleNewStatus(t,n);return this.putRecurrenceInUsersOrder(s)}putRecurrenceInUsersOrder(t){let{recurrenceOnNextLine:n}=Z();return n?t.reverse():t}get isDone(){return this.status.type==="DONE"||this.status.type==="CANCELLED"||this.status.type==="NON_TASK"}isBlocked(t){if(this.dependsOn.length===0||this.isDone)return!1;for(let n of this.dependsOn)if(!!t.find(s=>s.id===n&&!s.isDone))return!0;return!1}isBlocking(t){return this.id===""||this.isDone?!1:t.some(n=>n.isDone?!1:n.dependsOn.includes(this.id))}get priorityNumber(){return Number.parseInt(this.priority)}get priorityNameGroupText(){let t=kn.priorityNameUsingNormal(this.priority);return`%%${this.priority}%%${t} priority`}get descriptionWithoutTags(){return this.description.replace(J.hashTags,"").trim()}get priorityName(){return kn.priorityNameUsingNormal(this.priority)}get urgency(){return this._urgency===null&&(this._urgency=En.calculate(this)),this._urgency}get path(){return this.taskLocation.path}get cancelled(){return new Pt(this.cancelledDate)}get created(){return new Pt(this.createdDate)}get done(){return new Pt(this.doneDate)}get due(){return new Pt(this.dueDate)}get scheduled(){return new Pt(this.scheduledDate)}get start(){return new Pt(this.startDate)}get happensDates(){return Array.of(this.startDate,this.scheduledDate,this.dueDate)}get happens(){let t=this.happensDates,n=Array.from(t).sort(fr);for(let i of n)if(i!=null&&i.isValid())return new Pt(i);return new Pt(null)}get isRecurring(){return this.recurrence!==null}get recurrenceRule(){return this.recurrence?this.recurrence.toText():""}get heading(){return this.precedingHeader}get hasHeading(){return this.precedingHeader!==null}get file(){return this.taskLocation.tasksFile}get filename(){let t=this.path.match(/([^/]+)\.md$/);return t!==null?t[1]:null}get lineNumber(){return this.taskLocation.lineNumber}get sectionStart(){return this.taskLocation.sectionStart}get sectionIndex(){return this.taskLocation.sectionIndex}get precedingHeader(){return this.taskLocation.precedingHeader}getLinkText({isFilenameUnique:t}){let n;return t?n=this.filename:n="/"+this.path,n===null?null:(this.precedingHeader!==null&&this.precedingHeader!==n&&(n=n+" > "+this.precedingHeader),n)}static tasksListsIdentical(t,n){return t.length!==n.length?!1:t.every((i,s)=>i.identicalTo(n[s]))}identicalTo(t){var a,o;let n=["description","path","indentation","listMarker","lineNumber","sectionStart","sectionIndex","precedingHeader","priority","blockLink","scheduledDateIsInferred","id","dependsOn"];for(let u of n)if(((a=this[u])==null?void 0:a.toString())!==((o=t[u])==null?void 0:o.toString()))return!1;if(!this.status.identicalTo(t.status)||this.tags.length!==t.tags.length||!this.tags.every(function(u,l){return u===t.tags[l]}))return!1;n=ae.allDateFields();for(let u of n){let l=this[u],c=t[u];if(fr(l,c)!==0)return!1}let i=this.recurrence,s=t.recurrence;return i===null&&s!==null||i!==null&&s===null?!1:!(i&&s&&!i.identicalTo(s))}static allDateFields(){return["createdDate","startDate","scheduledDate","dueDate","doneDate","cancelledDate"]}static extractHashtags(t){var n,i;return(i=(n=t.match(J.hashTags))==null?void 0:n.map(s=>s.trim()))!=null?i:[]}};var bo=class{constructor(e){this.fetch=e;this._value=void 0}get value(){return this._value===void 0&&(this._value=this.fetch()),this._value}};var ft=class{constructor(e,t,n,i,s){this._tasksFile=e,this._lineNumber=t,this._sectionStart=n,this._sectionIndex=i,this._precedingHeader=s}static fromUnknownPosition(e){return new ft(e,0,0,0,null)}fromRenamedFile(e){return new ft(e,this.lineNumber,this.sectionStart,this.sectionIndex,this.precedingHeader)}get tasksFile(){return this._tasksFile}get path(){return this._tasksFile.path}get lineNumber(){return this._lineNumber}get sectionStart(){return this._sectionStart}get sectionIndex(){return this._sectionIndex}get precedingHeader(){return this._precedingHeader}get hasKnownPath(){return this.path!==""}};function gN(r,e,t,n,i,s){var y;let a=new Ve(r),o=[],u=e.split(` -`),l=u.length,c=new bo(()=>yt.fromPath(r)),d=null,f=0,m=new Map;for(let g of t)if(g.task!==void 0){let T=g.position.start.line;if(T>=l)return n.debug(`${r} Obsidian gave us a line number ${T} past the end of the file. ${l}.`),o;if((d===null||d.position.end.lineP(this,null,function*(){this.loadedAfterFirstResolve||(this.loadedAfterFirstResolve=!0,this.loadVault())}));this.metadataCacheEventReferences.push(e);let t=this.metadataCache.on("changed",n=>{this.tasksMutex.runExclusive(()=>{this.indexFile(n)})});this.metadataCacheEventReferences.push(t)}subscribeToVault(){this.logger.debug("Cache.subscribeToVault()");let{useFilenameAsScheduledDate:e}=Z(),t=this.vault.on("create",s=>{s instanceof ms.TFile&&(this.logger.debug(`Cache.subscribeToVault.createdEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{this.indexFile(s)}))});this.vaultEventReferences.push(t);let n=this.vault.on("delete",s=>{s instanceof ms.TFile&&(this.logger.debug(`Cache.subscribeToVault.deletedEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{this.tasks=this.tasks.filter(a=>a.path!==s.path),this.notifySubscribers()}))});this.vaultEventReferences.push(n);let i=this.vault.on("rename",(s,a)=>{s instanceof ms.TFile&&(this.logger.debug(`Cache.subscribeToVault.renamedEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{let o=new Ve(s.path),u=new bo(()=>yt.fromPath(s.path));this.tasks=this.tasks.map(l=>l.path===a?e?yt.updateTaskPath(l,s.path,u.value):new ae(he(K({},l),{taskLocation:l.taskLocation.fromRenamedFile(o)})):l),this.notifySubscribers()}))});this.vaultEventReferences.push(i)}subscribeToEvents(){this.logger.debug("Cache.subscribeToEvents()");let e=this.events.onRequestCacheUpdate(t=>{t({tasks:this.tasks,state:this.state})});this.eventsEventReferences.push(e)}loadVault(){return this.logger.debug("Cache.loadVault()"),this.tasksMutex.runExclusive(()=>P(this,null,function*(){this.state="Initializing",this.logger.debug("Cache.loadVault(): state = Initializing"),yield Promise.all(this.vault.getMarkdownFiles().map(e=>this.indexFile(e))),this.state="Warm",this.logger.debug("Cache.loadVault(): state = Warm"),this.notifySubscribers()}))}indexFile(e){return P(this,null,function*(){let t=this.metadataCache.getFileCache(e);if(t==null)return;if(!e.path.endsWith(".md")){this.logger.debug("indexFile: skipping non-markdown file: "+e.path);return}this.logger.debug("Cache.indexFile: "+e.path);let n=this.tasks.filter(a=>a.path===e.path),i=t.listItems,s=[];if(i!==void 0){let a=yield this.vault.cachedRead(e);s=this.getTasksFromFileContent(a,i,t,e.path,this.reportTaskParsingErrorToUser,this.logger)}ae.tasksListsIdentical(n,s)||(this.tasks=this.tasks.filter(a=>a.path!==e.path),this.tasks.push(...s),this.logger.debug("Cache.indexFile: "+e.path+`: read ${s.length} task(s)`),this.notifySubscribers())})}getTasksFromFileContent(e,t,n,i,s,a){return gN(i,e,t,a,n,s)}reportTaskParsingErrorToUser(e,t,n,i){let s=`There was an error reading one of the tasks in this vault. +`}addEdgeIfNotToInternal(e,t,n,i,s){let a=e.findIndex(l=>l.symbol===t.symbol),o=a!==-1,u=t.type!=="EMPTY";if(o&&u){let l;s?l='-. "\u{1F501}" .-> ':l=" --> ";let c=`${i+1}${l}${a+1}`;n.push(c)}}getMermaidNodeLabel(e,t){let n=yv(e.name),i=e.type;if(t){let s=Zu(e.symbol),a=Zu(e.nextStatusSymbol),o=`[${s}] -> [${a}]`,u=`'${n}'`,l=`(${i})`;return`["${u}
${o}
${l}"]:::${i}`}else return`["${n}"]:::${i}`}};var bv=require("obsidian");var Vr=class{constructor(e,t){this.name=e,this.sortOrder=t}get groupText(){return this.name!==""?`%%${this.sortOrder}%% ${this.name}`:""}};var Pt=class{constructor(e){this._date=null;this._date=e}get moment(){return this._date}formatAsDate(e=""){return this.format(J.dateFormat,e)}formatAsDateAndTime(e=""){return this.format(J.dateTimeFormat,e)}format(e,t=""){return this._date?this._date.format(e):t}toISOString(e){return this._date?this._date.toISOString(e):""}get category(){let e=window.moment(),t=this.moment;return t?t.isBefore(e,"day")?new Vr("Overdue",1):t.isSame(e,"day")?new Vr("Today",2):t.isValid()?new Vr("Future",3):new Vr("Invalid date",0):new Vr("Undated",4)}get fromNow(){let e=this.moment;if(!e)return new Vr("",0);let t=this.fromNowOrder(e);return new Vr(e.fromNow(),t)}fromNowOrder(e){if(!e.isValid())return 0;let t=window.moment(),n=e.isSameOrBefore(t,"day"),i=this.fromNowStartDateOfGroup(e,n,t);return Number((n?1:3)+i.format("YYYYMMDD"))}fromNowStartDateOfGroup(e,t,n){let i=e.fromNow(!0).split(" "),s,a=Number(i[0]);isNaN(a)?s=1:s=a;let o=i[1];return t?n.subtract(s,o):n.add(s,o)}postpone(e="days",t=1){if(!this._date)throw new bv.Notice("Cannot postpone a null date");let n=window.moment().startOf("day");return this._date.isSameOrAfter(n,"day")?this._date.clone().add(t,e):n.add(t,e)}};var kn=class{static priorityNameUsingNone(e){let t="ERROR";switch(e){case"1":t="High";break;case"0":t="Highest";break;case"2":t="Medium";break;case"3":t="None";break;case"4":t="Low";break;case"5":t="Lowest";break}return t}static priorityNameUsingNormal(e){return kn.priorityNameUsingNone(e).replace("None","Normal")}};var hN=require("obsidian"),wv=ia(vv());var Mm=class extends wv.EventEmitter2{constructor(){super(...arguments);this.options={minLevels:{"":"info",tasks:"info"}};this.consoleLoggerRegistered=!1;this.arrAvg=t=>t.reduce((n,i)=>n+i,0)/t.length}configure(t){return this.options=Object.assign({},this.options,t),this}getLogger(t){let n="none",i="";for(let s in this.options.minLevels)t.startsWith(s)&&s.length>=i.length&&(n=this.options.minLevels[s],i=s);return new Cm(this,t,n)}onLogEntry(t){return this.on("log",t),this}registerConsoleLogger(){return this.consoleLoggerRegistered?this:(this.onLogEntry(t=>{let n=`[${window.moment().format("YYYY-MM-DD-HH:mm:ss.SSS")}][${t.level}][${t.module}]`;switch(t.traceId&&(n+=`[${t.traceId}]`),n+=` ${t.message}`,t.objects===void 0&&(t.objects=""),t.level){case"trace":console.trace(n,t.objects);break;case"debug":console.debug(n,t.objects);break;case"info":console.info(n,t.objects);break;case"warn":console.warn(n,t.objects);break;case"error":console.error(n,t.objects);break;default:console.log(`{${t.level}} ${n}`,t.objects)}}),this.consoleLoggerRegistered=!0,this)}},St=new Mm,Cm=class{constructor(e,t,n){this.levels={trace:1,debug:2,info:3,warn:4,error:5};this.logManager=e,this.module=t,this.minLevel=this.levelToInt(n)}levelToInt(e){return e.toLowerCase()in this.levels?this.levels[e.toLowerCase()]:99}log(e,t,n){if(this.levelToInt(e){r.debug(`${e} ==> ${i+1} : ${n.toFileLineString()}`)})}var yt=class{static fromPath(e){let{useFilenameAsScheduledDate:t,filenameAsDateFolders:n}=Z();return!t||!this.matchesAnyFolder(n,e)?null:this.extractDateFromPath(e)}static matchesAnyFolder(e,t){return e.length===0?!0:e.some(n=>t.startsWith(n+"/"))}static extractDateFromPath(e){let t=Math.max(0,e.lastIndexOf("/")+1),n=e.lastIndexOf("."),i=e.substring(t,n),s=/(\d{4})-(\d{2})-(\d{2})/.exec(i);if(s||(s=/(\d{4})(\d{2})(\d{2})/.exec(i)),s){let a=window.moment([parseInt(s[1]),parseInt(s[2])-1,parseInt(s[3])]);if(a.isValid())return a}return null}static canApplyFallback({startDate:e,scheduledDate:t,dueDate:n}){return e===null&&n===null&&t===null}static updateTaskPath(e,t,n){let i=e.scheduledDate,s=e.scheduledDateIsInferred;return n===null?s&&(s=!1,i=null):s?i=n:this.canApplyFallback(e)&&(i=n,s=!0),new ae(he(K({},e),{taskLocation:e.taskLocation.fromRenamedFile(new Ve(t)),scheduledDate:i,scheduledDateIsInferred:s}))}static removeInferredStatusIfNeeded(e,t){let n=e.scheduledDateIsInferred?e.scheduledDate:null;return t.map(i=>(n!==null&&!n.isSame(i.scheduledDate,"day")&&(i=new ae(he(K({},i),{scheduledDateIsInferred:!1}))),i))}};var xr=class{static calculate(e){var n,i,s;let t=0;if((n=e.dueDate)!=null&&n.isValid()){let a=window.moment().startOf("day"),o=Math.round(a.diff(e.dueDate)/xr.milliSecondsPerDay),u;o>=7?u=1:o>=-14?u=(o+14)*.8/21+.2:u=.2,t+=u*xr.dueCoefficient}switch((i=e.scheduledDate)!=null&&i.isValid()&&window.moment().isSameOrAfter(e.scheduledDate)&&(t+=1*xr.scheduledCoefficient),(s=e.startDate)!=null&&s.isValid()&&window.moment().isBefore(e.startDate)&&(t+=1*xr.startedCoefficient),e.priority){case"0":t+=1.5*xr.priorityCoefficient;break;case"1":t+=1*xr.priorityCoefficient;break;case"2":t+=.65*xr.priorityCoefficient;break;case"3":t+=.325*xr.priorityCoefficient;break;case"5":t-=.3*xr.priorityCoefficient;break}return t}},En=xr;En.dueCoefficient=12,En.scheduledCoefficient=5,En.startedCoefficient=-3,En.priorityCoefficient=6,En.milliSecondsPerDay=1e3*60*60*24;var ae=class extends Bi{constructor({status:t,description:n,taskLocation:i,indentation:s,listMarker:a,priority:o,createdDate:u,startDate:l,scheduledDate:c,dueDate:d,doneDate:f,cancelledDate:m,recurrence:g,dependsOn:y,id:T,blockLink:k,tags:S,originalMarkdown:x,scheduledDateIsInferred:U,parent:q=null}){super(x,q);this._urgency=null;this.status=t,this.description=n,this.indentation=s,this.listMarker=a,this.taskLocation=i,this.tags=S,this.priority=o,this.createdDate=u,this.startDate=l,this.scheduledDate=c,this.dueDate=d,this.doneDate=f,this.cancelledDate=m,this.recurrence=g,this.dependsOn=y,this.id=T,this.blockLink=k,this.scheduledDateIsInferred=U}static fromLine({line:t,taskLocation:n,fallbackDate:i}){let s=ae.extractTaskComponents(t);return s===null||!_e.getInstance().includedIn(s.body)?null:ae.parseTaskSignifiers(t,n,i)}static parseTaskSignifiers(t,n,i){let s=ae.extractTaskComponents(t);if(s===null)return null;let{taskSerializer:a}=bo(),o=a.deserialize(s.body),u=!1;return yt.canApplyFallback(o)&&i!==null&&(o.scheduledDate=i,u=!0),o.tags=o.tags.map(l=>l.trim()),o.tags=o.tags.filter(l=>!_e.getInstance().equals(l)),new ae(he(K(K({},s),o),{taskLocation:n,originalMarkdown:t,scheduledDateIsInferred:u}))}static extractTaskComponents(t){let n=t.match(J.taskRegex);if(n===null)return null;let i=n[1],s=n[2],a=n[3],o=De.getInstance().bySymbolOrCreate(a),u=n[4].trim(),l=u.match(J.blockLinkRegex),c=l!==null?l[0]:"";return c!==""&&(u=u.replace(J.blockLinkRegex,"").trim()),{indentation:i,listMarker:s,status:o,body:u,blockLink:c}}toString(){return bo().taskSerializer.serialize(this)}toFileLineString(){return`${this.indentation}${this.listMarker} [${this.status.symbol}] ${this.toString()}`}toggle(){let t=St.getLogger("tasks.Task"),n="toggle()";Ju(t,n,this);let i=De.getInstance().getNextStatusOrCreate(this.status),s=this.handleNewStatus(i);return el(t,n,s),s}handleNewStatus(t,n=window.moment()){if(t.identicalTo(this.status))return[this];let{setDoneDate:i}=Z(),s=this.newDate(t,"DONE",this.doneDate,i,n),{setCancelledDate:a}=Z(),o=this.newDate(t,"CANCELLED",this.cancelledDate,a,n),u=null;t.isCompleted()&&!this.status.isCompleted()&&this.recurrence!==null&&(u=this.recurrence.next(n));let l=new ae(he(K({},this),{status:t,doneDate:s,cancelledDate:o})),c=[];if(u!==null){let d=this.createNextOccurrence(t,u);c.push(d)}return c.push(l),c}newDate(t,n,i,s,a){let o=null;return t.type===n&&(this.status.type!==n?s&&(o=a):o=i),o}createNextOccurrence(t,n){let{setCreatedDate:i}=Z(),s=null;i&&(s=window.moment());let a=null,o=null,l=De.getInstance().getNextRecurrenceStatusOrCreate(t);return new ae(he(K(K({},this),n),{status:l,blockLink:"",id:"",dependsOn:[],createdDate:s,cancelledDate:a,doneDate:o}))}toggleWithRecurrenceInUsersOrder(){let t=this.toggle();return this.putRecurrenceInUsersOrder(t)}handleNewStatusWithRecurrenceInUsersOrder(t,n=window.moment()){St.getLogger("tasks.Task").debug(`changed task ${this.taskLocation.path} ${this.taskLocation.lineNumber} ${this.originalMarkdown} status to '${t.symbol}'`);let s=this.handleNewStatus(t,n);return this.putRecurrenceInUsersOrder(s)}putRecurrenceInUsersOrder(t){let{recurrenceOnNextLine:n}=Z();return n?t.reverse():t}get isDone(){return this.status.type==="DONE"||this.status.type==="CANCELLED"||this.status.type==="NON_TASK"}isBlocked(t){if(this.dependsOn.length===0||this.isDone)return!1;for(let n of this.dependsOn)if(!!t.find(s=>s.id===n&&!s.isDone))return!0;return!1}isBlocking(t){return this.id===""||this.isDone?!1:t.some(n=>n.isDone?!1:n.dependsOn.includes(this.id))}get priorityNumber(){return Number.parseInt(this.priority)}get priorityNameGroupText(){let t=kn.priorityNameUsingNormal(this.priority);return`%%${this.priority}%%${t} priority`}get descriptionWithoutTags(){return this.description.replace(J.hashTags,"").trim()}get priorityName(){return kn.priorityNameUsingNormal(this.priority)}get urgency(){return this._urgency===null&&(this._urgency=En.calculate(this)),this._urgency}get path(){return this.taskLocation.path}get cancelled(){return new Pt(this.cancelledDate)}get created(){return new Pt(this.createdDate)}get done(){return new Pt(this.doneDate)}get due(){return new Pt(this.dueDate)}get scheduled(){return new Pt(this.scheduledDate)}get start(){return new Pt(this.startDate)}get happensDates(){return Array.of(this.startDate,this.scheduledDate,this.dueDate)}get happens(){let t=this.happensDates,n=Array.from(t).sort(fr);for(let i of n)if(i!=null&&i.isValid())return new Pt(i);return new Pt(null)}get isRecurring(){return this.recurrence!==null}get recurrenceRule(){return this.recurrence?this.recurrence.toText():""}get heading(){return this.precedingHeader}get hasHeading(){return this.precedingHeader!==null}get file(){return this.taskLocation.tasksFile}get filename(){let t=this.path.match(/([^/]+)\.md$/);return t!==null?t[1]:null}get lineNumber(){return this.taskLocation.lineNumber}get sectionStart(){return this.taskLocation.sectionStart}get sectionIndex(){return this.taskLocation.sectionIndex}get precedingHeader(){return this.taskLocation.precedingHeader}getLinkText({isFilenameUnique:t}){let n;return t?n=this.filename:n="/"+this.path,n===null?null:(this.precedingHeader!==null&&this.precedingHeader!==n&&(n=n+" > "+this.precedingHeader),n)}static tasksListsIdentical(t,n){return t.length!==n.length?!1:t.every((i,s)=>i.identicalTo(n[s]))}identicalTo(t){var a,o;let n=["description","path","indentation","listMarker","lineNumber","sectionStart","sectionIndex","precedingHeader","priority","blockLink","scheduledDateIsInferred","id","dependsOn"];for(let u of n)if(((a=this[u])==null?void 0:a.toString())!==((o=t[u])==null?void 0:o.toString()))return!1;if(!this.status.identicalTo(t.status)||this.tags.length!==t.tags.length||!this.tags.every(function(u,l){return u===t.tags[l]}))return!1;n=ae.allDateFields();for(let u of n){let l=this[u],c=t[u];if(fr(l,c)!==0)return!1}let i=this.recurrence,s=t.recurrence;return i===null&&s!==null||i!==null&&s===null?!1:!(i&&s&&!i.identicalTo(s))}static allDateFields(){return["createdDate","startDate","scheduledDate","dueDate","doneDate","cancelledDate"]}static extractHashtags(t){var n,i;return(i=(n=t.match(J.hashTags))==null?void 0:n.map(s=>s.trim()))!=null?i:[]}};var To=class{constructor(e){this.fetch=e;this._value=void 0}get value(){return this._value===void 0&&(this._value=this.fetch()),this._value}};var ft=class{constructor(e,t,n,i,s){this._tasksFile=e,this._lineNumber=t,this._sectionStart=n,this._sectionIndex=i,this._precedingHeader=s}static fromUnknownPosition(e){return new ft(e,0,0,0,null)}fromRenamedFile(e){return new ft(e,this.lineNumber,this.sectionStart,this.sectionIndex,this.precedingHeader)}get tasksFile(){return this._tasksFile}get path(){return this._tasksFile.path}get lineNumber(){return this._lineNumber}get sectionStart(){return this._sectionStart}get sectionIndex(){return this._sectionIndex}get precedingHeader(){return this._precedingHeader}get hasKnownPath(){return this.path!==""}};function gN(r,e,t,n,i,s){var g,y;let a=new Ve(r),o=[],u=e.split(` +`),l=u.length,c=new To(()=>yt.fromPath(r)),d=null,f=0,m=new Map;for(let T of t)if(T.task!==void 0){let k=T.position.start.line;if(k>=l)return n.debug(`${r} Obsidian gave us a line number ${k} past the end of the file. ${l}.`),o;if((d===null||d.position.end.lineP(this,null,function*(){this.loadedAfterFirstResolve||(this.loadedAfterFirstResolve=!0,this.loadVault())}));this.metadataCacheEventReferences.push(e);let t=this.metadataCache.on("changed",n=>{this.tasksMutex.runExclusive(()=>{this.indexFile(n)})});this.metadataCacheEventReferences.push(t)}subscribeToVault(){this.logger.debug("Cache.subscribeToVault()");let{useFilenameAsScheduledDate:e}=Z(),t=this.vault.on("create",s=>{s instanceof hs.TFile&&(this.logger.debug(`Cache.subscribeToVault.createdEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{this.indexFile(s)}))});this.vaultEventReferences.push(t);let n=this.vault.on("delete",s=>{s instanceof hs.TFile&&(this.logger.debug(`Cache.subscribeToVault.deletedEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{this.tasks=this.tasks.filter(a=>a.path!==s.path),this.notifySubscribers()}))});this.vaultEventReferences.push(n);let i=this.vault.on("rename",(s,a)=>{s instanceof hs.TFile&&(this.logger.debug(`Cache.subscribeToVault.renamedEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{let o=new Ve(s.path),u=new To(()=>yt.fromPath(s.path));this.tasks=this.tasks.map(l=>l.path===a?e?yt.updateTaskPath(l,s.path,u.value):new ae(he(K({},l),{taskLocation:l.taskLocation.fromRenamedFile(o)})):l),this.notifySubscribers()}))});this.vaultEventReferences.push(i)}subscribeToEvents(){this.logger.debug("Cache.subscribeToEvents()");let e=this.events.onRequestCacheUpdate(t=>{t({tasks:this.tasks,state:this.state})});this.eventsEventReferences.push(e)}loadVault(){return this.logger.debug("Cache.loadVault()"),this.tasksMutex.runExclusive(()=>P(this,null,function*(){this.state="Initializing",this.logger.debug("Cache.loadVault(): state = Initializing"),yield Promise.all(this.vault.getMarkdownFiles().map(e=>this.indexFile(e))),this.state="Warm",this.logger.debug("Cache.loadVault(): state = Warm"),this.notifySubscribers()}))}indexFile(e){return P(this,null,function*(){let t=this.metadataCache.getFileCache(e);if(t==null)return;if(!e.path.endsWith(".md")){this.logger.debug("indexFile: skipping non-markdown file: "+e.path);return}this.logger.debug("Cache.indexFile: "+e.path);let n=this.tasks.filter(a=>a.path===e.path),i=t.listItems,s=[];if(i!==void 0){let a=yield this.vault.cachedRead(e);s=this.getTasksFromFileContent(a,i,t,e.path,this.reportTaskParsingErrorToUser,this.logger)}ae.tasksListsIdentical(n,s)||(this.tasks=this.tasks.filter(a=>a.path!==e.path),this.tasks.push(...s),this.logger.debug("Cache.indexFile: "+e.path+`: read ${s.length} task(s)`),this.notifySubscribers())})}getTasksFromFileContent(e,t,n,i,s,a){return gN(i,e,t,a,n,s)}reportTaskParsingErrorToUser(e,t,n,i){let s=`There was an error reading one of the tasks in this vault. The following task has been ignored, to prevent Tasks queries getting stuck with 'Loading Tasks ...' Error: ${e} File: ${t} @@ -165,7 +165,7 @@ Include: The error popup will only be shown when Tasks is starting up, but if the error persists, it will be shown in the console every time this file is edited during the Obsidian session. -`;this.logger.error(s),e instanceof Error&&this.logger.error(e.stack?e.stack:"Cannot determine stack"),this.state==="Initializing"&&new ms.Notice(s,1e4)}static getSection(e,t){if(t===void 0)return null;for(let n of t)if(n.position.start.line<=e&&n.position.end.line>=e)return n;return null}static getPrecedingHeader(e,t){if(t===void 0)return null;let n=null;for(let i of t){if(i.position.start.line>e)return n;n=i.heading}return n}};var th=require("obsidian");var Tw=require("obsidian");function Ue(){}function Fm(r){return r()}function wv(){return Object.create(null)}function Nt(r){r.forEach(Fm)}function nl(r){return typeof r=="function"}function zr(r,e){return r!=r?e==e:r!==e||r&&typeof r=="object"||typeof r=="function"}function kv(r){return Object.keys(r).length===0}var Ev=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global,_o=class{constructor(e){this.options=e,this._listeners="WeakMap"in Ev?new WeakMap:void 0}observe(e,t){return this._listeners.set(e,t),this._getObserver().observe(e,this.options),()=>{this._listeners.delete(e),this._observer.unobserve(e)}}_getObserver(){var e;return(e=this._observer)!==null&&e!==void 0?e:this._observer=new ResizeObserver(t=>{var n;for(let i of t)_o.entries.set(i.target,i),(n=this._listeners.get(i.target))===null||n===void 0||n(i)})}};_o.entries="WeakMap"in Ev?new WeakMap:void 0;var Sv=!1;function yN(){Sv=!0}function bN(){Sv=!1}function F(r,e){r.appendChild(e)}function de(r,e,t){r.insertBefore(e,t||null)}function oe(r){r.parentNode&&r.parentNode.removeChild(r)}function Ri(r,e){for(let t=0;tr.removeEventListener(e,t,n)}function Dv(r){return function(e){return e.preventDefault(),r.call(this,e)}}function L(r,e,t){t==null?r.removeAttribute(e):r.getAttribute(e)!==t&&r.setAttribute(e,t)}function xv(r){let e;return{p(...t){e=t,e.forEach(n=>r.push(n))},r(){e.forEach(t=>r.splice(r.indexOf(t),1))}}}function _N(r){return Array.from(r.childNodes)}function Rr(r,e){e=""+e,r.data!==e&&(r.data=e)}function mr(r,e){r.value=e==null?"":e}function Lm(r,e,t){for(let n=0;n{a.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=xe(n.contentWindow,"resize",e),e()}),F(r,n),()=>{(i||s&&n.contentWindow)&&s(),oe(n)}}function Sn(r,e,t){r.classList[t?"add":"remove"](e)}var Ts=class{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=TN(t.nodeName):this.e=Q(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;tr.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),bs=e}var rl=new Set,Di;function Av(){Di={r:0,c:[],p:Di}}function Pv(){Di.r||Nt(Di.c),Di=Di.p}function It(r,e){r&&r.i&&(rl.delete(r),r.i(e))}function Kt(r,e,t,n){if(r&&r.o){if(rl.has(r))return;rl.add(r),Di.c.push(()=>{rl.delete(r),n&&(t&&r.d(1),n())}),r.o(e)}else n&&n()}var DN=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],Sj=new Set([...DN]);function Dt(r,e,t){let n=r.$$.props[e];n!==void 0&&(r.$$.bound[n]=t,t(r.$$.ctx[n]))}function Mr(r){r&&r.c()}function hr(r,e,t,n){let{fragment:i,after_update:s}=r.$$;i&&i.m(e,t),n||xi(()=>{let a=r.$$.on_mount.map(Fm).filter(nl);r.$$.on_destroy?r.$$.on_destroy.push(...a):Nt(a),r.$$.on_mount=[]}),s.forEach(xi)}function Qt(r,e){let t=r.$$;t.fragment!==null&&(ON(t.after_update),Nt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function xN(r,e){r.$$.dirty[0]===-1&&(ys.push(r),EN(),r.$$.dirty.fill(0)),r.$$.dirty[e/31|0]|=1<{let y=m.length?m[0]:f;return l.ctx&&i(l.ctx[d],l.ctx[d]=y)&&(!l.skip_bound&&l.bound[d]&&l.bound[d](y),c&&xN(r,d)),f}):[],l.update(),c=!0,Nt(l.before_update),l.fragment=n?n(l.ctx):!1,e.target){if(e.hydrate){yN();let d=_N(e.target);l.fragment&&l.fragment.l(d),d.forEach(oe)}else l.fragment&&l.fragment.c();e.intro&&It(r.$$.fragment),hr(r,e.target,e.anchor,e.customElement),bN(),Cv()}To(u)}var RN;typeof HTMLElement=="function"&&(RN=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let{on_mount:r}=this.$$;this.$$.on_disconnect=r.map(Fm).filter(nl);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(r,e,t){this[r]=t}disconnectedCallback(){Nt(this.$$.on_disconnect)}$destroy(){Qt(this,1),this.$destroy=Ue}$on(r,e){if(!nl(e))return Ue;let t=this.$$.callbacks[r]||(this.$$.callbacks[r]=[]);return t.push(e),()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)}}$set(r){this.$$set&&!kv(r)&&(this.$$.skip_bound=!0,this.$$set(r),this.$$.skip_bound=!1)}});var pr=class{$destroy(){Qt(this,1),this.$destroy=Ue}$on(e,t){if(!nl(t))return Ue;let n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{let i=n.indexOf(t);i!==-1&&n.splice(i,1)}}$set(e){this.$$set&&!kv(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};function Nv(r,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function o(c){try{l(n.next(c))}catch(d){a(d)}}function u(c){try{l(n.throw(c))}catch(d){a(d)}}function l(c){c.done?s(c.value):i(c.value).then(o,u)}l((n=n.apply(r,e||[])).next())})}function _s(r){return r.charAt(0).toUpperCase()+r.slice(1)}function pt(r,e){if(e===null)return _s(r);let t=r.toLowerCase().indexOf(e.toLowerCase());if(t===-1)return`${_s(r)} (${e.toLowerCase()})`;let n=r.substring(0,t);return n+='',t===0?n+=r.substring(t,t+1).toUpperCase():n+=r.substring(t,t+1),n+="",n+=r.substring(t+1),n=_s(n),n}function MN(r){let e,t=pt(r[2],r[4])+"",n,i,s,a,o,u,l,c,d;return{c(){e=Q("label"),n=ue(),i=Q("input"),s=ue(),a=Q("code"),o=Me(r[3]),u=ue(),l=new Ts(!1),L(e,"for",r[2]),L(i,"id",r[2]),L(i,"type","text"),L(i,"class","tasks-modal-date-input"),L(i,"placeholder",CN),L(i,"accesskey",r[4]),Sn(i,"tasks-modal-error",!r[1]),l.a=null,L(a,"class","tasks-modal-parsed-date")},m(f,m){de(f,e,m),e.innerHTML=t,de(f,n,m),de(f,i,m),mr(i,r[0]),de(f,s,m),de(f,a,m),F(a,o),F(a,u),l.m(r[5],a),c||(d=xe(i,"input",r[7]),c=!0)},p(f,[m]){m&20&&t!==(t=pt(f[2],f[4])+"")&&(e.innerHTML=t),m&4&&L(e,"for",f[2]),m&4&&L(i,"id",f[2]),m&16&&L(i,"accesskey",f[4]),m&1&&i.value!==f[0]&&mr(i,f[0]),m&2&&Sn(i,"tasks-modal-error",!f[1]),m&8&&Rr(o,f[3]),m&32&&l.p(f[5])},i:Ue,o:Ue,d(f){f&&oe(e),f&&oe(n),f&&oe(i),f&&oe(s),f&&oe(a),c=!1,d()}}}var CN="Try 'Mon' or 'tm' then space";function AN(r,e,t){let{id:n}=e,{dateSymbol:i}=e,{date:s}=e,{isDateValid:a}=e,{forwardOnly:o}=e,{accesskey:u}=e,l;function c(){s=this.value,t(0,s),t(2,n),t(6,o),t(5,l)}return r.$$set=d=>{"id"in d&&t(2,n=d.id),"dateSymbol"in d&&t(3,i=d.dateSymbol),"date"in d&&t(0,s=d.date),"isDateValid"in d&&t(1,a=d.isDateValid),"forwardOnly"in d&&t(6,o=d.forwardOnly),"accesskey"in d&&t(4,u=d.accesskey)},r.$$.update=()=>{if(r.$$.dirty&101){e:t(0,s=Lu(s)),t(5,l=av(n,s,o)),t(1,a=!l.includes("invalid"))}},[s,a,n,i,u,l,o,c]}var Wm=class extends pr{constructor(e){super(),Kr(this,e,AN,MN,zr,{id:2,dateSymbol:3,date:0,isDateValid:1,forwardOnly:6,accesskey:4})}},Mi=Wm;var Ci=Math.min,Ft=Math.max,ko=Math.round;var On=r=>({x:r,y:r}),PN={left:"right",right:"left",bottom:"top",top:"bottom"},NN={start:"end",end:"start"};function qm(r,e,t){return Ft(r,Ci(e,t))}function vs(r,e){return typeof r=="function"?r(e):r}function Dn(r){return r.split("-")[0]}function ws(r){return r.split("-")[1]}function $m(r){return r==="x"?"y":"x"}function jm(r){return r==="y"?"height":"width"}function ks(r){return["top","bottom"].includes(Dn(r))?"y":"x"}function Gm(r){return $m(ks(r))}function Iv(r,e,t){t===void 0&&(t=!1);let n=ws(r),i=Gm(r),s=jm(i),a=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=wo(a)),[a,wo(a)]}function Fv(r){let e=wo(r);return[il(r),e,il(e)]}function il(r){return r.replace(/start|end/g,e=>NN[e])}function IN(r,e,t){let n=["left","right"],i=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(r){case"top":case"bottom":return t?e?i:n:e?n:i;case"left":case"right":return e?s:a;default:return[]}}function Lv(r,e,t,n){let i=ws(r),s=IN(Dn(r),t==="start",n);return i&&(s=s.map(a=>a+"-"+i),e&&(s=s.concat(s.map(il)))),s}function wo(r){return r.replace(/left|right|bottom|top/g,e=>PN[e])}function FN(r){return K({top:0,right:0,bottom:0,left:0},r)}function Uv(r){return typeof r!="number"?FN(r):{top:r,right:r,bottom:r,left:r}}function Ai(r){return he(K({},r),{top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height})}function Wv(r,e,t){let{reference:n,floating:i}=r,s=ks(e),a=Gm(e),o=jm(a),u=Dn(e),l=s==="y",c=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,f=n[o]/2-i[o]/2,m;switch(u){case"top":m={x:c,y:n.y-i.height};break;case"bottom":m={x:c,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:d};break;case"left":m={x:n.x-i.width,y:d};break;default:m={x:n.x,y:n.y}}switch(ws(e)){case"start":m[a]-=f*(t&&l?-1:1);break;case"end":m[a]+=f*(t&&l?-1:1);break}return m}var qv=(r,e,t)=>P(void 0,null,function*(){let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=t,o=s.filter(Boolean),u=yield a.isRTL==null?void 0:a.isRTL(e),l=yield a.getElementRects({reference:r,floating:e,strategy:i}),{x:c,y:d}=Wv(l,n,u),f=n,m={},y=0;for(let g=0;gV<=0)){var Pe,j;let V=(((Pe=a.flip)==null?void 0:Pe.index)||0)+1,U=re[V];if(U)return{data:{index:V,overflows:be},reset:{placement:U}};let X=(j=be.filter(p=>p.overflows[0]<=0).sort((p,h)=>p.overflows[1]-h.overflows[1])[0])==null?void 0:j.placement;if(!X)switch(y){case"bestFit":{var $;let p=($=be.map(h=>[h.placement,h.overflows.filter(b=>b>0).reduce((b,_)=>b+_,0)]).sort((h,b)=>h[1]-b[1])[0])==null?void 0:$[0];p&&(X=p);break}case"initialPlacement":X=u;break}if(s!==X)return{reset:{placement:X}}}return{}})}}};function LN(r,e){return P(this,null,function*(){let{placement:t,platform:n,elements:i}=r,s=yield n.isRTL==null?void 0:n.isRTL(i.floating),a=Dn(t),o=ws(t),u=ks(t)==="y",l=["left","top"].includes(a)?-1:1,c=s&&u?-1:1,d=vs(e,r),{mainAxis:f,crossAxis:m,alignmentAxis:y}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:K({mainAxis:0,crossAxis:0,alignmentAxis:null},d);return o&&typeof y=="number"&&(m=o==="end"?y*-1:y),u?{x:m*c,y:f*l}:{x:f*l,y:m*c}})}var al=function(r){return r===void 0&&(r=0),{name:"offset",options:r,fn(t){return P(this,null,function*(){var n,i;let{x:s,y:a,placement:o,middlewareData:u}=t,l=yield LN(t,r);return o===((n=u.offset)==null?void 0:n.placement)&&(i=u.arrow)!=null&&i.alignmentOffset?{}:{x:s+l.x,y:a+l.y,data:he(K({},l),{placement:o})}})}}},ol=function(r){return r===void 0&&(r={}),{name:"shift",options:r,fn(t){return P(this,null,function*(){let{x:n,y:i,placement:s}=t,E=vs(r,t),{mainAxis:a=!0,crossAxis:o=!1,limiter:u={fn:S=>{let{x,y:q}=S;return{x,y:q}}}}=E,l=Go(E,["mainAxis","crossAxis","limiter"]),c={x:n,y:i},d=yield sl(t,l),f=ks(Dn(s)),m=$m(f),y=c[m],g=c[f];if(a){let S=m==="y"?"top":"left",x=m==="y"?"bottom":"right",q=y+d[S],W=y-d[x];y=qm(q,y,W)}if(o){let S=f==="y"?"top":"left",x=f==="y"?"bottom":"right",q=g+d[S],W=g-d[x];g=qm(q,g,W)}let T=u.fn(he(K({},t),{[m]:y,[f]:g}));return he(K({},T),{data:{x:T.x-n,y:T.y-i}})})}}};var Bm=function(r){return r===void 0&&(r={}),{name:"size",options:r,fn(t){return P(this,null,function*(){let{placement:n,rects:i,platform:s,elements:a}=t,H=vs(r,t),{apply:o=()=>{}}=H,u=Go(H,["apply"]),l=yield sl(t,u),c=Dn(n),d=ws(n),f=ks(n)==="y",{width:m,height:y}=i.floating,g,T;c==="top"||c==="bottom"?(g=c,T=d===((yield s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(T=c,g=d==="end"?"top":"bottom");let E=y-l[g],S=m-l[T],x=!t.middlewareData.shift,q=E,W=S;if(f){let Y=m-l.left-l.right;W=d||x?Ci(S,Y):Y}else{let Y=y-l.top-l.bottom;q=d||x?Ci(E,Y):Y}if(x&&!d){let Y=Ft(l.left,0),be=Ft(l.right,0),Pe=Ft(l.top,0),j=Ft(l.bottom,0);f?W=m-2*(Y!==0||be!==0?Y+be:Ft(l.left,l.right)):q=y-2*(Pe!==0||j!==0?Pe+j:Ft(l.top,l.bottom))}yield o(he(K({},t),{availableWidth:W,availableHeight:q}));let re=yield s.getDimensions(a.floating);return m!==re.width||y!==re.height?{reset:{rects:!0}}:{}})}}};function xn(r){return jv(r)?(r.nodeName||"").toLowerCase():"#document"}function Lt(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Rn(r){var e;return(e=(jv(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function jv(r){return r instanceof Node||r instanceof Lt(r).Node}function Qr(r){return r instanceof Element||r instanceof Lt(r).Element}function Cr(r){return r instanceof HTMLElement||r instanceof Lt(r).HTMLElement}function $v(r){return typeof ShadowRoot=="undefined"?!1:r instanceof ShadowRoot||r instanceof Lt(r).ShadowRoot}function Es(r){let{overflow:e,overflowX:t,overflowY:n,display:i}=Xt(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function Gv(r){return["table","td","th"].includes(xn(r))}function ll(r){let e=cl(),t=Xt(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function Yv(r){let e=Pi(r);for(;Cr(e)&&!Eo(e);){if(ll(e))return e;e=Pi(e)}return null}function cl(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Eo(r){return["html","body","#document"].includes(xn(r))}function Xt(r){return Lt(r).getComputedStyle(r)}function So(r){return Qr(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function Pi(r){if(xn(r)==="html")return r;let e=r.assignedSlot||r.parentNode||$v(r)&&r.host||Rn(r);return $v(e)?e.host:e}function Bv(r){let e=Pi(r);return Eo(e)?r.ownerDocument?r.ownerDocument.body:r.body:Cr(e)&&Es(e)?e:Bv(e)}function ul(r,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=Bv(r),s=i===((n=r.ownerDocument)==null?void 0:n.body),a=Lt(i);return s?e.concat(a,a.visualViewport||[],Es(i)?i:[],a.frameElement&&t?ul(a.frameElement):[]):e.concat(i,ul(i,[],t))}function zv(r){let e=Xt(r),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Cr(r),s=i?r.offsetWidth:t,a=i?r.offsetHeight:n,o=ko(t)!==s||ko(n)!==a;return o&&(t=s,n=a),{width:t,height:n,$:o}}function Kv(r){return Qr(r)?r:r.contextElement}function Ss(r){let e=Kv(r);if(!Cr(e))return On(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:s}=zv(e),a=(s?ko(t.width):t.width)/n,o=(s?ko(t.height):t.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!o||!Number.isFinite(o))&&(o=1),{x:a,y:o}}var UN=On(0);function Qv(r){let e=Lt(r);return!cl()||!e.visualViewport?UN:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function WN(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==Lt(r)?!1:e}function Oo(r,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=r.getBoundingClientRect(),s=Kv(r),a=On(1);e&&(n?Qr(n)&&(a=Ss(n)):a=Ss(r));let o=WN(s,t,n)?Qv(s):On(0),u=(i.left+o.x)/a.x,l=(i.top+o.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(s){let f=Lt(s),m=n&&Qr(n)?Lt(n):n,y=f.frameElement;for(;y&&n&&m!==f;){let g=Ss(y),T=y.getBoundingClientRect(),E=Xt(y),S=T.left+(y.clientLeft+parseFloat(E.paddingLeft))*g.x,x=T.top+(y.clientTop+parseFloat(E.paddingTop))*g.y;u*=g.x,l*=g.y,c*=g.x,d*=g.y,u+=S,l+=x,y=Lt(y).frameElement}}return Ai({width:c,height:d,x:u,y:l})}function qN(r){let{rect:e,offsetParent:t,strategy:n}=r,i=Cr(t),s=Rn(t);if(t===s)return e;let a={scrollLeft:0,scrollTop:0},o=On(1),u=On(0);if((i||!i&&n!=="fixed")&&((xn(t)!=="body"||Es(s))&&(a=So(t)),Cr(t))){let l=Oo(t);o=Ss(t),u.x=l.x+t.clientLeft,u.y=l.y+t.clientTop}return{width:e.width*o.x,height:e.height*o.y,x:e.x*o.x-a.scrollLeft*o.x+u.x,y:e.y*o.y-a.scrollTop*o.y+u.y}}function $N(r){return Array.from(r.getClientRects())}function Xv(r){return Oo(Rn(r)).left+So(r).scrollLeft}function jN(r){let e=Rn(r),t=So(r),n=r.ownerDocument.body,i=Ft(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=Ft(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Xv(r),o=-t.scrollTop;return Xt(n).direction==="rtl"&&(a+=Ft(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:a,y:o}}function GN(r,e){let t=Lt(r),n=Rn(r),i=t.visualViewport,s=n.clientWidth,a=n.clientHeight,o=0,u=0;if(i){s=i.width,a=i.height;let l=cl();(!l||l&&e==="fixed")&&(o=i.offsetLeft,u=i.offsetTop)}return{width:s,height:a,x:o,y:u}}function YN(r,e){let t=Oo(r,!0,e==="fixed"),n=t.top+r.clientTop,i=t.left+r.clientLeft,s=Cr(r)?Ss(r):On(1),a=r.clientWidth*s.x,o=r.clientHeight*s.y,u=i*s.x,l=n*s.y;return{width:a,height:o,x:u,y:l}}function Hv(r,e,t){let n;if(e==="viewport")n=GN(r,t);else if(e==="document")n=jN(Rn(r));else if(Qr(e))n=YN(e,t);else{let i=Qv(r);n=he(K({},e),{x:e.x-i.x,y:e.y-i.y})}return Ai(n)}function Zv(r,e){let t=Pi(r);return t===e||!Qr(t)||Eo(t)?!1:Xt(t).position==="fixed"||Zv(t,e)}function BN(r,e){let t=e.get(r);if(t)return t;let n=ul(r,[],!1).filter(o=>Qr(o)&&xn(o)!=="body"),i=null,s=Xt(r).position==="fixed",a=s?Pi(r):r;for(;Qr(a)&&!Eo(a);){let o=Xt(a),u=ll(a);!u&&o.position==="fixed"&&(i=null),(s?!u&&!i:!u&&o.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Es(a)&&!u&&Zv(r,a))?n=n.filter(c=>c!==a):i=o,a=Pi(a)}return e.set(r,n),n}function HN(r){let{element:e,boundary:t,rootBoundary:n,strategy:i}=r,a=[...t==="clippingAncestors"?BN(e,this._c):[].concat(t),n],o=a[0],u=a.reduce((l,c)=>{let d=Hv(e,c,i);return l.top=Ft(d.top,l.top),l.right=Ci(d.right,l.right),l.bottom=Ci(d.bottom,l.bottom),l.left=Ft(d.left,l.left),l},Hv(e,o,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function VN(r){return zv(r)}function zN(r,e,t){let n=Cr(e),i=Rn(e),s=t==="fixed",a=Oo(r,!0,s,e),o={scrollLeft:0,scrollTop:0},u=On(0);if(n||!n&&!s)if((xn(e)!=="body"||Es(i))&&(o=So(e)),n){let l=Oo(e,!0,s,e);u.x=l.x+e.clientLeft,u.y=l.y+e.clientTop}else i&&(u.x=Xv(i));return{x:a.left+o.scrollLeft-u.x,y:a.top+o.scrollTop-u.y,width:a.width,height:a.height}}function Vv(r,e){return!Cr(r)||Xt(r).position==="fixed"?null:e?e(r):r.offsetParent}function Jv(r,e){let t=Lt(r);if(!Cr(r))return t;let n=Vv(r,e);for(;n&&Gv(n)&&Xt(n).position==="static";)n=Vv(n,e);return n&&(xn(n)==="html"||xn(n)==="body"&&Xt(n).position==="static"&&!ll(n))?t:n||Yv(r)||t}var KN=function(r){return P(this,null,function*(){let{reference:e,floating:t,strategy:n}=r,i=this.getOffsetParent||Jv,s=this.getDimensions;return{reference:zN(e,yield i(t),n),floating:K({x:0,y:0},yield s(t))}})};function QN(r){return Xt(r).direction==="rtl"}var XN={convertOffsetParentRelativeRectToViewportRelativeRect:qN,getDocumentElement:Rn,getClippingRect:HN,getOffsetParent:Jv,getElementRects:KN,getClientRects:$N,getDimensions:VN,getScale:Ss,isElement:Qr,isRTL:QN};var Hm=(r,e,t)=>{let n=new Map,i=K({platform:XN},t),s=he(K({},i.platform),{_c:n});return qv(r,e,he(K({},i),{platform:s}))};function ew(r,e,t){let n=r.slice();return n[5]=e[t],n}function tw(r,e,t){let n=r.slice();n[40]=e[t],n[43]=t;let i=n[17](n[40].taskLocation.path);return n[41]=i,n}function rw(r){let e,t,n,i=r[10],s=[];for(let a=0;a',d=ue(),L(t,"class","task-dependency-name"),L(c,"type","button"),L(c,"class","task-dependency-delete"),L(e,"class","task-dependency")},m(T,E){de(T,e,E),F(e,t),F(t,n),F(t,s),F(t,a),F(t,u),F(e,l),F(e,c),F(e,d),f||(m=[xe(c,"click",y),xe(e,"mouseenter",g)],f=!0)},p(T,E){r=T,E[0]&3&&i!==(i=r[5].status.symbol+"")&&Rr(s,i),E[0]&3&&o!==(o=Si(r[5])+"")&&Rr(u,o)},d(T){T&&oe(e),f=!1,Nt(m)}}}function ZN(r){let e,t=pt(r[2],r[3])+"",n,i,s,a,o,u,l,c,d,f=r[10]&&r[10].length!==0&&rw(r),m=r[0][r[1]].length!==0&&sw(r);return{c(){e=Q("label"),n=ue(),i=Q("span"),s=Q("input"),o=ue(),f&&f.c(),u=ue(),m&&m.c(),l=Ov(),L(e,"for",r[1]),L(s,"accesskey",r[3]),L(s,"id",r[1]),L(s,"class","tasks-modal-dependency-input"),L(s,"type","text"),L(s,"placeholder",r[4]),xi(()=>r[26].call(i))},m(y,g){de(y,e,g),e.innerHTML=t,de(y,n,g),de(y,i,g),F(i,s),r[22](s),mr(s,r[6]),a=Mv(i,r[26].bind(i)),de(y,o,g),f&&f.m(y,g),de(y,u,g),m&&m.m(y,g),de(y,l,g),c||(d=[xe(s,"input",r[23]),xe(s,"keydown",r[24]),xe(s,"focus",r[16]),xe(s,"blur",r[25])],c=!0)},p(y,g){g[0]&12&&t!==(t=pt(y[2],y[3])+"")&&(e.innerHTML=t),g[0]&2&&L(e,"for",y[1]),g[0]&8&&L(s,"accesskey",y[3]),g[0]&2&&L(s,"id",y[1]),g[0]&16&&L(s,"placeholder",y[4]),g[0]&64&&s.value!==y[6]&&mr(s,y[6]),y[10]&&y[10].length!==0?f?f.p(y,g):(f=rw(y),f.c(),f.m(u.parentNode,u)):f&&(f.d(1),f=null),y[0][y[1]].length!==0?m?m.p(y,g):(m=sw(y),m.c(),m.m(l.parentNode,l)):m&&(m.d(1),m=null)},i:Ue,o:Ue,d(y){y&&oe(e),y&&oe(n),y&&oe(i),r[22](null),a(),y&&oe(o),f&&f.d(y),y&&oe(u),m&&m.d(y),y&&oe(l),c=!1,Nt(d)}}}function JN(r,e,t){let{task:n}=e,{editableTask:i}=e,{allTasks:s}=e,{_onDescriptionKeyDown:a}=e,{type:o}=e,{labelText:u}=e,{accesskey:l}=e,{placeholder:c="Type to search..."}=e,d="",f=null,m=0,y,g=!1,T=!1,E,S;function x(v){t(0,i[o]=[...i[o],v],i),t(6,d=""),t(7,g=!1)}function q(v){t(0,i[o]=i[o].filter(R=>R!==v),i)}function W(v){var R;if(f!==null){switch(v.key){case"ArrowUp":v.preventDefault(),!!m&&m>0?t(11,m-=1):t(11,m=f.length-1);break;case"ArrowDown":v.preventDefault(),!!m&&m{R.style.left=`${N}px`,R.style.top=`${te}px`})}function be(v){return v===n.taskLocation.path?"":v}function Pe(v){return Si(v)}function j(v,R){let N=v.createDiv();N.addClasses(["tooltip","pop-up"]),N.innerText=R,Hm(v,N,{placement:"top",middleware:[al(-18),ol()]}).then(({x:te,y:le})=>{N.style.left=`${te}px`,N.style.top=`${le}px`}),v.addEventListener("mouseleave",()=>N.remove())}function $(v){je[v?"unshift":"push"](()=>{E=v,t(8,E)})}function D(){d=this.value,t(6,d)}let V=v=>W(v),U=()=>t(7,g=!1);function X(){y=this.clientWidth,t(12,y)}let p=(v,R)=>j(R.currentTarget,Pe(v)),h=(v,R)=>j(R.currentTarget,v),b=v=>x(v),_=v=>t(11,m=v);function w(v){je[v?"unshift":"push"](()=>{S=v,t(9,S)})}let O=()=>t(11,m=null),M=v=>q(v),A=(v,R)=>j(R.currentTarget,Pe(v));return r.$$set=v=>{"task"in v&&t(5,n=v.task),"editableTask"in v&&t(0,i=v.editableTask),"allTasks"in v&&t(20,s=v.allTasks),"_onDescriptionKeyDown"in v&&t(21,a=v._onDescriptionKeyDown),"type"in v&&t(1,o=v.type),"labelText"in v&&t(2,u=v.labelText),"accesskey"in v&&t(3,l=v.accesskey),"placeholder"in v&&t(4,c=v.placeholder)},r.$$.update=()=>{if(r.$$.dirty[0]&768){e:Y(E,S)}if(r.$$.dirty[0]&192){e:t(10,f=g?re(d):null)}},[i,o,u,l,c,n,d,g,E,S,f,m,y,x,q,W,H,be,Pe,j,s,a,$,D,V,U,X,p,h,b,_,w,O,M,A]}var Vm=class extends pr{constructor(e){super(),Kr(this,e,JN,ZN,zr,{task:5,editableTask:0,allTasks:20,_onDescriptionKeyDown:21,type:1,labelText:2,accesskey:3,placeholder:4},null,[-1,-1])}},zm=Vm;var xo=require("obsidian");var Do,Km,Qm,eI=["md"];function pl(){return St.getLogger("tasks.File")}var ow=({metadataCache:r,vault:e,workspace:t})=>{Do=r,Km=e,Qm=t},gr=t=>P(void 0,[t],function*({originalTask:r,newTasks:e}){if(Km===void 0||Do===void 0||Qm===void 0){dl("Tasks: cannot use File before initializing it.");return}Array.isArray(e)||(e=[e]);let n=pl(),i="replaceTaskWithTasks()";Zu(n,i,r),Ju(n,i,e),yield lw({originalTask:r,newTasks:e,vault:Km,metadataCache:Do,workspace:Qm,previousTries:0})});function dl(r){console.error(r),new xo.Notice(r,15e3)}function uw(r){console.warn(r),new xo.Notice(r,1e4)}function tI(r){pl().debug(r)}var Vn=class extends Error{},fl=class extends Error{},lw=a=>P(void 0,[a],function*({originalTask:r,newTasks:e,vault:t,metadataCache:n,workspace:i,previousTries:s}){let o=pl();o.debug(`tryRepetitive after ${s} previous tries`);let u=()=>P(void 0,null,function*(){if(s>10){let c=`Tasks: Could not find the correct task line to update. +`;this.logger.error(s),e instanceof Error&&this.logger.error(e.stack?e.stack:"Cannot determine stack"),this.state==="Initializing"&&new hs.Notice(s,1e4)}static getSection(e,t){if(t===void 0)return null;for(let n of t)if(n.position.start.line<=e&&n.position.end.line>=e)return n;return null}static getPrecedingHeader(e,t){if(t===void 0)return null;let n=null;for(let i of t){if(i.position.start.line>e)return n;n=i.heading}return n}};var th=require("obsidian");var _w=require("obsidian");function Ue(){}function Fm(r){return r()}function kv(){return Object.create(null)}function Nt(r){r.forEach(Fm)}function nl(r){return typeof r=="function"}function zr(r,e){return r!=r?e==e:r!==e||r&&typeof r=="object"||typeof r=="function"}function Ev(r){return Object.keys(r).length===0}var Sv=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global,vo=class{constructor(e){this.options=e,this._listeners="WeakMap"in Sv?new WeakMap:void 0}observe(e,t){return this._listeners.set(e,t),this._getObserver().observe(e,this.options),()=>{this._listeners.delete(e),this._observer.unobserve(e)}}_getObserver(){var e;return(e=this._observer)!==null&&e!==void 0?e:this._observer=new ResizeObserver(t=>{var n;for(let i of t)vo.entries.set(i.target,i),(n=this._listeners.get(i.target))===null||n===void 0||n(i)})}};vo.entries="WeakMap"in Sv?new WeakMap:void 0;var Ov=!1;function yN(){Ov=!0}function bN(){Ov=!1}function F(r,e){r.appendChild(e)}function de(r,e,t){r.insertBefore(e,t||null)}function oe(r){r.parentNode&&r.parentNode.removeChild(r)}function Ri(r,e){for(let t=0;tr.removeEventListener(e,t,n)}function xv(r){return function(e){return e.preventDefault(),r.call(this,e)}}function L(r,e,t){t==null?r.removeAttribute(e):r.getAttribute(e)!==t&&r.setAttribute(e,t)}function Rv(r){let e;return{p(...t){e=t,e.forEach(n=>r.push(n))},r(){e.forEach(t=>r.splice(r.indexOf(t),1))}}}function _N(r){return Array.from(r.childNodes)}function Rr(r,e){e=""+e,r.data!==e&&(r.data=e)}function mr(r,e){r.value=e==null?"":e}function Lm(r,e,t){for(let n=0;n{a.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=xe(n.contentWindow,"resize",e),e()}),F(r,n),()=>{(i||s&&n.contentWindow)&&s(),oe(n)}}function Sn(r,e,t){r.classList[t?"add":"remove"](e)}var _s=class{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=TN(t.nodeName):this.e=Q(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;tr.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Ts=e}var rl=new Set,Di;function Pv(){Di={r:0,c:[],p:Di}}function Nv(){Di.r||Nt(Di.c),Di=Di.p}function It(r,e){r&&r.i&&(rl.delete(r),r.i(e))}function Kt(r,e,t,n){if(r&&r.o){if(rl.has(r))return;rl.add(r),Di.c.push(()=>{rl.delete(r),n&&(t&&r.d(1),n())}),r.o(e)}else n&&n()}var DN=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],Dj=new Set([...DN]);function Dt(r,e,t){let n=r.$$.props[e];n!==void 0&&(r.$$.bound[n]=t,t(r.$$.ctx[n]))}function Mr(r){r&&r.c()}function hr(r,e,t,n){let{fragment:i,after_update:s}=r.$$;i&&i.m(e,t),n||xi(()=>{let a=r.$$.on_mount.map(Fm).filter(nl);r.$$.on_destroy?r.$$.on_destroy.push(...a):Nt(a),r.$$.on_mount=[]}),s.forEach(xi)}function Qt(r,e){let t=r.$$;t.fragment!==null&&(ON(t.after_update),Nt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function xN(r,e){r.$$.dirty[0]===-1&&(bs.push(r),EN(),r.$$.dirty.fill(0)),r.$$.dirty[e/31|0]|=1<{let g=m.length?m[0]:f;return l.ctx&&i(l.ctx[d],l.ctx[d]=g)&&(!l.skip_bound&&l.bound[d]&&l.bound[d](g),c&&xN(r,d)),f}):[],l.update(),c=!0,Nt(l.before_update),l.fragment=n?n(l.ctx):!1,e.target){if(e.hydrate){yN();let d=_N(e.target);l.fragment&&l.fragment.l(d),d.forEach(oe)}else l.fragment&&l.fragment.c();e.intro&&It(r.$$.fragment),hr(r,e.target,e.anchor,e.customElement),bN(),Av()}_o(u)}var RN;typeof HTMLElement=="function"&&(RN=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let{on_mount:r}=this.$$;this.$$.on_disconnect=r.map(Fm).filter(nl);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(r,e,t){this[r]=t}disconnectedCallback(){Nt(this.$$.on_disconnect)}$destroy(){Qt(this,1),this.$destroy=Ue}$on(r,e){if(!nl(e))return Ue;let t=this.$$.callbacks[r]||(this.$$.callbacks[r]=[]);return t.push(e),()=>{let n=t.indexOf(e);n!==-1&&t.splice(n,1)}}$set(r){this.$$set&&!Ev(r)&&(this.$$.skip_bound=!0,this.$$set(r),this.$$.skip_bound=!1)}});var pr=class{$destroy(){Qt(this,1),this.$destroy=Ue}$on(e,t){if(!nl(t))return Ue;let n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{let i=n.indexOf(t);i!==-1&&n.splice(i,1)}}$set(e){this.$$set&&!Ev(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};function Iv(r,e,t,n){function i(s){return s instanceof t?s:new t(function(a){a(s)})}return new(t||(t=Promise))(function(s,a){function o(c){try{l(n.next(c))}catch(d){a(d)}}function u(c){try{l(n.throw(c))}catch(d){a(d)}}function l(c){c.done?s(c.value):i(c.value).then(o,u)}l((n=n.apply(r,e||[])).next())})}function vs(r){return r.charAt(0).toUpperCase()+r.slice(1)}function pt(r,e){if(e===null)return vs(r);let t=r.toLowerCase().indexOf(e.toLowerCase());if(t===-1)return`${vs(r)} (${e.toLowerCase()})`;let n=r.substring(0,t);return n+='',t===0?n+=r.substring(t,t+1).toUpperCase():n+=r.substring(t,t+1),n+="",n+=r.substring(t+1),n=vs(n),n}function MN(r){let e,t=pt(r[2],r[4])+"",n,i,s,a,o,u,l,c,d;return{c(){e=Q("label"),n=ue(),i=Q("input"),s=ue(),a=Q("code"),o=Me(r[3]),u=ue(),l=new _s(!1),L(e,"for",r[2]),L(i,"id",r[2]),L(i,"type","text"),L(i,"class","tasks-modal-date-input"),L(i,"placeholder",CN),L(i,"accesskey",r[4]),Sn(i,"tasks-modal-error",!r[1]),l.a=null,L(a,"class","tasks-modal-parsed-date")},m(f,m){de(f,e,m),e.innerHTML=t,de(f,n,m),de(f,i,m),mr(i,r[0]),de(f,s,m),de(f,a,m),F(a,o),F(a,u),l.m(r[5],a),c||(d=xe(i,"input",r[7]),c=!0)},p(f,[m]){m&20&&t!==(t=pt(f[2],f[4])+"")&&(e.innerHTML=t),m&4&&L(e,"for",f[2]),m&4&&L(i,"id",f[2]),m&16&&L(i,"accesskey",f[4]),m&1&&i.value!==f[0]&&mr(i,f[0]),m&2&&Sn(i,"tasks-modal-error",!f[1]),m&8&&Rr(o,f[3]),m&32&&l.p(f[5])},i:Ue,o:Ue,d(f){f&&oe(e),f&&oe(n),f&&oe(i),f&&oe(s),f&&oe(a),c=!1,d()}}}var CN="Try 'Mon' or 'tm' then space";function AN(r,e,t){let{id:n}=e,{dateSymbol:i}=e,{date:s}=e,{isDateValid:a}=e,{forwardOnly:o}=e,{accesskey:u}=e,l;function c(){s=this.value,t(0,s),t(2,n),t(6,o),t(5,l)}return r.$$set=d=>{"id"in d&&t(2,n=d.id),"dateSymbol"in d&&t(3,i=d.dateSymbol),"date"in d&&t(0,s=d.date),"isDateValid"in d&&t(1,a=d.isDateValid),"forwardOnly"in d&&t(6,o=d.forwardOnly),"accesskey"in d&&t(4,u=d.accesskey)},r.$$.update=()=>{if(r.$$.dirty&101){e:t(0,s=Uu(s)),t(5,l=av(n,s,o)),t(1,a=!l.includes("invalid"))}},[s,a,n,i,u,l,o,c]}var Wm=class extends pr{constructor(e){super(),Kr(this,e,AN,MN,zr,{id:2,dateSymbol:3,date:0,isDateValid:1,forwardOnly:6,accesskey:4})}},Mi=Wm;var Ci=Math.min,Ft=Math.max,Eo=Math.round;var On=r=>({x:r,y:r}),PN={left:"right",right:"left",bottom:"top",top:"bottom"},NN={start:"end",end:"start"};function qm(r,e,t){return Ft(r,Ci(e,t))}function ws(r,e){return typeof r=="function"?r(e):r}function Dn(r){return r.split("-")[0]}function ks(r){return r.split("-")[1]}function $m(r){return r==="x"?"y":"x"}function jm(r){return r==="y"?"height":"width"}function Es(r){return["top","bottom"].includes(Dn(r))?"y":"x"}function Gm(r){return $m(Es(r))}function Fv(r,e,t){t===void 0&&(t=!1);let n=ks(r),i=Gm(r),s=jm(i),a=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=ko(a)),[a,ko(a)]}function Lv(r){let e=ko(r);return[il(r),e,il(e)]}function il(r){return r.replace(/start|end/g,e=>NN[e])}function IN(r,e,t){let n=["left","right"],i=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(r){case"top":case"bottom":return t?e?i:n:e?n:i;case"left":case"right":return e?s:a;default:return[]}}function Uv(r,e,t,n){let i=ks(r),s=IN(Dn(r),t==="start",n);return i&&(s=s.map(a=>a+"-"+i),e&&(s=s.concat(s.map(il)))),s}function ko(r){return r.replace(/left|right|bottom|top/g,e=>PN[e])}function FN(r){return K({top:0,right:0,bottom:0,left:0},r)}function Wv(r){return typeof r!="number"?FN(r):{top:r,right:r,bottom:r,left:r}}function Ai(r){return he(K({},r),{top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height})}function qv(r,e,t){let{reference:n,floating:i}=r,s=Es(e),a=Gm(e),o=jm(a),u=Dn(e),l=s==="y",c=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,f=n[o]/2-i[o]/2,m;switch(u){case"top":m={x:c,y:n.y-i.height};break;case"bottom":m={x:c,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:d};break;case"left":m={x:n.x-i.width,y:d};break;default:m={x:n.x,y:n.y}}switch(ks(e)){case"start":m[a]-=f*(t&&l?-1:1);break;case"end":m[a]+=f*(t&&l?-1:1);break}return m}var $v=(r,e,t)=>P(void 0,null,function*(){let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=t,o=s.filter(Boolean),u=yield a.isRTL==null?void 0:a.isRTL(e),l=yield a.getElementRects({reference:r,floating:e,strategy:i}),{x:c,y:d}=qv(l,n,u),f=n,m={},g=0;for(let y=0;yV<=0)){var Pe,j;let V=(((Pe=a.flip)==null?void 0:Pe.index)||0)+1,W=re[V];if(W)return{data:{index:V,overflows:be},reset:{placement:W}};let X=(j=be.filter(p=>p.overflows[0]<=0).sort((p,h)=>p.overflows[1]-h.overflows[1])[0])==null?void 0:j.placement;if(!X)switch(g){case"bestFit":{var $;let p=($=be.map(h=>[h.placement,h.overflows.filter(b=>b>0).reduce((b,_)=>b+_,0)]).sort((h,b)=>h[1]-b[1])[0])==null?void 0:$[0];p&&(X=p);break}case"initialPlacement":X=u;break}if(s!==X)return{reset:{placement:X}}}return{}})}}};function LN(r,e){return P(this,null,function*(){let{placement:t,platform:n,elements:i}=r,s=yield n.isRTL==null?void 0:n.isRTL(i.floating),a=Dn(t),o=ks(t),u=Es(t)==="y",l=["left","top"].includes(a)?-1:1,c=s&&u?-1:1,d=ws(e,r),{mainAxis:f,crossAxis:m,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:K({mainAxis:0,crossAxis:0,alignmentAxis:null},d);return o&&typeof g=="number"&&(m=o==="end"?g*-1:g),u?{x:m*c,y:f*l}:{x:f*l,y:m*c}})}var al=function(r){return r===void 0&&(r=0),{name:"offset",options:r,fn(t){return P(this,null,function*(){var n,i;let{x:s,y:a,placement:o,middlewareData:u}=t,l=yield LN(t,r);return o===((n=u.offset)==null?void 0:n.placement)&&(i=u.arrow)!=null&&i.alignmentOffset?{}:{x:s+l.x,y:a+l.y,data:he(K({},l),{placement:o})}})}}},ol=function(r){return r===void 0&&(r={}),{name:"shift",options:r,fn(t){return P(this,null,function*(){let{x:n,y:i,placement:s}=t,k=ws(r,t),{mainAxis:a=!0,crossAxis:o=!1,limiter:u={fn:S=>{let{x,y:U}=S;return{x,y:U}}}}=k,l=Yo(k,["mainAxis","crossAxis","limiter"]),c={x:n,y:i},d=yield sl(t,l),f=Es(Dn(s)),m=$m(f),g=c[m],y=c[f];if(a){let S=m==="y"?"top":"left",x=m==="y"?"bottom":"right",U=g+d[S],q=g-d[x];g=qm(U,g,q)}if(o){let S=f==="y"?"top":"left",x=f==="y"?"bottom":"right",U=y+d[S],q=y-d[x];y=qm(U,y,q)}let T=u.fn(he(K({},t),{[m]:g,[f]:y}));return he(K({},T),{data:{x:T.x-n,y:T.y-i}})})}}};var Bm=function(r){return r===void 0&&(r={}),{name:"size",options:r,fn(t){return P(this,null,function*(){let{placement:n,rects:i,platform:s,elements:a}=t,H=ws(r,t),{apply:o=()=>{}}=H,u=Yo(H,["apply"]),l=yield sl(t,u),c=Dn(n),d=ks(n),f=Es(n)==="y",{width:m,height:g}=i.floating,y,T;c==="top"||c==="bottom"?(y=c,T=d===((yield s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(T=c,y=d==="end"?"top":"bottom");let k=g-l[y],S=m-l[T],x=!t.middlewareData.shift,U=k,q=S;if(f){let Y=m-l.left-l.right;q=d||x?Ci(S,Y):Y}else{let Y=g-l.top-l.bottom;U=d||x?Ci(k,Y):Y}if(x&&!d){let Y=Ft(l.left,0),be=Ft(l.right,0),Pe=Ft(l.top,0),j=Ft(l.bottom,0);f?q=m-2*(Y!==0||be!==0?Y+be:Ft(l.left,l.right)):U=g-2*(Pe!==0||j!==0?Pe+j:Ft(l.top,l.bottom))}yield o(he(K({},t),{availableWidth:q,availableHeight:U}));let re=yield s.getDimensions(a.floating);return m!==re.width||g!==re.height?{reset:{rects:!0}}:{}})}}};function xn(r){return Gv(r)?(r.nodeName||"").toLowerCase():"#document"}function Lt(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Rn(r){var e;return(e=(Gv(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Gv(r){return r instanceof Node||r instanceof Lt(r).Node}function Qr(r){return r instanceof Element||r instanceof Lt(r).Element}function Cr(r){return r instanceof HTMLElement||r instanceof Lt(r).HTMLElement}function jv(r){return typeof ShadowRoot=="undefined"?!1:r instanceof ShadowRoot||r instanceof Lt(r).ShadowRoot}function Ss(r){let{overflow:e,overflowX:t,overflowY:n,display:i}=Xt(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function Yv(r){return["table","td","th"].includes(xn(r))}function ll(r){let e=cl(),t=Xt(r);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function Bv(r){let e=Pi(r);for(;Cr(e)&&!So(e);){if(ll(e))return e;e=Pi(e)}return null}function cl(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function So(r){return["html","body","#document"].includes(xn(r))}function Xt(r){return Lt(r).getComputedStyle(r)}function Oo(r){return Qr(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function Pi(r){if(xn(r)==="html")return r;let e=r.assignedSlot||r.parentNode||jv(r)&&r.host||Rn(r);return jv(e)?e.host:e}function Hv(r){let e=Pi(r);return So(e)?r.ownerDocument?r.ownerDocument.body:r.body:Cr(e)&&Ss(e)?e:Hv(e)}function ul(r,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=Hv(r),s=i===((n=r.ownerDocument)==null?void 0:n.body),a=Lt(i);return s?e.concat(a,a.visualViewport||[],Ss(i)?i:[],a.frameElement&&t?ul(a.frameElement):[]):e.concat(i,ul(i,[],t))}function Kv(r){let e=Xt(r),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Cr(r),s=i?r.offsetWidth:t,a=i?r.offsetHeight:n,o=Eo(t)!==s||Eo(n)!==a;return o&&(t=s,n=a),{width:t,height:n,$:o}}function Qv(r){return Qr(r)?r:r.contextElement}function Os(r){let e=Qv(r);if(!Cr(e))return On(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:s}=Kv(e),a=(s?Eo(t.width):t.width)/n,o=(s?Eo(t.height):t.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!o||!Number.isFinite(o))&&(o=1),{x:a,y:o}}var UN=On(0);function Xv(r){let e=Lt(r);return!cl()||!e.visualViewport?UN:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function WN(r,e,t){return e===void 0&&(e=!1),!t||e&&t!==Lt(r)?!1:e}function Do(r,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=r.getBoundingClientRect(),s=Qv(r),a=On(1);e&&(n?Qr(n)&&(a=Os(n)):a=Os(r));let o=WN(s,t,n)?Xv(s):On(0),u=(i.left+o.x)/a.x,l=(i.top+o.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(s){let f=Lt(s),m=n&&Qr(n)?Lt(n):n,g=f.frameElement;for(;g&&n&&m!==f;){let y=Os(g),T=g.getBoundingClientRect(),k=Xt(g),S=T.left+(g.clientLeft+parseFloat(k.paddingLeft))*y.x,x=T.top+(g.clientTop+parseFloat(k.paddingTop))*y.y;u*=y.x,l*=y.y,c*=y.x,d*=y.y,u+=S,l+=x,g=Lt(g).frameElement}}return Ai({width:c,height:d,x:u,y:l})}function qN(r){let{rect:e,offsetParent:t,strategy:n}=r,i=Cr(t),s=Rn(t);if(t===s)return e;let a={scrollLeft:0,scrollTop:0},o=On(1),u=On(0);if((i||!i&&n!=="fixed")&&((xn(t)!=="body"||Ss(s))&&(a=Oo(t)),Cr(t))){let l=Do(t);o=Os(t),u.x=l.x+t.clientLeft,u.y=l.y+t.clientTop}return{width:e.width*o.x,height:e.height*o.y,x:e.x*o.x-a.scrollLeft*o.x+u.x,y:e.y*o.y-a.scrollTop*o.y+u.y}}function $N(r){return Array.from(r.getClientRects())}function Zv(r){return Do(Rn(r)).left+Oo(r).scrollLeft}function jN(r){let e=Rn(r),t=Oo(r),n=r.ownerDocument.body,i=Ft(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=Ft(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Zv(r),o=-t.scrollTop;return Xt(n).direction==="rtl"&&(a+=Ft(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:a,y:o}}function GN(r,e){let t=Lt(r),n=Rn(r),i=t.visualViewport,s=n.clientWidth,a=n.clientHeight,o=0,u=0;if(i){s=i.width,a=i.height;let l=cl();(!l||l&&e==="fixed")&&(o=i.offsetLeft,u=i.offsetTop)}return{width:s,height:a,x:o,y:u}}function YN(r,e){let t=Do(r,!0,e==="fixed"),n=t.top+r.clientTop,i=t.left+r.clientLeft,s=Cr(r)?Os(r):On(1),a=r.clientWidth*s.x,o=r.clientHeight*s.y,u=i*s.x,l=n*s.y;return{width:a,height:o,x:u,y:l}}function Vv(r,e,t){let n;if(e==="viewport")n=GN(r,t);else if(e==="document")n=jN(Rn(r));else if(Qr(e))n=YN(e,t);else{let i=Xv(r);n=he(K({},e),{x:e.x-i.x,y:e.y-i.y})}return Ai(n)}function Jv(r,e){let t=Pi(r);return t===e||!Qr(t)||So(t)?!1:Xt(t).position==="fixed"||Jv(t,e)}function BN(r,e){let t=e.get(r);if(t)return t;let n=ul(r,[],!1).filter(o=>Qr(o)&&xn(o)!=="body"),i=null,s=Xt(r).position==="fixed",a=s?Pi(r):r;for(;Qr(a)&&!So(a);){let o=Xt(a),u=ll(a);!u&&o.position==="fixed"&&(i=null),(s?!u&&!i:!u&&o.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ss(a)&&!u&&Jv(r,a))?n=n.filter(c=>c!==a):i=o,a=Pi(a)}return e.set(r,n),n}function HN(r){let{element:e,boundary:t,rootBoundary:n,strategy:i}=r,a=[...t==="clippingAncestors"?BN(e,this._c):[].concat(t),n],o=a[0],u=a.reduce((l,c)=>{let d=Vv(e,c,i);return l.top=Ft(d.top,l.top),l.right=Ci(d.right,l.right),l.bottom=Ci(d.bottom,l.bottom),l.left=Ft(d.left,l.left),l},Vv(e,o,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function VN(r){return Kv(r)}function zN(r,e,t){let n=Cr(e),i=Rn(e),s=t==="fixed",a=Do(r,!0,s,e),o={scrollLeft:0,scrollTop:0},u=On(0);if(n||!n&&!s)if((xn(e)!=="body"||Ss(i))&&(o=Oo(e)),n){let l=Do(e,!0,s,e);u.x=l.x+e.clientLeft,u.y=l.y+e.clientTop}else i&&(u.x=Zv(i));return{x:a.left+o.scrollLeft-u.x,y:a.top+o.scrollTop-u.y,width:a.width,height:a.height}}function zv(r,e){return!Cr(r)||Xt(r).position==="fixed"?null:e?e(r):r.offsetParent}function ew(r,e){let t=Lt(r);if(!Cr(r))return t;let n=zv(r,e);for(;n&&Yv(n)&&Xt(n).position==="static";)n=zv(n,e);return n&&(xn(n)==="html"||xn(n)==="body"&&Xt(n).position==="static"&&!ll(n))?t:n||Bv(r)||t}var KN=function(r){return P(this,null,function*(){let{reference:e,floating:t,strategy:n}=r,i=this.getOffsetParent||ew,s=this.getDimensions;return{reference:zN(e,yield i(t),n),floating:K({x:0,y:0},yield s(t))}})};function QN(r){return Xt(r).direction==="rtl"}var XN={convertOffsetParentRelativeRectToViewportRelativeRect:qN,getDocumentElement:Rn,getClippingRect:HN,getOffsetParent:ew,getElementRects:KN,getClientRects:$N,getDimensions:VN,getScale:Os,isElement:Qr,isRTL:QN};var Hm=(r,e,t)=>{let n=new Map,i=K({platform:XN},t),s=he(K({},i.platform),{_c:n});return $v(r,e,he(K({},i),{platform:s}))};function tw(r,e,t){let n=r.slice();return n[5]=e[t],n}function rw(r,e,t){let n=r.slice();n[40]=e[t],n[43]=t;let i=n[17](n[40].taskLocation.path);return n[41]=i,n}function nw(r){let e,t,n,i=r[10],s=[];for(let a=0;a',d=ue(),L(t,"class","task-dependency-name"),L(c,"type","button"),L(c,"class","task-dependency-delete"),L(e,"class","task-dependency")},m(T,k){de(T,e,k),F(e,t),F(t,n),F(t,s),F(t,a),F(t,u),F(e,l),F(e,c),F(e,d),f||(m=[xe(c,"click",g),xe(e,"mouseenter",y)],f=!0)},p(T,k){r=T,k[0]&3&&i!==(i=r[5].status.symbol+"")&&Rr(s,i),k[0]&3&&o!==(o=Si(r[5])+"")&&Rr(u,o)},d(T){T&&oe(e),f=!1,Nt(m)}}}function ZN(r){let e,t=pt(r[2],r[3])+"",n,i,s,a,o,u,l,c,d,f=r[10]&&r[10].length!==0&&nw(r),m=r[0][r[1]].length!==0&&aw(r);return{c(){e=Q("label"),n=ue(),i=Q("span"),s=Q("input"),o=ue(),f&&f.c(),u=ue(),m&&m.c(),l=Dv(),L(e,"for",r[1]),L(s,"accesskey",r[3]),L(s,"id",r[1]),L(s,"class","tasks-modal-dependency-input"),L(s,"type","text"),L(s,"placeholder",r[4]),xi(()=>r[26].call(i))},m(g,y){de(g,e,y),e.innerHTML=t,de(g,n,y),de(g,i,y),F(i,s),r[22](s),mr(s,r[6]),a=Cv(i,r[26].bind(i)),de(g,o,y),f&&f.m(g,y),de(g,u,y),m&&m.m(g,y),de(g,l,y),c||(d=[xe(s,"input",r[23]),xe(s,"keydown",r[24]),xe(s,"focus",r[16]),xe(s,"blur",r[25])],c=!0)},p(g,y){y[0]&12&&t!==(t=pt(g[2],g[3])+"")&&(e.innerHTML=t),y[0]&2&&L(e,"for",g[1]),y[0]&8&&L(s,"accesskey",g[3]),y[0]&2&&L(s,"id",g[1]),y[0]&16&&L(s,"placeholder",g[4]),y[0]&64&&s.value!==g[6]&&mr(s,g[6]),g[10]&&g[10].length!==0?f?f.p(g,y):(f=nw(g),f.c(),f.m(u.parentNode,u)):f&&(f.d(1),f=null),g[0][g[1]].length!==0?m?m.p(g,y):(m=aw(g),m.c(),m.m(l.parentNode,l)):m&&(m.d(1),m=null)},i:Ue,o:Ue,d(g){g&&oe(e),g&&oe(n),g&&oe(i),r[22](null),a(),g&&oe(o),f&&f.d(g),g&&oe(u),m&&m.d(g),g&&oe(l),c=!1,Nt(d)}}}function JN(r,e,t){let{task:n}=e,{editableTask:i}=e,{allTasks:s}=e,{_onDescriptionKeyDown:a}=e,{type:o}=e,{labelText:u}=e,{accesskey:l}=e,{placeholder:c="Type to search..."}=e,d="",f=null,m=0,g,y=!1,T=!1,k,S;function x(v){t(0,i[o]=[...i[o],v],i),t(6,d=""),t(7,y=!1)}function U(v){t(0,i[o]=i[o].filter(R=>R!==v),i)}function q(v){var R;if(f!==null){switch(v.key){case"ArrowUp":v.preventDefault(),!!m&&m>0?t(11,m-=1):t(11,m=f.length-1);break;case"ArrowDown":v.preventDefault(),!!m&&m{R.style.left=`${N}px`,R.style.top=`${te}px`})}function be(v){return v===n.taskLocation.path?"":v}function Pe(v){return Si(v)}function j(v,R){let N=v.createDiv();N.addClasses(["tooltip","pop-up"]),N.innerText=R,Hm(v,N,{placement:"top",middleware:[al(-18),ol()]}).then(({x:te,y:le})=>{N.style.left=`${te}px`,N.style.top=`${le}px`}),v.addEventListener("mouseleave",()=>N.remove())}function $(v){je[v?"unshift":"push"](()=>{k=v,t(8,k)})}function D(){d=this.value,t(6,d)}let V=v=>q(v),W=()=>t(7,y=!1);function X(){g=this.clientWidth,t(12,g)}let p=(v,R)=>j(R.currentTarget,Pe(v)),h=(v,R)=>j(R.currentTarget,v),b=v=>x(v),_=v=>t(11,m=v);function w(v){je[v?"unshift":"push"](()=>{S=v,t(9,S)})}let O=()=>t(11,m=null),M=v=>U(v),A=(v,R)=>j(R.currentTarget,Pe(v));return r.$$set=v=>{"task"in v&&t(5,n=v.task),"editableTask"in v&&t(0,i=v.editableTask),"allTasks"in v&&t(20,s=v.allTasks),"_onDescriptionKeyDown"in v&&t(21,a=v._onDescriptionKeyDown),"type"in v&&t(1,o=v.type),"labelText"in v&&t(2,u=v.labelText),"accesskey"in v&&t(3,l=v.accesskey),"placeholder"in v&&t(4,c=v.placeholder)},r.$$.update=()=>{if(r.$$.dirty[0]&768){e:Y(k,S)}if(r.$$.dirty[0]&192){e:t(10,f=y?re(d):null)}},[i,o,u,l,c,n,d,y,k,S,f,m,g,x,U,q,H,be,Pe,j,s,a,$,D,V,W,X,p,h,b,_,w,O,M,A]}var Vm=class extends pr{constructor(e){super(),Kr(this,e,JN,ZN,zr,{task:5,editableTask:0,allTasks:20,_onDescriptionKeyDown:21,type:1,labelText:2,accesskey:3,placeholder:4},null,[-1,-1])}},zm=Vm;var Ro=require("obsidian");var xo,Km,Qm,eI=["md"];function pl(){return St.getLogger("tasks.File")}var uw=({metadataCache:r,vault:e,workspace:t})=>{xo=r,Km=e,Qm=t},gr=t=>P(void 0,[t],function*({originalTask:r,newTasks:e}){if(Km===void 0||xo===void 0||Qm===void 0){dl("Tasks: cannot use File before initializing it.");return}Array.isArray(e)||(e=[e]);let n=pl(),i="replaceTaskWithTasks()";Ju(n,i,r),el(n,i,e),yield cw({originalTask:r,newTasks:e,vault:Km,metadataCache:xo,workspace:Qm,previousTries:0})});function dl(r){console.error(r),new Ro.Notice(r,15e3)}function lw(r){console.warn(r),new Ro.Notice(r,1e4)}function tI(r){pl().debug(r)}var Vn=class extends Error{},fl=class extends Error{},cw=a=>P(void 0,[a],function*({originalTask:r,newTasks:e,vault:t,metadataCache:n,workspace:i,previousTries:s}){let o=pl();o.debug(`tryRepetitive after ${s} previous tries`);let u=()=>P(void 0,null,function*(){if(s>10){let c=`Tasks: Could not find the correct task line to update. The task line not updated is: ${r.originalMarkdown} @@ -180,27 +180,27 @@ Recommendations: 1. Close all panes that have the above file open, and then re-open the file. 2. Check for exactly identical copies of the task line, in this file, and see if you can make them different. -`;dl(c);return}let l=Math.min(Math.pow(10,s),100);o.debug(`timeout = ${l}`),setTimeout(()=>P(void 0,null,function*(){yield lw({originalTask:r,newTasks:e,vault:t,metadataCache:n,workspace:i,previousTries:s+1})}),l)});try{let[l,c,d]=yield cw(r,t),f=[...d.slice(0,l),...e.map(m=>m.toFileLineString()),...d.slice(l+1)];yield t.modify(c,f.join(` -`))}catch(l){if(l instanceof Vn){l.message&&uw(l.message),yield u();return}else if(l instanceof fl){yield u();return}else l instanceof Error&&dl(l.message)}});function cw(r,e){return P(this,null,function*(){if(Do===void 0)throw new Vn;let t=e.getAbstractFileByPath(r.path);if(!(t instanceof xo.TFile))throw new Vn(`Tasks: No file found for task ${r.description}. Retrying ...`);if(!eI.includes(t.extension))throw new Error(`Tasks: Does not support files with the ${t.extension} file extension.`);let n=Do.getFileCache(t);if(n==null||n===null)throw new Vn(`Tasks: No file cache found for file ${t.path}. Retrying ...`);let i=n.listItems;if(i===void 0||i.length===0)throw new Vn(`Tasks: No list items found in file cache of ${t.path}. Retrying ...`);let a=(yield e.read(t)).split(` -`),o=rI(r,a,i,tI);if(o===void 0)throw new fl;return[o,t,a]})}function Xm(r,e){return P(this,null,function*(){try{let[t,n,i]=yield cw(r,e);return[t,n]}catch(t){t instanceof Vn?t.message&&uw(t.message):t instanceof Error&&dl(t.message)}})}function dw(r,e){return rP(void 0,null,function*(){yield cw({originalTask:r,newTasks:e,vault:t,metadataCache:n,workspace:i,previousTries:s+1})}),l)});try{let[l,c,d]=yield dw(r,t),f=[...d.slice(0,l),...e.map(m=>m.toFileLineString()),...d.slice(l+1)];yield t.modify(c,f.join(` +`))}catch(l){if(l instanceof Vn){l.message&&lw(l.message),yield u();return}else if(l instanceof fl){yield u();return}else l instanceof Error&&dl(l.message)}});function dw(r,e){return P(this,null,function*(){if(xo===void 0)throw new Vn;let t=e.getAbstractFileByPath(r.path);if(!(t instanceof Ro.TFile))throw new Vn(`Tasks: No file found for task ${r.description}. Retrying ...`);if(!eI.includes(t.extension))throw new Error(`Tasks: Does not support files with the ${t.extension} file extension.`);let n=xo.getFileCache(t);if(n==null||n===null)throw new Vn(`Tasks: No file cache found for file ${t.path}. Retrying ...`);let i=n.listItems;if(i===void 0||i.length===0)throw new Vn(`Tasks: No list items found in file cache of ${t.path}. Retrying ...`);let a=(yield e.read(t)).split(` +`),o=rI(r,a,i,tI);if(o===void 0)throw new fl;return[o,t,a]})}function Xm(r,e){return P(this,null,function*(){try{let[t,n,i]=yield dw(r,e);return[t,n]}catch(t){t instanceof Vn?t.message&&lw(t.message):t instanceof Error&&dl(t.message)}})}function fw(r,e){return rc.id===u);!l||a.push(l)}let o=t.filter(u=>u.dependsOn.includes(e.id));return new Os({addGlobalFilterOnSave:i,originalBlocking:o,description:n,status:e.status,priority:s,recurrenceRule:e.recurrence?e.recurrence.toText():"",createdDate:e.created.formatAsDate(),startDate:e.start.formatAsDate(),scheduledDate:e.scheduled.formatAsDate(),dueDate:e.due.formatAsDate(),doneDate:e.done.formatAsDate(),cancelledDate:e.cancelled.formatAsDate(),forwardOnly:!0,blockedBy:a,blocking:o})}applyEdits(e,t){return P(this,null,function*(){let n=this.description.trim();this.addGlobalFilterOnSave&&(n=_e.getInstance().prependTo(n));let i=wi(this.startDate,this.forwardOnly),s=wi(this.scheduledDate,this.forwardOnly),a=wi(this.dueDate,this.forwardOnly),o=wi(this.cancelledDate,this.forwardOnly),u=wi(this.createdDate,this.forwardOnly),l=wi(this.doneDate,this.forwardOnly),c=null;this.recurrenceRule&&(c=st.fromText({recurrenceRuleText:this.recurrenceRule,startDate:i,scheduledDate:s,dueDate:a}));let d;switch(this.priority){case"lowest":d="5";break;case"low":d="4";break;case"medium":d="2";break;case"high":d="1";break;case"highest":d="0";break;default:d="3"}let f=[];for(let S of this.blockedBy){let x=yield aI(S,t);f.push(x)}let m=e.id,y=[],g=[];(this.blocking.toString()!==this.originalBlocking.toString()||this.blocking.length!==0)&&(e.id===""&&(m=ho(t.filter(S=>S.id!=="").map(S=>S.id))),y=this.originalBlocking.filter(S=>!this.blocking.includes(S)),g=this.blocking.filter(S=>!this.originalBlocking.includes(S)));let T=new ae(he(K({},e),{description:n,status:e.status,priority:d,recurrence:c,startDate:i,scheduledDate:s,dueDate:a,doneDate:l,createdDate:u,cancelledDate:o,dependsOn:f.map(S=>S.id),id:m}));for(let S of y){let x=lv(S,T);yield gr({originalTask:S,newTasks:x})}for(let S of g){let x=uv(S,T);yield gr({originalTask:S,newTasks:x})}let E=l||window.moment();return T.handleNewStatusWithRecurrenceInUsersOrder(this.status,E)})}parseAndValidateRecurrence(){var t;if(!this.recurrenceRule)return{parsedRecurrence:"not recurring",isRecurrenceValid:!0};let e=(t=st.fromText({recurrenceRuleText:this.recurrenceRule,startDate:null,scheduledDate:null,dueDate:null}))==null?void 0:t.toText();return e?this.startDate||this.scheduledDate||this.dueDate?{parsedRecurrence:e,isRecurrenceValid:!0}:{parsedRecurrence:"due, scheduled or start date required",isRecurrenceValid:!1}:{parsedRecurrence:"invalid recurrence rule",isRecurrenceValid:!1}}};function aI(r,e){return P(this,null,function*(){if(r.id!=="")return r;let t=e.filter(i=>i.id!==""),n=Vu(r,t.map(i=>i.id));return yield gr({originalTask:r,newTasks:n}),n})}function oI(r){let e,t=pt("Recurs",r[2])+"",n,i,s,a,o,u,l,c,d;return{c(){e=Q("label"),n=ue(),i=Q("input"),s=ue(),a=Q("code"),o=Me(r[4]),u=ue(),l=new Ts(!1),L(e,"for","recurrence"),L(i,"id","recurrence"),L(i,"type","text"),L(i,"class","tasks-modal-date-input"),L(i,"placeholder","Try 'every day when done'"),L(i,"accesskey",r[2]),Sn(i,"tasks-modal-error",!r[1]),l.a=null,L(a,"class","tasks-modal-parsed-date")},m(f,m){de(f,e,m),e.innerHTML=t,de(f,n,m),de(f,i,m),mr(i,r[0].recurrenceRule),de(f,s,m),de(f,a,m),F(a,o),F(a,u),l.m(r[3],a),c||(d=xe(i,"input",r[5]),c=!0)},p(f,[m]){m&4&&t!==(t=pt("Recurs",f[2])+"")&&(e.innerHTML=t),m&4&&L(i,"accesskey",f[2]),m&1&&i.value!==f[0].recurrenceRule&&mr(i,f[0].recurrenceRule),m&2&&Sn(i,"tasks-modal-error",!f[1]),m&8&&l.p(f[3])},i:Ue,o:Ue,d(f){f&&oe(e),f&&oe(n),f&&oe(i),f&&oe(s),f&&oe(a),c=!1,d()}}}function uI(r,e,t){let{editableTask:n}=e,{isRecurrenceValid:i}=e,{accesskey:s}=e,a,{recurrenceSymbol:o}=Dr.tasksPluginEmoji.taskSerializer.symbols;function u(){n.recurrenceRule=this.value,t(0,n)}return r.$$set=l=>{"editableTask"in l&&t(0,n=l.editableTask),"isRecurrenceValid"in l&&t(1,i=l.isRecurrenceValid),"accesskey"in l&&t(2,s=l.accesskey)},r.$$.update=()=>{if(r.$$.dirty&1){e:t(3,{parsedRecurrence:a,isRecurrenceValid:i}=n.parseAndValidateRecurrence(),a,(t(1,i),t(0,n)))}},[n,i,s,a,o,u]}var Zm=class extends pr{constructor(e){super(),Kr(this,e,uI,oI,zr,{editableTask:0,isRecurrenceValid:1,accesskey:2})}},fw=Zm;function pw(r,e,t){let n=r.slice();return n[7]=e[t],n}function mw(r){let e,t=r[7].name+"",n,i,s=r[7].symbol+"",a,o,u;return{c(){e=Q("option"),n=Me(t),i=Me(" ["),a=Me(s),o=Me("]"),e.__value=u=r[7].symbol,e.value=e.__value},m(l,c){de(l,e,c),F(e,n),F(e,i),F(e,a),F(e,o)},p(l,c){c&1&&t!==(t=l[7].name+"")&&Rr(n,t),c&1&&s!==(s=l[7].symbol+"")&&Rr(a,s),c&1&&u!==(u=l[7].symbol)&&(e.__value=u,e.value=e.__value)},d(l){l&&oe(e)}}}function lI(r){let e,t=pt("Status",r[1])+"",n,i,s,a,o=r[0],u=[];for(let l=0;lr[6].call(i))},m(l,c){de(l,e,c),e.innerHTML=t,de(l,n,c),de(l,i,c);for(let d=0;d{let c=s.find(f=>f.symbol===o);if(c)t(4,i.status=c,i);else{console.log(`Error in EditTask: cannot find status with symbol ${o}`);return}let d=n.handleNewStatus(c).pop();d&&(t(4,i.doneDate=d.done.formatAsDate(),i),t(4,i.cancelledDate=d.cancelled.formatAsDate(),i))};function l(){o=Rv(this),t(2,o),t(0,s)}return r.$$set=c=>{"task"in c&&t(5,n=c.task),"editableTask"in c&&t(4,i=c.editableTask),"statusOptions"in c&&t(0,s=c.statusOptions),"accesskey"in c&&t(1,a=c.accesskey)},[s,a,o,u,i,n,l]}var Jm=class extends pr{constructor(e){super(),Kr(this,e,cI,lI,zr,{task:5,editableTask:4,statusOptions:0,accesskey:1})}},hw=Jm;function gw(r,e,t){let n=r.slice();return n[49]=e[t].value,n[50]=e[t].label,n[51]=e[t].symbol,n[52]=e[t].accessKey,n[53]=e[t].accessKeyIndex,n}function dI(r){let e,t=r[50]+"",n;return{c(){e=Q("span"),n=Me(t)},m(i,s){de(i,e,s),F(e,n)},p:Ue,d(i){i&&oe(e)}}}function fI(r){let e,t=r[50].substring(0,r[53])+"",n,i,s=r[50].substring(r[53],r[53]+1)+"",a,o,u=r[50].substring(r[53]+1)+"",l;return{c(){e=Q("span"),n=Me(t),i=Q("span"),a=Me(s),o=Q("span"),l=Me(u),L(i,"class","accesskey")},m(c,d){de(c,e,d),F(e,n),de(c,i,d),F(i,a),de(c,o,d),F(o,l)},p:Ue,d(c){c&&oe(e),c&&oe(i),c&&oe(o)}}}function pI(r){let e,t=r[51]+"",n;return{c(){e=Q("span"),n=Me(t)},m(i,s){de(i,e,s),F(e,n)},p:Ue,d(i){i&&oe(e)}}}function yw(r){let e,t,n,i,s,a,o,u,l=r[51]&&r[51].charCodeAt(0)>=256,c,d,f,m,y;function g(x,q){return x[11]?fI:dI}let T=g(r,[-1,-1]),E=T(r),S=l&&pI(r);return f=xv(r[32][0]),{c(){e=Q("div"),t=Q("input"),a=ue(),o=Q("label"),E.c(),u=ue(),S&&S.c(),d=ue(),L(t,"type","radio"),L(t,"id",n="priority-"+r[49]),t.__value=i=r[49],t.value=t.__value,L(t,"accesskey",s=r[15](r[52])),L(o,"for",c="priority-"+r[49]),L(e,"class","task-modal-priority-option-container"),f.p(t)},m(x,q){de(x,e,q),F(e,t),t.checked=t.__value===r[3].priority,F(e,a),F(e,o),E.m(o,null),F(o,u),S&&S.m(o,null),F(e,d),m||(y=xe(t,"change",r[31]),m=!0)},p(x,q){q[0]&32768&&s!==(s=x[15](x[52]))&&L(t,"accesskey",s),q[0]&8&&(t.checked=t.__value===x[3].priority),T===(T=g(x,q))&&E?E.p(x,q):(E.d(1),E=T(x),E&&(E.c(),E.m(o,u))),l&&S.p(x,q)},d(x){x&&oe(e),E.d(),S&&S.d(),f.r(),m=!1,y()}}}function mI(r){let e;return{c(){e=Q("div"),e.innerHTML="Blocking and blocked by fields are disabled when vault tasks is empty"},m(t,n){de(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&oe(e)}}}function hI(r){let e,t,n,i;return e=new zm({props:{type:"blockedBy",labelText:"Before this",task:r[0],editableTask:r[3],allTasks:r[2],_onDescriptionKeyDown:r[24],accesskey:r[15]("b"),placeholder:"Search for tasks that the task being edited depends on..."}}),n=new zm({props:{type:"blocking",labelText:"After this",task:r[0],editableTask:r[3],allTasks:r[2],_onDescriptionKeyDown:r[24],accesskey:r[15]("e"),placeholder:"Search for tasks that depend on this task being done..."}}),{c(){Mr(e.$$.fragment),t=ue(),Mr(n.$$.fragment)},m(s,a){hr(e,s,a),de(s,t,a),hr(n,s,a),i=!0},p(s,a){let o={};a[0]&1&&(o.task=s[0]),a[0]&8&&(o.editableTask=s[3]),a[0]&4&&(o.allTasks=s[2]),a[0]&32768&&(o.accesskey=s[15]("b")),e.$set(o);let u={};a[0]&1&&(u.task=s[0]),a[0]&8&&(u.editableTask=s[3]),a[0]&4&&(u.allTasks=s[2]),a[0]&32768&&(u.accesskey=s[15]("e")),n.$set(u)},i(s){i||(It(e.$$.fragment,s),It(n.$$.fragment,s),i=!0)},o(s){Kt(e.$$.fragment,s),Kt(n.$$.fragment,s),i=!1},d(s){Qt(e,s),s&&oe(t),Qt(n,s)}}}function gI(r){let e,t,n,i=pt("Description",r[15]("t"))+"",s,a,o,u,l,c,d,f,m,y,g,T,E,S,x,q,W,re,H,Y,be,Pe,j,$,D,V,U,X,p,h,b=pt("Only future dates:",r[15]("f"))+"",_,w,O,M,A,v,R,N,te,le,fe,Ne,Ce,Rt,nn,Fr,G,qt,Xe,Ah,sn,oc,uc,Ph,an,lc,cc,Nh,Gi,ai,Ih,$o,Fh,zs,Lr,dc,Lh,Yi=r[22],vt=[];for(let C=0;CDt(S,"isRecurrenceValid",Nk));function Ik(C){r[34](C)}function Fk(C){r[35](C)}let fc={id:"due",dateSymbol:r[18],forwardOnly:r[3].forwardOnly,accesskey:r[15]("d")};r[3].dueDate!==void 0&&(fc.date=r[3].dueDate),r[7]!==void 0&&(fc.isDateValid=r[7]),W=new Mi({props:fc}),je.push(()=>Dt(W,"date",Ik)),je.push(()=>Dt(W,"isDateValid",Fk));function Lk(C){r[36](C)}function Uk(C){r[37](C)}let pc={id:"scheduled",dateSymbol:r[17],forwardOnly:r[3].forwardOnly,accesskey:r[15]("s")};r[3].scheduledDate!==void 0&&(pc.date=r[3].scheduledDate),r[8]!==void 0&&(pc.isDateValid=r[8]),be=new Mi({props:pc}),je.push(()=>Dt(be,"date",Lk)),je.push(()=>Dt(be,"isDateValid",Uk));function Wk(C){r[38](C)}function qk(C){r[39](C)}let mc={id:"start",dateSymbol:r[16],forwardOnly:r[3].forwardOnly,accesskey:r[15]("a")};r[3].startDate!==void 0&&(mc.date=r[3].startDate),r[9]!==void 0&&(mc.isDateValid=r[9]),D=new Mi({props:mc}),je.push(()=>Dt(D,"date",Wk)),je.push(()=>Dt(D,"isDateValid",qk));let Wh=[hI,mI],In=[];function qh(C,ee){return C[2].length>0&&C[14]?0:1}N=qh(r,[-1,-1]),te=In[N]=Wh[N](r);function $k(C){r[41](C)}let $h={task:r[0],statusOptions:r[1],accesskey:r[15]("u")};r[3]!==void 0&&($h.editableTask=r[3]),Rt=new hw({props:$h}),je.push(()=>Dt(Rt,"editableTask",$k));function jk(C){r[42](C)}function Gk(C){r[43](C)}let hc={id:"created",dateSymbol:r[20],forwardOnly:r[3].forwardOnly,accesskey:r[15]("c")};r[3].createdDate!==void 0&&(hc.date=r[3].createdDate),r[5]!==void 0&&(hc.isDateValid=r[5]),G=new Mi({props:hc}),je.push(()=>Dt(G,"date",jk)),je.push(()=>Dt(G,"isDateValid",Gk));function Yk(C){r[44](C)}function Bk(C){r[45](C)}let gc={id:"done",dateSymbol:r[21],forwardOnly:r[3].forwardOnly,accesskey:r[15]("x")};r[3].doneDate!==void 0&&(gc.date=r[3].doneDate),r[6]!==void 0&&(gc.isDateValid=r[6]),sn=new Mi({props:gc}),je.push(()=>Dt(sn,"date",Yk)),je.push(()=>Dt(sn,"isDateValid",Bk));function Hk(C){r[46](C)}function Vk(C){r[47](C)}let yc={id:"cancelled",dateSymbol:r[19],forwardOnly:r[3].forwardOnly,accesskey:r[15]("-")};return r[3].cancelledDate!==void 0&&(yc.date=r[3].cancelledDate),r[4]!==void 0&&(yc.isDateValid=r[4]),an=new Mi({props:yc}),je.push(()=>Dt(an,"date",Hk)),je.push(()=>Dt(an,"isDateValid",Vk)),{c(){e=Q("form"),t=Q("section"),n=Q("label"),s=ue(),a=Q("textarea"),u=ue(),l=Q("section"),c=Q("label"),d=Me("Priority"),m=ue();for(let C=0;Cx=!1)),S.$set(on);let Ks={};ee[0]&8&&(Ks.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(Ks.accesskey=C[15]("d")),!re&&ee[0]&8&&(re=!0,Ks.date=C[3].dueDate,Ot(()=>re=!1)),!H&&ee[0]&128&&(H=!0,Ks.isDateValid=C[7],Ot(()=>H=!1)),W.$set(Ks);let Qs={};ee[0]&8&&(Qs.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(Qs.accesskey=C[15]("s")),!Pe&&ee[0]&8&&(Pe=!0,Qs.date=C[3].scheduledDate,Ot(()=>Pe=!1)),!j&&ee[0]&256&&(j=!0,Qs.isDateValid=C[8],Ot(()=>j=!1)),be.$set(Qs);let Xs={};ee[0]&8&&(Xs.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(Xs.accesskey=C[15]("a")),!V&&ee[0]&8&&(V=!0,Xs.date=C[3].startDate,Ot(()=>V=!1)),!U&&ee[0]&512&&(U=!0,Xs.isDateValid=C[9],Ot(()=>U=!1)),D.$set(Xs),(!Lr||ee[0]&32768)&&b!==(b=pt("Only future dates:",C[15]("f"))+"")&&(h.innerHTML=b),(!Lr||ee[0]&32768&&O!==(O=C[15]("f")))&&L(w,"accesskey",O),ee[0]&8&&(w.checked=C[3].forwardOnly);let bc=N;N=qh(C,ee),N===bc?In[N].p(C,ee):(Av(),Kt(In[bc],1,1,()=>{In[bc]=null}),Pv(),te=In[N],te?te.p(C,ee):(te=In[N]=Wh[N](C),te.c()),It(te,1),te.m(R,null));let Zs={};ee[0]&1&&(Zs.task=C[0]),ee[0]&2&&(Zs.statusOptions=C[1]),ee[0]&32768&&(Zs.accesskey=C[15]("u")),!nn&&ee[0]&8&&(nn=!0,Zs.editableTask=C[3],Ot(()=>nn=!1)),Rt.$set(Zs);let Js={};ee[0]&8&&(Js.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(Js.accesskey=C[15]("c")),!qt&&ee[0]&8&&(qt=!0,Js.date=C[3].createdDate,Ot(()=>qt=!1)),!Xe&&ee[0]&32&&(Xe=!0,Js.isDateValid=C[5],Ot(()=>Xe=!1)),G.$set(Js);let ea={};ee[0]&8&&(ea.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(ea.accesskey=C[15]("x")),!oc&&ee[0]&8&&(oc=!0,ea.date=C[3].doneDate,Ot(()=>oc=!1)),!uc&&ee[0]&64&&(uc=!0,ea.isDateValid=C[6],Ot(()=>uc=!1)),sn.$set(ea);let ta={};ee[0]&8&&(ta.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(ta.accesskey=C[15]("-")),!lc&&ee[0]&8&&(lc=!0,ta.date=C[3].cancelledDate,Ot(()=>lc=!1)),!cc&&ee[0]&16&&(cc=!0,ta.isDateValid=C[4],Ot(()=>cc=!1)),an.$set(ta),(!Lr||ee[0]&8192&&$o!==($o=!C[13]))&&(ai.disabled=$o)},i(C){Lr||(It(S.$$.fragment,C),It(W.$$.fragment,C),It(be.$$.fragment,C),It(D.$$.fragment,C),It(te),It(Rt.$$.fragment,C),It(G.$$.fragment,C),It(sn.$$.fragment,C),It(an.$$.fragment,C),Lr=!0)},o(C){Kt(S.$$.fragment,C),Kt(W.$$.fragment,C),Kt(be.$$.fragment,C),Kt(D.$$.fragment,C),Kt(te),Kt(Rt.$$.fragment,C),Kt(G.$$.fragment,C),Kt(sn.$$.fragment,C),Kt(an.$$.fragment,C),Lr=!1},d(C){C&&oe(e),r[30](null),Ri(vt,C),Qt(S),Qt(W),Qt(be),Qt(D),In[N].d(),Qt(Rt),Qt(G),Qt(sn),Qt(an),dc=!1,Nt(Lh)}}}function yI(r,e,t){let n,{task:i}=e,{onSubmit:s}=e,{statusOptions:a}=e,{allTasks:o}=e,{prioritySymbols:u,startDateSymbol:l,scheduledDateSymbol:c,dueDateSymbol:d,cancelledDateSymbol:f,createdDateSymbol:m,doneDateSymbol:y}=Dr.tasksPluginEmoji.taskSerializer.symbols,g,T=Os.fromTask(i,o),E=!0,S=!0,x=!0,q=!0,W=!0,re=!0,H=!0,Y=!0,be=!0,Pe=!0,j=!1,$=[{value:"lowest",label:"Lowest",symbol:u.Lowest,accessKey:"o",accessKeyIndex:1},{value:"low",label:"Low",symbol:u.Low,accessKey:"l",accessKeyIndex:0},{value:"none",label:"Normal",symbol:u.None,accessKey:"n",accessKeyIndex:0},{value:"medium",label:"Medium",symbol:u.Medium,accessKey:"m",accessKeyIndex:0},{value:"high",label:"High",symbol:u.High,accessKey:"h",accessKeyIndex:0},{value:"highest",label:"Highest",symbol:u.Highest,accessKey:"i",accessKeyIndex:1}];Um(()=>{let{provideAccessKeys:G}=Z();t(11,be=G),t(14,j=!0),setTimeout(()=>{g.focus()},10)});let D=()=>{s([])},V=G=>{G.key==="Enter"&&(G.preventDefault(),Pe&&X())},U=()=>{setTimeout(()=>{t(3,T.description=T.description.replace(/[\r\n]+/g," "),T)},0)},X=()=>Nv(void 0,void 0,void 0,function*(){let G=yield T.applyEdits(i,o);s(G)}),p=[[]];function h(){T.description=this.value,t(3,T)}function b(G){je[G?"unshift":"push"](()=>{g=G,t(12,g)})}function _(){T.priority=this.__value,t(3,T)}function w(G){Y=G,t(10,Y)}function O(G){r.$$.not_equal(T.dueDate,G)&&(T.dueDate=G,t(3,T))}function M(G){W=G,t(7,W)}function A(G){r.$$.not_equal(T.scheduledDate,G)&&(T.scheduledDate=G,t(3,T))}function v(G){re=G,t(8,re)}function R(G){r.$$.not_equal(T.startDate,G)&&(T.startDate=G,t(3,T))}function N(G){H=G,t(9,H)}function te(){T.forwardOnly=this.checked,t(3,T)}function le(G){T=G,t(3,T)}function fe(G){r.$$.not_equal(T.createdDate,G)&&(T.createdDate=G,t(3,T))}function Ne(G){x=G,t(5,x)}function Ce(G){r.$$.not_equal(T.doneDate,G)&&(T.doneDate=G,t(3,T))}function Rt(G){q=G,t(6,q)}function nn(G){r.$$.not_equal(T.cancelledDate,G)&&(T.cancelledDate=G,t(3,T))}function Fr(G){S=G,t(4,S)}return r.$$set=G=>{"task"in G&&t(0,i=G.task),"onSubmit"in G&&t(27,s=G.onSubmit),"statusOptions"in G&&t(1,a=G.statusOptions),"allTasks"in G&&t(2,o=G.allTasks)},r.$$.update=()=>{if(r.$$.dirty[0]&2048){e:t(15,n=G=>be?G:null)}if(r.$$.dirty[0]&8){e:t(28,E=T.description.trim()!=="")}if(r.$$.dirty[0]&268437488){e:t(13,Pe=W&&Y&&re&&H&&E&&S&&x&&q)}},[i,a,o,T,S,x,q,W,re,H,Y,be,g,Pe,j,n,l,c,d,f,m,y,$,D,V,U,X,s,E,h,b,_,p,w,O,M,A,v,R,N,te,le,fe,Ne,Ce,Rt,nn,Fr]}var eh=class extends pr{constructor(e){super(),Kr(this,e,yI,gI,zr,{task:0,onSubmit:27,statusOptions:1,allTasks:2},null,[-1,-1])}},bw=eh;var zn=class extends Tw.Modal{constructor({app:t,task:n,onSubmit:i,allTasks:s}){super(t);this.task=n,this.allTasks=s,this.onSubmit=a=>{a.length&&i(a),this.close()}}onOpen(){this.titleEl.setText("Create or edit Task"),this.modalEl.style.paddingBottom="0";let{contentEl:t}=this;this.contentEl.style.paddingBottom="0";let n=this.getKnownStatusesAndCurrentTaskStatusIfNotKnown();new bw({target:t,props:{task:this.task,statusOptions:n,onSubmit:this.onSubmit,allTasks:this.allTasks}})}getKnownStatusesAndCurrentTaskStatusIfNotKnown(){let t=De.getInstance().registeredStatuses;return De.getInstance().bySymbol(this.task.status.symbol)===ne.EMPTY&&t.push(this.task.status),t}onClose(){let{contentEl:t}=this;t.empty()}};function bI(){let{setCreatedDate:r}=Z();return r?window.moment():null}function TI(r){let{setCreatedDate:e}=Z();if(!e||r.createdDate!==null)return!1;let t=r.description==="",n=!_e.getInstance().isEmpty(),i=!_e.getInstance().includedIn(r.description);return t||n&&i}var ml=({line:r,path:e})=>{var f,m;let t=ae.parseTaskSignifiers(r,ft.fromUnknownPosition(new Ve(e)),yt.fromPath(e)),n=bI();if(t!==null)return TI(t)?new ae(he(K({},t),{createdDate:n})):t;let i=r.match(J.nonTaskRegex);if(i===null)return console.error("Tasks: Cannot create task on line:",r),new ae({status:ne.TODO,description:"",taskLocation:ft.fromUnknownPosition(new Ve(e)),indentation:"",listMarker:"-",priority:"3",createdDate:n,startDate:null,scheduledDate:null,dueDate:null,doneDate:null,cancelledDate:null,recurrence:null,dependsOn:[],id:"",blockLink:"",tags:[],originalMarkdown:"",scheduledDateIsInferred:!1});let s=i[1],a=(f=i[2])!=null?f:"-",o=(m=i[4])!=null?m:" ",u=De.getInstance().bySymbolOrCreate(o),l=i[5],c=r.match(J.blockLinkRegex),d=c!==null?c[0]:"";return d!==""&&(l=l.replace(J.blockLinkRegex,"")),new ae({status:u,description:l,taskLocation:ft.fromUnknownPosition(new Ve(e)),indentation:s,listMarker:a,blockLink:d,priority:"3",createdDate:n,startDate:null,scheduledDate:null,dueDate:null,doneDate:null,cancelledDate:null,recurrence:null,tags:[],originalMarkdown:"",scheduledDateIsInferred:!1,id:"",dependsOn:[]})};var _w=(r,e,t,n,i)=>{var f;if(r)return t instanceof th.MarkdownView;if(!(t instanceof th.MarkdownView))return;let s=(f=t.file)==null?void 0:f.path;if(s===void 0)return;let o=e.getCursor().line,u=e.getLine(o),l=ml({line:u,path:s}),c=m=>{let y=yt.removeInferredStatusIfNeeded(l,m).map(g=>g.toFileLineString()).join(` -`);e.setLine(o,y)};new zn({app:n,task:l,onSubmit:c,allTasks:i}).open()};var rh=require("obsidian");var vw=(r,e,t)=>{var u;if(r)return t instanceof rh.MarkdownView;if(!(t instanceof rh.MarkdownView))return;let n=(u=t.file)==null?void 0:u.path;if(n===void 0)return;let i=e.getCursor(),s=i.line,a=e.getLine(s),o=nh(a,n);e.setLine(s,o.text),e.setCursor(_I(i,o))},nh=(r,e)=>{let t=ae.fromLine({line:r,taskLocation:ft.fromUnknownPosition(new Ve(e)),fallbackDate:null});if(t!==null){let n=t.toggleWithRecurrenceInUsersOrder().map(i=>i.toFileLineString());return{text:n.join(` +${u}`);return}break}s++}}return i}var Ds=class{constructor(e){this.addGlobalFilterOnSave=e.addGlobalFilterOnSave,this.originalBlocking=e.originalBlocking,this.description=e.description,this.status=e.status,this.priority=e.priority,this.recurrenceRule=e.recurrenceRule,this.createdDate=e.createdDate,this.startDate=e.startDate,this.scheduledDate=e.scheduledDate,this.dueDate=e.dueDate,this.doneDate=e.doneDate,this.cancelledDate=e.cancelledDate,this.forwardOnly=e.forwardOnly,this.blockedBy=e.blockedBy,this.blocking=e.blocking}static fromTask(e,t){let n=_e.getInstance().removeAsWordFrom(e.description),i=n!=e.description||!_e.getInstance().includedIn(e.description),s="none";e.priority==="5"?s="lowest":e.priority==="4"?s="low":e.priority==="2"?s="medium":e.priority==="1"?s="high":e.priority==="0"&&(s="highest");let a=[];for(let u of e.dependsOn){let l=t.find(c=>c.id===u);!l||a.push(l)}let o=t.filter(u=>u.dependsOn.includes(e.id));return new Ds({addGlobalFilterOnSave:i,originalBlocking:o,description:n,status:e.status,priority:s,recurrenceRule:e.recurrence?e.recurrence.toText():"",createdDate:e.created.formatAsDate(),startDate:e.start.formatAsDate(),scheduledDate:e.scheduled.formatAsDate(),dueDate:e.due.formatAsDate(),doneDate:e.done.formatAsDate(),cancelledDate:e.cancelled.formatAsDate(),forwardOnly:!0,blockedBy:a,blocking:o})}applyEdits(e,t){return P(this,null,function*(){let n=this.description.trim();this.addGlobalFilterOnSave&&(n=_e.getInstance().prependTo(n));let i=wi(this.startDate,this.forwardOnly),s=wi(this.scheduledDate,this.forwardOnly),a=wi(this.dueDate,this.forwardOnly),o=wi(this.cancelledDate,this.forwardOnly),u=wi(this.createdDate,this.forwardOnly),l=wi(this.doneDate,this.forwardOnly),c=null;this.recurrenceRule&&(c=st.fromText({recurrenceRuleText:this.recurrenceRule,startDate:i,scheduledDate:s,dueDate:a}));let d;switch(this.priority){case"lowest":d="5";break;case"low":d="4";break;case"medium":d="2";break;case"high":d="1";break;case"highest":d="0";break;default:d="3"}let f=[];for(let S of this.blockedBy){let x=yield aI(S,t);f.push(x)}let m=e.id,g=[],y=[];(this.blocking.toString()!==this.originalBlocking.toString()||this.blocking.length!==0)&&(e.id===""&&(m=go(t.filter(S=>S.id!=="").map(S=>S.id))),g=this.originalBlocking.filter(S=>!this.blocking.includes(S)),y=this.blocking.filter(S=>!this.originalBlocking.includes(S)));let T=new ae(he(K({},e),{description:n,status:e.status,priority:d,recurrence:c,startDate:i,scheduledDate:s,dueDate:a,doneDate:l,createdDate:u,cancelledDate:o,dependsOn:f.map(S=>S.id),id:m}));for(let S of g){let x=lv(S,T);yield gr({originalTask:S,newTasks:x})}for(let S of y){let x=uv(S,T);yield gr({originalTask:S,newTasks:x})}let k=l||window.moment();return T.handleNewStatusWithRecurrenceInUsersOrder(this.status,k)})}parseAndValidateRecurrence(){var t;if(!this.recurrenceRule)return{parsedRecurrence:"not recurring",isRecurrenceValid:!0};let e=(t=st.fromText({recurrenceRuleText:this.recurrenceRule,startDate:null,scheduledDate:null,dueDate:null}))==null?void 0:t.toText();return e?this.startDate||this.scheduledDate||this.dueDate?{parsedRecurrence:e,isRecurrenceValid:!0}:{parsedRecurrence:"due, scheduled or start date required",isRecurrenceValid:!1}:{parsedRecurrence:"invalid recurrence rule",isRecurrenceValid:!1}}};function aI(r,e){return P(this,null,function*(){if(r.id!=="")return r;let t=e.filter(i=>i.id!==""),n=zu(r,t.map(i=>i.id));return yield gr({originalTask:r,newTasks:n}),n})}function oI(r){let e,t=pt("Recurs",r[2])+"",n,i,s,a,o,u,l,c,d;return{c(){e=Q("label"),n=ue(),i=Q("input"),s=ue(),a=Q("code"),o=Me(r[4]),u=ue(),l=new _s(!1),L(e,"for","recurrence"),L(i,"id","recurrence"),L(i,"type","text"),L(i,"class","tasks-modal-date-input"),L(i,"placeholder","Try 'every day when done'"),L(i,"accesskey",r[2]),Sn(i,"tasks-modal-error",!r[1]),l.a=null,L(a,"class","tasks-modal-parsed-date")},m(f,m){de(f,e,m),e.innerHTML=t,de(f,n,m),de(f,i,m),mr(i,r[0].recurrenceRule),de(f,s,m),de(f,a,m),F(a,o),F(a,u),l.m(r[3],a),c||(d=xe(i,"input",r[5]),c=!0)},p(f,[m]){m&4&&t!==(t=pt("Recurs",f[2])+"")&&(e.innerHTML=t),m&4&&L(i,"accesskey",f[2]),m&1&&i.value!==f[0].recurrenceRule&&mr(i,f[0].recurrenceRule),m&2&&Sn(i,"tasks-modal-error",!f[1]),m&8&&l.p(f[3])},i:Ue,o:Ue,d(f){f&&oe(e),f&&oe(n),f&&oe(i),f&&oe(s),f&&oe(a),c=!1,d()}}}function uI(r,e,t){let{editableTask:n}=e,{isRecurrenceValid:i}=e,{accesskey:s}=e,a,{recurrenceSymbol:o}=Dr.tasksPluginEmoji.taskSerializer.symbols;function u(){n.recurrenceRule=this.value,t(0,n)}return r.$$set=l=>{"editableTask"in l&&t(0,n=l.editableTask),"isRecurrenceValid"in l&&t(1,i=l.isRecurrenceValid),"accesskey"in l&&t(2,s=l.accesskey)},r.$$.update=()=>{if(r.$$.dirty&1){e:t(3,{parsedRecurrence:a,isRecurrenceValid:i}=n.parseAndValidateRecurrence(),a,(t(1,i),t(0,n)))}},[n,i,s,a,o,u]}var Zm=class extends pr{constructor(e){super(),Kr(this,e,uI,oI,zr,{editableTask:0,isRecurrenceValid:1,accesskey:2})}},pw=Zm;function mw(r,e,t){let n=r.slice();return n[7]=e[t],n}function hw(r){let e,t=r[7].name+"",n,i,s=r[7].symbol+"",a,o,u;return{c(){e=Q("option"),n=Me(t),i=Me(" ["),a=Me(s),o=Me("]"),e.__value=u=r[7].symbol,e.value=e.__value},m(l,c){de(l,e,c),F(e,n),F(e,i),F(e,a),F(e,o)},p(l,c){c&1&&t!==(t=l[7].name+"")&&Rr(n,t),c&1&&s!==(s=l[7].symbol+"")&&Rr(a,s),c&1&&u!==(u=l[7].symbol)&&(e.__value=u,e.value=e.__value)},d(l){l&&oe(e)}}}function lI(r){let e,t=pt("Status",r[1])+"",n,i,s,a,o=r[0],u=[];for(let l=0;lr[6].call(i))},m(l,c){de(l,e,c),e.innerHTML=t,de(l,n,c),de(l,i,c);for(let d=0;d{let c=s.find(f=>f.symbol===o);if(c)t(4,i.status=c,i);else{console.log(`Error in EditTask: cannot find status with symbol ${o}`);return}let d=n.handleNewStatus(c).pop();d&&(t(4,i.doneDate=d.done.formatAsDate(),i),t(4,i.cancelledDate=d.cancelled.formatAsDate(),i))};function l(){o=Mv(this),t(2,o),t(0,s)}return r.$$set=c=>{"task"in c&&t(5,n=c.task),"editableTask"in c&&t(4,i=c.editableTask),"statusOptions"in c&&t(0,s=c.statusOptions),"accesskey"in c&&t(1,a=c.accesskey)},[s,a,o,u,i,n,l]}var Jm=class extends pr{constructor(e){super(),Kr(this,e,cI,lI,zr,{task:5,editableTask:4,statusOptions:0,accesskey:1})}},gw=Jm;function yw(r,e,t){let n=r.slice();return n[49]=e[t].value,n[50]=e[t].label,n[51]=e[t].symbol,n[52]=e[t].accessKey,n[53]=e[t].accessKeyIndex,n}function dI(r){let e,t=r[50]+"",n;return{c(){e=Q("span"),n=Me(t)},m(i,s){de(i,e,s),F(e,n)},p:Ue,d(i){i&&oe(e)}}}function fI(r){let e,t=r[50].substring(0,r[53])+"",n,i,s=r[50].substring(r[53],r[53]+1)+"",a,o,u=r[50].substring(r[53]+1)+"",l;return{c(){e=Q("span"),n=Me(t),i=Q("span"),a=Me(s),o=Q("span"),l=Me(u),L(i,"class","accesskey")},m(c,d){de(c,e,d),F(e,n),de(c,i,d),F(i,a),de(c,o,d),F(o,l)},p:Ue,d(c){c&&oe(e),c&&oe(i),c&&oe(o)}}}function pI(r){let e,t=r[51]+"",n;return{c(){e=Q("span"),n=Me(t)},m(i,s){de(i,e,s),F(e,n)},p:Ue,d(i){i&&oe(e)}}}function bw(r){let e,t,n,i,s,a,o,u,l=r[51]&&r[51].charCodeAt(0)>=256,c,d,f,m,g;function y(x,U){return x[11]?fI:dI}let T=y(r,[-1,-1]),k=T(r),S=l&&pI(r);return f=Rv(r[32][0]),{c(){e=Q("div"),t=Q("input"),a=ue(),o=Q("label"),k.c(),u=ue(),S&&S.c(),d=ue(),L(t,"type","radio"),L(t,"id",n="priority-"+r[49]),t.__value=i=r[49],t.value=t.__value,L(t,"accesskey",s=r[15](r[52])),L(o,"for",c="priority-"+r[49]),L(e,"class","task-modal-priority-option-container"),f.p(t)},m(x,U){de(x,e,U),F(e,t),t.checked=t.__value===r[3].priority,F(e,a),F(e,o),k.m(o,null),F(o,u),S&&S.m(o,null),F(e,d),m||(g=xe(t,"change",r[31]),m=!0)},p(x,U){U[0]&32768&&s!==(s=x[15](x[52]))&&L(t,"accesskey",s),U[0]&8&&(t.checked=t.__value===x[3].priority),T===(T=y(x,U))&&k?k.p(x,U):(k.d(1),k=T(x),k&&(k.c(),k.m(o,u))),l&&S.p(x,U)},d(x){x&&oe(e),k.d(),S&&S.d(),f.r(),m=!1,g()}}}function mI(r){let e;return{c(){e=Q("div"),e.innerHTML="Blocking and blocked by fields are disabled when vault tasks is empty"},m(t,n){de(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&oe(e)}}}function hI(r){let e,t,n,i;return e=new zm({props:{type:"blockedBy",labelText:"Before this",task:r[0],editableTask:r[3],allTasks:r[2],_onDescriptionKeyDown:r[24],accesskey:r[15]("b"),placeholder:"Search for tasks that the task being edited depends on..."}}),n=new zm({props:{type:"blocking",labelText:"After this",task:r[0],editableTask:r[3],allTasks:r[2],_onDescriptionKeyDown:r[24],accesskey:r[15]("e"),placeholder:"Search for tasks that depend on this task being done..."}}),{c(){Mr(e.$$.fragment),t=ue(),Mr(n.$$.fragment)},m(s,a){hr(e,s,a),de(s,t,a),hr(n,s,a),i=!0},p(s,a){let o={};a[0]&1&&(o.task=s[0]),a[0]&8&&(o.editableTask=s[3]),a[0]&4&&(o.allTasks=s[2]),a[0]&32768&&(o.accesskey=s[15]("b")),e.$set(o);let u={};a[0]&1&&(u.task=s[0]),a[0]&8&&(u.editableTask=s[3]),a[0]&4&&(u.allTasks=s[2]),a[0]&32768&&(u.accesskey=s[15]("e")),n.$set(u)},i(s){i||(It(e.$$.fragment,s),It(n.$$.fragment,s),i=!0)},o(s){Kt(e.$$.fragment,s),Kt(n.$$.fragment,s),i=!1},d(s){Qt(e,s),s&&oe(t),Qt(n,s)}}}function gI(r){let e,t,n,i=pt("Description",r[15]("t"))+"",s,a,o,u,l,c,d,f,m,g,y,T,k,S,x,U,q,re,H,Y,be,Pe,j,$,D,V,W,X,p,h,b=pt("Only future dates:",r[15]("f"))+"",_,w,O,M,A,v,R,N,te,le,fe,Ne,Ce,Rt,nn,Fr,G,qt,Xe,Ah,sn,oc,uc,Ph,an,lc,cc,Nh,Gi,ai,Ih,jo,Fh,Ks,Lr,dc,Lh,Yi=r[22],vt=[];for(let C=0;CDt(S,"isRecurrenceValid",Nk));function Ik(C){r[34](C)}function Fk(C){r[35](C)}let fc={id:"due",dateSymbol:r[18],forwardOnly:r[3].forwardOnly,accesskey:r[15]("d")};r[3].dueDate!==void 0&&(fc.date=r[3].dueDate),r[7]!==void 0&&(fc.isDateValid=r[7]),q=new Mi({props:fc}),je.push(()=>Dt(q,"date",Ik)),je.push(()=>Dt(q,"isDateValid",Fk));function Lk(C){r[36](C)}function Uk(C){r[37](C)}let pc={id:"scheduled",dateSymbol:r[17],forwardOnly:r[3].forwardOnly,accesskey:r[15]("s")};r[3].scheduledDate!==void 0&&(pc.date=r[3].scheduledDate),r[8]!==void 0&&(pc.isDateValid=r[8]),be=new Mi({props:pc}),je.push(()=>Dt(be,"date",Lk)),je.push(()=>Dt(be,"isDateValid",Uk));function Wk(C){r[38](C)}function qk(C){r[39](C)}let mc={id:"start",dateSymbol:r[16],forwardOnly:r[3].forwardOnly,accesskey:r[15]("a")};r[3].startDate!==void 0&&(mc.date=r[3].startDate),r[9]!==void 0&&(mc.isDateValid=r[9]),D=new Mi({props:mc}),je.push(()=>Dt(D,"date",Wk)),je.push(()=>Dt(D,"isDateValid",qk));let Wh=[hI,mI],In=[];function qh(C,ee){return C[2].length>0&&C[14]?0:1}N=qh(r,[-1,-1]),te=In[N]=Wh[N](r);function $k(C){r[41](C)}let $h={task:r[0],statusOptions:r[1],accesskey:r[15]("u")};r[3]!==void 0&&($h.editableTask=r[3]),Rt=new gw({props:$h}),je.push(()=>Dt(Rt,"editableTask",$k));function jk(C){r[42](C)}function Gk(C){r[43](C)}let hc={id:"created",dateSymbol:r[20],forwardOnly:r[3].forwardOnly,accesskey:r[15]("c")};r[3].createdDate!==void 0&&(hc.date=r[3].createdDate),r[5]!==void 0&&(hc.isDateValid=r[5]),G=new Mi({props:hc}),je.push(()=>Dt(G,"date",jk)),je.push(()=>Dt(G,"isDateValid",Gk));function Yk(C){r[44](C)}function Bk(C){r[45](C)}let gc={id:"done",dateSymbol:r[21],forwardOnly:r[3].forwardOnly,accesskey:r[15]("x")};r[3].doneDate!==void 0&&(gc.date=r[3].doneDate),r[6]!==void 0&&(gc.isDateValid=r[6]),sn=new Mi({props:gc}),je.push(()=>Dt(sn,"date",Yk)),je.push(()=>Dt(sn,"isDateValid",Bk));function Hk(C){r[46](C)}function Vk(C){r[47](C)}let yc={id:"cancelled",dateSymbol:r[19],forwardOnly:r[3].forwardOnly,accesskey:r[15]("-")};return r[3].cancelledDate!==void 0&&(yc.date=r[3].cancelledDate),r[4]!==void 0&&(yc.isDateValid=r[4]),an=new Mi({props:yc}),je.push(()=>Dt(an,"date",Hk)),je.push(()=>Dt(an,"isDateValid",Vk)),{c(){e=Q("form"),t=Q("section"),n=Q("label"),s=ue(),a=Q("textarea"),u=ue(),l=Q("section"),c=Q("label"),d=Me("Priority"),m=ue();for(let C=0;Cx=!1)),S.$set(on);let Qs={};ee[0]&8&&(Qs.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(Qs.accesskey=C[15]("d")),!re&&ee[0]&8&&(re=!0,Qs.date=C[3].dueDate,Ot(()=>re=!1)),!H&&ee[0]&128&&(H=!0,Qs.isDateValid=C[7],Ot(()=>H=!1)),q.$set(Qs);let Xs={};ee[0]&8&&(Xs.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(Xs.accesskey=C[15]("s")),!Pe&&ee[0]&8&&(Pe=!0,Xs.date=C[3].scheduledDate,Ot(()=>Pe=!1)),!j&&ee[0]&256&&(j=!0,Xs.isDateValid=C[8],Ot(()=>j=!1)),be.$set(Xs);let Zs={};ee[0]&8&&(Zs.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(Zs.accesskey=C[15]("a")),!V&&ee[0]&8&&(V=!0,Zs.date=C[3].startDate,Ot(()=>V=!1)),!W&&ee[0]&512&&(W=!0,Zs.isDateValid=C[9],Ot(()=>W=!1)),D.$set(Zs),(!Lr||ee[0]&32768)&&b!==(b=pt("Only future dates:",C[15]("f"))+"")&&(h.innerHTML=b),(!Lr||ee[0]&32768&&O!==(O=C[15]("f")))&&L(w,"accesskey",O),ee[0]&8&&(w.checked=C[3].forwardOnly);let bc=N;N=qh(C,ee),N===bc?In[N].p(C,ee):(Pv(),Kt(In[bc],1,1,()=>{In[bc]=null}),Nv(),te=In[N],te?te.p(C,ee):(te=In[N]=Wh[N](C),te.c()),It(te,1),te.m(R,null));let Js={};ee[0]&1&&(Js.task=C[0]),ee[0]&2&&(Js.statusOptions=C[1]),ee[0]&32768&&(Js.accesskey=C[15]("u")),!nn&&ee[0]&8&&(nn=!0,Js.editableTask=C[3],Ot(()=>nn=!1)),Rt.$set(Js);let ea={};ee[0]&8&&(ea.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(ea.accesskey=C[15]("c")),!qt&&ee[0]&8&&(qt=!0,ea.date=C[3].createdDate,Ot(()=>qt=!1)),!Xe&&ee[0]&32&&(Xe=!0,ea.isDateValid=C[5],Ot(()=>Xe=!1)),G.$set(ea);let ta={};ee[0]&8&&(ta.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(ta.accesskey=C[15]("x")),!oc&&ee[0]&8&&(oc=!0,ta.date=C[3].doneDate,Ot(()=>oc=!1)),!uc&&ee[0]&64&&(uc=!0,ta.isDateValid=C[6],Ot(()=>uc=!1)),sn.$set(ta);let ra={};ee[0]&8&&(ra.forwardOnly=C[3].forwardOnly),ee[0]&32768&&(ra.accesskey=C[15]("-")),!lc&&ee[0]&8&&(lc=!0,ra.date=C[3].cancelledDate,Ot(()=>lc=!1)),!cc&&ee[0]&16&&(cc=!0,ra.isDateValid=C[4],Ot(()=>cc=!1)),an.$set(ra),(!Lr||ee[0]&8192&&jo!==(jo=!C[13]))&&(ai.disabled=jo)},i(C){Lr||(It(S.$$.fragment,C),It(q.$$.fragment,C),It(be.$$.fragment,C),It(D.$$.fragment,C),It(te),It(Rt.$$.fragment,C),It(G.$$.fragment,C),It(sn.$$.fragment,C),It(an.$$.fragment,C),Lr=!0)},o(C){Kt(S.$$.fragment,C),Kt(q.$$.fragment,C),Kt(be.$$.fragment,C),Kt(D.$$.fragment,C),Kt(te),Kt(Rt.$$.fragment,C),Kt(G.$$.fragment,C),Kt(sn.$$.fragment,C),Kt(an.$$.fragment,C),Lr=!1},d(C){C&&oe(e),r[30](null),Ri(vt,C),Qt(S),Qt(q),Qt(be),Qt(D),In[N].d(),Qt(Rt),Qt(G),Qt(sn),Qt(an),dc=!1,Nt(Lh)}}}function yI(r,e,t){let n,{task:i}=e,{onSubmit:s}=e,{statusOptions:a}=e,{allTasks:o}=e,{prioritySymbols:u,startDateSymbol:l,scheduledDateSymbol:c,dueDateSymbol:d,cancelledDateSymbol:f,createdDateSymbol:m,doneDateSymbol:g}=Dr.tasksPluginEmoji.taskSerializer.symbols,y,T=Ds.fromTask(i,o),k=!0,S=!0,x=!0,U=!0,q=!0,re=!0,H=!0,Y=!0,be=!0,Pe=!0,j=!1,$=[{value:"lowest",label:"Lowest",symbol:u.Lowest,accessKey:"o",accessKeyIndex:1},{value:"low",label:"Low",symbol:u.Low,accessKey:"l",accessKeyIndex:0},{value:"none",label:"Normal",symbol:u.None,accessKey:"n",accessKeyIndex:0},{value:"medium",label:"Medium",symbol:u.Medium,accessKey:"m",accessKeyIndex:0},{value:"high",label:"High",symbol:u.High,accessKey:"h",accessKeyIndex:0},{value:"highest",label:"Highest",symbol:u.Highest,accessKey:"i",accessKeyIndex:1}];Um(()=>{let{provideAccessKeys:G}=Z();t(11,be=G),t(14,j=!0),setTimeout(()=>{y.focus()},10)});let D=()=>{s([])},V=G=>{G.key==="Enter"&&(G.preventDefault(),Pe&&X())},W=()=>{setTimeout(()=>{t(3,T.description=T.description.replace(/[\r\n]+/g," "),T)},0)},X=()=>Iv(void 0,void 0,void 0,function*(){let G=yield T.applyEdits(i,o);s(G)}),p=[[]];function h(){T.description=this.value,t(3,T)}function b(G){je[G?"unshift":"push"](()=>{y=G,t(12,y)})}function _(){T.priority=this.__value,t(3,T)}function w(G){Y=G,t(10,Y)}function O(G){r.$$.not_equal(T.dueDate,G)&&(T.dueDate=G,t(3,T))}function M(G){q=G,t(7,q)}function A(G){r.$$.not_equal(T.scheduledDate,G)&&(T.scheduledDate=G,t(3,T))}function v(G){re=G,t(8,re)}function R(G){r.$$.not_equal(T.startDate,G)&&(T.startDate=G,t(3,T))}function N(G){H=G,t(9,H)}function te(){T.forwardOnly=this.checked,t(3,T)}function le(G){T=G,t(3,T)}function fe(G){r.$$.not_equal(T.createdDate,G)&&(T.createdDate=G,t(3,T))}function Ne(G){x=G,t(5,x)}function Ce(G){r.$$.not_equal(T.doneDate,G)&&(T.doneDate=G,t(3,T))}function Rt(G){U=G,t(6,U)}function nn(G){r.$$.not_equal(T.cancelledDate,G)&&(T.cancelledDate=G,t(3,T))}function Fr(G){S=G,t(4,S)}return r.$$set=G=>{"task"in G&&t(0,i=G.task),"onSubmit"in G&&t(27,s=G.onSubmit),"statusOptions"in G&&t(1,a=G.statusOptions),"allTasks"in G&&t(2,o=G.allTasks)},r.$$.update=()=>{if(r.$$.dirty[0]&2048){e:t(15,n=G=>be?G:null)}if(r.$$.dirty[0]&8){e:t(28,k=T.description.trim()!=="")}if(r.$$.dirty[0]&268437488){e:t(13,Pe=q&&Y&&re&&H&&k&&S&&x&&U)}},[i,a,o,T,S,x,U,q,re,H,Y,be,y,Pe,j,n,l,c,d,f,m,g,$,D,V,W,X,s,k,h,b,_,p,w,O,M,A,v,R,N,te,le,fe,Ne,Ce,Rt,nn,Fr]}var eh=class extends pr{constructor(e){super(),Kr(this,e,yI,gI,zr,{task:0,onSubmit:27,statusOptions:1,allTasks:2},null,[-1,-1])}},Tw=eh;var zn=class extends _w.Modal{constructor({app:t,task:n,onSubmit:i,allTasks:s}){super(t);this.task=n,this.allTasks=s,this.onSubmit=a=>{a.length&&i(a),this.close()}}onOpen(){this.titleEl.setText("Create or edit Task"),this.modalEl.style.paddingBottom="0";let{contentEl:t}=this;this.contentEl.style.paddingBottom="0";let n=this.getKnownStatusesAndCurrentTaskStatusIfNotKnown();new Tw({target:t,props:{task:this.task,statusOptions:n,onSubmit:this.onSubmit,allTasks:this.allTasks}})}getKnownStatusesAndCurrentTaskStatusIfNotKnown(){let t=De.getInstance().registeredStatuses;return De.getInstance().bySymbol(this.task.status.symbol)===ne.EMPTY&&t.push(this.task.status),t}onClose(){let{contentEl:t}=this;t.empty()}};function bI(){let{setCreatedDate:r}=Z();return r?window.moment():null}function TI(r){let{setCreatedDate:e}=Z();if(!e||r.createdDate!==null)return!1;let t=r.description==="",n=!_e.getInstance().isEmpty(),i=!_e.getInstance().includedIn(r.description);return t||n&&i}var ml=({line:r,path:e})=>{var f,m;let t=ae.parseTaskSignifiers(r,ft.fromUnknownPosition(new Ve(e)),yt.fromPath(e)),n=bI();if(t!==null)return TI(t)?new ae(he(K({},t),{createdDate:n})):t;let i=r.match(J.nonTaskRegex);if(i===null)return console.error("Tasks: Cannot create task on line:",r),new ae({status:ne.TODO,description:"",taskLocation:ft.fromUnknownPosition(new Ve(e)),indentation:"",listMarker:"-",priority:"3",createdDate:n,startDate:null,scheduledDate:null,dueDate:null,doneDate:null,cancelledDate:null,recurrence:null,dependsOn:[],id:"",blockLink:"",tags:[],originalMarkdown:"",scheduledDateIsInferred:!1});let s=i[1],a=(f=i[2])!=null?f:"-",o=(m=i[4])!=null?m:" ",u=De.getInstance().bySymbolOrCreate(o),l=i[5],c=r.match(J.blockLinkRegex),d=c!==null?c[0]:"";return d!==""&&(l=l.replace(J.blockLinkRegex,"")),new ae({status:u,description:l,taskLocation:ft.fromUnknownPosition(new Ve(e)),indentation:s,listMarker:a,blockLink:d,priority:"3",createdDate:n,startDate:null,scheduledDate:null,dueDate:null,doneDate:null,cancelledDate:null,recurrence:null,tags:[],originalMarkdown:"",scheduledDateIsInferred:!1,id:"",dependsOn:[]})};var vw=(r,e,t,n,i)=>{var f;if(r)return t instanceof th.MarkdownView;if(!(t instanceof th.MarkdownView))return;let s=(f=t.file)==null?void 0:f.path;if(s===void 0)return;let o=e.getCursor().line,u=e.getLine(o),l=ml({line:u,path:s}),c=m=>{let g=yt.removeInferredStatusIfNeeded(l,m).map(y=>y.toFileLineString()).join(` +`);e.setLine(o,g)};new zn({app:n,task:l,onSubmit:c,allTasks:i}).open()};var rh=require("obsidian");var ww=(r,e,t)=>{var u;if(r)return t instanceof rh.MarkdownView;if(!(t instanceof rh.MarkdownView))return;let n=(u=t.file)==null?void 0:u.path;if(n===void 0)return;let i=e.getCursor(),s=i.line,a=e.getLine(s),o=nh(a,n);e.setLine(s,o.text),e.setCursor(_I(i,o))},nh=(r,e)=>{let t=ae.fromLine({line:r,taskLocation:ft.fromUnknownPosition(new Ve(e)),fallbackDate:null});if(t!==null){let n=t.toggleWithRecurrenceInUsersOrder().map(i=>i.toFileLineString());return{text:n.join(` `),moveTo:{line:n.length-1}}}else{let n=r.match(J.taskRegex);if(n!==null){let i=n[3],a=De.getInstance().bySymbol(i).nextStatusSymbol;return{text:r.replace(J.taskRegex,`$1- [${a}] $4`)}}else if(J.listItemRegex.test(r)){let i=r.replace(J.listItemRegex,"$1$2 [ ]");return{text:i,moveTo:{ch:i.length}}}else{let i=r.replace(J.indentationRegex,"$1- ");return{text:i,moveTo:{ch:i.length}}}}},_I=(r,e)=>{var s;let t={line:0,ch:r.ch},n=K(K({},t),(s=e.moveTo)!=null?s:{}),i=e.text.split(` -`)[n.line].length;return{line:r.line+n.line,ch:Math.min(n.ch,i)}};var hl=class{get app(){return this.plugin.app}constructor({plugin:e}){this.plugin=e,e.addCommand({id:"edit-task",name:"Create or edit task",icon:"pencil",editorCheckCallback:(t,n,i)=>_w(t,n,i,this.app,this.plugin.getTasks())}),e.addCommand({id:"toggle-done",name:"Toggle task done",icon:"check-in-circle",editorCheckCallback:vw})}};var Kn=class{constructor(){this.hidePostponeButton=!1;this.hideTaskCount=!1;this.hideBacklinks=!1;this.hideEditButton=!1;this.hideUrgency=!0;this.shortMode=!1;this.explainQuery=!1}};function Ni(r,e){let t=`Error: ${r}. +`)[n.line].length;return{line:r.line+n.line,ch:Math.min(n.ch,i)}};var hl=class{get app(){return this.plugin.app}constructor({plugin:e}){this.plugin=e,e.addCommand({id:"edit-task",name:"Create or edit task",icon:"pencil",editorCheckCallback:(t,n,i)=>vw(t,n,i,this.app,this.plugin.getTasks())}),e.addCommand({id:"toggle-done",name:"Toggle task done",icon:"check-in-circle",editorCheckCallback:ww})}};var Kn=class{constructor(){this.hidePostponeButton=!1;this.hideTaskCount=!1;this.hideBacklinks=!1;this.hideEditButton=!1;this.hideUrgency=!0;this.shortMode=!1;this.explainQuery=!1}};function Ni(r,e){let t=`Error: ${r}. The error message was: - `,n="";return e instanceof Error?n+=e:n+="Unknown error",`${t}"${n}"`}var vI=Object.prototype.toString,xs=Array.isArray||function(e){return vI.call(e)==="[object Array]"};function sh(r){return typeof r=="function"}function wI(r){return xs(r)?"array":typeof r}function ih(r){return r.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function ww(r,e){return r!=null&&typeof r=="object"&&e in r}function kI(r,e){return r!=null&&typeof r!="object"&&r.hasOwnProperty&&r.hasOwnProperty(e)}var EI=RegExp.prototype.test;function SI(r,e){return EI.call(r,e)}var OI=/\S/;function DI(r){return!SI(OI,r)}var xI={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function RI(r){return String(r).replace(/[&<>"'`=\/]/g,function(t){return xI[t]})}var MI=/\s*/,CI=/\s+/,kw=/\s*=/,AI=/\s*\}/,PI=/#|\^|\/|>|\{|&|=|!/;function NI(r,e){if(!r)return[];var t=!1,n=[],i=[],s=[],a=!1,o=!1,u="",l=0;function c(){if(a&&!o)for(;s.length;)delete i[s.pop()];else s=[];a=!1,o=!1}var d,f,m;function y(Y){if(typeof Y=="string"&&(Y=Y.split(CI,2)),!xs(Y)||Y.length!==2)throw new Error("Invalid tags: "+Y);d=new RegExp(ih(Y[0])+"\\s*"),f=new RegExp("\\s*"+ih(Y[1])),m=new RegExp("\\s*"+ih("}"+Y[1]))}y(e||yr.tags);for(var g=new Mo(r),T,E,S,x,q,W;!g.eos();){if(T=g.pos,S=g.scanUntil(d),S)for(var re=0,H=S.length;re"?q=[E,S,T,g.pos,u,l,t]:q=[E,S,T,g.pos],l++,i.push(q),E==="#"||E==="^")n.push(q);else if(E==="/"){if(W=n.pop(),!W)throw new Error('Unopened section "'+S+'" at '+T);if(W[1]!==S)throw new Error('Unclosed section "'+W[1]+'" at '+T)}else E==="name"||E==="{"||E==="&"?o=!0:E==="="&&y(S)}if(c(),W=n.pop(),W)throw new Error('Unclosed section "'+W[1]+'" at '+g.pos);return FI(II(i))}function II(r){for(var e=[],t,n,i=0,s=r.length;i0?n[n.length-1][4]:e;break;default:t.push(i)}return e}function Mo(r){this.string=r,this.tail=r,this.pos=0}Mo.prototype.eos=function(){return this.tail===""};Mo.prototype.scan=function(e){var t=this.tail.match(e);if(!t||t.index!==0)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n};Mo.prototype.scanUntil=function(e){var t=this.tail.search(e),n;switch(t){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,t),this.tail=this.tail.substring(t)}return this.pos+=n.length,n};function Ds(r,e){this.view=r,this.cache={".":this.view},this.parent=e}Ds.prototype.push=function(e){return new Ds(e,this)};Ds.prototype.lookup=function(e){var t=this.cache,n;if(t.hasOwnProperty(e))n=t[e];else{for(var i=this,s,a,o,u=!1;i;){if(e.indexOf(".")>0)for(s=i.view,a=e.split("."),o=0;s!=null&&o"?l=this.renderPartial(o,t,n,s):u==="&"?l=this.unescapedValue(o,t):u==="name"?l=this.escapedValue(o,t,s):u==="text"&&(l=this.rawValue(o)),l!==void 0&&(a+=l);return a};xt.prototype.renderSection=function(e,t,n,i,s){var a=this,o="",u=t.lookup(e[1]);function l(f){return a.render(f,t,n,s)}if(!!u){if(xs(u))for(var c=0,d=u.length;c":">",'"':""","'":"'","/":"/","`":"`","=":"="};function RI(r){return String(r).replace(/[&<>"'`=\/]/g,function(t){return xI[t]})}var MI=/\s*/,CI=/\s+/,Ew=/\s*=/,AI=/\s*\}/,PI=/#|\^|\/|>|\{|&|=|!/;function NI(r,e){if(!r)return[];var t=!1,n=[],i=[],s=[],a=!1,o=!1,u="",l=0;function c(){if(a&&!o)for(;s.length;)delete i[s.pop()];else s=[];a=!1,o=!1}var d,f,m;function g(Y){if(typeof Y=="string"&&(Y=Y.split(CI,2)),!Rs(Y)||Y.length!==2)throw new Error("Invalid tags: "+Y);d=new RegExp(ih(Y[0])+"\\s*"),f=new RegExp("\\s*"+ih(Y[1])),m=new RegExp("\\s*"+ih("}"+Y[1]))}g(e||yr.tags);for(var y=new Co(r),T,k,S,x,U,q;!y.eos();){if(T=y.pos,S=y.scanUntil(d),S)for(var re=0,H=S.length;re"?U=[k,S,T,y.pos,u,l,t]:U=[k,S,T,y.pos],l++,i.push(U),k==="#"||k==="^")n.push(U);else if(k==="/"){if(q=n.pop(),!q)throw new Error('Unopened section "'+S+'" at '+T);if(q[1]!==S)throw new Error('Unclosed section "'+q[1]+'" at '+T)}else k==="name"||k==="{"||k==="&"?o=!0:k==="="&&g(S)}if(c(),q=n.pop(),q)throw new Error('Unclosed section "'+q[1]+'" at '+y.pos);return FI(II(i))}function II(r){for(var e=[],t,n,i=0,s=r.length;i0?n[n.length-1][4]:e;break;default:t.push(i)}return e}function Co(r){this.string=r,this.tail=r,this.pos=0}Co.prototype.eos=function(){return this.tail===""};Co.prototype.scan=function(e){var t=this.tail.match(e);if(!t||t.index!==0)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n};Co.prototype.scanUntil=function(e){var t=this.tail.search(e),n;switch(t){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,t),this.tail=this.tail.substring(t)}return this.pos+=n.length,n};function xs(r,e){this.view=r,this.cache={".":this.view},this.parent=e}xs.prototype.push=function(e){return new xs(e,this)};xs.prototype.lookup=function(e){var t=this.cache,n;if(t.hasOwnProperty(e))n=t[e];else{for(var i=this,s,a,o,u=!1;i;){if(e.indexOf(".")>0)for(s=i.view,a=e.split("."),o=0;s!=null&&o"?l=this.renderPartial(o,t,n,s):u==="&"?l=this.unescapedValue(o,t):u==="name"?l=this.escapedValue(o,t,s):u==="text"&&(l=this.rawValue(o)),l!==void 0&&(a+=l);return a};xt.prototype.renderSection=function(e,t,n,i,s){var a=this,o="",u=t.lookup(e[1]);function l(f){return a.render(f,t,n,s)}if(!!u){if(Rs(u))for(var c=0,d=u.length;c0||!n)&&(s[a]=i+s[a]);return s.join(` -`)};xt.prototype.renderPartial=function(e,t,n,i){if(!!n){var s=this.getConfigTags(i),a=sh(n)?n(e[1]):n[e[1]];if(a!=null){var o=e[6],u=e[5],l=e[4],c=a;u==0&&l&&(c=this.indentPartial(a,l,o));var d=this.parse(c,s);return this.renderTokens(d,t,n,c,i)}}};xt.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(n!=null)return n};xt.prototype.escapedValue=function(e,t,n){var i=this.getConfigEscape(n)||yr.escape,s=t.lookup(e[1]);if(s!=null)return typeof s=="number"&&i===yr.escape?String(s):i(s)};xt.prototype.rawValue=function(e){return e[1]};xt.prototype.getConfigTags=function(e){return xs(e)?e:e&&typeof e=="object"?e.tags:void 0};xt.prototype.getConfigEscape=function(e){if(e&&typeof e=="object"&&!xs(e))return e.escape};var yr={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(r){Ro.templateCache=r},get templateCache(){return Ro.templateCache}},Ro=new xt;yr.clearCache=function(){return Ro.clearCache()};yr.parse=function(e,t){return Ro.parse(e,t)};yr.render=function(e,t,n,i){if(typeof e!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+wI(e)+'" was given as the first argument for mustache#render(template, view, partials)');return Ro.render(e,t,n,i)};yr.escape=RI;yr.Scanner=Mo;yr.Context=Ds;yr.Writer=xt;var ah=yr;var xw=na(Dw());function Rw(r,e){ah.escape=function(t){return t};try{return ah.render(r,(0,xw.default)(e))}catch(t){let n="";throw t instanceof Error?n=`There was an error expanding one or more placeholders. +`)};xt.prototype.renderPartial=function(e,t,n,i){if(!!n){var s=this.getConfigTags(i),a=sh(n)?n(e[1]):n[e[1]];if(a!=null){var o=e[6],u=e[5],l=e[4],c=a;u==0&&l&&(c=this.indentPartial(a,l,o));var d=this.parse(c,s);return this.renderTokens(d,t,n,c,i)}}};xt.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(n!=null)return n};xt.prototype.escapedValue=function(e,t,n){var i=this.getConfigEscape(n)||yr.escape,s=t.lookup(e[1]);if(s!=null)return typeof s=="number"&&i===yr.escape?String(s):i(s)};xt.prototype.rawValue=function(e){return e[1]};xt.prototype.getConfigTags=function(e){return Rs(e)?e:e&&typeof e=="object"?e.tags:void 0};xt.prototype.getConfigEscape=function(e){if(e&&typeof e=="object"&&!Rs(e))return e.escape};var yr={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(r){Mo.templateCache=r},get templateCache(){return Mo.templateCache}},Mo=new xt;yr.clearCache=function(){return Mo.clearCache()};yr.parse=function(e,t){return Mo.parse(e,t)};yr.render=function(e,t,n,i){if(typeof e!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+wI(e)+'" was given as the first argument for mustache#render(template, view, partials)');return Mo.render(e,t,n,i)};yr.escape=RI;yr.Scanner=Co;yr.Context=xs;yr.Writer=xt;var ah=yr;var Rw=ia(xw());function Mw(r,e){ah.escape=function(t){return t};try{return ah.render(r,(0,Rw.default)(e))}catch(t){let n="";throw t instanceof Error?n=`There was an error expanding one or more placeholders. The error message was: ${t.message.replace(/ > /g,".").replace("Missing Mustache data property","Unknown property")}`:n="Unknown error expanding placeholders.",n+=` The problem is in: - ${r}`,Error(n)}}function Mw(r){return uh(r,[])}function uh(r,e){return{query:{file:new Ve(r),allTasks:e}}}var Rs=class{constructor(e=""){this.indentation=e}explainQuery(e){if(e.error!==void 0)return this.explainError(e);let t=[];return t.push(this.explainFilters(e)),t.push(this.explainGroups(e)),t.push(this.explainSorters(e)),t.push(this.explainQueryLimits(e)),t.push(this.explainDebugSettings()),t.filter(n=>n!=="").join(` + ${r}`,Error(n)}}function Cw(r){return uh(r,[])}function uh(r,e){return{query:{file:new Ve(r),allTasks:e}}}var Ms=class{constructor(e=""){this.indentation=e}explainQuery(e){if(e.error!==void 0)return this.explainError(e);let t=[];return t.push(this.explainFilters(e)),t.push(this.explainGroups(e)),t.push(this.explainSorters(e)),t.push(this.explainQueryLimits(e)),t.push(this.explainDebugSettings()),t.filter(n=>n!=="").join(` `)}explainError(e){let t="";return t+=`Query has an error: `,t+=e.error+` `,t}explainFilters(e){return e.filters.length===0?this.indent(`No filters supplied. All tasks will match the query. @@ -214,7 +214,7 @@ The problem is in: `;n.push(this.indent(i))}return n.join(` `)}explainDebugSettings(){let e="",{debugSettings:t}=Z();return t.ignoreSortInstructions&&(e+=this.indent(`NOTE: All sort instructions, including default sort order, are disabled, due to 'ignoreSortInstructions' setting. `)),e}indent(e){return this.indentation+e}};var Se=class{constructor(e,t=[],n=""){this.description=e,this.symbol=n,this.children=t}static booleanAnd(e){return this.combineOrCreateExplanation("All of",e,"AND")}static booleanOr(e){return this.combineOrCreateExplanation("At least one of",e,"OR")}static booleanNot(e){return new Se("None of",e,"NOT")}static booleanXor(e){return new Se("Exactly one of",e,"XOR")}asString(e=""){if(this.children.length==0)return e+this.description;let t=e;this.symbol===""?t+=this.description:(t+=this.symbol,this.children.length>1&&(t+=` (${this.description})`),t+=":");let n=e+" ";for(let i=0;ithis.matches(t))}};var Cs=class extends Ms{constructor(t){super();this.stringToFind=t}matches(t){return Cs.stringIncludesCaseInsensitive(t,this.stringToFind)}static stringIncludesCaseInsensitive(t,n){return t.toLocaleLowerCase().includes(n.toLocaleLowerCase())}explanation(t){return new Se(t)}};var Qn=class extends Ms{constructor(t){super();this.regex=t}static validateAndConstruct(t){let n=/^\/(.+)\/([^/]*)$/,i=t.match(n);if(i!==null){let s=new RegExp(i[1],i[2]);return new Qn(s)}else return null}matches(t){return t.match(this.regex)!==null}static helpMessage(){return String.raw`See https://publish.obsidian.md/tasks/Queries/Regular+Expressions +${this.children[i].asString(n)}`;return t}static combineOrCreateExplanation(e,t,n){if(t.length===2){let i=t[0],s=t[1];if(i.symbol===n&&s.symbol==="")return i.children.push(s),i}return new Se(e,t,n)}};var Cs=class{matchesAnyOf(e){return e.some(t=>this.matches(t))}};var As=class extends Cs{constructor(t){super();this.stringToFind=t}matches(t){return As.stringIncludesCaseInsensitive(t,this.stringToFind)}static stringIncludesCaseInsensitive(t,n){return t.toLocaleLowerCase().includes(n.toLocaleLowerCase())}explanation(t){return new Se(t)}};var Qn=class extends Cs{constructor(t){super();this.regex=t}static validateAndConstruct(t){let n=/^\/(.+)\/([^/]*)$/,i=t.match(n);if(i!==null){let s=new RegExp(i[1],i[2]);return new Qn(s)}else return null}matches(t){return t.match(this.regex)!==null}static helpMessage(){return String.raw`See https://publish.obsidian.md/tasks/Queries/Regular+Expressions Regular expressions must look like this: /pattern/ @@ -248,7 +248,7 @@ ${e}${o}`)}let n=this._rawInstruction.trim(),i=n.split(` `+e),t(n,this._anyContinuationLinesRemoved),t(this._anyContinuationLinesRemoved,this._anyPlaceholdersExpanded),s}allLinesIdentical(){return this._rawInstruction===this._anyContinuationLinesRemoved&&this._rawInstruction===this._anyPlaceholdersExpanded}};var bt=class{constructor(e,t,n){this._statement=new Mn(e,e),this.explanation=n,this.filterFunction=t}get statement(){return this._statement}setStatement(e){this._statement=e}get instruction(){return this._statement.anyPlaceholdersExpanded}explainFilterIndented(e){let t=this._statement.explainStatement(e);return this.onlyNeedsOneLineExplanation()?`${t} `:`${t} => ${this.explanation.asString(e+" ")} -`}simulateExplainFilter(){return this.onlyNeedsOneLineExplanation()?this.explanation:new Se(this.instruction+" =>",[this.explanation])}onlyNeedsOneLineExplanation(){return this.explanation.asString("")===this.instruction}};var Xr=class{constructor(e){this.instruction=e}get queryComponent(){return this._queryComponent}set queryComponent(e){this._queryComponent=e}get error(){return this._error}set error(e){this._error=e}isValid(){return this._queryComponent!==void 0}static fromObject(e,t){let n=new Xr(e);return n._queryComponent=t,n}static fromError(e,t){let n=new Xr(e);return n._error=t,n}};var ie=class{constructor(e){this.object=e}get instruction(){return this.object.instruction}get filter(){return this.object.queryComponent}isValid(){return this.object.isValid()}get error(){return this.object.error}get filterFunction(){if(this.filter)return this.filter.filterFunction}static fromFilter(e){return new ie(Xr.fromObject(e.instruction,e))}static fromError(e,t){return new ie(Xr.fromError(e,t))}};var Ie=class extends ke{createFilterOrErrorMessage(e){let t=ke.getMatch(this.filterRegExp(),e);if(t===null)return ie.fromError(e,`do not understand query filter (${this.fieldName()})`);let n=t[1].toLowerCase(),i=t[2],s=null;if(n.includes("include"))s=new Cs(i);else if(n.includes("regex")){try{s=Qn.validateAndConstruct(i)}catch(u){let l=Ni("Parsing regular expression",u)+` +`}simulateExplainFilter(){return this.onlyNeedsOneLineExplanation()?this.explanation:new Se(this.instruction+" =>",[this.explanation])}onlyNeedsOneLineExplanation(){return this.explanation.asString("")===this.instruction}};var Xr=class{constructor(e){this.instruction=e}get queryComponent(){return this._queryComponent}set queryComponent(e){this._queryComponent=e}get error(){return this._error}set error(e){this._error=e}isValid(){return this._queryComponent!==void 0}static fromObject(e,t){let n=new Xr(e);return n._queryComponent=t,n}static fromError(e,t){let n=new Xr(e);return n._error=t,n}};var ie=class{constructor(e){this.object=e}get instruction(){return this.object.instruction}get filter(){return this.object.queryComponent}isValid(){return this.object.isValid()}get error(){return this.object.error}get filterFunction(){if(this.filter)return this.filter.filterFunction}static fromFilter(e){return new ie(Xr.fromObject(e.instruction,e))}static fromError(e,t){return new ie(Xr.fromError(e,t))}};var Ie=class extends ke{createFilterOrErrorMessage(e){let t=ke.getMatch(this.filterRegExp(),e);if(t===null)return ie.fromError(e,`do not understand query filter (${this.fieldName()})`);let n=t[1].toLowerCase(),i=t[2],s=null;if(n.includes("include"))s=new As(i);else if(n.includes("regex")){try{s=Qn.validateAndConstruct(i)}catch(u){let l=Ni("Parsing regular expression",u)+` ${Qn.helpMessage()}`;return ie.fromError(e,l)}if(s===null)return ie.fromError(e,`Invalid instruction: '${e}' @@ -263,7 +263,7 @@ Possible causes: instead of in to a template file. See: https://publish.obsidian.md/tasks/Advanced/Instruction+contains+unexpanded+template+text -`}};var yl=class{constructor(e,t){this._instruction=e,this._filter=t}canCreateFilterForLine(e){return e.toLocaleLowerCase()===this._instruction.toLocaleLowerCase()}createFilterOrErrorMessage(e){return this.canCreateFilterForLine(e)?ie.fromFilter(new bt(e,this._filter,new Se(e))):ie.fromError(e,`do not understand filter: ${e}`)}};var Ut=class{constructor(){this._filters=[]}add(e,t){this._filters.push(new yl(e,t))}canCreateFilterForLine(e){for(let t of this._filters)if(t.canCreateFilterForLine(e))return!0;return!1}createFilterOrErrorMessage(e){for(let t of this._filters){let n=t.createFilterOrErrorMessage(e);if(n.error===void 0)return n}return ie.fromError(e,`do not understand filter: ${e}`)}};var at=class extends ke{constructor(t=null){super();t!==null?this.filterInstructions=t:(this.filterInstructions=new Ut,this.filterInstructions.add(`has ${this.fieldName()} date`,n=>this.date(n)!==null),this.filterInstructions.add(`no ${this.fieldName()} date`,n=>this.date(n)===null),this.filterInstructions.add(`${this.fieldName()} date is invalid`,n=>{let i=this.date(n);return i!==null&&!i.isValid()}))}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}createFilterOrErrorMessage(t){var f;let n=this.checkForUnexpandedTemplateText(t);if(n)return ie.fromError(t,n);let i=this.filterInstructions.createFilterOrErrorMessage(t);if(i.isValid())return i;let s=ke.getMatch(this.filterRegExp(),t);if(s===null)return ie.fromError(t,"do not understand query filter ("+this.fieldName()+" date)");let a=s[1],o=(f=s[2])==null?void 0:f.toLowerCase(),u=s[3],l=Yt.parseDateRange(u);if(!l.isValid()){let m=Yt.parseDate(a);m.isValid()&&(l=new kt(m,m))}if(!l.isValid())return ie.fromError(t,"do not understand "+this.fieldName()+" date");let c=this.buildFilterFunction(o,l),d=at.buildExplanation(this.fieldNameForExplanation(),o,this.filterResultIfFieldMissing(),l);return ie.fromFilter(new bt(t,c,d))}buildFilterFunction(t,n){let i;switch(t){case"before":i=s=>s?s.isBefore(n.start):this.filterResultIfFieldMissing();break;case"after":i=s=>s?s.isAfter(n.end):this.filterResultIfFieldMissing();break;case"on or before":case"in or before":i=s=>s?s.isSameOrBefore(n.end):this.filterResultIfFieldMissing();break;case"on or after":case"in or after":i=s=>s?s.isSameOrAfter(n.start):this.filterResultIfFieldMissing();break;default:i=s=>s?s.isSameOrAfter(n.start)&&s.isSameOrBefore(n.end):this.filterResultIfFieldMissing()}return this.getFilter(i)}getFilter(t){return n=>t(this.date(n))}filterRegExp(){return new RegExp(`^${this.fieldNameForFilterInstruction()} (((?:on|in) or before|before|(?:on|in) or after|after|on|in)? ?(.*))`,"i")}fieldNameForFilterInstruction(){return this.fieldName()}static buildExplanation(t,n,i,s){let a=n,o="YYYY-MM-DD (dddd Do MMMM YYYY)",u;switch(n){case"before":case"on or after":u=s.start.format(o);break;case"after":case"on or before":u=s.end.format(o);break;case"in or before":a="on or before",u=s.end.format(o);break;case"in or after":a="on or after",u=s.start.format(o);break;default:if(!s.start.isSame(s.end)){let c=`${t} date is between:`,d=[new Se(`${s.start.format(o)} and`),new Se(`${s.end.format(o)} inclusive`)];return i&&d.push(new Se(`OR no ${t} date`)),new Se(c,d)}a="on",u=s.start.format(o);break}let l=`${t} date is ${a} ${u}`;return i&&(l+=` OR no ${t} date`),new Se(l)}fieldNameForExplanation(){return this.fieldName()}supportsSorting(){return!0}comparator(){return(t,n)=>fr(this.date(t),this.date(n))}supportsGrouping(){return!0}grouper(){return t=>{let n=this.date(t);return n===null?["No "+this.fieldName()+" date"]:n.isValid()?[n.format("YYYY-MM-DD dddd")]:["%%0%% Invalid "+this.fieldName()+" date"]}}checkForUnexpandedTemplateText(t){return new gl().findUnexpandedDateText(t)}};var bl=class extends at{fieldName(){return"created"}date(e){return e.createdDate}filterResultIfFieldMissing(){return!1}};var Tl=class extends at{fieldName(){return"done"}date(e){return e.doneDate}filterResultIfFieldMissing(){return!1}};var As=class extends at{fieldName(){return"due"}date(e){return e.dueDate}filterResultIfFieldMissing(){return!1}};var Zr=class extends ke{constructor(){super(...arguments);this._filters=new Ut}canCreateFilterForLine(t){return this._filters.canCreateFilterForLine(t)}createFilterOrErrorMessage(t){return this._filters.createFilterOrErrorMessage(t)}filterRegExp(){return null}};var _l=class extends Zr{constructor(){super(),this._filters.add("exclude sub-items",e=>{if(e.indentation==="")return!0;let t=e.indentation.lastIndexOf(">");return t===-1?!1:/^ ?$/.test(e.indentation.slice(t+1))})}fieldName(){return"exclude"}};var Co=class extends Xr{};function lh(r,e){let t=r.map(([n])=>n);try{let n=e.includes("return")?e:`return ${e}`,i=e&&new Function(...t,n);return i instanceof Function?Co.fromObject(e,i):Co.fromError(e,"Error parsing group function")}catch(n){return Co.fromError(e,Ni(`Failed parsing expression "${e}"`,n))}}function ch(r,e){let t=e.map(([n,i])=>i);return r(...t)}function dh(r,e,t){try{return ch(r,e)}catch(n){return Ni(`Failed calculating expression "${t}"`,n)}}function vl(r,e){return[["task",r],["query",e?e.query:null]]}function Cw(r,e,t){let n=vl(r,t||null),i=lh(n,e);return i.error?i.error:dh(i.queryComponent,n,e)}var Ao=class{constructor(e){this.line=e,this.functionOrError=lh(vl(null,null),e)}isValid(){return this.functionOrError.isValid()}get parseError(){return this.functionOrError.error}evaluate(e,t){if(!this.isValid())throw Error(`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`);return ch(this.functionOrError.queryComponent,vl(e,t||null))}evaluateOrCatch(e,t){return this.isValid()?dh(this.functionOrError.queryComponent,vl(e,t),this.line):`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`}};function fh(r){if(r===null)return"null";let e=typeof r;return e==="object"?r.constructor.name:e}var wl=class extends ke{createFilterOrErrorMessage(e){let t=ke.getMatch(this.filterRegExp(),e);if(t===null)return ie.fromError(e,"Unable to parse line");let n=t[1],i=new Ao(n);return i.isValid()?ie.fromFilter(new bt(e,UI(i),new Se(e))):ie.fromError(e,i.parseError)}fieldName(){return"function"}filterRegExp(){return new RegExp(`^filter by ${this.fieldNameSingularEscaped()} (.*)`,"i")}supportsSorting(){return!0}sorterRegExp(){return new RegExp(`^sort by ${this.fieldNameSingularEscaped()}( reverse)? (.*)`,"i")}createSorterFromLine(e){let t=ke.getMatch(this.sorterRegExp(),e);if(t===null)return null;let n=!!t[1],i=t[2],s=new Ao(i);if(!s.isValid())throw new Error(s.parseError);let a=(o,u,l)=>{try{let c=l.queryContext(),d=this.validateTaskSortKey(s.evaluate(o,c)),f=this.validateTaskSortKey(s.evaluate(u,c));return this.compareTaskSortKeys(d,f)}catch(c){throw c instanceof Error&&(c.message+=`: while evaluating instruction '${e}'`),c}};return new Ar(e,this.fieldNameSingular(),a,n)}validateTaskSortKey(e){function t(n){throw new Error(`"${n}" is not a valid sort key`)}return e===void 0&&t("undefined"),Number.isNaN(e)&&t("NaN (Not a Number)"),Array.isArray(e)&&t("array"),e}compareTaskSortKeys(e,t){let n=fh(e),i=fh(t),s=this.compareTaskSortKeysIfOptionalMoment(e,t,n,i);if(s!==void 0)return s;let a=this.compareTaskSortKeysIfEitherIsNull(e,t);if(a!==void 0)return a;if(n!==i)throw new Error(`Unable to compare two different sort key types '${n}' and '${i}' order`);if(n==="string")return e.localeCompare(t,void 0,{numeric:!0});if(n==="TasksDate")return fr(e.moment,t.moment);if(n==="boolean")return Number(t)-Number(e);let o=Number(e)-Number(t);if(isNaN(o))throw new Error(`Unable to determine sort order for sort key types '${n}' and '${i}'`);return o}compareTaskSortKeysIfOptionalMoment(e,t,n,i){let s=n==="Moment",a=i==="Moment";if(s&&a||s&&t===null||a&&e===null)return fr(e,t)}compareTaskSortKeysIfEitherIsNull(e,t){if(e===null&&t===null)return 0;if(e===null&&t!==null)return-1;if(e!==null&&t===null)return 1}supportsGrouping(){return!0}createGrouperFromLine(e){let t=ke.getMatch(this.grouperRegExp(),e);if(t===null)return null;let n=!!t[1],i=t[2];return new Xn(e,"function",qI(i),n)}grouperRegExp(){return new RegExp(`^group by ${this.fieldNameSingularEscaped()}( reverse)? (.*)`,"i")}grouper(){throw Error("grouper() function not valid for FunctionField. Use createGrouperFromLine() instead.")}};function UI(r){return(e,t)=>{let n=t.queryContext();return WI(r,e,n)}}function WI(r,e,t){let n=r.evaluate(e,t);if(typeof n=="boolean")return n;throw Error(`filtering function must return true or false. This returned "${n}".`)}function qI(r){return(e,t)=>{let n=t.queryContext();return $I(e,r,n)}}function $I(r,e,t){try{let n=Cw(r,e,t);return Array.isArray(n)?n.map(s=>s.toString()):n===null?[]:[n.toString()]}catch(n){let i=`Error: Failed calculating expression "${e}". The error message was: `;return n instanceof Error?[i+n.message]:[i+"Unknown error"]}}var kl=class extends Ie{fieldName(){return"heading"}value(e){return e.precedingHeader?e.precedingHeader:""}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return e=>e.precedingHeader===null||e.precedingHeader.length===0?["(No heading)"]:[e.precedingHeader]}};var Ps=class extends Ie{fieldName(){return"path"}value(e){return e.path}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return e=>[Ie.escapeMarkdownCharacters(e.path.replace(".md",""))]}};var ph=class extends ke{createFilterOrErrorMessage(e){var n;let t=ke.getMatch(this.filterRegExp(),e);if(t!==null){let i=t[5],s=null;switch(i.toLowerCase()){case"lowest":s="5";break;case"low":s="4";break;case"none":s="3";break;case"medium":s="2";break;case"high":s="1";break;case"highest":s="0";break}if(s===null)return ie.fromError(e,"do not understand priority");let a=e,o;switch((n=t[3])==null?void 0:n.toLowerCase()){case"above":o=u=>u.priority.localeCompare(s)<0;break;case"below":o=u=>u.priority.localeCompare(s)>0;break;case"not":o=u=>u.priority!==s;break;default:o=u=>u.priority===s,a=`${this.fieldName()} is ${i}`}return ie.fromFilter(new bt(e,o,new Se(a)))}else return ie.fromError(e,"do not understand query filter (priority)")}fieldName(){return"priority"}filterRegExp(){return ph.priorityRegexp}supportsSorting(){return!0}comparator(){return(e,t)=>e.priority.localeCompare(t.priority)}supportsGrouping(){return!0}grouper(){return e=>[e.priorityNameGroupText]}},Fi=ph;Fi.priorityRegexp=/^priority(\s+is)?(\s+(above|below|not))?(\s+(lowest|low|none|medium|high|highest))$/i;var El=class extends at{fieldName(){return"scheduled"}date(e){return e.scheduledDate}filterResultIfFieldMissing(){return!1}};var Sl=class extends at{fieldName(){return"start"}fieldNameForFilterInstruction(){return"starts"}date(e){return e.startDate}filterResultIfFieldMissing(){return!0}};var Ol=class extends at{constructor(){let e=new Ut;e.add("has happens date",t=>this.dates(t).some(n=>n!==null)),e.add("no happens date",t=>!this.dates(t).some(n=>n!==null)),super(e)}fieldName(){return"happens"}fieldNameForExplanation(){return"due, start or scheduled"}date(e){return this.earliestDate(e)}dates(e){return e.happensDates}earliestDate(e){return e.happens.moment}filterResultIfFieldMissing(){return!1}getFilter(e){return t=>this.dates(t).some(n=>e(n))}};var Dl=class extends Zr{constructor(){super(),this._filters.add("is recurring",e=>e.recurrence!==null),this._filters.add("is not recurring",e=>e.recurrence===null)}fieldName(){return"recurring"}supportsSorting(){return!0}comparator(){return(e,t)=>e.recurrence!==null&&t.recurrence===null?-1:e.recurrence===null&&t.recurrence!==null?1:0}supportsGrouping(){return!0}grouper(){return e=>e.recurrence!==null?["Recurring"]:["Not Recurring"]}};var Zn=class extends Zr{constructor(){super(),this._filters.add("done",e=>e.isDone),this._filters.add("not done",e=>!e.isDone)}fieldName(){return"status"}supportsSorting(){return!0}comparator(){return(e,t)=>{let n=Zn.oldStatusName(e),i=Zn.oldStatusName(t);return ni?-1:0}}static oldStatusName(e){return e.status.symbol===" "?"Todo":"Done"}supportsGrouping(){return!0}grouper(){return e=>[Zn.oldStatusName(e)]}};var xl=class extends Ie{fieldNamePlural(){return this.fieldNameSingular()+"s"}fieldName(){return`${this.fieldNameSingular()}/${this.fieldNamePlural()}`}fieldPattern(){return`${this.fieldNameSingular()}|${this.fieldNamePlural()}`}filterOperatorPattern(){return`${super.filterOperatorPattern()}|include|do not include`}value(e){return this.values(e).join(", ")}getFilter(e,t){return n=>{let i=e.matchesAnyOf(this.values(n));return t?!i:i}}createGrouper(e){return new Xn(this.grouperInstruction(e),this.fieldNamePlural(),this.grouper(),e)}grouperRegExp(){if(!this.supportsGrouping())throw Error(`grouperRegExp() unimplemented for ${this.fieldNameSingular()}`);return new RegExp(`^group by ${this.fieldNamePlural()}( reverse)?$`,"i")}grouperInstruction(e){let t=`group by ${this.fieldNamePlural()}`;return e&&(t+=" reverse"),t}};var Li=class extends xl{constructor(){super();this.filterInstructions=new Ut,this.filterInstructions.add(`has ${this.fieldNameSingular()}`,t=>this.values(t).length>0),this.filterInstructions.add(`has ${this.fieldNamePlural()}`,t=>this.values(t).length>0),this.filterInstructions.add(`no ${this.fieldNameSingular()}`,t=>this.values(t).length===0),this.filterInstructions.add(`no ${this.fieldNamePlural()}`,t=>this.values(t).length===0)}createFilterOrErrorMessage(t){let n=this.filterInstructions.createFilterOrErrorMessage(t);return n.isValid()?n:super.createFilterOrErrorMessage(t)}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}fieldNameSingular(){return"tag"}values(t){return t.tags}supportsSorting(){return!0}createSorterFromLine(t){let n=t.match(this.sorterRegExp());if(n===null)return null;let i=!!n[1],s=isNaN(+n[2])?1:+n[2],a=Li.makeCompareByTagComparator(s);return new Ar(t,this.fieldNameSingular(),a,i)}sorterRegExp(){return/^sort by tag( reverse)?[\s]*(\d+)?/i}comparator(){return Li.makeCompareByTagComparator(1)}static makeCompareByTagComparator(t){return(n,i)=>{if(n.tags.length===0&&i.tags.length===0)return 0;if(n.tags.length===0)return 1;if(i.tags.length===0)return-1;let s=t-1;if(n.tags.length=t)return 1;if(i.tags.length=t)return-1;if(n.tags.lengtht.tags.length==0?["(No tags)"]:t.tags}};var Bw=na(Yw());function Jn(r){return new RegExp("["+Bn(r)+"]").source}var kh=[["(",")"],["[","]"],["{","}"],['"','"']],An=class{constructor(e,t,n){this.openFilterChars=e,this.closeFilterChars=t,this.openAndCloseFilterChars=n,this.openFilter=Jn(this.openFilterChars),this.closeFilter=Jn(this.closeFilterChars)}static allSupportedDelimiters(){let e="",t="",n="";for(let[i,s]of kh)e+=i,t+=s,n+=An.openAndClosing(i,s);return new An(e,t,n)}static fromInstructionLine(e){let t=e.trim(),i=/^[A-Z ]*\s*(.*)/.exec(t);if(i){let a=i[1],o=a[0],u=a.slice(-1);for(let[l,c]of kh)if(o===l&&u===c){let d=this.openAndClosing(l,c);return new An(l,c,d)}}let s="All filters in a Boolean instruction must be inside one of these pairs of delimiter characters: "+kh.map(([a,o])=>a+"..."+o).join(" or ")+". Combinations of those delimiters are no longer supported.";throw new Error(s)}static openAndClosing(e,t){let n=e;return t!=e&&(n+=t),n}};var ei=class{static preprocessExpression(e,t){let n=ei.splitLine(e,t);return ei.getFiltersAndSimplifiedLine(n,t)}static splitLine(e,t){let n=new RegExp("("+t.closeFilter+"\\s*(?:AND|OR|AND +NOT|OR +NOT|XOR)\\s*"+t.openFilter+")"),i=e.split(n),s=new RegExp("(NOT\\s*"+t.openFilter+")"),a=i.flatMap(l=>l.split(s)).filter(l=>l!==""),o=new RegExp("(^"+Jn(t.openFilterChars+" ")+"*)"),u=new RegExp("("+Jn(t.closeFilterChars+" ")+"*$)");return a.flatMap(l=>l.split(o)).flatMap(l=>l.split(u)).filter(l=>l!=="")}static getFiltersAndSimplifiedLine(e,t){let n="",i=1,s={};e.forEach(l=>{if(!ei.isAFilter(l,t))n+=`${l}`;else{let c=`f${i}`;s[c]=l,n+=c,i++}});let a=new RegExp(`(${t.closeFilter})([A-Z])`,"g");n=n.replace(a,"$1 $2");let o=new RegExp(`([A-Z])(${t.openFilter})`,"g");n=n.replace(o,"$1 $2");let u=t.openFilterChars;if(u!='"'&&u!="("){let l=new RegExp(Jn(u),"g");n=n.replace(l,"(");let c=t.closeFilterChars,d=new RegExp(Jn(c),"g");n=n.replace(d,")")}return{simplifiedLine:n,filters:s}}static isAFilter(e,t){let n=new RegExp("^"+Jn(" "+t.openAndCloseFilterChars)+"+$"),i=new RegExp("^ *"+t.closeFilter+" *(AND|OR|XOR) *"+t.openFilter+" *$"),s=new RegExp("^(AND|OR|XOR|NOT) *"+t.openFilter+"$"),a=new RegExp("^"+t.closeFilter+" *(AND|OR|XOR)$");return![n,i,s,a,/^(AND|OR|XOR|NOT)$/].some(u=>RegExp(u).exec(e))}};var Pl=class extends ke{constructor(){super();this.supportedOperators=["AND","OR","XOR","NOT"];this.subFields={};let t=An.allSupportedDelimiters();this.basicBooleanRegexp=new RegExp("(.*(AND|OR|XOR|NOT)\\s*"+t.openFilter+".*|"+t.openFilter+".+"+t.closeFilter+")","g")}filterRegExp(){return this.basicBooleanRegexp}createFilterOrErrorMessage(t){return this.parseLine(t)}fieldName(){return"boolean query"}parseLine(t){if(t.length===0)return ie.fromError(t,"empty line");let n;try{n=An.fromInstructionLine(t)}catch(o){let u=o instanceof Error?o.message:"unknown error type";return ie.fromError(t,this.helpMessageFromSimpleError(t,u))}let i=ei.preprocessExpression(t,n),s=i.simplifiedLine,a=i.filters;try{let o=(0,Bw.parse)(s);for(let c of o)if(c.name==="IDENTIFIER"&&c.value){let d=c.value.trim(),f=a[d];if(c.value=f,!(f in this.subFields)){let m=No(f);if(m===null)return this.helpMessage(t,`couldn't parse sub-expression '${f}'`,i);if(m.error)return this.helpMessage(t,`couldn't parse sub-expression '${f}': ${m.error}`,i);m.filter&&(this.subFields[f]=m.filter)}}else if(c.name==="OPERATOR"){if(c.value==null)return this.helpMessage(t,"empty operator in boolean query",i);if(!this.supportedOperators.includes(c.value))return this.helpMessage(t,`unknown boolean operator '${c.value}'`,i)}let u=(c,d)=>this.filterTaskWithParsedQuery(c,o,d),l=this.constructExplanation(o);return ie.fromFilter(new bt(t,u,l))}catch(o){let u=o instanceof Error?o.message:"unknown error type";return this.helpMessage(t,`malformed boolean query -- ${u} (check the documentation for guidelines)`,i)}}filterTaskWithParsedQuery(t,n,i){let s=u=>u==="true",a=u=>u?"true":"false",o=[];for(let u of n)if(u.name==="IDENTIFIER"){if(u.value==null)throw Error("null token value");let c=this.subFields[u.value.trim()].filterFunction(t,i);o.push(a(c))}else if(u.name==="OPERATOR")if(u.value==="NOT"){let l=s(o.pop());o.push(a(!l))}else if(u.value==="OR"){let l=s(o.pop()),c=s(o.pop());o.push(a(l||c))}else if(u.value==="AND"){let l=s(o.pop()),c=s(o.pop());o.push(a(l&&c))}else if(u.value==="XOR"){let l=s(o.pop()),c=s(o.pop());o.push(a(l&&!c||!l&&c))}else throw Error("Unsupported operator: "+u.value);else throw Error("Unsupported token type: "+u);return s(o[0])}constructExplanation(t){let n=[];for(let i of t)if(i.name==="IDENTIFIER")this.explainExpression(i,n);else if(i.name==="OPERATOR")this.explainOperator(i,n);else throw Error("Unsupported token type: "+i.name);return n[0]}explainExpression(t,n){if(t.value==null)throw Error("null token value");let i=this.subFields[t.value.trim()],s=this.simulateExplainFilter(i);n.push(s)}simulateExplainFilter(t){return t.simulateExplainFilter()}explainOperator(t,n){if(t.value==="NOT"){let i=n.pop();n.push(Se.booleanNot([i]))}else if(t.value==="OR"){let i=n.pop(),s=n.pop();n.push(Se.booleanOr([s,i]))}else if(t.value==="AND"){let i=n.pop(),s=n.pop();n.push(Se.booleanAnd([s,i]))}else if(t.value==="XOR"){let i=n.pop(),s=n.pop();n.push(Se.booleanXor([s,i]))}else throw Error("Unsupported operator: "+t.value)}helpMessage(t,n,i){let s=i.filters,a=this.stringifySubExpressionsForErrorMessage(s),u=`${this.helpMessageFromSimpleError(t,n)} +`}};var yl=class{constructor(e,t){this._instruction=e,this._filter=t}canCreateFilterForLine(e){return e.toLocaleLowerCase()===this._instruction.toLocaleLowerCase()}createFilterOrErrorMessage(e){return this.canCreateFilterForLine(e)?ie.fromFilter(new bt(e,this._filter,new Se(e))):ie.fromError(e,`do not understand filter: ${e}`)}};var Ut=class{constructor(){this._filters=[]}add(e,t){this._filters.push(new yl(e,t))}canCreateFilterForLine(e){for(let t of this._filters)if(t.canCreateFilterForLine(e))return!0;return!1}createFilterOrErrorMessage(e){for(let t of this._filters){let n=t.createFilterOrErrorMessage(e);if(n.error===void 0)return n}return ie.fromError(e,`do not understand filter: ${e}`)}};var at=class extends ke{constructor(t=null){super();t!==null?this.filterInstructions=t:(this.filterInstructions=new Ut,this.filterInstructions.add(`has ${this.fieldName()} date`,n=>this.date(n)!==null),this.filterInstructions.add(`no ${this.fieldName()} date`,n=>this.date(n)===null),this.filterInstructions.add(`${this.fieldName()} date is invalid`,n=>{let i=this.date(n);return i!==null&&!i.isValid()}))}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}createFilterOrErrorMessage(t){var f;let n=this.checkForUnexpandedTemplateText(t);if(n)return ie.fromError(t,n);let i=this.filterInstructions.createFilterOrErrorMessage(t);if(i.isValid())return i;let s=ke.getMatch(this.filterRegExp(),t);if(s===null)return ie.fromError(t,"do not understand query filter ("+this.fieldName()+" date)");let a=s[1],o=(f=s[2])==null?void 0:f.toLowerCase(),u=s[3],l=Yt.parseDateRange(u);if(!l.isValid()){let m=Yt.parseDate(a);m.isValid()&&(l=new kt(m,m))}if(!l.isValid())return ie.fromError(t,"do not understand "+this.fieldName()+" date");let c=this.buildFilterFunction(o,l),d=at.buildExplanation(this.fieldNameForExplanation(),o,this.filterResultIfFieldMissing(),l);return ie.fromFilter(new bt(t,c,d))}buildFilterFunction(t,n){let i;switch(t){case"before":i=s=>s?s.isBefore(n.start):this.filterResultIfFieldMissing();break;case"after":i=s=>s?s.isAfter(n.end):this.filterResultIfFieldMissing();break;case"on or before":case"in or before":i=s=>s?s.isSameOrBefore(n.end):this.filterResultIfFieldMissing();break;case"on or after":case"in or after":i=s=>s?s.isSameOrAfter(n.start):this.filterResultIfFieldMissing();break;default:i=s=>s?s.isSameOrAfter(n.start)&&s.isSameOrBefore(n.end):this.filterResultIfFieldMissing()}return this.getFilter(i)}getFilter(t){return n=>t(this.date(n))}filterRegExp(){return new RegExp(`^${this.fieldNameForFilterInstruction()} (((?:on|in) or before|before|(?:on|in) or after|after|on|in)? ?(.*))`,"i")}fieldNameForFilterInstruction(){return this.fieldName()}static buildExplanation(t,n,i,s){let a=n,o="YYYY-MM-DD (dddd Do MMMM YYYY)",u;switch(n){case"before":case"on or after":u=s.start.format(o);break;case"after":case"on or before":u=s.end.format(o);break;case"in or before":a="on or before",u=s.end.format(o);break;case"in or after":a="on or after",u=s.start.format(o);break;default:if(!s.start.isSame(s.end)){let c=`${t} date is between:`,d=[new Se(`${s.start.format(o)} and`),new Se(`${s.end.format(o)} inclusive`)];return i&&d.push(new Se(`OR no ${t} date`)),new Se(c,d)}a="on",u=s.start.format(o);break}let l=`${t} date is ${a} ${u}`;return i&&(l+=` OR no ${t} date`),new Se(l)}fieldNameForExplanation(){return this.fieldName()}supportsSorting(){return!0}comparator(){return(t,n)=>fr(this.date(t),this.date(n))}supportsGrouping(){return!0}grouper(){return t=>{let n=this.date(t);return n===null?["No "+this.fieldName()+" date"]:n.isValid()?[n.format("YYYY-MM-DD dddd")]:["%%0%% Invalid "+this.fieldName()+" date"]}}checkForUnexpandedTemplateText(t){return new gl().findUnexpandedDateText(t)}};var bl=class extends at{fieldName(){return"created"}date(e){return e.createdDate}filterResultIfFieldMissing(){return!1}};var Tl=class extends at{fieldName(){return"done"}date(e){return e.doneDate}filterResultIfFieldMissing(){return!1}};var Ps=class extends at{fieldName(){return"due"}date(e){return e.dueDate}filterResultIfFieldMissing(){return!1}};var Zr=class extends ke{constructor(){super(...arguments);this._filters=new Ut}canCreateFilterForLine(t){return this._filters.canCreateFilterForLine(t)}createFilterOrErrorMessage(t){return this._filters.createFilterOrErrorMessage(t)}filterRegExp(){return null}};var _l=class extends Zr{constructor(){super(),this._filters.add("exclude sub-items",e=>{if(e.indentation==="")return!0;let t=e.indentation.lastIndexOf(">");return t===-1?!1:/^ ?$/.test(e.indentation.slice(t+1))})}fieldName(){return"exclude"}};var Ao=class extends Xr{};function lh(r,e){let t=r.map(([n])=>n);try{let n=e.includes("return")?e:`return ${e}`,i=e&&new Function(...t,n);return i instanceof Function?Ao.fromObject(e,i):Ao.fromError(e,"Error parsing group function")}catch(n){return Ao.fromError(e,Ni(`Failed parsing expression "${e}"`,n))}}function ch(r,e){let t=e.map(([n,i])=>i);return r(...t)}function dh(r,e,t){try{return ch(r,e)}catch(n){return Ni(`Failed calculating expression "${t}"`,n)}}function vl(r,e){return[["task",r],["query",e?e.query:null]]}function Aw(r,e,t){let n=vl(r,t||null),i=lh(n,e);return i.error?i.error:dh(i.queryComponent,n,e)}var Po=class{constructor(e){this.line=e,this.functionOrError=lh(vl(null,null),e)}isValid(){return this.functionOrError.isValid()}get parseError(){return this.functionOrError.error}evaluate(e,t){if(!this.isValid())throw Error(`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`);return ch(this.functionOrError.queryComponent,vl(e,t||null))}evaluateOrCatch(e,t){return this.isValid()?dh(this.functionOrError.queryComponent,vl(e,t),this.line):`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`}};function fh(r){if(r===null)return"null";let e=typeof r;return e==="object"?r.constructor.name:e}var wl=class extends ke{createFilterOrErrorMessage(e){let t=ke.getMatch(this.filterRegExp(),e);if(t===null)return ie.fromError(e,"Unable to parse line");let n=t[1],i=new Po(n);return i.isValid()?ie.fromFilter(new bt(e,UI(i),new Se(e))):ie.fromError(e,i.parseError)}fieldName(){return"function"}filterRegExp(){return new RegExp(`^filter by ${this.fieldNameSingularEscaped()} (.*)`,"i")}supportsSorting(){return!0}sorterRegExp(){return new RegExp(`^sort by ${this.fieldNameSingularEscaped()}( reverse)? (.*)`,"i")}createSorterFromLine(e){let t=ke.getMatch(this.sorterRegExp(),e);if(t===null)return null;let n=!!t[1],i=t[2],s=new Po(i);if(!s.isValid())throw new Error(s.parseError);let a=(o,u,l)=>{try{let c=l.queryContext(),d=this.validateTaskSortKey(s.evaluate(o,c)),f=this.validateTaskSortKey(s.evaluate(u,c));return this.compareTaskSortKeys(d,f)}catch(c){throw c instanceof Error&&(c.message+=`: while evaluating instruction '${e}'`),c}};return new Ar(e,this.fieldNameSingular(),a,n)}validateTaskSortKey(e){function t(n){throw new Error(`"${n}" is not a valid sort key`)}return e===void 0&&t("undefined"),Number.isNaN(e)&&t("NaN (Not a Number)"),Array.isArray(e)&&t("array"),e}compareTaskSortKeys(e,t){let n=fh(e),i=fh(t),s=this.compareTaskSortKeysIfOptionalMoment(e,t,n,i);if(s!==void 0)return s;let a=this.compareTaskSortKeysIfEitherIsNull(e,t);if(a!==void 0)return a;if(n!==i)throw new Error(`Unable to compare two different sort key types '${n}' and '${i}' order`);if(n==="string")return e.localeCompare(t,void 0,{numeric:!0});if(n==="TasksDate")return fr(e.moment,t.moment);if(n==="boolean")return Number(t)-Number(e);let o=Number(e)-Number(t);if(isNaN(o))throw new Error(`Unable to determine sort order for sort key types '${n}' and '${i}'`);return o}compareTaskSortKeysIfOptionalMoment(e,t,n,i){let s=n==="Moment",a=i==="Moment";if(s&&a||s&&t===null||a&&e===null)return fr(e,t)}compareTaskSortKeysIfEitherIsNull(e,t){if(e===null&&t===null)return 0;if(e===null&&t!==null)return-1;if(e!==null&&t===null)return 1}supportsGrouping(){return!0}createGrouperFromLine(e){let t=ke.getMatch(this.grouperRegExp(),e);if(t===null)return null;let n=!!t[1],i=t[2];return new Xn(e,"function",qI(i),n)}grouperRegExp(){return new RegExp(`^group by ${this.fieldNameSingularEscaped()}( reverse)? (.*)`,"i")}grouper(){throw Error("grouper() function not valid for FunctionField. Use createGrouperFromLine() instead.")}};function UI(r){return(e,t)=>{let n=t.queryContext();return WI(r,e,n)}}function WI(r,e,t){let n=r.evaluate(e,t);if(typeof n=="boolean")return n;throw Error(`filtering function must return true or false. This returned "${n}".`)}function qI(r){return(e,t)=>{let n=t.queryContext();return $I(e,r,n)}}function $I(r,e,t){try{let n=Aw(r,e,t);return Array.isArray(n)?n.map(s=>s.toString()):n===null?[]:[n.toString()]}catch(n){let i=`Error: Failed calculating expression "${e}". The error message was: `;return n instanceof Error?[i+n.message]:[i+"Unknown error"]}}var kl=class extends Ie{fieldName(){return"heading"}value(e){return e.precedingHeader?e.precedingHeader:""}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return e=>e.precedingHeader===null||e.precedingHeader.length===0?["(No heading)"]:[e.precedingHeader]}};var Ns=class extends Ie{fieldName(){return"path"}value(e){return e.path}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return e=>[Ie.escapeMarkdownCharacters(e.path.replace(".md",""))]}};var ph=class extends ke{createFilterOrErrorMessage(e){var n;let t=ke.getMatch(this.filterRegExp(),e);if(t!==null){let i=t[5],s=null;switch(i.toLowerCase()){case"lowest":s="5";break;case"low":s="4";break;case"none":s="3";break;case"medium":s="2";break;case"high":s="1";break;case"highest":s="0";break}if(s===null)return ie.fromError(e,"do not understand priority");let a=e,o;switch((n=t[3])==null?void 0:n.toLowerCase()){case"above":o=u=>u.priority.localeCompare(s)<0;break;case"below":o=u=>u.priority.localeCompare(s)>0;break;case"not":o=u=>u.priority!==s;break;default:o=u=>u.priority===s,a=`${this.fieldName()} is ${i}`}return ie.fromFilter(new bt(e,o,new Se(a)))}else return ie.fromError(e,"do not understand query filter (priority)")}fieldName(){return"priority"}filterRegExp(){return ph.priorityRegexp}supportsSorting(){return!0}comparator(){return(e,t)=>e.priority.localeCompare(t.priority)}supportsGrouping(){return!0}grouper(){return e=>[e.priorityNameGroupText]}},Fi=ph;Fi.priorityRegexp=/^priority(\s+is)?(\s+(above|below|not))?(\s+(lowest|low|none|medium|high|highest))$/i;var El=class extends at{fieldName(){return"scheduled"}date(e){return e.scheduledDate}filterResultIfFieldMissing(){return!1}};var Sl=class extends at{fieldName(){return"start"}fieldNameForFilterInstruction(){return"starts"}date(e){return e.startDate}filterResultIfFieldMissing(){return!0}};var Ol=class extends at{constructor(){let e=new Ut;e.add("has happens date",t=>this.dates(t).some(n=>n!==null)),e.add("no happens date",t=>!this.dates(t).some(n=>n!==null)),super(e)}fieldName(){return"happens"}fieldNameForExplanation(){return"due, start or scheduled"}date(e){return this.earliestDate(e)}dates(e){return e.happensDates}earliestDate(e){return e.happens.moment}filterResultIfFieldMissing(){return!1}getFilter(e){return t=>this.dates(t).some(n=>e(n))}};var Dl=class extends Zr{constructor(){super(),this._filters.add("is recurring",e=>e.recurrence!==null),this._filters.add("is not recurring",e=>e.recurrence===null)}fieldName(){return"recurring"}supportsSorting(){return!0}comparator(){return(e,t)=>e.recurrence!==null&&t.recurrence===null?-1:e.recurrence===null&&t.recurrence!==null?1:0}supportsGrouping(){return!0}grouper(){return e=>e.recurrence!==null?["Recurring"]:["Not Recurring"]}};var Zn=class extends Zr{constructor(){super(),this._filters.add("done",e=>e.isDone),this._filters.add("not done",e=>!e.isDone)}fieldName(){return"status"}supportsSorting(){return!0}comparator(){return(e,t)=>{let n=Zn.oldStatusName(e),i=Zn.oldStatusName(t);return ni?-1:0}}static oldStatusName(e){return e.status.symbol===" "?"Todo":"Done"}supportsGrouping(){return!0}grouper(){return e=>[Zn.oldStatusName(e)]}};var xl=class extends Ie{fieldNamePlural(){return this.fieldNameSingular()+"s"}fieldName(){return`${this.fieldNameSingular()}/${this.fieldNamePlural()}`}fieldPattern(){return`${this.fieldNameSingular()}|${this.fieldNamePlural()}`}filterOperatorPattern(){return`${super.filterOperatorPattern()}|include|do not include`}value(e){return this.values(e).join(", ")}getFilter(e,t){return n=>{let i=e.matchesAnyOf(this.values(n));return t?!i:i}}createGrouper(e){return new Xn(this.grouperInstruction(e),this.fieldNamePlural(),this.grouper(),e)}grouperRegExp(){if(!this.supportsGrouping())throw Error(`grouperRegExp() unimplemented for ${this.fieldNameSingular()}`);return new RegExp(`^group by ${this.fieldNamePlural()}( reverse)?$`,"i")}grouperInstruction(e){let t=`group by ${this.fieldNamePlural()}`;return e&&(t+=" reverse"),t}};var Li=class extends xl{constructor(){super();this.filterInstructions=new Ut,this.filterInstructions.add(`has ${this.fieldNameSingular()}`,t=>this.values(t).length>0),this.filterInstructions.add(`has ${this.fieldNamePlural()}`,t=>this.values(t).length>0),this.filterInstructions.add(`no ${this.fieldNameSingular()}`,t=>this.values(t).length===0),this.filterInstructions.add(`no ${this.fieldNamePlural()}`,t=>this.values(t).length===0)}createFilterOrErrorMessage(t){let n=this.filterInstructions.createFilterOrErrorMessage(t);return n.isValid()?n:super.createFilterOrErrorMessage(t)}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}fieldNameSingular(){return"tag"}values(t){return t.tags}supportsSorting(){return!0}createSorterFromLine(t){let n=t.match(this.sorterRegExp());if(n===null)return null;let i=!!n[1],s=isNaN(+n[2])?1:+n[2],a=Li.makeCompareByTagComparator(s);return new Ar(t,this.fieldNameSingular(),a,i)}sorterRegExp(){return/^sort by tag( reverse)?[\s]*(\d+)?/i}comparator(){return Li.makeCompareByTagComparator(1)}static makeCompareByTagComparator(t){return(n,i)=>{if(n.tags.length===0&&i.tags.length===0)return 0;if(n.tags.length===0)return 1;if(i.tags.length===0)return-1;let s=t-1;if(n.tags.length=t)return 1;if(i.tags.length=t)return-1;if(n.tags.lengtht.tags.length==0?["(No tags)"]:t.tags}};var Hw=ia(Bw());function Jn(r){return new RegExp("["+Bn(r)+"]").source}var kh=[["(",")"],["[","]"],["{","}"],['"','"']],An=class{constructor(e,t,n){this.openFilterChars=e,this.closeFilterChars=t,this.openAndCloseFilterChars=n,this.openFilter=Jn(this.openFilterChars),this.closeFilter=Jn(this.closeFilterChars)}static allSupportedDelimiters(){let e="",t="",n="";for(let[i,s]of kh)e+=i,t+=s,n+=An.openAndClosing(i,s);return new An(e,t,n)}static fromInstructionLine(e){let t=e.trim(),i=/^[A-Z ]*\s*(.*)/.exec(t);if(i){let a=i[1],o=a[0],u=a.slice(-1);for(let[l,c]of kh)if(o===l&&u===c){let d=this.openAndClosing(l,c);return new An(l,c,d)}}let s="All filters in a Boolean instruction must be inside one of these pairs of delimiter characters: "+kh.map(([a,o])=>a+"..."+o).join(" or ")+". Combinations of those delimiters are no longer supported.";throw new Error(s)}static openAndClosing(e,t){let n=e;return t!=e&&(n+=t),n}};var ei=class{static preprocessExpression(e,t){let n=ei.splitLine(e,t);return ei.getFiltersAndSimplifiedLine(n,t)}static splitLine(e,t){let n=new RegExp("("+t.closeFilter+"\\s*(?:AND|OR|AND +NOT|OR +NOT|XOR)\\s*"+t.openFilter+")"),i=e.split(n),s=new RegExp("(NOT\\s*"+t.openFilter+")"),a=i.flatMap(l=>l.split(s)).filter(l=>l!==""),o=new RegExp("(^"+Jn(t.openFilterChars+" ")+"*)"),u=new RegExp("("+Jn(t.closeFilterChars+" ")+"*$)");return a.flatMap(l=>l.split(o)).flatMap(l=>l.split(u)).filter(l=>l!=="")}static getFiltersAndSimplifiedLine(e,t){let n="",i=1,s={};e.forEach(l=>{if(!ei.isAFilter(l,t))n+=`${l}`;else{let c=`f${i}`;s[c]=l,n+=c,i++}});let a=new RegExp(`(${t.closeFilter})([A-Z])`,"g");n=n.replace(a,"$1 $2");let o=new RegExp(`([A-Z])(${t.openFilter})`,"g");n=n.replace(o,"$1 $2");let u=t.openFilterChars;if(u!='"'&&u!="("){let l=new RegExp(Jn(u),"g");n=n.replace(l,"(");let c=t.closeFilterChars,d=new RegExp(Jn(c),"g");n=n.replace(d,")")}return{simplifiedLine:n,filters:s}}static isAFilter(e,t){let n=new RegExp("^"+Jn(" "+t.openAndCloseFilterChars)+"+$"),i=new RegExp("^ *"+t.closeFilter+" *(AND|OR|XOR) *"+t.openFilter+" *$"),s=new RegExp("^(AND|OR|XOR|NOT) *"+t.openFilter+"$"),a=new RegExp("^"+t.closeFilter+" *(AND|OR|XOR)$");return![n,i,s,a,/^(AND|OR|XOR|NOT)$/].some(u=>RegExp(u).exec(e))}};var Pl=class extends ke{constructor(){super();this.supportedOperators=["AND","OR","XOR","NOT"];this.subFields={};let t=An.allSupportedDelimiters();this.basicBooleanRegexp=new RegExp("(.*(AND|OR|XOR|NOT)\\s*"+t.openFilter+".*|"+t.openFilter+".+"+t.closeFilter+")","g")}filterRegExp(){return this.basicBooleanRegexp}createFilterOrErrorMessage(t){return this.parseLine(t)}fieldName(){return"boolean query"}parseLine(t){if(t.length===0)return ie.fromError(t,"empty line");let n;try{n=An.fromInstructionLine(t)}catch(o){let u=o instanceof Error?o.message:"unknown error type";return ie.fromError(t,this.helpMessageFromSimpleError(t,u))}let i=ei.preprocessExpression(t,n),s=i.simplifiedLine,a=i.filters;try{let o=(0,Hw.parse)(s);for(let c of o)if(c.name==="IDENTIFIER"&&c.value){let d=c.value.trim(),f=a[d];if(c.value=f,!(f in this.subFields)){let m=Io(f);if(m===null)return this.helpMessage(t,`couldn't parse sub-expression '${f}'`,i);if(m.error)return this.helpMessage(t,`couldn't parse sub-expression '${f}': ${m.error}`,i);m.filter&&(this.subFields[f]=m.filter)}}else if(c.name==="OPERATOR"){if(c.value==null)return this.helpMessage(t,"empty operator in boolean query",i);if(!this.supportedOperators.includes(c.value))return this.helpMessage(t,`unknown boolean operator '${c.value}'`,i)}let u=(c,d)=>this.filterTaskWithParsedQuery(c,o,d),l=this.constructExplanation(o);return ie.fromFilter(new bt(t,u,l))}catch(o){let u=o instanceof Error?o.message:"unknown error type";return this.helpMessage(t,`malformed boolean query -- ${u} (check the documentation for guidelines)`,i)}}filterTaskWithParsedQuery(t,n,i){let s=u=>u==="true",a=u=>u?"true":"false",o=[];for(let u of n)if(u.name==="IDENTIFIER"){if(u.value==null)throw Error("null token value");let c=this.subFields[u.value.trim()].filterFunction(t,i);o.push(a(c))}else if(u.name==="OPERATOR")if(u.value==="NOT"){let l=s(o.pop());o.push(a(!l))}else if(u.value==="OR"){let l=s(o.pop()),c=s(o.pop());o.push(a(l||c))}else if(u.value==="AND"){let l=s(o.pop()),c=s(o.pop());o.push(a(l&&c))}else if(u.value==="XOR"){let l=s(o.pop()),c=s(o.pop());o.push(a(l&&!c||!l&&c))}else throw Error("Unsupported operator: "+u.value);else throw Error("Unsupported token type: "+u);return s(o[0])}constructExplanation(t){let n=[];for(let i of t)if(i.name==="IDENTIFIER")this.explainExpression(i,n);else if(i.name==="OPERATOR")this.explainOperator(i,n);else throw Error("Unsupported token type: "+i.name);return n[0]}explainExpression(t,n){if(t.value==null)throw Error("null token value");let i=this.subFields[t.value.trim()],s=this.simulateExplainFilter(i);n.push(s)}simulateExplainFilter(t){return t.simulateExplainFilter()}explainOperator(t,n){if(t.value==="NOT"){let i=n.pop();n.push(Se.booleanNot([i]))}else if(t.value==="OR"){let i=n.pop(),s=n.pop();n.push(Se.booleanOr([s,i]))}else if(t.value==="AND"){let i=n.pop(),s=n.pop();n.push(Se.booleanAnd([s,i]))}else if(t.value==="XOR"){let i=n.pop(),s=n.pop();n.push(Se.booleanXor([s,i]))}else throw Error("Unsupported operator: "+t.value)}helpMessage(t,n,i){let s=i.filters,a=this.stringifySubExpressionsForErrorMessage(s),u=`${this.helpMessageFromSimpleError(t,n)} The instruction was converted to the following simplified line: ${i.simplifiedLine} @@ -275,7 +275,7 @@ For help, see: https://publish.obsidian.md/tasks/Queries/Combining+Filters `;return ie.fromError(t,u)}stringifySubExpressionsForErrorMessage(t){return Object.entries(t).map(([n,i])=>` '${n}': '${i}' => ${this.stringifySubExpressionStatus(i)}`).join(` -`)}stringifySubExpressionStatus(t){let n=No(t);return n?n.error?`ERROR: +`)}stringifySubExpressionStatus(t){let n=Io(t);return n?n.error?`ERROR: ${n.error.split(` `).map(s=>s.trim()).join(` `)}`:"OK":`ERROR: @@ -283,47 +283,47 @@ For help, see: ${t} The error message is: - ${n}`}};var Nl=class extends Ie{fieldName(){return"filename"}value(e){let t=e.filename;return t===null?"":t+".md"}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return e=>{let t=e.filename;return t===null?["Unknown Location"]:["[["+t+"]]"]}}};var $s=class extends ke{canCreateFilterForLine(e){return!1}createFilterOrErrorMessage(e){return ie.fromError(e,"Filtering by urgency is not yet supported")}fieldName(){return"urgency"}filterRegExp(){throw Error(`filterRegExp() unimplemented for ${this.fieldName()}`)}supportsSorting(){return!0}comparator(){return(e,t)=>t.urgency-e.urgency}supportsGrouping(){return!0}grouper(){return e=>[`${e.urgency.toFixed(2)}`]}createGrouper(e){return super.createGrouper(!e)}grouperInstruction(e){return super.grouperInstruction(!e)}};var Il=class extends Ie{constructor(){super()}fieldName(){return"status.name"}value(e){return e.status.name}supportsSorting(){return!0}supportsGrouping(){return!0}};var rn=class extends ke{canCreateFilterForLine(e){let t=new RegExp(`^(?:${this.fieldNameSingularEscaped()})`,"i");return ke.lineMatchesFilter(t,e)}createFilterOrErrorMessage(e){let t=ke.getMatch(this.filterRegExp(),e);if(t===null)return this.helpMessage(e);let n=t[1].toLowerCase(),i=t[2],s=zt[i.toUpperCase()];if(!s)return this.helpMessage(e);let a;switch(n){case"is":a=o=>o.status.type===s;break;case"is not":a=o=>o.status.type!==s;break;default:return this.helpMessage(e)}return ie.fromFilter(new bt(e,a,new Se(e)))}filterRegExp(){return new RegExp(`^(?:${this.fieldNameSingularEscaped()}) (is|is not) ([^ ]+)$`,"i")}helpMessage(e){let t=Object.values(zt).filter(i=>i!=="EMPTY").join(" "),n=`Invalid ${this.fieldNameSingular()} instruction: '${e}'. + ${n}`}};var Nl=class extends Ie{fieldName(){return"filename"}value(e){let t=e.filename;return t===null?"":t+".md"}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return e=>{let t=e.filename;return t===null?["Unknown Location"]:["[["+t+"]]"]}}};var js=class extends ke{canCreateFilterForLine(e){return!1}createFilterOrErrorMessage(e){return ie.fromError(e,"Filtering by urgency is not yet supported")}fieldName(){return"urgency"}filterRegExp(){throw Error(`filterRegExp() unimplemented for ${this.fieldName()}`)}supportsSorting(){return!0}comparator(){return(e,t)=>t.urgency-e.urgency}supportsGrouping(){return!0}grouper(){return e=>[`${e.urgency.toFixed(2)}`]}createGrouper(e){return super.createGrouper(!e)}grouperInstruction(e){return super.grouperInstruction(!e)}};var Il=class extends Ie{constructor(){super()}fieldName(){return"status.name"}value(e){return e.status.name}supportsSorting(){return!0}supportsGrouping(){return!0}};var rn=class extends ke{canCreateFilterForLine(e){let t=new RegExp(`^(?:${this.fieldNameSingularEscaped()})`,"i");return ke.lineMatchesFilter(t,e)}createFilterOrErrorMessage(e){let t=ke.getMatch(this.filterRegExp(),e);if(t===null)return this.helpMessage(e);let n=t[1].toLowerCase(),i=t[2],s=zt[i.toUpperCase()];if(!s)return this.helpMessage(e);let a;switch(n){case"is":a=o=>o.status.type===s;break;case"is not":a=o=>o.status.type!==s;break;default:return this.helpMessage(e)}return ie.fromFilter(new bt(e,a,new Se(e)))}filterRegExp(){return new RegExp(`^(?:${this.fieldNameSingularEscaped()}) (is|is not) ([^ ]+)$`,"i")}helpMessage(e){let t=Object.values(zt).filter(i=>i!=="EMPTY").join(" "),n=`Invalid ${this.fieldNameSingular()} instruction: '${e}'. Allowed options: 'is' and 'is not' (without quotes). Allowed values: ${t} Note: values are case-insensitive, so 'in_progress' works too, for example. - Example: ${this.fieldNameSingular()} is not NON_TASK`;return ie.fromError(e,n)}fieldName(){return"status.type"}value(e){return e.status.type}supportsSorting(){return!0}comparator(){return(e,t)=>{let n=rn.groupName(e),i=rn.groupName(t);return n.localeCompare(i,void 0,{numeric:!0})}}supportsGrouping(){return!0}grouper(){return e=>[rn.groupName(e)]}static groupName(e){return e.status.typeGroupText}};var Fl=class extends Ie{fieldName(){return"recurrence"}value(e){return e.recurrence!==null?e.recurrence.toText():""}supportsGrouping(){return!0}grouper(){return e=>e.recurrence!==null?[e.recurrence.toText()]:["None"]}};var Ll=class extends Ie{fieldName(){return"folder"}value(e){return e.file.folder}supportsGrouping(){return!0}grouper(){return e=>[Ie.escapeMarkdownCharacters(this.value(e))]}};var Ul=class extends Ie{fieldName(){return"root"}value(e){return e.file.root}supportsGrouping(){return!0}grouper(){return e=>[Ie.escapeMarkdownCharacters(this.value(e))]}};var Wl=class extends Ie{fieldName(){return"backlink"}value(e){let t=e.getLinkText({isFilenameUnique:!0});return t===null?"Unknown Location":t}createFilterOrErrorMessage(e){return ie.fromError(e,"backlink field does not support filtering")}canCreateFilterForLine(e){return!1}supportsGrouping(){return!0}grouper(){return e=>{let t=e.filename;if(t===null)return["Unknown Location"];let n=e.precedingHeader;return n===null?["[["+t+"]]"]:[`[[${t}#${n}|${t} > ${n}]]`]}}};var ql=class extends at{fieldName(){return"cancelled"}date(e){return e.cancelledDate}filterResultIfFieldMissing(){return!1}};var $l=class extends Zr{constructor(){super(),this._filters.add("is blocking",(e,t)=>e.isBlocking(t.allTasks)),this._filters.add("is not blocking",(e,t)=>!e.isBlocking(t.allTasks)),this._filters.add("is blocked",(e,t)=>e.isBlocked(t.allTasks)),this._filters.add("is not blocked",(e,t)=>!e.isBlocked(t.allTasks))}fieldName(){return"blocking"}};var jl=class extends Ie{constructor(){super();this.filterInstructions=new Ut;this.filterInstructions.add("has id",t=>t.id.length>0),this.filterInstructions.add("no id",t=>t.id.length===0)}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}createFilterOrErrorMessage(t){let n=this.filterInstructions.createFilterOrErrorMessage(t);return n.isValid()?n:super.createFilterOrErrorMessage(t)}fieldName(){return"id"}value(t){return t.id}supportsSorting(){return!0}supportsGrouping(){return!0}};var Gl=class extends ke{constructor(){super();this.filterInstructions=new Ut;this.filterInstructions.add("has depends on",t=>t.dependsOn.length>0),this.filterInstructions.add("no depends on",t=>t.dependsOn.length===0)}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}createFilterOrErrorMessage(t){let n=this.filterInstructions.createFilterOrErrorMessage(t);return n.isValid()?n:ie.fromError(t,"Unknown instruction")}fieldName(){return"blocked by"}filterRegExp(){return null}};var Eh=[()=>new Il,()=>new rn,()=>new Zn,()=>new Dl,()=>new Fi,()=>new Ol,()=>new ql,()=>new bl,()=>new Sl,()=>new El,()=>new As,()=>new Tl,()=>new Ps,()=>new Ll,()=>new Ul,()=>new Wl,()=>new Ii,()=>new Li,()=>new kl,()=>new _l,()=>new Nl,()=>new $s,()=>new Fl,()=>new wl,()=>new jl,()=>new Gl,()=>new $l,()=>new Pl];function No(r){for(let e of Eh){let t=e();if(t.canCreateFilterForLine(r))return t.createFilterOrErrorMessage(r)}return null}function Hw(r){let e=/^sort by /i;if(r.match(e)===null)return null;for(let t of Eh){let i=t().createSorterFromLine(r);if(i)return i}return null}function Vw(r){let e=/^group by /i;if(r.match(e)===null)return null;for(let t of Eh){let i=t().createGrouperFromLine(r);if(i)return i}return null}var Yl=class{constructor(e,t,n){this.nestingLevel=e,this.displayName=t,this.property=n}};var Bl=class{constructor(e,t){this.lastHeadingAtLevel=new Array;this.groupers=t;let i=e.keys().next().value.length;for(let s=0;st.set(o,a)),e.pop();return t}};var Vl=class extends Hl{},zl=class{constructor(e,t,n){this.root=new Vl(t),this.buildGroupingTree(e,n)}buildGroupingTree(e,t){let n=[this.root];for(let i of e){let s=[];for(let a of n)for(let o of a.values){let u=i.grouper(o,t);u.length===0&&u.push("");for(let l of u){let c=a.children.get(l);c===void 0&&(c=new Vl([]),a.children.set(l,c),s.push(c)),c.values.push(o)}}n=s}}generateTaskTreeStorage(){return this.root.generateAllPaths()}};var Kl=class{constructor(e,t){this.groups=e,this.groupHeadings=[],this.tasks=t}setGroupHeadings(e){for(let t of e)this.groupHeadings.push(t)}applyTaskLimit(e){this.tasks=this.tasks.slice(0,e)}tasksAsStringOfLines(){let e="";for(let t of this.tasks)e+=t.toFileLineString()+` + Example: ${this.fieldNameSingular()} is not NON_TASK`;return ie.fromError(e,n)}fieldName(){return"status.type"}value(e){return e.status.type}supportsSorting(){return!0}comparator(){return(e,t)=>{let n=rn.groupName(e),i=rn.groupName(t);return n.localeCompare(i,void 0,{numeric:!0})}}supportsGrouping(){return!0}grouper(){return e=>[rn.groupName(e)]}static groupName(e){return e.status.typeGroupText}};var Fl=class extends Ie{fieldName(){return"recurrence"}value(e){return e.recurrence!==null?e.recurrence.toText():""}supportsGrouping(){return!0}grouper(){return e=>e.recurrence!==null?[e.recurrence.toText()]:["None"]}};var Ll=class extends Ie{fieldName(){return"folder"}value(e){return e.file.folder}supportsGrouping(){return!0}grouper(){return e=>[Ie.escapeMarkdownCharacters(this.value(e))]}};var Ul=class extends Ie{fieldName(){return"root"}value(e){return e.file.root}supportsGrouping(){return!0}grouper(){return e=>[Ie.escapeMarkdownCharacters(this.value(e))]}};var Wl=class extends Ie{fieldName(){return"backlink"}value(e){let t=e.getLinkText({isFilenameUnique:!0});return t===null?"Unknown Location":t}createFilterOrErrorMessage(e){return ie.fromError(e,"backlink field does not support filtering")}canCreateFilterForLine(e){return!1}supportsGrouping(){return!0}grouper(){return e=>{let t=e.filename;if(t===null)return["Unknown Location"];let n=e.precedingHeader;return n===null?["[["+t+"]]"]:[`[[${t}#${n}|${t} > ${n}]]`]}}};var ql=class extends at{fieldName(){return"cancelled"}date(e){return e.cancelledDate}filterResultIfFieldMissing(){return!1}};var $l=class extends Zr{constructor(){super(),this._filters.add("is blocking",(e,t)=>e.isBlocking(t.allTasks)),this._filters.add("is not blocking",(e,t)=>!e.isBlocking(t.allTasks)),this._filters.add("is blocked",(e,t)=>e.isBlocked(t.allTasks)),this._filters.add("is not blocked",(e,t)=>!e.isBlocked(t.allTasks))}fieldName(){return"blocking"}};var jl=class extends Ie{constructor(){super();this.filterInstructions=new Ut;this.filterInstructions.add("has id",t=>t.id.length>0),this.filterInstructions.add("no id",t=>t.id.length===0)}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}createFilterOrErrorMessage(t){let n=this.filterInstructions.createFilterOrErrorMessage(t);return n.isValid()?n:super.createFilterOrErrorMessage(t)}fieldName(){return"id"}value(t){return t.id}supportsSorting(){return!0}supportsGrouping(){return!0}};var Gl=class extends ke{constructor(){super();this.filterInstructions=new Ut;this.filterInstructions.add("has depends on",t=>t.dependsOn.length>0),this.filterInstructions.add("no depends on",t=>t.dependsOn.length===0)}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}createFilterOrErrorMessage(t){let n=this.filterInstructions.createFilterOrErrorMessage(t);return n.isValid()?n:ie.fromError(t,"Unknown instruction")}fieldName(){return"blocked by"}filterRegExp(){return null}};var Eh=[()=>new Il,()=>new rn,()=>new Zn,()=>new Dl,()=>new Fi,()=>new Ol,()=>new ql,()=>new bl,()=>new Sl,()=>new El,()=>new Ps,()=>new Tl,()=>new Ns,()=>new Ll,()=>new Ul,()=>new Wl,()=>new Ii,()=>new Li,()=>new kl,()=>new _l,()=>new Nl,()=>new js,()=>new Fl,()=>new wl,()=>new jl,()=>new Gl,()=>new $l,()=>new Pl];function Io(r){for(let e of Eh){let t=e();if(t.canCreateFilterForLine(r))return t.createFilterOrErrorMessage(r)}return null}function Vw(r){let e=/^sort by /i;if(r.match(e)===null)return null;for(let t of Eh){let i=t().createSorterFromLine(r);if(i)return i}return null}function zw(r){let e=/^group by /i;if(r.match(e)===null)return null;for(let t of Eh){let i=t().createGrouperFromLine(r);if(i)return i}return null}var Yl=class{constructor(e,t,n){this.nestingLevel=e,this.displayName=t,this.property=n}};var Bl=class{constructor(e,t){this.lastHeadingAtLevel=new Array;this.groupers=t;let i=e.keys().next().value.length;for(let s=0;st.set(o,a)),e.pop();return t}};var Vl=class extends Hl{},zl=class{constructor(e,t,n){this.root=new Vl(t),this.buildGroupingTree(e,n)}buildGroupingTree(e,t){let n=[this.root];for(let i of e){let s=[];for(let a of n)for(let o of a.values){let u=i.grouper(o,t);u.length===0&&u.push("");for(let l of u){let c=a.children.get(l);c===void 0&&(c=new Vl([]),a.children.set(l,c),s.push(c)),c.values.push(o)}}n=s}}generateTaskTreeStorage(){return this.root.generateAllPaths()}};var Kl=class{constructor(e,t){this.groups=e,this.groupHeadings=[],this.tasks=t}setGroupHeadings(e){for(let t of e)this.groupHeadings.push(t)}applyTaskLimit(e){this.tasks=this.tasks.slice(0,e)}tasksAsStringOfLines(){let e="";for(let t of this.tasks)e+=t.toFileLineString()+` `;return e}toString(){let e=` `;e+=`Group names: [${this.groups}] `;for(let t of this.groupHeadings)e+=`${"#".repeat(4+t.nestingLevel)} [${t.property}] ${t.displayName} -`;return e+=this.tasksAsStringOfLines(),e}};var js=class{constructor(e,t,n){this._groups=new Array;this._totalTaskCount=0;this._totalTaskCount=t.length,this._groupers=e;let s=new zl(e,t,n).generateTaskTreeStorage();this.addTaskGroups(s),this.sortTaskGroups(),this.setGroupsHeadings(s)}get groupers(){return this._groupers}get groups(){return this._groups}totalTasksCount(){return this._totalTaskCount}toString(){let e="";e+=`Groupers (if any): +`;return e+=this.tasksAsStringOfLines(),e}};var Gs=class{constructor(e,t,n){this._groups=new Array;this._totalTaskCount=0;this._totalTaskCount=t.length,this._groupers=e;let s=new zl(e,t,n).generateTaskTreeStorage();this.addTaskGroups(s),this.sortTaskGroups(),this.setGroupsHeadings(s)}get groupers(){return this._groupers}get groups(){return this._groups}totalTasksCount(){return this._totalTaskCount}toString(){let e="";e+=`Groupers (if any): `;for(let n of this._groupers){let i=n.reverse?" reverse":"";e+=`- ${n.property}${i} `}for(let n of this.groups)e+=n.toString(),e+=` --- `;return e+=` ${this.totalTasksCount()} tasks -`,e}addTaskGroups(e){for(let[t,n]of e){let i=new Kl(t,n);this.addTaskGroup(i)}}addTaskGroup(e){this._groups.push(e)}sortTaskGroups(){let e=(t,n)=>{let i=t.groups,s=n.groups;for(let a=0;a{t.applyTaskLimit(e)}),this.recalculateTotalTaskCount())}recalculateTotalTaskCount(){let e=[];this._groups.forEach(n=>{e=[...e,...n.tasks]});let t=[...new Set(e)];this._totalTaskCount=t.length}};var ti=class{constructor(e,t){this.queryPath=e,this.allTasks=[...t]}static fromAllTasks(e){return new ti(void 0,e)}queryContext(){return this.queryPath?uh(this.queryPath,this.allTasks):void 0}};function zw(r){return`task${r!==1?"s":""}`}var qi=class{constructor(e,t){this.totalTasksCountBeforeLimit=0;this._searchErrorMessage=void 0;this.taskGroups=e,this.totalTasksCountBeforeLimit=t}get searchErrorMessage(){return this._searchErrorMessage}set searchErrorMessage(e){this._searchErrorMessage=e}get totalTasksCount(){return this.taskGroups.totalTasksCount()}totalTasksCountDisplayText(){let e=this.totalTasksCount,t=this.totalTasksCountBeforeLimit;return e===t?`${e} ${zw(e)}`:`${e} of ${t} ${zw(t)}`}get groups(){return this.taskGroups.groups}static fromError(e){let t=new qi(new js([],[],ti.fromAllTasks([])),0);return t._searchErrorMessage=e,t}};function Kw(r){return r.endsWith("\\")}function Qw(r){return r.endsWith("\\\\")}function mF(r){return r.replace(/^[ \t]*/,"")}function hF(r){return r.replace(/[ \t]*\\$/,"")}function gF(r,e){let t=r;return e&&(t=mF(r)),Qw(t)?t=t.slice(0,-1):Kw(r)&&(t=hF(t)),t}function Xw(r){let e=[],t=!1,n="",i="";for(let s of r.split(` +`,e}addTaskGroups(e){for(let[t,n]of e){let i=new Kl(t,n);this.addTaskGroup(i)}}addTaskGroup(e){this._groups.push(e)}sortTaskGroups(){let e=(t,n)=>{let i=t.groups,s=n.groups;for(let a=0;a{t.applyTaskLimit(e)}),this.recalculateTotalTaskCount())}recalculateTotalTaskCount(){let e=[];this._groups.forEach(n=>{e=[...e,...n.tasks]});let t=[...new Set(e)];this._totalTaskCount=t.length}};var ti=class{constructor(e,t){this.queryPath=e,this.allTasks=[...t]}static fromAllTasks(e){return new ti(void 0,e)}queryContext(){return this.queryPath?uh(this.queryPath,this.allTasks):void 0}};function Kw(r){return`task${r!==1?"s":""}`}var qi=class{constructor(e,t){this.totalTasksCountBeforeLimit=0;this._searchErrorMessage=void 0;this.taskGroups=e,this.totalTasksCountBeforeLimit=t}get searchErrorMessage(){return this._searchErrorMessage}set searchErrorMessage(e){this._searchErrorMessage=e}get totalTasksCount(){return this.taskGroups.totalTasksCount()}totalTasksCountDisplayText(){let e=this.totalTasksCount,t=this.totalTasksCountBeforeLimit;return e===t?`${e} ${Kw(e)}`:`${e} of ${t} ${Kw(t)}`}get groups(){return this.taskGroups.groups}static fromError(e){let t=new qi(new Gs([],[],ti.fromAllTasks([])),0);return t._searchErrorMessage=e,t}};function Qw(r){return r.endsWith("\\")}function Xw(r){return r.endsWith("\\\\")}function mF(r){return r.replace(/^[ \t]*/,"")}function hF(r){return r.replace(/[ \t]*\\$/,"")}function gF(r,e){let t=r;return e&&(t=mF(r)),Xw(t)?t=t.slice(0,-1):Qw(r)&&(t=hF(t)),t}function Zw(r){let e=[],t=!1,n="",i="";for(let s of r.split(` `)){let a=gF(s,t);t?(n+=` -`+s,i+=" "+a):(n=s,i=a),Qw(s)?t=!1:t=Kw(s),t||(i.trim()!==""&&e.push(new Mn(n,i)),n="",i="")}return e}var Gs=class{static by(e,t,n){let i=this.defaultSorters().map(a=>a.comparator),s=[];for(let a of e)s.push(a.comparator);return t.sort(Gs.makeCompositeComparator([...s,...i],n))}static defaultSorters(){return[new rn().createNormalSorter(),new $s().createNormalSorter(),new As().createNormalSorter(),new Fi().createNormalSorter(),new Ps().createNormalSorter()]}static makeCompositeComparator(e,t){return(n,i)=>{for(let s of e){let a=s(n,i,t);if(a!==0)return a}return 0}}};var Pn=class{constructor(e,t=void 0){this._limit=void 0;this._taskGroupLimit=void 0;this._taskLayoutOptions=new Br;this._queryLayoutOptions=new Kn;this._filters=[];this._error=void 0;this._sorting=[];this._grouping=[];this._ignoreGlobalQuery=!1;this.hideOptionsRegexp=/^(hide|show) (task count|backlink|priority|cancelled date|created date|start date|scheduled date|done date|due date|recurrence rule|edit button|postpone button|urgency|tags|depends on|id)/i;this.shortModeRegexp=/^short/i;this.fullModeRegexp=/^full/i;this.explainQueryRegexp=/^explain/i;this.ignoreGlobalQueryRegexp=/^ignore global query/i;this.logger=St.getLogger("tasks.Query");this._queryId="";this.limitRegexp=/^limit (groups )?(to )?(\d+)( tasks?)?/i;this.commentRegexp=/^#.*/;this._queryId=this.generateQueryId(10),this.source=e,this.filePath=t,this.debug(`Creating query: ${this.formatQueryForLogging()}`),Xw(e).forEach(n=>{let i=this.expandPlaceholders(n,t);if(this.error===void 0)try{this.parseLine(i,n)}catch(s){let a;s instanceof Error?a=s.message:a="Unknown error",this.setError(a,n);return}})}get queryId(){return this._queryId}parseLine(e,t){switch(!0){case this.shortModeRegexp.test(e):this._queryLayoutOptions.shortMode=!0;break;case this.fullModeRegexp.test(e):this._queryLayoutOptions.shortMode=!1;break;case this.explainQueryRegexp.test(e):this._queryLayoutOptions.explainQuery=!0;break;case this.ignoreGlobalQueryRegexp.test(e):this._ignoreGlobalQuery=!0;break;case this.limitRegexp.test(e):this.parseLimit(e);break;case this.parseSortBy(e):break;case this.parseGroupBy(e):break;case this.hideOptionsRegexp.test(e):this.parseHideOptions(e);break;case this.commentRegexp.test(e):break;case this.parseFilter(e,t):break;default:this.setError("do not understand query",t)}}formatQueryForLogging(){return`[${this.source.split(` +`+s,i+=" "+a):(n=s,i=a),Xw(s)?t=!1:t=Qw(s),t||(i.trim()!==""&&e.push(new Mn(n,i)),n="",i="")}return e}var Ys=class{static by(e,t,n){let i=this.defaultSorters().map(a=>a.comparator),s=[];for(let a of e)s.push(a.comparator);return t.sort(Ys.makeCompositeComparator([...s,...i],n))}static defaultSorters(){return[new rn().createNormalSorter(),new js().createNormalSorter(),new Ps().createNormalSorter(),new Fi().createNormalSorter(),new Ns().createNormalSorter()]}static makeCompositeComparator(e,t){return(n,i)=>{for(let s of e){let a=s(n,i,t);if(a!==0)return a}return 0}}};var Pn=class{constructor(e,t=void 0){this._limit=void 0;this._taskGroupLimit=void 0;this._taskLayoutOptions=new Br;this._queryLayoutOptions=new Kn;this._filters=[];this._error=void 0;this._sorting=[];this._grouping=[];this._ignoreGlobalQuery=!1;this.hideOptionsRegexp=/^(hide|show) (task count|backlink|priority|cancelled date|created date|start date|scheduled date|done date|due date|recurrence rule|edit button|postpone button|urgency|tags|depends on|id)/i;this.shortModeRegexp=/^short/i;this.fullModeRegexp=/^full/i;this.explainQueryRegexp=/^explain/i;this.ignoreGlobalQueryRegexp=/^ignore global query/i;this.logger=St.getLogger("tasks.Query");this._queryId="";this.limitRegexp=/^limit (groups )?(to )?(\d+)( tasks?)?/i;this.commentRegexp=/^#.*/;this._queryId=this.generateQueryId(10),this.source=e,this.filePath=t,this.debug(`Creating query: ${this.formatQueryForLogging()}`),Zw(e).forEach(n=>{let i=this.expandPlaceholders(n,t);if(this.error===void 0)try{this.parseLine(i,n)}catch(s){let a;s instanceof Error?a=s.message:a="Unknown error",this.setError(a,n);return}})}get queryId(){return this._queryId}parseLine(e,t){switch(!0){case this.shortModeRegexp.test(e):this._queryLayoutOptions.shortMode=!0;break;case this.fullModeRegexp.test(e):this._queryLayoutOptions.shortMode=!1;break;case this.explainQueryRegexp.test(e):this._queryLayoutOptions.explainQuery=!0;break;case this.ignoreGlobalQueryRegexp.test(e):this._ignoreGlobalQuery=!0;break;case this.limitRegexp.test(e):this.parseLimit(e);break;case this.parseSortBy(e):break;case this.parseGroupBy(e):break;case this.hideOptionsRegexp.test(e):this.parseHideOptions(e);break;case this.commentRegexp.test(e):break;case this.parseFilter(e,t):break;default:this.setError("do not understand query",t)}}formatQueryForLogging(){return`[${this.source.split(` `).join(" ; ")}]`}expandPlaceholders(e,t){let n=e.anyContinuationLinesRemoved;if(n.includes("{{")&&n.includes("}}")&&this.filePath===void 0)return this._error=`The query looks like it contains a placeholder, with "{{" and "}}" but no file path has been supplied, so cannot expand placeholder values. The query is: -${n}`,n;let i=n;if(t){let s=Mw(t);try{i=Rw(n,s)}catch(a){return a instanceof Error?this._error=a.message:this._error="Internal error. expandPlaceholders() threw something other than Error.",n}}return e.recordExpandedPlaceholders(i),i}append(e){return this.source===""?e:e.source===""?this:new Pn(`${this.source} -${e.source}`,this.filePath)}explainQuery(){return new Rs().explainQuery(this)}get limit(){return this._limit}get taskGroupLimit(){return this._taskGroupLimit}get taskLayoutOptions(){return this._taskLayoutOptions}get queryLayoutOptions(){return this._queryLayoutOptions}get filters(){return this._filters}addFilter(e){this._filters.push(e)}get sorting(){return this._sorting}get grouping(){return this._grouping}get error(){return this._error}setError(e,t){t.allLinesIdentical()?this._error=`${e} +${n}`,n;let i=n;if(t){let s=Cw(t);try{i=Mw(n,s)}catch(a){return a instanceof Error?this._error=a.message:this._error="Internal error. expandPlaceholders() threw something other than Error.",n}}return e.recordExpandedPlaceholders(i),i}append(e){return this.source===""?e:e.source===""?this:new Pn(`${this.source} +${e.source}`,this.filePath)}explainQuery(){return new Ms().explainQuery(this)}get limit(){return this._limit}get taskGroupLimit(){return this._taskGroupLimit}get taskLayoutOptions(){return this._taskLayoutOptions}get queryLayoutOptions(){return this._queryLayoutOptions}get filters(){return this._filters}addFilter(e){this._filters.push(e)}get sorting(){return this._sorting}get grouping(){return this._grouping}get error(){return this._error}setError(e,t){t.allLinesIdentical()?this._error=`${e} Problem line: "${t.rawInstruction}"`:this._error=`${e} Problem statement: ${t.explainStatement(" ")} -`}get ignoreGlobalQuery(){return this._ignoreGlobalQuery}applyQueryToTasks(e){this.debug(`Executing query: ${this.formatQueryForLogging()}`);let t=new ti(this.filePath,e);try{this.filters.forEach(o=>{e=e.filter(u=>o.filterFunction(u,t))});let{debugSettings:n}=Z(),i=n.ignoreSortInstructions?e:Gs.by(this.sorting,e,t),s=i.slice(0,this.limit),a=new js(this.grouping,s,t);return this._taskGroupLimit!==void 0&&a.applyTaskLimit(this._taskGroupLimit),new qi(a,i.length)}catch(n){let i="Search failed";return qi.fromError(Ni(i,n))}}parseHideOptions(e){let t=e.match(this.hideOptionsRegexp);if(t!==null){let n=t[1].toLowerCase()==="hide";switch(t[2].toLowerCase()){case"task count":this._queryLayoutOptions.hideTaskCount=n;break;case"backlink":this._queryLayoutOptions.hideBacklinks=n;break;case"postpone button":this._queryLayoutOptions.hidePostponeButton=n;break;case"priority":this._taskLayoutOptions.setVisibility("priority",!n);break;case"cancelled date":this._taskLayoutOptions.setVisibility("cancelledDate",!n);break;case"created date":this._taskLayoutOptions.setVisibility("createdDate",!n);break;case"start date":this._taskLayoutOptions.setVisibility("startDate",!n);break;case"scheduled date":this._taskLayoutOptions.setVisibility("scheduledDate",!n);break;case"due date":this._taskLayoutOptions.setVisibility("dueDate",!n);break;case"done date":this._taskLayoutOptions.setVisibility("doneDate",!n);break;case"recurrence rule":this._taskLayoutOptions.setVisibility("recurrenceRule",!n);break;case"edit button":this._queryLayoutOptions.hideEditButton=n;break;case"urgency":this._queryLayoutOptions.hideUrgency=n;break;case"tags":this._taskLayoutOptions.setTagsVisibility(!n);break;case"id":this._taskLayoutOptions.setVisibility("id",!n);break;case"depends on":this._taskLayoutOptions.setVisibility("dependsOn",!n);break;default:this.setError("do not understand hide/show option",new Mn(e,e))}}}parseFilter(e,t){var i;let n=No(e);return n!=null?(n.filter?(n.filter.setStatement(t),this._filters.push(n.filter)):this.setError((i=n.error)!=null?i:"Unknown error",t),!0):!1}parseLimit(e){let t=e.match(this.limitRegexp);if(t===null){this.setError("do not understand query limit",new Mn(e,e));return}let n=Number.parseInt(t[3],10);t[1]!==void 0?this._taskGroupLimit=n:this._limit=n}parseSortBy(e){let t=Hw(e);return t?(this._sorting.push(t),!0):!1}parseGroupBy(e){let t=Vw(e);return t?(this._grouping.push(t),!0):!1}generateQueryId(e){let t="AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890";return Array.from({length:e},()=>t[Math.floor(Math.random()*t.length)]).join("")}debug(e,t){this.logger.debugWithId(this._queryId,`"${this.filePath}": ${e}`,t)}};var ri=class{constructor(e=ri.empty){this._source=e}static getInstance(){return ri.instance||(ri.instance=new ri),ri.instance}set(e){this._source=e}query(e=void 0){return new Pn(this._source,e)}hasInstructions(){return this._source.trim()!==ri.empty}},Tr=ri;Tr.empty="";var Ql=class{constructor({obsidianEvents:e}){this.logger=St.getLogger("tasks.Events");this.obsidianEvents=e}onCacheUpdate(e){return this.logger.debug("TasksEvents.onCacheUpdate()"),this.obsidianEvents.on("obsidian-tasks-plugin:cache-update",e)}triggerCacheUpdate(e){this.logger.debug("TasksEvents.triggerCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:cache-update",e)}onRequestCacheUpdate(e){return this.logger.debug("TasksEvents.onRequestCacheUpdate()"),this.obsidianEvents.on("obsidian-tasks-plugin:request-cache-update",e)}triggerRequestCacheUpdate(e){this.logger.debug("TasksEvents.triggerRequestCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:request-cache-update",e)}off(e){this.logger.debug("TasksEvents.off()"),this.obsidianEvents.offref(e)}};var tk=require("obsidian");var ek=require("obsidian");var Sh=class{constructor(e){this.newStatus=e}apply(e){return this.isCheckedForTask(e)?[e]:e.handleNewStatusWithRecurrenceInUsersOrder(this.newStatus)}instructionDisplayName(){return`Change status to: [${this.newStatus.symbol}] ${this.newStatus.name}`}isCheckedForTask(e){return this.newStatus.symbol===e.status.symbol}};function Zw(r){let e=[],t=new Le().coreStatuses.map(n=>n.symbol);for(let n of[!0,!1])for(let i of r.registeredStatuses)t.includes(i.symbol)===n&&e.push(new Sh(i));return e}var Jw=require("obsidian");function Io(r,e){return P(this,null,function*(){yield gr({originalTask:r,newTasks:e})})}var Ys=class extends Jw.Menu{constructor(t){super();this.taskSaver=t}addItemsForInstructions(t,n){for(let i of t)this.addItemForInstruction(n,i)}addItemForInstruction(t,n){this.addItem(i=>this.getMenuItemCallback(t,i,n))}getMenuItemCallback(t,n,i){n.setTitle(i.instructionDisplayName()).setChecked(i.isCheckedForTask(t)).onClick(()=>P(this,null,function*(){let s=i.apply(t);(s.length!==1||!Object.is(s[0],t))&&(yield this.taskSaver(t,s))}))}};var Xl=class extends Ys{constructor(e,t,n=Io){super(n);let i=Zw(e);this.addItemsForInstructions(i,t)}};var Zl=class{constructor(){this.data=yF}addDataAttribute(e,t,n){this.data[n].addDataAttribute(e,t,n)}addClassName(e,t){let n=this.data[t].className;e.classList.add(n)}},Oh=class{constructor(e,t,n){if(e==="")throw Error("Developer note: CSS class cannot be an empty string, please specify one.");this.className=e,this.attributeName=t,this.attributeValueCalculator=n}addDataAttribute(e,t,n){if(this.attributeName===Oh.noAttributeName)return;let i=this.attributeValueCalculator(n,t);i!==""&&(e.dataset[this.attributeName]=i)}},Nr=Oh;Nr.noAttributeName="",Nr.noAttributeValueCalculator=()=>"",Nr.dateAttributeCalculator=(e,t)=>{let i="far";function s(o){let l=window.moment().startOf("day").diff(o,"days");if(isNaN(l))return null;if(l===0)return"today";let c="";return l>0?c+="past-":l<0&&(c+="future-"),Math.abs(l)<=7?c+=Math.abs(l).toString()+"d":c+=i,c}let a=t[e];if(!Array.isArray(a)&&a instanceof window.moment){let o=s(a);if(o)return o}return""};function Fo(r){return new Nr(r,Nr.noAttributeName,Nr.noAttributeValueCalculator)}function Bs(r,e){return new Nr(r,e,Nr.dateAttributeCalculator)}var yF={createdDate:Bs("task-created","taskCreated"),dueDate:Bs("task-due","taskDue"),startDate:Bs("task-start","taskStart"),scheduledDate:Bs("task-scheduled","taskScheduled"),doneDate:Bs("task-done","taskDone"),cancelledDate:Bs("task-cancelled","taskCancelled"),priority:new Nr("task-priority","taskPriority",(r,e)=>kn.priorityNameUsingNormal(e.priority).toLocaleLowerCase()),description:Fo("task-description"),recurrenceRule:Fo("task-recurring"),dependsOn:Fo("task-dependsOn"),id:Fo("task-id"),blockLink:Fo("task-block-link")};function er(r,e){let t=document.createElement(r);return e.appendChild(t),t}var ni=class{static obsidianMarkdownRenderer(e,t,n,i){return P(this,null,function*(){if(!i)throw new Error("Must call the Obsidian renderer with an Obsidian Component object");yield ek.MarkdownRenderer.renderMarkdown(e,t,n,i)})}constructor({textRenderer:e=ni.obsidianMarkdownRenderer,obsidianComponent:t,parentUlElement:n,taskLayoutOptions:i,queryLayoutOptions:s}){this.textRenderer=e,this.obsidianComponent=t,this.parentUlElement=n,this.taskLayoutOptions=i,this.queryLayoutOptions=s}renderTaskLine(e,t,n){return P(this,null,function*(){let i=er("li",this.parentUlElement);i.classList.add("task-list-item","plugin-tasks-list-item");let s=er("span",i);s.classList.add("tasks-list-text"),yield this.taskToHtml(e,s,i);let a=er("input",i);return a.classList.add("task-list-item-checkbox"),a.type="checkbox",e.status.symbol!==" "&&(a.checked=!0,i.classList.add("is-checked")),e.taskLocation.hasKnownPath&&(a.addEventListener("click",u=>{u.preventDefault(),u.stopPropagation(),a.disabled=!0;let l=e.toggleWithRecurrenceInUsersOrder();gr({originalTask:e,newTasks:l})}),a.addEventListener("contextmenu",u=>{new Xl(De.getInstance(),e).showAtPosition({x:u.clientX,y:u.clientY})}),a.setAttribute("title","Right-click for options")),i.prepend(a),i.setAttribute("data-task",e.status.symbol.trim()),i.setAttribute("data-line",t.toString()),i.setAttribute("data-task-status-name",e.status.name),i.setAttribute("data-task-status-type",e.status.type),a.setAttribute("data-line",t.toString()),this.queryLayoutOptions.shortMode&&this.addTooltip(e,s,n),i})}taskToHtml(e,t,n){return P(this,null,function*(){let i=new Zl,s=Dr.tasksPluginEmoji.taskSerializer;for(let a of this.taskLayoutOptions.shownComponents){let o=s.componentToString(e,this.queryLayoutOptions.shortMode,a);if(o){let u=er("span",t),l=er("span",u);yield this.renderComponentText(l,o,a,e),this.addInternalClasses(a,l),i.addClassName(u,a),i.addDataAttribute(u,e,a),i.addDataAttribute(n,e,a)}}for(let a of this.taskLayoutOptions.hiddenComponents)i.addDataAttribute(n,e,a);n.dataset.taskPriority===void 0&&i.addDataAttribute(n,e,"priority")})}renderComponentText(e,t,n,i){return P(this,null,function*(){if(n==="description"){t=_e.getInstance().removeAsWordFromDependingOnSettings(t);let{debugSettings:s}=Z();s.showTaskHiddenData&&(t+=`
\u{1F41B} ${i.lineNumber} . ${i.sectionStart} . ${i.sectionIndex} . '${i.originalMarkdown}'
'${i.path}' > '${i.precedingHeader}'
`),yield this.textRenderer(t,e,i.path,this.obsidianComponent);let a=e.querySelector("blockquote"),o=a!=null?a:e,u=o.querySelector("p");if(u!==null){for(;u.firstChild;)o.insertBefore(u.firstChild,u);u.remove()}e.querySelectorAll("p").forEach(l=>{l.hasChildNodes()||l.remove()}),e.querySelectorAll(".footnotes").forEach(l=>{l.remove()})}else e.innerHTML=t})}addInternalClasses(e,t){function n(i){let s=/["&\x00\r\n]/g,a=i.replace(s,"-");return a=a.replace(/^[-_]+/,""),a.length>0?a:null}if(e==="description"){let i=t.getElementsByClassName("tag");for(let s=0;s{function d(g,T,E){T&&g.createDiv().setText(f({signifier:E,date:T}))}function f({signifier:g,date:T}){return`${g} ${T.format(J.dateFormat)} (${T.from(window.moment().startOf("day"))})`}let m=t.createDiv();m.addClasses(["tooltip","pop-up"]),e.recurrence&&m.createDiv().setText(`${i} ${e.recurrence.toText()}`),d(m,e.createdDate,a),d(m,e.startDate,s),d(m,e.scheduledDate,o),d(m,e.dueDate,u),d(m,e.cancelledDate,l),d(m,e.doneDate,c);let y=e.getLinkText({isFilenameUnique:n});y&&m.createDiv().setText(`\u{1F517} ${y}`),t.addEventListener("mouseleave",()=>{m.remove()})})}};var Jl=class{constructor({plugin:e}){this.markdownPostProcessor=this._markdownPostProcessor.bind(this);e.registerMarkdownPostProcessor(this._markdownPostProcessor.bind(this))}_markdownPostProcessor(e,t){return P(this,null,function*(){var d;let n=new tk.MarkdownRenderChild(e);t.addChild(n);let i=e.findAll(".task-list-item").filter(f=>{var g;let m=(g=f.textContent)==null?void 0:g.split(` -`);if(m===void 0)return!1;let y=null;for(let T=0;Trk.ViewPlugin.fromClass(Dh),Dh=class{constructor(e){this.view=e,this.handleClickEvent=this.handleClickEvent.bind(this),this.view.dom.addEventListener("click",this.handleClickEvent)}destroy(){this.view.dom.removeEventListener("click",this.handleClickEvent)}handleClickEvent(e){let{target:t}=e;if(!t||!(t instanceof HTMLInputElement)||t.type!=="checkbox")return!1;let n=t.closest("ul.plugin-tasks-query-result, div.callout-content");if(n){if(n.matches("div.callout-content")){let f=`obsidian-tasks-plugin warning: Tasks cannot add or remove completion dates or make the next copy of a recurring task for tasks written inside a callout when you click their checkboxes in Live Preview. -If you wanted Tasks to do these things, please undo your change, then either click the line of the task and use the "Toggle Task Done" command, or switch to Reading View to click the checkbox.`;console.warn(f),new nk.Notice(f,45e3)}return!1}let{state:i}=this.view,s=this.view.posAtDOM(t),a=i.doc.lineAt(s),o=ae.fromLine({line:a.text,taskLocation:ft.fromUnknownPosition(new Ve("")),fallbackDate:null});if(o===null)return!1;e.preventDefault();let l=o.toggleWithRecurrenceInUsersOrder().map(f=>f.toFileLineString()).join(i.lineBreak),c=i.update({changes:{from:a.from,to:a.to,insert:l}});this.view.dispatch(c);let d=t.checked;return setTimeout(()=>{t.checked=d},1),!0}};var Hs=require("obsidian");function Lo(r,e,t){e&&r.push(bF(t))}function bF(r){return`tasks-layout-hide-${r}`}var ec=class{constructor(e){e?this.queryLayoutOptions=e:this.queryLayoutOptions=new Kn}getHiddenClasses(){let e=[],t=[[this.queryLayoutOptions.hideUrgency,"urgency"],[this.queryLayoutOptions.hideBacklinks,"backlinks"],[this.queryLayoutOptions.hideEditButton,"edit-button"],[this.queryLayoutOptions.hidePostponeButton,"postpone-button"]];for(let[n,i]of t)Lo(e,n,i);return this.queryLayoutOptions.shortMode&&e.push("tasks-layout-short-mode"),e}};function sk(r,e,t,n=void 0){let i="";e.isEmpty()||(i+=`Only tasks containing the global filter '${e.get()}'. +`}get ignoreGlobalQuery(){return this._ignoreGlobalQuery}applyQueryToTasks(e){this.debug(`Executing query: ${this.formatQueryForLogging()}`);let t=new ti(this.filePath,e);try{this.filters.forEach(o=>{e=e.filter(u=>o.filterFunction(u,t))});let{debugSettings:n}=Z(),i=n.ignoreSortInstructions?e:Ys.by(this.sorting,e,t),s=i.slice(0,this.limit),a=new Gs(this.grouping,s,t);return this._taskGroupLimit!==void 0&&a.applyTaskLimit(this._taskGroupLimit),new qi(a,i.length)}catch(n){let i="Search failed";return qi.fromError(Ni(i,n))}}parseHideOptions(e){let t=e.match(this.hideOptionsRegexp);if(t!==null){let n=t[1].toLowerCase()==="hide";switch(t[2].toLowerCase()){case"task count":this._queryLayoutOptions.hideTaskCount=n;break;case"backlink":this._queryLayoutOptions.hideBacklinks=n;break;case"postpone button":this._queryLayoutOptions.hidePostponeButton=n;break;case"priority":this._taskLayoutOptions.setVisibility("priority",!n);break;case"cancelled date":this._taskLayoutOptions.setVisibility("cancelledDate",!n);break;case"created date":this._taskLayoutOptions.setVisibility("createdDate",!n);break;case"start date":this._taskLayoutOptions.setVisibility("startDate",!n);break;case"scheduled date":this._taskLayoutOptions.setVisibility("scheduledDate",!n);break;case"due date":this._taskLayoutOptions.setVisibility("dueDate",!n);break;case"done date":this._taskLayoutOptions.setVisibility("doneDate",!n);break;case"recurrence rule":this._taskLayoutOptions.setVisibility("recurrenceRule",!n);break;case"edit button":this._queryLayoutOptions.hideEditButton=n;break;case"urgency":this._queryLayoutOptions.hideUrgency=n;break;case"tags":this._taskLayoutOptions.setTagsVisibility(!n);break;case"id":this._taskLayoutOptions.setVisibility("id",!n);break;case"depends on":this._taskLayoutOptions.setVisibility("dependsOn",!n);break;default:this.setError("do not understand hide/show option",new Mn(e,e))}}}parseFilter(e,t){var i;let n=Io(e);return n!=null?(n.filter?(n.filter.setStatement(t),this._filters.push(n.filter)):this.setError((i=n.error)!=null?i:"Unknown error",t),!0):!1}parseLimit(e){let t=e.match(this.limitRegexp);if(t===null){this.setError("do not understand query limit",new Mn(e,e));return}let n=Number.parseInt(t[3],10);t[1]!==void 0?this._taskGroupLimit=n:this._limit=n}parseSortBy(e){let t=Vw(e);return t?(this._sorting.push(t),!0):!1}parseGroupBy(e){let t=zw(e);return t?(this._grouping.push(t),!0):!1}generateQueryId(e){let t="AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890";return Array.from({length:e},()=>t[Math.floor(Math.random()*t.length)]).join("")}debug(e,t){this.logger.debugWithId(this._queryId,`"${this.filePath}": ${e}`,t)}};var ri=class{constructor(e=ri.empty){this._source=e}static getInstance(){return ri.instance||(ri.instance=new ri),ri.instance}set(e){this._source=e}query(e=void 0){return new Pn(this._source,e)}hasInstructions(){return this._source.trim()!==ri.empty}},Tr=ri;Tr.empty="";var Ql=class{constructor({obsidianEvents:e}){this.logger=St.getLogger("tasks.Events");this.obsidianEvents=e}onCacheUpdate(e){return this.logger.debug("TasksEvents.onCacheUpdate()"),this.obsidianEvents.on("obsidian-tasks-plugin:cache-update",e)}triggerCacheUpdate(e){this.logger.debug("TasksEvents.triggerCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:cache-update",e)}onRequestCacheUpdate(e){return this.logger.debug("TasksEvents.onRequestCacheUpdate()"),this.obsidianEvents.on("obsidian-tasks-plugin:request-cache-update",e)}triggerRequestCacheUpdate(e){this.logger.debug("TasksEvents.triggerRequestCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:request-cache-update",e)}off(e){this.logger.debug("TasksEvents.off()"),this.obsidianEvents.offref(e)}};var rk=require("obsidian");var tk=require("obsidian");var Sh=class{constructor(e){this.newStatus=e}apply(e){return this.isCheckedForTask(e)?[e]:e.handleNewStatusWithRecurrenceInUsersOrder(this.newStatus)}instructionDisplayName(){return`Change status to: [${this.newStatus.symbol}] ${this.newStatus.name}`}isCheckedForTask(e){return this.newStatus.symbol===e.status.symbol}};function Jw(r){let e=[],t=new Le().coreStatuses.map(n=>n.symbol);for(let n of[!0,!1])for(let i of r.registeredStatuses)t.includes(i.symbol)===n&&e.push(new Sh(i));return e}var ek=require("obsidian");function Fo(r,e){return P(this,null,function*(){yield gr({originalTask:r,newTasks:e})})}var Bs=class extends ek.Menu{constructor(t){super();this.taskSaver=t}addItemsForInstructions(t,n){for(let i of t)this.addItemForInstruction(n,i)}addItemForInstruction(t,n){this.addItem(i=>this.getMenuItemCallback(t,i,n))}getMenuItemCallback(t,n,i){n.setTitle(i.instructionDisplayName()).setChecked(i.isCheckedForTask(t)).onClick(()=>P(this,null,function*(){let s=i.apply(t);(s.length!==1||!Object.is(s[0],t))&&(yield this.taskSaver(t,s))}))}};var Xl=class extends Bs{constructor(e,t,n=Fo){super(n);let i=Jw(e);this.addItemsForInstructions(i,t)}};var Zl=class{constructor(){this.data=yF}addDataAttribute(e,t,n){this.data[n].addDataAttribute(e,t,n)}addClassName(e,t){let n=this.data[t].className;e.classList.add(n)}},Oh=class{constructor(e,t,n){if(e==="")throw Error("Developer note: CSS class cannot be an empty string, please specify one.");this.className=e,this.attributeName=t,this.attributeValueCalculator=n}addDataAttribute(e,t,n){if(this.attributeName===Oh.noAttributeName)return;let i=this.attributeValueCalculator(n,t);i!==""&&(e.dataset[this.attributeName]=i)}},Nr=Oh;Nr.noAttributeName="",Nr.noAttributeValueCalculator=()=>"",Nr.dateAttributeCalculator=(e,t)=>{let i="far";function s(o){let l=window.moment().startOf("day").diff(o,"days");if(isNaN(l))return null;if(l===0)return"today";let c="";return l>0?c+="past-":l<0&&(c+="future-"),Math.abs(l)<=7?c+=Math.abs(l).toString()+"d":c+=i,c}let a=t[e];if(!Array.isArray(a)&&a instanceof window.moment){let o=s(a);if(o)return o}return""};function Lo(r){return new Nr(r,Nr.noAttributeName,Nr.noAttributeValueCalculator)}function Hs(r,e){return new Nr(r,e,Nr.dateAttributeCalculator)}var yF={createdDate:Hs("task-created","taskCreated"),dueDate:Hs("task-due","taskDue"),startDate:Hs("task-start","taskStart"),scheduledDate:Hs("task-scheduled","taskScheduled"),doneDate:Hs("task-done","taskDone"),cancelledDate:Hs("task-cancelled","taskCancelled"),priority:new Nr("task-priority","taskPriority",(r,e)=>kn.priorityNameUsingNormal(e.priority).toLocaleLowerCase()),description:Lo("task-description"),recurrenceRule:Lo("task-recurring"),dependsOn:Lo("task-dependsOn"),id:Lo("task-id"),blockLink:Lo("task-block-link")};function er(r,e){let t=document.createElement(r);return e.appendChild(t),t}var ni=class{static obsidianMarkdownRenderer(e,t,n,i){return P(this,null,function*(){if(!i)throw new Error("Must call the Obsidian renderer with an Obsidian Component object");yield tk.MarkdownRenderer.renderMarkdown(e,t,n,i)})}constructor({textRenderer:e=ni.obsidianMarkdownRenderer,obsidianComponent:t,parentUlElement:n,taskLayoutOptions:i,queryLayoutOptions:s}){this.textRenderer=e,this.obsidianComponent=t,this.parentUlElement=n,this.taskLayoutOptions=i,this.queryLayoutOptions=s}renderTaskLine(e,t,n){return P(this,null,function*(){let i=er("li",this.parentUlElement);i.classList.add("task-list-item","plugin-tasks-list-item");let s=er("span",i);s.classList.add("tasks-list-text"),yield this.taskToHtml(e,s,i);let a=er("input",i);return a.classList.add("task-list-item-checkbox"),a.type="checkbox",e.status.symbol!==" "&&(a.checked=!0,i.classList.add("is-checked")),e.taskLocation.hasKnownPath&&(a.addEventListener("click",u=>{u.preventDefault(),u.stopPropagation(),a.disabled=!0;let l=e.toggleWithRecurrenceInUsersOrder();gr({originalTask:e,newTasks:l})}),a.addEventListener("contextmenu",u=>{new Xl(De.getInstance(),e).showAtPosition({x:u.clientX,y:u.clientY})}),a.setAttribute("title","Right-click for options")),i.prepend(a),i.setAttribute("data-task",e.status.symbol.trim()),i.setAttribute("data-line",t.toString()),i.setAttribute("data-task-status-name",e.status.name),i.setAttribute("data-task-status-type",e.status.type),a.setAttribute("data-line",t.toString()),this.queryLayoutOptions.shortMode&&this.addTooltip(e,s,n),i})}taskToHtml(e,t,n){return P(this,null,function*(){let i=new Zl,s=Dr.tasksPluginEmoji.taskSerializer;for(let a of this.taskLayoutOptions.shownComponents){let o=s.componentToString(e,this.queryLayoutOptions.shortMode,a);if(o){let u=er("span",t),l=er("span",u);yield this.renderComponentText(l,o,a,e),this.addInternalClasses(a,l),i.addClassName(u,a),i.addDataAttribute(u,e,a),i.addDataAttribute(n,e,a)}}for(let a of this.taskLayoutOptions.hiddenComponents)i.addDataAttribute(n,e,a);n.dataset.taskPriority===void 0&&i.addDataAttribute(n,e,"priority")})}renderComponentText(e,t,n,i){return P(this,null,function*(){if(n==="description"){t=_e.getInstance().removeAsWordFromDependingOnSettings(t);let{debugSettings:s}=Z();s.showTaskHiddenData&&(t+=`
\u{1F41B} ${i.lineNumber} . ${i.sectionStart} . ${i.sectionIndex} . '${i.originalMarkdown}'
'${i.path}' > '${i.precedingHeader}'
`),yield this.textRenderer(t,e,i.path,this.obsidianComponent);let a=e.querySelector("blockquote"),o=a!=null?a:e,u=o.querySelector("p");if(u!==null){for(;u.firstChild;)o.insertBefore(u.firstChild,u);u.remove()}e.querySelectorAll("p").forEach(l=>{l.hasChildNodes()||l.remove()}),e.querySelectorAll(".footnotes").forEach(l=>{l.remove()})}else e.innerHTML=t})}addInternalClasses(e,t){function n(i){let s=/["&\x00\r\n]/g,a=i.replace(s,"-");return a=a.replace(/^[-_]+/,""),a.length>0?a:null}if(e==="description"){let i=t.getElementsByClassName("tag");for(let s=0;s{function d(y,T,k){T&&y.createDiv().setText(f({signifier:k,date:T}))}function f({signifier:y,date:T}){return`${y} ${T.format(J.dateFormat)} (${T.from(window.moment().startOf("day"))})`}let m=t.createDiv();m.addClasses(["tooltip","pop-up"]),e.recurrence&&m.createDiv().setText(`${i} ${e.recurrence.toText()}`),d(m,e.createdDate,a),d(m,e.startDate,s),d(m,e.scheduledDate,o),d(m,e.dueDate,u),d(m,e.cancelledDate,l),d(m,e.doneDate,c);let g=e.getLinkText({isFilenameUnique:n});g&&m.createDiv().setText(`\u{1F517} ${g}`),t.addEventListener("mouseleave",()=>{m.remove()})})}};var Jl=class{constructor({plugin:e}){this.markdownPostProcessor=this._markdownPostProcessor.bind(this);e.registerMarkdownPostProcessor(this._markdownPostProcessor.bind(this))}_markdownPostProcessor(e,t){return P(this,null,function*(){var d;let n=new rk.MarkdownRenderChild(e);t.addChild(n);let i=e.findAll(".task-list-item").filter(f=>{var y;let m=(y=f.textContent)==null?void 0:y.split(` +`);if(m===void 0)return!1;let g=null;for(let T=0;Tnk.ViewPlugin.fromClass(Dh),Dh=class{constructor(e){this.view=e,this.handleClickEvent=this.handleClickEvent.bind(this),this.view.dom.addEventListener("click",this.handleClickEvent)}destroy(){this.view.dom.removeEventListener("click",this.handleClickEvent)}handleClickEvent(e){let{target:t}=e;if(!t||!(t instanceof HTMLInputElement)||t.type!=="checkbox")return!1;let n=t.closest("ul.plugin-tasks-query-result, div.callout-content");if(n){if(n.matches("div.callout-content")){let f=`obsidian-tasks-plugin warning: Tasks cannot add or remove completion dates or make the next copy of a recurring task for tasks written inside a callout when you click their checkboxes in Live Preview. +If you wanted Tasks to do these things, please undo your change, then either click the line of the task and use the "Toggle Task Done" command, or switch to Reading View to click the checkbox.`;console.warn(f),new ik.Notice(f,45e3)}return!1}let{state:i}=this.view,s=this.view.posAtDOM(t),a=i.doc.lineAt(s),o=ae.fromLine({line:a.text,taskLocation:ft.fromUnknownPosition(new Ve("")),fallbackDate:null});if(o===null)return!1;e.preventDefault();let l=o.toggleWithRecurrenceInUsersOrder().map(f=>f.toFileLineString()).join(i.lineBreak),c=i.update({changes:{from:a.from,to:a.to,insert:l}});this.view.dispatch(c);let d=t.checked;return setTimeout(()=>{t.checked=d},1),!0}};var Vs=require("obsidian");function Uo(r,e,t){e&&r.push(bF(t))}function bF(r){return`tasks-layout-hide-${r}`}var ec=class{constructor(e){e?this.queryLayoutOptions=e:this.queryLayoutOptions=new Kn}getHiddenClasses(){let e=[],t=[[this.queryLayoutOptions.hideUrgency,"urgency"],[this.queryLayoutOptions.hideBacklinks,"backlinks"],[this.queryLayoutOptions.hideEditButton,"edit-button"],[this.queryLayoutOptions.hidePostponeButton,"postpone-button"]];for(let[n,i]of t)Uo(e,n,i);return this.queryLayoutOptions.shortMode&&e.push("tasks-layout-short-mode"),e}};function ak(r,e,t,n=void 0){let i="";e.isEmpty()||(i+=`Only tasks containing the global filter '${e.get()}'. -`);let s=new Rs(" "),a=new Pn(r,n);if(!a.ignoreGlobalQuery&&t.hasInstructions()){let o=t.query(n);i+=`Explanation of the global query: +`);let s=new Ms(" "),a=new Pn(r,n);if(!a.ignoreGlobalQuery&&t.hasInstructions()){let o=t.query(n);i+=`Explanation of the global query: ${s.explainQuery(o)} `}return i+=`Explanation of this Tasks code block query: -${s.explainQuery(a)}`,i}function tc(r,e,t){let n=new Pn(r,t);return n.ignoreGlobalQuery?n:e.query(t).append(n)}function ak(r){for(let t of ae.allDateFields()){let n=r[t];if(n&&!n.isValid())return!1}let e=r.happensDates.some(t=>!!(t!=null&&t.isValid()));return!r.isDone&&e}function Uo(r){return r.dueDate?"dueDate":r.scheduledDate?"scheduledDate":r.startDate?"startDate":null}function xh(r,e,t,n){let i=r[e];return lk(i,r,e,t,n)}function ok(r,e,t,n){let i=window.moment();return lk(i,r,e,t,n)}function uk(r,e,t,n){return ck(r,e,null)}function lk(r,e,t,n,i){let s=new Pt(r).postpone(n,i);return ck(e,t,s)}function ck(r,e,t){let n=yt.removeInferredStatusIfNeeded(r,[new ae(he(K({},r),{[e]:t}))])[0];return{postponedDate:t,postponedTask:n}}function dk(r,e){if(r){let t=r==null?void 0:r.format("DD MMM YYYY");return`Task's ${e} changed to ${t}`}else return`Task's ${e} removed`}function fk(r,e,t){return`\u2139\uFE0F ${Rh(r,e,t)} (right-click for more options)`}function Rh(r,e,t){let n=Uo(r),i=r[n];return gk(n,i,e,t)}function pk(r,e,t){let n=Uo(r),i=window.moment().startOf("day");return gk(n,i,e,t)}function mk(r,e,t){let n=Uo(r);return n==="scheduledDate"&&r.scheduledDateIsInferred?"Cannot remove inferred scheduled date":`Remove ${hk(n)}`}function TF(r){return _s(r.replace("Date",""))}function hk(r){return r.replace("Date"," date")}function gk(r,e,t,n){let s=new Pt(e).postpone(n,t).format("ddd Do MMM"),a=t!=1?t:"a";return e.isSameOrBefore(window.moment(),"day")?`${TF(r)} in ${a} ${n}, on ${s}`.replace(" in 0 days"," today").replace("in a day","tomorrow"):`Postpone ${hk(r)} by ${a} ${n}, to ${s}`}var rc=class{constructor(e){e?this.taskLayoutOptions=e:this.taskLayoutOptions=new Br}generateHiddenClasses(){let e=[];return this.taskLayoutOptions.toggleableComponents.forEach(t=>{Lo(e,!this.taskLayoutOptions.isShown(t),t)}),Lo(e,!this.taskLayoutOptions.areTagsShown(),"tags"),e}};var Mh=require("obsidian");var ii=class extends Ys{constructor(e,t,n=Io){super(n);let i=(l,c,d,f,m,y)=>{let g=m(t,f,d);c.setTitle(g).onClick(()=>ii.postponeOnClickCallback(l,t,f,d,y,n))},s=pk,a=ok;this.addItem(l=>i(e,l,"days",0,s,a)),this.addItem(l=>i(e,l,"day",1,s,a)),this.addSeparator();let o=Rh,u=xh;this.addItem(l=>i(e,l,"days",2,o,u)),this.addItem(l=>i(e,l,"days",3,o,u)),this.addItem(l=>i(e,l,"days",4,o,u)),this.addItem(l=>i(e,l,"days",5,o,u)),this.addItem(l=>i(e,l,"days",6,o,u)),this.addSeparator(),this.addItem(l=>i(e,l,"week",1,o,u)),this.addItem(l=>i(e,l,"weeks",2,o,u)),this.addItem(l=>i(e,l,"weeks",3,o,u)),this.addItem(l=>i(e,l,"month",1,o,u)),this.addSeparator(),this.addItem(l=>i(e,l,"days",2,mk,uk))}static postponeOnClickCallback(o,u,l,c){return P(this,arguments,function*(e,t,n,i,s=xh,a=Io){let d=Uo(t);if(d===null){let y="\u26A0\uFE0F Postponement requires a date: due, scheduled or start.";return new Mh.Notice(y,1e4)}let{postponedDate:f,postponedTask:m}=s(t,d,i,n);yield a(t,m),ii.postponeSuccessCallback(e,d,f)})}static postponeSuccessCallback(e,t,n){e.style.pointerEvents="none";let i=dk(n,t);new Mh.Notice(i,2e3)}};var Wo=class{constructor(e){this.label=e,this.start()}start(){!this.recordTimings()||performance.mark(this.labelForStart())}finish(){!this.recordTimings()||(performance.mark(this.labelForEnd()),performance.measure(this.label,this.labelForStart(),this.labelForEnd()),this.printDuration())}printDuration(){let e=performance.getEntriesByName(this.label),t=e[e.length-1];t?console.log(this.label+":",t.duration,"milliseconds"):console.log(`Measurement for ${this.label} not found`)}labelForStart(){return`${this.label} - start`}labelForEnd(){return`${this.label} - end`}recordTimings(){let{debugSettings:e}=Z();return e.recordTimings}};var nc=class{constructor({plugin:e,events:t}){this.addQueryRenderChild=this._addQueryRenderChild.bind(this);this.app=e.app,this.plugin=e,this.events=t,e.registerMarkdownCodeBlockProcessor("tasks",this._addQueryRenderChild.bind(this))}_addQueryRenderChild(e,t,n){return P(this,null,function*(){n.addChild(new Ch({app:this.app,plugin:this.plugin,events:this.events,container:t,source:e,filePath:n.sourcePath}))})}},Ch=class extends Hs.MarkdownRenderChild{constructor({app:t,plugin:n,events:i,container:s,source:a,filePath:o}){super(s);switch(this.app=t,this.plugin=n,this.events=i,this.source=a,this.filePath=o,this.containerEl.className){case"block-language-tasks":this.query=tc(this.source,Tr.getInstance(),this.filePath),this.queryType="tasks";break;default:this.query=tc(this.source,Tr.getInstance(),this.filePath),this.queryType="tasks";break}}onload(){this.events.triggerRequestCacheUpdate(this.render.bind(this)),this.renderEventRef=this.events.onCacheUpdate(this.render.bind(this)),this.reloadQueryAtMidnight()}onunload(){this.renderEventRef!==void 0&&this.events.off(this.renderEventRef),this.queryReloadTimeout!==void 0&&clearTimeout(this.queryReloadTimeout)}reloadQueryAtMidnight(){let t=new Date;t.setHours(24,0,0,0);let n=new Date,i=t.getTime()-n.getTime();this.queryReloadTimeout=setTimeout(()=>{this.query=tc(this.source,Tr.getInstance(),this.filePath),this.events.triggerRequestCacheUpdate(this.render.bind(this)),this.reloadQueryAtMidnight()},i+1e3)}render(i){return P(this,arguments,function*({tasks:t,state:n}){var a;let s=er("div",this.containerEl);n==="Warm"&&this.query.error===void 0?yield this.renderQuerySearchResults(t,n,s):this.query.error!==void 0?this.renderErrorMessage(s,this.query.error):this.renderLoadingMessage(s),(a=this.containerEl.firstChild)==null||a.replaceWith(s)})}renderQuerySearchResults(t,n,i){return P(this,null,function*(){let s=this.explainAndPerformSearch(n,t,i);if(s.searchErrorMessage!==void 0){this.renderErrorMessage(i,s.searchErrorMessage);return}yield this.renderSearchResults(s,i)})}explainAndPerformSearch(t,n,i){let s=new Wo(`Search: ${this.query.queryId} - ${this.filePath}`);s.start(),this.query.debug(`[render] Render called: plugin state: ${t}; searching ${n.length} tasks`),this.query.queryLayoutOptions.explainQuery&&this.createExplanation(i);let a=this.query.applyQueryToTasks(n);return s.finish(),a}renderSearchResults(t,n){return P(this,null,function*(){let i=new Wo(`Render: ${this.query.queryId} - ${this.filePath}`);i.start(),yield this.addAllTaskGroups(t.taskGroups,n);let s=t.totalTasksCount;this.addTaskCount(n,t),this.query.debug(`[render] ${s} tasks displayed`),i.finish()})}renderErrorMessage(t,n){t.createDiv().innerHTML=`
Tasks query: ${n.replace(/\n/g,"
")}
`}renderLoadingMessage(t){t.setText("Loading Tasks ...")}createExplanation(t){let n=sk(this.source,_e.getInstance(),Tr.getInstance(),this.filePath),i=er("pre",t);i.addClasses(["plugin-tasks-query-explanation"]),i.setText(n),t.appendChild(i)}createTaskList(t,n){return P(this,null,function*(){let i=er("ul",n);i.addClasses(["contains-task-list","plugin-tasks-query-result"]);let s=new rc(this.query.taskLayoutOptions);i.addClasses(s.generateHiddenClasses());let a=new ec(this.query.queryLayoutOptions);i.addClasses(a.getHiddenClasses());let o=this.getGroupingAttribute();o&&o.length>0&&(i.dataset.taskGroupBy=o);let u=new ni({obsidianComponent:this,parentUlElement:i,taskLayoutOptions:this.query.taskLayoutOptions,queryLayoutOptions:this.query.queryLayoutOptions});for(let[l,c]of t.entries())yield this.addTask(i,u,c,l);n.appendChild(i)})}addTask(t,n,i,s){return P(this,null,function*(){let a=this.isFilenameUnique({task:i}),o=yield n.renderTaskLine(i,s,a);o.querySelectorAll("[data-footnote-id]").forEach(d=>d.remove());let l=o.createSpan("task-extras");this.query.queryLayoutOptions.hideUrgency||this.addUrgency(l,i);let c=this.query.queryLayoutOptions.shortMode;this.query.queryLayoutOptions.hideBacklinks||this.addBacklinks(l,i,c,a),this.query.queryLayoutOptions.hideEditButton||this.addEditButton(l,i,this.plugin.getTasks()),!this.query.queryLayoutOptions.hidePostponeButton&&ak(i)&&this.addPostponeButton(l,i,c),t.appendChild(o)})}addEditButton(t,n,i){let s=er("a",t);s.addClass("tasks-edit"),s.title="Edit task",s.href="#",s.onClickEvent(a=>{a.preventDefault();let o=l=>P(this,null,function*(){yield gr({originalTask:n,newTasks:yt.removeInferredStatusIfNeeded(n,l)})});new zn({app:this.app,task:n,onSubmit:o,allTasks:i}).open()})}addUrgency(t,n){let i=new Intl.NumberFormat().format(n.urgency);t.createSpan({text:i,cls:"tasks-urgency"})}addAllTaskGroups(t,n){return P(this,null,function*(){for(let i of t.groups)yield this.addGroupHeadings(n,i.groupHeadings),yield this.createTaskList(i.tasks,n)})}addGroupHeadings(t,n){return P(this,null,function*(){for(let i of n)yield this.addGroupHeading(t,i)})}addGroupHeading(t,n){return P(this,null,function*(){let i="h6";n.nestingLevel===0?i="h4":n.nestingLevel===1&&(i="h5");let s=er(i,t);s.addClass("tasks-group-heading"),yield Hs.MarkdownRenderer.renderMarkdown(n.displayName,s,this.filePath,this)})}addBacklinks(t,n,i,s){var c;let a=t.createSpan({cls:"tasks-backlink"});i||a.append(" (");let o=er("a",a);o.rel="noopener",o.target="_blank",o.addClass("internal-link"),i&&o.addClass("internal-link-short-mode");let u;i?u=" \u{1F517}":u=(c=n.getLinkText({isFilenameUnique:s}))!=null?c:"",o.setText(u);let l=this.app.vault;o.addEventListener("click",d=>P(this,null,function*(){let f=yield Xm(n,l);if(f){let[m,y]=f,g=this.app.workspace.getLeaf(Hs.Keymap.isModEvent(d));d.preventDefault(),yield g.openFile(y,{eState:{line:m}})}})),o.addEventListener("mousedown",d=>P(this,null,function*(){if(d.button===1){let f=yield Xm(n,l);if(f){let[m,y]=f,g=this.app.workspace.getLeaf("tab");d.preventDefault(),yield g.openFile(y,{eState:{line:m}})}}})),i||a.append(")")}addPostponeButton(t,n,i){let a="day",o=fk(n,1,a),u=er("a",t);u.addClass("tasks-postpone"),i&&u.addClass("tasks-postpone-short-mode"),u.title=o,u.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation(),ii.postponeOnClickCallback(u,n,1,a)}),u.addEventListener("contextmenu",l=>P(this,null,function*(){l.preventDefault(),l.stopPropagation(),new ii(u,n).showAtPosition({x:l.clientX,y:l.clientY})}))}addTaskCount(t,n){this.query.queryLayoutOptions.hideTaskCount||t.createDiv({text:n.totalTasksCountDisplayText(),cls:"tasks-count"})}isFilenameUnique({task:t}){let n=t.path.match(/([^/]*)\..+$/i);if(n===null)return;let i=n[1];return this.app.vault.getMarkdownFiles().filter(a=>{if(a.basename===i)return!0}).length<2}getGroupingAttribute(){let t=[];for(let n of this.query.grouping)t.push(n.property);return t.join(",")}};var Ee=require("obsidian");var ic=class{constructor(e){this._markdown="";this.columnNames=e,this.addTitleRow()}get markdown(){return this._markdown}addTitleRow(){let e="|",t="|";this.columnNames.forEach(n=>{e+=` ${n} |`,t+=" ----- |"}),this._markdown+=`${e} +${s.explainQuery(a)}`,i}function tc(r,e,t){let n=new Pn(r,t);return n.ignoreGlobalQuery?n:e.query(t).append(n)}function ok(r){for(let t of ae.allDateFields()){let n=r[t];if(n&&!n.isValid())return!1}let e=r.happensDates.some(t=>!!(t!=null&&t.isValid()));return!r.isDone&&e}function Wo(r){return r.dueDate?"dueDate":r.scheduledDate?"scheduledDate":r.startDate?"startDate":null}function xh(r,e,t,n){let i=r[e];return ck(i,r,e,t,n)}function uk(r,e,t,n){let i=window.moment();return ck(i,r,e,t,n)}function lk(r,e,t,n){return dk(r,e,null)}function ck(r,e,t,n,i){let s=new Pt(r).postpone(n,i);return dk(e,t,s)}function dk(r,e,t){let n=yt.removeInferredStatusIfNeeded(r,[new ae(he(K({},r),{[e]:t}))])[0];return{postponedDate:t,postponedTask:n}}function fk(r,e){if(r){let t=r==null?void 0:r.format("DD MMM YYYY");return`Task's ${e} changed to ${t}`}else return`Task's ${e} removed`}function pk(r,e,t){return`\u2139\uFE0F ${Rh(r,e,t)} (right-click for more options)`}function Rh(r,e,t){let n=Wo(r),i=r[n];return yk(n,i,e,t)}function mk(r,e,t){let n=Wo(r),i=window.moment().startOf("day");return yk(n,i,e,t)}function hk(r,e,t){let n=Wo(r);return n==="scheduledDate"&&r.scheduledDateIsInferred?"Cannot remove inferred scheduled date":`Remove ${gk(n)}`}function TF(r){return vs(r.replace("Date",""))}function gk(r){return r.replace("Date"," date")}function yk(r,e,t,n){let s=new Pt(e).postpone(n,t).format("ddd Do MMM"),a=t!=1?t:"a";return e.isSameOrBefore(window.moment(),"day")?`${TF(r)} in ${a} ${n}, on ${s}`.replace(" in 0 days"," today").replace("in a day","tomorrow"):`Postpone ${gk(r)} by ${a} ${n}, to ${s}`}var rc=class{constructor(e){e?this.taskLayoutOptions=e:this.taskLayoutOptions=new Br}generateHiddenClasses(){let e=[];return this.taskLayoutOptions.toggleableComponents.forEach(t=>{Uo(e,!this.taskLayoutOptions.isShown(t),t)}),Uo(e,!this.taskLayoutOptions.areTagsShown(),"tags"),e}};var Mh=require("obsidian");var ii=class extends Bs{constructor(e,t,n=Fo){super(n);let i=(l,c,d,f,m,g)=>{let y=m(t,f,d);c.setTitle(y).onClick(()=>ii.postponeOnClickCallback(l,t,f,d,g,n))},s=mk,a=uk;this.addItem(l=>i(e,l,"days",0,s,a)),this.addItem(l=>i(e,l,"day",1,s,a)),this.addSeparator();let o=Rh,u=xh;this.addItem(l=>i(e,l,"days",2,o,u)),this.addItem(l=>i(e,l,"days",3,o,u)),this.addItem(l=>i(e,l,"days",4,o,u)),this.addItem(l=>i(e,l,"days",5,o,u)),this.addItem(l=>i(e,l,"days",6,o,u)),this.addSeparator(),this.addItem(l=>i(e,l,"week",1,o,u)),this.addItem(l=>i(e,l,"weeks",2,o,u)),this.addItem(l=>i(e,l,"weeks",3,o,u)),this.addItem(l=>i(e,l,"month",1,o,u)),this.addSeparator(),this.addItem(l=>i(e,l,"days",2,hk,lk))}static postponeOnClickCallback(o,u,l,c){return P(this,arguments,function*(e,t,n,i,s=xh,a=Fo){let d=Wo(t);if(d===null){let g="\u26A0\uFE0F Postponement requires a date: due, scheduled or start.";return new Mh.Notice(g,1e4)}let{postponedDate:f,postponedTask:m}=s(t,d,i,n);yield a(t,m),ii.postponeSuccessCallback(e,d,f)})}static postponeSuccessCallback(e,t,n){e.style.pointerEvents="none";let i=fk(n,t);new Mh.Notice(i,2e3)}};var qo=class{constructor(e){this.label=e,this.start()}start(){!this.recordTimings()||performance.mark(this.labelForStart())}finish(){!this.recordTimings()||(performance.mark(this.labelForEnd()),performance.measure(this.label,this.labelForStart(),this.labelForEnd()),this.printDuration())}printDuration(){let e=performance.getEntriesByName(this.label),t=e[e.length-1];t?console.log(this.label+":",t.duration,"milliseconds"):console.log(`Measurement for ${this.label} not found`)}labelForStart(){return`${this.label} - start`}labelForEnd(){return`${this.label} - end`}recordTimings(){let{debugSettings:e}=Z();return e.recordTimings}};var nc=class{constructor({plugin:e,events:t}){this.addQueryRenderChild=this._addQueryRenderChild.bind(this);this.app=e.app,this.plugin=e,this.events=t,e.registerMarkdownCodeBlockProcessor("tasks",this._addQueryRenderChild.bind(this))}_addQueryRenderChild(e,t,n){return P(this,null,function*(){n.addChild(new Ch({app:this.app,plugin:this.plugin,events:this.events,container:t,source:e,filePath:n.sourcePath}))})}},Ch=class extends Vs.MarkdownRenderChild{constructor({app:t,plugin:n,events:i,container:s,source:a,filePath:o}){super(s);switch(this.app=t,this.plugin=n,this.events=i,this.source=a,this.filePath=o,this.containerEl.className){case"block-language-tasks":this.query=tc(this.source,Tr.getInstance(),this.filePath),this.queryType="tasks";break;default:this.query=tc(this.source,Tr.getInstance(),this.filePath),this.queryType="tasks";break}}onload(){this.events.triggerRequestCacheUpdate(this.render.bind(this)),this.renderEventRef=this.events.onCacheUpdate(this.render.bind(this)),this.reloadQueryAtMidnight()}onunload(){this.renderEventRef!==void 0&&this.events.off(this.renderEventRef),this.queryReloadTimeout!==void 0&&clearTimeout(this.queryReloadTimeout)}reloadQueryAtMidnight(){let t=new Date;t.setHours(24,0,0,0);let n=new Date,i=t.getTime()-n.getTime();this.queryReloadTimeout=setTimeout(()=>{this.query=tc(this.source,Tr.getInstance(),this.filePath),this.events.triggerRequestCacheUpdate(this.render.bind(this)),this.reloadQueryAtMidnight()},i+1e3)}render(i){return P(this,arguments,function*({tasks:t,state:n}){var a;let s=er("div",this.containerEl);n==="Warm"&&this.query.error===void 0?yield this.renderQuerySearchResults(t,n,s):this.query.error!==void 0?this.renderErrorMessage(s,this.query.error):this.renderLoadingMessage(s),(a=this.containerEl.firstChild)==null||a.replaceWith(s)})}renderQuerySearchResults(t,n,i){return P(this,null,function*(){let s=this.explainAndPerformSearch(n,t,i);if(s.searchErrorMessage!==void 0){this.renderErrorMessage(i,s.searchErrorMessage);return}yield this.renderSearchResults(s,i)})}explainAndPerformSearch(t,n,i){let s=new qo(`Search: ${this.query.queryId} - ${this.filePath}`);s.start(),this.query.debug(`[render] Render called: plugin state: ${t}; searching ${n.length} tasks`),this.query.queryLayoutOptions.explainQuery&&this.createExplanation(i);let a=this.query.applyQueryToTasks(n);return s.finish(),a}renderSearchResults(t,n){return P(this,null,function*(){let i=new qo(`Render: ${this.query.queryId} - ${this.filePath}`);i.start(),yield this.addAllTaskGroups(t.taskGroups,n);let s=t.totalTasksCount;this.addTaskCount(n,t),this.query.debug(`[render] ${s} tasks displayed`),i.finish()})}renderErrorMessage(t,n){t.createDiv().innerHTML=`
Tasks query: ${n.replace(/\n/g,"
")}
`}renderLoadingMessage(t){t.setText("Loading Tasks ...")}createExplanation(t){let n=ak(this.source,_e.getInstance(),Tr.getInstance(),this.filePath),i=er("pre",t);i.addClasses(["plugin-tasks-query-explanation"]),i.setText(n),t.appendChild(i)}createTaskList(t,n){return P(this,null,function*(){let i=er("ul",n);i.addClasses(["contains-task-list","plugin-tasks-query-result"]);let s=new rc(this.query.taskLayoutOptions);i.addClasses(s.generateHiddenClasses());let a=new ec(this.query.queryLayoutOptions);i.addClasses(a.getHiddenClasses());let o=this.getGroupingAttribute();o&&o.length>0&&(i.dataset.taskGroupBy=o);let u=new ni({obsidianComponent:this,parentUlElement:i,taskLayoutOptions:this.query.taskLayoutOptions,queryLayoutOptions:this.query.queryLayoutOptions});for(let[l,c]of t.entries())yield this.addTask(i,u,c,l);n.appendChild(i)})}addTask(t,n,i,s){return P(this,null,function*(){let a=this.isFilenameUnique({task:i}),o=yield n.renderTaskLine(i,s,a);o.querySelectorAll("[data-footnote-id]").forEach(d=>d.remove());let l=o.createSpan("task-extras");this.query.queryLayoutOptions.hideUrgency||this.addUrgency(l,i);let c=this.query.queryLayoutOptions.shortMode;this.query.queryLayoutOptions.hideBacklinks||this.addBacklinks(l,i,c,a),this.query.queryLayoutOptions.hideEditButton||this.addEditButton(l,i,this.plugin.getTasks()),!this.query.queryLayoutOptions.hidePostponeButton&&ok(i)&&this.addPostponeButton(l,i,c),t.appendChild(o)})}addEditButton(t,n,i){let s=er("a",t);s.addClass("tasks-edit"),s.title="Edit task",s.href="#",s.onClickEvent(a=>{a.preventDefault();let o=l=>P(this,null,function*(){yield gr({originalTask:n,newTasks:yt.removeInferredStatusIfNeeded(n,l)})});new zn({app:this.app,task:n,onSubmit:o,allTasks:i}).open()})}addUrgency(t,n){let i=new Intl.NumberFormat().format(n.urgency);t.createSpan({text:i,cls:"tasks-urgency"})}addAllTaskGroups(t,n){return P(this,null,function*(){for(let i of t.groups)yield this.addGroupHeadings(n,i.groupHeadings),yield this.createTaskList(i.tasks,n)})}addGroupHeadings(t,n){return P(this,null,function*(){for(let i of n)yield this.addGroupHeading(t,i)})}addGroupHeading(t,n){return P(this,null,function*(){let i="h6";n.nestingLevel===0?i="h4":n.nestingLevel===1&&(i="h5");let s=er(i,t);s.addClass("tasks-group-heading"),yield Vs.MarkdownRenderer.renderMarkdown(n.displayName,s,this.filePath,this)})}addBacklinks(t,n,i,s){var c;let a=t.createSpan({cls:"tasks-backlink"});i||a.append(" (");let o=er("a",a);o.rel="noopener",o.target="_blank",o.addClass("internal-link"),i&&o.addClass("internal-link-short-mode");let u;i?u=" \u{1F517}":u=(c=n.getLinkText({isFilenameUnique:s}))!=null?c:"",o.setText(u);let l=this.app.vault;o.addEventListener("click",d=>P(this,null,function*(){let f=yield Xm(n,l);if(f){let[m,g]=f,y=this.app.workspace.getLeaf(Vs.Keymap.isModEvent(d));d.preventDefault(),yield y.openFile(g,{eState:{line:m}})}})),o.addEventListener("mousedown",d=>P(this,null,function*(){if(d.button===1){let f=yield Xm(n,l);if(f){let[m,g]=f,y=this.app.workspace.getLeaf("tab");d.preventDefault(),yield y.openFile(g,{eState:{line:m}})}}})),i||a.append(")")}addPostponeButton(t,n,i){let a="day",o=pk(n,1,a),u=er("a",t);u.addClass("tasks-postpone"),i&&u.addClass("tasks-postpone-short-mode"),u.title=o,u.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation(),ii.postponeOnClickCallback(u,n,1,a)}),u.addEventListener("contextmenu",l=>P(this,null,function*(){l.preventDefault(),l.stopPropagation(),new ii(u,n).showAtPosition({x:l.clientX,y:l.clientY})}))}addTaskCount(t,n){this.query.queryLayoutOptions.hideTaskCount||t.createDiv({text:n.totalTasksCountDisplayText(),cls:"tasks-count"})}isFilenameUnique({task:t}){let n=t.path.match(/([^/]*)\..+$/i);if(n===null)return;let i=n[1];return this.app.vault.getMarkdownFiles().filter(a=>{if(a.basename===i)return!0}).length<2}getGroupingAttribute(){let t=[];for(let n of this.query.grouping)t.push(n.property);return t.join(",")}};var Ee=require("obsidian");var ic=class{constructor(e){this._markdown="";this.columnNames=e,this.addTitleRow()}get markdown(){return this._markdown}addTitleRow(){let e="|",t="|";this.columnNames.forEach(n=>{e+=` ${n} |`,t+=" ----- |"}),this._markdown+=`${e} `,this._markdown+=`${t} `}addRow(e){let t=this.makeRowText(e);this._markdown+=`${t} `}addRowIfNew(e){let t=this.makeRowText(e);this._markdown.includes(t)||(this._markdown+=`${t} -`)}makeRowText(e){let t="|";return e.forEach(n=>{t+=` ${n} |`}),t}};function yk(r,e){return r.findIndex(t=>t.symbol===e)}function Nn(r){return r===""?r:"`"+(r!==" "?r:"space")+"`"}function _F(r,e){let t=ne.getTypeForUnknownSymbol(r.symbol);r.type!==t&&(t==="TODO"&&r.symbol!==" "||e.push(`For information, the conventional type for status symbol ${Nn(r.symbol)} is ${Nn(t)}: you may wish to review this type.`))}function vF(r,e,t){let n=yk(r,e.nextStatusSymbol);if(n===-1){t.push(`Next symbol ${Nn(e.nextStatusSymbol)} is unknown: create a status with symbol ${Nn(e.nextStatusSymbol)}.`);return}if(e.type!=="DONE")return;let i=r[n];if(i){if(i.type!=="TODO"&&i.type!=="IN_PROGRESS"){let s="https://publish.obsidian.md/tasks/Getting+Started/Statuses/Recurring+Tasks+and+Custom+Statuses",a=[`This \`DONE\` status is followed by ${Nn(i.type)}, not \`TODO\` or \`IN_PROGRESS\`.`,"If used to complete a recurring task, it will instead be followed by `TODO` or `IN_PROGRESS`, to ensure the next task matches the `not done` filter.",`See [Recurring Tasks and Custom Statuses](${s}).`].join("
");t.push(a)}}else t.push("Unexpected failure to find the next status.")}function wF(r,e,t){let n=[];return e.symbol===ne.EMPTY.symbol?(n.push("Empty symbol: this status will be ignored."),n):yk(r,e.symbol)!=t?(n.push(`Duplicate symbol '${Nn(e.symbol)}': this status will be ignored.`),n):(_F(e,n),vF(r,e,n),n)}function bk(r){let e=new ic(["Status Symbol","Next Status Symbol","Status Name","Status Type","Problems (if any)"]),t=Le.allStatuses(r);return t.forEach((n,i)=>{e.addRow([Nn(n.symbol),Nn(n.nextStatusSymbol),n.name,Nn(n.type),wF(t,n,i).join("
")])}),e.markdown}function Tk(r,e,t,n){let s=bk(r),a=e.mermaidDiagram(!0);return`# ${t} +`)}makeRowText(e){let t="|";return e.forEach(n=>{t+=` ${n} |`}),t}};function bk(r,e){return r.findIndex(t=>t.symbol===e)}function Nn(r){return r===""?r:"`"+(r!==" "?r:"space")+"`"}function _F(r,e){let t=ne.getTypeForUnknownSymbol(r.symbol);r.type!==t&&(t==="TODO"&&r.symbol!==" "||e.push(`For information, the conventional type for status symbol ${Nn(r.symbol)} is ${Nn(t)}: you may wish to review this type.`))}function vF(r,e,t){let n=bk(r,e.nextStatusSymbol);if(n===-1){t.push(`Next symbol ${Nn(e.nextStatusSymbol)} is unknown: create a status with symbol ${Nn(e.nextStatusSymbol)}.`);return}if(e.type!=="DONE")return;let i=r[n];if(i){if(i.type!=="TODO"&&i.type!=="IN_PROGRESS"){let s="https://publish.obsidian.md/tasks/Getting+Started/Statuses/Recurring+Tasks+and+Custom+Statuses",a=[`This \`DONE\` status is followed by ${Nn(i.type)}, not \`TODO\` or \`IN_PROGRESS\`.`,"If used to complete a recurring task, it will instead be followed by `TODO` or `IN_PROGRESS`, to ensure the next task matches the `not done` filter.",`See [Recurring Tasks and Custom Statuses](${s}).`].join("
");t.push(a)}}else t.push("Unexpected failure to find the next status.")}function wF(r,e,t){let n=[];return e.symbol===ne.EMPTY.symbol?(n.push("Empty symbol: this status will be ignored."),n):bk(r,e.symbol)!=t?(n.push(`Duplicate symbol '${Nn(e.symbol)}': this status will be ignored.`),n):(_F(e,n),vF(r,e,n),n)}function Tk(r){let e=new ic(["Status Symbol","Next Status Symbol","Status Name","Status Type","Problems (if any)"]),t=Le.allStatuses(r);return t.forEach((n,i)=>{e.addRow([Nn(n.symbol),Nn(n.nextStatusSymbol),n.name,Nn(n.type),wF(t,n,i).join("
")])}),e.markdown}function _k(r,e,t,n){let s=Tk(r),a=e.mermaidDiagram(!0);return`# ${t} ## About this file @@ -352,24 +352,23 @@ ${s} These are the settings actually used by Tasks. -${a}`}function _k(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],["?","Question","x","TODO"],["*","Star","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["i","Information","x","TODO"],["I","Idea","x","TODO"],["S","Amount","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["b","Bookmark","x","TODO"],['"',"Quote","x","TODO"],["0","Speech bubble 0","0","NON_TASK"],["1","Speech bubble 1","1","NON_TASK"],["2","Speech bubble 2","2","NON_TASK"],["3","Speech bubble 3","3","NON_TASK"],["4","Speech bubble 4","4","NON_TASK"],["5","Speech bubble 5","5","NON_TASK"],["6","Speech bubble 6","6","NON_TASK"],["7","Speech bubble 7","7","NON_TASK"],["8","Speech bubble 8","8","NON_TASK"],["9","Speech bubble 9","9","NON_TASK"]]}function vk(){return[[" ","incomplete","x","TODO"],["x","complete / done"," ","DONE"],["-","cancelled"," ","CANCELLED"],[">","deferred","x","TODO"],["/","in progress, or half-done","x","IN_PROGRESS"],["!","Important","x","TODO"],["?","question","x","TODO"],["R","review","x","TODO"],["+","Inbox / task that should be processed later","x","TODO"],["b","bookmark","x","TODO"],["B","brainstorm","x","TODO"],["D","deferred or scheduled","x","TODO"],["I","Info","x","TODO"],["i","idea","x","TODO"],["N","note","x","TODO"],["Q","quote","x","TODO"],["W","win / success / reward","x","TODO"],["P","pro","x","TODO"],["C","con","x","TODO"]]}function wk(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],[">","Deferred","x","TODO"],["!","Important","x","TODO"],["?","Question","x","TODO"],["r","Review","x","TODO"]]}function kk(){return[[" ","Unchecked","x","TODO"],["x","Regular"," ","DONE"],["X","Checked"," ","DONE"],["-","Dropped"," ","CANCELLED"],[">","Forward","x","TODO"],["D","Date","x","TODO"],["?","Question","x","TODO"],["/","Half Done","x","IN_PROGRESS"],["+","Add","x","TODO"],["R","Research","x","TODO"],["!","Important","x","TODO"],["i","Idea","x","TODO"],["B","Brainstorm","x","TODO"],["P","Pro","x","TODO"],["C","Con","x","TODO"],["Q","Quote","x","TODO"],["N","Note","x","TODO"],["b","Bookmark","x","TODO"],["I","Information","x","TODO"],["p","Paraphrase","x","TODO"],["L","Location","x","TODO"],["E","Example","x","TODO"],["A","Answer","x","TODO"],["r","Reward","x","TODO"],["c","Choice","x","TODO"],["d","Doing","x","IN_PROGRESS"],["T","Time","x","TODO"],["@","Character / Person","x","TODO"],["t","Talk","x","TODO"],["O","Outline / Plot","x","TODO"],["~","Conflict","x","TODO"],["W","World","x","TODO"],["f","Clue / Find","x","TODO"],["F","Foreshadow","x","TODO"],["H","Favorite / Health","x","TODO"],["&","Symbolism","x","TODO"],["s","Secret","x","TODO"]]}function Ek(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],["?","Question","x","TODO"],["*","Star","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["i","Information","x","TODO"],["I","Idea","x","TODO"],["S","Amount","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["b","Bookmark","x","TODO"],["f","Fire","x","TODO"],["k","Key","x","TODO"],["w","Win","x","TODO"],["u","Up","x","TODO"],["d","Down","x","TODO"]]}function Sk(){return[[" ","to-do","x","TODO"],["/","incomplete","x","IN_PROGRESS"],["x","done"," ","DONE"],["-","canceled"," ","CANCELLED"],[">","forwarded","x","TODO"],["<","scheduling","x","TODO"],["?","question","x","TODO"],["!","important","x","TODO"],["*","star","x","TODO"],['"',"quote","x","TODO"],["l","location","x","TODO"],["b","bookmark","x","TODO"],["i","information","x","TODO"],["S","savings","x","TODO"],["I","idea","x","TODO"],["p","pros","x","TODO"],["c","cons","x","TODO"],["f","fire","x","TODO"],["k","key","x","TODO"],["w","win","x","TODO"],["u","up","x","TODO"],["d","down","x","TODO"]]}function Ok(){return[[" ","to-do","x","TODO"],["/","incomplete","x","IN_PROGRESS"],["x","done"," ","DONE"],["-","canceled"," ","CANCELLED"],[">","forwarded","x","TODO"],["<","scheduling","x","TODO"],["?","question","x","TODO"],["!","important","x","TODO"],["*","star","x","TODO"],['"',"quote","x","TODO"],["l","location","x","TODO"],["b","bookmark","x","TODO"],["i","information","x","TODO"],["S","savings","x","TODO"],["I","idea","x","TODO"],["p","pros","x","TODO"],["c","cons","x","TODO"],["f","fire","x","TODO"],["k","key","x","TODO"],["w","win","x","TODO"],["u","up","x","TODO"],["d","down","x","TODO"]]}var Dk=[{text:"Core Statuses",level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:"

These are the core statuses that Tasks supports natively, with no need for custom CSS styling or theming.

You can add edit and add your own custom statuses in the section below.

"},settings:[{name:"",description:"",type:"function",initialValue:"",placeholder:"",settingName:"insertTaskCoreStatusSettings",featureFlag:"",notice:null}]},{text:"Custom Statuses",level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:`

You should first select and install a CSS Snippet or Theme to style custom checkboxes.

Then, use the buttons below to set up your custom statuses, to match your chosen CSS checkboxes.

Note Any statuses with the same symbol as any earlier statuses will be ignored. You can confirm the actually loaded statuses by running the 'Create or edit task' command and looking at the Status drop-down.

See the documentation to get started!

`},settings:[{name:"",description:"",type:"function",initialValue:"",placeholder:"",settingName:"insertCustomTaskStatusSettings",featureFlag:"",notice:null}]}];var Ir=require("obsidian");var $i=class{validate(e){let t=[];return t.push(...this.validateSymbol(e)),t.push(...this.validateName(e)),t.push(...this.validateNextSymbol(e)),t}validateStatusCollectionEntry(e){let[t,n,i,s]=e,a=[];if(a.push(...this.validateType(s)),t===i&&s!=="NON_TASK"&&a.push(`Status symbol '${t}' toggles to itself`),a.length>0)return a;let o=ne.createFromImportedValue(e).configuration;return a.push(...this.validateSymbolTypeConventions(o)),a.push(...this.validate(o)),a}validateSymbol(e){return $i.validateOneSymbol(e.symbol,"Task Status Symbol")}validateNextSymbol(e){return $i.validateOneSymbol(e.nextStatusSymbol,"Task Next Status Symbol")}validateName(e){let t=[];return e.name.length===0&&t.push("Task Status Name cannot be empty."),t}validateType(e){let t=zt[e],n=[];return t||n.push(`Status Type "${e}" is not a valid type`),t=="EMPTY"&&n.push('Status Type "EMPTY" is not permitted in user data'),n}validateSymbolTypeConventions(e){let t=[],n=e.symbol,i=new De,s=n==="X"?"x":n,a=i.bySymbol(s);return a.type!=="EMPTY"&&(e.nextStatusSymbol!==a.nextStatusSymbol&&t.push(`Next Status Symbol for symbol '${n}': '${e.nextStatusSymbol}' is inconsistent with convention '${a.nextStatusSymbol}'`),e.type!==a.type&&t.push(`Status Type for symbol '${n}': '${e.type}' is inconsistent with convention '${a.type}'`)),t}static validateOneSymbol(e,t){let n=[];return e.length===0&&n.push(`${t} cannot be empty.`),e.length>1&&n.push(`${t} ("${e}") must be a single character.`),n}};var ji=new $i,tr=class extends Ir.Modal{constructor(t,n,i){super(t.app);this.plugin=t;this.saved=!1;this.error=!1;this.statusSymbol=n.symbol,this.statusName=n.name,this.statusNextSymbol=n.nextStatusSymbol,this.statusAvailableAsCommand=n.availableAsCommand,this.type=n.type,this.isCoreStatus=i}statusConfiguration(){return new Ke(this.statusSymbol,this.statusName,this.statusNextSymbol,this.statusAvailableAsCommand,this.type)}display(){return P(this,null,function*(){let{contentEl:t}=this;t.empty();let n=t.createDiv(),i;new Ir.Setting(n).setName("Task Status Symbol").setDesc("This is the character between the square braces. (It can only be edited for Custom statuses, and not Core statuses.)").addText(l=>{i=l,l.setValue(this.statusSymbol).onChange(c=>{this.statusSymbol=c,tr.setValid(l,ji.validateSymbol(this.statusConfiguration()))})}).setDisabled(this.isCoreStatus).then(l=>{tr.setValid(i,ji.validateSymbol(this.statusConfiguration()))});let s;new Ir.Setting(n).setName("Task Status Name").setDesc("This is the friendly name of the task status.").addText(l=>{s=l,l.setValue(this.statusName).onChange(c=>{this.statusName=c,tr.setValid(l,ji.validateName(this.statusConfiguration()))})}).then(l=>{tr.setValid(s,ji.validateName(this.statusConfiguration()))});let a;new Ir.Setting(n).setName("Task Next Status Symbol").setDesc("When clicked on this is the symbol that should be used next.").addText(l=>{a=l,l.setValue(this.statusNextSymbol).onChange(c=>{this.statusNextSymbol=c,tr.setValid(l,ji.validateNextSymbol(this.statusConfiguration()))})}).then(l=>{tr.setValid(a,ji.validateNextSymbol(this.statusConfiguration()))}),new Ir.Setting(n).setName("Task Status Type").setDesc("Control how the status behaves for searching and toggling.").addDropdown(l=>{["TODO","IN_PROGRESS","DONE","CANCELLED","NON_TASK"].forEach(d=>{l.addOption(d,d)}),l.setValue(this.type).onChange(d=>{this.type=ne.getTypeFromStatusTypeString(d)})}),ne.tasksPluginCanCreateCommandsForStatuses()&&new Ir.Setting(n).setName("Available as command").setDesc("If enabled this status will be available as a command so you can assign a hotkey and toggle the status using it.").addToggle(l=>{l.setValue(this.statusAvailableAsCommand).onChange(c=>P(this,null,function*(){this.statusAvailableAsCommand=c}))});let o=t.createDiv(),u=new Ir.Setting(o);u.addButton(l=>(l.setTooltip("Save").setIcon("checkmark").onClick(()=>P(this,null,function*(){let c=ji.validate(this.statusConfiguration());if(c.length>0){let d=c.join(` +${a}`}function vk(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],["?","Question","x","TODO"],["*","Star","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["i","Information","x","TODO"],["I","Idea","x","TODO"],["S","Amount","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["b","Bookmark","x","TODO"],['"',"Quote","x","TODO"],["0","Speech bubble 0","0","NON_TASK"],["1","Speech bubble 1","1","NON_TASK"],["2","Speech bubble 2","2","NON_TASK"],["3","Speech bubble 3","3","NON_TASK"],["4","Speech bubble 4","4","NON_TASK"],["5","Speech bubble 5","5","NON_TASK"],["6","Speech bubble 6","6","NON_TASK"],["7","Speech bubble 7","7","NON_TASK"],["8","Speech bubble 8","8","NON_TASK"],["9","Speech bubble 9","9","NON_TASK"]]}function wk(){return[[" ","incomplete","x","TODO"],["x","complete / done"," ","DONE"],["-","cancelled"," ","CANCELLED"],[">","deferred","x","TODO"],["/","in progress, or half-done","x","IN_PROGRESS"],["!","Important","x","TODO"],["?","question","x","TODO"],["R","review","x","TODO"],["+","Inbox / task that should be processed later","x","TODO"],["b","bookmark","x","TODO"],["B","brainstorm","x","TODO"],["D","deferred or scheduled","x","TODO"],["I","Info","x","TODO"],["i","idea","x","TODO"],["N","note","x","TODO"],["Q","quote","x","TODO"],["W","win / success / reward","x","TODO"],["P","pro","x","TODO"],["C","con","x","TODO"]]}function kk(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],[">","Deferred","x","TODO"],["!","Important","x","TODO"],["?","Question","x","TODO"],["r","Review","x","TODO"]]}function Ek(){return[[" ","Unchecked","x","TODO"],["x","Regular"," ","DONE"],["X","Checked"," ","DONE"],["-","Dropped"," ","CANCELLED"],[">","Forward","x","TODO"],["D","Date","x","TODO"],["?","Question","x","TODO"],["/","Half Done","x","IN_PROGRESS"],["+","Add","x","TODO"],["R","Research","x","TODO"],["!","Important","x","TODO"],["i","Idea","x","TODO"],["B","Brainstorm","x","TODO"],["P","Pro","x","TODO"],["C","Con","x","TODO"],["Q","Quote","x","TODO"],["N","Note","x","TODO"],["b","Bookmark","x","TODO"],["I","Information","x","TODO"],["p","Paraphrase","x","TODO"],["L","Location","x","TODO"],["E","Example","x","TODO"],["A","Answer","x","TODO"],["r","Reward","x","TODO"],["c","Choice","x","TODO"],["d","Doing","x","IN_PROGRESS"],["T","Time","x","TODO"],["@","Character / Person","x","TODO"],["t","Talk","x","TODO"],["O","Outline / Plot","x","TODO"],["~","Conflict","x","TODO"],["W","World","x","TODO"],["f","Clue / Find","x","TODO"],["F","Foreshadow","x","TODO"],["H","Favorite / Health","x","TODO"],["&","Symbolism","x","TODO"],["s","Secret","x","TODO"]]}function Sk(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],["?","Question","x","TODO"],["*","Star","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["i","Information","x","TODO"],["I","Idea","x","TODO"],["S","Amount","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["b","Bookmark","x","TODO"],["f","Fire","x","TODO"],["k","Key","x","TODO"],["w","Win","x","TODO"],["u","Up","x","TODO"],["d","Down","x","TODO"]]}function Ok(){return[[" ","to-do","x","TODO"],["/","incomplete","x","IN_PROGRESS"],["x","done"," ","DONE"],["-","canceled"," ","CANCELLED"],[">","forwarded","x","TODO"],["<","scheduling","x","TODO"],["?","question","x","TODO"],["!","important","x","TODO"],["*","star","x","TODO"],['"',"quote","x","TODO"],["l","location","x","TODO"],["b","bookmark","x","TODO"],["i","information","x","TODO"],["S","savings","x","TODO"],["I","idea","x","TODO"],["p","pros","x","TODO"],["c","cons","x","TODO"],["f","fire","x","TODO"],["k","key","x","TODO"],["w","win","x","TODO"],["u","up","x","TODO"],["d","down","x","TODO"]]}function Dk(){return[[" ","to-do","x","TODO"],["/","incomplete","x","IN_PROGRESS"],["x","done"," ","DONE"],["-","canceled"," ","CANCELLED"],[">","forwarded","x","TODO"],["<","scheduling","x","TODO"],["?","question","x","TODO"],["!","important","x","TODO"],["*","star","x","TODO"],['"',"quote","x","TODO"],["l","location","x","TODO"],["b","bookmark","x","TODO"],["i","information","x","TODO"],["S","savings","x","TODO"],["I","idea","x","TODO"],["p","pros","x","TODO"],["c","cons","x","TODO"],["f","fire","x","TODO"],["k","key","x","TODO"],["w","win","x","TODO"],["u","up","x","TODO"],["d","down","x","TODO"]]}var xk=[{text:"Core Statuses",level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:"

These are the core statuses that Tasks supports natively, with no need for custom CSS styling or theming.

You can add edit and add your own custom statuses in the section below.

"},settings:[{name:"",description:"",type:"function",initialValue:"",placeholder:"",settingName:"insertTaskCoreStatusSettings",featureFlag:"",notice:null}]},{text:"Custom Statuses",level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:`

You should first select and install a CSS Snippet or Theme to style custom checkboxes.

Then, use the buttons below to set up your custom statuses, to match your chosen CSS checkboxes.

Note Any statuses with the same symbol as any earlier statuses will be ignored. You can confirm the actually loaded statuses by running the 'Create or edit task' command and looking at the Status drop-down.

See the documentation to get started!

`},settings:[{name:"",description:"",type:"function",initialValue:"",placeholder:"",settingName:"insertCustomTaskStatusSettings",featureFlag:"",notice:null}]}];var Ir=require("obsidian");var $i=class{validate(e){let t=[];return t.push(...this.validateSymbol(e)),t.push(...this.validateName(e)),t.push(...this.validateNextSymbol(e)),t}validateStatusCollectionEntry(e){let[t,n,i,s]=e,a=[];if(a.push(...this.validateType(s)),t===i&&s!=="NON_TASK"&&a.push(`Status symbol '${t}' toggles to itself`),a.length>0)return a;let o=ne.createFromImportedValue(e).configuration;return a.push(...this.validateSymbolTypeConventions(o)),a.push(...this.validate(o)),a}validateSymbol(e){return $i.validateOneSymbol(e.symbol,"Task Status Symbol")}validateNextSymbol(e){return $i.validateOneSymbol(e.nextStatusSymbol,"Task Next Status Symbol")}validateName(e){let t=[];return e.name.length===0&&t.push("Task Status Name cannot be empty."),t}validateType(e){let t=zt[e],n=[];return t||n.push(`Status Type "${e}" is not a valid type`),t=="EMPTY"&&n.push('Status Type "EMPTY" is not permitted in user data'),n}validateSymbolTypeConventions(e){let t=[],n=e.symbol,i=new De,s=n==="X"?"x":n,a=i.bySymbol(s);return a.type!=="EMPTY"&&(e.nextStatusSymbol!==a.nextStatusSymbol&&t.push(`Next Status Symbol for symbol '${n}': '${e.nextStatusSymbol}' is inconsistent with convention '${a.nextStatusSymbol}'`),e.type!==a.type&&t.push(`Status Type for symbol '${n}': '${e.type}' is inconsistent with convention '${a.type}'`)),t}static validateOneSymbol(e,t){let n=[];return e.length===0&&n.push(`${t} cannot be empty.`),e.length>1&&n.push(`${t} ("${e}") must be a single character.`),n}};var ji=new $i,tr=class extends Ir.Modal{constructor(t,n,i){super(t.app);this.plugin=t;this.saved=!1;this.error=!1;this.statusSymbol=n.symbol,this.statusName=n.name,this.statusNextSymbol=n.nextStatusSymbol,this.statusAvailableAsCommand=n.availableAsCommand,this.type=n.type,this.isCoreStatus=i}statusConfiguration(){return new Ke(this.statusSymbol,this.statusName,this.statusNextSymbol,this.statusAvailableAsCommand,this.type)}display(){return P(this,null,function*(){let{contentEl:t}=this;t.empty();let n=t.createDiv(),i;new Ir.Setting(n).setName("Task Status Symbol").setDesc("This is the character between the square braces. (It can only be edited for Custom statuses, and not Core statuses.)").addText(l=>{i=l,l.setValue(this.statusSymbol).onChange(c=>{this.statusSymbol=c,tr.setValid(l,ji.validateSymbol(this.statusConfiguration()))})}).setDisabled(this.isCoreStatus).then(l=>{tr.setValid(i,ji.validateSymbol(this.statusConfiguration()))});let s;new Ir.Setting(n).setName("Task Status Name").setDesc("This is the friendly name of the task status.").addText(l=>{s=l,l.setValue(this.statusName).onChange(c=>{this.statusName=c,tr.setValid(l,ji.validateName(this.statusConfiguration()))})}).then(l=>{tr.setValid(s,ji.validateName(this.statusConfiguration()))});let a;new Ir.Setting(n).setName("Task Next Status Symbol").setDesc("When clicked on this is the symbol that should be used next.").addText(l=>{a=l,l.setValue(this.statusNextSymbol).onChange(c=>{this.statusNextSymbol=c,tr.setValid(l,ji.validateNextSymbol(this.statusConfiguration()))})}).then(l=>{tr.setValid(a,ji.validateNextSymbol(this.statusConfiguration()))}),new Ir.Setting(n).setName("Task Status Type").setDesc("Control how the status behaves for searching and toggling.").addDropdown(l=>{["TODO","IN_PROGRESS","DONE","CANCELLED","NON_TASK"].forEach(d=>{l.addOption(d,d)}),l.setValue(this.type).onChange(d=>{this.type=ne.getTypeFromStatusTypeString(d)})}),ne.tasksPluginCanCreateCommandsForStatuses()&&new Ir.Setting(n).setName("Available as command").setDesc("If enabled this status will be available as a command so you can assign a hotkey and toggle the status using it.").addToggle(l=>{l.setValue(this.statusAvailableAsCommand).onChange(c=>P(this,null,function*(){this.statusAvailableAsCommand=c}))});let o=t.createDiv(),u=new Ir.Setting(o);u.addButton(l=>(l.setTooltip("Save").setIcon("checkmark").onClick(()=>P(this,null,function*(){let c=ji.validate(this.statusConfiguration());if(c.length>0){let d=c.join(` `)+` Fix errors before saving.`;new Ir.Notice(d);return}this.saved=!0,this.close()})),l)),u.addExtraButton(l=>(l.setIcon("cross").setTooltip("Cancel").onClick(()=>{this.saved=!1,this.close()}),l))})}onOpen(){this.display()}static setValidationError(t){t.inputEl.addClass("tasks-settings-is-invalid")}static removeValidationError(t){t.inputEl.removeClass("tasks-settings-is-invalid")}static setValid(t,n){n.length===0?tr.removeValidationError(t):tr.setValidationError(t)}};var Wt=class extends Ee.PluginSettingTab{constructor({plugin:t}){super(t.app,t);this.customFunctions={insertTaskCoreStatusSettings:this.insertTaskCoreStatusSettings.bind(this),insertCustomTaskStatusSettings:this.insertCustomTaskStatusSettings.bind(this)};this.plugin=t}saveSettings(t){return P(this,null,function*(){yield this.plugin.saveSettings(),t&&this.display()})}display(){let{containerEl:t}=this;t.empty(),this.containerEl.addClass("tasks-settings"),t.createEl("h3",{text:"Tasks Settings"}),t.createEl("p",{cls:"tasks-setting-important",text:"Changing any settings requires a restart of obsidian."}),t.createEl("h4",{text:"Task Format Settings"}),new Ee.Setting(t).setName("Task Format").setDesc(Wt.createFragmentWithHTML('

The format that Tasks uses to read and write tasks.

Important: Tasks currently only supports one format at a time. Selecting Dataview will currently stop Tasks reading its own emoji signifiers.

See the documentation.

')).addDropdown(i=>{for(let s of Object.keys(Dr))i.addOption(s,Dr[s].displayName);i.setValue(Z().taskFormat).onChange(s=>P(this,null,function*(){Qe({taskFormat:s}),yield this.plugin.saveSettings()}))}),t.createEl("h4",{text:"Global filter Settings"}),new Ee.Setting(t).setName("Global task filter").setDesc(Wt.createFragmentWithHTML('

Recommended: Leave empty if you want all checklist items in your vault to be tasks managed by this plugin.

Use a global filter if you want Tasks to only act on a subset of your "- [ ]" checklist items, so that a checklist item must include the specified string in its description in order to be considered a task.

For example, if you set the global filter to #task, the Tasks plugin will only handle checklist items tagged with #task.
Other checklist items will remain normal checklist items and not appear in queries or get a done date set.

See the documentation.

')).addText(i=>{i.setPlaceholder("e.g. #task or TODO").setValue(_e.getInstance().get()).onChange(s=>P(this,null,function*(){Qe({globalFilter:s}),_e.getInstance().set(s),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Remove global filter from description").setDesc("Enabling this removes the string that you set as global filter from the task description when displaying a task.").addToggle(i=>{let s=Z();i.setValue(s.removeGlobalFilter).onChange(a=>P(this,null,function*(){Qe({removeGlobalFilter:a}),_e.getInstance().setRemoveGlobalFilter(a),yield this.plugin.saveSettings()}))}),t.createEl("h4",{text:"Global Query"}),OF(new Ee.Setting(t).setDesc(Wt.createFragmentWithHTML('

A query that is automatically included at the start of every Tasks block in the vault. Useful for adding default filters, or layout options.

See the documentation.

')).addTextArea(i=>{let s=Z();i.inputEl.rows=4,i.setPlaceholder(`# For example... path does not include _templates/ limit 300 -show urgency`).setValue(s.globalQuery).onChange(a=>P(this,null,function*(){Qe({globalQuery:a}),Tr.getInstance().set(a),yield this.plugin.saveSettings()}))})),t.createEl("h4",{text:"Task Statuses"});let{headingOpened:n}=Z();Dk.forEach(i=>{this.addOneSettingsBlock(t,i,n)}),t.createEl("h4",{text:"Date Settings"}),new Ee.Setting(t).setName("Set created date on every added task").setDesc(Wt.createFragmentWithHTML(`Enabling this will add a timestamp \u2795 YYYY-MM-DD before other date values, when a task is created with 'Create or edit task', or by completing a recurring task.

See the documentation.

`)).addToggle(i=>{let s=Z();i.setValue(s.setCreatedDate).onChange(a=>P(this,null,function*(){Qe({setCreatedDate:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Set done date on every completed task").setDesc(Wt.createFragmentWithHTML('Enabling this will add a timestamp \u2705 YYYY-MM-DD at the end when a task is toggled to done.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.setDoneDate).onChange(a=>P(this,null,function*(){Qe({setDoneDate:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Set cancelled date on every cancelled task").setDesc(Wt.createFragmentWithHTML('Enabling this will add a timestamp \u274C YYYY-MM-DD at the end when a task is toggled to cancelled.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.setCancelledDate).onChange(a=>P(this,null,function*(){Qe({setCancelledDate:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Use filename as Scheduled date for undated tasks").setDesc(Wt.createFragmentWithHTML('Save time entering Scheduled (\u23F3) dates.
If this option is enabled, any undated tasks will be given a default Scheduled date extracted from their file name.
The date in the file name must be in one of YYYY-MM-DD or YYYYMMDD formats.
Undated tasks have none of Due (\u{1F4C5} ), Scheduled (\u23F3) and Start (\u{1F6EB}) dates.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.useFilenameAsScheduledDate).onChange(a=>P(this,null,function*(){Qe({useFilenameAsScheduledDate:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Folders with default Scheduled dates").setDesc("Leave empty if you want to use default Scheduled dates everywhere, or enter a comma-separated list of folders.").addText(i=>P(this,null,function*(){let s=Z();yield this.plugin.saveSettings(),i.setValue(Wt.renderFolderArray(s.filenameAsDateFolders)).onChange(a=>P(this,null,function*(){let o=Wt.parseCommaSeparatedFolders(a);Qe({filenameAsDateFolders:o}),yield this.plugin.saveSettings()}))})),t.createEl("h4",{text:"Recurring task Settings"}),new Ee.Setting(t).setName("Next recurrence appears on the line below").setDesc(Wt.createFragmentWithHTML('Enabling this will make the next recurrence of a task appear on the line below the completed task. Otherwise the next recurrence will appear before the completed one.

See the documentation.

')).addToggle(i=>{let{recurrenceOnNextLine:s}=Z();i.setValue(s).onChange(a=>P(this,null,function*(){Qe({recurrenceOnNextLine:a}),yield this.plugin.saveSettings()}))}),t.createEl("h4",{text:"Auto-suggest Settings"}),new Ee.Setting(t).setName("Auto-suggest task content").setDesc(Wt.createFragmentWithHTML('Enabling this will open an intelligent suggest menu while typing inside a recognized task line.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.autoSuggestInEditor).onChange(a=>P(this,null,function*(){Qe({autoSuggestInEditor:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Minimum match length for auto-suggest").setDesc("If higher than 0, auto-suggest will be triggered only when the beginning of any supported keywords is recognized.").addSlider(i=>{let s=Z();i.setLimits(0,3,1).setValue(s.autoSuggestMinMatch).setDynamicTooltip().onChange(a=>P(this,null,function*(){Qe({autoSuggestMinMatch:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Maximum number of auto-suggestions to show").setDesc('How many suggestions should be shown when an auto-suggest menu pops up (including the "\u23CE" option).').addSlider(i=>{let s=Z();i.setLimits(3,12,1).setValue(s.autoSuggestMaxItems).setDynamicTooltip().onChange(a=>P(this,null,function*(){Qe({autoSuggestMaxItems:a}),yield this.plugin.saveSettings()}))}),t.createEl("h4",{text:"Dialog Settings"}),new Ee.Setting(t).setName("Provide access keys in dialogs").setDesc(Wt.createFragmentWithHTML('If the access keys (keyboard shortcuts) for various controls in dialog boxes conflict with system keyboard shortcuts or assistive technology functionality that is important for you, you may want to deactivate them here.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.provideAccessKeys).onChange(a=>P(this,null,function*(){Qe({provideAccessKeys:a}),yield this.plugin.saveSettings()}))})}addOneSettingsBlock(t,n,i){let s=t.createEl("details",{cls:"tasks-nested-settings",attr:K({},n.open||i[n.text]?{open:!0}:{})});s.empty(),s.ontoggle=()=>{i[n.text]=s.open,Qe({headingOpened:i}),this.plugin.saveSettings()};let a=s.createEl("summary");if(new Ee.Setting(a).setHeading().setName(n.text),a.createDiv("collapser").createDiv("handle"),n.notice!==null){let o=s.createEl("div",{cls:n.notice.class,text:n.notice.text});n.notice.html!==null&&o.insertAdjacentHTML("beforeend",n.notice.html)}n.settings.forEach(o=>{if(!(o.featureFlag!==""&&!hv(o.featureFlag))&&(o.type==="checkbox"?new Ee.Setting(s).setName(o.name).setDesc(o.description).addToggle(u=>{let l=Z();l.generalSettings[o.settingName]||Oi(o.settingName,o.initialValue),u.setValue(l.generalSettings[o.settingName]).onChange(c=>P(this,null,function*(){Oi(o.settingName,c),yield this.plugin.saveSettings()}))}):o.type==="text"?new Ee.Setting(s).setName(o.name).setDesc(o.description).addText(u=>{let l=Z();l.generalSettings[o.settingName]||Oi(o.settingName,o.initialValue);let c=d=>P(this,null,function*(){Oi(o.settingName,d),yield this.plugin.saveSettings()});u.setPlaceholder(o.placeholder.toString()).setValue(l.generalSettings[o.settingName].toString()).onChange((0,Ee.debounce)(c,500,!0))}):o.type==="textarea"?new Ee.Setting(s).setName(o.name).setDesc(o.description).addTextArea(u=>{let l=Z();l.generalSettings[o.settingName]||Oi(o.settingName,o.initialValue);let c=d=>P(this,null,function*(){Oi(o.settingName,d),yield this.plugin.saveSettings()});u.setPlaceholder(o.placeholder.toString()).setValue(l.generalSettings[o.settingName].toString()).onChange((0,Ee.debounce)(c,500,!0)),u.inputEl.rows=8,u.inputEl.cols=40}):o.type==="function"&&this.customFunctions[o.settingName](s,this),o.notice!==null)){let u=s.createEl("p",{cls:o.notice.class,text:o.notice.text});o.notice.html!==null&&u.insertAdjacentHTML("beforeend",o.notice.html)}})}static parseCommaSeparatedFolders(t){return t.split(",").map(n=>n.trim()).map(n=>n.replace(/^\/|\/$/g,"")).filter(n=>n!=="")}static renderFolderArray(t){return t.join(",")}insertTaskCoreStatusSettings(t,n){let{statusSettings:i}=Z();i.coreStatuses.forEach(a=>{xk(t,a,i.coreStatuses,i,n,n.plugin,!0)}),new Ee.Setting(t).addButton(a=>{let o="Review and check your Statuses";a.setButtonText(o).setCta().onClick(()=>P(this,null,function*(){let l=window.moment().format("YYYY-MM-DD HH-mm-ss"),c=`Tasks Plugin - ${o} ${l}.md`,d=this.plugin.manifest.version,f=De.getInstance(),m=Tk(i,f,o,d),y=yield app.vault.create(c,m);yield this.app.workspace.getLeaf(!0).openFile(y)})),a.setTooltip("Create a new file in the root of the vault, containing a Mermaid diagram of the current status settings.")}).infoEl.remove()}insertCustomTaskStatusSettings(t,n){let{statusSettings:i}=Z();i.customStatuses.forEach(l=>{xk(t,l,i.customStatuses,i,n,n.plugin,!1)}),t.createEl("div"),new Ee.Setting(t).addButton(l=>{l.setButtonText("Add New Task Status").setCta().onClick(()=>P(this,null,function*(){Le.addStatus(i.customStatuses,new Ke("","","",!1,"TODO")),yield Vs(i,n)}))}).infoEl.remove();let a=[["AnuPpuccin Theme",_k()],["Aura Theme",vk()],["Ebullientworks Theme",wk()],["ITS Theme & SlRvb Checkboxes",kk()],["Minimal Theme",Sk()],["Things Theme",Ok()],["LYT Mode Theme (Dark mode only)",Ek()]];for(let[l,c]of a)new Ee.Setting(t).addButton(f=>{let m=`${l}: Add ${c.length} supported Statuses`;f.setButtonText(m).onClick(()=>P(this,null,function*(){yield SF(c,i,n)}))}).infoEl.remove();new Ee.Setting(t).addButton(l=>{l.setButtonText("Add All Unknown Status Types").setCta().onClick(()=>P(this,null,function*(){let d=this.plugin.getTasks().map(m=>m.status),f=De.getInstance().findUnknownStatuses(d);f.length!==0&&(f.forEach(m=>{Le.addStatus(i.customStatuses,m)}),yield Vs(i,n))}))}).infoEl.remove(),new Ee.Setting(t).addButton(l=>{l.setButtonText("Reset Custom Status Types to Defaults").setWarning().onClick(()=>P(this,null,function*(){Le.resetAllCustomStatuses(i),yield Vs(i,n)}))}).infoEl.remove()}},qo=Wt;qo.createFragmentWithHTML=t=>createFragment(n=>n.createDiv().innerHTML=t);function xk(r,e,t,n,i,s,a){let o=r.createEl("pre");o.addClass("row-for-status"),o.textContent=new ne(e).previewText();let u=new Ee.Setting(r);u.infoEl.replaceWith(o),a||u.addExtraButton(l=>{l.setIcon("cross").setTooltip("Delete").onClick(()=>P(this,null,function*(){Le.deleteStatus(t,e)&&(yield Vs(n,i))}))}),u.addExtraButton(l=>{l.setIcon("pencil").setTooltip("Edit").onClick(()=>P(this,null,function*(){let c=new tr(s,e,a);c.onClose=()=>P(this,null,function*(){c.saved&&Le.replaceStatus(t,e,c.statusConfiguration())&&(yield Vs(n,i))}),c.open()}))}),u.infoEl.remove()}function SF(r,e,t){return P(this,null,function*(){Le.bulkAddStatusCollection(e,r).forEach(i=>{new Ee.Notice(i)}),yield Vs(e,t)})}function Vs(r,e){return P(this,null,function*(){Qe({statusSettings:r}),Le.applyToStatusRegistry(r,De.getInstance()),yield e.saveSettings(!0)})}function OF(r){let{settingEl:e,infoEl:t,controlEl:n}=r,i=n.querySelector("textarea");i!==null&&(e.style.display="block",t.style.marginRight="0px",i.style.minWidth="-webkit-fill-available")}var si=require("obsidian");function Rk(r){console.error(r),new si.Notice(r+` +show urgency`).setValue(s.globalQuery).onChange(a=>P(this,null,function*(){Qe({globalQuery:a}),Tr.getInstance().set(a),yield this.plugin.saveSettings()}))})),t.createEl("h4",{text:"Task Statuses"});let{headingOpened:n}=Z();xk.forEach(i=>{this.addOneSettingsBlock(t,i,n)}),t.createEl("h4",{text:"Date Settings"}),new Ee.Setting(t).setName("Set created date on every added task").setDesc(Wt.createFragmentWithHTML(`Enabling this will add a timestamp \u2795 YYYY-MM-DD before other date values, when a task is created with 'Create or edit task', or by completing a recurring task.

See the documentation.

`)).addToggle(i=>{let s=Z();i.setValue(s.setCreatedDate).onChange(a=>P(this,null,function*(){Qe({setCreatedDate:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Set done date on every completed task").setDesc(Wt.createFragmentWithHTML('Enabling this will add a timestamp \u2705 YYYY-MM-DD at the end when a task is toggled to done.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.setDoneDate).onChange(a=>P(this,null,function*(){Qe({setDoneDate:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Set cancelled date on every cancelled task").setDesc(Wt.createFragmentWithHTML('Enabling this will add a timestamp \u274C YYYY-MM-DD at the end when a task is toggled to cancelled.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.setCancelledDate).onChange(a=>P(this,null,function*(){Qe({setCancelledDate:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Use filename as Scheduled date for undated tasks").setDesc(Wt.createFragmentWithHTML('Save time entering Scheduled (\u23F3) dates.
If this option is enabled, any undated tasks will be given a default Scheduled date extracted from their file name.
The date in the file name must be in one of YYYY-MM-DD or YYYYMMDD formats.
Undated tasks have none of Due (\u{1F4C5} ), Scheduled (\u23F3) and Start (\u{1F6EB}) dates.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.useFilenameAsScheduledDate).onChange(a=>P(this,null,function*(){Qe({useFilenameAsScheduledDate:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Folders with default Scheduled dates").setDesc("Leave empty if you want to use default Scheduled dates everywhere, or enter a comma-separated list of folders.").addText(i=>P(this,null,function*(){let s=Z();yield this.plugin.saveSettings(),i.setValue(Wt.renderFolderArray(s.filenameAsDateFolders)).onChange(a=>P(this,null,function*(){let o=Wt.parseCommaSeparatedFolders(a);Qe({filenameAsDateFolders:o}),yield this.plugin.saveSettings()}))})),t.createEl("h4",{text:"Recurring task Settings"}),new Ee.Setting(t).setName("Next recurrence appears on the line below").setDesc(Wt.createFragmentWithHTML('Enabling this will make the next recurrence of a task appear on the line below the completed task. Otherwise the next recurrence will appear before the completed one.

See the documentation.

')).addToggle(i=>{let{recurrenceOnNextLine:s}=Z();i.setValue(s).onChange(a=>P(this,null,function*(){Qe({recurrenceOnNextLine:a}),yield this.plugin.saveSettings()}))}),t.createEl("h4",{text:"Auto-suggest Settings"}),new Ee.Setting(t).setName("Auto-suggest task content").setDesc(Wt.createFragmentWithHTML('Enabling this will open an intelligent suggest menu while typing inside a recognized task line.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.autoSuggestInEditor).onChange(a=>P(this,null,function*(){Qe({autoSuggestInEditor:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Minimum match length for auto-suggest").setDesc("If higher than 0, auto-suggest will be triggered only when the beginning of any supported keywords is recognized.").addSlider(i=>{let s=Z();i.setLimits(0,3,1).setValue(s.autoSuggestMinMatch).setDynamicTooltip().onChange(a=>P(this,null,function*(){Qe({autoSuggestMinMatch:a}),yield this.plugin.saveSettings()}))}),new Ee.Setting(t).setName("Maximum number of auto-suggestions to show").setDesc('How many suggestions should be shown when an auto-suggest menu pops up (including the "\u23CE" option).').addSlider(i=>{let s=Z();i.setLimits(3,20,1).setValue(s.autoSuggestMaxItems).setDynamicTooltip().onChange(a=>P(this,null,function*(){Qe({autoSuggestMaxItems:a}),yield this.plugin.saveSettings()}))}),t.createEl("h4",{text:"Dialog Settings"}),new Ee.Setting(t).setName("Provide access keys in dialogs").setDesc(Wt.createFragmentWithHTML('If the access keys (keyboard shortcuts) for various controls in dialog boxes conflict with system keyboard shortcuts or assistive technology functionality that is important for you, you may want to deactivate them here.

See the documentation.

')).addToggle(i=>{let s=Z();i.setValue(s.provideAccessKeys).onChange(a=>P(this,null,function*(){Qe({provideAccessKeys:a}),yield this.plugin.saveSettings()}))})}addOneSettingsBlock(t,n,i){let s=t.createEl("details",{cls:"tasks-nested-settings",attr:K({},n.open||i[n.text]?{open:!0}:{})});s.empty(),s.ontoggle=()=>{i[n.text]=s.open,Qe({headingOpened:i}),this.plugin.saveSettings()};let a=s.createEl("summary");if(new Ee.Setting(a).setHeading().setName(n.text),a.createDiv("collapser").createDiv("handle"),n.notice!==null){let o=s.createEl("div",{cls:n.notice.class,text:n.notice.text});n.notice.html!==null&&o.insertAdjacentHTML("beforeend",n.notice.html)}n.settings.forEach(o=>{if(!(o.featureFlag!==""&&!gv(o.featureFlag))&&(o.type==="checkbox"?new Ee.Setting(s).setName(o.name).setDesc(o.description).addToggle(u=>{let l=Z();l.generalSettings[o.settingName]||Oi(o.settingName,o.initialValue),u.setValue(l.generalSettings[o.settingName]).onChange(c=>P(this,null,function*(){Oi(o.settingName,c),yield this.plugin.saveSettings()}))}):o.type==="text"?new Ee.Setting(s).setName(o.name).setDesc(o.description).addText(u=>{let l=Z();l.generalSettings[o.settingName]||Oi(o.settingName,o.initialValue);let c=d=>P(this,null,function*(){Oi(o.settingName,d),yield this.plugin.saveSettings()});u.setPlaceholder(o.placeholder.toString()).setValue(l.generalSettings[o.settingName].toString()).onChange((0,Ee.debounce)(c,500,!0))}):o.type==="textarea"?new Ee.Setting(s).setName(o.name).setDesc(o.description).addTextArea(u=>{let l=Z();l.generalSettings[o.settingName]||Oi(o.settingName,o.initialValue);let c=d=>P(this,null,function*(){Oi(o.settingName,d),yield this.plugin.saveSettings()});u.setPlaceholder(o.placeholder.toString()).setValue(l.generalSettings[o.settingName].toString()).onChange((0,Ee.debounce)(c,500,!0)),u.inputEl.rows=8,u.inputEl.cols=40}):o.type==="function"&&this.customFunctions[o.settingName](s,this),o.notice!==null)){let u=s.createEl("p",{cls:o.notice.class,text:o.notice.text});o.notice.html!==null&&u.insertAdjacentHTML("beforeend",o.notice.html)}})}static parseCommaSeparatedFolders(t){return t.split(",").map(n=>n.trim()).map(n=>n.replace(/^\/|\/$/g,"")).filter(n=>n!=="")}static renderFolderArray(t){return t.join(",")}insertTaskCoreStatusSettings(t,n){let{statusSettings:i}=Z();i.coreStatuses.forEach(a=>{Rk(t,a,i.coreStatuses,i,n,n.plugin,!0)}),new Ee.Setting(t).addButton(a=>{let o="Review and check your Statuses";a.setButtonText(o).setCta().onClick(()=>P(this,null,function*(){let l=window.moment().format("YYYY-MM-DD HH-mm-ss"),c=`Tasks Plugin - ${o} ${l}.md`,d=this.plugin.manifest.version,f=De.getInstance(),m=_k(i,f,o,d),g=yield app.vault.create(c,m);yield this.app.workspace.getLeaf(!0).openFile(g)})),a.setTooltip("Create a new file in the root of the vault, containing a Mermaid diagram of the current status settings.")}).infoEl.remove()}insertCustomTaskStatusSettings(t,n){let{statusSettings:i}=Z();i.customStatuses.forEach(l=>{Rk(t,l,i.customStatuses,i,n,n.plugin,!1)}),t.createEl("div"),new Ee.Setting(t).addButton(l=>{l.setButtonText("Add New Task Status").setCta().onClick(()=>P(this,null,function*(){Le.addStatus(i.customStatuses,new Ke("","","",!1,"TODO")),yield zs(i,n)}))}).infoEl.remove();let a=[["AnuPpuccin Theme",vk()],["Aura Theme",wk()],["Ebullientworks Theme",kk()],["ITS Theme & SlRvb Checkboxes",Ek()],["Minimal Theme",Ok()],["Things Theme",Dk()],["LYT Mode Theme (Dark mode only)",Sk()]];for(let[l,c]of a)new Ee.Setting(t).addButton(f=>{let m=`${l}: Add ${c.length} supported Statuses`;f.setButtonText(m).onClick(()=>P(this,null,function*(){yield SF(c,i,n)}))}).infoEl.remove();new Ee.Setting(t).addButton(l=>{l.setButtonText("Add All Unknown Status Types").setCta().onClick(()=>P(this,null,function*(){let d=this.plugin.getTasks().map(m=>m.status),f=De.getInstance().findUnknownStatuses(d);f.length!==0&&(f.forEach(m=>{Le.addStatus(i.customStatuses,m)}),yield zs(i,n))}))}).infoEl.remove(),new Ee.Setting(t).addButton(l=>{l.setButtonText("Reset Custom Status Types to Defaults").setWarning().onClick(()=>P(this,null,function*(){Le.resetAllCustomStatuses(i),yield zs(i,n)}))}).infoEl.remove()}},$o=Wt;$o.createFragmentWithHTML=t=>createFragment(n=>n.createDiv().innerHTML=t);function Rk(r,e,t,n,i,s,a){let o=r.createEl("pre");o.addClass("row-for-status"),o.textContent=new ne(e).previewText();let u=new Ee.Setting(r);u.infoEl.replaceWith(o),a||u.addExtraButton(l=>{l.setIcon("cross").setTooltip("Delete").onClick(()=>P(this,null,function*(){Le.deleteStatus(t,e)&&(yield zs(n,i))}))}),u.addExtraButton(l=>{l.setIcon("pencil").setTooltip("Edit").onClick(()=>P(this,null,function*(){let c=new tr(s,e,a);c.onClose=()=>P(this,null,function*(){c.saved&&Le.replaceStatus(t,e,c.statusConfiguration())&&(yield zs(n,i))}),c.open()}))}),u.infoEl.remove()}function SF(r,e,t){return P(this,null,function*(){Le.bulkAddStatusCollection(e,r).forEach(i=>{new Ee.Notice(i)}),yield zs(e,t)})}function zs(r,e){return P(this,null,function*(){Qe({statusSettings:r}),Le.applyToStatusRegistry(r,De.getInstance()),yield e.saveSettings(!0)})}function OF(r){let{settingEl:e,infoEl:t,controlEl:n}=r,i=n.querySelector("textarea");i!==null&&(e.style.display="block",t.style.marginRight="0px",i.style.minWidth="-webkit-fill-available")}var si=require("obsidian");function DF(r){console.error(r),new si.Notice(r+` This message has been written to the console. -`,1e4)}var sc=class extends si.EditorSuggest{constructor(t,n,i){super(t);this.settings=n,this.plugin=i,t.scope.register([],"Tab",()=>{var a;let s=(a=this.context)==null?void 0:a.editor;return s?(s.exec("indentMore"),!1):!0})}onTrigger(t,n,i){if(!this.settings.autoSuggestInEditor)return null;let s=n.getLine(t.line);return pv(s,t,n)?{start:{line:t.line,ch:0},end:{line:t.line,ch:s.length},query:s}:null}getSuggestions(t){var u,l,c;let n=t.query,i=t.editor.getCursor(),s=this.plugin.getTasks(),a=s.find(d=>d.taskLocation.path==t.file.path&&d.taskLocation.lineNumber==i.line);return((c=(l=(u=yo()).buildSuggestions)==null?void 0:l.call(u,n,i.ch,this.settings,s,a))!=null?c:[]).map(d=>he(K({},d),{context:t}))}renderSuggestion(t,n){n.setText(t.displayText)}selectSuggestion(t,n){return P(this,null,function*(){var l,c,d;let i=t.context.editor;if(t.suggestionType==="empty"){this.close();let f=new KeyboardEvent("keydown",{code:"Enter",key:"Enter"});(c=(l=i==null?void 0:i.cm)==null?void 0:l.contentDOM)==null||c.dispatchEvent(f);return}if(t.taskItDependsOn!=null){let f=Vu(t.taskItDependsOn,this.plugin.getTasks().map(m=>m.id));if(t.appendText+=` ${f.id}`,t.taskItDependsOn!==f)if(t.context.file.path==f.path){let m=t.taskItDependsOn.originalMarkdown,y={line:t.taskItDependsOn.lineNumber,ch:0},g={line:t.taskItDependsOn.lineNumber,ch:m.length},T=t.context.editor.getRange(y,g);if(T!==m){let E=`Error adding new ID, due to mismatched data in Tasks memory and the editor: +`,1e4)}var sc=class extends si.EditorSuggest{constructor(t,n,i){super(t);this.settings=n,this.plugin=i,t.scope.register([],"Tab",()=>{var a;let s=(a=this.context)==null?void 0:a.editor;return s?(s.exec("indentMore"),!1):!0})}onTrigger(t,n,i){if(!this.settings.autoSuggestInEditor)return null;let s=n.getLine(t.line);return mv(s,t,n)?{start:{line:t.line,ch:0},end:{line:t.line,ch:s.length},query:s}:null}getSuggestions(t){var c,d,f;let n=t.query,i=t.editor.getCursor(),s=this.plugin.getTasks(),a=s.find(m=>m.taskLocation.path==t.file.path&&m.taskLocation.lineNumber==i.line),o=this.getMarkdownFileInfo(t),u=this.canSaveEdits(o);return((f=(d=(c=bo()).buildSuggestions)==null?void 0:d.call(c,n,i.ch,this.settings,s,u,a))!=null?f:[]).map(m=>he(K({},m),{context:t}))}getMarkdownFileInfo(t){return t.editor.cm.state.field(si.editorInfoField)}canSaveEdits(t){return t instanceof si.MarkdownView}renderSuggestion(t,n){n.setText(t.displayText)}selectSuggestion(t,n){return P(this,null,function*(){var l,c,d;let i=t.context.editor;if(t.suggestionType==="empty"){this.close();let f=new KeyboardEvent("keydown",{code:"Enter",key:"Enter"});(c=(l=i==null?void 0:i.cm)==null?void 0:l.contentDOM)==null||c.dispatchEvent(f);return}if(t.taskItDependsOn!=null){let f=zu(t.taskItDependsOn,this.plugin.getTasks().map(m=>m.id));if(t.appendText+=` ${f.id}`,t.taskItDependsOn!==f)if(t.context.file.path==f.path){let m=t.taskItDependsOn.originalMarkdown,g={line:t.taskItDependsOn.lineNumber,ch:0},y={line:t.taskItDependsOn.lineNumber,ch:m.length},T=t.context.editor.getRange(g,y);if(T!==m){let k=`Error adding new ID, due to mismatched data in Tasks memory and the editor: task line in memory: '${t.taskItDependsOn.originalMarkdown}' task line in editor: '${T}' file: '${f.path}' -`;Rk(E);return}t.context.editor.replaceRange(f.toFileLineString(),y,g)}else gr({originalTask:t.taskItDependsOn,newTasks:f})}let s=t.context.editor.getCursor(),a={line:s.line,ch:(d=t.insertAt)!=null?d:s.ch},o=t.insertSkip?{line:s.line,ch:a.ch+t.insertSkip}:void 0;t.context.editor.replaceRange(t.appendText,a,o),t.context.editor.setCursor({line:s.line,ch:a.ch+t.appendText.length});let u=t.context.editor.cm.state.field(si.editorInfoField);if(u instanceof si.MarkdownView)yield u.save();else{let f=`Failed to save "${t.context.file.path}" automatically. -Please save the file to ensure edits are retained.`;Rk(f)}})}};var Mk=(r,e)=>{let t,n=new Promise((a,o)=>{t=a});return e(r,a=>{let o=a.map(u=>u.toFileLineString()).join(` -`);t(o)}).open(),n};var Ck=(r,e)=>{let t=ml({line:"",path:""});return new zn({app:r,task:t,onSubmit:e,allTasks:[]})};var Ak=r=>({createTaskLineModal:()=>Mk(r,Ck),executeToggleTaskDoneCommand:(e,t)=>nh(e,t).text});var ac=class extends Pk.Plugin{get apiV1(){return Ak(app)}onload(){return P(this,null,function*(){St.registerConsoleLogger(),Am("info",`loading plugin "${this.manifest.name}" v${this.manifest.version}`),yield this.loadSettings();let{loggingOptions:t}=Z();St.configure(t),this.addSettingTab(new qo({plugin:this})),ow({metadataCache:this.app.metadataCache,vault:this.app.vault,workspace:this.app.workspace}),yield this.loadTaskStatuses();let n=new Ql({obsidianEvents:this.app.workspace});this.cache=new hs({metadataCache:this.app.metadataCache,vault:this.app.vault,events:n}),this.inlineRenderer=new Jl({plugin:this}),this.queryRenderer=new nc({plugin:this,events:n}),this.registerEditorExtension(ik()),this.registerEditorSuggest(new sc(this.app,Z(),this)),new hl({plugin:this})})}loadTaskStatuses(){return P(this,null,function*(){let{statusSettings:t}=Z();Le.applyToStatusRegistry(t,De.getInstance())})}onunload(){var t;Am("info",`unloading plugin "${this.manifest.name}" v${this.manifest.version}`),(t=this.cache)==null||t.unload()}loadSettings(){return P(this,null,function*(){let t=yield this.loadData();Qe(t),t=Z(),_e.getInstance().set(t.globalFilter),_e.getInstance().setRemoveGlobalFilter(t.removeGlobalFilter),Tr.getInstance().set(t.globalQuery),yield this.loadTaskStatuses()})}saveSettings(){return P(this,null,function*(){yield this.saveData(Z())})}getTasks(){return this.cache===void 0?[]:this.cache.getTasks()}}; +`;DF(k);return}t.context.editor.replaceRange(f.toFileLineString(),g,y)}else gr({originalTask:t.taskItDependsOn,newTasks:f})}let s=t.context.editor.getCursor(),a={line:s.line,ch:(d=t.insertAt)!=null?d:s.ch},o=t.insertSkip?{line:s.line,ch:a.ch+t.insertSkip}:void 0;t.context.editor.replaceRange(t.appendText,a,o),t.context.editor.setCursor({line:s.line,ch:a.ch+t.appendText.length});let u=this.getMarkdownFileInfo(t.context);this.canSaveEdits(u)&&(yield u.save())})}};var Mk=(r,e)=>{let t,n=new Promise((a,o)=>{t=a});return e(r,a=>{let o=a.map(u=>u.toFileLineString()).join(` +`);t(o)}).open(),n};var Ck=(r,e)=>{let t=ml({line:"",path:""});return new zn({app:r,task:t,onSubmit:e,allTasks:[]})};var Ak=r=>({createTaskLineModal:()=>Mk(r,Ck),executeToggleTaskDoneCommand:(e,t)=>nh(e,t).text});var ac=class extends Pk.Plugin{get apiV1(){return Ak(app)}onload(){return P(this,null,function*(){St.registerConsoleLogger(),Am("info",`loading plugin "${this.manifest.name}" v${this.manifest.version}`),yield this.loadSettings();let{loggingOptions:t}=Z();St.configure(t),this.addSettingTab(new $o({plugin:this})),uw({metadataCache:this.app.metadataCache,vault:this.app.vault,workspace:this.app.workspace}),yield this.loadTaskStatuses();let n=new Ql({obsidianEvents:this.app.workspace});this.cache=new gs({metadataCache:this.app.metadataCache,vault:this.app.vault,events:n}),this.inlineRenderer=new Jl({plugin:this}),this.queryRenderer=new nc({plugin:this,events:n}),this.registerEditorExtension(sk()),this.registerEditorSuggest(new sc(this.app,Z(),this)),new hl({plugin:this})})}loadTaskStatuses(){return P(this,null,function*(){let{statusSettings:t}=Z();Le.applyToStatusRegistry(t,De.getInstance())})}onunload(){var t;Am("info",`unloading plugin "${this.manifest.name}" v${this.manifest.version}`),(t=this.cache)==null||t.unload()}loadSettings(){return P(this,null,function*(){let t=yield this.loadData();Qe(t),t=Z(),_e.getInstance().set(t.globalFilter),_e.getInstance().setRemoveGlobalFilter(t.removeGlobalFilter),Tr.getInstance().set(t.globalQuery),yield this.loadTaskStatuses()})}saveSettings(){return P(this,null,function*(){yield this.saveData(Z())})}getTasks(){return this.cache===void 0?[]:this.cache.getTasks()}}; /*! * EventEmitter2 * https://github.com/hij1nx/EventEmitter2 diff --git a/.obsidian/plugins/obsidian-tasks-plugin/manifest.json b/.obsidian/plugins/obsidian-tasks-plugin/manifest.json index e8ad44a4..c0695820 100644 --- a/.obsidian/plugins/obsidian-tasks-plugin/manifest.json +++ b/.obsidian/plugins/obsidian-tasks-plugin/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-tasks-plugin", "name": "Tasks", - "version": "7.4.0", + "version": "7.5.0", "minAppVersion": "1.1.1", "description": "Task management for Obsidian", "helpUrl": "https://publish.obsidian.md/tasks/", diff --git a/.obsidian/plugins/quickadd/data.json b/.obsidian/plugins/quickadd/data.json index 99d49894..6a62fcae 100644 --- a/.obsidian/plugins/quickadd/data.json +++ b/.obsidian/plugins/quickadd/data.json @@ -48,7 +48,7 @@ "devMode": false, "templateFolderPath": "00.01 Admin/Templates", "announceUpdates": true, - "version": "1.9.0", + "version": "1.9.1", "disableOnlineFeatures": true, "ai": { "defaultModel": "Ask me", diff --git a/.obsidian/plugins/quickadd/main.js b/.obsidian/plugins/quickadd/main.js index 7610e6a6..9fe67f29 100644 --- a/.obsidian/plugins/quickadd/main.js +++ b/.obsidian/plugins/quickadd/main.js @@ -13778,7 +13778,7 @@ var CaptureChoiceBuilder = class extends ChoiceBuilder { this.contentEl ); considerSubsectionsSetting.setName("Consider subsections").setDesc( - "Enabling this will insert the text at the end of the section & its subsections, rather than just at the end of the target section.A section is defined by a heading, and its subsections are all the headings inside that section." + "Enabling this will insert the text at the end of the section & its subsections, rather than just at the end of the target section. A section is defined by a heading, and its subsections are all the headings inside that section." ).addToggle( (toggle) => toggle.setValue(this.choice.insertAfter?.considerSubsections).onChange((value) => { if (!value) { @@ -17716,7 +17716,7 @@ var QuickAddSettingsTab = class extends import_obsidian34.PluginSettingTab { } addDisableOnlineFeaturesSetting() { new import_obsidian34.Setting(this.containerEl).setName("Disable AI & Online features").setDesc( - "This prevents the plugin from making requests to external providers like OpenAI. You can still use User Scripts to execute arbitrary code, inclulding contacting external providers. However, this setting disables plugin features like the AI Assistant from doing so. You need to disable this setting to use the AI Assistant." + "This prevents the plugin from making requests to external providers like OpenAI. You can still use User Scripts to execute arbitrary code, including contacting external providers. However, this setting disables plugin features like the AI Assistant from doing so. You need to disable this setting to use the AI Assistant." ).addToggle( (toggle) => toggle.setValue(settingsStore.getState().disableOnlineFeatures).onChange((value) => { settingsStore.setState({ diff --git a/.obsidian/plugins/quickadd/manifest.json b/.obsidian/plugins/quickadd/manifest.json index 1b234b28..8bd4f36b 100644 --- a/.obsidian/plugins/quickadd/manifest.json +++ b/.obsidian/plugins/quickadd/manifest.json @@ -1,7 +1,7 @@ { "id": "quickadd", "name": "QuickAdd", - "version": "1.9.0", + "version": "1.9.1", "minAppVersion": "1.6.0", "description": "Quickly add new pages or content to your vault.", "author": "Christian B. B. Houmann", diff --git a/.obsidian/themes/Minimal/manifest.json b/.obsidian/themes/Minimal/manifest.json index b6fe8f73..b85da97f 100644 --- a/.obsidian/themes/Minimal/manifest.json +++ b/.obsidian/themes/Minimal/manifest.json @@ -1,6 +1,6 @@ { "name": "Minimal", - "version": "7.7.3", + "version": "7.7.4", "minAppVersion": "1.6.1", "author": "@kepano", "authorUrl": "https://twitter.com/kepano", diff --git a/.obsidian/themes/Minimal/theme.css b/.obsidian/themes/Minimal/theme.css index 25ad4e30..73b9c97c 100644 --- a/.obsidian/themes/Minimal/theme.css +++ b/.obsidian/themes/Minimal/theme.css @@ -38,7 +38,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -body{--font-editor-theme:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Ubuntu,sans-serif;--font-editor:var(--font-editor-override),var(--font-text-override),var(--font-editor-theme)}body{--blockquote-style:normal;--blockquote-color:var(--text-muted);--blockquote-border-thickness:1px;--blockquote-border-color:var(--quote-opening-modifier);--embed-block-shadow-hover:none;--font-ui-smaller:11px;--normal-weight:400;--inline-title-margin-bottom:1rem;--h1-size:1.125em;--h2-size:1.05em;--h3-size:1em;--h4-size:0.90em;--h5-size:0.85em;--h6-size:0.85em;--h1-weight:600;--h2-weight:600;--h3-weight:500;--h4-weight:500;--h5-weight:500;--h6-weight:400;--h1-variant:normal;--h2-variant:normal;--h3-variant:normal;--h4-variant:normal;--h5-variant:small-caps;--h6-variant:small-caps;--h1-style:normal;--h2-style:normal;--h3-style:normal;--h4-style:normal;--h5-style:normal;--h6-style:normal;--line-width:40rem;--line-height:1.5;--line-height-normal:var(--line-height);--max-width:88%;--max-col-width:18em;--icon-muted:0.5;--nested-padding:1.1em;--folding-offset:32px;--list-edit-offset:0.5em;--list-indent:2em;--list-spacing:0.075em;--input-height:32px;--header-height:40px;--metadata-label-width:9rem;--metadata-label-font-size:var(--font-adaptive-small);--metadata-input-font-size:var(--font-adaptive-small);--mobile-left-sidebar-width:280pt;--mobile-right-sidebar-width:240pt;--top-left-padding-y:0px;--image-muted:0.7;--image-radius:4px;--heading-spacing:2em;--p-spacing:1.75rem;--border-width:1px;--table-border-width:var(--border-width);--table-selection:var(--text-selection);--table-selection-border-color:var(--text-accent);--table-selection-border-width:0px;--table-selection-border-radius:0px;--table-drag-handle-background-active:var(--text-selection);--table-drag-handle-color-active:var(--text-accent);--table-add-button-border-width:0px;--file-margins:var(--size-4-2) var(--size-4-12)}.mod-macos{--top-left-padding-y:24px}.is-phone{--metadata-label-font-size:var(--font-adaptive-smaller);--metadata-input-font-size:var(--font-adaptive-smaller)}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.is-phone{--border-width:0.75px}}body{--base-h:0;--base-s:0%;--base-l:96%;--accent-h:201;--accent-s:17%;--accent-l:50%}.theme-dark,.theme-light{--color-red-rgb:208,66,85;--color-orange-rgb:213,118,63;--color-yellow-rgb:229,181,103;--color-green-rgb:168,195,115;--color-cyan-rgb:115,187,178;--color-blue-rgb:108,153,187;--color-purple-rgb:158,134,200;--color-pink-rgb:176,82,121;--color-red:#d04255;--color-orange:#d5763f;--color-yellow:#e5b567;--color-green:#a8c373;--color-cyan:#73bbb2;--color-blue:#6c99bb;--color-purple:#9e86c8;--color-pink:#b05279}.theme-light,.theme-light.minimal-default-light,body .excalidraw{--bg1:white;--bg2:hsl( var(--base-h), var(--base-s), var(--base-l) );--bg3:hsla( var(--base-h), var(--base-s), calc(var(--base-l) - 50%), 0.12 );--ui1:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 6%) );--ui2:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 12%) );--ui3:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 20%) );--tx1:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 90%) );--tx2:hsl( var(--base-h), calc(var(--base-s) - 20%), calc(var(--base-l) - 50%) );--tx3:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) - 25%) );--tx4:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) - 60%) );--ax1:hsl( var(--accent-h), var(--accent-s), var(--accent-l) );--ax2:hsl( var(--accent-h), var(--accent-s), calc(var(--accent-l) - 8%) );--ax3:hsl( var(--accent-h), var(--accent-s), calc(var(--accent-l) + 6%) );--hl1:hsla( var(--accent-h), 50%, calc(var(--base-l) - 20%), 30% );--hl2:rgba(255, 225, 0, 0.5);--sp1:white}.excalidraw.theme--dark,.theme-dark,.theme-dark.minimal-default-dark,.theme-light.minimal-light-contrast .titlebar,.theme-light.minimal-light-contrast.minimal-status-off .status-bar{--accent-l:60%;--base-l:15%;--bg1:hsl( var(--base-h), var(--base-s), var(--base-l) );--bg2:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 2%) );--bg3:hsla( var(--base-h), var(--base-s), calc(var(--base-l) + 40%), 0.12 );--ui1:hsl( var(--base-h), var(--base-s), calc(var(--base-l) + 6%) );--ui2:hsl( var(--base-h), var(--base-s), calc(var(--base-l) + 12%) );--ui3:hsl( var(--base-h), var(--base-s), calc(var(--base-l) + 20%) );--tx1:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) + 67%) );--tx2:hsl( var(--base-h), calc(var(--base-s) - 20%), calc(var(--base-l) + 45%) );--tx3:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) + 20%) );--tx4:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) + 50%) );--ax1:hsl( var(--accent-h), var(--accent-s), var(--accent-l) );--ax2:hsl( var(--accent-h), var(--accent-s), calc(var(--accent-l) + 8%) );--ax3:hsl( var(--accent-h), var(--accent-s), calc(var(--accent-l) - 5%) );--hl1:hsla( var(--accent-h), 50%, 40%, 30% );--hl2:rgba(255, 177, 80, 0.3);--sp1:white}.theme-light.minimal-light-white{--background-primary:white;--background-secondary:white;--background-secondary-alt:white;--ribbon-background:white;--titlebar-background:white;--bg1:white}.theme-dark.minimal-dark-black{--base-d:0%;--titlebar-background:black;--background-primary:black;--background-secondary:black;--background-secondary-alt:black;--ribbon-background:black;--background-modifier-hover:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 10%));--tx1:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 75%) );--tx2:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 50%) );--tx3:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 25%) );--ui1:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 12%) );--ui2:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 20%) );--ui3:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 30%) )}.theme-light{--mono100:black;--mono0:white}.theme-dark{--mono100:white;--mono0:black}.theme-dark,.theme-light,.theme-light.minimal-light-contrast .titlebar,.theme-light.minimal-light-contrast.is-mobile .workspace-drawer.mod-left,.theme-light.minimal-light-contrast.minimal-status-off .status-bar{--background-modifier-accent:var(--ax3);--background-modifier-border-focus:var(--ui3);--background-modifier-border-hover:var(--ui2);--background-modifier-border:var(--ui1);--mobile-sidebar-background:var(--bg1);--background-modifier-form-field-highlighted:var(--bg1);--background-modifier-form-field:var(--bg1);--background-modifier-success:var(--color-green);--background-modifier-hover:var(--bg3);--background-modifier-active-hover:var(--bg3);--background-primary:var(--bg1);--background-primary-alt:var(--bg2);--background-secondary:var(--bg2);--background-secondary-alt:var(--bg1);--background-table-rows:var(--bg2);--checkbox-color:var(--ax3);--code-normal:var(--tx1);--divider-color:var(--ui1);--frame-divider-color:var(--ui1);--icon-color-active:var(--tx1);--icon-color-focused:var(--tx1);--icon-color-hover:var(--tx2);--icon-color:var(--tx2);--icon-hex:var(--mono0);--interactive-accent-hover:var(--ax1);--interactive-accent:var(--ax3);--interactive-hover:var(--ui1);--list-marker-color:var(--tx3);--nav-item-background-active:var(--bg3);--nav-item-background-hover:var(--bg3);--nav-item-color:var(--tx2);--nav-item-color-active:var(--tx1);--nav-item-color-hover:var(--tx1);--nav-collapse-icon-color:var(--tx2);--nav-collapse-icon-color-collapsed:var(--tx2);--nav-indentation-guide-color:var(--ui1);--prompt-border-color:var(--ui3);--quote-opening-modifier:var(--ui2);--ribbon-background:var(--bg2);--scrollbar-active-thumb-bg:var(--ui3);--scrollbar-bg:transparent;--scrollbar-thumb-bg:var(--ui1);--search-result-background:var(--bg1);--tab-text-color-focused-active:var(--tx1);--tab-outline-color:var(--ui1);--text-accent-hover:var(--ax2);--text-accent:var(--ax1);--text-blockquote:var(--tx2);--text-bold:var(--tx1);--text-code:var(--tx4);--text-error:var(--color-red);--text-faint:var(--tx3);--text-highlight-bg:var(--hl2);--text-italic:var(--tx1);--text-muted:var(--tx2);--text-normal:var(--tx1);--text-on-accent:var(--sp1);--text-selection:var(--hl1);--text-formatting:var(--tx3);--title-color-inactive:var(--tx2);--title-color:var(--tx1);--titlebar-background:var(--bg2);--titlebar-background-focused:var(--bg2);--titlebar-text-color-focused:var(--tx1);--workspace-background-translucent:hsla(var(--base-h),var(--base-s), var(--base-l), 0.7)}.theme-dark .view-actions,.theme-light .view-actions{--icon-color-active:var(--ax1)}.theme-light.minimal-light-contrast{--workspace-background-translucent:rgba(0,0,0,0.6)}.theme-light.minimal-light-contrast .theme-dark{--tab-container-background:var(--bg2);--ribbon-background-collapsed:var(--bg2)}.theme-light{--interactive-normal:var(--bg1);--interactive-accent-rgb:220,220,220;--active-line-bg:rgba(0,0,0,0.035);--background-modifier-cover:hsla(var(--base-h),calc(var(--base-s) - 70%),calc(var(--base-l) - 20%),0.5);--text-highlight-bg-active:rgba(0, 0, 0, 0.1);--background-modifier-error:rgba(255,0,0,0.14);--background-modifier-error-hover:rgba(255,0,0,0.08);--shadow-color:rgba(0, 0, 0, 0.1);--btn-shadow-color:rgba(0, 0, 0, 0.05)}.theme-dark{--interactive-normal:var(--bg3);--interactive-accent-rgb:66,66,66;--active-line-bg:rgba(255,255,255,0.04);--background-modifier-cover:hsla(var(--base-h),var(--base-s), calc(var(--base-l) - 12%), 0.5);--text-highlight-bg-active:rgba(255, 255, 255, 0.1);--background-modifier-error:rgba(255,20,20,0.12);--background-modifier-error-hover:rgba(255,20,20,0.18);--background-modifier-box-shadow:rgba(0, 0, 0, 0.3);--shadow-color:rgba(0, 0, 0, 0.3);--btn-shadow-color:rgba(0, 0, 0, 0.2);--modal-border-color:var(--ui2)}.theme-light.minimal-light-white{--background-table-rows:var(--bg2)}.theme-light.minimal-light-tonal{--background-primary:var(--bg2);--background-primary-alt:var(--bg3);--background-table-rows:var(--bg3)}.theme-dark.minimal-dark-tonal{--ribbon-background:var(--bg1);--background-secondary:var(--bg1);--background-table-rows:var(--bg3)}.theme-dark.minimal-dark-black{--background-primary-alt:var(--bg3);--background-table-rows:var(--bg3);--modal-border:var(--ui2);--active-line-bg:rgba(255,255,255,0.085);--background-modifier-form-field:var(--bg3);--background-modifier-cover:hsla(var(--base-h),var(--base-s),calc(var(--base-d) + 8%),0.9);--background-modifier-box-shadow:rgba(0, 0, 0, 1)}body{--font-adaptive-normal:var(--font-text-size,var(--editor-font-size));--font-adaptive-small:calc(var(--font-ui-small) * 1.07);--font-adaptive-smaller:var(--font-ui-small);--font-adaptive-smallest:var(--font-ui-smaller);--line-width-wide:calc(var(--line-width) + 12.5%);--font-code:calc(var(--font-adaptive-normal) * 0.9);--table-text-size:calc(var(--font-adaptive-normal) * 0.875)}.minimal-dev-block-width .mod-root .workspace-leaf-content:after{display:flex;align-items:flex-end;content:" pane ";font-size:12px;color:gray;font-family:var(--font-monospace);width:100%;max-width:100%;height:100vh;top:0;z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width.minimal-readable .mod-root .view-header:after{display:flex;align-items:flex-end;color:green;font-size:12px;font-family:var(--font-monospace);content:" ";width:var(--folding-offset);height:100vh;border-left:1px solid green;border-right:1px solid green;background-color:rgba(0,128,0,.1);top:0;left:max(50% - var(--line-width)/2 - 1px,50% - var(--max-width)/2 - 1px);z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width.minimal-readable-off .mod-root .view-header:after{display:flex;align-items:flex-end;color:green;font-size:12px;font-family:var(--font-monospace);content:" ";width:var(--folding-offset);height:100vh;border-left:1px solid green;border-right:1px solid green;background-color:rgba(0,128,0,.1);top:0;left:calc(50% - var(--max-width)/ 2 - 1px);z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width .mod-root .view-content:before{display:flex;align-items:flex-end;content:" max ";font-size:12px;color:red;width:var(--max-width);height:100vh;border-left:1px solid red;border-right:1px solid red;top:0;left:50%;transform:translate(-50%,0);z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width.minimal-readable .mod-root .workspace-leaf-content:before{display:flex;align-items:flex-end;content:" wide ";font-size:12px;color:orange;font-family:var(--font-monospace);width:var(--line-width-wide);max-width:var(--max-width);height:100vh;border-left:1px solid orange;border-right:1px solid orange;background-color:rgba(255,165,0,.05);top:0;left:50%;transform:translate(-50%,0);z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width.minimal-readable .mod-root .view-content:after{display:flex;align-items:flex-end;color:#00f;font-size:12px;font-family:var(--font-monospace);content:" normal";width:var(--line-width);max-width:var(--max-width);height:100vh;border-left:1px solid #00f;border-right:1px solid #00f;background-color:rgba(0,0,255,.08);top:0;left:50%;transform:translate(-50%,0);z-index:999;position:fixed;pointer-events:none}.CodeMirror-wrap>div>textarea{opacity:0}.markdown-source-view.mod-cm6 hr{border-width:2px}.cm-editor .cm-content{padding-top:.5em}.markdown-source-view{color:var(--text-normal)}.markdown-source-view.mod-cm6 .cm-sizer{display:block}.markdown-source-view.mod-cm6 .cm-scroller{padding-inline-end:0;padding-inline-start:0}.cm-s-obsidian .cm-line.HyperMD-header{padding-top:calc(var(--p-spacing)/2)}.markdown-rendered .mod-header+div>*{margin-block-start:0}body :not(.canvas-node) .markdown-source-view.mod-cm6 .cm-gutters{position:absolute!important;z-index:0;margin-inline-end:0}body :not(.canvas-node) .markdown-source-view.mod-cm6.is-rtl .cm-gutters{right:0}body{--line-number-color:var(--text-faint);--line-number-color-active:var(--text-muted)}.markdown-source-view.mod-cm6 .cm-gutters{color:var(--line-number-color)!important}.markdown-source-view.mod-cm6 .cm-editor .cm-gutterElement.cm-active .cm-heading-marker,.markdown-source-view.mod-cm6 .cm-editor .cm-lineNumbers .cm-gutterElement.cm-active{color:var(--line-number-color-active)}.cm-editor .cm-lineNumbers{background-color:var(--gutter-background)}.cm-editor .cm-lineNumbers .cm-gutterElement{min-width:var(--folding-offset);padding-inline-end:.5em}.is-rtl .cm-editor .cm-lineNumbers .cm-gutterElement{text-align:left}@media(max-width:400pt){.cm-editor .cm-lineNumbers .cm-gutterElement{padding-inline-end:4px;padding-inline-start:8px}}.cm-editor .cm-gutterElement.cm-active .cm-heading-marker,.cm-editor .cm-lineNumbers .cm-gutterElement.cm-active{color:var(--text-muted)}.markdown-source-view.mod-cm6 .edit-block-button{cursor:var(--cursor);color:var(--text-faint);background-color:var(--background-primary);top:0;opacity:0;transition:opacity .2s;padding:4px 4px 4px 9px}.markdown-source-view.mod-cm6 .edit-block-button svg{margin:0!important}.markdown-source-view.mod-cm6.is-live-preview.is-readable-line-width .cm-embed-block>.edit-block-button{width:30px!important;padding-inline-start:7px!important}.is-live-preview:not(.is-readable-line-width) .cm-embed-block>.edit-block-button{padding-inline-start:0px!important;margin-inline-start:0!important;padding:4px}.markdown-source-view.mod-cm6 .edit-block-button:hover{background-color:var(--background-primary);color:var(--text-muted)}.markdown-source-view.mod-cm6 .edit-block-button svg{opacity:1}.markdown-source-view.mod-cm6 .edit-block-button:hover svg{opacity:1}.markdown-source-view.mod-cm6 .cm-embed-block{padding:0;border:0;border-radius:0}.markdown-source-view.mod-cm6 .cm-embed-block:hover{border:0}.metadata-container{--input-height:2rem}body.metadata-heading-off .metadata-properties-heading{display:none}.metadata-add-property-off .mod-root .metadata-add-button{display:none}.metadata-dividers{--metadata-divider-width:1px;--metadata-gap:0px}.metadata-icons-off .workspace-leaf-content[data-type=all-properties] .tree-item-inner{margin-inline-start:-16px}.metadata-icons-off .workspace-leaf-content[data-type=all-properties] .tree-item-icon{display:none}.metadata-icons-off .metadata-property-icon{display:none}figure{margin-inline-start:0;margin-inline-end:0}.markdown-preview-view .mod-highlighted{transition:background-color .3s ease;background-color:var(--text-selection);color:inherit}.inline-title{padding-top:16px}.mod-macos.hider-frameless .workspace-ribbon{border:none}.is-tablet.hider-ribbon{--ribbon-width:0px}.is-tablet.hider-ribbon .side-dock-ribbon{display:none}.hider-ribbon .workspace-ribbon{padding:0}:root{--hider-ribbon-display:none}.ribbon-bottom-left-hover-vertical:not(.is-mobile),.ribbon-bottom-left-hover:not(.is-mobile){--hider-ribbon-display:flex}body.ribbon-vertical-expand:not(.is-mobile){--ribbon-width:0px}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left{width:10px;flex-basis:10px;opacity:0;position:fixed;height:100%;top:0;bottom:0;left:0;z-index:10;transition:all .1s linear .6s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left .side-dock-actions{transition:opacity .1s linear .3s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left:hover{width:44px;opacity:1;flex-basis:44px;transition:opacity .1s linear .1s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left:hover .side-dock-actions{opacity:1;transition:opacity .2s linear .2s}body.ribbon-vertical-expand:not(.is-mobile).labeled-nav .workspace-ribbon.mod-left~.mod-left-split .workspace-tab-header-container{margin-left:0;transition:all .1s linear .6s}body.ribbon-vertical-expand:not(.is-mobile).labeled-nav .workspace-ribbon.mod-left:hover~.mod-left-split .workspace-tab-header-container{margin-left:44px;transition:all .1s linear}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left~.mod-left-split .workspace-tab-container{padding-left:0;transition:all .1s linear .6s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left~.mod-left-split .workspace-sidedock-vault-profile{transition:all .1s linear .6s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left:hover~.mod-left-split .workspace-tab-container{padding-left:44px;transition:all .1s linear}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left:hover~.mod-left-split .workspace-sidedock-vault-profile{padding-left:52px;transition:all .1s linear}.hider-ribbon .workspace-ribbon.mod-left:before,.ribbon-bottom-left-hover .workspace-ribbon.mod-left:before,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left:before{opacity:0}.hider-ribbon .workspace-ribbon-collapse-btn,.ribbon-bottom-left-hover .workspace-ribbon-collapse-btn,.ribbon-bottom-left-hover-vertical .workspace-ribbon-collapse-btn{display:none}.hider-ribbon .workspace-ribbon.mod-right,.ribbon-bottom-left-hover .workspace-ribbon.mod-right,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-right{pointer-events:none}.hider-ribbon .workspace-ribbon.mod-left,.ribbon-bottom-left-hover .workspace-ribbon.mod-left,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left{overflow:visible;border-top:var(--border-width) solid var(--background-modifier-border)!important;border-right:var(--border-width) solid var(--background-modifier-border)!important;border-top-right-radius:var(--radius-m);padding:0;position:absolute;border-right:0px;margin:0;width:auto;height:44px;flex-basis:0;bottom:0;top:auto;background:var(--background-secondary);display:var(--hider-ribbon-display)!important;flex-direction:row;z-index:17;opacity:0;transition:opacity .25s ease-in-out;filter:drop-shadow(2px 10px 30px rgba(0, 0, 0, .2));gap:0}.hider-ribbon .side-dock-actions,.hider-ribbon .side-dock-settings,.ribbon-bottom-left-hover .side-dock-actions,.ribbon-bottom-left-hover .side-dock-settings,.ribbon-bottom-left-hover-vertical .side-dock-actions,.ribbon-bottom-left-hover-vertical .side-dock-settings{flex-direction:row;display:var(--hider-ribbon-display);background:rgba(0,0,0,0);margin:0;position:relative;gap:var(--size-2-2)}.hider-ribbon .side-dock-actions,.ribbon-bottom-left-hover .side-dock-actions,.ribbon-bottom-left-hover-vertical .side-dock-actions{padding:6px 6px 6px 8px}.hider-ribbon .side-dock-settings:empty,.ribbon-bottom-left-hover .side-dock-settings:empty,.ribbon-bottom-left-hover-vertical .side-dock-settings:empty{display:none}.hider-ribbon .workspace-ribbon.mod-left .side-dock-ribbon-action,.ribbon-bottom-left-hover .workspace-ribbon.mod-left .side-dock-ribbon-action,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left .side-dock-ribbon-action{display:var(--hider-ribbon-display)}.hider-ribbon .workspace-ribbon.mod-left:hover,.ribbon-bottom-left-hover .workspace-ribbon.mod-left:hover,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left:hover{opacity:1;transition:opacity .25s ease-in-out}.hider-ribbon .workspace-ribbon.mod-left .workspace-ribbon-collapse-btn,.ribbon-bottom-left-hover .workspace-ribbon.mod-left .workspace-ribbon-collapse-btn,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left .workspace-ribbon-collapse-btn{opacity:0}.hider-ribbon .workspace-split.mod-left-split,.ribbon-bottom-left-hover .workspace-split.mod-left-split,.ribbon-bottom-left-hover-vertical .workspace-split.mod-left-split{margin:0}.hider-ribbon .workspace-leaf-content .item-list,.ribbon-bottom-left-hover .workspace-leaf-content .item-list,.ribbon-bottom-left-hover-vertical .workspace-leaf-content .item-list{padding-bottom:40px}.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left{height:auto}.ribbon-bottom-left-hover-vertical .side-dock-actions{flex-direction:column;padding:8px 6px}.minimal-status-off .status-bar{--status-bar-position:static;--status-bar-radius:0;--status-bar-border-width:1px 0 0 0;--status-bar-background:var(--background-secondary);--status-bar-border-color:var(--ui1)}body:not(.minimal-status-off) .status-bar{background-color:var(--background-primary);--status-bar-border-width:0}.status-bar{transition:color .2s linear;color:var(--text-faint);font-size:var(--font-adaptive-smallest)}.status-bar .sync-status-icon.mod-success,.status-bar .sync-status-icon.mod-working{color:var(--text-faint)}.status-bar:hover,.status-bar:hover .sync-status-icon.mod-success,.status-bar:hover .sync-status-icon.mod-working{color:var(--text-muted);transition:color .2s linear}.status-bar .plugin-sync:hover .sync-status-icon.mod-success,.status-bar .plugin-sync:hover .sync-status-icon.mod-working{color:var(--text-normal)}.status-bar .status-bar-item{cursor:var(--cursor)!important}.status-bar .status-bar-item.cMenu-statusbar-button:hover,.status-bar .status-bar-item.mod-clickable:hover,.status-bar .status-bar-item.plugin-editor-status:hover,.status-bar .status-bar-item.plugin-sync:hover{text-align:center;background-color:var(--background-modifier-hover)!important}.tab-stack-top-flipped{--tab-stacked-text-transform:rotate(180deg);--tab-stacked-text-align:right}.tab-stack-center{--tab-stacked-text-align:center}.tab-stack-center-flipped{--tab-stacked-text-transform:rotate(180deg);--tab-stacked-text-align:center}.tab-stack-bottom{--tab-stacked-text-transform:rotate(180deg)}.tab-stack-bottom-flipped{--tab-stacked-text-align:right}.view-header-title,.view-header-title-parent{text-overflow:ellipsis}.view-header-title-container:not(.mod-at-end):after{display:none}body:not(.is-mobile) .view-actions .view-action:last-child{margin-left:-1px}.minimal-focus-mode .workspace-ribbon:not(.is-collapsed)~.mod-root .view-header:hover .view-actions,.mod-right.is-collapsed~.mod-root .view-header:hover .view-actions,.view-action.is-active:hover,.workspace-ribbon.mod-left.is-collapsed~.mod-root .view-header:hover .view-actions,body:not(.minimal-focus-mode) .workspace-ribbon:not(.is-collapsed)~.mod-root .view-actions{opacity:1;transition:opacity .25s ease-in-out}.view-header-title-container{opacity:0;transition:opacity .1s ease-in-out}.view-header-title-container:focus-within{opacity:1;transition:opacity .1s ease-in-out}.view-header:hover .view-header-title-container,.workspace-tab-header-container:hover+.workspace-tab-container .view-header-title-container{opacity:1;transition:opacity .1s ease-in-out}.is-phone .view-header-title-container,.minimal-tab-title-visible .view-header-title-container{opacity:1}.minimal-tab-title-hidden .view-header-title-container{opacity:0}.minimal-tab-title-hidden .view-header-title-container:focus-within{opacity:1;transition:opacity .1s ease-in-out}.minimal-tab-title-hidden .view-header:hover .view-header-title-container,.minimal-tab-title-hidden .workspace-tab-header-container:hover+.workspace-tab-container .view-header-title-container{opacity:0}body.window-title-off .titlebar-text{display:none}.titlebar-button-container.mod-right{background-color:rgba(0,0,0,0)!important}.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame),.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white){--titlebar-background:var(--bg1)}.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame).is-focused .sidebar-toggle-button.mod-right,.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame).is-focused .workspace-ribbon.mod-left.is-collapsed,.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame).is-focused .workspace-tabs.mod-top,.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white).is-focused .sidebar-toggle-button.mod-right,.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white).is-focused .workspace-ribbon.mod-left.is-collapsed,.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white).is-focused .workspace-tabs.mod-top{--titlebar-background-focused:var(--bg1)}.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame):not(.minimal-dark-tonal):not(.minimal-light-white) .workspace-ribbon.mod-left:not(.is-collapsed),.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white):not(.minimal-dark-tonal):not(.minimal-light-white) .workspace-ribbon.mod-left:not(.is-collapsed){--titlebar-background:var(--bg2)}.mod-macos.is-hidden-frameless:not(.is-popout-window) .sidebar-toggle-button.mod-right{right:0;padding-right:var(--size-4-2)}body.is-focused{--titlebar-background-focused:var(--background-secondary)}.is-hidden-frameless:not(.colorful-frame) .mod-left-split .mod-top .workspace-tab-header-container{--tab-container-background:var(--background-secondary)}.mod-root .workspace-tab-header-status-icon{color:var(--text-muted)}.is-collapsed .workspace-sidedock-vault-profile{opacity:0}body:not(.is-mobile).hide-help .workspace-drawer-vault-actions .clickable-icon:first-child{display:none}body:not(.is-mobile).hide-settings .workspace-drawer-vault-actions .clickable-icon:last-child{display:none}body:not(.is-mobile).hide-help.hide-settings .workspace-drawer-vault-actions{display:none!important}body:not(.is-grabbing):not(.is-fullscreen).labeled-nav.is-hidden-frameless.vault-profile-top .mod-left-split .mod-top .workspace-tab-header-container{-webkit-app-region:no-drag}body:not(.is-grabbing):not(.is-fullscreen).labeled-nav.is-hidden-frameless.vault-profile-top .mod-left-split .mod-top .workspace-tab-header-container:before{position:absolute;top:0;content:"";height:var(--header-height);width:100%;-webkit-app-region:drag}body:not(.is-mobile):not(.labeled-nav).vault-profile-top .workspace-split.mod-left-split .mod-top .workspace-tab-container{margin-top:calc(var(--header-height) + 8px)}body:not(.is-mobile):not(.labeled-nav).vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile{-webkit-app-region:no-drag;position:absolute;top:var(--header-height);z-index:6;width:100%;border-top:0;border-bottom:1px solid var(--background-modifier-border)}body:not(.is-mobile):not(.labeled-nav).vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile .workspace-drawer-vault-switcher{padding-left:var(--size-4-2)}body:not(.is-mobile).labeled-nav.vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile{-webkit-app-region:no-drag;position:absolute;top:var(--labeled-nav-top-margin);z-index:6;width:100%;background-color:rgba(0,0,0,0);border-top:0;border-bottom:1px solid var(--background-modifier-border)}body:not(.is-mobile).labeled-nav.vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile .workspace-drawer-vault-switcher{padding-left:var(--size-4-2)}.vault-profile-top .workspace-tab-header-container-inner{--labeled-nav-top-margin:84px}.modal button:not(.mod-warning),.modal.mod-settings button:not(.mod-cta):not(.mod-warning),.modal.mod-settings button:not(.mod-warning){white-space:nowrap;transition:background-color .2s ease-out,border-color .2s ease-out}button.mod-warning{border:1px solid var(--background-modifier-error);color:var(--text-error);box-shadow:0 1px 1px 0 var(--btn-shadow-color);transition:background-color .2s ease-out}button.mod-warning:hover{border:1px solid var(--background-modifier-error);color:var(--text-error);box-shadow:0 2px 3px 0 var(--btn-shadow-color);transition:background-color .2s ease-out}.document-replace,.document-search{max-width:100%;padding:0}.document-search-container{margin:0 auto;max-width:var(--max-width);width:var(--line-width)}.modal-button-container .mod-checkbox{--checkbox-radius:4px}.modal-container.mod-confirmation .modal{width:480px;min-width:0}body{--progress-outline:var(--background-modifier-border);--progress-complete:var(--text-accent)}.markdown-preview-view progress,.markdown-rendered progress,.markdown-source-view.is-live-preview progress{width:220px}.markdown-preview-view progress[value]::-webkit-progress-bar,.markdown-rendered progress[value]::-webkit-progress-bar,.markdown-source-view.is-live-preview progress[value]::-webkit-progress-bar{box-shadow:inset 0 0 0 var(--border-width) var(--progress-outline)}.markdown-preview-view progress[value^="1"]::-webkit-progress-value,.markdown-preview-view progress[value^="2"]::-webkit-progress-value,.markdown-preview-view progress[value^="3"]::-webkit-progress-value,.markdown-rendered progress[value^="1"]::-webkit-progress-value,.markdown-rendered progress[value^="2"]::-webkit-progress-value,.markdown-rendered progress[value^="3"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="1"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="2"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="3"]::-webkit-progress-value{background-color:var(--color-red)}.markdown-preview-view progress[value^="4"]::-webkit-progress-value,.markdown-preview-view progress[value^="5"]::-webkit-progress-value,.markdown-rendered progress[value^="4"]::-webkit-progress-value,.markdown-rendered progress[value^="5"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="4"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="5"]::-webkit-progress-value{background-color:var(--color-orange)}.markdown-preview-view progress[value^="6"]::-webkit-progress-value,.markdown-preview-view progress[value^="7"]::-webkit-progress-value,.markdown-rendered progress[value^="6"]::-webkit-progress-value,.markdown-rendered progress[value^="7"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="6"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="7"]::-webkit-progress-value{background-color:var(--color-yellow)}.markdown-preview-view progress[value^="8"]::-webkit-progress-value,.markdown-preview-view progress[value^="9"]::-webkit-progress-value,.markdown-rendered progress[value^="8"]::-webkit-progress-value,.markdown-rendered progress[value^="9"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="8"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="9"]::-webkit-progress-value{background-color:var(--color-green)}.markdown-preview-view progress[value="1"]::-webkit-progress-value,.markdown-preview-view progress[value="100"]::-webkit-progress-value,.markdown-rendered progress[value="1"]::-webkit-progress-value,.markdown-rendered progress[value="100"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="1"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="100"]::-webkit-progress-value{background-color:var(--progress-complete)}.markdown-preview-view progress[value="0"]::-webkit-progress-value,.markdown-preview-view progress[value="2"]::-webkit-progress-value,.markdown-preview-view progress[value="3"]::-webkit-progress-value,.markdown-preview-view progress[value="4"]::-webkit-progress-value,.markdown-preview-view progress[value="5"]::-webkit-progress-value,.markdown-preview-view progress[value="6"]::-webkit-progress-value,.markdown-preview-view progress[value="7"]::-webkit-progress-value,.markdown-preview-view progress[value="8"]::-webkit-progress-value,.markdown-preview-view progress[value="9"]::-webkit-progress-value,.markdown-rendered progress[value="0"]::-webkit-progress-value,.markdown-rendered progress[value="2"]::-webkit-progress-value,.markdown-rendered progress[value="3"]::-webkit-progress-value,.markdown-rendered progress[value="4"]::-webkit-progress-value,.markdown-rendered progress[value="5"]::-webkit-progress-value,.markdown-rendered progress[value="6"]::-webkit-progress-value,.markdown-rendered progress[value="7"]::-webkit-progress-value,.markdown-rendered progress[value="8"]::-webkit-progress-value,.markdown-rendered progress[value="9"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="0"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="2"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="3"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="4"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="5"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="6"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="7"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="8"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="9"]::-webkit-progress-value{background-color:var(--color-red)}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar,body:not(.native-scrollbars) ::-webkit-scrollbar{width:11px;background-color:rgba(0,0,0,0)}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar:horizontal,body:not(.native-scrollbars) ::-webkit-scrollbar:horizontal{height:11px}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-corner,body:not(.native-scrollbars) ::-webkit-scrollbar-corner{background-color:rgba(0,0,0,0)}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-track,body:not(.native-scrollbars) ::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-thumb,body:not(.native-scrollbars) ::-webkit-scrollbar-thumb{background-clip:padding-box;border-radius:20px;border:3px solid transparent;background-color:var(--background-modifier-border);border-width:3px 3px 3px 3px;min-height:45px}body:not(.hider-scrollbars).styled-scrollbars .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:hover,body:not(.hider-scrollbars).styled-scrollbars .modal .vertical-tab-header::-webkit-scrollbar-thumb:hover,body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-thumb:hover,body:not(.native-scrollbars) .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:hover,body:not(.native-scrollbars) .modal .vertical-tab-header::-webkit-scrollbar-thumb:hover,body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:hover{background-color:var(--background-modifier-border-hover)}body:not(.hider-scrollbars).styled-scrollbars .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:active,body:not(.hider-scrollbars).styled-scrollbars .modal .vertical-tab-header::-webkit-scrollbar-thumb:active,body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-thumb:active,body:not(.native-scrollbars) .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:active,body:not(.native-scrollbars) .modal .vertical-tab-header::-webkit-scrollbar-thumb:active,body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:active{background-color:var(--background-modifier-border-focus)}.tooltip{transition:none;animation:none}.tooltip.mod-left,.tooltip.mod-right{animation:none}.tooltip.mod-error{color:var(--text-error)}.markdown-preview-view blockquote{padding:0 0 0 var(--nested-padding);font-size:var(--blockquote-size)}.markdown-source-view.mod-cm6 .HyperMD-quote,.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote{font-size:var(--blockquote-size)}.is-live-preview .cm-hmd-indent-in-quote{color:var(--text-faint)}.is-live-preview.is-readable-line-width>.cm-callout .callout{max-width:var(--max-width);margin:0 auto}.callouts-outlined .callout .callout-title{background-color:var(--background-primary);margin-top:-24px;z-index:200;width:fit-content;padding:0 .5em;margin-left:-.75em;letter-spacing:.05em;font-variant-caps:all-small-caps}.callouts-outlined .callout{overflow:visible;--callout-border-width:1px;--callout-border-opacity:0.5;--callout-title-size:0.8em;--callout-blend-mode:normal;background-color:rgba(0,0,0,0)}.callouts-outlined .cm-embed-block.cm-callout{padding-top:12px}.callouts-outlined .callout-content .callout{margin-top:18px}body{--checkbox-radius:50%;--checkbox-top:2px;--checkbox-left:0px;--checkbox-margin:0px 6px 0px -2em}.checkbox-square{--checkbox-size:calc(var(--font-text-size) * 0.85);--checkbox-radius:4px;--checkbox-top:1px;--checkbox-left:0px;--checkbox-margin:0px 8px 0px -2em}body.minimal-strike-lists{--checklist-done-decoration:line-through}body:not(.minimal-strike-lists){--checklist-done-decoration:none;--checklist-done-color:var(--text-normal)}.markdown-preview-section>.contains-task-list{padding-bottom:.5em}.mod-cm6 .HyperMD-task-line[data-task] .cm-formatting-list-ol~.task-list-label .task-list-item-checkbox{margin:1px}.markdown-preview-view .task-list-item-checkbox{position:relative;top:var(--checkbox-top);left:var(--checkbox-left)}.markdown-preview-view ul>li.task-list-item{text-indent:0}.minimal-code-scroll{--code-white-space:pre}.minimal-code-scroll .HyperMD-codeblock.HyperMD-codeblock-bg{overflow-y:scroll;white-space:pre}.minimal-code-scroll .cm-hmd-codeblock{white-space:pre!important}@media print{.print{--code-background:#eee!important}}body{--embed-max-height:none;--embed-decoration-style:solid;--embed-decoration-color:var(--background-modifier-border-hover)}.embed-strict{--embed-background:transparent;--embed-border-start:0;--embed-border-left:0;--embed-padding:0}.embed-strict .markdown-embed-content{--folding-offset:0px}.embed-strict .internal-embed .markdown-embed,.embed-strict .markdown-preview-view .markdown-embed,.embed-strict.markdown-preview-view .markdown-embed{padding:0}.embed-strict .internal-embed .markdown-embed .markdown-embed-title,.embed-strict .markdown-embed-title{display:none}.embed-strict .internal-embed:not([src*="#^"]) .markdown-embed-link{width:24px;opacity:0}.embed-underline .internal-embed:not(.pdf-embed){text-decoration-line:underline;text-decoration-style:var(--embed-decoration-style);text-decoration-color:var(--embed-decoration-color)}.embed-hide-title .markdown-embed-title{display:none}.contextual-typography .embed-strict .internal-embed .markdown-preview-view .markdown-preview-sizer>div,.embed-strict.contextual-typography .internal-embed .markdown-preview-view .markdown-preview-sizer>div{margin:0;width:100%}.markdown-embed .markdown-preview-view .markdown-preview-sizer{padding-bottom:0!important}.markdown-preview-view.is-readable-line-width .markdown-embed .markdown-preview-sizer,.markdown-preview-view.markdown-embed .markdown-preview-sizer{max-width:100%;width:100%;min-height:0!important;padding-bottom:0!important}.markdown-embed .markdown-preview-section div:last-child p,.markdown-embed .markdown-preview-section div:last-child ul{margin-block-end:2px}.markdown-preview-view .markdown-embed{margin-top:var(--nested-padding);padding:0 calc(var(--nested-padding)/2) 0 var(--nested-padding)}.internal-embed:not([src*="#^"]) .markdown-embed-link{right:0;width:100%}.file-embed-link,.markdown-embed-link{top:0;right:0;text-align:right;justify-content:flex-end}.file-embed-link svg,.markdown-embed-link svg{width:16px;height:16px}.markdown-embed .file-embed-link,.markdown-embed .markdown-embed-link{opacity:.6;transition:opacity .1s linear}.markdown-embed .file-embed-link:hover,.markdown-embed .markdown-embed-link:hover{opacity:1}.markdown-embed .file-embed-link:hover:hover,.markdown-embed .markdown-embed-link:hover:hover{background-color:rgba(0,0,0,0);--icon-color:var(--text-accent)}.file-embed-link:hover,.markdown-embed-link:hover{color:var(--text-muted)}.markdown-embed .markdown-preview-view{padding:0}.internal-embed .markdown-embed{border:0;border-left:1px solid var(--quote-opening-modifier);border-radius:0}a[href*="obsidian://search"]{background-image:url("data:image/svg+xml,")}.theme-dark a[href*="obsidian://search"]{background-image:url("data:image/svg+xml,")}.plain-external-links .external-link{background-image:none;padding-right:0}body{--adaptive-list-edit-offset:var(--list-edit-offset)}.is-rtl{--adaptive-list-edit-offset:calc(var(--list-edit-offset)*-1)}.markdown-preview-view ol>li,.markdown-preview-view ul>li,.markdown-source-view ol>li,.markdown-source-view ul>li,.mod-cm6 .HyperMD-list-line.cm-line{padding-top:var(--list-spacing);padding-bottom:var(--list-spacing)}.is-mobile ul>li:not(.task-list-item)::marker{font-size:.8em}.is-mobile .workspace-leaf-content:not([data-type=search]) .workspace-leaf-content[data-type=markdown] .nav-buttons-container{border-bottom:none;padding-top:5px}.is-mobile .mod-root .workspace-leaf-content[data-type=markdown] .search-input-container{width:calc(100% - 160px)}.embedded-backlinks .backlink-pane>.tree-item-self,.embedded-backlinks .backlink-pane>.tree-item-self:hover{text-transform:none;color:var(--text-normal);font-size:var(--font-adaptive-normal);font-weight:500;letter-spacing:unset}body{--pdf-dark-opacity:1}.theme-dark:not(.pdf-shadows-on),.theme-light:not(.pdf-shadows-on){--pdf-shadow:none;--pdf-thumbnail-shadow:none}.theme-dark:not(.pdf-shadows-on) .pdf-viewer .page,.theme-light:not(.pdf-shadows-on) .pdf-viewer .page{border:0}.theme-dark:not(.pdf-shadows-on) .pdf-sidebar-container .thumbnailSelectionRing,.theme-light:not(.pdf-shadows-on) .pdf-sidebar-container .thumbnailSelectionRing{padding:0}.theme-dark:not(.pdf-shadows-on) .pdf-sidebar-container .thumbnail::after,.theme-light:not(.pdf-shadows-on) .pdf-sidebar-container .thumbnail::after{right:var(--size-4-2);bottom:var(--size-4-2)}.theme-dark{--pdf-thumbnail-shadow:0 0 1px 0 rgba(0,0,0,0.6);--pdf-shadow:0 0 1px 0 rgba(0,0,0,0.6)}.theme-dark .pdf-viewer .canvasWrapper{opacity:var(--pdf-dark-opacity)}.theme-dark.pdf-invert-dark .workspace-leaf-content[data-type=pdf] .pdf-viewer .canvasWrapper{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}.theme-light.pdf-blend-light .workspace-leaf-content[data-type=pdf] .pdf-viewer .canvasWrapper{mix-blend-mode:multiply}body{--table-header-border-width:0;--table-column-first-border-width:0;--table-column-last-border-width:0;--table-row-last-border-width:0;--table-edge-cell-padding-first:0;--table-edge-cell-padding-last:0;--table-cell-padding:4px 10px;--table-header-size:var(--table-text-size)}.markdown-source-view.mod-cm6 table{border-collapse:collapse}.markdown-rendered th{--table-header-size:var(--table-text-size)}.markdown-preview-view table,.markdown-source-view.mod-cm6 table{border:var(--border-width) solid var(--border-color);border-collapse:collapse}.markdown-preview-view td,.markdown-preview-view th,.markdown-source-view.mod-cm6 td,.markdown-source-view.mod-cm6 th{padding:var(--table-cell-padding)}.markdown-preview-view td:first-child,.markdown-preview-view th:first-child,.markdown-source-view.mod-cm6 td:first-child,.markdown-source-view.mod-cm6 th:first-child{padding-inline-start:var(--table-edge-cell-padding-first)}.markdown-preview-view td:first-child .table-cell-wrapper,.markdown-preview-view th:first-child .table-cell-wrapper,.markdown-source-view.mod-cm6 td:first-child .table-cell-wrapper,.markdown-source-view.mod-cm6 th:first-child .table-cell-wrapper{padding-inline-start:0}.markdown-preview-view td:last-child,.markdown-preview-view th:last-child,.markdown-source-view.mod-cm6 td:last-child,.markdown-source-view.mod-cm6 th:last-child{padding-inline-end:var(--table-edge-cell-padding-last)}.markdown-preview-view td:last-child .table-cell-wrapper,.markdown-preview-view th:last-child .table-cell-wrapper,.markdown-source-view.mod-cm6 td:last-child .table-cell-wrapper,.markdown-source-view.mod-cm6 th:last-child .table-cell-wrapper{padding-inline-end:0}.cm-embed-block.cm-table-widget.markdown-rendered{margin-top:-8px!important;padding:var(--table-drag-padding);overscroll-behavior-x:none}.is-mobile .cm-embed-block.cm-table-widget.markdown-rendered{padding-bottom:40px}.markdown-preview-view th,.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th,.table-view-table>thead>tr>th{padding:var(--table-cell-padding)}.markdown-preview-view th:first-child,.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th:first-child,.table-view-table>thead>tr>th:first-child{padding-inline-start:var(--table-edge-cell-padding-first)}.markdown-preview-view th:last-child,.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th:last-child,.table-view-table>thead>tr>th:last-child{padding-inline-end:var(--table-edge-cell-padding-last)}.cm-hmd-table-sep-dummy,.cm-s-obsidian .HyperMD-table-row span.cm-hmd-table-sep{color:var(--text-faint);font-weight:400}body.minimal-unstyled-tags{--tag-background:transparent;--tag-background-hover:transparent;--tag-border-width:0px;--tag-padding-x:0;--tag-padding-y:0;--tag-size:inherit;--tag-color-hover:var(--text-accent-hover)}body.minimal-unstyled-tags.is-mobile.theme-dark{--tag-background:transparent}body:not(.minimal-unstyled-tags){--tag-size:0.8em;--tag-padding-y:0.2em;--tag-background:transparent;--tag-background-hover:transparent;--tag-color:var(--text-muted);--tag-border-width:1px;--tag-border-color:var(--background-modifier-border);--tag-border-color-hover:var(--background-modifier-border-hover);--tag-color-hover:var(--text-normal)}body.is-mobile.theme-dark{--tag-background:transparent}h1,h2,h3,h4{letter-spacing:-.02em}body,button,input{font-family:var(--font-interface)}.cm-s-obsidian span.cm-error{color:var(--color-red)}.markdown-preview-view,.popover,.workspace-leaf-content[data-type=markdown]{font-family:var(--font-text)}.markdown-preview-view,.view-content>.cm-s-obsidian,.view-content>.markdown-source-view.mod-cm6.is-live-preview>.cm-scroller,body{font-size:var(--font-adaptive-normal);font-weight:var(--normal-weight)}.view-content>.cm-s-obsidian,.view-content>.markdown-source-view,.view-content>.markdown-source-view.mod-cm6 .cm-scroller{font-family:var(--font-editor)}.cm-formatting:not(.cm-formatting-code-block):not(.cm-formatting-hashtag){color:var(--text-formatting)}.hide-markdown .is-live-preview .cm-formatting.cm-formatting-code.cm-inline-code,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-em,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-highlight,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-link,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-strikethrough,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-strong{display:none}.hide-markdown .is-live-preview .cm-formatting-quote{opacity:0}.hide-markdown .is-live-preview .cm-formatting-link,.hide-markdown .is-live-preview .cm-formatting:has(+.cm-header),.hide-markdown .is-live-preview .cm-hmd-internal-link.cm-link-has-alias,.hide-markdown .is-live-preview .cm-link-alias-pipe{display:none}.active-line-on .cm-line.cm-active,.active-line-on .markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote.cm-active{background-color:var(--active-line-bg);box-shadow:-25vw 0 var(--active-line-bg),25vw 0 var(--active-line-bg)}body{--content-margin:auto;--content-margin-start:max( calc(50% - var(--line-width)/2), calc(50% - var(--max-width)/2) );--content-line-width:min(var(--line-width), var(--max-width))}.markdown-preview-view .markdown-preview-sizer.markdown-preview-sizer{max-width:100%;margin-inline:auto;width:100%}.markdown-source-view.mod-cm6.is-readable-line-width .cm-content,.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer{max-width:100%;width:100%}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div,.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer>.embedded-backlinks,.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer>.inline-title,.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer>.metadata-container{max-width:var(--max-width);width:var(--line-width);margin-inline:var(--content-margin)!important}.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>:not(div){max-width:var(--content-line-width);margin-inline-start:var(--content-margin-start)!important}.is-readable-line-width{--file-margins:1rem 0 0 0}.is-mobile .markdown-preview-view{--folding-offset:0}.minimal-line-nums .workspace-leaf-content[data-type=markdown]{--file-margins:var(--size-4-8) var(--size-4-8) var(--size-4-8) 48px}.minimal-line-nums .workspace-leaf-content[data-type=markdown].is-rtl{--file-margins:var(--size-4-8) 48px var(--size-4-8) var(--size-4-8)}.minimal-line-nums .workspace-leaf-content[data-type=markdown] .is-readable-line-width{--file-margins:1rem 0 0 var(--folding-offset)}.minimal-line-nums .workspace-leaf-content[data-type=markdown] .is-readable-line-width.is-rtl{--file-margins:1rem var(--folding-offset) 0 0}.minimal-line-nums .mod-left-split .markdown-preview-view,.minimal-line-nums .mod-left-split .markdown-source-view.mod-cm6 .cm-scroller,.minimal-line-nums .mod-right-split .markdown-preview-view,.minimal-line-nums .mod-right-split .markdown-source-view.mod-cm6 .cm-scroller{--file-margins:var(--size-4-5) var(--size-4-5) var(--size-4-5) 48px}.view-content .reader-mode-content.is-readable-line-width .markdown-preview-sizer{max-width:var(--max-width);width:var(--line-width)}.markdown-preview-view .inline-embed{--max-width:100%}body{--container-table-max-width:var(--max-width);--table-max-width:none;--table-width:auto;--table-margin:inherit;--table-wrapper-width:fit-content;--container-dataview-table-width:var(--line-width);--container-img-width:var(--line-width);--container-img-max-width:var(--max-width);--img-max-width:100%;--img-width:auto;--img-margin-start:var(--content-margin-start);--img-line-width:var(--content-line-width);--container-chart-width:var(--line-width);--container-chart-max-width:var(--max-width);--chart-max-width:none;--chart-width:auto;--container-map-width:var(--line-width);--container-map-max-width:var(--max-width);--map-max-width:none;--map-width:auto;--container-iframe-width:var(--line-width);--container-iframe-max-width:var(--max-width);--iframe-max-width:none;--iframe-width:auto}body .wide{--line-width:var(--line-width-wide);--container-table-width:var(--line-width-wide);--container-dataview-table-width:var(--line-width-wide);--container-img-width:var(--line-width-wide);--container-iframe-width:var(--line-width-wide);--container-map-width:var(--line-width-wide);--container-chart-width:var(--line-width-wide)}body .max{--line-width:var(--max-width);--container-table-width:var(--max-width);--container-dataview-table-width:var(--max-width);--container-img-width:var(--max-width);--container-iframe-width:var(--max-width);--container-map-width:var(--max-width);--container-chart-width:var(--max-width)}table.dataview{--table-min-width:min(var(--line-width),var(--max-width))}.cards table.dataview{--table-width:100%;--table-min-width:none}body{--table-drag-space:16px;--container-table-margin:calc(var(--content-margin-start) - var(--table-drag-space));--container-table-width:calc(var(--line-width) + var(--table-drag-space)*2);--table-drag-padding:var(--table-drag-space)}.is-mobile{--table-drag-space:16px;--container-table-max-width:calc(100% - var(--container-table-margin))}.maximize-tables-auto{--container-table-max-width:100%;--container-table-width:100%;--container-dataview-table-width:100%;--container-table-margin:0;--table-drag-padding:var(--table-drag-space) 0;--table-max-width:100%;--table-margin:var(--content-margin-start) auto;--table-width:auto}.maximize-tables-auto .cards{--container-table-max-width:var(--max-width)}.maximize-tables-auto .cards .block-language-dataview{--table-margin:auto}.maximize-tables{--container-table-max-width:100%;--container-table-width:100%;--container-table-margin:0;--table-drag-padding:var(--table-drag-space) 0;--table-min-width:min(var(--line-width), var(--max-width));--table-max-width:100%;--table-margin:auto;--table-width:auto;--table-edge-cell-padding-first:8px;--table-edge-cell-padding-last:8px;--table-wrapper-width:auto}.table-100,.table-max,.table-wide{--table-max-width:100%;--table-width:100%}.table-wide{--container-table-width:var(--line-width-wide);--container-dataview-table-width:var(--line-width-wide);--container-table-margin:auto;--table-edge-cell-padding-first:0px}.table-max{--container-table-width:var(--max-width);--container-table-max-width:calc(var(--max-width) + var(--table-drag-space)*2);--container-dataview-table-width:var(--max-width);--container-table-margin:auto;--table-edge-cell-padding-first:0px;--table-margin:0}.table-100{--container-table-width:100%;--container-dataview-table-width:100%;--container-table-max-width:100%;--container-table-margin:0;--table-edge-cell-padding-first:16px;--table-edge-cell-padding-last:16px;--table-margin:0;--table-drag-padding:var(--table-drag-space) 0;--table-wrapper-width:min(fit-content, 100%)}.table-100 .dataview.list-view-ul{max-width:var(--max-width);width:var(--line-width);margin-inline:auto}.table-100 .table-col-btn{display:none!important}.img-100,.img-max,.img-wide{--img-max-width:100%;--img-width:100%}.img-wide{--container-img-width:var(--line-width-wide);--img-line-width:var(--line-width-wide);--img-margin-start:calc(50% - var(--line-width-wide)/2)}.img-max{--container-img-width:var(--max-width);--img-line-width:var(--max-width);--img-margin-start:calc(50% - var(--max-width)/2)}.img-100{--container-img-width:100%;--container-img-max-width:100%;--img-line-width:100%;--img-margin-start:0}.map-100,.map-max,.map-wide{--map-max-width:100%;--map-width:100%}.map-wide{--container-map-width:var(--line-width-wide)}.map-max{--container-map-width:var(--max-width)}.map-100{--container-map-width:100%;--container-map-max-width:100%}.chart-100,.chart-max,.chart-wide{--chart-max-width:100%;--chart-width:100%}.chart-wide{--container-chart-width:var(--line-width-wide)}.chart-max{--container-chart-width:var(--max-width)}.chart-100{--container-chart-width:100%;--container-chart-max-width:100%}.iframe-100,.iframe-max,.iframe-wide{--iframe-max-width:100%;--iframe-width:100%}.iframe-wide{--container-iframe-width:var(--line-width-wide)}.iframe-max{--container-iframe-width:var(--max-width)}.iframe-100{--container-iframe-width:100%;--container-iframe-max-width:100%}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .cm-table-widget,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>table),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .cm-table-widget,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>table){width:var(--container-table-width);max-width:var(--container-table-max-width);margin-inline:var(--container-table-margin)!important}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .table-wrapper,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .table-wrapper{width:var(--table-wrapper-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>.block-language-dataview>table),.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>.block-language-dataviewjs),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>.block-language-dataview>table),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>.block-language-dataviewjs){width:var(--container-dataview-table-width);max-width:var(--container-table-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer table,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content table{width:var(--table-width);max-width:var(--table-max-width);margin-inline:var(--table-margin);min-width:var(--table-min-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .block-language-dataviewjs>:is(p,h1,h2,h3,h4,h5,h6),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .block-language-dataviewjs>:is(p,h1,h2,h3,h4,h5,h6){width:var(--line-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .block-language-dataviewjs>.dataview-error,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .block-language-dataviewjs>.dataview-error{margin:0 auto;width:var(--content-line-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .dataview.dataview-error-box,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .dataview.dataview-error-box{margin-inline:var(--table-margin)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>.image-embed,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>.image-embed{padding-top:.25rem;padding-bottom:.25rem}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>.image-embed,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(.image-embed),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>.image-embed,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(.image-embed){width:var(--container-img-width);max-width:var(--container-img-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>.image-embed img,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(.image-embed) img,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>.image-embed img,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(.image-embed) img{max-width:var(--img-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>img,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>img{max-width:var(--img-line-width);margin-inline-start:var(--img-margin-start)!important}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-chart),.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-dataviewjs canvas),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-chart),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-dataviewjs canvas){width:var(--container-chart-width);max-width:var(--container-chart-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-chart) canvas,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-dataviewjs canvas) canvas,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-chart) canvas,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-dataviewjs canvas) canvas{max-width:var(--map-chart-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-leaflet),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-leaflet){width:var(--container-map-width);max-width:var(--container-map-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-leaflet) iframe,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-leaflet) iframe{max-width:var(--map-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.cm-html-embed),.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>iframe),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.cm-html-embed),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>iframe){width:var(--container-iframe-width);max-width:var(--container-iframe-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.cm-html-embed) iframe,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>iframe) iframe,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.cm-html-embed) iframe,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>iframe) iframe{max-width:var(--iframe-max-width)}.borders-none{--divider-width:0px;--tab-outline-width:0px}body:is(.borders-none) .mod-root .workspace-tab-header-container:is(div,:hover){--tab-outline-width:0px}body{--cards-min-width:180px;--cards-max-width:1fr;--cards-mobile-width:120px;--cards-image-height:400px;--cards-padding:1.2em;--cards-image-fit:contain;--cards-background:transparent;--cards-border-width:1px;--cards-aspect-ratio:auto;--cards-columns:repeat(auto-fit, minmax(var(--cards-min-width), var(--cards-max-width)))}@media(max-width:400pt){body{--cards-min-width:var(--cards-mobile-width)}}.cards.table-100 table.dataview tbody,.table-100 .cards table.dataview tbody{padding:.25rem .75rem}.cards table.dataview{--table-width:100%;--table-edge-cell-padding-first:calc(var(--cards-padding)/2);--table-edge-cell-padding-last:calc(var(--cards-padding)/2);--table-cell-padding:calc(var(--cards-padding)/3) calc(var(--cards-padding)/2);line-height:1.3}.cards table.dataview tbody{clear:both;padding:.5rem 0;display:grid;grid-template-columns:var(--cards-columns);grid-column-gap:.75rem;grid-row-gap:.75rem}.cards table.dataview>tbody>tr{background-color:var(--cards-background);border:var(--cards-border-width) solid var(--background-modifier-border);display:flex;flex-direction:column;margin:0;padding:0 0 calc(var(--cards-padding)/3) 0;border-radius:6px;overflow:hidden;transition:box-shadow .15s linear;max-width:var(--cards-max-width);height:auto}.cards table.dataview>tbody>tr:hover{border:var(--cards-border-width) solid var(--background-modifier-border-hover);box-shadow:0 4px 6px 0 rgba(0,0,0,.05),0 1px 3px 1px rgba(0,0,0,.025);transition:box-shadow .15s linear}.cards table.dataview tbody>tr>td:first-child{font-weight:var(--bold-weight);border:none}.cards table.dataview tbody>tr>td:first-child a{display:block}.cards table.dataview tbody>tr>td:last-child{border:none}.cards table.dataview tbody>tr>td:not(:first-child){font-size:calc(var(--table-text-size)*.9);color:var(--text-muted)}.cards table.dataview tbody>tr>td>*{padding:calc(var(--cards-padding)/3) 0}.cards table.dataview tbody>tr>td:not(:last-child):not(:first-child){padding:4px 0;border-bottom:1px solid var(--background-modifier-border);width:calc(100% - var(--cards-padding));margin:0 calc(var(--cards-padding)/2)}.cards table.dataview tbody>tr>td a{text-decoration:none}.cards table.dataview tbody>tr>td>button{width:100%;margin:calc(var(--cards-padding)/2) 0}.cards table.dataview tbody>tr>td:last-child>button{margin-bottom:calc(var(--cards-padding)/6)}.cards table.dataview tbody>tr>td>ul{width:100%;padding:.25em 0!important;margin:0 auto!important}.cards table.dataview tbody>tr>td:has(img){padding:0!important;background-color:var(--background-secondary);display:block;margin:0;width:100%}.cards table.dataview tbody>tr>td img{aspect-ratio:var(--cards-aspect-ratio);width:100%;object-fit:var(--cards-image-fit);max-height:var(--cards-image-height);background-color:var(--background-secondary);vertical-align:bottom}.markdown-source-view.mod-cm6.cards .dataview.table-view-table>tbody>tr>td,.trim-cols .cards table.dataview tbody>tr>td{white-space:normal}.links-int-on .cards table{--link-decoration:none}.markdown-source-view.mod-cm6.cards .edit-block-button{top:-1px;right:28px;opacity:1}.cards.table-100 table.dataview thead>tr,.table-100 .cards table.dataview thead>tr{right:.75rem}.cards.table-100 table.dataview thead:before,.table-100 .cards table.dataview thead:before{margin-right:.75rem}.cards table.dataview thead{user-select:none;width:180px;display:block;float:right;position:relative;text-align:right;height:24px;padding-bottom:0}.cards table.dataview thead:hover:after{background-color:var(--background-modifier-hover)}.cards table.dataview thead:hover:before{background-color:var(--text-muted)}.cards table.dataview thead:after,.cards table.dataview thead:before{content:"";position:absolute;right:0;top:0;width:10px;height:16px;cursor:var(--cursor);text-align:right;padding:var(--size-4-1) var(--size-4-2);margin-bottom:2px;border-radius:var(--radius-s);font-weight:500;font-size:var(--font-adaptive-small)}.cards table.dataview thead:before{background-color:var(--text-faint);-webkit-mask-repeat:no-repeat;-webkit-mask-size:16px;-webkit-mask-position:center center;-webkit-mask-image:url('data:image/svg+xml;utf8,')}.cards table.dataview thead>tr{top:-1px;position:absolute;display:none;z-index:9;border:1px solid var(--background-modifier-border-hover);background-color:var(--background-secondary);box-shadow:var(--shadow-s);padding:6px;border-radius:var(--radius-m);flex-direction:column;margin:24px 0 0 0;width:100%}.cards table.dataview thead:hover>tr{display:flex;height:auto}.cards table.dataview thead>tr>th{display:block;padding:3px 30px 3px 6px!important;border-radius:var(--radius-s);width:100%;font-weight:400;color:var(--text-normal);cursor:var(--cursor);border:none;font-size:var(--font-ui-small)}.cards table.dataview thead>tr>th[sortable-style=sortable-asc],.cards table.dataview thead>tr>th[sortable-style=sortable-desc]{color:var(--text-normal)}.cards table.dataview thead>tr>th:hover{color:var(--text-normal);background-color:var(--background-modifier-hover)}.list-cards.markdown-preview-view .list-bullet,.list-cards.markdown-preview-view .list-collapse-indicator,.list-cards.markdown-preview-view.markdown-rendered.show-indentation-guide li>ul::before{display:none}.list-cards.markdown-preview-view div>ul{display:grid;gap:.75rem;grid-template-columns:var(--cards-columns);padding:0;line-height:var(--line-height-tight)}.list-cards.markdown-preview-view div>ul .contains-task-list{padding-inline-start:calc(var(--cards-padding)*1.5)}.list-cards.markdown-preview-view div>ul>li{background-color:var(--cards-background);padding:calc(var(--cards-padding)/2);border-radius:var(--radius-s);border:var(--cards-border-width) solid var(--background-modifier-border);overflow:hidden;margin-inline-start:0}.list-cards.markdown-preview-view div>ul .image-embed{padding:0;display:block;background-color:var(--background-secondary);border-radius:var(--image-radius)}.list-cards.markdown-preview-view div>ul .image-embed img{aspect-ratio:var(--cards-aspect-ratio);object-fit:var(--cards-image-fit);max-height:var(--cards-image-height);background-color:var(--background-secondary);vertical-align:bottom}.list-cards.markdown-preview-view div>ul>li>a{--link-decoration:none;--link-external-decoration:none;font-weight:var(--bold-weight)}.list-cards.markdown-preview-view div ul>li:hover{border-color:var(--background-modifier-border-hover)}.list-cards.markdown-preview-view div ul ul{display:block;width:100%;color:var(--text-muted);font-size:var(--font-smallest);margin:calc(var(--cards-padding)/-4) 0;padding:calc(var(--cards-padding)/2) 0}.list-cards.markdown-preview-view div ul ul ul{padding-bottom:calc(var(--cards-padding)/4)}.list-cards.markdown-preview-view div ul ul>li{display:block;margin-inline-start:0}.cards.cards-16-9,.list-cards.cards-16-9{--cards-aspect-ratio:16/9}.cards.cards-1-1,.list-cards.cards-1-1{--cards-aspect-ratio:1/1}.cards.cards-2-1,.list-cards.cards-2-1{--cards-aspect-ratio:2/1}.cards.cards-2-3,.list-cards.cards-2-3{--cards-aspect-ratio:2/3}.cards.cards-cols-1,.list-cards.cards-cols-1{--cards-columns:repeat(1, minmax(0, 1fr))}.cards.cards-cols-2,.list-cards.cards-cols-2{--cards-columns:repeat(2, minmax(0, 1fr))}.cards.cards-cover,.list-cards.cards-cover{--cards-image-fit:cover}.cards.cards-align-bottom table.dataview tbody>tr>td:last-child,.list-cards.cards-align-bottom table.dataview tbody>tr>td:last-child{margin-top:auto}@media(max-width:400pt){.cards table.dataview tbody>tr>td:not(:first-child){font-size:80%}}@media(min-width:400pt){.cards-cols-3{--cards-columns:repeat(3, minmax(0, 1fr))}.cards-cols-4{--cards-columns:repeat(4, minmax(0, 1fr))}.cards-cols-5{--cards-columns:repeat(5, minmax(0, 1fr))}.cards-cols-6{--cards-columns:repeat(6, minmax(0, 1fr))}.cards-cols-7{--cards-columns:repeat(7, minmax(0, 1fr))}.cards-cols-8{--cards-columns:repeat(8, minmax(0, 1fr))}}.cm-formatting.cm-formatting-task.cm-property{font-family:var(--font-monospace);font-size:90%}input[data-task="!"]:checked,input[data-task="*"]:checked,input[data-task="-"]:checked,input[data-task="<"]:checked,input[data-task=">"]:checked,input[data-task=I]:checked,input[data-task=b]:checked,input[data-task=c]:checked,input[data-task=d]:checked,input[data-task=f]:checked,input[data-task=k]:checked,input[data-task=l]:checked,input[data-task=p]:checked,input[data-task=u]:checked,input[data-task=w]:checked,li[data-task="!"]>input:checked,li[data-task="!"]>p>input:checked,li[data-task="*"]>input:checked,li[data-task="*"]>p>input:checked,li[data-task="-"]>input:checked,li[data-task="-"]>p>input:checked,li[data-task="<"]>input:checked,li[data-task="<"]>p>input:checked,li[data-task=">"]>input:checked,li[data-task=">"]>p>input:checked,li[data-task=I]>input:checked,li[data-task=I]>p>input:checked,li[data-task=b]>input:checked,li[data-task=b]>p>input:checked,li[data-task=c]>input:checked,li[data-task=c]>p>input:checked,li[data-task=d]>input:checked,li[data-task=d]>p>input:checked,li[data-task=f]>input:checked,li[data-task=f]>p>input:checked,li[data-task=k]>input:checked,li[data-task=k]>p>input:checked,li[data-task=l]>input:checked,li[data-task=l]>p>input:checked,li[data-task=p]>input:checked,li[data-task=p]>p>input:checked,li[data-task=u]>input:checked,li[data-task=u]>p>input:checked,li[data-task=w]>input:checked,li[data-task=w]>p>input:checked{--checkbox-marker-color:transparent;border:none;border-radius:0;background-image:none;background-color:currentColor;-webkit-mask-size:var(--checkbox-icon);-webkit-mask-position:50% 50%}input[data-task=">"]:checked,li[data-task=">"]>input:checked,li[data-task=">"]>p>input:checked{color:var(--text-faint);transform:rotate(90deg);-webkit-mask-position:50% 100%;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z' /%3E%3C/svg%3E")}input[data-task="<"]:checked,li[data-task="<"]>input:checked,li[data-task="<"]>p>input:checked{color:var(--text-faint);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z' clip-rule='evenodd' /%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task="?"]:checked,li[data-task="?"]>input:checked,li[data-task="?"]>p>input:checked{--checkbox-marker-color:transparent;background-color:var(--color-yellow);border-color:var(--color-yellow);background-position:50% 50%;background-size:200% 90%;background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 16 16"%3E%3Cpath fill="white" fill-rule="evenodd" d="M4.475 5.458c-.284 0-.514-.237-.47-.517C4.28 3.24 5.576 2 7.825 2c2.25 0 3.767 1.36 3.767 3.215c0 1.344-.665 2.288-1.79 2.973c-1.1.659-1.414 1.118-1.414 2.01v.03a.5.5 0 0 1-.5.5h-.77a.5.5 0 0 1-.5-.495l-.003-.2c-.043-1.221.477-2.001 1.645-2.712c1.03-.632 1.397-1.135 1.397-2.028c0-.979-.758-1.698-1.926-1.698c-1.009 0-1.71.529-1.938 1.402c-.066.254-.278.461-.54.461h-.777ZM7.496 14c.622 0 1.095-.474 1.095-1.09c0-.618-.473-1.092-1.095-1.092c-.606 0-1.087.474-1.087 1.091S6.89 14 7.496 14Z"%2F%3E%3C%2Fsvg%3E')}.theme-dark input[data-task="?"]:checked,.theme-dark li[data-task="?"]>input:checked,.theme-dark li[data-task="?"]>p>input:checked{background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 16 16"%3E%3Cpath fill="black" fill-opacity="0.8" fill-rule="evenodd" d="M4.475 5.458c-.284 0-.514-.237-.47-.517C4.28 3.24 5.576 2 7.825 2c2.25 0 3.767 1.36 3.767 3.215c0 1.344-.665 2.288-1.79 2.973c-1.1.659-1.414 1.118-1.414 2.01v.03a.5.5 0 0 1-.5.5h-.77a.5.5 0 0 1-.5-.495l-.003-.2c-.043-1.221.477-2.001 1.645-2.712c1.03-.632 1.397-1.135 1.397-2.028c0-.979-.758-1.698-1.926-1.698c-1.009 0-1.71.529-1.938 1.402c-.066.254-.278.461-.54.461h-.777ZM7.496 14c.622 0 1.095-.474 1.095-1.09c0-.618-.473-1.092-1.095-1.092c-.606 0-1.087.474-1.087 1.091S6.89 14 7.496 14Z"%2F%3E%3C%2Fsvg%3E')}input[data-task="/"]:checked,li[data-task="/"]>input:checked,li[data-task="/"]>p>input:checked{background-image:none;background-color:rgba(0,0,0,0);position:relative;overflow:hidden}input[data-task="/"]:checked:after,li[data-task="/"]>input:checked:after,li[data-task="/"]>p>input:checked:after{top:0;left:0;content:" ";display:block;position:absolute;background-color:var(--background-modifier-accent);width:calc(50% - .5px);height:100%;-webkit-mask-image:none}input[data-task="!"]:checked,li[data-task="!"]>input:checked,li[data-task="!"]>p>input:checked{color:var(--color-orange);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task='"']:checked,input[data-task=“]:checked,li[data-task='"']>input:checked,li[data-task='"']>p>input:checked,li[data-task=“]>input:checked,li[data-task=“]>p>input:checked{--checkbox-marker-color:transparent;background-position:50% 50%;background-color:var(--color-cyan);border-color:var(--color-cyan);background-size:75%;background-repeat:no-repeat;background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"%3E%3Cpath fill="white" d="M6.5 10c-.223 0-.437.034-.65.065c.069-.232.14-.468.254-.68c.114-.308.292-.575.469-.844c.148-.291.409-.488.601-.737c.201-.242.475-.403.692-.604c.213-.21.492-.315.714-.463c.232-.133.434-.28.65-.35l.539-.222l.474-.197l-.485-1.938l-.597.144c-.191.048-.424.104-.689.171c-.271.05-.56.187-.882.312c-.318.142-.686.238-1.028.466c-.344.218-.741.4-1.091.692c-.339.301-.748.562-1.05.945c-.33.358-.656.734-.909 1.162c-.293.408-.492.856-.702 1.299c-.19.443-.343.896-.468 1.336c-.237.882-.343 1.72-.384 2.437c-.034.718-.014 1.315.028 1.747c.015.204.043.402.063.539l.025.168l.026-.006A4.5 4.5 0 1 0 6.5 10zm11 0c-.223 0-.437.034-.65.065c.069-.232.14-.468.254-.68c.114-.308.292-.575.469-.844c.148-.291.409-.488.601-.737c.201-.242.475-.403.692-.604c.213-.21.492-.315.714-.463c.232-.133.434-.28.65-.35l.539-.222l.474-.197l-.485-1.938l-.597.144c-.191.048-.424.104-.689.171c-.271.05-.56.187-.882.312c-.317.143-.686.238-1.028.467c-.344.218-.741.4-1.091.692c-.339.301-.748.562-1.05.944c-.33.358-.656.734-.909 1.162c-.293.408-.492.856-.702 1.299c-.19.443-.343.896-.468 1.336c-.237.882-.343 1.72-.384 2.437c-.034.718-.014 1.315.028 1.747c.015.204.043.402.063.539l.025.168l.026-.006A4.5 4.5 0 1 0 17.5 10z"%2F%3E%3C%2Fsvg%3E')}.theme-dark input[data-task='"']:checked,.theme-dark input[data-task=“]:checked,.theme-dark li[data-task='"']>input:checked,.theme-dark li[data-task='"']>p>input:checked,.theme-dark li[data-task=“]>input:checked,.theme-dark li[data-task=“]>p>input:checked{background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"%3E%3Cpath fill="black" fill-opacity="0.7" d="M6.5 10c-.223 0-.437.034-.65.065c.069-.232.14-.468.254-.68c.114-.308.292-.575.469-.844c.148-.291.409-.488.601-.737c.201-.242.475-.403.692-.604c.213-.21.492-.315.714-.463c.232-.133.434-.28.65-.35l.539-.222l.474-.197l-.485-1.938l-.597.144c-.191.048-.424.104-.689.171c-.271.05-.56.187-.882.312c-.318.142-.686.238-1.028.466c-.344.218-.741.4-1.091.692c-.339.301-.748.562-1.05.945c-.33.358-.656.734-.909 1.162c-.293.408-.492.856-.702 1.299c-.19.443-.343.896-.468 1.336c-.237.882-.343 1.72-.384 2.437c-.034.718-.014 1.315.028 1.747c.015.204.043.402.063.539l.025.168l.026-.006A4.5 4.5 0 1 0 6.5 10zm11 0c-.223 0-.437.034-.65.065c.069-.232.14-.468.254-.68c.114-.308.292-.575.469-.844c.148-.291.409-.488.601-.737c.201-.242.475-.403.692-.604c.213-.21.492-.315.714-.463c.232-.133.434-.28.65-.35l.539-.222l.474-.197l-.485-1.938l-.597.144c-.191.048-.424.104-.689.171c-.271.05-.56.187-.882.312c-.317.143-.686.238-1.028.467c-.344.218-.741.4-1.091.692c-.339.301-.748.562-1.05.944c-.33.358-.656.734-.909 1.162c-.293.408-.492.856-.702 1.299c-.19.443-.343.896-.468 1.336c-.237.882-.343 1.72-.384 2.437c-.034.718-.014 1.315.028 1.747c.015.204.043.402.063.539l.025.168l.026-.006A4.5 4.5 0 1 0 17.5 10z"%2F%3E%3C%2Fsvg%3E')}input[data-task="-"]:checked,li[data-task="-"]>input:checked,li[data-task="-"]>p>input:checked{color:var(--text-faint);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z' clip-rule='evenodd' /%3E%3C/svg%3E")}body:not(.tasks) .markdown-preview-view ul li[data-task="-"].task-list-item.is-checked,body:not(.tasks) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task]:is([data-task="-"]),body:not(.tasks) li[data-task="-"].task-list-item.is-checked{color:var(--text-faint);text-decoration:line-through solid var(--text-faint) 1px}input[data-task="*"]:checked,li[data-task="*"]>input:checked,li[data-task="*"]>p>input:checked{color:var(--color-yellow);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z' /%3E%3C/svg%3E")}input[data-task=l]:checked,li[data-task=l]>input:checked,li[data-task=l]>p>input:checked{color:var(--color-red);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=i]:checked,li[data-task=i]>input:checked,li[data-task=i]>p>input:checked{--checkbox-marker-color:transparent;background-color:var(--color-blue);border-color:var(--color-blue);background-position:50%;background-size:100%;background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"%3E%3Cpath fill="none" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="40" d="M196 220h64v172"%2F%3E%3Cpath fill="none" stroke="white" stroke-linecap="round" stroke-miterlimit="10" stroke-width="40" d="M187 396h138"%2F%3E%3Cpath fill="white" d="M256 160a32 32 0 1 1 32-32a32 32 0 0 1-32 32Z"%2F%3E%3C%2Fsvg%3E')}.theme-dark input[data-task=i]:checked,.theme-dark li[data-task=i]>input:checked,.theme-dark li[data-task=i]>p>input:checked{background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"%3E%3Cpath fill="none" stroke="black" stroke-opacity="0.8" stroke-linecap="round" stroke-linejoin="round" stroke-width="40" d="M196 220h64v172"%2F%3E%3Cpath fill="none" stroke="black" stroke-opacity="0.8" stroke-linecap="round" stroke-miterlimit="10" stroke-width="40" d="M187 396h138"%2F%3E%3Cpath fill="black" fill-opacity="0.8" d="M256 160a32 32 0 1 1 32-32a32 32 0 0 1-32 32Z"%2F%3E%3C%2Fsvg%3E')}input[data-task=S]:checked,li[data-task=S]>input:checked,li[data-task=S]>p>input:checked{--checkbox-marker-color:transparent;border-color:var(--color-green);background-color:var(--color-green);background-size:100%;background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 48 48"%3E%3Cpath fill="white" fill-rule="evenodd" d="M26 8a2 2 0 1 0-4 0v2a8 8 0 1 0 0 16v8a4.002 4.002 0 0 1-3.773-2.666a2 2 0 0 0-3.771 1.332A8.003 8.003 0 0 0 22 38v2a2 2 0 1 0 4 0v-2a8 8 0 1 0 0-16v-8a4.002 4.002 0 0 1 3.773 2.666a2 2 0 0 0 3.771-1.332A8.003 8.003 0 0 0 26 10V8Zm-4 6a4 4 0 0 0 0 8v-8Zm4 12v8a4 4 0 0 0 0-8Z" clip-rule="evenodd"%2F%3E%3C%2Fsvg%3E')}.theme-dark input[data-task=S]:checked,.theme-dark li[data-task=S]>input:checked,.theme-dark li[data-task=S]>p>input:checked{background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 48 48"%3E%3Cpath fill-opacity="0.8" fill="black" fill-rule="evenodd" d="M26 8a2 2 0 1 0-4 0v2a8 8 0 1 0 0 16v8a4.002 4.002 0 0 1-3.773-2.666a2 2 0 0 0-3.771 1.332A8.003 8.003 0 0 0 22 38v2a2 2 0 1 0 4 0v-2a8 8 0 1 0 0-16v-8a4.002 4.002 0 0 1 3.773 2.666a2 2 0 0 0 3.771-1.332A8.003 8.003 0 0 0 26 10V8Zm-4 6a4 4 0 0 0 0 8v-8Zm4 12v8a4 4 0 0 0 0-8Z" clip-rule="evenodd"%2F%3E%3C%2Fsvg%3E')}input[data-task=I]:checked,li[data-task=I]>input:checked,li[data-task=I]>p>input:checked{color:var(--color-yellow);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z' /%3E%3C/svg%3E")}input[data-task=f]:checked,li[data-task=f]>input:checked,li[data-task=f]>p>input:checked{color:var(--color-red);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12.395 2.553a1 1 0 00-1.45-.385c-.345.23-.614.558-.822.88-.214.33-.403.713-.57 1.116-.334.804-.614 1.768-.84 2.734a31.365 31.365 0 00-.613 3.58 2.64 2.64 0 01-.945-1.067c-.328-.68-.398-1.534-.398-2.654A1 1 0 005.05 6.05 6.981 6.981 0 003 11a7 7 0 1011.95-4.95c-.592-.591-.98-.985-1.348-1.467-.363-.476-.724-1.063-1.207-2.03zM12.12 15.12A3 3 0 017 13s.879.5 2.5.5c0-1 .5-4 1.25-4.5.5 1 .786 1.293 1.371 1.879A2.99 2.99 0 0113 13a2.99 2.99 0 01-.879 2.121z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=k]:checked,li[data-task=k]>input:checked,li[data-task=k]>p>input:checked{color:var(--color-yellow);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M18 8a6 6 0 01-7.743 5.743L10 14l-1 1-1 1H6v2H2v-4l4.257-4.257A6 6 0 1118 8zm-6-4a1 1 0 100 2 2 2 0 012 2 1 1 0 102 0 4 4 0 00-4-4z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=u]:checked,li[data-task=u]>input:checked,li[data-task=u]>p>input:checked{color:var(--color-green);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12 7a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0V8.414l-4.293 4.293a1 1 0 01-1.414 0L8 10.414l-4.293 4.293a1 1 0 01-1.414-1.414l5-5a1 1 0 011.414 0L11 10.586 14.586 7H12z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=d]:checked,li[data-task=d]>input:checked,li[data-task=d]>p>input:checked{color:var(--color-red);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12 13a1 1 0 100 2h5a1 1 0 001-1V9a1 1 0 10-2 0v2.586l-4.293-4.293a1 1 0 00-1.414 0L8 9.586 3.707 5.293a1 1 0 00-1.414 1.414l5 5a1 1 0 001.414 0L11 9.414 14.586 13H12z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=w]:checked,li[data-task=w]>input:checked,li[data-task=w]>p>input:checked{color:var(--color-purple);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M6 3a1 1 0 011-1h.01a1 1 0 010 2H7a1 1 0 01-1-1zm2 3a1 1 0 00-2 0v1a2 2 0 00-2 2v1a2 2 0 00-2 2v.683a3.7 3.7 0 011.055.485 1.704 1.704 0 001.89 0 3.704 3.704 0 014.11 0 1.704 1.704 0 001.89 0 3.704 3.704 0 014.11 0 1.704 1.704 0 001.89 0A3.7 3.7 0 0118 12.683V12a2 2 0 00-2-2V9a2 2 0 00-2-2V6a1 1 0 10-2 0v1h-1V6a1 1 0 10-2 0v1H8V6zm10 8.868a3.704 3.704 0 01-4.055-.036 1.704 1.704 0 00-1.89 0 3.704 3.704 0 01-4.11 0 1.704 1.704 0 00-1.89 0A3.704 3.704 0 012 14.868V17a1 1 0 001 1h14a1 1 0 001-1v-2.132zM9 3a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1zm3 0a1 1 0 011-1h.01a1 1 0 110 2H13a1 1 0 01-1-1z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=p]:checked,li[data-task=p]>input:checked,li[data-task=p]>p>input:checked{color:var(--color-green);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z' /%3E%3C/svg%3E")}input[data-task=c]:checked,li[data-task=c]>input:checked,li[data-task=c]>p>input:checked{color:var(--color-orange);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M18 9.5a1.5 1.5 0 11-3 0v-6a1.5 1.5 0 013 0v6zM14 9.667v-5.43a2 2 0 00-1.105-1.79l-.05-.025A4 4 0 0011.055 2H5.64a2 2 0 00-1.962 1.608l-1.2 6A2 2 0 004.44 12H8v4a2 2 0 002 2 1 1 0 001-1v-.667a4 4 0 01.8-2.4l1.4-1.866a4 4 0 00.8-2.4z' /%3E%3C/svg%3E")}input[data-task=b]:checked,li[data-task=b]>input:checked,li[data-task=b]>p>input:checked{color:var(--color-orange);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M5 4a2 2 0 012-2h6a2 2 0 012 2v14l-5-2.5L5 18V4z' /%3E%3C/svg%3E")}.colorful-active .nav-files-container{--nav-item-background-active:var(--interactive-accent);--nav-item-color-active:var(--text-on-accent)}.colorful-active .nav-files-container .is-active .nav-file-tag{color:var(--text-on-accent);opacity:.6}.colorful-active .tree-item-self.is-being-renamed:focus-within{--nav-item-color-active:var(--text-normal)}.colorful-active #calendar-container .active,.colorful-active #calendar-container .active.today,.colorful-active #calendar-container .active:hover,.colorful-active #calendar-container .day:active{background-color:var(--interactive-accent);color:var(--text-on-accent)}.colorful-active #calendar-container .active .dot,.colorful-active #calendar-container .day:active .dot,.colorful-active #calendar-container .today.active .dot{fill:var(--text-on-accent)}body:not(.colorful-active) .horizontal-tab-nav-item.is-active,body:not(.colorful-active) .vertical-tab-nav-item.is-active{background-color:var(--bg3);color:var(--text-normal)}body{--frame-background:hsl( var(--frame-background-h), var(--frame-background-s), var(--frame-background-l));--frame-icon-color:var(--frame-muted-color)}.theme-light{--frame-background-h:var(--accent-h);--frame-background-s:var(--accent-s);--frame-background-l:calc(var(--accent-l) + 30%);--frame-outline-color:hsla( var(--frame-background-h), var(--frame-background-s), calc(var(--frame-background-l) - 6.5%), 1 );--frame-muted-color:hsl( var(--frame-background-h), calc(var(--frame-background-s) - 10%), calc(var(--frame-background-l) - 35%))}.theme-dark{--frame-background-h:var(--accent-h);--frame-background-s:var(--accent-s);--frame-background-l:calc(var(--accent-l) - 25%);--frame-outline-color:hsla( var(--frame-background-h), calc(var(--frame-background-s) - 2%), calc(var(--frame-background-l) + 6.5%), 1 );--frame-muted-color:hsl( var(--frame-background-h), calc(var(--frame-background-s) - 10%), calc(var(--frame-background-l) + 25%))}.colorful-frame.theme-dark{--tab-outline-width:0px}.colorful-frame,.colorful-frame.is-focused{--frame-divider-color:var(--frame-outline-color);--titlebar-background:var(--frame-background);--titlebar-background-focused:var(--frame-background);--titlebar-text-color:var(--frame-muted-color);--minimal-tab-text-color:var(--frame-muted-color)}.colorful-frame .workspace-tabs:not(.mod-stacked),.colorful-frame.is-focused .workspace-tabs:not(.mod-stacked){--tab-text-color:var(--minimal-tab-text-color);--tab-text-color-focused:var(--minimal-tab-text-color)}.colorful-frame .mod-top .workspace-tab-header-container,.colorful-frame .titlebar,.colorful-frame .workspace-ribbon.mod-left:before,.colorful-frame.is-focused .mod-top .workspace-tab-header-container,.colorful-frame.is-focused .titlebar,.colorful-frame.is-focused .workspace-ribbon.mod-left:before{--tab-outline-color:var(--frame-outline-color);--tab-divider-color:var(--frame-outline-color)}.colorful-frame .mod-root .workspace-tab-header .workspace-tab-header-inner-icon,.colorful-frame.is-focused .mod-root .workspace-tab-header .workspace-tab-header-inner-icon{--icon-color:var(--minimal-tab-text-color-active);--icon-color-hover:var(--minimal-tab-text-color-active);--icon-color-active:var(--minimal-tab-text-color-active);--icon-color-focused:var(--minimal-tab-text-color-active)}.colorful-frame .mod-left-split .mod-top .workspace-tab-header,.colorful-frame .mod-right-split .mod-top .workspace-tab-header,.colorful-frame .sidebar-toggle-button,.colorful-frame .workspace-tab-header-new-tab,.colorful-frame .workspace-tab-header-tab-list,.colorful-frame .workspace-tab-header:not(.is-active),.colorful-frame.is-focused .mod-left-split .mod-top .workspace-tab-header,.colorful-frame.is-focused .mod-right-split .mod-top .workspace-tab-header,.colorful-frame.is-focused .sidebar-toggle-button,.colorful-frame.is-focused .workspace-tab-header-new-tab,.colorful-frame.is-focused .workspace-tab-header-tab-list,.colorful-frame.is-focused .workspace-tab-header:not(.is-active){--background-modifier-hover:var(--frame-outline-color);--icon-color:var(--frame-icon-color);--icon-color-hover:var(--frame-icon-color);--icon-color-active:var(--frame-icon-color);--icon-color-focused:var(--frame-icon-color);--icon-color-focus:var(--frame-icon-color)}.colorful-frame .mod-left-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.colorful-frame .mod-right-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.colorful-frame.is-focused .mod-left-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.colorful-frame.is-focused .mod-right-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon{color:var(--frame-icon-color)}.workspace-leaf-resize-handle{transition:none}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-left-split>.workspace-leaf-resize-handle,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-right-split>.workspace-leaf-resize-handle,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-vertical>*>.workspace-leaf-resize-handle{-webkit-app-region:no-drag;border:0;z-index:15}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-left-split>.workspace-leaf-resize-handle:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-right-split>.workspace-leaf-resize-handle:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-vertical>*>.workspace-leaf-resize-handle:after{content:"";height:100%;width:1px;background:linear-gradient(180deg,var(--frame-outline-color) var(--header-height),var(--divider-color) var(--header-height));top:0;position:absolute}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-left-split>.workspace-leaf-resize-handle:hover:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-right-split>.workspace-leaf-resize-handle:hover:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-vertical>*>.workspace-leaf-resize-handle:hover:after{background:var(--divider-color-hover)}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-right-split>.workspace-leaf-resize-handle:after{left:0}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-left-split>.workspace-leaf-resize-handle:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-vertical>*>.workspace-leaf-resize-handle:after{right:0}body.colorful-headings{--h1-color:var(--color-red);--h2-color:var(--color-orange);--h3-color:var(--color-yellow);--h4-color:var(--color-green);--h5-color:var(--color-blue);--h6-color:var(--color-purple)}body.colorful-headings .modal{--h1-color:var(--text-normal);--h2-color:var(--text-normal);--h3-color:var(--text-normal);--h4-color:var(--text-normal);--h5-color:var(--text-normal);--h6-color:var(--text-normal)}.is-mobile .tree-item-self .collapse-icon{width:20px}body:not(.minimal-icons-off) svg.calendar-day,body:not(.minimal-icons-off) svg.excalidraw-icon,body:not(.minimal-icons-off) svg.globe,body:not(.minimal-icons-off) svg.longform,body:not(.minimal-icons-off) svg.obsidian-leaflet-plugin-icon-map{background-color:currentColor}body:not(.minimal-icons-off) svg.excalidraw-icon path{display:none}body:not(.minimal-icons-off) svg.bar-graph{-webkit-mask-image:url('data:image/svg+xml;utf8,')}body:not(.minimal-icons-off) svg.excalidraw-icon{-webkit-mask-image:url('data:image/svg+xml;utf8,')}body:not(.minimal-icons-off) svg.longform{-webkit-mask-image:url('data:image/svg+xml;utf8,')}.workspace-ribbon.mod-left{border-left:0;transition:none}.minimal-focus-mode.is-translucent .workspace-ribbon.mod-left.is-collapsed,.minimal-focus-mode.is-translucent .workspace-ribbon.mod-left.is-collapsed:before{background-color:var(--background-primary)!important}.minimal-focus-mode .workspace-ribbon.mod-left{transition:background-color 0s linear 0s}.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed{border-color:transparent;background-color:var(--background-primary)}.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed:before{background-color:var(--background-primary);border-color:transparent}.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed .side-dock-actions,.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed .side-dock-settings{opacity:0;transition:opacity .1s ease-in-out .1s}.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed:hover .side-dock-actions,.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed:hover .side-dock-settings{opacity:1;transition:opacity .1s ease-in-out .1s}.minimal-focus-mode.borders-title .workspace-ribbon.mod-left.is-collapsed{border-right:none}.minimal-focus-mode .mod-root .sidebar-toggle-button.mod-right{opacity:0;transition:opacity .2s ease-in-out .5s}.minimal-focus-mode:not(.minimal-status-off) .status-bar{opacity:0;transition:opacity .2s ease-in-out}.minimal-focus-mode .status-bar:hover{opacity:1;transition:opacity .2s ease-in-out}.minimal-focus-mode .mod-root .workspace-tabs{position:relative}.minimal-focus-mode .mod-root .workspace-tabs:before:hover{background-color:#00f}.minimal-focus-mode .mod-root .workspace-tab-header-container{height:0;transition:all .1s linear .6s;--tab-outline-width:0px}.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-container-inner,.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-new-tab,.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-tab-list{opacity:0;transition:all .1s linear .6s}.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-spacer:before{width:100%;content:" ";background-color:rgba(0,0,0,0);height:15px;position:absolute;z-index:100;top:0;left:0}.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-container-inner .workspace-tab-header.is-active,.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-container-inner .workspace-tab-header.is-active::after,.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-container-inner .workspace-tab-header.is-active::before{transition:all .1s linear .6s}.minimal-focus-mode .mod-root .workspace-tab-header-container:hover{height:var(--header-height);--tab-outline-width:1px;transition:all .1s linear .05s}.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .sidebar-toggle-button.mod-right,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-container-inner,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-new-tab,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-tab-list{opacity:1;transition:all .1s linear .05s}.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-container-inner .workspace-tab-header.is-active,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-container-inner .workspace-tab-header.is-active::after,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-container-inner .workspace-tab-header.is-active::before{transition:all .1s linear .05s}.minimal-focus-mode.mod-macos:not(.is-fullscreen) .workspace:not(.is-left-sidedock-open) .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner{padding-top:30px}body.show-view-header .app-container .workspace-split.mod-root>.workspace-leaf .view-header{transition:height .1s linear .1s}body.minimal-focus-mode.show-view-header .mod-root .workspace-leaf .view-header{height:0;transition:all .1s linear .5s}body.minimal-focus-mode.show-view-header .view-header::after{width:100%;content:" ";background-color:rgba(0,0,0,0);height:40px;position:absolute;z-index:-9;top:0}body.minimal-focus-mode.show-view-header .view-actions,body.minimal-focus-mode.show-view-header .view-header-nav-buttons,body.minimal-focus-mode.show-view-header .view-header-title-container{opacity:0;transition:all .1s linear .5s}body.minimal-focus-mode.show-view-header .mod-root .workspace-leaf .view-header:focus-within,body.minimal-focus-mode.show-view-header .mod-root .workspace-leaf .view-header:hover,body.minimal-focus-mode.show-view-header .mod-root .workspace-tab-header-container:hover~.workspace-tab-container .view-header{height:calc(var(--header-height) + 2px);transition:all .1s linear .1s}body.minimal-focus-mode.show-view-header .mod-root .workspace-tab-header-container:hover~.workspace-tab-container .view-header .view-actions,body.minimal-focus-mode.show-view-header .mod-root .workspace-tab-header-container:hover~.workspace-tab-container .view-header .view-header-nav-buttons,body.minimal-focus-mode.show-view-header .mod-root .workspace-tab-header-container:hover~.workspace-tab-container .view-header .view-header-title-container,body.minimal-focus-mode.show-view-header .view-header:focus-within .view-actions,body.minimal-focus-mode.show-view-header .view-header:focus-within .view-header-nav-buttons,body.minimal-focus-mode.show-view-header .view-header:focus-within .view-header-title-container,body.minimal-focus-mode.show-view-header .view-header:hover .view-actions,body.minimal-focus-mode.show-view-header .view-header:hover .view-header-nav-buttons,body.minimal-focus-mode.show-view-header .view-header:hover .view-header-title-container{opacity:1;transition:all .1s linear .1s}body.minimal-focus-mode.show-view-header .view-content{height:100%}.full-width-media{--iframe-width:100%}.full-width-media .markdown-preview-view .external-embed,.full-width-media .markdown-preview-view .image-embed img:not(.link-favicon):not(.emoji):not([width]),.full-width-media .markdown-preview-view audio,.full-width-media .markdown-preview-view img:not(.link-favicon):not(.emoji):not([width]),.full-width-media .markdown-preview-view p:has(.external-embed),.full-width-media .markdown-preview-view video,.full-width-media .markdown-source-view .external-embed,.full-width-media .markdown-source-view .image-embed img:not(.link-favicon):not(.emoji):not([width]),.full-width-media .markdown-source-view audio,.full-width-media .markdown-source-view img:not(.link-favicon):not(.emoji):not([width]),.full-width-media .markdown-source-view p:has(.external-embed),.full-width-media .markdown-source-view video{width:100%}.markdown-rendered img:not(.emoji),.markdown-rendered video,.markdown-source-view img:not(.emoji),.markdown-source-view video{border-radius:var(--image-radius)}.tabular{font-variant-numeric:tabular-nums}.table-small table:not(.calendar){--table-text-size:85%}.table-tiny table:not(.calendar){--table-text-size:75%}.row-hover{--table-edge-cell-padding-first:8px;--table-edge-cell-padding-last:8px}.row-alt{--table-row-alt-background:var(--background-table-rows);--table-edge-cell-padding-first:8px;--table-edge-cell-padding-last:8px}.col-alt .markdown-rendered:not(.cards){--table-column-alt-background:var(--background-table-rows)}.table-tabular table:not(.calendar){font-variant-numeric:tabular-nums}.table-lines{--table-border-width:var(--border-width);--table-header-border-width:var(--border-width);--table-column-first-border-width:var(--border-width);--table-column-last-border-width:var(--border-width);--table-row-last-border-width:var(--border-width);--table-edge-cell-padding:8px;--table-edge-cell-padding-first:8px;--table-edge-cell-padding-last:8px;--table-add-button-border-width:1px}.table-nowrap{--table-white-space:nowrap}.table-nowrap .table-wrap,.trim-cols{--table-white-space:normal}.table-numbers{--table-numbers-padding-right:0.5em}.table-numbers table:not(.calendar){counter-reset:section}.table-numbers table:not(.calendar)>thead>tr>th:first-child{white-space:nowrap}.table-numbers table:not(.calendar)>thead>tr>th:first-child::before{content:" ";padding-right:var(--table-numbers-padding-right);display:inline-block;min-width:2em}.table-numbers table:not(.calendar)>thead>tr>th:first-child .cm-s-obsidian,.table-numbers table:not(.calendar)>thead>tr>th:first-child .table-cell-wrapper{display:inline-block;min-width:10px}.table-numbers table:not(.calendar).table-editor>tbody>tr>td:first-child .table-cell-wrapper,.table-numbers table:not(.calendar):not(.table-editor)>tbody>tr>td:first-child{white-space:nowrap}.table-numbers table:not(.calendar).table-editor>tbody>tr>td:first-child .table-cell-wrapper::before,.table-numbers table:not(.calendar):not(.table-editor)>tbody>tr>td:first-child::before{counter-increment:section;content:counter(section) " ";text-align:center;padding-right:var(--table-numbers-padding-right);display:inline-block;min-width:2em;color:var(--text-faint);font-variant-numeric:tabular-nums}.table-numbers table:not(.calendar).table-editor>tbody>tr>td:first-child .table-cell-wrapper .cm-s-obsidian,.table-numbers table:not(.calendar):not(.table-editor)>tbody>tr>td:first-child .cm-s-obsidian{display:inline-block;min-width:10px}.table-numbers .table-editor{--table-numbers-padding-right:0}.row-lines-off{--table-row-last-border-width:0}.row-lines-off .table-view-table>tbody>tr>td,.row-lines-off table:not(.calendar) tbody>tr:last-child>td,.row-lines-off table:not(.calendar) tbody>tr>td{border-bottom:none}.row-lines:not(.table-lines) .markdown-preview-view:not(.cards),.row-lines:not(.table-lines) .markdown-source-view:not(.cards){--table-row-last-border-width:0px}.row-lines:not(.table-lines) .markdown-preview-view:not(.cards) .table-view-table>tbody>tr:not(:last-child)>td,.row-lines:not(.table-lines) .markdown-preview-view:not(.cards) table:not(.calendar) tbody>tr:not(:last-child)>td,.row-lines:not(.table-lines) .markdown-source-view:not(.cards) .table-view-table>tbody>tr:not(:last-child)>td,.row-lines:not(.table-lines) .markdown-source-view:not(.cards) table:not(.calendar) tbody>tr:not(:last-child)>td{border-bottom:var(--table-border-width) solid var(--table-border-color)}.col-lines .table-view-table thead>tr>th:not(:last-child),.col-lines .table-view-table>tbody>tr>td:not(:last-child),.col-lines table:not(.calendar) tbody>tr>td:not(:last-child){border-right:var(--table-border-width) solid var(--background-modifier-border)}.row-hover{--table-row-background-hover:hsla( var(--accent-h), 50%, 80%, 20% )}.theme-dark .row-hover,.theme-dark.row-hover{--table-row-background-hover:hsla( var(--accent-h), 30%, 40%, 20% )}:root{--image-mix:normal}.image-blend-light{--image-mix:multiply}.theme-dark .markdown-preview-view img,.theme-dark .markdown-source-view img{opacity:var(--image-muted);transition:opacity .25s linear}@media print{body{--image-muted:1}}.theme-dark .markdown-preview-view img:hover,.theme-dark .markdown-source-view img:hover,.theme-dark .print-preview img{opacity:1;transition:opacity .25s linear}.theme-light img{mix-blend-mode:var(--image-mix)}div[src$="#invert"],div[src$="#multiply"]{background-color:var(--background-primary)}.theme-dark div[src$="#invert"] img,.theme-dark img[src$="#invert"],.theme-dark span[src$="#invert"] img{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}.theme-dark div[src$="#multiply"] img,.theme-dark img[src$="#multiply"],.theme-dark span[src$="#multiply"] img{mix-blend-mode:screen}.theme-light div[src$="#multiply"] img,.theme-light img[src$="#multiply"],.theme-light span[src$="#multiply"] img{mix-blend-mode:multiply}.theme-light div[src$="#invertW"] img,.theme-light img[src$="#invertW"],.theme-light span[src$=invertW] img{filter:invert(1) hue-rotate(180deg)}img[src$="#circle"]:not(.emoji),span[src$="#circle"] img:not(.emoji),span[src$="#round"] img:not(.emoji){border-radius:50%;aspect-ratio:1/1}div[src$="#outline"] img,img[src$="#outline"],span[src$="#outline"] img{border:1px solid var(--ui1)}img[src$="#interface"],span[src$="#interface"] img{border:1px solid var(--ui1);box-shadow:0 .5px .9px rgba(0,0,0,.021),0 1.3px 2.5px rgba(0,0,0,.03),0 3px 6px rgba(0,0,0,.039),0 10px 20px rgba(0,0,0,.06);margin-top:10px;margin-bottom:15px;border-radius:var(--radius-m)}body{--image-grid-fit:cover;--image-grid-background:transparent;--img-grid-gap:0.5rem}@media(max-width:400pt){body{--img-grid-gap:0.25rem}}.img-grid-ratio{--image-grid-fit:contain}.img-grid .image-embed.is-loaded{line-height:0}.img-grid .image-embed.is-loaded img{background-color:var(--image-grid-background)}.img-grid .image-embed.is-loaded img:active{background-color:rgba(0,0,0,0)}.img-grid .markdown-preview-section>div:has(img) .image-embed~br,.img-grid .markdown-preview-section>div:has(img) img~br,.img-grid .markdown-preview-section>div:has(img) p:empty{display:none}.img-grid .markdown-preview-section div:has(>.image-embed~.image-embed),.img-grid .markdown-preview-section div:has(>img~img),.img-grid .markdown-preview-section p:has(>.image-embed~.image-embed),.img-grid .markdown-preview-section p:has(>.image-embed~img),.img-grid .markdown-preview-section p:has(>img~.image-embed),.img-grid .markdown-preview-section p:has(>img~img){display:grid;margin-block-start:var(--img-grid-gap);margin-block-end:var(--img-grid-gap);grid-column-gap:var(--img-grid-gap);grid-row-gap:0;grid-template-columns:repeat(auto-fit,minmax(0,1fr))}.img-grid .markdown-preview-section div:has(>.image-embed~.image-embed)>img,.img-grid .markdown-preview-section div:has(>img~img)>img,.img-grid .markdown-preview-section p:has(>.image-embed~.image-embed)>img,.img-grid .markdown-preview-section p:has(>.image-embed~img)>img,.img-grid .markdown-preview-section p:has(>img~.image-embed)>img,.img-grid .markdown-preview-section p:has(>img~img)>img{object-fit:var(--image-grid-fit);align-self:stretch}.img-grid .markdown-preview-section div:has(>.image-embed~.image-embed)>.internal-embed img,.img-grid .markdown-preview-section div:has(>img~img)>.internal-embed img,.img-grid .markdown-preview-section p:has(>.image-embed~.image-embed)>.internal-embed img,.img-grid .markdown-preview-section p:has(>.image-embed~img)>.internal-embed img,.img-grid .markdown-preview-section p:has(>img~.image-embed)>.internal-embed img,.img-grid .markdown-preview-section p:has(>img~img)>.internal-embed img{object-fit:var(--image-grid-fit);height:100%;align-self:center}.img-grid .markdown-preview-section>div:has(img)>p{display:grid;margin-block-start:var(--img-grid-gap);margin-block-end:var(--img-grid-gap);grid-column-gap:var(--img-grid-gap);grid-row-gap:0;grid-template-columns:repeat(auto-fit,minmax(0,1fr))}.img-grid .markdown-preview-section>div:has(img)>p>br{display:none}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content div:not(.canvas-node-content) img{max-width:100%;cursor:zoom-in}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content img:active{cursor:zoom-out}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .markdown-preview-view img[referrerpolicy=no-referrer]:active{background-color:var(--background-primary);padding:10px}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active,body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .markdown-preview-view img[referrerpolicy=no-referrer]:active{--container-img-width:100%;--container-img-max-width:100%;aspect-ratio:unset;cursor:zoom-out;display:block;z-index:200;position:fixed;max-height:calc(100% + 1px);max-width:100%;height:calc(100% + 1px);width:100%;object-fit:contain;margin:-.5px auto 0!important;text-align:center;padding:0;left:0;right:0;bottom:0}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active:after{background-color:var(--background-primary);opacity:.9;content:" ";height:calc(100% + 1px);width:100%;position:fixed;left:0;right:1px;z-index:0}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active img{aspect-ratio:unset;top:50%;z-index:99;transform:translateY(-50%);padding:0;margin:0 auto;width:calc(100% - 20px);max-height:95vh;object-fit:contain;left:0;right:0;bottom:0;position:absolute;opacity:1}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .markdown-source-view.mod-cm6 .cm-content>[contenteditable=false]:has(.image-embed:not(.canvas-node-content):active){contain:unset!important}.labeled-nav.is-fullscreen:not(.colorful-frame),.labeled-nav.mod-windows{--labeled-nav-top-margin:0}.labeled-nav{--labeled-nav-top-margin:var(--header-height)}.labeled-nav.is-translucent .mod-left-split .mod-top .workspace-tab-header-container .workspace-tab-header-container-inner{background-color:rgba(0,0,0,0)}.labeled-nav.is-hidden-frameless:not(.is-fullscreen) .mod-left-split .workspace-tabs.mod-top-left-space .workspace-tab-header-container{padding-left:0}.labeled-nav.mod-macos .mod-left-split .mod-top .workspace-tab-header-container:before,.labeled-nav.mod-macos.is-hidden-frameless:not(.is-fullscreen) .mod-left-split .mod-top .workspace-tab-header-container:before{-webkit-app-region:drag;position:absolute;width:calc(100% - var(--divider-width));height:calc(var(--header-height) - var(--tab-outline-width));border-bottom:0 solid var(--tab-outline-color)}.labeled-nav.mod-macos.is-hidden-frameless:not(.is-fullscreen) .workspace-ribbon.mod-left:not(.is-collapsed){border:none;--tab-outline-width:0px}.labeled-nav.colorful-frame.is-hidden-frameless:not(.is-fullscreen) .mod-left-split .mod-top .workspace-tab-header-container:before,.labeled-nav.mod-macos:not(.hider-ribbon) .mod-left-split .mod-top .workspace-tab-header-container:before,.labeled-nav:not(.is-hidden-frameless) .mod-left-split .mod-top .workspace-tab-header-container:before{border-bottom:var(--tab-outline-width) solid var(--tab-outline-color)}.labeled-nav.colorful-frame.is-hidden-frameless:not(.is-fullscreen) .workspace-ribbon.mod-left:not(.is-collapsed),.labeled-nav.mod-macos:not(.hider-ribbon) .workspace-ribbon.mod-left:not(.is-collapsed),.labeled-nav:not(.is-hidden-frameless) .workspace-ribbon.mod-left:not(.is-collapsed){--tab-outline-width:1px}.labeled-nav:not(.is-hidden-frameless) .mod-left-split .mod-top .workspace-tab-header-container:before{position:absolute;top:0;content:" "}.labeled-nav.hider-ribbon.mod-macos.is-hidden-frameless:not(.is-fullscreen):not(.is-popout-window) .mod-left-split:not(.is-sidedock-collapsed) .workspace-tabs.mod-top-left-space .workspace-tab-header-container{padding-left:0}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-spacer{display:none}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-inner-title{display:inline-block;font-weight:500;font-size:var(--font-adaptive-smaller)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container{position:relative;flex-direction:column-reverse!important;height:auto;width:100%}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container .sidebar-toggle-button.mod-left{position:absolute;justify-content:flex-end;padding-right:var(--size-4-2);top:0;right:0}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container .workspace-tab-header-container-inner{padding:var(--size-4-2) var(--size-4-2);margin-top:var(--labeled-nav-top-margin);flex-direction:column!important;background-color:var(--background-secondary)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container .workspace-tab-container-inner{flex-grow:1;gap:0;padding:var(--size-4-2) var(--size-4-3)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header{--icon-color:var(--text-muted);--tab-text-color:var(--text-muted);--tab-text-color-focused:var(--text-muted);padding:0;margin-bottom:2px;border:none;height:auto}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:not(:hover){background-color:rgba(0,0,0,0)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.labeled-nav .mod-left-split .mod-top .workspace-tab-header:hover{opacity:1;--tab-text-color-active:var(--text-normal);--tab-text-color-focused:var(--text-normal);--tab-text-color-focused-active:var(--text-normal);--tab-text-color-focused-active-current:var(--text-normal);--icon-color:var(--text-normal)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header .workspace-tab-header-inner{gap:var(--size-2-3);padding:var(--size-4-1) var(--size-4-2);box-shadow:none;border:none}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.has-active-menu:hover,.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:hover{background-color:rgba(0,0,0,0)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:hover .workspace-tab-header-inner,.labeled-nav .mod-left-split .mod-top .workspace-tab-header:not(.is-active):hover .workspace-tab-header-inner{background-color:var(--nav-item-background-hover)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.labeled-nav .mod-left-split .mod-top .workspace-tab-header:hover .workspace-tab-header-inner-icon{color:var(--icon-color-active)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container{border:none;padding:0}body:not(.links-int-on){--link-decoration:none}body:not(.links-ext-on){--link-external-decoration:none}body:not(.sidebar-color) .mod-right-split{--background-secondary:var(--background-primary)}body:not(.sidebar-color) .mod-right-split :not(.mod-top) .workspace-tab-header-container{--tab-container-background:var(--background-primary)}.theme-dark,.theme-light{--minimal-tab-text-color:var(--tx2);--minimal-tab-text-color-active:var(--tx1)}.workspace-tabs:not(.mod-stacked){--tab-text-color:var(--minimal-tab-text-color);--tab-text-color-focused:var(--minimal-tab-text-color);--tab-text-color-active:var(--minimal-tab-text-color-active);--tab-text-color-focused-active:var(--minimal-tab-text-color-active);--tab-text-color-focused-active-current:var(--minimal-tab-text-color-active)}.tabs-plain-square .mod-root{--tab-curve:0;--tab-radius:0;--tab-radius-active:0}.tabs-plain-square .mod-root .workspace-tab-header-container{padding-right:0}.tabs-plain-square .mod-root .workspace-tab-header-container-inner{margin-top:-1px;margin-left:-15px}.tabs-plain-square .mod-root .workspace-tab-header{padding:0}.tabs-plain-square .mod-root .workspace-tab-header-inner{padding:0 8px}.tabs-square .mod-root{--tab-curve:0;--tab-radius:0;--tab-radius-active:0}.tabs-underline .mod-root{--tab-curve:0;--tab-radius:0;--tab-radius-active:0;--tab-outline-width:0px;--tab-background-active:transparent}.tabs-underline .mod-root .workspace-tab-header-container{border-bottom:1px solid var(--divider-color)}.tabs-underline .mod-root .workspace-tab-header{border-bottom:2px solid transparent}.tabs-underline .mod-root .workspace-tab-header:hover{border-bottom:2px solid var(--ui2)}.tabs-underline .mod-root .workspace-tab-header:hover .workspace-tab-header-inner{background-color:rgba(0,0,0,0)}.tabs-underline .mod-root .workspace-tab-header.is-active{border-bottom:2px solid var(--ax3)}.tabs-underline .mod-root .workspace-tab-header-inner:hover{background-color:rgba(0,0,0,0)}body:not(.sidebar-tabs-underline):not(.sidebar-tabs-index):not(.sidebar-tabs-square) .workspace>.workspace-split:not(.mod-root) .workspace-tabs:not(.mod-top) .workspace-tab-header-container{--tab-outline-width:0}.tabs-modern.colorful-frame .mod-root .mod-top.workspace-tabs:not(.mod-stacked){--tab-background:var(--frame-outline-color);--tab-outline-width:1px}.tabs-modern.colorful-frame .mod-root .mod-top.workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active .workspace-tab-header-inner-close-button,.tabs-modern.colorful-frame .mod-root .mod-top.workspace-tabs:not(.mod-stacked) .workspace-tab-header:hover .workspace-tab-header-inner-close-button{color:var(--minimal-tab-text-color-active)}.tabs-modern.minimal-focus-mode .mod-root .workspace-tab-header-container:hover{--tab-outline-width:0px}.tabs-modern .mod-root{--tab-container-background:var(--background-primary)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked){--tab-background:var(--background-modifier-hover);--tab-height:calc(var(--header-height) - 14px);--tab-outline-width:0px}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-inner::after,.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header::after,.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header::before{display:none}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-container-inner{align-items:center;margin:0;padding:2px var(--size-4-2) 0 var(--size-4-1)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-inner-title{text-overflow:ellipsis;-webkit-mask-image:none}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header{background:rgba(0,0,0,0);border-radius:5px;border:none;box-shadow:none;height:var(--tab-height);margin-left:var(--size-4-1);padding:0}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active .workspace-tab-header-inner-title{color:var(--tab-text-color-active)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active.mod-active,.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header:hover{opacity:1;background-color:var(--tab-background)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-new-tab{margin-inline-end:0}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-inner{padding:0 var(--size-4-1) 0 var(--size-4-2);border:1px solid transparent}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header:not(.is-active):hover .workspace-tab-header-inner{background-color:rgba(0,0,0,0)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active:not(.mod-active) .workspace-tab-header-inner,.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header:not(:hover):not(.mod-active) .workspace-tab-header-inner{border:1px solid var(--tab-outline-color)}.tab-names-on .workspace-split:not(.mod-root) .workspace-tab-header-container-inner{--sidebar-tab-text-display:static}.tab-names-on .workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header-inner-title{font-weight:500}.tab-names-on .workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header-inner{gap:var(--size-2-3)}.tab-names-single .workspace>.workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header:only-child{--sidebar-tab-text-display:static;background-color:rgba(0,0,0,0)}.tab-names-single .workspace>.workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header:only-child .workspace-tab-header-inner-title{font-weight:500}.tab-names-single .workspace>.workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header:only-child .workspace-tab-header-inner{gap:var(--size-2-3)}.tabs-modern.sidebar-tabs-default .mod-right-split,.tabs-modern.sidebar-tabs-wide .mod-right-split{--tab-outline-width:0}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-spacer,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-spacer,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-spacer{display:none}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container{padding-right:0}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container-inner{padding:0;margin:0;flex-grow:1;gap:0}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header{flex-grow:1;border-radius:0;max-width:100px}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header.is-active,.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header:hover,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header.is-active,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header:hover,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header.is-active,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header:hover{background-color:rgba(0,0,0,0)}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header:hover .workspace-tab-header-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header:hover .workspace-tab-header-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header:hover .workspace-tab-header-inner{background-color:rgba(0,0,0,0)}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner{border-bottom:2px solid transparent;border-radius:0}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner:hover,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner:hover,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner:hover{border-color:var(--ui2)}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner{border-color:var(--ax3);padding-top:1px}.sidebar-tabs-square .mod-left-split,.sidebar-tabs-square .mod-right-split{--tab-radius:0px}.sidebar-tabs-index.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top),.sidebar-tabs-index:not(.labeled-nav) .mod-left-split,.sidebar-tabs-square.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top),.sidebar-tabs-square:not(.labeled-nav) .mod-left-split{--tab-background-active:var(--background-secondary)}.sidebar-tabs-index .mod-right-split .workspace-tab-header-container-inner,.sidebar-tabs-index.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container-inner,.sidebar-tabs-index:not(.labeled-nav) .mod-left-split .workspace-tab-header-container-inner,.sidebar-tabs-square .mod-right-split .workspace-tab-header-container-inner,.sidebar-tabs-square.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container-inner,.sidebar-tabs-square:not(.labeled-nav) .mod-left-split .workspace-tab-header-container-inner{padding:1px var(--size-4-2) 0;margin:6px 0 calc(var(--tab-outline-width)*-1);flex-grow:1}.sidebar-tabs-index .mod-right-split .workspace-tab-header,.sidebar-tabs-index.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header,.sidebar-tabs-index:not(.labeled-nav) .mod-left-split .workspace-tab-header,.sidebar-tabs-square .mod-right-split .workspace-tab-header,.sidebar-tabs-square.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header,.sidebar-tabs-square:not(.labeled-nav) .mod-left-split .workspace-tab-header{flex-grow:1;max-width:100px;border-radius:var(--tab-radius) var(--tab-radius) 0 0}.sidebar-tabs-index .mod-right-split .workspace-tab-header.is-active,.sidebar-tabs-index.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header.is-active,.sidebar-tabs-index:not(.labeled-nav) .mod-left-split .workspace-tab-header.is-active,.sidebar-tabs-square .mod-right-split .workspace-tab-header.is-active,.sidebar-tabs-square.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header.is-active,.sidebar-tabs-square:not(.labeled-nav) .mod-left-split .workspace-tab-header.is-active{box-shadow:0 0 0 var(--tab-outline-width) var(--tab-outline-color);color:var(--tab-text-color-active);background-color:var(--tab-background-active)}.sidebar-tabs-wide .mod-right-split .workspace-tab-header-container-inner,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container-inner,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header-container-inner{flex-grow:1;border:1px solid var(--tab-outline-color);padding:3px;margin:6px 8px 6px;border-radius:4px}.sidebar-tabs-wide .mod-right-split .workspace-tab-header,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header{flex-grow:1}.sidebar-tabs-wide .mod-right-split .workspace-tab-header.is-active,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header.is-active,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header.is-active{border-color:transparent}.sidebar-tabs-wide .mod-right-split .workspace-tab-header-container,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header-container{padding-right:0}.sidebar-tabs-wide .mod-right-split .workspace-tab-header-spacer,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-spacer,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header-spacer{display:none}.full-file-names{--nav-item-white-space:normal}body:not(.full-file-names){--nav-item-white-space:nowrap}body:not(.full-file-names) .tree-item-self{white-space:nowrap}body:not(.full-file-names) .tree-item-inner{text-overflow:ellipsis;overflow:hidden}.theme-dark,.theme-light{--h1l:var(--ui1);--h2l:var(--ui1);--h3l:var(--ui1);--h4l:var(--ui1);--h5l:var(--ui1);--h6l:var(--ui1)}.h1-l .markdown-reading-view h1:not(.embedded-note-title),.h1-l .mod-cm6 .cm-editor .HyperMD-header-1{border-bottom:1px solid var(--h1l);padding-bottom:.4em;margin-block-end:.6em}.h2-l .markdown-reading-view h2,.h2-l .mod-cm6 .cm-editor .HyperMD-header-2{border-bottom:1px solid var(--h2l);padding-bottom:.4em;margin-block-end:.6em}.h3-l .markdown-reading-view h3,.h3-l .mod-cm6 .cm-editor .HyperMD-header-3{border-bottom:1px solid var(--h3l);padding-bottom:.4em;margin-block-end:.6em}.h4-l .markdown-reading-view h4,.h4-l .mod-cm6 .cm-editor .HyperMD-header-4{border-bottom:1px solid var(--h4l);padding-bottom:.4em;margin-block-end:.6em}.h5-l .markdown-reading-view h5,.h5-l .mod-cm6 .cm-editor .HyperMD-header-5{border-bottom:1px solid var(--h5l);padding-bottom:.4em;margin-block-end:.6em}.h6-l .markdown-reading-view h6,.h6-l .mod-cm6 .cm-editor .HyperMD-header-6{border-bottom:1px solid var(--h6l);padding-bottom:.4em;margin-block-end:.6em}.is-tablet .workspace-drawer{padding-top:0}.is-tablet .workspace-drawer:not(.is-pinned){margin:30px 16px 0;height:calc(100vh - 48px);border-radius:15px;border:none}.is-tablet .workspace-drawer-ribbon{background-color:var(--background-primary);border-right:1px solid var(--background-modifier-border)}.is-tablet .workspace-drawer-header,.is-tablet .workspace-drawer.is-pinned .workspace-drawer-header{padding-top:var(--size-4-4)}.is-tablet .workspace-drawer-header-icon{margin-inline-start:0}.is-mobile{--font-bold:600;--font-ui-medium:var(--font-adaptive-small);--interactive-normal:var(--background-modifier-hover);--background-modifier-form-field:var(--background-secondary);--background-modifier-form-field-highlighted:var(--background-secondary)}.is-mobile .markdown-source-view.mod-cm6 .cm-gutters{margin-left:0}.is-mobile .workspace-drawer.mod-left.is-pinned{width:var(--mobile-left-sidebar-width);min-width:150pt}.is-mobile .workspace-drawer.mod-right.is-pinned{width:var(--mobile-right-sidebar-width);min-width:150pt}.backlink-pane>.tree-item-self,.backlink-pane>.tree-item-self:hover,.outgoing-link-pane>.tree-item-self,.outgoing-link-pane>.tree-item-self:hover{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:var(--font-adaptive-smallest);font-weight:500}body{--canvas-dot-pattern:var(--background-modifier-border-hover)}.canvas-node-label{font-size:var(--font-adaptive-small)}.canvas-edges :not(.is-themed) path.canvas-display-path{stroke:var(--background-modifier-border-focus)}.canvas-edges :not(.is-themed) polyline.canvas-path-end{stroke:var(--background-modifier-border-focus);fill:var(--background-modifier-border-focus)}.canvas-node-container{border:1.5px solid var(--background-modifier-border-focus)}.node-insert-event.mod-inside-iframe{--max-width:100%;--folding-offset:0px}.node-insert-event.mod-inside-iframe .cm-editor .cm-content{padding-top:0}.hider-file-nav-header:not(.labeled-nav) .nav-files-container{padding-top:var(--size-4-3)}.is-mobile .nav-folder.mod-root>.nav-folder-title .nav-folder-title-content{display:none}body:not(.is-mobile) .nav-folder.mod-root>.nav-folder-title .nav-folder-title-content{font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:var(--font-adaptive-smallest)}.nav-buttons-container{justify-content:flex-start}.nav-file-tag{padding-top:.2em;background-color:rgba(0,0,0,0);color:var(--text-faint)}.nav-file .is-active .nav-file-tag,.nav-file:hover .nav-file-tag{color:var(--text-muted)}input.prompt-input,input.prompt-input:focus,input.prompt-input:focus-visible,input.prompt-input:hover{border-color:rgba(var(--mono-rgb-100),.05)}.is-mobile .mod-publish .modal-content{display:unset;padding:10px 10px 10px;margin-bottom:120px;overflow-x:hidden}.is-mobile .mod-publish .button-container,.is-mobile .modal.mod-publish .modal-button-container{padding:10px 15px 30px;margin-left:0;left:0}.is-mobile .modal.mod-publish .modal-title{padding:10px 20px;margin:0 -10px;border-bottom:1px solid var(--background-modifier-border)}.is-mobile .publish-site-settings-container{margin-right:0;padding:0}.is-mobile .modal.mod-publish .modal-content .publish-sections-container{margin-right:0;padding-right:0}@media(max-width:400pt){.is-mobile .publish-changes-info,.is-mobile .publish-section-header{flex-wrap:wrap;border:none}.is-mobile .publish-changes-info .publish-changes-add-linked-btn{flex-basis:100%;margin-top:10px}.is-mobile .publish-section-header-text{flex-basis:100%;margin-bottom:10px;margin-left:20px;margin-top:-8px}.is-mobile .publish-section{background:var(--background-secondary);border-radius:10px;padding:12px 12px 1px}.is-mobile .publish-changes-switch-site{flex-grow:0;margin-right:10px}}.release-notes-view .cm-scroller.is-readable-line-width{width:var(--line-width);max-width:var(--max-width);margin:0 auto}.search-results-info{border-bottom:none}.workspace-leaf-content[data-type=sync] .tree-item.nav-folder .nav-folder-title{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:var(--font-adaptive-smallest);font-weight:500;margin-bottom:4px}.workspace-leaf-content[data-type=sync] .tree-item.nav-folder .nav-folder-title:hover{color:var(--text-normal)}.workspace-leaf-content[data-type=sync] .tree-item.nav-folder.is-collapsed .nav-folder-title{color:var(--text-faint)}.workspace-leaf-content[data-type=sync] .tree-item.nav-folder.is-collapsed .nav-folder-title:hover{color:var(--text-muted)}.obsidian-banner.solid{border-bottom:var(--divider-width) solid var(--divider-color)}.contextual-typography .markdown-preview-view div.has-banner-icon.obsidian-banner-wrapper{overflow:visible}.theme-dark .markdown-preview-view img.emoji{opacity:1}body.theme-dark .button-default,body.theme-light .button-default{border:none;box-shadow:none;height:var(--input-height);background:var(--background-modifier-hover);color:var(--text-normal);font-size:revert;font-weight:500;transform:none;transition:all .1s linear;padding:0 20px}body.theme-dark .button-default:hover,body.theme-light .button-default:hover{border:none;background:var(--background-modifier-border-hover);box-shadow:none;transform:none;transition:all .1s linear}body.theme-dark .button-default:active,body.theme-dark .button-default:focus,body.theme-light .button-default:active,body.theme-light .button-default:focus{box-shadow:none}body .button-default.blue{background-color:var(--color-blue)!important}.button-default.red{background-color:var(--color-red)!important}.button-default.green{background-color:var(--color-green)!important}.button-default.yellow{background-color:var(--color-yellow)!important}.button-default.purple{background-color:var(--color-purple)!important}.workspace-leaf-content[data-type=calendar] .view-content{padding:5px 0 0 0}.mod-root #calendar-container{width:var(--line-width);max-width:var(--max-width);margin:0 auto;padding:0}body{--calendar-dot-active:var(--text-faint);--calendar-dot-today:var(--text-accent)}#calendar-container{padding:0 var(--size-4-4) var(--size-4-1);--color-background-day-empty:var(--background-secondary-alt);--color-background-day-active:var(--background-modifier-hover);--color-background-day-hover:var(--background-modifier-hover);--color-dot:var(--text-faint);--calendar-text-active:inherit;--color-text-title:var(--text-normal);--color-text-heading:var(--text-muted);--color-text-day:var(--text-normal);--color-text-today:var(--text-normal);--color-arrow:var(--text-faint);--color-background-day-empty:transparent}#calendar-container .table{border-collapse:separate;table-layout:fixed}#calendar-container h2{font-weight:400;font-size:var(--h2)}#calendar-container .arrow{cursor:var(--cursor);width:22px;border-radius:4px;padding:3px 7px}#calendar-container .arrow svg{width:12px;height:12px;color:var(--text-faint);opacity:.7}#calendar-container .arrow:hover{fill:var(--text-muted);color:var(--text-muted);background-color:var(--background-modifier-hover)}#calendar-container .arrow:hover svg{color:var(--text-muted);opacity:1}#calendar-container tr th{padding:2px 0 4px;font-weight:500;letter-spacing:.1em;font-size:var(--font-adaptive-smallest)}#calendar-container tr th:first-child{padding-left:0!important}#calendar-container tr td{padding:2px 0 0 0;border-radius:var(--radius-m);cursor:var(--cursor);border:1px solid transparent;transition:none}#calendar-container tr td:first-child{padding-left:0!important}#calendar-container .nav{padding:0;margin:var(--size-4-2) var(--size-4-1)}#calendar-container .dot{margin:0}#calendar-container .month,#calendar-container .title,#calendar-container .year{font-size:calc(var(--font-adaptive-small) + 2px);font-weight:400;color:var(--text-normal)}#calendar-container .today,#calendar-container .today.active{color:var(--text-accent);font-weight:600}#calendar-container .today .dot,#calendar-container .today.active .dot{fill:var(--calendar-dot-today)}#calendar-container .active .task{stroke:var(--text-faint)}#calendar-container .active{color:var(--text-normal)}#calendar-container .reset-button{text-transform:none;letter-spacing:0;font-size:var(--font-adaptive-smaller);font-weight:500;color:var(--text-muted);border-radius:4px;margin:0;padding:2px 8px}#calendar-container .reset-button:hover{color:var(--text-normal);background-color:var(--background-modifier-hover)}#calendar-container .day,#calendar-container .reset-button,#calendar-container .week-num{cursor:var(--cursor)}#calendar-container .day.adjacent-month{color:var(--text-faint);opacity:1}#calendar-container .day{padding:2px 4px 4px;transition:none}#calendar-container .day,#calendar-container .week-num{font-size:calc(var(--font-adaptive-smaller) + 5%)}#calendar-container .active,#calendar-container .active.today,#calendar-container .day:hover,#calendar-container .week-num:hover{background-color:var(--color-background-day-active);color:var(--calendar-text-active);transition:none}#calendar-container .active .dot{fill:var(--calendar-dot-active)}#calendar-container .active .task{stroke:var(--text-faint)}.block-language-chart canvas,.block-language-dataviewjs canvas{margin:1em 0}.theme-dark,.theme-light{--chart-color-1:var(--color-blue);--chart-color-2:var(--color-red);--chart-color-3:var(--color-yellow);--chart-color-4:var(--color-green);--chart-color-5:var(--color-orange);--chart-color-6:var(--color-purple);--chart-color-7:var(--color-cyan);--chart-color-8:var(--color-pink)}.checklist-plugin-main .group .classic,.checklist-plugin-main .group .compact,.checklist-plugin-main .group .page,.checklist-plugin-main .group svg{cursor:var(--cursor)}.workspace .view-content .checklist-plugin-main{padding:10px 10px 15px 15px;--todoList-togglePadding--compact:2px;--todoList-listItemMargin--compact:2px}.checklist-plugin-main .title{font-weight:400;color:var(--text-muted);font-size:var(--font-adaptive-small)}.checklist-plugin-main .group svg{fill:var(--text-faint)}.checklist-plugin-main .group svg:hover{fill:var(--text-normal)}.checklist-plugin-main .group .title:hover{color:var(--text-normal)}.checklist-plugin-main .group:not(:last-child){border-bottom:1px solid var(--background-modifier-border)}.checklist-plugin-main .group{padding:0 0 2px 0}.checklist-plugin-main .group .classic:last-child,.checklist-plugin-main .group .compact:last-child{margin-bottom:10px}.checklist-plugin-main .group .classic,.checklist-plugin-main .group .compact{font-size:var(--font-adaptive-small)}.checklist-plugin-main .group .classic,.checklist-plugin-main .group .compact{background:rgba(0,0,0,0);border-radius:0;margin:1px auto;padding:0}.checklist-plugin-main .group .classic .content{padding:0}.checklist-plugin-main .group .classic:hover,.checklist-plugin-main .group .compact:hover{background:rgba(0,0,0,0)}.markdown-preview-view.checklist-plugin-main ul>li:not(.task-list-item)::before{display:none}.checklist-plugin-main .group .compact>.toggle .checked{background:var(--text-accent);top:-1px;left:-1px;height:18px;width:18px}.checklist-plugin-main .compact .toggle:hover{opacity:1!important}.checklist-plugin-main .group .count{font-size:var(--font-adaptive-smaller);padding:0;background:rgba(0,0,0,0);font-weight:400;color:var(--text-faint)}.checklist-plugin-main .group .group-header:hover .count{color:var(--text-muted)}.checklist-plugin-main .group .checkbox{border:1px solid var(--background-modifier-border-hover);min-height:18px;min-width:18px;height:18px;width:18px}.checklist-plugin-main .group .checkbox:hover{border:1px solid var(--background-modifier-border-focus)}.checklist-plugin-main button:active,.checklist-plugin-main button:focus,.checklist-plugin-main button:hover{box-shadow:none!important}.checklist-plugin-main button.collapse{padding:0}body:not(.is-mobile) .checklist-plugin-main button.collapse svg{width:18px;height:18px}.is-mobile .checklist-plugin-main .group-header .title{flex-grow:1;flex-shrink:0}.is-mobile .checklist-plugin-main button{width:auto}.is-mobile .checklist-plugin-main.markdown-preview-view ul{padding-inline-start:0}.is-mobile .workspace .view-content .checklist-plugin-main{padding-bottom:50px}body #cMenuModalBar{box-shadow:0 2px 20px var(--shadow-color)}body #cMenuModalBar .cMenuCommandItem{cursor:var(--cursor)}body #cMenuModalBar button.cMenuCommandItem:hover{background-color:var(--background-modifier-hover)}.MiniSettings-statusbar-button{padding-top:0;padding-bottom:0}.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet{height:auto;border:none;background:rgba(0,0,0,0);box-shadow:none;width:auto;padding:4px 6px;margin-left:0}.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet svg path{fill:var(--text-muted)}.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet:hover{background-color:var(--background-modifier-hover)}.dataview-inline-lists .markdown-preview-view .dataview-ul,.dataview-inline-lists .markdown-source-view .dataview-ul{--list-spacing:0}.dataview-inline-lists .markdown-preview-view .dataview-ol li:not(:last-child):after,.dataview-inline-lists .markdown-preview-view .dataview-ul li:not(:last-child):after,.dataview-inline-lists .markdown-source-view .dataview-ol li:not(:last-child):after,.dataview-inline-lists .markdown-source-view .dataview-ul li:not(:last-child):after{content:", "}.dataview-inline-lists .markdown-preview-view ul.dataview-ol>li::before,.dataview-inline-lists .markdown-preview-view ul.dataview-ul>li::before,.dataview-inline-lists .markdown-source-view ul.dataview-ol>li::before,.dataview-inline-lists .markdown-source-view ul.dataview-ul>li::before{display:none}.dataview-inline-lists .markdown-preview-view .dataview-ol li,.dataview-inline-lists .markdown-preview-view .dataview-ul li,.dataview-inline-lists .markdown-source-view .dataview-ol li,.dataview-inline-lists .markdown-source-view .dataview-ul li{display:inline-block;padding-inline-end:.25em;margin-inline-start:0}.markdown-rendered table.dataview{margin-block-start:0;margin-block-end:0}.markdown-rendered table.dataview .dataview-result-list-li{margin-inline-start:0}.markdown-preview-view .table-view-table>thead>tr>th,body .table-view-table>thead>tr>th{font-weight:400;font-size:var(--table-text-size);color:var(--text-muted);border-bottom:var(--table-border-width) solid var(--table-border-color);cursor:var(--cursor)}table.dataview ul.dataview-ul{list-style:none;padding-inline-start:0;margin-block-start:0em!important;margin-block-end:0em!important}.markdown-preview-view:not(.cards) .table-view-table>tbody>tr>td,.markdown-source-view.mod-cm6:not(.cards) .table-view-table>tbody>tr>td{max-width:var(--max-col-width)}body .dataview.small-text{color:var(--text-faint)}body:not(.row-hover) .dataview.task-list-basic-item:hover,body:not(.row-hover) .dataview.task-list-item:hover,body:not(.row-hover) .table-view-table>tbody>tr:hover{background-color:rgba(0,0,0,0)!important;box-shadow:none}body.row-hover .dataview.task-list-basic-item:hover,body.row-hover .dataview.task-list-item:hover,body.row-hover .table-view-table>tbody>tr:hover{background-color:var(--table-row-background-hover)!important}body .dataview-error{background-color:rgba(0,0,0,0)}.dataview.dataview-error,.markdown-source-view.mod-cm6 .cm-content .dataview.dataview-error{color:var(--text-muted)}body div.dataview-error-box{min-height:0;border:none;background-color:rgba(0,0,0,0);font-size:var(--table-text-size);border-radius:var(--radius-m);padding:15px 0;justify-content:flex-start}body div.dataview-error-box p{margin-block-start:0;margin-block-end:0;color:var(--text-faint)}table.dataview:has(+.dataview-error-box){display:none}.trim-cols .markdown-preview-view .table-view-table>tbody>tr>td,.trim-cols .markdown-source-view.mod-cm6 .table-view-table>tbody>tr>td,.trim-cols .markdown-source-view.mod-cm6 .table-view-table>thead>tr>th{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}ul .dataview .task-list-basic-item:hover,ul .dataview .task-list-item:hover{background-color:rgba(0,0,0,0);box-shadow:none}body .dataview.result-group{padding-left:0}body .dataview .inline-field-standalone-value,body .dataview.inline-field-key,body .dataview.inline-field-value{font-family:var(--font-text);font-size:calc(var(--font-adaptive-normal) - 2px);background:rgba(0,0,0,0);color:var(--text-muted)}body .dataview.inline-field-key{padding:0}body .dataview .inline-field-standalone-value{padding:0}body .dataview.inline-field-key::after{margin-left:3px;content:"|";color:var(--background-modifier-border)}body .dataview.inline-field-value{padding:0 1px 0 3px}.markdown-preview-view .block-language-dataview table.calendar th{border:none;cursor:default;background-image:none}.markdown-preview-view .block-language-dataview table.calendar .day{font-size:var(--font-adaptive-small)}.database-plugin__navbar,.database-plugin__scroll-container,.database-plugin__table{width:100%}.dbfolder-table-container{--font-adaptive-normal:var(--table-text-size);--font-size-text:12px}.database-plugin__cell_size_wide .database-plugin__td{padding:.15rem}.database-plugin__table{border-spacing:0!important}.MuiAppBar-root{background-color:rgba(0,0,0,0)!important}.workspace-leaf-content .view-content.dictionary-view-content{padding:0}div[data-type=dictionary-view] .contents{padding-bottom:2rem}div[data-type=dictionary-view] .results>.container{background-color:rgba(0,0,0,0);margin-top:0;max-width:none;padding:0 10px}div[data-type=dictionary-view] .error,div[data-type=dictionary-view] .errorDescription{text-align:left;font-size:var(--font-adaptive-small);padding:10px 12px 0;margin:0}div[data-type=dictionary-view] .results>.container h3{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:var(--font-adaptive-smallest);font-weight:500;padding:5px 7px 0 2px;margin-bottom:6px}div[data-type=dictionary-view] .container .main{border-radius:0;background-color:rgba(0,0,0,0);font-size:var(--font-adaptive-smaller);line-height:1.3;color:var(--text-muted);padding:5px 0 0}div[data-type=dictionary-view] .main .definition{padding:10px;border:1px solid var(--background-modifier-border);border-radius:5px;margin:10px 0 5px;background-color:var(--background-primary)}div[data-type=dictionary-view] .main .definition:last-child{border:1px solid var(--background-modifier-border)}div[data-type=dictionary-view] .main .synonyms{padding:10px 0 0}div[data-type=dictionary-view] .main .synonyms p{margin:0}div[data-type=dictionary-view] .main .definition>blockquote{margin:0}div[data-type=dictionary-view] .main .label{color:var(--text-normal);margin-bottom:2px;font-size:var(--font-adaptive-smaller);font-weight:500}div[data-type=dictionary-view] .main .mark{color:var(--text-normal);background-color:var(--text-selection);box-shadow:none}div[data-type=dictionary-view] .main>.opener{font-size:var(--font-adaptive-small);color:var(--text-normal);padding-left:5px}body .excalidraw,body .excalidraw.theme--dark{--color-primary-light:var(--text-selection);--color-primary:var(--interactive-accent);--color-primary-darker:var(--interactive-accent-hover);--color-primary-darkest:var(--interactive-accent-hover);--ui-font:var(--font-interface);--island-bg-color:var(--background-secondary);--icon-fill-color:var(--text-normal);--button-hover:var(--background-modifier-hover);--button-gray-1:var(--background-modifier-hover);--button-gray-2:var(--background-modifier-hover);--focus-highlight-color:var(--background-modifier-border-focus);--default-bg-color:var(--background-primary);--default-border-color:var(--background-modifier-border);--input-border-color:var(--background-modifier-border);--link-color:var(--text-accent);--overlay-bg-color:rgba(255, 255, 255, 0.88);--text-primary-color:var(--text-normal)}.git-view-body .opener{text-transform:uppercase;letter-spacing:.05em;font-size:var(--font-adaptive-smallest);font-weight:500;padding:5px 7px 5px 10px;margin-bottom:6px}.git-view-body .file-view .opener{text-transform:none;letter-spacing:normal;font-size:var(--font-adaptive-smallest);font-weight:400;padding:initial;margin-bottom:0}.git-view-body .file-view .opener .collapse-icon{display:flex!important;margin-left:-7px}.git-view-body{margin-top:6px}.git-view-body .file-view{margin-left:4px}.git-view-body .file-view main:hover{color:var(--text-normal)}.git-view-body .file-view .tools .type{display:none!important}.git-view-body .file-view .tools{opacity:0;transition:opacity .1s}.git-view-body .file-view main:hover>.tools{opacity:1}.git-view-body .staged{margin-bottom:12px}.git-view-body .opener.open{color:var(--text-normal)}div[data-type=git-view] .search-input-container{margin-left:0;width:100%}.git-view-body .opener .collapse-icon{display:none!important}.git-view-body main{background-color:var(--background-primary)!important;width:initial!important}.git-view-body .file-view>main:not(.topLevel){margin-left:7px}div[data-type=git-view] .commit-msg{min-height:2.5em!important;height:2.5em!important;padding:6.5px 8px!important}div[data-type=git-view] .search-input-clear-button{bottom:5.5px}.hider-vault .nav-folder.mod-root>.nav-folder-title{height:4px}.popover.hover-editor{--folding-offset:10px}.theme-dark,.theme-light{--he-title-bar-inactive-bg:var(--background-secondary);--he-title-bar-inactive-pinned-bg:var(--background-secondary);--he-title-bar-active-pinned-bg:var(--background-secondary);--he-title-bar-active-bg:var(--background-secondary);--he-title-bar-inactive-fg:var(--text-muted);--he-title-bar-active-fg:var(--text-normal);--he-title-bar-font-size:14px}.theme-light{--popover-shadow:0px 2.7px 3.1px rgba(0, 0, 0, 0.032),0px 5.9px 8.7px rgba(0, 0, 0, 0.052),0px 10.4px 18.1px rgba(0, 0, 0, 0.071),0px 20px 40px rgba(0, 0, 0, 0.11)}.theme-dark{--popover-shadow:0px 2.7px 3.1px rgba(0, 0, 0, 0.081),0px 5.9px 8.7px rgba(0, 0, 0, 0.131),0px 10.4px 18.1px rgba(0, 0, 0, 0.18),0px 20px 40px rgba(0, 0, 0, 0.28)}.popover.hover-editor:not(.snap-to-viewport){--max-width:92%}.popover.hover-editor:not(.snap-to-viewport) .markdown-preview-view,.popover.hover-editor:not(.snap-to-viewport) .markdown-source-view .cm-content{font-size:90%}body .popover.hover-editor:not(.is-loaded){box-shadow:var(--popover-shadow)}body .popover.hover-editor:not(.is-loaded) .markdown-preview-view{padding:15px 0 0 0}body .popover.hover-editor:not(.is-loaded) .view-content{height:100%;background-color:var(--background-primary)}body .popover.hover-editor:not(.is-loaded) .view-actions{height:auto}body .popover.hover-editor:not(.is-loaded) .popover-content{border:1px solid var(--background-modifier-border-hover)}body .popover.hover-editor:not(.is-loaded) .popover-titlebar{padding:0 4px}body .popover.hover-editor:not(.is-loaded) .popover-titlebar .popover-title{padding-left:4px;letter-spacing:-.02em;font-weight:var(--title-weight)}body .popover.hover-editor:not(.is-loaded) .markdown-embed{height:auto;font-size:unset;line-height:unset}body .popover.hover-editor:not(.is-loaded) .markdown-embed .markdown-preview-view{padding:0}body .popover.hover-editor:not(.is-loaded).show-navbar .popover-titlebar{border-bottom:var(--border-width) solid var(--background-modifier-border)}body .popover.hover-editor:not(.is-loaded) .popover-action,body .popover.hover-editor:not(.is-loaded) .popover-header-icon{cursor:var(--cursor);margin:4px 0;padding:4px 3px;border-radius:var(--radius-m);color:var(--icon-color)}body .popover.hover-editor:not(.is-loaded) .popover-action.mod-pin-popover,body .popover.hover-editor:not(.is-loaded) .popover-header-icon.mod-pin-popover{padding:4px 2px}body .popover.hover-editor:not(.is-loaded) .popover-action svg,body .popover.hover-editor:not(.is-loaded) .popover-header-icon svg{opacity:var(--icon-muted)}body .popover.hover-editor:not(.is-loaded) .popover-action:hover,body .popover.hover-editor:not(.is-loaded) .popover-header-icon:hover{background-color:var(--background-modifier-hover);color:var(--icon-color-hover)}body .popover.hover-editor:not(.is-loaded) .popover-action:hover svg,body .popover.hover-editor:not(.is-loaded) .popover-header-icon:hover svg{opacity:1;transition:opacity .1s ease-in-out}body .popover.hover-editor:not(.is-loaded) .popover-action.is-active,body .popover.hover-editor:not(.is-loaded) .popover-header-icon.is-active{color:var(--icon-color)}body.minimal-dark-black.theme-dark,body.minimal-dark-tonal.theme-dark,body.minimal-light-tonal.theme-light,body.minimal-light-white.theme-light,body.theme-dark{--kanban-border:0px}body:not(.is-mobile) .kanban-plugin__grow-wrap>textarea:focus{box-shadow:none}body:not(.minimal-icons-off) .kanban-plugin svg.cross{height:14px;width:14px}body .kanban-plugin__icon>svg,body .kanban-plugin__lane-settings-button svg{width:18px;height:18px}body .kanban-plugin{--kanban-border:var(--border-width);--interactive-accent:var(--text-selection);--interactive-accent-hover:var(--background-modifier-hover);--text-on-accent:var(--text-normal);background-color:var(--background-primary)}body .kanban-plugin__markdown-preview-view{font-family:var(--font-text)}body .kanban-plugin__board>div{margin:0 auto}body .kanban-plugin__checkbox-label{color:var(--text-muted)}body .kanban-plugin__item-markdown ul{margin:0}body .kanban-plugin__item-content-wrapper{box-shadow:none}body .kanban-plugin__grow-wrap::after,body .kanban-plugin__grow-wrap>textarea{padding:0;border:0;border-radius:0}body .kanban-plugin__grow-wrap::after,body .kanban-plugin__grow-wrap>textarea,body .kanban-plugin__item-title p,body .kanban-plugin__markdown-preview-view{font-size:var(--font-ui-medium);line-height:1.3}body .kanban-plugin__item{background-color:var(--background-primary)}body .kanban-plugin__item-title-wrapper{align-items:center}body .kanban-plugin__lane-form-wrapper{border:1px solid var(--background-modifier-border)}body .kanban-plugin__lane-header-wrapper{border-bottom:0}body .kanban-plugin__lane-header-wrapper .kanban-plugin__grow-wrap>textarea,body .kanban-plugin__lane-input-wrapper .kanban-plugin__grow-wrap>textarea,body .kanban-plugin__lane-title p{background:rgba(0,0,0,0);color:var(--text-normal);font-size:var(--font-ui-medium);font-weight:500}body .kanban-plugin__item-input-wrapper .kanban-plugin__grow-wrap>textarea{padding:0;border-radius:0;height:auto}body .kanban-plugin__item-form .kanban-plugin__grow-wrap{background-color:var(--background-primary)}body .kanban-plugin__item-input-wrapper .kanban-plugin__grow-wrap>textarea::placeholder{color:var(--text-faint)}body .kanban-plugin__item .kanban-plugin__item-edit-archive-button,body .kanban-plugin__item button.kanban-plugin__item-edit-button,body .kanban-plugin__item-settings-actions>button,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button.is-enabled,body .kanban-plugin__lane-action-wrapper>button{background:rgba(0,0,0,0);transition:color .1s ease-in-out}body .kanban-plugin__item .kanban-plugin__item-edit-archive-button:hover,body .kanban-plugin__item button.kanban-plugin__item-edit-button.is-enabled,body .kanban-plugin__item button.kanban-plugin__item-edit-button:hover,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button.is-enabled,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button:hover{color:var(--text-normal);transition:color .1s ease-in-out;background:rgba(0,0,0,0)}body .kanban-plugin__new-lane-button-wrapper{position:fixed;bottom:30px}body .kanban-plugin__lane-items>.kanban-plugin__placeholder:only-child{border:1px dashed var(--background-modifier-border);height:2em}body .kanban-plugin__item-postfix-button-wrapper{align-self:flex-start}body .kanban-plugin__item button.kanban-plugin__item-postfix-button.is-enabled,body .kanban-plugin__item button.kanban-plugin__item-prefix-button.is-enabled,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button.is-enabled{color:var(--text-muted)}body .kanban-plugin button{box-shadow:none;cursor:var(--cursor);height:auto}body .kanban-plugin__item button.kanban-plugin__item-postfix-button:hover,body .kanban-plugin__item button.kanban-plugin__item-prefix-button:hover,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button:hover{background-color:var(--background-modifier-hover)}body .kanban-plugin__item-button-wrapper>button{color:var(--text-muted);font-weight:400;background:rgba(0,0,0,0);min-height:calc(var(--input-height) + 8px)}body .kanban-plugin__item-button-wrapper>button:hover{color:var(--text-normal);background:var(--background-modifier-hover)}body .kanban-plugin__item-button-wrapper>button:focus{box-shadow:none}body .kanban-plugin__item-button-wrapper{padding:1px 6px 5px;border-top:none}body .kanban-plugin__lane-setting-wrapper>div:last-child{border:none;margin:0}body .kanban-plugin.something-is-dragging{cursor:grabbing;cursor:-webkit-grabbing}body .kanban-plugin__item.is-dragging{box-shadow:0 5px 30px rgba(0,0,0,.15),0 0 0 2px var(--text-selection)}body .kanban-plugin__lane-items{border:var(--kanban-border) solid var(--background-modifier-border);padding:0 4px;margin:0;background-color:var(--background-secondary)}body .kanban-plugin__lane{background:rgba(0,0,0,0);padding:0;border:var(--border-width) solid transparent}body .kanban-plugin__lane.is-dragging{box-shadow:0 5px 30px rgba(0,0,0,.15);border:1px solid var(--background-modifier-border)}body .kanban-plugin__lane .kanban-plugin__item-button-wrapper{border-top-left-radius:8px;border-top-right-radius:8px;border-top:1px solid var(--background-modifier-border);border-bottom-width:0;padding:4px 4px 0 4px}body .kanban-plugin__lane.will-prepend .kanban-plugin__lane-items{border-radius:8px}body .kanban-plugin__lane.will-prepend .kanban-plugin__item-form{border-top:1px solid var(--background-modifier-border);border-radius:8px 8px 0 0;padding:4px 4px 0;border-bottom-width:0}body .kanban-plugin__lane.will-prepend .kanban-plugin__item-form+.kanban-plugin__lane-items{border-top-width:0;border-radius:0 0 8px 8px}body .kanban-plugin__lane.will-prepend .kanban-plugin__item-button-wrapper+.kanban-plugin__lane-items{border-top-width:0;border-radius:0 0 8px 8px}body .kanban-plugin__lane:not(.will-prepend) .kanban-plugin__item-button-wrapper,body .kanban-plugin__lane:not(.will-prepend) .kanban-plugin__item-form{border-top:none;border-radius:0 0 8px 8px}body .kanban-plugin__lane:not(.will-prepend) .kanban-plugin__item-button-wrapper{padding:0 4px 4px 4px;border-bottom-width:1px}body .kanban-plugin__lane:not(.will-prepend) .kanban-plugin__lane-items{border-bottom:none;border-top-width:1px;border-radius:8px 8px 0 0}body .kanban-plugin__item-form .kanban-plugin__item-input-wrapper{min-height:calc(var(--input-height) + 8px);display:flex;justify-content:center}body .kanban-plugin__item-button-wrapper,body .kanban-plugin__item-form{background-color:var(--background-secondary);border:var(--kanban-border) solid var(--background-modifier-border)}body .kanban-plugin__item-form{padding:0 4px 5px}body .kanban-plugin__markdown-preview-view ol,body .kanban-plugin__markdown-preview-view ol.contains-task-list .contains-task-list,body .kanban-plugin__markdown-preview-view ul,body .kanban-plugin__markdown-preview-view ul.contains-task-list .contains-task-list{padding-inline-start:1.8em!important}@media(max-width:400pt){.kanban-plugin__board{flex-direction:column!important}.kanban-plugin__lane{width:100%!important;margin-bottom:1rem!important}}body .cm-heading-marker{cursor:var(--cursor);padding-left:10px}.theme-light{--leaflet-buttons:var(--bg1);--leaflet-borders:rgba(0,0,0,0.1)}.theme-dark{--leaflet-buttons:var(--bg2);--leaflet-borders:rgba(255,255,255,0.1)}.leaflet-container{--image-radius:0}.leaflet-top{transition:top .1s linear}body .leaflet-container{background-color:var(--background-secondary);font-family:var(--font-interface)}.leaflet-control-attribution{display:none}.leaflet-popup-content{margin:10px}.block-language-leaflet{border-radius:var(--radius-m);overflow:hidden;border:var(--border-width) solid var(--background-modifier-border)}.map-wide .block-language-leaflet{border-radius:var(--radius-l)}.map-max .block-language-leaflet{border-radius:var(--radius-xl)}.workspace-leaf-content[data-type=obsidian-leaflet-map-view] .block-language-leaflet{border-radius:0;border:none}.map-100 .block-language-leaflet{border-radius:0;border-left:none;border-right:none}.block-language-leaflet .leaflet-control-expandable-list .input-container .input-item>input{appearance:none}body .block-language-leaflet .leaflet-bar.disabled>a{background-color:rgba(0,0,0,0);opacity:.3}body .leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}body .leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}body .leaflet-control-layers-toggle{border-radius:4px}body .block-language-leaflet .leaflet-control-expandable,body .block-language-leaflet .leaflet-control-has-actions .control-actions.expanded,body .block-language-leaflet .leaflet-distance-control,body .leaflet-bar,body .leaflet-bar a,body .leaflet-control-layers-expanded,body .leaflet-control-layers-toggle{background-color:var(--leaflet-buttons);color:var(--text-muted);border:none;user-select:none}body .leaflet-bar a.leaflet-disabled,body .leaflet-bar a.leaflet-disabled:hover{background-color:var(--leaflet-buttons);color:var(--text-faint);opacity:.6;cursor:not-allowed}body .leaflet-control a{cursor:var(--cursor);color:var(--text-normal)}body .leaflet-bar a:hover{background-color:var(--background-modifier-hover);color:var(--text-normal);border:none}body .leaflet-touch .leaflet-control-layers{background-color:var(--leaflet-buttons)}body .leaflet-touch .leaflet-bar,body .leaflet-touch .leaflet-control-layers{border-radius:5px;box-shadow:2px 0 8px 0 rgba(0,0,0,.1);border:1px solid var(--ui1)}body .block-language-leaflet .leaflet-control-has-actions .control-actions{box-shadow:0;border:1px solid var(--ui1)}body .leaflet-control-expandable-list .leaflet-bar{box-shadow:none;border-radius:0}body .block-language-leaflet .leaflet-distance-control{padding:4px 10px;height:auto;cursor:var(--cursor)!important}body .block-language-leaflet .leaflet-marker-link-popup>.leaflet-popup-content-wrapper>*{font-size:var(--font-adaptive-small);font-family:var(--font-interface)}body .block-language-leaflet .leaflet-marker-link-popup>.leaflet-popup-content-wrapper{padding:4px 10px!important}.leaflet-marker-icon svg path{stroke:var(--background-primary);stroke-width:18px}.map-view-marker-name{font-weight:400}.workspace-leaf-content[data-type=map] .graph-controls{background-color:var(--background-primary)}body:not(.is-mobile):not(.plugin-sliding-panes-rotate-header) .workspace-split.mod-root .workspace-leaf-content[data-type=map] .view-header{position:fixed;background:rgba(0,0,0,0)!important;width:100%;z-index:99}body:not(.plugin-sliding-panes-rotate-header) .workspace-leaf-content[data-type=map] .view-header-title{display:none}body:not(.is-mobile):not(.plugin-sliding-panes-rotate-header) .workspace-leaf-content[data-type=map] .view-actions{background:rgba(0,0,0,0)}body:not(.is-mobile):not(.plugin-sliding-panes-rotate-header) .workspace-leaf-content[data-type=map] .view-content{height:100%}body:not(.is-mobile):not(.plugin-sliding-panes-rotate-header) .workspace-leaf-content[data-type=map] .leaflet-top.leaflet-right{top:var(--header-height)}.obsidian-metatable{--metatable-font-size:calc(var(--font-adaptive-normal) - 2px);--metatable-font-family:var(--font-interface);--metatable-background:transparent;--metatable-foreground:var(--text-faint);--metatable-key-background:transparent;--metatable-key-border-width:0;--metatable-key-border-color:transparent;--metatable-value-background:transparent;padding-bottom:.5rem}.obsidian-metatable::part(key),.obsidian-metatable::part(value){border-bottom:0 solid var(--background-modifier-border);padding:.1rem 0;text-overflow:ellipsis;overflow:hidden}.obsidian-metatable::part(key){font-weight:400;color:var(--tx3);font-size:calc(var(--font-adaptive-normal) - 2px)}.obsidian-metatable::part(value){font-size:calc(var(--font-adaptive-normal) - 2px);color:var(--tx1)}body .NLT__header-menu-header-container{font-size:85%}body .NLT__button{background:rgba(0,0,0,0);box-shadow:none;color:var(--text-muted)}body .NLT__button:active,body .NLT__button:focus,body .NLT__button:hover{background:rgba(0,0,0,0);color:var(--text-normal);box-shadow:none}.NLT__app .NLT__button{background:rgba(0,0,0,0);border:1px solid var(--background-modifier-border);box-shadow:0 .5px 1px 0 var(--btn-shadow-color);color:var(--text-muted);padding:2px 8px}.NLT__app .NLT__button:active,.NLT__app .NLT__button:focus,.NLT__app .NLT__button:hover{background:rgba(0,0,0,0);border-color:var(--background-modifier-border-hover);color:var(--text-normal);box-shadow:0 .5px 1px 0 var(--btn-shadow-color)}.NLT__td:nth-last-child(2),.NLT__th:nth-last-child(2){border-right:0}.NLT__app .NLT__td:last-child,.NLT__app .NLT__th:last-child{padding-right:0}.NLT__app .NLT__th{background-image:none!important}.NLT__app th.NLT__selectable:hover{background-color:rgba(0,0,0,0);cursor:var(--cursor)}.NLT__menu .NLT__menu-container{background-color:var(--background-secondary)}.NLT__menu .NLT__header-menu-item{font-size:var(--font-adaptive-small)}.NLT__menu .NLT__header-menu{padding:6px 4px}.NLT__menu .NLT__drag-menu{font-size:var(--font-adaptive-small);padding:6px 4px}.NLT__menu svg{color:var(--text-faint);margin-right:6px}.NLT__menu .NLT__selectable:hover,.NLT__menu .NLT__selected{background:rgba(0,0,0,0)}.NLT__menu .NLT__selected>.NLT__selectable{background-color:var(--background-modifier-hover)}.NLT__menu .NLT__selectable{cursor:var(--cursor)}.NLT__menu div.NLT__selectable{min-width:110px;border-radius:var(--radius-m);padding:3px 8px 3px 4px;margin:1px 2px 1px;cursor:var(--cursor);height:auto;line-height:20px}.NLT__menu div.NLT__selectable:hover{background-color:var(--background-modifier-hover)}.NLT__menu .NLT__textarea{font-size:var(--table-text-size)}.NLT__tfoot tr:hover td{background-color:rgba(0,0,0,0)}.modal .quickAddPrompt>h1,.modal .quickAddYesNoPrompt h1{margin-top:0;text-align:left!important;font-size:var(--h1);font-weight:600}.modal .quickAddYesNoPrompt p{text-align:left!important}.modal .quickAddYesNoPrompt button{font-size:var(--font-ui-small)}.modal .yesNoPromptButtonContainer{font-size:var(--font-ui-small);justify-content:flex-end}.quickAddModal .modal-content{padding:20px 2px 5px}div#quick-explorer{display:flex}div#quick-explorer span.explorable{align-items:center;color:var(--text-muted);display:flex;font-size:var(--font-adaptive-smaller);line-height:16px}div#quick-explorer span.explorable:last-of-type{font-size:var(--font-adaptive-smaller)}div#quick-explorer span.explorable.selected,div#quick-explorer span.explorable:hover{background-color:unset!important}div#quick-explorer span.explorable.selected .explorable-name,div#quick-explorer span.explorable:hover .explorable-name{color:var(--text-normal)}div#quick-explorer span.explorable.selected .explorable-separator,div#quick-explorer span.explorable:hover .explorable-separator{color:var(--text-normal)}div#quick-explorer .explorable-name{padding:0 4px;border-radius:4px}div#quick-explorer .explorable-separator::before{content:" ›"!important;font-size:1.3em;font-weight:400;margin:0}body:not(.colorful-active) .qe-popup-menu .menu-item:not(.is-disabled):not(.is-label).selected,body:not(.colorful-active) .qe-popup-menu .menu-item:not(.is-disabled):not(.is-label):hover{background-color:var(--background-modifier-hover);color:var(--text-normal)}body:not(.colorful-active) .qe-popup-menu .menu-item:not(.is-disabled):not(.is-label).selected .menu-item-icon,body:not(.colorful-active) .qe-popup-menu .menu-item:not(.is-disabled):not(.is-label):hover .menu-item-icon{color:var(--text-normal)}.workspace-leaf-content[data-type=recent-files] .view-content{padding-top:10px}.mod-root .workspace-leaf-content[data-type=reminder-list] main{max-width:var(--max-width);margin:0 auto;padding:0}.modal .reminder-actions .later-select{font-size:var(--font-settings-small);vertical-align:bottom;margin-left:3px}.modal .reminder-actions .icon{line-height:1}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main{margin:0 auto;padding:15px}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .group-name{font-weight:500;color:var(--text-muted);font-size:var(--font-adaptive-small);padding-bottom:.5em;border-bottom:1px solid var(--background-modifier-border)}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .reminder-group .reminder-list-item{line-height:1.3;font-size:var(--font-adaptive-small)}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .reminder-group .no-reminders{color:var(--text-faint)}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .reminder-group .reminder-time{font-family:var(--font-text);font-size:var(--font-adaptive-small)}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .reminder-group .reminder-file{color:var(--text-faint)}body .modal .dtchooser{background-color:rgba(0,0,0,0)}body .modal .dtchooser .reminder-calendar .year-month{font-weight:400;font-size:var(--font-adaptive-normal);padding-bottom:10px}body .modal .dtchooser .reminder-calendar .year-month .month,body .modal .dtchooser .reminder-calendar .year-month .year{color:var(--text-normal)}body .modal .dtchooser .reminder-calendar .year-month .month-nav:first-child{background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E")}body .modal .dtchooser .reminder-calendar .year-month .month-nav:last-child{background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E")}body .modal .dtchooser .reminder-calendar .year-month .month-nav{-webkit-mask-size:20px 20px;-webkit-mask-repeat:no-repeat;-webkit-mask-position:50% 50%;color:var(--text-faint);cursor:var(--cursor);border-radius:var(--radius-m);padding:0;width:30px;display:inline-block}body .modal .dtchooser .reminder-calendar .year-month .month-nav:hover{color:var(--text-muted)}body .modal .dtchooser .reminder-calendar th{padding:.5em 0;font-size:var(--font-adaptive-smallest);font-weight:500;text-transform:uppercase;letter-spacing:.1em}body .modal .dtchooser .reminder-calendar .calendar-date{transition:background-color .1s ease-in;padding:.3em 0;border-radius:var(--radius-m)}body .modal .dtchooser .reminder-calendar .calendar-date.is-selected,body .modal .dtchooser .reminder-calendar .calendar-date:hover{transition:background-color .1s ease-in;background-color:var(--background-modifier-hover)!important}body .modal .dtchooser .reminder-calendar .calendar-date.is-selected{font-weight:var(--bold-weight);color:var(--text-accent)!important}body .markdown-preview-view th,body .markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th,body .table-view-table>thead>tr>th{cursor:var(--cursor);background-image:none}.markdown-source-view.mod-cm6 th{background-repeat:no-repeat;background-position:right}.style-settings-container[data-level="2"]{background:var(--background-secondary);border:1px solid var(--ui1);border-radius:5px;padding:10px 20px;margin:2px 0 2px -20px}.workspace-leaf-content[data-type=style-settings] div[data-id=instructions] .setting-item-name{display:none}.workspace-leaf-content[data-type=style-settings] div[data-id=instructions] .setting-item-description{color:var(--text-normal);font-size:var(--font-adaptive-smaller);padding-bottom:.5em}.workspace-leaf-content[data-type=style-settings] .view-content{padding:var(--size-4-4) 0}.workspace-leaf-content[data-type=style-settings] .view-content>div{width:var(--line-width);max-width:var(--max-width);margin:0 auto}.workspace-leaf-content[data-type=style-settings] .style-settings-heading[data-level="0"] .setting-item-name{padding-left:17px}.workspace-leaf-content[data-type=style-settings] .setting-item{max-width:100%;margin:0 auto}.workspace-leaf-content[data-type=style-settings] .setting-item-name{position:relative}.workspace-leaf-content[data-type=style-settings] .style-settings-collapse-indicator{position:absolute;left:0}.setting-item-heading.style-settings-heading,.style-settings-container .style-settings-heading{cursor:var(--cursor)}.modal.mod-settings .setting-item .pickr button.pcr-button{box-shadow:none;border-radius:40px;height:24px;width:24px}.setting-item .pickr .pcr-button:after,.setting-item .pickr .pcr-button:before{border-radius:40px;box-shadow:none;border:none}.setting-item.setting-item-heading.style-settings-heading.is-collapsed{border-bottom:1px solid var(--background-modifier-border)}.setting-item.setting-item-heading.style-settings-heading{border:0;padding:10px 0 5px;margin-bottom:0}.setting-item .style-settings-export,.setting-item .style-settings-import{text-decoration:none;font-size:var(--font-ui-small);font-weight:500;color:var(--text-muted);margin:0;padding:2px 8px;border-radius:5px;cursor:var(--cursor)}.setting-item .style-settings-export:hover,.setting-item .style-settings-import:hover{background-color:var(--background-modifier-hover);color:var(--text-normal);cursor:var(--cursor)}.mod-root .workspace-leaf-content[data-type=style-settings] .style-settings-container .setting-item:not(.setting-item-heading){flex-direction:row;align-items:center;padding:.5em 0}.workspace-split:not(.mod-root) .workspace-leaf-content[data-type=style-settings] .setting-item-name{font-size:var(--font-adaptive-smaller)}.themed-color-wrapper>div+div{margin-top:0;margin-left:6px}.theme-light .themed-color-wrapper>.theme-light{background-color:rgba(0,0,0,0)}.theme-light .themed-color-wrapper>.theme-dark{background-color:rgba(0,0,0,.8)}.theme-dark .themed-color-wrapper>.theme-dark{background-color:rgba(0,0,0,0)}@media(max-width:400pt){.workspace-leaf-content[data-type=style-settings] .setting-item-name{font-size:var(--font-adaptive-small)}.workspace-leaf-content[data-type=style-settings] .setting-item-info:has(.search-input-container){width:100%;margin-right:0}}body .todoist-query-title{display:inline;font-size:var(--h4);font-variant:var(--h4-variant);letter-spacing:.02em;color:var(--h4-color);font-weight:var(--h4-weight);font-style:var(--h4-style)}body .is-live-preview .block-language-todoist{padding-left:0}ul.todoist-task-list>li.task-list-item .task-list-item-checkbox{margin:0}body .todoist-refresh-button{display:inline;float:right;background:rgba(0,0,0,0);padding:5px 6px 0;margin-right:0}body .is-live-preview .todoist-refresh-button{margin-right:30px}body .todoist-refresh-button:hover{box-shadow:none;background-color:var(--background-modifier-hover)}.todoist-refresh-button svg{width:15px;height:15px;opacity:var(--icon-muted)}ul.todoist-task-list{margin-left:-.25em}.is-live-preview ul.todoist-task-list{padding-left:0;margin-left:.5em;margin-block-start:0;margin-block-end:0}.contains-task-list.todoist-task-list .task-metadata{font-size:var(--font-adaptive-small);display:flex;color:var(--text-muted);justify-content:space-between;margin-left:.1em;margin-bottom:.25rem}.is-live-preview .contains-task-list.todoist-task-list .task-metadata{padding-left:calc(var(--checkbox-size) + .6em)}.todoist-task-list .task-date.task-overdue{color:var(--color-orange)}body .todoist-p1>input[type=checkbox]{border:1px solid var(--color-red)}body .todoist-p1>input[type=checkbox]:hover{opacity:.8}body .todoist-p2>input[type=checkbox]{border:1px solid var(--color-yellow)}body .todoist-p2>input[type=checkbox]:hover{opacity:.8}body .todoist-p3>input[type=checkbox]{border:1px solid var(--color-blue)}body .todoist-p3>input[type=checkbox]:hover{opacity:.8}body.theme-light{--color-axis-label:var(--tx1);--color-tick-label:var(--tx2);--color-dot-fill:var(--ax1);--color-line:var(--ui1)}.tracker-axis-label{font-family:var(--font-interface)}.tracker-axis{color:var(--ui2)}.tabs-manager .chat-view{--assistant-message-color:var(--background-primary);--padding-md:var(--size-4-2) var(--size-4-3);--padding-lg:var(--size-4-3) var(--size-4-3);--chat-box-color:var(--background-primary)}.tabs-manager .chat-view .ow-dialogue-timeline{padding:var(--size-4-4) var(--size-4-3) var(--size-4-8)}.tabs-manager .chat-view .ow-dialogue-timeline .ow-message-bubble .ow-content-wrapper{box-shadow:none;border-color:var(--background-modifier-border);border-radius:var(--radius-m)}.tabs-manager .chat-view .ow-dialogue-timeline .ow-message-bubble.ow-user-bubble .ow-content-wrapper{border-width:0;background-color:var(--interactive-accent)}.tabs-manager .chat-view .input-area .input-form .chat-box{border-radius:0;box-shadow:none;grid-row:1;grid-column:1/3;height:100px;border:none;padding:var(--size-4-3) var(--size-4-4) var(--size-4-2)}.tabs-manager .chat-view .input-area .input-form .chat-box:hover{height:100px}.tabs-manager .chat-view .input-area{padding:0;gap:0}.tabs-manager .chat-view .header{border-bottom:1px solid var(--background-modifier-border)}.tabs-manager .chat-view .input-form{border-top:1px solid var(--background-modifier-border)}.tabs-manager .chat-view .input-area .input-form .chat-box .info-bar span{color:var(--text-faint)}.tabs-manager .chat-view .input-area .input-form .btn-new-chat{display:none}.zoom-plugin-header{--link-color:var(--text-normal);--link-decoration:none;font-size:var(--font-ui-small);padding:0;justify-content:center;margin:var(--size-4-2) auto;max-width:var(--max-width)}.zoom-plugin-header>.zoom-plugin-title{text-decoration:none;max-width:15em;overflow:hidden}.zoom-plugin-header>.zoom-plugin-delimiter{color:var(--text-faint);padding:0 var(--size-4-1)}.theme-dark.minimal-atom-dark{--color-red-rgb:225,109,118;--color-orange-rgb:209,154,102;--color-yellow-rgb:206,193,103;--color-green-rgb:152,195,121;--color-cyan-rgb:88,182,194;--color-blue-rgb:98,175,239;--color-purple-rgb:198,120,222;--color-pink-rgb:225,109,118;--color-red:#e16d76;--color-orange:#d19a66;--color-yellow:#cec167;--color-green:#98c379;--color-cyan:#58b6c2;--color-blue:#62afef;--color-purple:#c678de;--color-pink:#e16d76}.theme-light.minimal-atom-light{--color-red-rgb:228,87,73;--color-orange-rgb:183,107,2;--color-yellow-rgb:193,131,2;--color-green-rgb:80,161,80;--color-cyan-rgb:13,151,179;--color-blue-rgb:98,175,239;--color-purple-rgb:166,38,164;--color-pink-rgb:228,87,73;--color-red:#e45749;--color-orange:#b76b02;--color-yellow:#c18302;--color-green:#50a150;--color-cyan:#0d97b3;--color-blue:#62afef;--color-purple:#a626a4;--color-pink:#e45749}.theme-light.minimal-atom-light{--base-h:106;--base-s:0%;--base-l:98%;--accent-h:231;--accent-s:76%;--accent-l:62%;--bg1:#fafafa;--bg2:#eaeaeb;--bg3:rgba(0,0,0,.1);--ui1:#dbdbdc;--ui2:#d8d8d9;--tx1:#232324;--tx2:#8e8e90;--tx3:#a0a1a8;--hl1:rgba(180,180,183,0.3);--hl2:rgba(209,154,102,0.35)}.theme-light.minimal-atom-light.minimal-light-white{--bg3:#eaeaeb}.theme-dark.minimal-atom-dark,.theme-light.minimal-atom-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-atom-light.minimal-light-contrast .theme-dark,.theme-light.minimal-atom-light.minimal-light-contrast .titlebar,.theme-light.minimal-atom-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-atom-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-atom-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:220;--base-s:12%;--base-l:18%;--accent-h:220;--accent-s:86%;--accent-l:65%;--bg1:#282c34;--bg2:#21252c;--bg3:#3a3f4b;--divider-color:#181a1f;--tab-outline-color:#181a1f;--tx1:#d8dae1;--tx2:#898f9d;--tx3:#5d6370;--hl1:rgba(114,123,141,0.3);--hl2:rgba(209,154,102,0.3);--sp1:#fff}.theme-dark.minimal-atom-dark.minimal-dark-black{--base-d:5%;--bg3:#282c34;--divider-color:#282c34;--tab-outline-color:#282c34}.theme-light.minimal-ayu-light{--color-red-rgb:230,80,80;--color-orange-rgb:250,141,62;--color-yellow-rgb:242,174,73;--color-green-rgb:108,191,67;--color-cyan-rgb:76,191,153;--color-blue-rgb:57,158,230;--color-purple-rgb:163,122,204;--color-pink-rgb:255,115,131;--color-red:#e65050;--color-orange:#fa8d3e;--color-yellow:#f2ae49;--color-green:#6CBF43;--color-cyan:#4cbf99;--color-blue:#399ee6;--color-purple:#a37acc;--color-pink:#ff7383}.theme-dark.minimal-ayu-dark{--color-red-rgb:255,102,102;--color-orange-rgb:250,173,102;--color-yellow-rgb:255,209,55;--color-green-rgb:135,217,108;--color-cyan-rgb:149,230,203;--color-blue-rgb:115,208,255;--color-purple-rgb:223,191,255;--color-pink-rgb:242,121,131;--color-red:#ff6666;--color-orange:#ffad66;--color-yellow:#ffd137;--color-green:#87D96C;--color-cyan:#95e6cb;--color-blue:#73d0ff;--color-purple:#dfbfff;--color-pink:#f27983}.theme-light.minimal-ayu-light{--base-h:210;--base-s:17%;--base-l:98%;--accent-h:36;--accent-s:100%;--accent-l:50%;--bg1:#fff;--bg2:#f8f9fa;--bg3:rgba(209,218,224,0.5);--ui1:#E6EAED;--tx1:#5C6165;--tx2:#8A9199;--tx3:#AAAEB0;--hl1:rgba(3,91,214,0.15)}.theme-dark.minimal-ayu-dark,.theme-light.minimal-ayu-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-ayu-light.minimal-light-contrast .theme-dark,.theme-light.minimal-ayu-light.minimal-light-contrast .titlebar,.theme-light.minimal-ayu-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-ayu-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-ayu-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:222;--base-s:22%;--base-l:15%;--accent-h:35;--accent-s:100%;--accent-l:60%;--bg1:#232937;--bg2:#1E2431;--bg3:rgba(51,61,80,0.5);--ui1:#333C4A;--ui2:#333C4A;--ui3:#333C4A;--tx1:#cccac2;--tx2:#707A8C;--tx3:#495063;--hl1:rgba(64,159,255,0.25)}.theme-dark.minimal-ayu-dark.minimal-dark-black{--accent-h:40;--accent-s:75%;--accent-l:61%;--bg3:#0E1017;--tx1:#BFBDB6;--divider-color:#11151C;--tab-outline-color:#11151C}.theme-light.minimal-catppuccin-light{--color-red-rgb:230,69,83;--color-orange-rgb:254,100,12;--color-yellow-rgb:223,142,29;--color-green-rgb:64,160,43;--color-cyan-rgb:23,146,154;--color-blue-rgb:33,102,246;--color-purple-rgb:137,56,239;--color-pink-rgb:234,119,203;--color-red:#E64553;--color-orange:#FE640C;--color-yellow:#DF8E1D;--color-green:#40A02B;--color-cyan:#17929A;--color-blue:#2166F6;--color-purple:#8938EF;--color-pink:#EA77CB}.theme-dark.minimal-catppuccin-dark{--color-red-rgb:235,153,156;--color-orange-rgb:239,160,118;--color-yellow-rgb:229,200,144;--color-green-rgb:166,209,138;--color-cyan-rgb:129,200,190;--color-blue-rgb:140,170,238;--color-purple-rgb:202,158,230;--color-pink-rgb:244,185,229;--color-red:#EB999C;--color-orange:#EFA076;--color-yellow:#E5C890;--color-green:#A6D18A;--color-cyan:#81C8BE;--color-blue:#8CAAEE;--color-purple:#CA9EE6;--color-pink:#F4B9E5}.theme-light.minimal-catppuccin-light{--base-h:228;--base-s:20%;--base-l:95%;--accent-h:11;--accent-s:59%;--accent-l:67%;--bg1:#F0F1F5;--bg2:#DCE0E8;--bg3:hsla(228,11%,65%,.25);--ui1:#CCD0DA;--ui2:#BCC0CC;--ui3:#ACB0BE;--tx1:#4D4F69;--tx2:#5D5F77;--tx3:#8D8FA2;--hl1:rgba(172,176,190,.3);--hl2:rgba(223,142,29,.3)}.theme-light.minimal-catppuccin-light.minimal-light-tonal{--bg2:#DCE0E8}.theme-light.minimal-catppuccin-light.minimal-light-white{--bg3:#F0F1F5;--ui1:#DCE0E8}.theme-dark.minimal-catppuccin-dark,.theme-light.minimal-catppuccin-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-catppuccin-light.minimal-light-contrast .theme-dark,.theme-light.minimal-catppuccin-light.minimal-light-contrast .titlebar,.theme-light.minimal-catppuccin-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-catppuccin-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-catppuccin-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:229;--base-s:19%;--base-l:23%;--accent-h:10;--accent-s:57%;--accent-l:88%;--bg1:#303446;--bg2:#242634;--bg3:hsla(229,13%,52%,0.25);--ui1:#41455A;--ui2:#51576D;--ui3:#626880;--tx1:#C6D0F5;--tx2:#A6ADCE;--tx3:#848BA7;--sp1:#242634;--hl1:rgba(98,104,128,.5);--hl2:rgba(223,142,29,.4)}.theme-dark.minimal-catppuccin-dark.minimal-dark-black{--ui1:#303446;--hl2:rgba(223,142,29,.5)}.theme-dark.minimal-dracula-dark{--color-red-rgb:255,85,85;--color-orange-rgb:255,184,108;--color-yellow-rgb:241,250,140;--color-green-rgb:80,250,123;--color-cyan-rgb:139,233,253;--color-blue-rgb:98,114,164;--color-purple-rgb:189,147,249;--color-pink-rgb:255,121,198;--color-red:#ff5555;--color-orange:#ffb86c;--color-yellow:#f1fa8c;--color-green:#50fa7b;--color-cyan:#8be9fd;--color-blue:#6272a4;--color-purple:#bd93f9;--color-pink:#ff79c6}.theme-dark.minimal-dracula-dark,.theme-light.minimal-dracula-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-dracula-light.minimal-light-contrast .theme-dark,.theme-light.minimal-dracula-light.minimal-light-contrast .titlebar,.theme-light.minimal-dracula-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-dracula-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-dracula-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:232;--base-s:16%;--base-l:19%;--accent-h:265;--accent-s:89%;--accent-l:78%;--bg1:#282a37;--bg2:#21222c;--ui2:#44475a;--ui3:#6272a4;--tx1:#f8f8f2;--tx2:#949FBE;--tx3:#6272a4;--hl1:rgba(134, 140, 170, 0.3);--hl2:rgba(189, 147, 249, 0.35)}.theme-dark.minimal-dracula-dark.minimal-dark-black{--ui1:#282a36}.theme-dark.minimal-eink-dark,.theme-light.minimal-eink-light{--collapse-icon-color:var(--text-normal);--icon-color-active:var(--bg1);--icon-color-hover:var(--bg1);--icon-color-focused:var(--bg1);--icon-opacity:1;--indentation-guide-color:var(--tx1);--indentation-guide-color-active:var(--tx1);--indentation-guide-width-active:3px;--interactive-normal:var(--bg1);--input-shadow:0 0 0 1px var(--tx1);--link-unresolved-opacity:1;--link-unresolved-decoration-style:dashed;--link-unresolved-decoration-color:var(--tx1);--metadata-label-background-active:var(--bg1);--metadata-input-background-active:var(--bg1);--modal-border-color:var(--tx1);--modal-border-width:2px;--prompt-border-color:var(--tx1);--prompt-border-width:2px;--calendar-dot-active:var(--bg1);--calendar-dot-today:var(--bg1);--calendar-text-active:var(--bg1);--tag-border-width:1.25px;--tag-background:transparent;--tag-background-hover:transparent;--tag-border-color:var(--tx1);--tag-border-color-hover:var(--tx1);--text-on-accent:var(--bg1);--text-on-accent-inverted:var(--bg1);--text-selection:var(--tx1);--vault-profile-color:var(--tx1);--nav-item-color-active:var(--bg1);--nav-item-color-hover:var(--bg1)}.theme-dark.minimal-eink-dark ::selection,.theme-dark.minimal-eink-dark button:hover,.theme-light.minimal-eink-light ::selection,.theme-light.minimal-eink-light button:hover{color:var(--bg1)}.theme-dark.minimal-eink-dark .nav-files-container,.theme-light.minimal-eink-light .nav-files-container{--nav-item-color-active:var(--bg1)}.theme-dark.minimal-eink-dark .tree-item-self:hover,.theme-light.minimal-eink-light .tree-item-self:hover{--nav-collapse-icon-color:var(--bg1)}.theme-dark.minimal-eink-dark.is-focused .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.theme-dark.minimal-eink-dark.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.theme-dark.minimal-eink-dark.tabs-modern,.theme-light.minimal-eink-light.is-focused .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.theme-light.minimal-eink-light.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.theme-light.minimal-eink-light.tabs-modern{--minimal-tab-text-color-active:var(--bg1);--tab-text-color-focused:var(--bg1);--tab-text-color-focused-active-current:var(--bg1)}.theme-dark.minimal-eink-dark .setting-hotkey,.theme-light.minimal-eink-light .setting-hotkey{background-color:rgba(0,0,0,0);border:1px solid var(--tx1)}.theme-dark.minimal-eink-dark .suggestion-container,.theme-light.minimal-eink-light .suggestion-container{border-width:3px}.theme-dark.minimal-eink-dark .cm-s-obsidian span.cm-inline-code,.theme-dark.minimal-eink-dark .markdown-rendered code,.theme-light.minimal-eink-light .cm-s-obsidian span.cm-inline-code,.theme-light.minimal-eink-light .markdown-rendered code{font-weight:600}.theme-dark.minimal-eink-dark .tree-item-self.is-active,.theme-dark.minimal-eink-dark .tree-item-self:hover,.theme-light.minimal-eink-light .tree-item-self.is-active,.theme-light.minimal-eink-light .tree-item-self:hover{--icon-color:var(--bg1)}.theme-dark.minimal-eink-dark .metadata-property-icon,.theme-light.minimal-eink-light .metadata-property-icon{--icon-color-focused:var(--tx1)}.theme-dark.minimal-eink-dark .checkbox-container,.theme-light.minimal-eink-light .checkbox-container{background-color:var(--bg1);box-shadow:0 0 0 1px var(--tx1);--toggle-thumb-color:var(--tx1)}.theme-dark.minimal-eink-dark .checkbox-container.is-enabled,.theme-light.minimal-eink-light .checkbox-container.is-enabled{background-color:var(--tx1);--toggle-thumb-color:var(--bg1)}.theme-dark.minimal-eink-dark.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:not(:hover),.theme-dark.minimal-eink-dark.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active,.theme-light.minimal-eink-light.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:not(:hover),.theme-light.minimal-eink-light.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active{background-color:var(--tx1)}.theme-dark.minimal-eink-dark #calendar-container .reset-button:hover,.theme-dark.minimal-eink-dark .cm-s-obsidian span.cm-formatting-highlight,.theme-dark.minimal-eink-dark .cm-s-obsidian span.cm-highlight,.theme-dark.minimal-eink-dark .community-item .suggestion-highlight,.theme-dark.minimal-eink-dark .dropdown:hover,.theme-dark.minimal-eink-dark .horizontal-tab-nav-item:hover,.theme-dark.minimal-eink-dark .markdown-rendered mark,.theme-dark.minimal-eink-dark .mod-root .workspace-tab-header-status-icon,.theme-dark.minimal-eink-dark .mod-root .workspace-tab-header:hover,.theme-dark.minimal-eink-dark .search-result-file-match:hover,.theme-dark.minimal-eink-dark .search-result-file-matched-text,.theme-dark.minimal-eink-dark .status-bar .plugin-sync:hover .sync-status-icon.mod-success,.theme-dark.minimal-eink-dark .status-bar .plugin-sync:hover .sync-status-icon.mod-working,.theme-dark.minimal-eink-dark .status-bar-item.mod-clickable:hover,.theme-dark.minimal-eink-dark .suggestion-item.is-selected,.theme-dark.minimal-eink-dark .text-icon-button:hover,.theme-dark.minimal-eink-dark .vertical-tab-nav-item:hover,.theme-dark.minimal-eink-dark button.mod-cta,.theme-dark.minimal-eink-dark select:hover,.theme-dark.minimal-eink-dark.is-focused.tabs-modern .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-title,.theme-dark.minimal-eink-dark.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.theme-dark.minimal-eink-dark.labeled-nav .mod-left-split .mod-top .workspace-tab-header:hover,.theme-dark.minimal-eink-dark:not(.colorful-active) .horizontal-tab-nav-item.is-active,.theme-dark.minimal-eink-dark:not(.colorful-active) .vertical-tab-nav-item.is-active,.theme-light.minimal-eink-light #calendar-container .reset-button:hover,.theme-light.minimal-eink-light .cm-s-obsidian span.cm-formatting-highlight,.theme-light.minimal-eink-light .cm-s-obsidian span.cm-highlight,.theme-light.minimal-eink-light .community-item .suggestion-highlight,.theme-light.minimal-eink-light .dropdown:hover,.theme-light.minimal-eink-light .horizontal-tab-nav-item:hover,.theme-light.minimal-eink-light .markdown-rendered mark,.theme-light.minimal-eink-light .mod-root .workspace-tab-header-status-icon,.theme-light.minimal-eink-light .mod-root .workspace-tab-header:hover,.theme-light.minimal-eink-light .search-result-file-match:hover,.theme-light.minimal-eink-light .search-result-file-matched-text,.theme-light.minimal-eink-light .status-bar .plugin-sync:hover .sync-status-icon.mod-success,.theme-light.minimal-eink-light .status-bar .plugin-sync:hover .sync-status-icon.mod-working,.theme-light.minimal-eink-light .status-bar-item.mod-clickable:hover,.theme-light.minimal-eink-light .suggestion-item.is-selected,.theme-light.minimal-eink-light .text-icon-button:hover,.theme-light.minimal-eink-light .vertical-tab-nav-item:hover,.theme-light.minimal-eink-light button.mod-cta,.theme-light.minimal-eink-light select:hover,.theme-light.minimal-eink-light.is-focused.tabs-modern .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-title,.theme-light.minimal-eink-light.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.theme-light.minimal-eink-light.labeled-nav .mod-left-split .mod-top .workspace-tab-header:hover,.theme-light.minimal-eink-light:not(.colorful-active) .horizontal-tab-nav-item.is-active,.theme-light.minimal-eink-light:not(.colorful-active) .vertical-tab-nav-item.is-active{color:var(--bg1)}.theme-dark.minimal-eink-dark .is-flashing,.theme-light.minimal-eink-light .is-flashing{--text-highlight-bg:#999}.theme-dark.minimal-eink-dark #calendar-container .day:hover,.theme-light.minimal-eink-light #calendar-container .day:hover{--color-dot:var(--bg1)}.theme-light.minimal-eink-light{--base-h:0;--base-s:0%;--base-l:100%;--accent-h:0;--accent-s:0%;--accent-l:0%;--ax3:#000;--bg1:#fff;--bg2:#fff;--bg3:#000;--ui1:#000;--ui2:#000;--ui3:#000;--tx1:#000;--tx2:#000;--tx3:#000;--hl1:#000;--hl2:#000;--sp1:#fff;--text-on-accent:#fff;--background-modifier-cover:rgba(235,235,235,1)}.theme-dark.minimal-eink-dark,.theme-light.minimal-eink-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-eink-light.minimal-light-contrast .theme-dark,.theme-light.minimal-eink-light.minimal-light-contrast .titlebar,.theme-light.minimal-eink-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-eink-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-eink-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:0;--base-s:0%;--base-l:0%;--accent-h:0;--accent-s:0%;--accent-l:100%;--ax3:#fff;--bg1:#000;--bg2:#000;--bg3:#fff;--ui1:#fff;--ui2:#fff;--ui3:#fff;--tx1:#fff;--tx2:#fff;--tx3:#fff;--hl1:#fff;--hl2:#fff;--sp1:#000;--background-modifier-cover:rgba(20,20,20,1);--vault-profile-color:var(--tx1);--vault-profile-color-hover:var(--bg1);--nav-item-color-hover:var(--bg1);--nav-item-color-active:var(--bg1)}.theme-light.minimal-eink-light.minimal-light-tonal{--bg3:#bbb;--ui1:#bbb;--tx3:#999}.theme-dark.minimal-eink-dark.minimal-dark-tonal{--bg3:#444;--ui1:#444;--tx3:#999}.theme-dark.minimal-eink-dark.minimal-dark-tonal,.theme-light.minimal-eink-light.minimal-light-tonal{--hl2:var(--bg3);--modal-border-color:var(--ui1);--prompt-border-color:var(--ui1);--tag-border-color:var(--ui1);--text-selection:var(--bg3);--icon-color-active:var(--tx1);--icon-color-focused:var(--tx1);--nav-item-color-active:var(--tx1);--nav-item-color-hover:var(--tx1);--minimal-tab-text-color-active:var(--tx1)}.theme-dark.minimal-eink-dark.minimal-dark-tonal .is-flashing,.theme-dark.minimal-eink-dark.minimal-dark-tonal .search-result-file-matched-text,.theme-light.minimal-eink-light.minimal-light-tonal .is-flashing,.theme-light.minimal-eink-light.minimal-light-tonal .search-result-file-matched-text{background-color:var(--bg3);color:var(--tx1)}.theme-dark.minimal-eink-dark.minimal-dark-tonal #calendar-container .reset-button:hover,.theme-dark.minimal-eink-dark.minimal-dark-tonal ::selection,.theme-dark.minimal-eink-dark.minimal-dark-tonal:not(.colorful-active) .vertical-tab-nav-item.is-active,.theme-dark.minimal-eink-dark.minimal-dark-tonal:not(.colorful-active) .vertical-tab-nav-item:hover,.theme-light.minimal-eink-light.minimal-light-tonal #calendar-container .reset-button:hover,.theme-light.minimal-eink-light.minimal-light-tonal ::selection,.theme-light.minimal-eink-light.minimal-light-tonal:not(.colorful-active) .vertical-tab-nav-item.is-active,.theme-light.minimal-eink-light.minimal-light-tonal:not(.colorful-active) .vertical-tab-nav-item:hover{color:var(--tx1)}.theme-light.minimal-everforest-light{--color-red-rgb:248,85,82;--color-orange-rgb:245,125,38;--color-yellow-rgb:223,160,0;--color-green-rgb:141,161,1;--color-cyan-rgb:53,167,124;--color-blue-rgb:56,148,196;--color-purple-rgb:223,105,186;--color-pink-rgb:223,105,186;--color-red:#f85552;--color-orange:#f57d26;--color-yellow:#dfa000;--color-green:#8da101;--color-cyan:#35a77c;--color-blue:#3795C5;--color-purple:#df69ba;--color-pink:#df69ba}.theme-dark.minimal-everforest-dark{--color-red-rgb:230,126,128;--color-orange-rgb:230,152,117;--color-yellow-rgb:219,188,127;--color-green-rgb:167,192,128;--color-cyan-rgb:131,192,146;--color-blue-rgb:127,187,179;--color-purple-rgb:223,105,186;--color-pink-rgb:223,105,186;--color-red:#e67e80;--color-orange:#e69875;--color-yellow:#dbbc7f;--color-green:#a7c080;--color-cyan:#83c092;--color-blue:#7fbbb3;--color-purple:#d699b6;--color-pink:#d699b6}.theme-light.minimal-everforest-light{--base-h:44;--base-s:87%;--base-l:94%;--accent-h:83;--accent-s:36%;--accent-l:53%;--bg1:#fdf6e3;--bg2:#efebd4;--bg3:rgba(226,222,198,.5);--ui1:#e0dcc7;--ui2:#bec5b2;--ui3:#bec5b2;--tx1:#5C6A72;--tx2:#829181;--tx3:#a6b0a0;--hl1:rgba(198,214,152,.4);--hl2:rgba(222,179,51,.3)}.theme-light.minimal-everforest-light.minimal-light-tonal{--bg2:#fdf6e3}.theme-light.minimal-everforest-light.minimal-light-white{--bg3:#f3efda;--ui1:#edead5}.theme-dark.minimal-everforest-dark,.theme-light.minimal-everforest-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-everforest-light.minimal-light-contrast .theme-dark,.theme-light.minimal-everforest-light.minimal-light-contrast .titlebar,.theme-light.minimal-everforest-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-everforest-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-everforest-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:203;--base-s:15%;--base-l:23%;--accent-h:81;--accent-s:34%;--accent-l:63%;--bg1:#2d353b;--bg2:#232a2e;--bg3:rgba(71,82,88,0.5);--ui1:#475258;--ui2:#4f585e;--ui3:#525c62;--tx1:#d3c6aa;--tx2:#9da9a0;--tx3:#7a8478;--hl1:rgba(134,70,93,.5);--hl2:rgba(147,185,96,.3)}.theme-dark.minimal-everforest-dark.minimal-dark-black{--hl1:rgba(134,70,93,.4);--ui1:#2b3339}.theme-light.minimal-flexoki-light{--color-red-rgb:175,48,41;--color-orange-rgb:188,82,21;--color-yellow-rgb:173,131,1;--color-green-rgb:102,128,11;--color-cyan-rgb:36,131,123;--color-blue-rgb:32,94,166;--color-purple-rgb:94,64,157;--color-pink-rgb:160,47,111;--color-red:#AF3029;--color-orange:#BC5215;--color-yellow:#AD8301;--color-green:#66800B;--color-cyan:#24837B;--color-blue:#205EA6;--color-purple:#5E409D;--color-pink:#A02F6F}.theme-dark.minimal-flexoki-dark{--color-red-rgb:209,77,65;--color-orange-rgb:218,112,44;--color-yellow-rgb:208,162,21;--color-green-rgb:135,154,57;--color-cyan-rgb:58,169,159;--color-blue-rgb:67,133,190;--color-purple-rgb:139,126,200;--color-pink-rgb:206,93,151;--color-red:#D14D41;--color-orange:#DA702C;--color-yellow:#D0A215;--color-green:#879A39;--color-cyan:#3AA99F;--color-blue:#4385BE;--color-purple:#8B7EC8;--color-pink:#CE5D97}.theme-light.minimal-flexoki-light{--base-h:48;--base-s:100%;--base-l:97%;--accent-h:175;--accent-s:57%;--accent-l:33%;--bg1:#FFFCF0;--bg2:#F2F0E5;--bg3:rgba(16,15,15,0.05);--ui1:#E6E4D9;--ui2:#DAD8CE;--ui3:#CECDC3;--tx1:#100F0F;--tx2:#6F6E69;--tx3:#B7B5AC;--hl1:rgba(187,220,206,0.3);--hl2:rgba(247,209,61,0.3)}.theme-light.minimal-flexoki-light.minimal-light-tonal{--bg2:#FFFCF0}.theme-dark.minimal-flexoki-dark,.theme-light.minimal-flexoki-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-flexoki-light.minimal-light-contrast .theme-dark,.theme-light.minimal-flexoki-light.minimal-light-contrast .titlebar,.theme-light.minimal-flexoki-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-flexoki-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-flexoki-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:360;--base-s:3%;--base-l:6%;--accent-h:175;--accent-s:49%;--accent-l:45%;--bg1:#100F0F;--bg2:#1C1B1A;--bg3:rgba(254,252,240,0.05);--ui1:#282726;--ui2:#343331;--ui3:#403E3C;--tx1:#CECDC3;--tx2:#878580;--tx3:#575653;--hl1:rgba(30,95,91,0.3);--hl2:rgba(213,159,17,0.3)}.theme-dark.minimal-flexoki-dark.minimal-dark-black{--ui1:#1C1B1A}.theme-dark.minimal-gruvbox-dark,.theme-light.minimal-gruvbox-light{--color-red-rgb:204,36,29;--color-orange-rgb:214,93,14;--color-yellow-rgb:215,153,33;--color-green-rgb:152,151,26;--color-cyan-rgb:104,157,106;--color-blue-rgb:69,133,136;--color-purple-rgb:177,98,134;--color-pink-rgb:177,98,134;--color-red:#cc241d;--color-orange:#d65d0e;--color-yellow:#d79921;--color-green:#98971a;--color-cyan:#689d6a;--color-blue:#458588;--color-purple:#b16286;--color-pink:#b16286}.theme-light.minimal-gruvbox-light{--base-h:49;--base-s:92%;--base-l:89%;--accent-h:24;--accent-s:88%;--accent-l:45%;--bg1:#fcf2c7;--bg2:#f2e6bd;--bg3:#ebd9b3;--ui1:#ebdbb2;--ui2:#d5c4a1;--ui3:#bdae93;--tx1:#282828;--tx2:#7c7065;--tx3:#a89a85;--hl1:rgba(192,165,125,.3);--hl2:rgba(215,153,33,.4)}.theme-light.minimal-gruvbox-light.minimal-light-tonal{--bg2:#fcf2c7}.theme-light.minimal-gruvbox-light.minimal-light-white{--bg3:#faf5d7;--ui1:#f2e6bd}.theme-dark.minimal-gruvbox-dark,.theme-light.minimal-gruvbox-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-gruvbox-light.minimal-light-contrast .theme-dark,.theme-light.minimal-gruvbox-light.minimal-light-contrast .titlebar,.theme-light.minimal-gruvbox-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-gruvbox-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-gruvbox-light.minimal-light-contrast.minimal-status-off .status-bar{--accent-h:24;--accent-s:88%;--accent-l:45%;--bg1:#282828;--bg2:#1e2021;--bg3:#3d3836;--bg3:rgba(62,57,55,0.5);--ui1:#3c3836;--ui2:#504945;--ui3:#665c54;--tx1:#fbf1c7;--tx2:#bdae93;--tx3:#7c6f64;--hl1:rgba(173,149,139,0.3);--hl2:rgba(215,153,33,.4)}.theme-dark.minimal-gruvbox-dark.minimal-dark-black{--hl1:rgba(173,149,139,0.4);--ui1:#282828}.theme-dark.minimal-macos-dark,.theme-light.minimal-macos-light{--color-red-rgb:255,59,49;--color-orange-rgb:255,149,2;--color-yellow-rgb:255,204,0;--color-green-rgb:42,205,65;--color-cyan-rgb:2,199,190;--color-blue-rgb:2,122,255;--color-purple-rgb:176,81,222;--color-pink-rgb:255,46,85;--color-red:#ff3b31;--color-orange:#ff9502;--color-yellow:#ffcc00;--color-green:#2acd41;--color-cyan:#02c7be;--color-blue:#027aff;--color-purple:#b051de;--color-pink:#ff2e55}.theme-light.minimal-macos-light{--base-h:106;--base-s:0%;--base-l:94%;--accent-h:212;--accent-s:100%;--accent-l:50%;--bg1:#fff;--bg2:#f0f0f0;--bg3:rgba(0,0,0,.1);--ui1:#e7e7e7;--tx1:#454545;--tx2:#808080;--tx3:#b0b0b0;--hl1:#b3d7ff}.theme-light.minimal-macos-light.minimal-light-tonal{--bg1:#f0f0f0;--bg2:#f0f0f0}.theme-dark.minimal-macos-dark,.theme-light.minimal-macos-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-macos-light.minimal-light-contrast .theme-dark,.theme-light.minimal-macos-light.minimal-light-contrast .titlebar,.theme-light.minimal-macos-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-macos-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-macos-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:106;--base-s:0%;--base-l:12%;--accent-h:212;--accent-s:100%;--accent-l:50%;--bg1:#1e1e1e;--bg2:#282828;--bg3:rgba(255,255,255,0.11);--divider-color:#000;--tab-outline-color:#000;--ui1:#373737;--ui2:#515151;--ui3:#595959;--tx1:#dcdcdc;--tx2:#8c8c8c;--tx3:#686868;--hl1:rgba(98,169,252,0.5);--sp1:#fff}.theme-dark.minimal-macos-dark.minimal-dark-black{--divider-color:#1e1e1e;--tab-outline-color:#1e1e1e}.theme-dark.minimal-nord-dark,.theme-light.minimal-nord-light{--color-red-rgb:191,97,106;--color-orange-rgb:208,138,112;--color-yellow-rgb:235,203,139;--color-green-rgb:163,190,140;--color-cyan-rgb:136,192,208;--color-blue-rgb:129,161,193;--color-purple-rgb:180,142,173;--color-pink-rgb:180,142,173;--color-red:#BF616A;--color-orange:#D08770;--color-yellow:#EBCB8B;--color-green:#A3BE8C;--color-cyan:#88C0D0;--color-blue:#81A1C1;--color-purple:#B48EAD;--color-pink:#B48EAD}.theme-light.minimal-nord-light{--base-h:221;--base-s:27%;--base-l:94%;--accent-h:213;--accent-s:32%;--accent-l:52%;--bg1:#fff;--bg2:#eceff4;--bg3:rgba(157,174,206,0.25);--ui1:#d8dee9;--ui2:#BBCADC;--ui3:#81a1c1;--tx1:#2e3440;--tx2:#7D8697;--tx3:#ADB1B8;--hl2:rgba(208, 135, 112, 0.35)}.theme-dark.minimal-nord-dark,.theme-light.minimal-nord-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-nord-light.minimal-light-contrast .theme-dark,.theme-light.minimal-nord-light.minimal-light-contrast .titlebar,.theme-light.minimal-nord-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-nord-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-nord-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:220;--base-s:16%;--base-l:22%;--accent-h:213;--accent-s:32%;--accent-l:52%;--bg1:#2e3440;--bg2:#3b4252;--bg3:rgba(135,152,190,0.15);--ui1:#434c5e;--ui2:#58647b;--ui3:#58647b;--tx1:#d8dee9;--tx2:#9eafcc;--tx3:#4c566a;--hl1:rgba(129,142,180,0.3);--hl2:rgba(208, 135, 112, 0.35)}.theme-dark.minimal-nord-dark.minimal-dark-black{--ui1:#2e3440}.theme-light.minimal-notion-light{--base-h:39;--base-s:18%;--base-d:96%;--accent-h:197;--accent-s:71%;--accent-l:52%;--bg2:#f7f6f4;--bg3:#e8e7e4;--ui1:#ededec;--ui2:#dbdbda;--ui3:#aaa9a5;--tx1:#37352f;--tx2:#72706c;--tx3:#aaa9a5;--hl1:rgba(131,201,229,0.3)}.theme-dark.minimal-notion-dark,.theme-light.minimal-notion-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-notion-light.minimal-light-contrast .theme-dark,.theme-light.minimal-notion-light.minimal-light-contrast .titlebar,.theme-light.minimal-notion-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-notion-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-notion-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:203;--base-s:8%;--base-d:20%;--accent-h:197;--accent-s:71%;--accent-l:52%;--bg1:#2f3437;--bg2:#373c3f;--bg3:#4b5053;--ui1:#3e4245;--ui2:#585d5f;--ui3:#585d5f;--tx1:#ebebeb;--tx2:#909295;--tx3:#585d5f;--hl1:rgba(57,134,164,0.3)}.theme-dark.minimal-notion-dark.minimal-dark-black{--base-d:5%;--bg3:#232729;--ui1:#2f3437}.theme-light.minimal-rose-pine-light{--color-red-rgb:180,99,122;--color-orange-rgb:215,130,125;--color-yellow-rgb:234,157,53;--color-green-rgb:40,105,131;--color-cyan-rgb:87,147,159;--color-blue-rgb:87,147,159;--color-purple-rgb:144,122,169;--color-pink-rgb:144,122,169;--color-red:#b4637a;--color-orange:#d7827e;--color-yellow:#ea9d34;--color-green:#286983;--color-cyan:#56949f;--color-blue:#56949f;--color-purple:#907aa9;--color-pink:#907aa9}.theme-dark.minimal-rose-pine-dark{--color-red-rgb:234,111,146;--color-orange-rgb:233,155,151;--color-yellow-rgb:246,193,119;--color-green-rgb:47,116,143;--color-cyan-rgb:157,207,215;--color-blue-rgb:157,207,215;--color-purple-rgb:196,167,231;--color-pink-rgb:196,167,231;--color-red:#eb6f92;--color-orange:#ea9a97;--color-yellow:#f6c177;--color-green:#31748f;--color-cyan:#9ccfd8;--color-blue:#9ccfd8;--color-purple:#c4a7e7;--color-pink:#c4a7e7}.theme-light.minimal-rose-pine-light{--base-h:32;--base-s:57%;--base-l:95%;--accent-h:3;--accent-s:53%;--accent-l:67%;--bg1:#fffaf3;--bg2:#faf4ed;--bg3:rgba(233,223,218,0.5);--ui1:#EAE3E1;--ui2:#dfdad9;--ui3:#cecacd;--tx1:#575279;--tx2:#797593;--tx3:#9893a5;--hl1:rgba(191,180,181,0.35)}.theme-dark.minimal-rose-pine-dark,.theme-light.minimal-rose-pine-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-rose-pine-light.minimal-light-contrast .theme-dark,.theme-light.minimal-rose-pine-light.minimal-light-contrast .titlebar,.theme-light.minimal-rose-pine-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-rose-pine-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-rose-pine-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:247;--base-s:23%;--base-l:15%;--accent-h:2;--accent-s:55%;--accent-l:83%;--bg1:#1f1d2e;--bg2:#191724;--bg3:rgba(68,66,86,0.5);--ui1:#312F41;--ui2:#403d52;--ui3:#524f67;--tx1:#e0def4;--tx2:#908caa;--tx3:#6e6a86;--hl1:rgba(126,121,155,0.35)}.theme-dark.minimal-rose-pine-dark.minimal-dark-black{--ui1:#21202e}.theme-dark.minimal-solarized-dark,.theme-light.minimal-solarized-light{--color-red-rgb:220,50,47;--color-orange-rgb:203,77,22;--color-yellow-rgb:181,137,0;--color-green-rgb:133,153,0;--color-cyan-rgb:42,161,152;--color-blue-rgb:38,139,210;--color-purple-rgb:108,113,196;--color-pink-rgb:211,54,130;--color-red:#dc322f;--color-orange:#cb4b16;--color-yellow:#b58900;--color-green:#859900;--color-cyan:#2aa198;--color-blue:#268bd2;--color-purple:#6c71c4;--color-pink:#d33682}.theme-light.minimal-solarized-light{--base-h:44;--base-s:87%;--base-l:94%;--accent-h:205;--accent-s:70%;--accent-l:48%;--bg1:#fdf6e3;--bg2:#eee8d5;--bg3:rgba(0,0,0,0.062);--ui1:#e9e1c8;--ui2:#d0cab8;--ui3:#d0cab8;--tx1:#073642;--tx2:#586e75;--tx3:#ABB2AC;--tx4:#586e75;--hl1:rgba(202,197,182,0.3);--hl2:rgba(203,75,22,0.3)}.theme-light.minimal-solarized-light.minimal-light-tonal{--bg2:#fdf6e3}.theme-dark.minimal-solarized-dark,.theme-light.minimal-solarized-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-solarized-light.minimal-light-contrast .theme-dark,.theme-light.minimal-solarized-light.minimal-light-contrast .titlebar,.theme-light.minimal-solarized-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-solarized-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-solarized-light.minimal-light-contrast.minimal-status-off .status-bar{--accent-h:205;--accent-s:70%;--accent-l:48%;--base-h:193;--base-s:98%;--base-l:11%;--bg1:#002b36;--bg2:#073642;--bg3:rgba(255,255,255,0.062);--ui1:#19414B;--ui2:#274850;--ui3:#31535B;--tx1:#93a1a1;--tx2:#657b83;--tx3:#31535B;--tx4:#657b83;--hl1:rgba(15,81,98,0.3);--hl2:rgba(203, 75, 22, 0.35)}.theme-dark.minimal-solarized-dark.minimal-dark-black{--hl1:rgba(15,81,98,0.55);--ui1:#002b36}.theme-dark.minimal-things-dark,.theme-light.minimal-things-light{--color-red-rgb:255,48,108;--color-orange-rgb:255,149,2;--color-yellow-rgb:255,213,0;--color-green-rgb:75,191,94;--color-cyan-rgb:73,174,164;--color-purple-rgb:176,81,222;--color-pink-rgb:255,46,85;--color-red:#FF306C;--color-orange:#ff9502;--color-yellow:#FFD500;--color-green:#4BBF5E;--color-cyan:#49AEA4;--color-purple:#b051de;--color-pink:#ff2e55}.theme-light.minimal-things-light{--color-blue-rgb:27,97,194;--color-blue:#1b61c2}.theme-dark.minimal-things-dark{--color-blue-rgb:77,149,247;--color-blue:#4d95f7}.theme-light.minimal-things-light{--accent-h:215;--accent-s:76%;--accent-l:43%;--bg1:white;--bg2:#f5f6f8;--bg3:rgba(162,177,187,0.25);--ui1:#eef0f4;--ui2:#D8DADD;--ui3:#c1c3c6;--tx1:#26272b;--tx2:#7D7F84;--tx3:#a9abb0;--hl1:#cae2ff}.theme-light.minimal-things-light.minimal-light-tonal{--ui1:#e6e8ec}.theme-light.minimal-things-light.minimal-light-white{--bg3:#f5f6f8}.theme-dark.minimal-things-dark,.theme-light.minimal-things-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-things-light.minimal-light-contrast .theme-dark,.theme-light.minimal-things-light.minimal-light-contrast .titlebar,.theme-light.minimal-things-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-things-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-things-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:218;--base-s:9%;--base-l:15%;--accent-h:215;--accent-s:91%;--accent-l:64%;--bg1:#24262a;--bg2:#202225;--bg3:#3d3f41;--divider-color:#17191c;--tab-outline-color:#17191c;--ui1:#3A3B3F;--ui2:#45464a;--ui3:#6c6e70;--tx1:#fbfbfb;--tx2:#CBCCCD;--tx3:#6c6e70;--hl1:rgba(40,119,236,0.35);--sp1:#fff}.theme-dark.minimal-things-dark.minimal-dark-black{--base-d:5%;--bg3:#24262a;--divider-color:#24262a;--tab-outline-color:#24262a} +body{--font-editor-theme:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Ubuntu,sans-serif;--font-editor:var(--font-editor-override),var(--font-text-override),var(--font-editor-theme)}body{--blockquote-style:normal;--blockquote-color:var(--text-muted);--blockquote-border-thickness:1px;--blockquote-border-color:var(--quote-opening-modifier);--embed-block-shadow-hover:none;--font-ui-smaller:11px;--normal-weight:400;--inline-title-margin-bottom:1rem;--h1-size:1.125em;--h2-size:1.05em;--h3-size:1em;--h4-size:0.90em;--h5-size:0.85em;--h6-size:0.85em;--h1-weight:600;--h2-weight:600;--h3-weight:500;--h4-weight:500;--h5-weight:500;--h6-weight:400;--h1-variant:normal;--h2-variant:normal;--h3-variant:normal;--h4-variant:normal;--h5-variant:small-caps;--h6-variant:small-caps;--h1-style:normal;--h2-style:normal;--h3-style:normal;--h4-style:normal;--h5-style:normal;--h6-style:normal;--line-width:40rem;--line-height:1.5;--line-height-normal:var(--line-height);--max-width:88%;--max-col-width:18em;--icon-muted:0.5;--nested-padding:1.1em;--folding-offset:32px;--list-edit-offset:0.5em;--list-indent:2em;--list-spacing:0.075em;--input-height:32px;--header-height:40px;--metadata-label-width:9rem;--metadata-label-font-size:var(--font-adaptive-small);--metadata-input-font-size:var(--font-adaptive-small);--mobile-left-sidebar-width:280pt;--mobile-right-sidebar-width:240pt;--top-left-padding-y:0px;--image-muted:0.7;--image-radius:4px;--heading-spacing:2em;--p-spacing:1.75rem;--border-width:1px;--table-border-width:var(--border-width);--table-selection:var(--text-selection);--table-selection-border-color:var(--text-accent);--table-selection-border-width:0px;--table-selection-border-radius:0px;--table-drag-handle-background-active:var(--text-selection);--table-drag-handle-color-active:var(--text-accent);--table-add-button-border-width:0px;--file-margins:var(--size-4-2) var(--size-4-12)}.mod-macos{--top-left-padding-y:24px}.is-phone{--metadata-label-font-size:var(--font-adaptive-smaller);--metadata-input-font-size:var(--font-adaptive-smaller)}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.is-phone{--border-width:0.75px}}body{--base-h:0;--base-s:0%;--base-l:96%;--accent-h:201;--accent-s:17%;--accent-l:50%}.theme-dark,.theme-light{--color-red-rgb:208,66,85;--color-orange-rgb:213,118,63;--color-yellow-rgb:229,181,103;--color-green-rgb:168,195,115;--color-cyan-rgb:115,187,178;--color-blue-rgb:108,153,187;--color-purple-rgb:158,134,200;--color-pink-rgb:176,82,121;--color-red:#d04255;--color-orange:#d5763f;--color-yellow:#e5b567;--color-green:#a8c373;--color-cyan:#73bbb2;--color-blue:#6c99bb;--color-purple:#9e86c8;--color-pink:#b05279}.theme-light,.theme-light.minimal-default-light,body .excalidraw{--bg1:white;--bg2:hsl( var(--base-h), var(--base-s), var(--base-l) );--bg3:hsla( var(--base-h), var(--base-s), calc(var(--base-l) - 50%), 0.12 );--ui1:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 6%) );--ui2:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 12%) );--ui3:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 20%) );--tx1:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 90%) );--tx2:hsl( var(--base-h), calc(var(--base-s) - 20%), calc(var(--base-l) - 50%) );--tx3:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) - 25%) );--tx4:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) - 60%) );--ax1:hsl( var(--accent-h), var(--accent-s), var(--accent-l) );--ax2:hsl( var(--accent-h), var(--accent-s), calc(var(--accent-l) - 8%) );--ax3:hsl( var(--accent-h), var(--accent-s), calc(var(--accent-l) + 6%) );--hl1:hsla( var(--accent-h), 50%, calc(var(--base-l) - 20%), 30% );--hl2:rgba(255, 225, 0, 0.5);--sp1:white}.excalidraw.theme--dark,.theme-dark,.theme-dark.minimal-default-dark,.theme-light.minimal-light-contrast .titlebar,.theme-light.minimal-light-contrast.minimal-status-off .status-bar{--accent-l:60%;--base-l:15%;--bg1:hsl( var(--base-h), var(--base-s), var(--base-l) );--bg2:hsl( var(--base-h), var(--base-s), calc(var(--base-l) - 2%) );--bg3:hsla( var(--base-h), var(--base-s), calc(var(--base-l) + 40%), 0.12 );--ui1:hsl( var(--base-h), var(--base-s), calc(var(--base-l) + 6%) );--ui2:hsl( var(--base-h), var(--base-s), calc(var(--base-l) + 12%) );--ui3:hsl( var(--base-h), var(--base-s), calc(var(--base-l) + 20%) );--tx1:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) + 67%) );--tx2:hsl( var(--base-h), calc(var(--base-s) - 20%), calc(var(--base-l) + 45%) );--tx3:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) + 20%) );--tx4:hsl( var(--base-h), calc(var(--base-s) - 10%), calc(var(--base-l) + 50%) );--ax1:hsl( var(--accent-h), var(--accent-s), var(--accent-l) );--ax2:hsl( var(--accent-h), var(--accent-s), calc(var(--accent-l) + 8%) );--ax3:hsl( var(--accent-h), var(--accent-s), calc(var(--accent-l) - 5%) );--hl1:hsla( var(--accent-h), 50%, 40%, 30% );--hl2:rgba(255, 177, 80, 0.3);--sp1:white}.theme-light.minimal-light-white{--background-primary:white;--background-secondary:white;--background-secondary-alt:white;--ribbon-background:white;--titlebar-background:white;--bg1:white}.theme-dark.minimal-dark-black{--base-d:0%;--titlebar-background:black;--background-primary:black;--background-secondary:black;--background-secondary-alt:black;--ribbon-background:black;--background-modifier-hover:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 10%));--tx1:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 75%) );--tx2:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 50%) );--tx3:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 25%) );--ui1:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 12%) );--ui2:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 20%) );--ui3:hsl( var(--base-h), var(--base-s), calc(var(--base-d) + 30%) )}.theme-light{--mono100:black;--mono0:white}.theme-dark{--mono100:white;--mono0:black}.theme-dark,.theme-light,.theme-light.minimal-light-contrast .titlebar,.theme-light.minimal-light-contrast.is-mobile .workspace-drawer.mod-left,.theme-light.minimal-light-contrast.minimal-status-off .status-bar{--background-modifier-accent:var(--ax3);--background-modifier-border-focus:var(--ui3);--background-modifier-border-hover:var(--ui2);--background-modifier-border:var(--ui1);--mobile-sidebar-background:var(--bg1);--background-modifier-form-field-highlighted:var(--bg1);--background-modifier-form-field:var(--bg1);--background-modifier-success:var(--color-green);--background-modifier-hover:var(--bg3);--background-modifier-active-hover:var(--bg3);--background-primary:var(--bg1);--background-primary-alt:var(--bg2);--background-secondary:var(--bg2);--background-secondary-alt:var(--bg1);--background-table-rows:var(--bg2);--checkbox-color:var(--ax3);--code-normal:var(--tx1);--divider-color:var(--ui1);--frame-divider-color:var(--ui1);--icon-color-active:var(--tx1);--icon-color-focused:var(--tx1);--icon-color-hover:var(--tx2);--icon-color:var(--tx2);--icon-hex:var(--mono0);--interactive-accent-hover:var(--ax1);--interactive-accent:var(--ax3);--interactive-hover:var(--ui1);--list-marker-color:var(--tx3);--nav-item-background-active:var(--bg3);--nav-item-background-hover:var(--bg3);--nav-item-color:var(--tx2);--nav-item-color-active:var(--tx1);--nav-item-color-hover:var(--tx1);--nav-item-color-selected:var(--tx1);--nav-collapse-icon-color:var(--tx2);--nav-collapse-icon-color-collapsed:var(--tx2);--nav-indentation-guide-color:var(--ui1);--prompt-border-color:var(--ui3);--quote-opening-modifier:var(--ui2);--ribbon-background:var(--bg2);--scrollbar-active-thumb-bg:var(--ui3);--scrollbar-bg:transparent;--scrollbar-thumb-bg:var(--ui1);--search-result-background:var(--bg1);--tab-text-color-focused-active:var(--tx1);--tab-outline-color:var(--ui1);--text-accent-hover:var(--ax2);--text-accent:var(--ax1);--text-blockquote:var(--tx2);--text-bold:var(--tx1);--text-code:var(--tx4);--text-error:var(--color-red);--text-faint:var(--tx3);--text-highlight-bg:var(--hl2);--text-italic:var(--tx1);--text-muted:var(--tx2);--text-normal:var(--tx1);--text-on-accent:var(--sp1);--text-selection:var(--hl1);--text-formatting:var(--tx3);--title-color-inactive:var(--tx2);--title-color:var(--tx1);--titlebar-background:var(--bg2);--titlebar-background-focused:var(--bg2);--titlebar-text-color-focused:var(--tx1);--workspace-background-translucent:hsla(var(--base-h),var(--base-s), var(--base-l), 0.7)}.theme-dark .view-actions,.theme-light .view-actions{--icon-color-active:var(--ax1)}.theme-light.minimal-light-contrast{--workspace-background-translucent:rgba(0,0,0,0.6)}.theme-light.minimal-light-contrast .theme-dark{--tab-container-background:var(--bg2);--ribbon-background-collapsed:var(--bg2)}.theme-light{--interactive-normal:var(--bg1);--interactive-accent-rgb:220,220,220;--active-line-bg:rgba(0,0,0,0.035);--background-modifier-cover:hsla(var(--base-h),calc(var(--base-s) - 70%),calc(var(--base-l) - 20%),0.5);--text-highlight-bg-active:rgba(0, 0, 0, 0.1);--background-modifier-error:rgba(255,0,0,0.14);--background-modifier-error-hover:rgba(255,0,0,0.08);--shadow-color:rgba(0, 0, 0, 0.1);--btn-shadow-color:rgba(0, 0, 0, 0.05)}.theme-dark{--interactive-normal:var(--bg3);--interactive-accent-rgb:66,66,66;--active-line-bg:rgba(255,255,255,0.04);--background-modifier-cover:hsla(var(--base-h),var(--base-s), calc(var(--base-l) - 12%), 0.5);--text-highlight-bg-active:rgba(255, 255, 255, 0.1);--background-modifier-error:rgba(255,20,20,0.12);--background-modifier-error-hover:rgba(255,20,20,0.18);--background-modifier-box-shadow:rgba(0, 0, 0, 0.3);--shadow-color:rgba(0, 0, 0, 0.3);--btn-shadow-color:rgba(0, 0, 0, 0.2);--modal-border-color:var(--ui2)}.theme-light.minimal-light-white{--background-table-rows:var(--bg2)}.theme-light.minimal-light-tonal{--background-primary:var(--bg2);--background-primary-alt:var(--bg3);--background-table-rows:var(--bg3)}.theme-dark.minimal-dark-tonal{--ribbon-background:var(--bg1);--background-secondary:var(--bg1);--background-table-rows:var(--bg3)}.theme-dark.minimal-dark-black{--background-primary-alt:var(--bg3);--background-table-rows:var(--bg3);--modal-border:var(--ui2);--active-line-bg:rgba(255,255,255,0.085);--background-modifier-form-field:var(--bg3);--background-modifier-cover:hsla(var(--base-h),var(--base-s),calc(var(--base-d) + 8%),0.9);--background-modifier-box-shadow:rgba(0, 0, 0, 1)}body{--font-adaptive-normal:var(--font-text-size,var(--editor-font-size));--font-adaptive-small:calc(var(--font-ui-small) * 1.07);--font-adaptive-smaller:var(--font-ui-small);--font-adaptive-smallest:var(--font-ui-smaller);--line-width-wide:calc(var(--line-width) + 12.5%);--font-code:calc(var(--font-adaptive-normal) * 0.9);--table-text-size:calc(var(--font-adaptive-normal) * 0.875)}.minimal-dev-block-width .mod-root .workspace-leaf-content:after{display:flex;align-items:flex-end;content:" pane ";font-size:12px;color:gray;font-family:var(--font-monospace);width:100%;max-width:100%;height:100vh;top:0;z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width.minimal-readable .mod-root .view-header:after{display:flex;align-items:flex-end;color:green;font-size:12px;font-family:var(--font-monospace);content:" ";width:var(--folding-offset);height:100vh;border-left:1px solid green;border-right:1px solid green;background-color:rgba(0,128,0,.1);top:0;left:max(50% - var(--line-width)/2 - 1px,50% - var(--max-width)/2 - 1px);z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width.minimal-readable-off .mod-root .view-header:after{display:flex;align-items:flex-end;color:green;font-size:12px;font-family:var(--font-monospace);content:" ";width:var(--folding-offset);height:100vh;border-left:1px solid green;border-right:1px solid green;background-color:rgba(0,128,0,.1);top:0;left:calc(50% - var(--max-width)/ 2 - 1px);z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width .mod-root .view-content:before{display:flex;align-items:flex-end;content:" max ";font-size:12px;color:red;width:var(--max-width);height:100vh;border-left:1px solid red;border-right:1px solid red;top:0;left:50%;transform:translate(-50%,0);z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width.minimal-readable .mod-root .workspace-leaf-content:before{display:flex;align-items:flex-end;content:" wide ";font-size:12px;color:orange;font-family:var(--font-monospace);width:var(--line-width-wide);max-width:var(--max-width);height:100vh;border-left:1px solid orange;border-right:1px solid orange;background-color:rgba(255,165,0,.05);top:0;left:50%;transform:translate(-50%,0);z-index:999;position:fixed;pointer-events:none}.minimal-dev-block-width.minimal-readable .mod-root .view-content:after{display:flex;align-items:flex-end;color:#00f;font-size:12px;font-family:var(--font-monospace);content:" normal";width:var(--line-width);max-width:var(--max-width);height:100vh;border-left:1px solid #00f;border-right:1px solid #00f;background-color:rgba(0,0,255,.08);top:0;left:50%;transform:translate(-50%,0);z-index:999;position:fixed;pointer-events:none}.CodeMirror-wrap>div>textarea{opacity:0}.markdown-source-view.mod-cm6 hr{border-width:2px}.cm-editor .cm-content{padding-top:.5em}.markdown-source-view{color:var(--text-normal)}.markdown-source-view.mod-cm6 .cm-sizer{display:block}.markdown-source-view.mod-cm6 .cm-scroller{padding-inline-end:0;padding-inline-start:0}.cm-s-obsidian .cm-line.HyperMD-header{padding-top:calc(var(--p-spacing)/2)}.markdown-rendered .mod-header+div>*{margin-block-start:0}body :not(.canvas-node) .markdown-source-view.mod-cm6 .cm-gutters{position:absolute!important;z-index:0;margin-inline-end:0}body :not(.canvas-node) .markdown-source-view.mod-cm6.is-rtl .cm-gutters{right:0}body{--line-number-color:var(--text-faint);--line-number-color-active:var(--text-muted)}.markdown-source-view.mod-cm6 .cm-gutters{color:var(--line-number-color)!important}.markdown-source-view.mod-cm6 .cm-editor .cm-gutterElement.cm-active .cm-heading-marker,.markdown-source-view.mod-cm6 .cm-editor .cm-lineNumbers .cm-gutterElement.cm-active{color:var(--line-number-color-active)}.cm-editor .cm-lineNumbers{background-color:var(--gutter-background)}.cm-editor .cm-lineNumbers .cm-gutterElement{min-width:var(--folding-offset);padding-inline-end:.5em}.is-rtl .cm-editor .cm-lineNumbers .cm-gutterElement{text-align:left}@media(max-width:400pt){.cm-editor .cm-lineNumbers .cm-gutterElement{padding-inline-end:4px;padding-inline-start:8px}}.cm-editor .cm-gutterElement.cm-active .cm-heading-marker,.cm-editor .cm-lineNumbers .cm-gutterElement.cm-active{color:var(--text-muted)}.markdown-source-view.mod-cm6 .edit-block-button{cursor:var(--cursor);color:var(--text-faint);background-color:var(--background-primary);top:0;opacity:0;transition:opacity .2s;padding:4px 4px 4px 9px}.markdown-source-view.mod-cm6 .edit-block-button svg{margin:0!important}.markdown-source-view.mod-cm6.is-live-preview.is-readable-line-width .cm-embed-block>.edit-block-button{width:30px!important;padding-inline-start:7px!important}.is-live-preview:not(.is-readable-line-width) .cm-embed-block>.edit-block-button{padding-inline-start:0px!important;margin-inline-start:0!important;padding:4px}.markdown-source-view.mod-cm6 .edit-block-button:hover{background-color:var(--background-primary);color:var(--text-muted)}.markdown-source-view.mod-cm6 .edit-block-button svg{opacity:1}.markdown-source-view.mod-cm6 .edit-block-button:hover svg{opacity:1}.markdown-source-view.mod-cm6 .cm-embed-block{padding:0;border:0;border-radius:0}.markdown-source-view.mod-cm6 .cm-embed-block:hover{border:0}.metadata-container{--input-height:2rem}body.metadata-heading-off .metadata-properties-heading{display:none}.metadata-add-property-off .mod-root .metadata-add-button{display:none}.metadata-dividers{--metadata-divider-width:1px;--metadata-gap:0px}.metadata-icons-off .workspace-leaf-content[data-type=all-properties] .tree-item-inner{margin-inline-start:-16px}.metadata-icons-off .workspace-leaf-content[data-type=all-properties] .tree-item-icon{display:none}.metadata-icons-off .metadata-property-icon{display:none}figure{margin-inline-start:0;margin-inline-end:0}.markdown-preview-view .mod-highlighted{transition:background-color .3s ease;background-color:var(--text-selection);color:inherit}.inline-title{padding-top:16px}.mod-macos.hider-frameless .workspace-ribbon{border:none}.is-tablet.hider-ribbon{--ribbon-width:0px}.is-tablet.hider-ribbon .side-dock-ribbon{display:none}.hider-ribbon .workspace-ribbon{padding:0}:root{--hider-ribbon-display:none}.ribbon-bottom-left-hover-vertical:not(.is-mobile),.ribbon-bottom-left-hover:not(.is-mobile){--hider-ribbon-display:flex}body.ribbon-vertical-expand:not(.is-mobile){--ribbon-width:0px}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left{width:10px;flex-basis:10px;opacity:0;position:fixed;height:100%;top:0;bottom:0;left:0;z-index:10;transition:all .1s linear .6s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left .side-dock-actions{transition:opacity .1s linear .3s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left:hover{width:44px;opacity:1;flex-basis:44px;transition:opacity .1s linear .1s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left:hover .side-dock-actions{opacity:1;transition:opacity .2s linear .2s}body.ribbon-vertical-expand:not(.is-mobile).labeled-nav .workspace-ribbon.mod-left~.mod-left-split .workspace-tab-header-container{margin-left:0;transition:all .1s linear .6s}body.ribbon-vertical-expand:not(.is-mobile).labeled-nav .workspace-ribbon.mod-left:hover~.mod-left-split .workspace-tab-header-container{margin-left:44px;transition:all .1s linear}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left~.mod-left-split .workspace-tab-container{padding-left:0;transition:all .1s linear .6s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left~.mod-left-split .workspace-sidedock-vault-profile{transition:all .1s linear .6s}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left:hover~.mod-left-split .workspace-tab-container{padding-left:44px;transition:all .1s linear}body.ribbon-vertical-expand:not(.is-mobile) .workspace-ribbon.mod-left:hover~.mod-left-split .workspace-sidedock-vault-profile{padding-left:52px;transition:all .1s linear}.hider-ribbon .workspace-ribbon.mod-left:before,.ribbon-bottom-left-hover .workspace-ribbon.mod-left:before,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left:before{opacity:0}.hider-ribbon .workspace-ribbon-collapse-btn,.ribbon-bottom-left-hover .workspace-ribbon-collapse-btn,.ribbon-bottom-left-hover-vertical .workspace-ribbon-collapse-btn{display:none}.hider-ribbon .workspace-ribbon.mod-right,.ribbon-bottom-left-hover .workspace-ribbon.mod-right,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-right{pointer-events:none}.hider-ribbon .workspace-ribbon.mod-left,.ribbon-bottom-left-hover .workspace-ribbon.mod-left,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left{overflow:visible;border-top:var(--border-width) solid var(--background-modifier-border)!important;border-right:var(--border-width) solid var(--background-modifier-border)!important;border-top-right-radius:var(--radius-m);padding:0;position:absolute;border-right:0px;margin:0;width:auto;height:44px;flex-basis:0;bottom:0;top:auto;background:var(--background-secondary);display:var(--hider-ribbon-display)!important;flex-direction:row;z-index:17;opacity:0;transition:opacity .25s ease-in-out;filter:drop-shadow(2px 10px 30px rgba(0, 0, 0, .2));gap:0}.hider-ribbon .side-dock-actions,.hider-ribbon .side-dock-settings,.ribbon-bottom-left-hover .side-dock-actions,.ribbon-bottom-left-hover .side-dock-settings,.ribbon-bottom-left-hover-vertical .side-dock-actions,.ribbon-bottom-left-hover-vertical .side-dock-settings{flex-direction:row;display:var(--hider-ribbon-display);background:rgba(0,0,0,0);margin:0;position:relative;gap:var(--size-2-2)}.hider-ribbon .side-dock-actions,.ribbon-bottom-left-hover .side-dock-actions,.ribbon-bottom-left-hover-vertical .side-dock-actions{padding:6px 6px 6px 8px}.hider-ribbon .side-dock-settings:empty,.ribbon-bottom-left-hover .side-dock-settings:empty,.ribbon-bottom-left-hover-vertical .side-dock-settings:empty{display:none}.hider-ribbon .workspace-ribbon.mod-left .side-dock-ribbon-action,.ribbon-bottom-left-hover .workspace-ribbon.mod-left .side-dock-ribbon-action,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left .side-dock-ribbon-action{display:var(--hider-ribbon-display)}.hider-ribbon .workspace-ribbon.mod-left:hover,.ribbon-bottom-left-hover .workspace-ribbon.mod-left:hover,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left:hover{opacity:1;transition:opacity .25s ease-in-out}.hider-ribbon .workspace-ribbon.mod-left .workspace-ribbon-collapse-btn,.ribbon-bottom-left-hover .workspace-ribbon.mod-left .workspace-ribbon-collapse-btn,.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left .workspace-ribbon-collapse-btn{opacity:0}.hider-ribbon .workspace-split.mod-left-split,.ribbon-bottom-left-hover .workspace-split.mod-left-split,.ribbon-bottom-left-hover-vertical .workspace-split.mod-left-split{margin:0}.hider-ribbon .workspace-leaf-content .item-list,.ribbon-bottom-left-hover .workspace-leaf-content .item-list,.ribbon-bottom-left-hover-vertical .workspace-leaf-content .item-list{padding-bottom:40px}.ribbon-bottom-left-hover-vertical .workspace-ribbon.mod-left{height:auto}.ribbon-bottom-left-hover-vertical .side-dock-actions{flex-direction:column;padding:8px 6px}.minimal-status-off .status-bar{--status-bar-position:static;--status-bar-radius:0;--status-bar-border-width:1px 0 0 0;--status-bar-background:var(--background-secondary);--status-bar-border-color:var(--ui1)}body:not(.minimal-status-off) .status-bar{background-color:var(--background-primary);--status-bar-border-width:0}.status-bar{transition:color .2s linear;color:var(--text-faint);font-size:var(--font-adaptive-smallest)}.status-bar .sync-status-icon.mod-success,.status-bar .sync-status-icon.mod-working{color:var(--text-faint)}.status-bar:hover,.status-bar:hover .sync-status-icon.mod-success,.status-bar:hover .sync-status-icon.mod-working{color:var(--text-muted);transition:color .2s linear}.status-bar .plugin-sync:hover .sync-status-icon.mod-success,.status-bar .plugin-sync:hover .sync-status-icon.mod-working{color:var(--text-normal)}.status-bar .status-bar-item{cursor:var(--cursor)!important}.status-bar .status-bar-item.cMenu-statusbar-button:hover,.status-bar .status-bar-item.mod-clickable:hover,.status-bar .status-bar-item.plugin-editor-status:hover,.status-bar .status-bar-item.plugin-sync:hover{text-align:center;background-color:var(--background-modifier-hover)!important}.tab-stack-top-flipped{--tab-stacked-text-transform:rotate(180deg);--tab-stacked-text-align:right}.tab-stack-center{--tab-stacked-text-align:center}.tab-stack-center-flipped{--tab-stacked-text-transform:rotate(180deg);--tab-stacked-text-align:center}.tab-stack-bottom{--tab-stacked-text-transform:rotate(180deg)}.tab-stack-bottom-flipped{--tab-stacked-text-align:right}.view-header-title,.view-header-title-parent{text-overflow:ellipsis}.view-header-title-container:not(.mod-at-end):after{display:none}body:not(.is-mobile) .view-actions .view-action:last-child{margin-left:-1px}.minimal-focus-mode .workspace-ribbon:not(.is-collapsed)~.mod-root .view-header:hover .view-actions,.mod-right.is-collapsed~.mod-root .view-header:hover .view-actions,.view-action.is-active:hover,.workspace-ribbon.mod-left.is-collapsed~.mod-root .view-header:hover .view-actions,body:not(.minimal-focus-mode) .workspace-ribbon:not(.is-collapsed)~.mod-root .view-actions{opacity:1;transition:opacity .25s ease-in-out}.view-header-title-container{opacity:0;transition:opacity .1s ease-in-out}.view-header-title-container:focus-within{opacity:1;transition:opacity .1s ease-in-out}.view-header:hover .view-header-title-container,.workspace-tab-header-container:hover+.workspace-tab-container .view-header-title-container{opacity:1;transition:opacity .1s ease-in-out}.is-phone .view-header-title-container,.minimal-tab-title-visible .view-header-title-container{opacity:1}.minimal-tab-title-hidden .view-header-title-container{opacity:0}.minimal-tab-title-hidden .view-header-title-container:focus-within{opacity:1;transition:opacity .1s ease-in-out}.minimal-tab-title-hidden .view-header:hover .view-header-title-container,.minimal-tab-title-hidden .workspace-tab-header-container:hover+.workspace-tab-container .view-header-title-container{opacity:0}body.window-title-off .titlebar-text{display:none}.titlebar-button-container.mod-right{background-color:rgba(0,0,0,0)!important}.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame),.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white){--titlebar-background:var(--bg1)}.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame).is-focused .sidebar-toggle-button.mod-right,.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame).is-focused .workspace-ribbon.mod-left.is-collapsed,.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame).is-focused .workspace-tabs.mod-top,.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white).is-focused .sidebar-toggle-button.mod-right,.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white).is-focused .workspace-ribbon.mod-left.is-collapsed,.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white).is-focused .workspace-tabs.mod-top{--titlebar-background-focused:var(--bg1)}.is-hidden-frameless.theme-dark:not(.minimal-dark-black):not(.colorful-frame):not(.minimal-dark-tonal):not(.minimal-light-white) .workspace-ribbon.mod-left:not(.is-collapsed),.is-hidden-frameless.theme-light:not(.minimal-light-tonal):not(.colorful-frame):not(.minimal-light-white):not(.minimal-dark-tonal):not(.minimal-light-white) .workspace-ribbon.mod-left:not(.is-collapsed){--titlebar-background:var(--bg2)}.mod-macos.is-hidden-frameless:not(.is-popout-window) .sidebar-toggle-button.mod-right{right:0;padding-right:var(--size-4-2)}body.is-focused{--titlebar-background-focused:var(--background-secondary)}.is-hidden-frameless:not(.colorful-frame) .mod-left-split .mod-top .workspace-tab-header-container{--tab-container-background:var(--background-secondary)}.mod-root .workspace-tab-header-status-icon{color:var(--text-muted)}.is-collapsed .workspace-sidedock-vault-profile{opacity:0}body:not(.is-mobile).hide-help .workspace-drawer-vault-actions .clickable-icon:first-child{display:none}body:not(.is-mobile).hide-settings .workspace-drawer-vault-actions .clickable-icon:last-child{display:none}body:not(.is-mobile).hide-help.hide-settings .workspace-drawer-vault-actions{display:none!important}body:not(.is-grabbing):not(.is-fullscreen).labeled-nav.is-hidden-frameless.vault-profile-top .mod-left-split .mod-top .workspace-tab-header-container{-webkit-app-region:no-drag}body:not(.is-grabbing):not(.is-fullscreen).labeled-nav.is-hidden-frameless.vault-profile-top .mod-left-split .mod-top .workspace-tab-header-container:before{position:absolute;top:0;content:"";height:var(--header-height);width:100%;-webkit-app-region:drag}body:not(.is-mobile):not(.labeled-nav).vault-profile-top .workspace-split.mod-left-split .mod-top .workspace-tab-container{margin-top:calc(var(--header-height) + 8px)}body:not(.is-mobile):not(.labeled-nav).vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile{-webkit-app-region:no-drag;position:absolute;top:var(--header-height);z-index:6;width:100%;border-top:0;border-bottom:1px solid var(--background-modifier-border)}body:not(.is-mobile):not(.labeled-nav).vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile .workspace-drawer-vault-switcher{padding-left:var(--size-4-2)}body:not(.is-mobile).labeled-nav.vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile{-webkit-app-region:no-drag;position:absolute;top:var(--labeled-nav-top-margin);z-index:6;width:100%;background-color:rgba(0,0,0,0);border-top:0;border-bottom:1px solid var(--background-modifier-border)}body:not(.is-mobile).labeled-nav.vault-profile-top .workspace-split.mod-left-split .workspace-sidedock-vault-profile .workspace-drawer-vault-switcher{padding-left:var(--size-4-2)}.vault-profile-top .workspace-tab-header-container-inner{--labeled-nav-top-margin:84px}.modal button:not(.mod-warning),.modal.mod-settings button:not(.mod-cta):not(.mod-warning),.modal.mod-settings button:not(.mod-warning){white-space:nowrap;transition:background-color .2s ease-out,border-color .2s ease-out}button.mod-warning{border:1px solid var(--background-modifier-error);color:var(--text-error);box-shadow:0 1px 1px 0 var(--btn-shadow-color);transition:background-color .2s ease-out}button.mod-warning:hover{border:1px solid var(--background-modifier-error);color:var(--text-error);box-shadow:0 2px 3px 0 var(--btn-shadow-color);transition:background-color .2s ease-out}.document-replace,.document-search{max-width:100%;padding:0}.document-search-container{margin:0 auto;max-width:var(--max-width);width:var(--line-width)}.modal-button-container .mod-checkbox{--checkbox-radius:4px}.modal-container.mod-confirmation .modal{width:480px;min-width:0}body{--progress-outline:var(--background-modifier-border);--progress-complete:var(--text-accent)}.markdown-preview-view progress,.markdown-rendered progress,.markdown-source-view.is-live-preview progress{width:220px}.markdown-preview-view progress[value]::-webkit-progress-bar,.markdown-rendered progress[value]::-webkit-progress-bar,.markdown-source-view.is-live-preview progress[value]::-webkit-progress-bar{box-shadow:inset 0 0 0 var(--border-width) var(--progress-outline)}.markdown-preview-view progress[value^="1"]::-webkit-progress-value,.markdown-preview-view progress[value^="2"]::-webkit-progress-value,.markdown-preview-view progress[value^="3"]::-webkit-progress-value,.markdown-rendered progress[value^="1"]::-webkit-progress-value,.markdown-rendered progress[value^="2"]::-webkit-progress-value,.markdown-rendered progress[value^="3"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="1"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="2"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="3"]::-webkit-progress-value{background-color:var(--color-red)}.markdown-preview-view progress[value^="4"]::-webkit-progress-value,.markdown-preview-view progress[value^="5"]::-webkit-progress-value,.markdown-rendered progress[value^="4"]::-webkit-progress-value,.markdown-rendered progress[value^="5"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="4"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="5"]::-webkit-progress-value{background-color:var(--color-orange)}.markdown-preview-view progress[value^="6"]::-webkit-progress-value,.markdown-preview-view progress[value^="7"]::-webkit-progress-value,.markdown-rendered progress[value^="6"]::-webkit-progress-value,.markdown-rendered progress[value^="7"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="6"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="7"]::-webkit-progress-value{background-color:var(--color-yellow)}.markdown-preview-view progress[value^="8"]::-webkit-progress-value,.markdown-preview-view progress[value^="9"]::-webkit-progress-value,.markdown-rendered progress[value^="8"]::-webkit-progress-value,.markdown-rendered progress[value^="9"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="8"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value^="9"]::-webkit-progress-value{background-color:var(--color-green)}.markdown-preview-view progress[value="1"]::-webkit-progress-value,.markdown-preview-view progress[value="100"]::-webkit-progress-value,.markdown-rendered progress[value="1"]::-webkit-progress-value,.markdown-rendered progress[value="100"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="1"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="100"]::-webkit-progress-value{background-color:var(--progress-complete)}.markdown-preview-view progress[value="0"]::-webkit-progress-value,.markdown-preview-view progress[value="2"]::-webkit-progress-value,.markdown-preview-view progress[value="3"]::-webkit-progress-value,.markdown-preview-view progress[value="4"]::-webkit-progress-value,.markdown-preview-view progress[value="5"]::-webkit-progress-value,.markdown-preview-view progress[value="6"]::-webkit-progress-value,.markdown-preview-view progress[value="7"]::-webkit-progress-value,.markdown-preview-view progress[value="8"]::-webkit-progress-value,.markdown-preview-view progress[value="9"]::-webkit-progress-value,.markdown-rendered progress[value="0"]::-webkit-progress-value,.markdown-rendered progress[value="2"]::-webkit-progress-value,.markdown-rendered progress[value="3"]::-webkit-progress-value,.markdown-rendered progress[value="4"]::-webkit-progress-value,.markdown-rendered progress[value="5"]::-webkit-progress-value,.markdown-rendered progress[value="6"]::-webkit-progress-value,.markdown-rendered progress[value="7"]::-webkit-progress-value,.markdown-rendered progress[value="8"]::-webkit-progress-value,.markdown-rendered progress[value="9"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="0"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="2"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="3"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="4"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="5"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="6"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="7"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="8"]::-webkit-progress-value,.markdown-source-view.is-live-preview progress[value="9"]::-webkit-progress-value{background-color:var(--color-red)}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar,body:not(.native-scrollbars) ::-webkit-scrollbar{width:11px;background-color:rgba(0,0,0,0)}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar:horizontal,body:not(.native-scrollbars) ::-webkit-scrollbar:horizontal{height:11px}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-corner,body:not(.native-scrollbars) ::-webkit-scrollbar-corner{background-color:rgba(0,0,0,0)}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-track,body:not(.native-scrollbars) ::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-thumb,body:not(.native-scrollbars) ::-webkit-scrollbar-thumb{background-clip:padding-box;border-radius:20px;border:3px solid transparent;background-color:var(--background-modifier-border);border-width:3px 3px 3px 3px;min-height:45px}body:not(.hider-scrollbars).styled-scrollbars .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:hover,body:not(.hider-scrollbars).styled-scrollbars .modal .vertical-tab-header::-webkit-scrollbar-thumb:hover,body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-thumb:hover,body:not(.native-scrollbars) .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:hover,body:not(.native-scrollbars) .modal .vertical-tab-header::-webkit-scrollbar-thumb:hover,body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:hover{background-color:var(--background-modifier-border-hover)}body:not(.hider-scrollbars).styled-scrollbars .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:active,body:not(.hider-scrollbars).styled-scrollbars .modal .vertical-tab-header::-webkit-scrollbar-thumb:active,body:not(.hider-scrollbars).styled-scrollbars ::-webkit-scrollbar-thumb:active,body:not(.native-scrollbars) .mod-left-split .workspace-tabs ::-webkit-scrollbar-thumb:active,body:not(.native-scrollbars) .modal .vertical-tab-header::-webkit-scrollbar-thumb:active,body:not(.native-scrollbars) ::-webkit-scrollbar-thumb:active{background-color:var(--background-modifier-border-focus)}.tooltip{transition:none;animation:none}.tooltip.mod-left,.tooltip.mod-right{animation:none}.tooltip.mod-error{color:var(--text-error)}.markdown-preview-view blockquote{padding:0 0 0 var(--nested-padding);font-size:var(--blockquote-size)}.markdown-source-view.mod-cm6 .HyperMD-quote,.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote{font-size:var(--blockquote-size)}.is-live-preview .cm-hmd-indent-in-quote{color:var(--text-faint)}.is-live-preview.is-readable-line-width>.cm-callout .callout{max-width:var(--max-width);margin:0 auto}.callouts-outlined .callout .callout-title{background-color:var(--background-primary);margin-top:-24px;z-index:200;width:fit-content;padding:0 .5em;margin-left:-.75em;letter-spacing:.05em;font-variant-caps:all-small-caps}.callouts-outlined .callout{overflow:visible;--callout-border-width:1px;--callout-border-opacity:0.5;--callout-title-size:0.8em;--callout-blend-mode:normal;background-color:rgba(0,0,0,0)}.callouts-outlined .cm-embed-block.cm-callout{padding-top:12px}.callouts-outlined .callout-content .callout{margin-top:18px}body{--checkbox-radius:50%;--checkbox-top:2px;--checkbox-left:0px;--checkbox-margin:0px 6px 0px -2em}.checkbox-square{--checkbox-size:calc(var(--font-text-size) * 0.85);--checkbox-radius:4px;--checkbox-top:1px;--checkbox-left:0px;--checkbox-margin:0px 8px 0px -2em}body.minimal-strike-lists{--checklist-done-decoration:line-through}body:not(.minimal-strike-lists){--checklist-done-decoration:none;--checklist-done-color:var(--text-normal)}.markdown-preview-section>.contains-task-list{padding-bottom:.5em}.mod-cm6 .HyperMD-task-line[data-task] .cm-formatting-list-ol~.task-list-label .task-list-item-checkbox{margin:1px}.markdown-preview-view .task-list-item-checkbox{position:relative;top:var(--checkbox-top);left:var(--checkbox-left)}.markdown-preview-view ul>li.task-list-item{text-indent:0}.minimal-code-scroll{--code-white-space:pre}.minimal-code-scroll .HyperMD-codeblock.HyperMD-codeblock-bg{overflow-y:scroll;white-space:pre}.minimal-code-scroll .cm-hmd-codeblock{white-space:pre!important}@media print{.print{--code-background:#eee!important}}body{--embed-max-height:none;--embed-decoration-style:solid;--embed-decoration-color:var(--background-modifier-border-hover)}.embed-strict{--embed-background:transparent;--embed-border-start:0;--embed-border-left:0;--embed-padding:0}.embed-strict .markdown-embed-content{--folding-offset:0px}.embed-strict .internal-embed .markdown-embed,.embed-strict .markdown-preview-view .markdown-embed,.embed-strict.markdown-preview-view .markdown-embed{padding:0}.embed-strict .internal-embed .markdown-embed .markdown-embed-title,.embed-strict .markdown-embed-title{display:none}.embed-strict .internal-embed:not([src*="#^"]) .markdown-embed-link{width:24px;opacity:0}.embed-underline .internal-embed:not(.pdf-embed){text-decoration-line:underline;text-decoration-style:var(--embed-decoration-style);text-decoration-color:var(--embed-decoration-color)}.embed-hide-title .markdown-embed-title{display:none}.contextual-typography .embed-strict .internal-embed .markdown-preview-view .markdown-preview-sizer>div,.embed-strict.contextual-typography .internal-embed .markdown-preview-view .markdown-preview-sizer>div{margin:0;width:100%}.markdown-embed .markdown-preview-view .markdown-preview-sizer{padding-bottom:0!important}.markdown-preview-view.is-readable-line-width .markdown-embed .markdown-preview-sizer,.markdown-preview-view.markdown-embed .markdown-preview-sizer{max-width:100%;width:100%;min-height:0!important;padding-bottom:0!important}.markdown-embed .markdown-preview-section div:last-child p,.markdown-embed .markdown-preview-section div:last-child ul{margin-block-end:2px}.markdown-preview-view .markdown-embed{margin-top:var(--nested-padding);padding:0 calc(var(--nested-padding)/2) 0 var(--nested-padding)}.internal-embed:not([src*="#^"]) .markdown-embed-link{right:0;width:100%}.file-embed-link,.markdown-embed-link{top:0;right:0;text-align:right;justify-content:flex-end}.file-embed-link svg,.markdown-embed-link svg{width:16px;height:16px}.markdown-embed .file-embed-link,.markdown-embed .markdown-embed-link{opacity:.6;transition:opacity .1s linear}.markdown-embed .file-embed-link:hover,.markdown-embed .markdown-embed-link:hover{opacity:1}.markdown-embed .file-embed-link:hover:hover,.markdown-embed .markdown-embed-link:hover:hover{background-color:rgba(0,0,0,0);--icon-color:var(--text-accent)}.file-embed-link:hover,.markdown-embed-link:hover{color:var(--text-muted)}.markdown-embed .markdown-preview-view{padding:0}.internal-embed .markdown-embed{border:0;border-left:1px solid var(--quote-opening-modifier);border-radius:0}a[href*="obsidian://search"]{background-image:url("data:image/svg+xml,")}.theme-dark a[href*="obsidian://search"]{background-image:url("data:image/svg+xml,")}.plain-external-links .external-link{background-image:none;padding-right:0}body{--adaptive-list-edit-offset:var(--list-edit-offset)}.is-rtl{--adaptive-list-edit-offset:calc(var(--list-edit-offset)*-1)}.markdown-preview-view ol>li,.markdown-preview-view ul>li,.markdown-source-view ol>li,.markdown-source-view ul>li,.mod-cm6 .HyperMD-list-line.cm-line{padding-top:var(--list-spacing);padding-bottom:var(--list-spacing)}.is-mobile ul>li:not(.task-list-item)::marker{font-size:.8em}.is-mobile .workspace-leaf-content:not([data-type=search]) .workspace-leaf-content[data-type=markdown] .nav-buttons-container{border-bottom:none;padding-top:5px}.is-mobile .mod-root .workspace-leaf-content[data-type=markdown] .search-input-container{width:calc(100% - 160px)}.embedded-backlinks .backlink-pane>.tree-item-self,.embedded-backlinks .backlink-pane>.tree-item-self:hover{text-transform:none;color:var(--text-normal);font-size:var(--font-adaptive-normal);font-weight:500;letter-spacing:unset}body{--pdf-dark-opacity:1}.theme-dark:not(.pdf-shadows-on),.theme-light:not(.pdf-shadows-on){--pdf-shadow:none;--pdf-thumbnail-shadow:none}.theme-dark:not(.pdf-shadows-on) .pdf-viewer .page,.theme-light:not(.pdf-shadows-on) .pdf-viewer .page{border:0}.theme-dark:not(.pdf-shadows-on) .pdf-sidebar-container .thumbnailSelectionRing,.theme-light:not(.pdf-shadows-on) .pdf-sidebar-container .thumbnailSelectionRing{padding:0}.theme-dark:not(.pdf-shadows-on) .pdf-sidebar-container .thumbnail::after,.theme-light:not(.pdf-shadows-on) .pdf-sidebar-container .thumbnail::after{right:var(--size-4-2);bottom:var(--size-4-2)}.theme-dark{--pdf-thumbnail-shadow:0 0 1px 0 rgba(0,0,0,0.6);--pdf-shadow:0 0 1px 0 rgba(0,0,0,0.6)}.theme-dark .pdf-viewer .canvasWrapper{opacity:var(--pdf-dark-opacity)}.theme-dark.pdf-invert-dark .workspace-leaf-content[data-type=pdf] .pdf-viewer .canvasWrapper{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}.theme-light.pdf-blend-light .workspace-leaf-content[data-type=pdf] .pdf-viewer .canvasWrapper{mix-blend-mode:multiply}body{--table-header-border-width:0;--table-column-first-border-width:0;--table-column-last-border-width:0;--table-row-last-border-width:0;--table-edge-cell-padding-first:0;--table-edge-cell-padding-last:0;--table-cell-padding:4px 10px;--table-header-size:var(--table-text-size)}.markdown-source-view.mod-cm6 table{border-collapse:collapse}.markdown-rendered th{--table-header-size:var(--table-text-size)}.markdown-preview-view table,.markdown-source-view.mod-cm6 table{border:var(--border-width) solid var(--border-color);border-collapse:collapse}.markdown-preview-view td,.markdown-preview-view th,.markdown-source-view.mod-cm6 td,.markdown-source-view.mod-cm6 th{padding:var(--table-cell-padding)}.markdown-preview-view td:first-child,.markdown-preview-view th:first-child,.markdown-source-view.mod-cm6 td:first-child,.markdown-source-view.mod-cm6 th:first-child{padding-inline-start:var(--table-edge-cell-padding-first)}.markdown-preview-view td:first-child .table-cell-wrapper,.markdown-preview-view th:first-child .table-cell-wrapper,.markdown-source-view.mod-cm6 td:first-child .table-cell-wrapper,.markdown-source-view.mod-cm6 th:first-child .table-cell-wrapper{padding-inline-start:0}.markdown-preview-view td:last-child,.markdown-preview-view th:last-child,.markdown-source-view.mod-cm6 td:last-child,.markdown-source-view.mod-cm6 th:last-child{padding-inline-end:var(--table-edge-cell-padding-last)}.markdown-preview-view td:last-child .table-cell-wrapper,.markdown-preview-view th:last-child .table-cell-wrapper,.markdown-source-view.mod-cm6 td:last-child .table-cell-wrapper,.markdown-source-view.mod-cm6 th:last-child .table-cell-wrapper{padding-inline-end:0}.cm-embed-block.cm-table-widget.markdown-rendered{margin-top:-8px!important;padding:var(--table-drag-padding);overscroll-behavior-x:none}.is-mobile .cm-embed-block.cm-table-widget.markdown-rendered{padding-bottom:40px}.markdown-preview-view th,.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th,.table-view-table>thead>tr>th{padding:var(--table-cell-padding)}.markdown-preview-view th:first-child,.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th:first-child,.table-view-table>thead>tr>th:first-child{padding-inline-start:var(--table-edge-cell-padding-first)}.markdown-preview-view th:last-child,.markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th:last-child,.table-view-table>thead>tr>th:last-child{padding-inline-end:var(--table-edge-cell-padding-last)}.cm-hmd-table-sep-dummy,.cm-s-obsidian .HyperMD-table-row span.cm-hmd-table-sep{color:var(--text-faint);font-weight:400}body.minimal-unstyled-tags{--tag-background:transparent;--tag-background-hover:transparent;--tag-border-width:0px;--tag-padding-x:0;--tag-padding-y:0;--tag-size:inherit;--tag-color-hover:var(--text-accent-hover)}body.minimal-unstyled-tags.is-mobile.theme-dark{--tag-background:transparent}body:not(.minimal-unstyled-tags){--tag-size:0.8em;--tag-padding-y:0.2em;--tag-background:transparent;--tag-background-hover:transparent;--tag-color:var(--text-muted);--tag-border-width:1px;--tag-border-color:var(--background-modifier-border);--tag-border-color-hover:var(--background-modifier-border-hover);--tag-color-hover:var(--text-normal)}body.is-mobile.theme-dark{--tag-background:transparent}h1,h2,h3,h4{letter-spacing:-.02em}body,button,input{font-family:var(--font-interface)}.cm-s-obsidian span.cm-error{color:var(--color-red)}.markdown-preview-view,.popover,.workspace-leaf-content[data-type=markdown]{font-family:var(--font-text)}.markdown-preview-view,.view-content>.cm-s-obsidian,.view-content>.markdown-source-view.mod-cm6.is-live-preview>.cm-scroller,body{font-size:var(--font-adaptive-normal);font-weight:var(--normal-weight)}.view-content>.cm-s-obsidian,.view-content>.markdown-source-view,.view-content>.markdown-source-view.mod-cm6 .cm-scroller{font-family:var(--font-editor)}.cm-formatting:not(.cm-formatting-code-block):not(.cm-formatting-hashtag){color:var(--text-formatting)}.hide-markdown .is-live-preview .cm-formatting.cm-formatting-code.cm-inline-code,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-em,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-highlight,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-link,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-strikethrough,.hide-markdown .is-live-preview .cm-formatting.cm-formatting-strong{display:none}.hide-markdown .is-live-preview .cm-formatting-quote{opacity:0}.hide-markdown .is-live-preview .cm-formatting-link,.hide-markdown .is-live-preview .cm-formatting:has(+.cm-header),.hide-markdown .is-live-preview .cm-hmd-internal-link.cm-link-has-alias,.hide-markdown .is-live-preview .cm-link-alias-pipe{display:none}.active-line-on .cm-line.cm-active,.active-line-on .markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote.cm-active{background-color:var(--active-line-bg);box-shadow:-25vw 0 var(--active-line-bg),25vw 0 var(--active-line-bg)}body{--content-margin:auto;--content-margin-start:max( calc(50% - var(--line-width)/2), calc(50% - var(--max-width)/2) );--content-line-width:min(var(--line-width), var(--max-width))}.markdown-preview-view .markdown-preview-sizer.markdown-preview-sizer{max-width:100%;margin-inline:auto;width:100%}.markdown-source-view.mod-cm6.is-readable-line-width .cm-content,.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer{max-width:100%;width:100%}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div,.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer>.embedded-backlinks,.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer>.inline-title,.markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer>.metadata-container{max-width:var(--max-width);width:var(--line-width);margin-inline:var(--content-margin)!important}.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>:not(div){max-width:var(--content-line-width);margin-inline-start:var(--content-margin-start)!important}.is-readable-line-width{--file-margins:1rem 0 0 0}.is-mobile .markdown-preview-view{--folding-offset:0}.minimal-line-nums .workspace-leaf-content[data-type=markdown]{--file-margins:var(--size-4-8) var(--size-4-8) var(--size-4-8) 48px}.minimal-line-nums .workspace-leaf-content[data-type=markdown].is-rtl{--file-margins:var(--size-4-8) 48px var(--size-4-8) var(--size-4-8)}.minimal-line-nums .workspace-leaf-content[data-type=markdown] .is-readable-line-width{--file-margins:1rem 0 0 var(--folding-offset)}.minimal-line-nums .workspace-leaf-content[data-type=markdown] .is-readable-line-width.is-rtl{--file-margins:1rem var(--folding-offset) 0 0}.minimal-line-nums .mod-left-split .markdown-preview-view,.minimal-line-nums .mod-left-split .markdown-source-view.mod-cm6 .cm-scroller,.minimal-line-nums .mod-right-split .markdown-preview-view,.minimal-line-nums .mod-right-split .markdown-source-view.mod-cm6 .cm-scroller{--file-margins:var(--size-4-5) var(--size-4-5) var(--size-4-5) 48px}.view-content .reader-mode-content.is-readable-line-width .markdown-preview-sizer{max-width:var(--max-width);width:var(--line-width)}.markdown-preview-view .inline-embed{--max-width:100%}body{--container-table-max-width:var(--max-width);--table-max-width:none;--table-width:auto;--table-margin:inherit;--table-wrapper-width:fit-content;--container-dataview-table-width:var(--line-width);--container-img-width:var(--line-width);--container-img-max-width:var(--max-width);--img-max-width:100%;--img-width:auto;--img-margin-start:var(--content-margin-start);--img-line-width:var(--content-line-width);--container-chart-width:var(--line-width);--container-chart-max-width:var(--max-width);--chart-max-width:none;--chart-width:auto;--container-map-width:var(--line-width);--container-map-max-width:var(--max-width);--map-max-width:none;--map-width:auto;--container-iframe-width:var(--line-width);--container-iframe-max-width:var(--max-width);--iframe-max-width:none;--iframe-width:auto}body .wide{--line-width:var(--line-width-wide);--container-table-width:var(--line-width-wide);--container-dataview-table-width:var(--line-width-wide);--container-img-width:var(--line-width-wide);--container-iframe-width:var(--line-width-wide);--container-map-width:var(--line-width-wide);--container-chart-width:var(--line-width-wide)}body .max{--line-width:var(--max-width);--container-table-width:var(--max-width);--container-dataview-table-width:var(--max-width);--container-img-width:var(--max-width);--container-iframe-width:var(--max-width);--container-map-width:var(--max-width);--container-chart-width:var(--max-width)}table.dataview{--table-min-width:min(var(--line-width),var(--max-width))}.cards table.dataview{--table-width:100%;--table-min-width:none}body{--table-drag-space:16px;--container-table-margin:calc(var(--content-margin-start) - var(--table-drag-space));--container-table-width:calc(var(--line-width) + var(--table-drag-space)*2);--table-drag-padding:var(--table-drag-space)}.is-mobile{--table-drag-space:16px;--container-table-max-width:calc(100% - var(--container-table-margin))}.maximize-tables-auto{--container-table-max-width:100%;--container-table-width:100%;--container-dataview-table-width:100%;--container-table-margin:0;--table-drag-padding:var(--table-drag-space) 0;--table-max-width:100%;--table-margin:var(--content-margin-start) auto;--table-width:auto}.maximize-tables-auto .cards{--container-table-max-width:var(--max-width)}.maximize-tables-auto .cards .block-language-dataview{--table-margin:auto}.maximize-tables{--container-table-max-width:100%;--container-table-width:100%;--container-table-margin:0;--table-drag-padding:var(--table-drag-space) 0;--table-min-width:min(var(--line-width), var(--max-width));--table-max-width:100%;--table-margin:auto;--table-width:auto;--table-edge-cell-padding-first:8px;--table-edge-cell-padding-last:8px;--table-wrapper-width:auto}.table-100,.table-max,.table-wide{--table-max-width:100%;--table-width:100%}.table-wide{--container-table-width:var(--line-width-wide);--container-dataview-table-width:var(--line-width-wide);--container-table-margin:auto;--table-edge-cell-padding-first:0px}.table-max{--container-table-width:var(--max-width);--container-table-max-width:calc(var(--max-width) + var(--table-drag-space)*2);--container-dataview-table-width:var(--max-width);--container-table-margin:auto;--table-edge-cell-padding-first:0px;--table-margin:0}.table-100{--container-table-width:100%;--container-dataview-table-width:100%;--container-table-max-width:100%;--container-table-margin:0;--table-edge-cell-padding-first:16px;--table-edge-cell-padding-last:16px;--table-margin:0;--table-drag-padding:var(--table-drag-space) 0;--table-wrapper-width:min(fit-content, 100%)}.table-100 .dataview.list-view-ul{max-width:var(--max-width);width:var(--line-width);margin-inline:auto}.table-100 .table-col-btn{display:none!important}.img-100,.img-max,.img-wide{--img-max-width:100%;--img-width:100%}.img-wide{--container-img-width:var(--line-width-wide);--img-line-width:var(--line-width-wide);--img-margin-start:calc(50% - var(--line-width-wide)/2)}.img-max{--container-img-width:var(--max-width);--img-line-width:var(--max-width);--img-margin-start:calc(50% - var(--max-width)/2)}.img-100{--container-img-width:100%;--container-img-max-width:100%;--img-line-width:100%;--img-margin-start:0}.map-100,.map-max,.map-wide{--map-max-width:100%;--map-width:100%}.map-wide{--container-map-width:var(--line-width-wide)}.map-max{--container-map-width:var(--max-width)}.map-100{--container-map-width:100%;--container-map-max-width:100%}.chart-100,.chart-max,.chart-wide{--chart-max-width:100%;--chart-width:100%}.chart-wide{--container-chart-width:var(--line-width-wide)}.chart-max{--container-chart-width:var(--max-width)}.chart-100{--container-chart-width:100%;--container-chart-max-width:100%}.iframe-100,.iframe-max,.iframe-wide{--iframe-max-width:100%;--iframe-width:100%}.iframe-wide{--container-iframe-width:var(--line-width-wide)}.iframe-max{--container-iframe-width:var(--max-width)}.iframe-100{--container-iframe-width:100%;--container-iframe-max-width:100%}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .cm-table-widget,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>table),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .cm-table-widget,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>table){width:var(--container-table-width);max-width:var(--container-table-max-width);margin-inline:var(--container-table-margin)!important}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .table-wrapper,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .table-wrapper{width:var(--table-wrapper-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>.block-language-dataview>table),.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>.block-language-dataviewjs),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>.block-language-dataview>table),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>.block-language-dataviewjs){width:var(--container-dataview-table-width);max-width:var(--container-table-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer table,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content table{width:var(--table-width);max-width:var(--table-max-width);margin-inline:var(--table-margin);min-width:var(--table-min-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .block-language-dataviewjs>:is(p,h1,h2,h3,h4,h5,h6),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .block-language-dataviewjs>:is(p,h1,h2,h3,h4,h5,h6){width:var(--line-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .block-language-dataviewjs>.dataview-error,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .block-language-dataviewjs>.dataview-error{margin:0 auto;width:var(--content-line-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .dataview.dataview-error-box,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .dataview.dataview-error-box{margin-inline:var(--table-margin)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>.image-embed,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>.image-embed{padding-top:.25rem;padding-bottom:.25rem}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>.image-embed,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(.image-embed),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>.image-embed,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(.image-embed){width:var(--container-img-width);max-width:var(--container-img-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>.image-embed img,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(.image-embed) img,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>.image-embed img,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(.image-embed) img{max-width:var(--img-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>img,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>img{max-width:var(--img-line-width);margin-inline-start:var(--img-margin-start)!important}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-chart),.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-dataviewjs canvas),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-chart),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-dataviewjs canvas){width:var(--container-chart-width);max-width:var(--container-chart-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-chart) canvas,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-dataviewjs canvas) canvas,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-chart) canvas,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-dataviewjs canvas) canvas{max-width:var(--map-chart-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-leaflet),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-leaflet){width:var(--container-map-width);max-width:var(--container-map-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.block-language-leaflet) iframe,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.block-language-leaflet) iframe{max-width:var(--map-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.cm-html-embed),.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>iframe),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.cm-html-embed),.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>iframe){width:var(--container-iframe-width);max-width:var(--container-iframe-max-width)}.markdown-preview-view.is-readable-line-width .markdown-preview-sizer div:has(>.cm-html-embed) iframe,.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>iframe) iframe,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content div:has(>.cm-html-embed) iframe,.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>iframe) iframe{max-width:var(--iframe-max-width)}.borders-none{--divider-width:0px;--tab-outline-width:0px}body:is(.borders-none) .mod-root .workspace-tab-header-container:is(div,:hover){--tab-outline-width:0px}body{--cards-min-width:180px;--cards-max-width:1fr;--cards-mobile-width:120px;--cards-image-height:400px;--cards-padding:1.2em;--cards-image-fit:contain;--cards-background:transparent;--cards-border-width:1px;--cards-aspect-ratio:auto;--cards-columns:repeat(auto-fit, minmax(var(--cards-min-width), var(--cards-max-width)))}@media(max-width:400pt){body{--cards-min-width:var(--cards-mobile-width)}}.cards.table-100 table.dataview tbody,.table-100 .cards table.dataview tbody{padding:.25rem .75rem}.cards table.dataview{--table-width:100%;--table-edge-cell-padding-first:calc(var(--cards-padding)/2);--table-edge-cell-padding-last:calc(var(--cards-padding)/2);--table-cell-padding:calc(var(--cards-padding)/3) calc(var(--cards-padding)/2);line-height:1.3}.cards table.dataview tbody{clear:both;padding:.5rem 0;display:grid;grid-template-columns:var(--cards-columns);grid-column-gap:.75rem;grid-row-gap:.75rem}.cards table.dataview>tbody>tr{background-color:var(--cards-background);border:var(--cards-border-width) solid var(--background-modifier-border);display:flex;flex-direction:column;margin:0;padding:0 0 calc(var(--cards-padding)/3) 0;border-radius:6px;overflow:hidden;transition:box-shadow .15s linear;max-width:var(--cards-max-width);height:auto}.cards table.dataview>tbody>tr:hover{border:var(--cards-border-width) solid var(--background-modifier-border-hover);box-shadow:0 4px 6px 0 rgba(0,0,0,.05),0 1px 3px 1px rgba(0,0,0,.025);transition:box-shadow .15s linear}.cards table.dataview tbody>tr>td:first-child{font-weight:var(--bold-weight);border:none}.cards table.dataview tbody>tr>td:first-child a{display:block}.cards table.dataview tbody>tr>td:last-child{border:none}.cards table.dataview tbody>tr>td:not(:first-child){font-size:calc(var(--table-text-size)*.9);color:var(--text-muted)}.cards table.dataview tbody>tr>td>*{padding:calc(var(--cards-padding)/3) 0}.cards table.dataview tbody>tr>td:not(:last-child):not(:first-child){padding:4px 0;border-bottom:1px solid var(--background-modifier-border);width:calc(100% - var(--cards-padding));margin:0 calc(var(--cards-padding)/2)}.cards table.dataview tbody>tr>td a{text-decoration:none}.cards table.dataview tbody>tr>td>button{width:100%;margin:calc(var(--cards-padding)/2) 0}.cards table.dataview tbody>tr>td:last-child>button{margin-bottom:calc(var(--cards-padding)/6)}.cards table.dataview tbody>tr>td>ul{width:100%;padding:.25em 0!important;margin:0 auto!important}.cards table.dataview tbody>tr>td:has(img){padding:0!important;background-color:var(--background-secondary);display:block;margin:0;width:100%}.cards table.dataview tbody>tr>td img{aspect-ratio:var(--cards-aspect-ratio);width:100%;object-fit:var(--cards-image-fit);max-height:var(--cards-image-height);background-color:var(--background-secondary);vertical-align:bottom}.markdown-source-view.mod-cm6.cards .dataview.table-view-table>tbody>tr>td,.trim-cols .cards table.dataview tbody>tr>td{white-space:normal}.links-int-on .cards table{--link-decoration:none}.markdown-source-view.mod-cm6.cards .edit-block-button{top:-1px;right:28px;opacity:1}.cards.table-100 table.dataview thead>tr,.table-100 .cards table.dataview thead>tr{right:.75rem}.cards.table-100 table.dataview thead:before,.table-100 .cards table.dataview thead:before{margin-right:.75rem}.cards table.dataview thead{user-select:none;width:180px;display:block;float:right;position:relative;text-align:right;height:24px;padding-bottom:0}.cards table.dataview thead:hover:after{background-color:var(--background-modifier-hover)}.cards table.dataview thead:hover:before{background-color:var(--text-muted)}.cards table.dataview thead:after,.cards table.dataview thead:before{content:"";position:absolute;right:0;top:0;width:10px;height:16px;cursor:var(--cursor);text-align:right;padding:var(--size-4-1) var(--size-4-2);margin-bottom:2px;border-radius:var(--radius-s);font-weight:500;font-size:var(--font-adaptive-small)}.cards table.dataview thead:before{background-color:var(--text-faint);-webkit-mask-repeat:no-repeat;-webkit-mask-size:16px;-webkit-mask-position:center center;-webkit-mask-image:url('data:image/svg+xml;utf8,')}.cards table.dataview thead>tr{top:-1px;position:absolute;display:none;z-index:9;border:1px solid var(--background-modifier-border-hover);background-color:var(--background-secondary);box-shadow:var(--shadow-s);padding:6px;border-radius:var(--radius-m);flex-direction:column;margin:24px 0 0 0;width:100%}.cards table.dataview thead:hover>tr{display:flex;height:auto}.cards table.dataview thead>tr>th{display:block;padding:3px 30px 3px 6px!important;border-radius:var(--radius-s);width:100%;font-weight:400;color:var(--text-normal);cursor:var(--cursor);border:none;font-size:var(--font-ui-small)}.cards table.dataview thead>tr>th[sortable-style=sortable-asc],.cards table.dataview thead>tr>th[sortable-style=sortable-desc]{color:var(--text-normal)}.cards table.dataview thead>tr>th:hover{color:var(--text-normal);background-color:var(--background-modifier-hover)}.list-cards.markdown-preview-view .list-bullet,.list-cards.markdown-preview-view .list-collapse-indicator,.list-cards.markdown-preview-view.markdown-rendered.show-indentation-guide li>ul::before{display:none}.list-cards.markdown-preview-view div>ul{display:grid;gap:.75rem;grid-template-columns:var(--cards-columns);padding:0;line-height:var(--line-height-tight)}.list-cards.markdown-preview-view div>ul .contains-task-list{padding-inline-start:calc(var(--cards-padding)*1.5)}.list-cards.markdown-preview-view div>ul>li{background-color:var(--cards-background);padding:calc(var(--cards-padding)/2);border-radius:var(--radius-s);border:var(--cards-border-width) solid var(--background-modifier-border);overflow:hidden;margin-inline-start:0}.list-cards.markdown-preview-view div>ul .image-embed{padding:0;display:block;background-color:var(--background-secondary);border-radius:var(--image-radius)}.list-cards.markdown-preview-view div>ul .image-embed img{aspect-ratio:var(--cards-aspect-ratio);object-fit:var(--cards-image-fit);max-height:var(--cards-image-height);background-color:var(--background-secondary);vertical-align:bottom}.list-cards.markdown-preview-view div>ul>li>a{--link-decoration:none;--link-external-decoration:none;font-weight:var(--bold-weight)}.list-cards.markdown-preview-view div ul>li:hover{border-color:var(--background-modifier-border-hover)}.list-cards.markdown-preview-view div ul ul{display:block;width:100%;color:var(--text-muted);font-size:var(--font-smallest);margin:calc(var(--cards-padding)/-4) 0;padding:calc(var(--cards-padding)/2) 0}.list-cards.markdown-preview-view div ul ul ul{padding-bottom:calc(var(--cards-padding)/4)}.list-cards.markdown-preview-view div ul ul>li{display:block;margin-inline-start:0}.cards.cards-16-9,.list-cards.cards-16-9{--cards-aspect-ratio:16/9}.cards.cards-1-1,.list-cards.cards-1-1{--cards-aspect-ratio:1/1}.cards.cards-2-1,.list-cards.cards-2-1{--cards-aspect-ratio:2/1}.cards.cards-2-3,.list-cards.cards-2-3{--cards-aspect-ratio:2/3}.cards.cards-cols-1,.list-cards.cards-cols-1{--cards-columns:repeat(1, minmax(0, 1fr))}.cards.cards-cols-2,.list-cards.cards-cols-2{--cards-columns:repeat(2, minmax(0, 1fr))}.cards.cards-cover,.list-cards.cards-cover{--cards-image-fit:cover}.cards.cards-align-bottom table.dataview tbody>tr>td:last-child,.list-cards.cards-align-bottom table.dataview tbody>tr>td:last-child{margin-top:auto}@media(max-width:400pt){.cards table.dataview tbody>tr>td:not(:first-child){font-size:80%}}@media(min-width:400pt){.cards-cols-3{--cards-columns:repeat(3, minmax(0, 1fr))}.cards-cols-4{--cards-columns:repeat(4, minmax(0, 1fr))}.cards-cols-5{--cards-columns:repeat(5, minmax(0, 1fr))}.cards-cols-6{--cards-columns:repeat(6, minmax(0, 1fr))}.cards-cols-7{--cards-columns:repeat(7, minmax(0, 1fr))}.cards-cols-8{--cards-columns:repeat(8, minmax(0, 1fr))}}.cm-formatting.cm-formatting-task.cm-property{font-family:var(--font-monospace);font-size:90%}input[data-task="!"]:checked,input[data-task="*"]:checked,input[data-task="-"]:checked,input[data-task="<"]:checked,input[data-task=">"]:checked,input[data-task=I]:checked,input[data-task=b]:checked,input[data-task=c]:checked,input[data-task=d]:checked,input[data-task=f]:checked,input[data-task=k]:checked,input[data-task=l]:checked,input[data-task=p]:checked,input[data-task=u]:checked,input[data-task=w]:checked,li[data-task="!"]>input:checked,li[data-task="!"]>p>input:checked,li[data-task="*"]>input:checked,li[data-task="*"]>p>input:checked,li[data-task="-"]>input:checked,li[data-task="-"]>p>input:checked,li[data-task="<"]>input:checked,li[data-task="<"]>p>input:checked,li[data-task=">"]>input:checked,li[data-task=">"]>p>input:checked,li[data-task=I]>input:checked,li[data-task=I]>p>input:checked,li[data-task=b]>input:checked,li[data-task=b]>p>input:checked,li[data-task=c]>input:checked,li[data-task=c]>p>input:checked,li[data-task=d]>input:checked,li[data-task=d]>p>input:checked,li[data-task=f]>input:checked,li[data-task=f]>p>input:checked,li[data-task=k]>input:checked,li[data-task=k]>p>input:checked,li[data-task=l]>input:checked,li[data-task=l]>p>input:checked,li[data-task=p]>input:checked,li[data-task=p]>p>input:checked,li[data-task=u]>input:checked,li[data-task=u]>p>input:checked,li[data-task=w]>input:checked,li[data-task=w]>p>input:checked{--checkbox-marker-color:transparent;border:none;border-radius:0;background-image:none;background-color:currentColor;-webkit-mask-size:var(--checkbox-icon);-webkit-mask-position:50% 50%}input[data-task=">"]:checked,li[data-task=">"]>input:checked,li[data-task=">"]>p>input:checked{color:var(--text-faint);transform:rotate(90deg);-webkit-mask-position:50% 100%;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z' /%3E%3C/svg%3E")}input[data-task="<"]:checked,li[data-task="<"]>input:checked,li[data-task="<"]>p>input:checked{color:var(--text-faint);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z' clip-rule='evenodd' /%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task="?"]:checked,li[data-task="?"]>input:checked,li[data-task="?"]>p>input:checked{--checkbox-marker-color:transparent;background-color:var(--color-yellow);border-color:var(--color-yellow);background-position:50% 50%;background-size:200% 90%;background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 16 16"%3E%3Cpath fill="white" fill-rule="evenodd" d="M4.475 5.458c-.284 0-.514-.237-.47-.517C4.28 3.24 5.576 2 7.825 2c2.25 0 3.767 1.36 3.767 3.215c0 1.344-.665 2.288-1.79 2.973c-1.1.659-1.414 1.118-1.414 2.01v.03a.5.5 0 0 1-.5.5h-.77a.5.5 0 0 1-.5-.495l-.003-.2c-.043-1.221.477-2.001 1.645-2.712c1.03-.632 1.397-1.135 1.397-2.028c0-.979-.758-1.698-1.926-1.698c-1.009 0-1.71.529-1.938 1.402c-.066.254-.278.461-.54.461h-.777ZM7.496 14c.622 0 1.095-.474 1.095-1.09c0-.618-.473-1.092-1.095-1.092c-.606 0-1.087.474-1.087 1.091S6.89 14 7.496 14Z"%2F%3E%3C%2Fsvg%3E')}.theme-dark input[data-task="?"]:checked,.theme-dark li[data-task="?"]>input:checked,.theme-dark li[data-task="?"]>p>input:checked{background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 16 16"%3E%3Cpath fill="black" fill-opacity="0.8" fill-rule="evenodd" d="M4.475 5.458c-.284 0-.514-.237-.47-.517C4.28 3.24 5.576 2 7.825 2c2.25 0 3.767 1.36 3.767 3.215c0 1.344-.665 2.288-1.79 2.973c-1.1.659-1.414 1.118-1.414 2.01v.03a.5.5 0 0 1-.5.5h-.77a.5.5 0 0 1-.5-.495l-.003-.2c-.043-1.221.477-2.001 1.645-2.712c1.03-.632 1.397-1.135 1.397-2.028c0-.979-.758-1.698-1.926-1.698c-1.009 0-1.71.529-1.938 1.402c-.066.254-.278.461-.54.461h-.777ZM7.496 14c.622 0 1.095-.474 1.095-1.09c0-.618-.473-1.092-1.095-1.092c-.606 0-1.087.474-1.087 1.091S6.89 14 7.496 14Z"%2F%3E%3C%2Fsvg%3E')}input[data-task="/"]:checked,li[data-task="/"]>input:checked,li[data-task="/"]>p>input:checked{background-image:none;background-color:rgba(0,0,0,0);position:relative;overflow:hidden}input[data-task="/"]:checked:after,li[data-task="/"]>input:checked:after,li[data-task="/"]>p>input:checked:after{top:0;left:0;content:" ";display:block;position:absolute;background-color:var(--background-modifier-accent);width:calc(50% - .5px);height:100%;-webkit-mask-image:none}input[data-task="!"]:checked,li[data-task="!"]>input:checked,li[data-task="!"]>p>input:checked{color:var(--color-orange);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task='"']:checked,input[data-task=“]:checked,li[data-task='"']>input:checked,li[data-task='"']>p>input:checked,li[data-task=“]>input:checked,li[data-task=“]>p>input:checked{--checkbox-marker-color:transparent;background-position:50% 50%;background-color:var(--color-cyan);border-color:var(--color-cyan);background-size:75%;background-repeat:no-repeat;background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"%3E%3Cpath fill="white" d="M6.5 10c-.223 0-.437.034-.65.065c.069-.232.14-.468.254-.68c.114-.308.292-.575.469-.844c.148-.291.409-.488.601-.737c.201-.242.475-.403.692-.604c.213-.21.492-.315.714-.463c.232-.133.434-.28.65-.35l.539-.222l.474-.197l-.485-1.938l-.597.144c-.191.048-.424.104-.689.171c-.271.05-.56.187-.882.312c-.318.142-.686.238-1.028.466c-.344.218-.741.4-1.091.692c-.339.301-.748.562-1.05.945c-.33.358-.656.734-.909 1.162c-.293.408-.492.856-.702 1.299c-.19.443-.343.896-.468 1.336c-.237.882-.343 1.72-.384 2.437c-.034.718-.014 1.315.028 1.747c.015.204.043.402.063.539l.025.168l.026-.006A4.5 4.5 0 1 0 6.5 10zm11 0c-.223 0-.437.034-.65.065c.069-.232.14-.468.254-.68c.114-.308.292-.575.469-.844c.148-.291.409-.488.601-.737c.201-.242.475-.403.692-.604c.213-.21.492-.315.714-.463c.232-.133.434-.28.65-.35l.539-.222l.474-.197l-.485-1.938l-.597.144c-.191.048-.424.104-.689.171c-.271.05-.56.187-.882.312c-.317.143-.686.238-1.028.467c-.344.218-.741.4-1.091.692c-.339.301-.748.562-1.05.944c-.33.358-.656.734-.909 1.162c-.293.408-.492.856-.702 1.299c-.19.443-.343.896-.468 1.336c-.237.882-.343 1.72-.384 2.437c-.034.718-.014 1.315.028 1.747c.015.204.043.402.063.539l.025.168l.026-.006A4.5 4.5 0 1 0 17.5 10z"%2F%3E%3C%2Fsvg%3E')}.theme-dark input[data-task='"']:checked,.theme-dark input[data-task=“]:checked,.theme-dark li[data-task='"']>input:checked,.theme-dark li[data-task='"']>p>input:checked,.theme-dark li[data-task=“]>input:checked,.theme-dark li[data-task=“]>p>input:checked{background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"%3E%3Cpath fill="black" fill-opacity="0.7" d="M6.5 10c-.223 0-.437.034-.65.065c.069-.232.14-.468.254-.68c.114-.308.292-.575.469-.844c.148-.291.409-.488.601-.737c.201-.242.475-.403.692-.604c.213-.21.492-.315.714-.463c.232-.133.434-.28.65-.35l.539-.222l.474-.197l-.485-1.938l-.597.144c-.191.048-.424.104-.689.171c-.271.05-.56.187-.882.312c-.318.142-.686.238-1.028.466c-.344.218-.741.4-1.091.692c-.339.301-.748.562-1.05.945c-.33.358-.656.734-.909 1.162c-.293.408-.492.856-.702 1.299c-.19.443-.343.896-.468 1.336c-.237.882-.343 1.72-.384 2.437c-.034.718-.014 1.315.028 1.747c.015.204.043.402.063.539l.025.168l.026-.006A4.5 4.5 0 1 0 6.5 10zm11 0c-.223 0-.437.034-.65.065c.069-.232.14-.468.254-.68c.114-.308.292-.575.469-.844c.148-.291.409-.488.601-.737c.201-.242.475-.403.692-.604c.213-.21.492-.315.714-.463c.232-.133.434-.28.65-.35l.539-.222l.474-.197l-.485-1.938l-.597.144c-.191.048-.424.104-.689.171c-.271.05-.56.187-.882.312c-.317.143-.686.238-1.028.467c-.344.218-.741.4-1.091.692c-.339.301-.748.562-1.05.944c-.33.358-.656.734-.909 1.162c-.293.408-.492.856-.702 1.299c-.19.443-.343.896-.468 1.336c-.237.882-.343 1.72-.384 2.437c-.034.718-.014 1.315.028 1.747c.015.204.043.402.063.539l.025.168l.026-.006A4.5 4.5 0 1 0 17.5 10z"%2F%3E%3C%2Fsvg%3E')}input[data-task="-"]:checked,li[data-task="-"]>input:checked,li[data-task="-"]>p>input:checked{color:var(--text-faint);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z' clip-rule='evenodd' /%3E%3C/svg%3E")}body:not(.tasks) .markdown-preview-view ul li[data-task="-"].task-list-item.is-checked,body:not(.tasks) .markdown-source-view.mod-cm6 .HyperMD-task-line[data-task]:is([data-task="-"]),body:not(.tasks) li[data-task="-"].task-list-item.is-checked{color:var(--text-faint);text-decoration:line-through solid var(--text-faint) 1px}input[data-task="*"]:checked,li[data-task="*"]>input:checked,li[data-task="*"]>p>input:checked{color:var(--color-yellow);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z' /%3E%3C/svg%3E")}input[data-task=l]:checked,li[data-task=l]>input:checked,li[data-task=l]>p>input:checked{color:var(--color-red);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=i]:checked,li[data-task=i]>input:checked,li[data-task=i]>p>input:checked{--checkbox-marker-color:transparent;background-color:var(--color-blue);border-color:var(--color-blue);background-position:50%;background-size:100%;background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"%3E%3Cpath fill="none" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="40" d="M196 220h64v172"%2F%3E%3Cpath fill="none" stroke="white" stroke-linecap="round" stroke-miterlimit="10" stroke-width="40" d="M187 396h138"%2F%3E%3Cpath fill="white" d="M256 160a32 32 0 1 1 32-32a32 32 0 0 1-32 32Z"%2F%3E%3C%2Fsvg%3E')}.theme-dark input[data-task=i]:checked,.theme-dark li[data-task=i]>input:checked,.theme-dark li[data-task=i]>p>input:checked{background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"%3E%3Cpath fill="none" stroke="black" stroke-opacity="0.8" stroke-linecap="round" stroke-linejoin="round" stroke-width="40" d="M196 220h64v172"%2F%3E%3Cpath fill="none" stroke="black" stroke-opacity="0.8" stroke-linecap="round" stroke-miterlimit="10" stroke-width="40" d="M187 396h138"%2F%3E%3Cpath fill="black" fill-opacity="0.8" d="M256 160a32 32 0 1 1 32-32a32 32 0 0 1-32 32Z"%2F%3E%3C%2Fsvg%3E')}input[data-task=S]:checked,li[data-task=S]>input:checked,li[data-task=S]>p>input:checked{--checkbox-marker-color:transparent;border-color:var(--color-green);background-color:var(--color-green);background-size:100%;background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 48 48"%3E%3Cpath fill="white" fill-rule="evenodd" d="M26 8a2 2 0 1 0-4 0v2a8 8 0 1 0 0 16v8a4.002 4.002 0 0 1-3.773-2.666a2 2 0 0 0-3.771 1.332A8.003 8.003 0 0 0 22 38v2a2 2 0 1 0 4 0v-2a8 8 0 1 0 0-16v-8a4.002 4.002 0 0 1 3.773 2.666a2 2 0 0 0 3.771-1.332A8.003 8.003 0 0 0 26 10V8Zm-4 6a4 4 0 0 0 0 8v-8Zm4 12v8a4 4 0 0 0 0-8Z" clip-rule="evenodd"%2F%3E%3C%2Fsvg%3E')}.theme-dark input[data-task=S]:checked,.theme-dark li[data-task=S]>input:checked,.theme-dark li[data-task=S]>p>input:checked{background-image:url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 48 48"%3E%3Cpath fill-opacity="0.8" fill="black" fill-rule="evenodd" d="M26 8a2 2 0 1 0-4 0v2a8 8 0 1 0 0 16v8a4.002 4.002 0 0 1-3.773-2.666a2 2 0 0 0-3.771 1.332A8.003 8.003 0 0 0 22 38v2a2 2 0 1 0 4 0v-2a8 8 0 1 0 0-16v-8a4.002 4.002 0 0 1 3.773 2.666a2 2 0 0 0 3.771-1.332A8.003 8.003 0 0 0 26 10V8Zm-4 6a4 4 0 0 0 0 8v-8Zm4 12v8a4 4 0 0 0 0-8Z" clip-rule="evenodd"%2F%3E%3C%2Fsvg%3E')}input[data-task=I]:checked,li[data-task=I]>input:checked,li[data-task=I]>p>input:checked{color:var(--color-yellow);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z' /%3E%3C/svg%3E")}input[data-task=f]:checked,li[data-task=f]>input:checked,li[data-task=f]>p>input:checked{color:var(--color-red);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12.395 2.553a1 1 0 00-1.45-.385c-.345.23-.614.558-.822.88-.214.33-.403.713-.57 1.116-.334.804-.614 1.768-.84 2.734a31.365 31.365 0 00-.613 3.58 2.64 2.64 0 01-.945-1.067c-.328-.68-.398-1.534-.398-2.654A1 1 0 005.05 6.05 6.981 6.981 0 003 11a7 7 0 1011.95-4.95c-.592-.591-.98-.985-1.348-1.467-.363-.476-.724-1.063-1.207-2.03zM12.12 15.12A3 3 0 017 13s.879.5 2.5.5c0-1 .5-4 1.25-4.5.5 1 .786 1.293 1.371 1.879A2.99 2.99 0 0113 13a2.99 2.99 0 01-.879 2.121z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=k]:checked,li[data-task=k]>input:checked,li[data-task=k]>p>input:checked{color:var(--color-yellow);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M18 8a6 6 0 01-7.743 5.743L10 14l-1 1-1 1H6v2H2v-4l4.257-4.257A6 6 0 1118 8zm-6-4a1 1 0 100 2 2 2 0 012 2 1 1 0 102 0 4 4 0 00-4-4z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=u]:checked,li[data-task=u]>input:checked,li[data-task=u]>p>input:checked{color:var(--color-green);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12 7a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0V8.414l-4.293 4.293a1 1 0 01-1.414 0L8 10.414l-4.293 4.293a1 1 0 01-1.414-1.414l5-5a1 1 0 011.414 0L11 10.586 14.586 7H12z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=d]:checked,li[data-task=d]>input:checked,li[data-task=d]>p>input:checked{color:var(--color-red);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12 13a1 1 0 100 2h5a1 1 0 001-1V9a1 1 0 10-2 0v2.586l-4.293-4.293a1 1 0 00-1.414 0L8 9.586 3.707 5.293a1 1 0 00-1.414 1.414l5 5a1 1 0 001.414 0L11 9.414 14.586 13H12z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=w]:checked,li[data-task=w]>input:checked,li[data-task=w]>p>input:checked{color:var(--color-purple);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M6 3a1 1 0 011-1h.01a1 1 0 010 2H7a1 1 0 01-1-1zm2 3a1 1 0 00-2 0v1a2 2 0 00-2 2v1a2 2 0 00-2 2v.683a3.7 3.7 0 011.055.485 1.704 1.704 0 001.89 0 3.704 3.704 0 014.11 0 1.704 1.704 0 001.89 0 3.704 3.704 0 014.11 0 1.704 1.704 0 001.89 0A3.7 3.7 0 0118 12.683V12a2 2 0 00-2-2V9a2 2 0 00-2-2V6a1 1 0 10-2 0v1h-1V6a1 1 0 10-2 0v1H8V6zm10 8.868a3.704 3.704 0 01-4.055-.036 1.704 1.704 0 00-1.89 0 3.704 3.704 0 01-4.11 0 1.704 1.704 0 00-1.89 0A3.704 3.704 0 012 14.868V17a1 1 0 001 1h14a1 1 0 001-1v-2.132zM9 3a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1zm3 0a1 1 0 011-1h.01a1 1 0 110 2H13a1 1 0 01-1-1z' clip-rule='evenodd' /%3E%3C/svg%3E")}input[data-task=p]:checked,li[data-task=p]>input:checked,li[data-task=p]>p>input:checked{color:var(--color-green);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z' /%3E%3C/svg%3E")}input[data-task=c]:checked,li[data-task=c]>input:checked,li[data-task=c]>p>input:checked{color:var(--color-orange);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M18 9.5a1.5 1.5 0 11-3 0v-6a1.5 1.5 0 013 0v6zM14 9.667v-5.43a2 2 0 00-1.105-1.79l-.05-.025A4 4 0 0011.055 2H5.64a2 2 0 00-1.962 1.608l-1.2 6A2 2 0 004.44 12H8v4a2 2 0 002 2 1 1 0 001-1v-.667a4 4 0 01.8-2.4l1.4-1.866a4 4 0 00.8-2.4z' /%3E%3C/svg%3E")}input[data-task=b]:checked,li[data-task=b]>input:checked,li[data-task=b]>p>input:checked{color:var(--color-orange);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M5 4a2 2 0 012-2h6a2 2 0 012 2v14l-5-2.5L5 18V4z' /%3E%3C/svg%3E")}.colorful-active .nav-files-container{--nav-item-background-active:var(--interactive-accent);--nav-item-color-active:var(--text-on-accent)}.colorful-active .nav-files-container .is-active .nav-file-tag{color:var(--text-on-accent);opacity:.6}.colorful-active .tree-item-self.is-being-renamed:focus-within{--nav-item-color-active:var(--text-normal)}.colorful-active #calendar-container .active,.colorful-active #calendar-container .active.today,.colorful-active #calendar-container .active:hover,.colorful-active #calendar-container .day:active{background-color:var(--interactive-accent);color:var(--text-on-accent)}.colorful-active #calendar-container .active .dot,.colorful-active #calendar-container .day:active .dot,.colorful-active #calendar-container .today.active .dot{fill:var(--text-on-accent)}body:not(.colorful-active) .horizontal-tab-nav-item.is-active,body:not(.colorful-active) .vertical-tab-nav-item.is-active{background-color:var(--bg3);color:var(--text-normal)}body{--frame-background:hsl( var(--frame-background-h), var(--frame-background-s), var(--frame-background-l));--frame-icon-color:var(--frame-muted-color)}.theme-light{--frame-background-h:var(--accent-h);--frame-background-s:var(--accent-s);--frame-background-l:calc(var(--accent-l) + 30%);--frame-outline-color:hsla( var(--frame-background-h), var(--frame-background-s), calc(var(--frame-background-l) - 6.5%), 1 );--frame-muted-color:hsl( var(--frame-background-h), calc(var(--frame-background-s) - 10%), calc(var(--frame-background-l) - 35%))}.theme-dark{--frame-background-h:var(--accent-h);--frame-background-s:var(--accent-s);--frame-background-l:calc(var(--accent-l) - 25%);--frame-outline-color:hsla( var(--frame-background-h), calc(var(--frame-background-s) - 2%), calc(var(--frame-background-l) + 6.5%), 1 );--frame-muted-color:hsl( var(--frame-background-h), calc(var(--frame-background-s) - 10%), calc(var(--frame-background-l) + 25%))}.colorful-frame.theme-dark{--tab-outline-width:0px}.colorful-frame,.colorful-frame.is-focused{--frame-divider-color:var(--frame-outline-color);--titlebar-background:var(--frame-background);--titlebar-background-focused:var(--frame-background);--titlebar-text-color:var(--frame-muted-color);--minimal-tab-text-color:var(--frame-muted-color)}.colorful-frame .workspace-tabs:not(.mod-stacked),.colorful-frame.is-focused .workspace-tabs:not(.mod-stacked){--tab-text-color:var(--minimal-tab-text-color);--tab-text-color-focused:var(--minimal-tab-text-color)}.colorful-frame .mod-top .workspace-tab-header-container,.colorful-frame .titlebar,.colorful-frame .workspace-ribbon.mod-left:before,.colorful-frame.is-focused .mod-top .workspace-tab-header-container,.colorful-frame.is-focused .titlebar,.colorful-frame.is-focused .workspace-ribbon.mod-left:before{--tab-outline-color:var(--frame-outline-color);--tab-divider-color:var(--frame-outline-color)}.colorful-frame .mod-root .workspace-tab-header .workspace-tab-header-inner-icon,.colorful-frame.is-focused .mod-root .workspace-tab-header .workspace-tab-header-inner-icon{--icon-color:var(--minimal-tab-text-color-active);--icon-color-hover:var(--minimal-tab-text-color-active);--icon-color-active:var(--minimal-tab-text-color-active);--icon-color-focused:var(--minimal-tab-text-color-active)}.colorful-frame .mod-left-split .mod-top .workspace-tab-header,.colorful-frame .mod-right-split .mod-top .workspace-tab-header,.colorful-frame .sidebar-toggle-button,.colorful-frame .workspace-tab-header-new-tab,.colorful-frame .workspace-tab-header-tab-list,.colorful-frame .workspace-tab-header:not(.is-active),.colorful-frame.is-focused .mod-left-split .mod-top .workspace-tab-header,.colorful-frame.is-focused .mod-right-split .mod-top .workspace-tab-header,.colorful-frame.is-focused .sidebar-toggle-button,.colorful-frame.is-focused .workspace-tab-header-new-tab,.colorful-frame.is-focused .workspace-tab-header-tab-list,.colorful-frame.is-focused .workspace-tab-header:not(.is-active){--background-modifier-hover:var(--frame-outline-color);--icon-color:var(--frame-icon-color);--icon-color-hover:var(--frame-icon-color);--icon-color-active:var(--frame-icon-color);--icon-color-focused:var(--frame-icon-color);--icon-color-focus:var(--frame-icon-color)}.colorful-frame .mod-left-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.colorful-frame .mod-right-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.colorful-frame.is-focused .mod-left-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.colorful-frame.is-focused .mod-right-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon{color:var(--frame-icon-color)}.workspace-leaf-resize-handle{transition:none}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-left-split>.workspace-leaf-resize-handle,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-right-split>.workspace-leaf-resize-handle,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-vertical>*>.workspace-leaf-resize-handle{-webkit-app-region:no-drag;border:0;z-index:15}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-left-split>.workspace-leaf-resize-handle:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-right-split>.workspace-leaf-resize-handle:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-vertical>*>.workspace-leaf-resize-handle:after{content:"";height:100%;width:1px;background:linear-gradient(180deg,var(--frame-outline-color) var(--header-height),var(--divider-color) var(--header-height));top:0;position:absolute}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-left-split>.workspace-leaf-resize-handle:hover:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-right-split>.workspace-leaf-resize-handle:hover:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-vertical>*>.workspace-leaf-resize-handle:hover:after{background:var(--divider-color-hover)}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-right-split>.workspace-leaf-resize-handle:after{left:0}.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-left-split>.workspace-leaf-resize-handle:after,.colorful-frame.is-hidden-frameless:not(.minimal-focus-mode) .workspace-split.mod-vertical>*>.workspace-leaf-resize-handle:after{right:0}body.colorful-headings{--h1-color:var(--color-red);--h2-color:var(--color-orange);--h3-color:var(--color-yellow);--h4-color:var(--color-green);--h5-color:var(--color-blue);--h6-color:var(--color-purple)}body.colorful-headings .modal{--h1-color:var(--text-normal);--h2-color:var(--text-normal);--h3-color:var(--text-normal);--h4-color:var(--text-normal);--h5-color:var(--text-normal);--h6-color:var(--text-normal)}.is-mobile .tree-item-self .collapse-icon{width:20px}body:not(.minimal-icons-off) svg.calendar-day,body:not(.minimal-icons-off) svg.excalidraw-icon,body:not(.minimal-icons-off) svg.globe,body:not(.minimal-icons-off) svg.longform,body:not(.minimal-icons-off) svg.obsidian-leaflet-plugin-icon-map{background-color:currentColor}body:not(.minimal-icons-off) svg.excalidraw-icon path{display:none}body:not(.minimal-icons-off) svg.bar-graph{-webkit-mask-image:url('data:image/svg+xml;utf8,')}body:not(.minimal-icons-off) svg.excalidraw-icon{-webkit-mask-image:url('data:image/svg+xml;utf8,')}body:not(.minimal-icons-off) svg.longform{-webkit-mask-image:url('data:image/svg+xml;utf8,')}.workspace-ribbon.mod-left{border-left:0;transition:none}.minimal-focus-mode.is-translucent .workspace-ribbon.mod-left.is-collapsed,.minimal-focus-mode.is-translucent .workspace-ribbon.mod-left.is-collapsed:before{background-color:var(--background-primary)!important}.minimal-focus-mode .workspace-ribbon.mod-left{transition:background-color 0s linear 0s}.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed{border-color:transparent;background-color:var(--background-primary)}.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed:before{background-color:var(--background-primary);border-color:transparent}.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed .side-dock-actions,.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed .side-dock-settings{opacity:0;transition:opacity .1s ease-in-out .1s}.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed:hover .side-dock-actions,.minimal-focus-mode .workspace-ribbon.mod-left.is-collapsed:hover .side-dock-settings{opacity:1;transition:opacity .1s ease-in-out .1s}.minimal-focus-mode.borders-title .workspace-ribbon.mod-left.is-collapsed{border-right:none}.minimal-focus-mode .mod-root .sidebar-toggle-button.mod-right{opacity:0;transition:opacity .2s ease-in-out .5s}.minimal-focus-mode:not(.minimal-status-off) .status-bar{opacity:0;transition:opacity .2s ease-in-out}.minimal-focus-mode .status-bar:hover{opacity:1;transition:opacity .2s ease-in-out}.minimal-focus-mode .mod-root .workspace-tabs{position:relative}.minimal-focus-mode .mod-root .workspace-tabs:before:hover{background-color:#00f}.minimal-focus-mode .mod-root .workspace-tab-header-container{height:0;transition:all .1s linear .6s;--tab-outline-width:0px}.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-container-inner,.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-new-tab,.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-tab-list{opacity:0;transition:all .1s linear .6s}.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-spacer:before{width:100%;content:" ";background-color:rgba(0,0,0,0);height:15px;position:absolute;z-index:100;top:0;left:0}.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-container-inner .workspace-tab-header.is-active,.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-container-inner .workspace-tab-header.is-active::after,.minimal-focus-mode .mod-root .workspace-tab-header-container .workspace-tab-header-container-inner .workspace-tab-header.is-active::before{transition:all .1s linear .6s}.minimal-focus-mode .mod-root .workspace-tab-header-container:hover{height:var(--header-height);--tab-outline-width:1px;transition:all .1s linear .05s}.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .sidebar-toggle-button.mod-right,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-container-inner,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-new-tab,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-tab-list{opacity:1;transition:all .1s linear .05s}.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-container-inner .workspace-tab-header.is-active,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-container-inner .workspace-tab-header.is-active::after,.minimal-focus-mode .mod-root .workspace-tab-header-container:hover .workspace-tab-header-container-inner .workspace-tab-header.is-active::before{transition:all .1s linear .05s}.minimal-focus-mode.mod-macos:not(.is-fullscreen) .workspace:not(.is-left-sidedock-open) .mod-root .workspace-tabs.mod-stacked .workspace-tab-container .workspace-tab-header-inner{padding-top:30px}body.show-view-header .app-container .workspace-split.mod-root>.workspace-leaf .view-header{transition:height .1s linear .1s}body.minimal-focus-mode.show-view-header .mod-top-left-space .view-header{padding-left:var(--frame-left-space)}body.minimal-focus-mode.show-view-header .mod-root .workspace-leaf .view-header{height:0;transition:all .1s linear .5s}body.minimal-focus-mode.show-view-header .view-header::after{width:100%;content:" ";background-color:rgba(0,0,0,0);height:40px;position:absolute;z-index:-9;top:0}body.minimal-focus-mode.show-view-header .view-actions,body.minimal-focus-mode.show-view-header .view-header-nav-buttons,body.minimal-focus-mode.show-view-header .view-header-title-container{opacity:0;transition:all .1s linear .5s}body.minimal-focus-mode.show-view-header .mod-root .workspace-leaf .view-header:focus-within,body.minimal-focus-mode.show-view-header .mod-root .workspace-leaf .view-header:hover,body.minimal-focus-mode.show-view-header .mod-root .workspace-tab-header-container:hover~.workspace-tab-container .view-header{height:calc(var(--header-height) + 2px);transition:all .1s linear .1s}body.minimal-focus-mode.show-view-header .mod-root .workspace-tab-header-container:hover~.workspace-tab-container .view-header .view-actions,body.minimal-focus-mode.show-view-header .mod-root .workspace-tab-header-container:hover~.workspace-tab-container .view-header .view-header-nav-buttons,body.minimal-focus-mode.show-view-header .mod-root .workspace-tab-header-container:hover~.workspace-tab-container .view-header .view-header-title-container,body.minimal-focus-mode.show-view-header .view-header:focus-within .view-actions,body.minimal-focus-mode.show-view-header .view-header:focus-within .view-header-nav-buttons,body.minimal-focus-mode.show-view-header .view-header:focus-within .view-header-title-container,body.minimal-focus-mode.show-view-header .view-header:hover .view-actions,body.minimal-focus-mode.show-view-header .view-header:hover .view-header-nav-buttons,body.minimal-focus-mode.show-view-header .view-header:hover .view-header-title-container{opacity:1;transition:all .1s linear .1s}body.minimal-focus-mode.show-view-header .view-content{height:100%}.full-width-media{--iframe-width:100%}.full-width-media .markdown-preview-view .external-embed,.full-width-media .markdown-preview-view .image-embed img:not(.link-favicon):not(.emoji):not([width]),.full-width-media .markdown-preview-view audio,.full-width-media .markdown-preview-view img:not(.link-favicon):not(.emoji):not([width]),.full-width-media .markdown-preview-view p:has(.external-embed),.full-width-media .markdown-preview-view video,.full-width-media .markdown-source-view .external-embed,.full-width-media .markdown-source-view .image-embed img:not(.link-favicon):not(.emoji):not([width]),.full-width-media .markdown-source-view audio,.full-width-media .markdown-source-view img:not(.link-favicon):not(.emoji):not([width]),.full-width-media .markdown-source-view p:has(.external-embed),.full-width-media .markdown-source-view video{width:100%}.markdown-rendered img:not(.emoji),.markdown-rendered video,.markdown-source-view img:not(.emoji),.markdown-source-view video{border-radius:var(--image-radius)}.tabular{font-variant-numeric:tabular-nums}.table-small table:not(.calendar){--table-text-size:85%}.table-tiny table:not(.calendar){--table-text-size:75%}.row-hover{--table-edge-cell-padding-first:8px;--table-edge-cell-padding-last:8px}.row-alt{--table-row-alt-background:var(--background-table-rows);--table-row-alt-background-hover:var(--background-table-rows);--table-edge-cell-padding-first:8px;--table-edge-cell-padding-last:8px}.col-alt .markdown-rendered:not(.cards){--table-column-alt-background:var(--background-table-rows)}.table-tabular table:not(.calendar){font-variant-numeric:tabular-nums}.table-lines{--table-border-width:var(--border-width);--table-header-border-width:var(--border-width);--table-column-first-border-width:var(--border-width);--table-column-last-border-width:var(--border-width);--table-row-last-border-width:var(--border-width);--table-edge-cell-padding:8px;--table-edge-cell-padding-first:8px;--table-edge-cell-padding-last:8px;--table-add-button-border-width:1px}.table-nowrap{--table-white-space:nowrap}.table-nowrap-first table tbody>tr>td:first-child,.table-nowrap-first table thead>tr>th:first-child{--table-white-space:nowrap}.table-nowrap .table-wrap,.trim-cols{--table-white-space:normal}.table-numbers{--table-numbers-padding-right:0.5em}.table-numbers table:not(.calendar){counter-reset:section}.table-numbers table:not(.calendar)>thead>tr>th:first-child{white-space:nowrap}.table-numbers table:not(.calendar)>thead>tr>th:first-child::before{content:" ";padding-right:var(--table-numbers-padding-right);display:inline-block;min-width:2em}.table-numbers table:not(.calendar)>thead>tr>th:first-child .cm-s-obsidian,.table-numbers table:not(.calendar)>thead>tr>th:first-child .table-cell-wrapper{display:inline-block;min-width:10px}.table-numbers table:not(.calendar).table-editor>tbody>tr>td:first-child .table-cell-wrapper,.table-numbers table:not(.calendar):not(.table-editor)>tbody>tr>td:first-child{white-space:nowrap}.table-numbers table:not(.calendar).table-editor>tbody>tr>td:first-child .table-cell-wrapper::before,.table-numbers table:not(.calendar):not(.table-editor)>tbody>tr>td:first-child::before{counter-increment:section;content:counter(section) " ";text-align:center;padding-right:var(--table-numbers-padding-right);display:inline-block;min-width:2em;color:var(--text-faint);font-variant-numeric:tabular-nums}.table-numbers table:not(.calendar).table-editor>tbody>tr>td:first-child .table-cell-wrapper .cm-s-obsidian,.table-numbers table:not(.calendar):not(.table-editor)>tbody>tr>td:first-child .cm-s-obsidian{display:inline-block;min-width:10px}.table-numbers .table-editor{--table-numbers-padding-right:0}.row-lines-off{--table-row-last-border-width:0}.row-lines-off .table-view-table>tbody>tr>td,.row-lines-off table:not(.calendar) tbody>tr:last-child>td,.row-lines-off table:not(.calendar) tbody>tr>td{border-bottom:none}.row-lines:not(.table-lines) .markdown-preview-view:not(.cards),.row-lines:not(.table-lines) .markdown-source-view:not(.cards){--table-row-last-border-width:0px}.row-lines:not(.table-lines) .markdown-preview-view:not(.cards) .table-view-table>tbody>tr:not(:last-child)>td,.row-lines:not(.table-lines) .markdown-preview-view:not(.cards) table:not(.calendar) tbody>tr:not(:last-child)>td,.row-lines:not(.table-lines) .markdown-source-view:not(.cards) .table-view-table>tbody>tr:not(:last-child)>td,.row-lines:not(.table-lines) .markdown-source-view:not(.cards) table:not(.calendar) tbody>tr:not(:last-child)>td{border-bottom:var(--table-border-width) solid var(--table-border-color)}.col-lines .table-view-table thead>tr>th:not(:last-child),.col-lines .table-view-table>tbody>tr>td:not(:last-child),.col-lines table:not(.calendar) tbody>tr>td:not(:last-child){border-right:var(--table-border-width) solid var(--background-modifier-border)}.row-hover{--table-row-background-hover:var(--hl1);--table-row-alt-background-hover:var(--hl1)}:root{--image-mix:normal}.image-blend-light{--image-mix:multiply}.theme-dark .markdown-preview-view img,.theme-dark .markdown-source-view img{opacity:var(--image-muted);transition:opacity .25s linear}@media print{body{--image-muted:1}}.theme-dark .markdown-preview-view img:hover,.theme-dark .markdown-source-view img:hover,.theme-dark .print-preview img{opacity:1;transition:opacity .25s linear}.theme-light img{mix-blend-mode:var(--image-mix)}div[src$="#invert"],div[src$="#multiply"]{background-color:var(--background-primary)}.theme-dark div[src$="#invert"] img,.theme-dark img[src$="#invert"],.theme-dark span[src$="#invert"] img{filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}.theme-dark div[src$="#multiply"] img,.theme-dark img[src$="#multiply"],.theme-dark span[src$="#multiply"] img{mix-blend-mode:screen}.theme-light div[src$="#multiply"] img,.theme-light img[src$="#multiply"],.theme-light span[src$="#multiply"] img{mix-blend-mode:multiply}.theme-light div[src$="#invertW"] img,.theme-light img[src$="#invertW"],.theme-light span[src$=invertW] img{filter:invert(1) hue-rotate(180deg)}img[src$="#circle"]:not(.emoji),span[src$="#circle"] img:not(.emoji),span[src$="#round"] img:not(.emoji){border-radius:50%;aspect-ratio:1/1}div[src$="#outline"] img,img[src$="#outline"],span[src$="#outline"] img{border:1px solid var(--ui1)}img[src$="#interface"],span[src$="#interface"] img{border:1px solid var(--ui1);box-shadow:0 .5px .9px rgba(0,0,0,.021),0 1.3px 2.5px rgba(0,0,0,.03),0 3px 6px rgba(0,0,0,.039),0 10px 20px rgba(0,0,0,.06);margin-top:10px;margin-bottom:15px;border-radius:var(--radius-m)}body{--image-grid-fit:cover;--image-grid-background:transparent;--img-grid-gap:0.5rem}@media(max-width:400pt){body{--img-grid-gap:0.25rem}}.img-grid-ratio{--image-grid-fit:contain}.img-grid .image-embed.is-loaded{line-height:0}.img-grid .image-embed.is-loaded img{background-color:var(--image-grid-background)}.img-grid .image-embed.is-loaded img:active{background-color:rgba(0,0,0,0)}.img-grid .markdown-preview-section>div:has(img) .image-embed~br,.img-grid .markdown-preview-section>div:has(img) img~br,.img-grid .markdown-preview-section>div:has(img) p:empty{display:none}.img-grid .markdown-preview-section div:has(>.image-embed~.image-embed),.img-grid .markdown-preview-section div:has(>img~img),.img-grid .markdown-preview-section p:has(>.image-embed~.image-embed),.img-grid .markdown-preview-section p:has(>.image-embed~img),.img-grid .markdown-preview-section p:has(>img~.image-embed),.img-grid .markdown-preview-section p:has(>img~img){display:grid;margin-block-start:var(--img-grid-gap);margin-block-end:var(--img-grid-gap);grid-column-gap:var(--img-grid-gap);grid-row-gap:0;grid-template-columns:repeat(auto-fit,minmax(0,1fr))}.img-grid .markdown-preview-section div:has(>.image-embed~.image-embed)>img,.img-grid .markdown-preview-section div:has(>img~img)>img,.img-grid .markdown-preview-section p:has(>.image-embed~.image-embed)>img,.img-grid .markdown-preview-section p:has(>.image-embed~img)>img,.img-grid .markdown-preview-section p:has(>img~.image-embed)>img,.img-grid .markdown-preview-section p:has(>img~img)>img{object-fit:var(--image-grid-fit);align-self:stretch}.img-grid .markdown-preview-section div:has(>.image-embed~.image-embed)>.internal-embed img,.img-grid .markdown-preview-section div:has(>img~img)>.internal-embed img,.img-grid .markdown-preview-section p:has(>.image-embed~.image-embed)>.internal-embed img,.img-grid .markdown-preview-section p:has(>.image-embed~img)>.internal-embed img,.img-grid .markdown-preview-section p:has(>img~.image-embed)>.internal-embed img,.img-grid .markdown-preview-section p:has(>img~img)>.internal-embed img{object-fit:var(--image-grid-fit);height:100%;align-self:center}.img-grid .markdown-preview-section>div:has(img)>p{display:grid;margin-block-start:var(--img-grid-gap);margin-block-end:var(--img-grid-gap);grid-column-gap:var(--img-grid-gap);grid-row-gap:0;grid-template-columns:repeat(auto-fit,minmax(0,1fr))}.img-grid .markdown-preview-section>div:has(img)>p>br{display:none}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content div:not(.canvas-node-content) img{max-width:100%;cursor:zoom-in}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content img:active{cursor:zoom-out}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .markdown-preview-view img[referrerpolicy=no-referrer]:active{background-color:var(--background-primary);padding:10px}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active,body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .markdown-preview-view img[referrerpolicy=no-referrer]:active{--container-img-width:100%;--container-img-max-width:100%;aspect-ratio:unset;cursor:zoom-out;display:block;z-index:200;position:fixed;max-height:calc(100% + 1px);max-width:100%;height:calc(100% + 1px);width:100%;object-fit:contain;margin:-.5px auto 0!important;text-align:center;padding:0;left:0;right:0;bottom:0}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active:after{background-color:var(--background-primary);opacity:.9;content:" ";height:calc(100% + 1px);width:100%;position:fixed;left:0;right:1px;z-index:0}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .image-embed:not(.canvas-node-content):active img{aspect-ratio:unset;top:50%;z-index:99;transform:translateY(-50%);padding:0;margin:0 auto;width:calc(100% - 20px);max-height:95vh;object-fit:contain;left:0;right:0;bottom:0;position:absolute;opacity:1}body:not(.zoom-off):not(.is-mobile) .workspace-leaf-content[data-type=markdown] .view-content .markdown-source-view.mod-cm6 .cm-content>[contenteditable=false]:has(.image-embed:not(.canvas-node-content):active){contain:unset!important}.labeled-nav.is-fullscreen:not(.colorful-frame),.labeled-nav.mod-windows{--labeled-nav-top-margin:0}.labeled-nav{--labeled-nav-top-margin:var(--header-height)}.labeled-nav.is-translucent .mod-left-split .mod-top .workspace-tab-header-container .workspace-tab-header-container-inner{background-color:rgba(0,0,0,0)}.labeled-nav.is-hidden-frameless:not(.is-fullscreen) .mod-left-split .workspace-tabs.mod-top-left-space .workspace-tab-header-container{padding-left:0}.labeled-nav.mod-macos .mod-left-split .mod-top .workspace-tab-header-container:before,.labeled-nav.mod-macos.is-hidden-frameless:not(.is-fullscreen) .mod-left-split .mod-top .workspace-tab-header-container:before{-webkit-app-region:drag;position:absolute;width:calc(100% - var(--divider-width));height:calc(var(--header-height) - var(--tab-outline-width));border-bottom:0 solid var(--tab-outline-color)}.labeled-nav.mod-macos.is-hidden-frameless:not(.is-fullscreen) .workspace-ribbon.mod-left:not(.is-collapsed){border:none;--tab-outline-width:0px}.labeled-nav.colorful-frame.is-hidden-frameless:not(.is-fullscreen) .mod-left-split .mod-top .workspace-tab-header-container:before,.labeled-nav.mod-macos:not(.hider-ribbon) .mod-left-split .mod-top .workspace-tab-header-container:before,.labeled-nav:not(.is-hidden-frameless) .mod-left-split .mod-top .workspace-tab-header-container:before{border-bottom:var(--tab-outline-width) solid var(--tab-outline-color)}.labeled-nav.colorful-frame.is-hidden-frameless:not(.is-fullscreen) .workspace-ribbon.mod-left:not(.is-collapsed),.labeled-nav.mod-macos:not(.hider-ribbon) .workspace-ribbon.mod-left:not(.is-collapsed),.labeled-nav:not(.is-hidden-frameless) .workspace-ribbon.mod-left:not(.is-collapsed){--tab-outline-width:1px}.labeled-nav:not(.is-hidden-frameless) .mod-left-split .mod-top .workspace-tab-header-container:before{position:absolute;top:0;content:" "}.labeled-nav.hider-ribbon.mod-macos.is-hidden-frameless:not(.is-fullscreen):not(.is-popout-window) .mod-left-split:not(.is-sidedock-collapsed) .workspace-tabs.mod-top-left-space .workspace-tab-header-container{padding-left:0}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-spacer{display:none}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-inner-title{display:inline-block;font-weight:500;font-size:var(--font-adaptive-smaller)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container{position:relative;flex-direction:column-reverse!important;height:auto;width:100%}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container .sidebar-toggle-button.mod-left{position:absolute;justify-content:flex-end;padding-right:var(--size-4-2);top:0;right:0}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container .workspace-tab-header-container-inner{padding:var(--size-4-2) var(--size-4-2);margin-top:var(--labeled-nav-top-margin);flex-direction:column!important;background-color:var(--background-secondary)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container .workspace-tab-container-inner{flex-grow:1;gap:0;padding:var(--size-4-2) var(--size-4-3)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header{--icon-color:var(--text-muted);--tab-text-color:var(--text-muted);--tab-text-color-focused:var(--text-muted);padding:0;margin-bottom:2px;border:none;height:auto}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:not(:hover){background-color:rgba(0,0,0,0)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.labeled-nav .mod-left-split .mod-top .workspace-tab-header:hover{opacity:1;--tab-text-color-active:var(--text-normal);--tab-text-color-focused:var(--text-normal);--tab-text-color-focused-active:var(--text-normal);--tab-text-color-focused-active-current:var(--text-normal);--icon-color:var(--text-normal)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header .workspace-tab-header-inner{gap:var(--size-2-3);padding:var(--size-4-1) var(--size-4-2);box-shadow:none;border:none}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.has-active-menu:hover,.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:hover{background-color:rgba(0,0,0,0)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:hover .workspace-tab-header-inner,.labeled-nav .mod-left-split .mod-top .workspace-tab-header:not(.is-active):hover .workspace-tab-header-inner{background-color:var(--nav-item-background-hover)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.labeled-nav .mod-left-split .mod-top .workspace-tab-header:hover .workspace-tab-header-inner-icon{color:var(--icon-color-active)}.labeled-nav .mod-left-split .mod-top .workspace-tab-header-container{border:none;padding:0}body:not(.links-int-on){--link-decoration:none}body:not(.links-ext-on){--link-external-decoration:none}body:not(.sidebar-color) .mod-right-split{--background-secondary:var(--background-primary)}body:not(.sidebar-color) .mod-right-split :not(.mod-top) .workspace-tab-header-container{--tab-container-background:var(--background-primary)}.theme-dark,.theme-light{--minimal-tab-text-color:var(--tx2);--minimal-tab-text-color-active:var(--tx1)}.workspace-tabs:not(.mod-stacked){--tab-text-color:var(--minimal-tab-text-color);--tab-text-color-focused:var(--minimal-tab-text-color);--tab-text-color-active:var(--minimal-tab-text-color-active);--tab-text-color-focused-active:var(--minimal-tab-text-color-active);--tab-text-color-focused-active-current:var(--minimal-tab-text-color-active)}.tabs-plain-square .mod-root{--tab-curve:0;--tab-radius:0;--tab-radius-active:0}.tabs-plain-square .mod-root .workspace-tab-header-container{padding-right:0}.tabs-plain-square .mod-root .workspace-tab-header-container-inner{margin-top:-1px;margin-left:-15px}.tabs-plain-square .mod-root .workspace-tab-header{padding:0}.tabs-plain-square .mod-root .workspace-tab-header-inner{padding:0 8px}.tabs-square .mod-root{--tab-curve:0;--tab-radius:0;--tab-radius-active:0}.tabs-underline .mod-root{--tab-curve:0;--tab-radius:0;--tab-radius-active:0;--tab-outline-width:0px;--tab-background-active:transparent}.tabs-underline .mod-root .workspace-tab-header-container{border-bottom:1px solid var(--divider-color)}.tabs-underline .mod-root .workspace-tab-header{border-bottom:2px solid transparent}.tabs-underline .mod-root .workspace-tab-header:hover{border-bottom:2px solid var(--ui2)}.tabs-underline .mod-root .workspace-tab-header:hover .workspace-tab-header-inner{background-color:rgba(0,0,0,0)}.tabs-underline .mod-root .workspace-tab-header.is-active{border-bottom:2px solid var(--ax3)}.tabs-underline .mod-root .workspace-tab-header-inner:hover{background-color:rgba(0,0,0,0)}body:not(.sidebar-tabs-underline):not(.sidebar-tabs-index):not(.sidebar-tabs-square) .workspace>.workspace-split:not(.mod-root) .workspace-tabs:not(.mod-top) .workspace-tab-header-container{--tab-outline-width:0}.tabs-modern.colorful-frame .mod-root .mod-top.workspace-tabs:not(.mod-stacked){--tab-background:var(--frame-outline-color);--tab-outline-width:1px}.tabs-modern.colorful-frame .mod-root .mod-top.workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active .workspace-tab-header-inner-close-button,.tabs-modern.colorful-frame .mod-root .mod-top.workspace-tabs:not(.mod-stacked) .workspace-tab-header:hover .workspace-tab-header-inner-close-button{color:var(--minimal-tab-text-color-active)}.tabs-modern.minimal-focus-mode .mod-root .workspace-tab-header-container:hover{--tab-outline-width:0px}.tabs-modern .mod-root{--tab-container-background:var(--background-primary)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked){--tab-background:var(--background-modifier-hover);--tab-height:calc(var(--header-height) - 14px);--tab-outline-width:0px}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-inner::after,.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header::after,.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header::before{display:none}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-container-inner{align-items:center;margin:0;padding:2px var(--size-4-2) 0 var(--size-4-1)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-inner-title{text-overflow:ellipsis;-webkit-mask-image:none}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header{background:rgba(0,0,0,0);border-radius:5px;border:none;box-shadow:none;height:var(--tab-height);margin-left:var(--size-4-1);padding:0}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active .workspace-tab-header-inner-title{color:var(--tab-text-color-active)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active.mod-active,.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header:hover{opacity:1;background-color:var(--tab-background)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-new-tab{margin-inline-end:0}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header-inner{padding:0 var(--size-4-1) 0 var(--size-4-2);border:1px solid transparent}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header:not(.is-active):hover .workspace-tab-header-inner{background-color:rgba(0,0,0,0)}.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active:not(.mod-active) .workspace-tab-header-inner,.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header:not(:hover):not(.mod-active) .workspace-tab-header-inner{border:1px solid var(--tab-outline-color)}.tab-names-on .workspace-split:not(.mod-root) .workspace-tab-header-container-inner{--sidebar-tab-text-display:static}.tab-names-on .workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header-inner-title{font-weight:500}.tab-names-on .workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header-inner{gap:var(--size-2-3)}.tab-names-single .workspace>.workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header:only-child{--sidebar-tab-text-display:static;background-color:rgba(0,0,0,0)}.tab-names-single .workspace>.workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header:only-child .workspace-tab-header-inner-title{font-weight:500}.tab-names-single .workspace>.workspace-split:not(.mod-root) .workspace-tab-header-container-inner .workspace-tab-header:only-child .workspace-tab-header-inner{gap:var(--size-2-3)}.tabs-modern.sidebar-tabs-default .mod-right-split,.tabs-modern.sidebar-tabs-wide .mod-right-split{--tab-outline-width:0}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-spacer,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-spacer,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-spacer{display:none}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container{padding-right:0}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container-inner{padding:0;margin:0;flex-grow:1;gap:0}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header{flex-grow:1;border-radius:0;max-width:100px}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header.is-active,.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header:hover,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header.is-active,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header:hover,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header.is-active,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header:hover{background-color:rgba(0,0,0,0)}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header:hover .workspace-tab-header-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header:hover .workspace-tab-header-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header:hover .workspace-tab-header-inner{background-color:rgba(0,0,0,0)}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner{border-bottom:2px solid transparent;border-radius:0}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner:hover,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner:hover,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header .workspace-tab-header-inner:hover{border-color:var(--ui2)}.sidebar-tabs-underline .mod-right-split .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner,.sidebar-tabs-underline:not(.labeled-nav) .mod-left-split .workspace-tab-header-container .workspace-tab-header.is-active .workspace-tab-header-inner{border-color:var(--ax3);padding-top:1px}.sidebar-tabs-square .mod-left-split,.sidebar-tabs-square .mod-right-split{--tab-radius:0px}.sidebar-tabs-index.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top),.sidebar-tabs-index:not(.labeled-nav) .mod-left-split,.sidebar-tabs-square.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top),.sidebar-tabs-square:not(.labeled-nav) .mod-left-split{--tab-background-active:var(--background-secondary)}.sidebar-tabs-index .mod-right-split .workspace-tab-header-container-inner,.sidebar-tabs-index.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container-inner,.sidebar-tabs-index:not(.labeled-nav) .mod-left-split .workspace-tab-header-container-inner,.sidebar-tabs-square .mod-right-split .workspace-tab-header-container-inner,.sidebar-tabs-square.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container-inner,.sidebar-tabs-square:not(.labeled-nav) .mod-left-split .workspace-tab-header-container-inner{padding:1px var(--size-4-2) 0;margin:6px 0 calc(var(--tab-outline-width)*-1);flex-grow:1}.sidebar-tabs-index .mod-right-split .workspace-tab-header,.sidebar-tabs-index.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header,.sidebar-tabs-index:not(.labeled-nav) .mod-left-split .workspace-tab-header,.sidebar-tabs-square .mod-right-split .workspace-tab-header,.sidebar-tabs-square.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header,.sidebar-tabs-square:not(.labeled-nav) .mod-left-split .workspace-tab-header{flex-grow:1;max-width:100px;border-radius:var(--tab-radius) var(--tab-radius) 0 0}.sidebar-tabs-index .mod-right-split .workspace-tab-header.is-active,.sidebar-tabs-index.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header.is-active,.sidebar-tabs-index:not(.labeled-nav) .mod-left-split .workspace-tab-header.is-active,.sidebar-tabs-square .mod-right-split .workspace-tab-header.is-active,.sidebar-tabs-square.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header.is-active,.sidebar-tabs-square:not(.labeled-nav) .mod-left-split .workspace-tab-header.is-active{box-shadow:0 0 0 var(--tab-outline-width) var(--tab-outline-color);color:var(--tab-text-color-active);background-color:var(--tab-background-active)}.sidebar-tabs-wide .mod-right-split .workspace-tab-header-container-inner,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container-inner,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header-container-inner{flex-grow:1;border:1px solid var(--tab-outline-color);padding:3px;margin:6px 8px 6px;border-radius:4px}.sidebar-tabs-wide .mod-right-split .workspace-tab-header,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header{flex-grow:1}.sidebar-tabs-wide .mod-right-split .workspace-tab-header.is-active,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header.is-active,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header.is-active{border-color:transparent}.sidebar-tabs-wide .mod-right-split .workspace-tab-header-container,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-container,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header-container{padding-right:0}.sidebar-tabs-wide .mod-right-split .workspace-tab-header-spacer,.sidebar-tabs-wide.labeled-nav .mod-left-split .workspace-tabs:not(.mod-top) .workspace-tab-header-spacer,.sidebar-tabs-wide:not(.labeled-nav) .mod-left-split .workspace-tab-header-spacer{display:none}.full-file-names{--nav-item-white-space:normal}body:not(.full-file-names){--nav-item-white-space:nowrap}body:not(.full-file-names) .tree-item-self{white-space:nowrap}body:not(.full-file-names) .tree-item-inner{text-overflow:ellipsis;overflow:hidden}.theme-dark,.theme-light{--h1l:var(--ui1);--h2l:var(--ui1);--h3l:var(--ui1);--h4l:var(--ui1);--h5l:var(--ui1);--h6l:var(--ui1)}.h1-l .markdown-reading-view h1:not(.embedded-note-title),.h1-l .mod-cm6 .cm-editor .HyperMD-header-1{border-bottom:1px solid var(--h1l);padding-bottom:.4em;margin-block-end:.6em}.h2-l .markdown-reading-view h2,.h2-l .mod-cm6 .cm-editor .HyperMD-header-2{border-bottom:1px solid var(--h2l);padding-bottom:.4em;margin-block-end:.6em}.h3-l .markdown-reading-view h3,.h3-l .mod-cm6 .cm-editor .HyperMD-header-3{border-bottom:1px solid var(--h3l);padding-bottom:.4em;margin-block-end:.6em}.h4-l .markdown-reading-view h4,.h4-l .mod-cm6 .cm-editor .HyperMD-header-4{border-bottom:1px solid var(--h4l);padding-bottom:.4em;margin-block-end:.6em}.h5-l .markdown-reading-view h5,.h5-l .mod-cm6 .cm-editor .HyperMD-header-5{border-bottom:1px solid var(--h5l);padding-bottom:.4em;margin-block-end:.6em}.h6-l .markdown-reading-view h6,.h6-l .mod-cm6 .cm-editor .HyperMD-header-6{border-bottom:1px solid var(--h6l);padding-bottom:.4em;margin-block-end:.6em}.is-tablet .workspace-drawer{padding-top:0}.is-tablet .workspace-drawer:not(.is-pinned){margin:30px 16px 0;height:calc(100vh - 48px);border-radius:15px;border:none}.is-tablet .workspace-drawer-ribbon{background-color:var(--background-primary);border-right:1px solid var(--background-modifier-border)}.is-tablet .workspace-drawer-header,.is-tablet .workspace-drawer.is-pinned .workspace-drawer-header{padding-top:var(--size-4-4)}.is-tablet .workspace-drawer-header-icon{margin-inline-start:0}.is-mobile{--font-bold:600;--font-ui-medium:var(--font-adaptive-small);--interactive-normal:var(--background-modifier-hover);--background-modifier-form-field:var(--background-secondary);--background-modifier-form-field-highlighted:var(--background-secondary)}.is-mobile .markdown-source-view.mod-cm6 .cm-gutters{margin-left:0}.is-mobile .workspace-drawer.mod-left.is-pinned{width:var(--mobile-left-sidebar-width);min-width:150pt}.is-mobile .workspace-drawer.mod-right.is-pinned{width:var(--mobile-right-sidebar-width);min-width:150pt}.backlink-pane>.tree-item-self,.backlink-pane>.tree-item-self:hover,.outgoing-link-pane>.tree-item-self,.outgoing-link-pane>.tree-item-self:hover{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:var(--font-adaptive-smallest);font-weight:500}body{--canvas-dot-pattern:var(--background-modifier-border-hover)}.canvas-node-label{font-size:var(--font-adaptive-small)}.canvas-edges :not(.is-themed) path.canvas-display-path{stroke:var(--background-modifier-border-focus)}.canvas-edges :not(.is-themed) polyline.canvas-path-end{stroke:var(--background-modifier-border-focus);fill:var(--background-modifier-border-focus)}.canvas-node-container{border:1.5px solid var(--background-modifier-border-focus)}.node-insert-event.mod-inside-iframe{--max-width:100%;--folding-offset:0px}.node-insert-event.mod-inside-iframe .cm-editor .cm-content{padding-top:0}.hider-file-nav-header:not(.labeled-nav) .nav-files-container{padding-top:var(--size-4-3)}.is-mobile .nav-folder.mod-root>.nav-folder-title .nav-folder-title-content{display:none}body:not(.is-mobile) .nav-folder.mod-root>.nav-folder-title .nav-folder-title-content{font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:var(--font-adaptive-smallest)}.nav-buttons-container{justify-content:flex-start}.nav-file-tag{padding-top:.2em;background-color:rgba(0,0,0,0);color:var(--text-faint)}.nav-file .is-active .nav-file-tag,.nav-file:hover .nav-file-tag{color:var(--text-muted)}input.prompt-input,input.prompt-input:focus,input.prompt-input:focus-visible,input.prompt-input:hover{border-color:rgba(var(--mono-rgb-100),.05)}.is-mobile .mod-publish .modal-content{display:unset;padding:10px 10px 10px;margin-bottom:120px;overflow-x:hidden}.is-mobile .mod-publish .button-container,.is-mobile .modal.mod-publish .modal-button-container{padding:10px 15px 30px;margin-left:0;left:0}.is-mobile .modal.mod-publish .modal-title{padding:10px 20px;margin:0 -10px;border-bottom:1px solid var(--background-modifier-border)}.is-mobile .publish-site-settings-container{margin-right:0;padding:0}.is-mobile .modal.mod-publish .modal-content .publish-sections-container{margin-right:0;padding-right:0}@media(max-width:400pt){.is-mobile .publish-changes-info,.is-mobile .publish-section-header{flex-wrap:wrap;border:none}.is-mobile .publish-changes-info .publish-changes-add-linked-btn{flex-basis:100%;margin-top:10px}.is-mobile .publish-section-header-text{flex-basis:100%;margin-bottom:10px;margin-left:20px;margin-top:-8px}.is-mobile .publish-section{background:var(--background-secondary);border-radius:10px;padding:12px 12px 1px}.is-mobile .publish-changes-switch-site{flex-grow:0;margin-right:10px}}.release-notes-view .cm-scroller.is-readable-line-width{width:var(--line-width);max-width:var(--max-width);margin:0 auto}.search-results-info{border-bottom:none}.workspace-leaf-content[data-type=sync] .tree-item.nav-folder .nav-folder-title{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:var(--font-adaptive-smallest);font-weight:500;margin-bottom:4px}.workspace-leaf-content[data-type=sync] .tree-item.nav-folder .nav-folder-title:hover{color:var(--text-normal)}.workspace-leaf-content[data-type=sync] .tree-item.nav-folder.is-collapsed .nav-folder-title{color:var(--text-faint)}.workspace-leaf-content[data-type=sync] .tree-item.nav-folder.is-collapsed .nav-folder-title:hover{color:var(--text-muted)}.obsidian-banner.solid{border-bottom:var(--divider-width) solid var(--divider-color)}.contextual-typography .markdown-preview-view div.has-banner-icon.obsidian-banner-wrapper{overflow:visible}.theme-dark .markdown-preview-view img.emoji{opacity:1}body.theme-dark .button-default,body.theme-light .button-default{border:none;box-shadow:none;height:var(--input-height);background:var(--background-modifier-hover);color:var(--text-normal);font-size:revert;font-weight:500;transform:none;transition:all .1s linear;padding:0 20px}body.theme-dark .button-default:hover,body.theme-light .button-default:hover{border:none;background:var(--background-modifier-border-hover);box-shadow:none;transform:none;transition:all .1s linear}body.theme-dark .button-default:active,body.theme-dark .button-default:focus,body.theme-light .button-default:active,body.theme-light .button-default:focus{box-shadow:none}body .button-default.blue{background-color:var(--color-blue)!important}.button-default.red{background-color:var(--color-red)!important}.button-default.green{background-color:var(--color-green)!important}.button-default.yellow{background-color:var(--color-yellow)!important}.button-default.purple{background-color:var(--color-purple)!important}.workspace-leaf-content[data-type=calendar] .view-content{padding:5px 0 0 0}.mod-root #calendar-container{width:var(--line-width);max-width:var(--max-width);margin:0 auto;padding:0}body{--calendar-dot-active:var(--text-faint);--calendar-dot-today:var(--text-accent)}#calendar-container{padding:0 var(--size-4-4) var(--size-4-1);--color-background-day-empty:var(--background-secondary-alt);--color-background-day-active:var(--background-modifier-hover);--color-background-day-hover:var(--background-modifier-hover);--color-dot:var(--text-faint);--calendar-text-active:inherit;--color-text-title:var(--text-normal);--color-text-heading:var(--text-muted);--color-text-day:var(--text-normal);--color-text-today:var(--text-normal);--color-arrow:var(--text-faint);--color-background-day-empty:transparent}#calendar-container .table{border-collapse:separate;table-layout:fixed}#calendar-container h2{font-weight:400;font-size:var(--h2)}#calendar-container .arrow{cursor:var(--cursor);width:22px;border-radius:4px;padding:3px 7px}#calendar-container .arrow svg{width:12px;height:12px;color:var(--text-faint);opacity:.7}#calendar-container .arrow:hover{fill:var(--text-muted);color:var(--text-muted);background-color:var(--background-modifier-hover)}#calendar-container .arrow:hover svg{color:var(--text-muted);opacity:1}#calendar-container tr th{padding:2px 0 4px;font-weight:500;letter-spacing:.1em;font-size:var(--font-adaptive-smallest)}#calendar-container tr th:first-child{padding-left:0!important}#calendar-container tr td{padding:2px 0 0 0;border-radius:var(--radius-m);cursor:var(--cursor);border:1px solid transparent;transition:none}#calendar-container tr td:first-child{padding-left:0!important}#calendar-container .nav{padding:0;margin:var(--size-4-2) var(--size-4-1)}#calendar-container .dot{margin:0}#calendar-container .month,#calendar-container .title,#calendar-container .year{font-size:calc(var(--font-adaptive-small) + 2px);font-weight:400;color:var(--text-normal)}#calendar-container .today,#calendar-container .today.active{color:var(--text-accent);font-weight:600}#calendar-container .today .dot,#calendar-container .today.active .dot{fill:var(--calendar-dot-today)}#calendar-container .active .task{stroke:var(--text-faint)}#calendar-container .active{color:var(--text-normal)}#calendar-container .reset-button{text-transform:none;letter-spacing:0;font-size:var(--font-adaptive-smaller);font-weight:500;color:var(--text-muted);border-radius:4px;margin:0;padding:2px 8px}#calendar-container .reset-button:hover{color:var(--text-normal);background-color:var(--background-modifier-hover)}#calendar-container .day,#calendar-container .reset-button,#calendar-container .week-num{cursor:var(--cursor)}#calendar-container .day.adjacent-month{color:var(--text-faint);opacity:1}#calendar-container .day{padding:2px 4px 4px;transition:none}#calendar-container .day,#calendar-container .week-num{font-size:calc(var(--font-adaptive-smaller) + 5%)}#calendar-container .active,#calendar-container .active.today,#calendar-container .day:hover,#calendar-container .week-num:hover{background-color:var(--color-background-day-active);color:var(--calendar-text-active);transition:none}#calendar-container .active .dot{fill:var(--calendar-dot-active)}#calendar-container .active .task{stroke:var(--text-faint)}.block-language-chart canvas,.block-language-dataviewjs canvas{margin:1em 0}.theme-dark,.theme-light{--chart-color-1:var(--color-blue);--chart-color-2:var(--color-red);--chart-color-3:var(--color-yellow);--chart-color-4:var(--color-green);--chart-color-5:var(--color-orange);--chart-color-6:var(--color-purple);--chart-color-7:var(--color-cyan);--chart-color-8:var(--color-pink)}.checklist-plugin-main .group .classic,.checklist-plugin-main .group .compact,.checklist-plugin-main .group .page,.checklist-plugin-main .group svg{cursor:var(--cursor)}.workspace .view-content .checklist-plugin-main{padding:10px 10px 15px 15px;--todoList-togglePadding--compact:2px;--todoList-listItemMargin--compact:2px}.checklist-plugin-main .title{font-weight:400;color:var(--text-muted);font-size:var(--font-adaptive-small)}.checklist-plugin-main .group svg{fill:var(--text-faint)}.checklist-plugin-main .group svg:hover{fill:var(--text-normal)}.checklist-plugin-main .group .title:hover{color:var(--text-normal)}.checklist-plugin-main .group:not(:last-child){border-bottom:1px solid var(--background-modifier-border)}.checklist-plugin-main .group{padding:0 0 2px 0}.checklist-plugin-main .group .classic:last-child,.checklist-plugin-main .group .compact:last-child{margin-bottom:10px}.checklist-plugin-main .group .classic,.checklist-plugin-main .group .compact{font-size:var(--font-adaptive-small)}.checklist-plugin-main .group .classic,.checklist-plugin-main .group .compact{background:rgba(0,0,0,0);border-radius:0;margin:1px auto;padding:0}.checklist-plugin-main .group .classic .content{padding:0}.checklist-plugin-main .group .classic:hover,.checklist-plugin-main .group .compact:hover{background:rgba(0,0,0,0)}.markdown-preview-view.checklist-plugin-main ul>li:not(.task-list-item)::before{display:none}.checklist-plugin-main .group .compact>.toggle .checked{background:var(--text-accent);top:-1px;left:-1px;height:18px;width:18px}.checklist-plugin-main .compact .toggle:hover{opacity:1!important}.checklist-plugin-main .group .count{font-size:var(--font-adaptive-smaller);padding:0;background:rgba(0,0,0,0);font-weight:400;color:var(--text-faint)}.checklist-plugin-main .group .group-header:hover .count{color:var(--text-muted)}.checklist-plugin-main .group .checkbox{border:1px solid var(--background-modifier-border-hover);min-height:18px;min-width:18px;height:18px;width:18px}.checklist-plugin-main .group .checkbox:hover{border:1px solid var(--background-modifier-border-focus)}.checklist-plugin-main button:active,.checklist-plugin-main button:focus,.checklist-plugin-main button:hover{box-shadow:none!important}.checklist-plugin-main button.collapse{padding:0}body:not(.is-mobile) .checklist-plugin-main button.collapse svg{width:18px;height:18px}.is-mobile .checklist-plugin-main .group-header .title{flex-grow:1;flex-shrink:0}.is-mobile .checklist-plugin-main button{width:auto}.is-mobile .checklist-plugin-main.markdown-preview-view ul{padding-inline-start:0}.is-mobile .workspace .view-content .checklist-plugin-main{padding-bottom:50px}body #cMenuModalBar{box-shadow:0 2px 20px var(--shadow-color)}body #cMenuModalBar .cMenuCommandItem{cursor:var(--cursor)}body #cMenuModalBar button.cMenuCommandItem:hover{background-color:var(--background-modifier-hover)}.MiniSettings-statusbar-button{padding-top:0;padding-bottom:0}.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet{height:auto;border:none;background:rgba(0,0,0,0);box-shadow:none;width:auto;padding:4px 6px;margin-left:0}.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet svg path{fill:var(--text-muted)}.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet:hover{background-color:var(--background-modifier-hover)}.dataview-inline-lists .markdown-preview-view .dataview-ul,.dataview-inline-lists .markdown-source-view .dataview-ul{--list-spacing:0}.dataview-inline-lists .markdown-preview-view .dataview-ol li:not(:last-child):after,.dataview-inline-lists .markdown-preview-view .dataview-ul li:not(:last-child):after,.dataview-inline-lists .markdown-source-view .dataview-ol li:not(:last-child):after,.dataview-inline-lists .markdown-source-view .dataview-ul li:not(:last-child):after{content:", "}.dataview-inline-lists .markdown-preview-view ul.dataview-ol>li::before,.dataview-inline-lists .markdown-preview-view ul.dataview-ul>li::before,.dataview-inline-lists .markdown-source-view ul.dataview-ol>li::before,.dataview-inline-lists .markdown-source-view ul.dataview-ul>li::before{display:none}.dataview-inline-lists .markdown-preview-view .dataview-ol li,.dataview-inline-lists .markdown-preview-view .dataview-ul li,.dataview-inline-lists .markdown-source-view .dataview-ol li,.dataview-inline-lists .markdown-source-view .dataview-ul li{display:inline-block;padding-inline-end:.25em;margin-inline-start:0}.markdown-rendered table.dataview{margin-block-start:0;margin-block-end:0}.markdown-rendered table.dataview .dataview-result-list-li{margin-inline-start:0}.markdown-preview-view .table-view-table>thead>tr>th,body .table-view-table>thead>tr>th{font-weight:400;font-size:var(--table-text-size);color:var(--text-muted);border-bottom:var(--table-border-width) solid var(--table-border-color);cursor:var(--cursor)}table.dataview ul.dataview-ul{list-style:none;padding-inline-start:0;margin-block-start:0em!important;margin-block-end:0em!important}.markdown-preview-view:not(.cards) .table-view-table>tbody>tr>td,.markdown-source-view.mod-cm6:not(.cards) .table-view-table>tbody>tr>td{max-width:var(--max-col-width)}body .dataview.small-text{color:var(--text-faint)}body:not(.row-hover) .dataview.task-list-basic-item:hover,body:not(.row-hover) .dataview.task-list-item:hover,body:not(.row-hover) .table-view-table>tbody>tr:hover{background-color:rgba(0,0,0,0)!important;box-shadow:none}body.row-hover .dataview.task-list-basic-item:hover,body.row-hover .dataview.task-list-item:hover,body.row-hover .table-view-table>tbody>tr:hover{background-color:var(--table-row-background-hover)!important}body .dataview-error{background-color:rgba(0,0,0,0)}.dataview.dataview-error,.markdown-source-view.mod-cm6 .cm-content .dataview.dataview-error{color:var(--text-muted)}body div.dataview-error-box{min-height:0;border:none;background-color:rgba(0,0,0,0);font-size:var(--table-text-size);border-radius:var(--radius-m);padding:15px 0;justify-content:flex-start}body div.dataview-error-box p{margin-block-start:0;margin-block-end:0;color:var(--text-faint)}table.dataview:has(+.dataview-error-box){display:none}.trim-cols .markdown-preview-view .table-view-table>tbody>tr>td,.trim-cols .markdown-source-view.mod-cm6 .table-view-table>tbody>tr>td,.trim-cols .markdown-source-view.mod-cm6 .table-view-table>thead>tr>th{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}ul .dataview .task-list-basic-item:hover,ul .dataview .task-list-item:hover{background-color:rgba(0,0,0,0);box-shadow:none}body .dataview.result-group{padding-left:0}body .dataview .inline-field-standalone-value,body .dataview.inline-field-key,body .dataview.inline-field-value{font-family:var(--font-text);font-size:calc(var(--font-adaptive-normal) - 2px);background:rgba(0,0,0,0);color:var(--text-muted)}body .dataview.inline-field-key{padding:0}body .dataview .inline-field-standalone-value{padding:0}body .dataview.inline-field-key::after{margin-left:3px;content:"|";color:var(--background-modifier-border)}body .dataview.inline-field-value{padding:0 1px 0 3px}.markdown-preview-view .block-language-dataview table.calendar th{border:none;cursor:default;background-image:none}.markdown-preview-view .block-language-dataview table.calendar .day{font-size:var(--font-adaptive-small)}.database-plugin__navbar,.database-plugin__scroll-container,.database-plugin__table{width:100%}.dbfolder-table-container{--font-adaptive-normal:var(--table-text-size);--font-size-text:12px}.database-plugin__cell_size_wide .database-plugin__td{padding:.15rem}.database-plugin__table{border-spacing:0!important}.MuiAppBar-root{background-color:rgba(0,0,0,0)!important}.workspace-leaf-content .view-content.dictionary-view-content{padding:0}div[data-type=dictionary-view] .contents{padding-bottom:2rem}div[data-type=dictionary-view] .results>.container{background-color:rgba(0,0,0,0);margin-top:0;max-width:none;padding:0 10px}div[data-type=dictionary-view] .error,div[data-type=dictionary-view] .errorDescription{text-align:left;font-size:var(--font-adaptive-small);padding:10px 12px 0;margin:0}div[data-type=dictionary-view] .results>.container h3{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);font-size:var(--font-adaptive-smallest);font-weight:500;padding:5px 7px 0 2px;margin-bottom:6px}div[data-type=dictionary-view] .container .main{border-radius:0;background-color:rgba(0,0,0,0);font-size:var(--font-adaptive-smaller);line-height:1.3;color:var(--text-muted);padding:5px 0 0}div[data-type=dictionary-view] .main .definition{padding:10px;border:1px solid var(--background-modifier-border);border-radius:5px;margin:10px 0 5px;background-color:var(--background-primary)}div[data-type=dictionary-view] .main .definition:last-child{border:1px solid var(--background-modifier-border)}div[data-type=dictionary-view] .main .synonyms{padding:10px 0 0}div[data-type=dictionary-view] .main .synonyms p{margin:0}div[data-type=dictionary-view] .main .definition>blockquote{margin:0}div[data-type=dictionary-view] .main .label{color:var(--text-normal);margin-bottom:2px;font-size:var(--font-adaptive-smaller);font-weight:500}div[data-type=dictionary-view] .main .mark{color:var(--text-normal);background-color:var(--text-selection);box-shadow:none}div[data-type=dictionary-view] .main>.opener{font-size:var(--font-adaptive-small);color:var(--text-normal);padding-left:5px}body .excalidraw,body .excalidraw.theme--dark{--color-primary-light:var(--text-selection);--color-primary:var(--interactive-accent);--color-primary-darker:var(--interactive-accent-hover);--color-primary-darkest:var(--interactive-accent-hover);--ui-font:var(--font-interface);--island-bg-color:var(--background-secondary);--icon-fill-color:var(--text-normal);--button-hover:var(--background-modifier-hover);--button-gray-1:var(--background-modifier-hover);--button-gray-2:var(--background-modifier-hover);--focus-highlight-color:var(--background-modifier-border-focus);--default-bg-color:var(--background-primary);--default-border-color:var(--background-modifier-border);--input-border-color:var(--background-modifier-border);--link-color:var(--text-accent);--overlay-bg-color:rgba(255, 255, 255, 0.88);--text-primary-color:var(--text-normal)}.git-view-body .opener{text-transform:uppercase;letter-spacing:.05em;font-size:var(--font-adaptive-smallest);font-weight:500;padding:5px 7px 5px 10px;margin-bottom:6px}.git-view-body .file-view .opener{text-transform:none;letter-spacing:normal;font-size:var(--font-adaptive-smallest);font-weight:400;padding:initial;margin-bottom:0}.git-view-body .file-view .opener .collapse-icon{display:flex!important;margin-left:-7px}.git-view-body{margin-top:6px}.git-view-body .file-view{margin-left:4px}.git-view-body .file-view main:hover{color:var(--text-normal)}.git-view-body .file-view .tools .type{display:none!important}.git-view-body .file-view .tools{opacity:0;transition:opacity .1s}.git-view-body .file-view main:hover>.tools{opacity:1}.git-view-body .staged{margin-bottom:12px}.git-view-body .opener.open{color:var(--text-normal)}div[data-type=git-view] .search-input-container{margin-left:0;width:100%}.git-view-body .opener .collapse-icon{display:none!important}.git-view-body main{background-color:var(--background-primary)!important;width:initial!important}.git-view-body .file-view>main:not(.topLevel){margin-left:7px}div[data-type=git-view] .commit-msg{min-height:2.5em!important;height:2.5em!important;padding:6.5px 8px!important}div[data-type=git-view] .search-input-clear-button{bottom:5.5px}.hider-vault .nav-folder.mod-root>.nav-folder-title{height:4px}.popover.hover-editor{--folding-offset:10px}.theme-dark,.theme-light{--he-title-bar-inactive-bg:var(--background-secondary);--he-title-bar-inactive-pinned-bg:var(--background-secondary);--he-title-bar-active-pinned-bg:var(--background-secondary);--he-title-bar-active-bg:var(--background-secondary);--he-title-bar-inactive-fg:var(--text-muted);--he-title-bar-active-fg:var(--text-normal);--he-title-bar-font-size:14px}.theme-light{--popover-shadow:0px 2.7px 3.1px rgba(0, 0, 0, 0.032),0px 5.9px 8.7px rgba(0, 0, 0, 0.052),0px 10.4px 18.1px rgba(0, 0, 0, 0.071),0px 20px 40px rgba(0, 0, 0, 0.11)}.theme-dark{--popover-shadow:0px 2.7px 3.1px rgba(0, 0, 0, 0.081),0px 5.9px 8.7px rgba(0, 0, 0, 0.131),0px 10.4px 18.1px rgba(0, 0, 0, 0.18),0px 20px 40px rgba(0, 0, 0, 0.28)}.popover.hover-editor:not(.snap-to-viewport){--max-width:92%}.popover.hover-editor:not(.snap-to-viewport) .markdown-preview-view,.popover.hover-editor:not(.snap-to-viewport) .markdown-source-view .cm-content{font-size:90%}body .popover.hover-editor:not(.is-loaded){box-shadow:var(--popover-shadow)}body .popover.hover-editor:not(.is-loaded) .markdown-preview-view{padding:15px 0 0 0}body .popover.hover-editor:not(.is-loaded) .view-content{height:100%;background-color:var(--background-primary)}body .popover.hover-editor:not(.is-loaded) .view-actions{height:auto}body .popover.hover-editor:not(.is-loaded) .popover-content{border:1px solid var(--background-modifier-border-hover)}body .popover.hover-editor:not(.is-loaded) .popover-titlebar{padding:0 4px}body .popover.hover-editor:not(.is-loaded) .popover-titlebar .popover-title{padding-left:4px;letter-spacing:-.02em;font-weight:var(--title-weight)}body .popover.hover-editor:not(.is-loaded) .markdown-embed{height:auto;font-size:unset;line-height:unset}body .popover.hover-editor:not(.is-loaded) .markdown-embed .markdown-preview-view{padding:0}body .popover.hover-editor:not(.is-loaded).show-navbar .popover-titlebar{border-bottom:var(--border-width) solid var(--background-modifier-border)}body .popover.hover-editor:not(.is-loaded) .popover-action,body .popover.hover-editor:not(.is-loaded) .popover-header-icon{cursor:var(--cursor);margin:4px 0;padding:4px 3px;border-radius:var(--radius-m);color:var(--icon-color)}body .popover.hover-editor:not(.is-loaded) .popover-action.mod-pin-popover,body .popover.hover-editor:not(.is-loaded) .popover-header-icon.mod-pin-popover{padding:4px 2px}body .popover.hover-editor:not(.is-loaded) .popover-action svg,body .popover.hover-editor:not(.is-loaded) .popover-header-icon svg{opacity:var(--icon-muted)}body .popover.hover-editor:not(.is-loaded) .popover-action:hover,body .popover.hover-editor:not(.is-loaded) .popover-header-icon:hover{background-color:var(--background-modifier-hover);color:var(--icon-color-hover)}body .popover.hover-editor:not(.is-loaded) .popover-action:hover svg,body .popover.hover-editor:not(.is-loaded) .popover-header-icon:hover svg{opacity:1;transition:opacity .1s ease-in-out}body .popover.hover-editor:not(.is-loaded) .popover-action.is-active,body .popover.hover-editor:not(.is-loaded) .popover-header-icon.is-active{color:var(--icon-color)}body.minimal-dark-black.theme-dark,body.minimal-dark-tonal.theme-dark,body.minimal-light-tonal.theme-light,body.minimal-light-white.theme-light,body.theme-dark{--kanban-border:0px}body:not(.is-mobile) .kanban-plugin__grow-wrap>textarea:focus{box-shadow:none}body:not(.minimal-icons-off) .kanban-plugin svg.cross{height:14px;width:14px}body .kanban-plugin__icon>svg,body .kanban-plugin__lane-settings-button svg{width:18px;height:18px}body .kanban-plugin{--kanban-border:var(--border-width);--interactive-accent:var(--text-selection);--interactive-accent-hover:var(--background-modifier-hover);--text-on-accent:var(--text-normal);background-color:var(--background-primary)}body .kanban-plugin__markdown-preview-view{font-family:var(--font-text)}body .kanban-plugin__board>div{margin:0 auto}body .kanban-plugin__checkbox-label{color:var(--text-muted)}body .kanban-plugin__item-markdown ul{margin:0}body .kanban-plugin__item-content-wrapper{box-shadow:none}body .kanban-plugin__grow-wrap::after,body .kanban-plugin__grow-wrap>textarea{padding:0;border:0;border-radius:0}body .kanban-plugin__grow-wrap::after,body .kanban-plugin__grow-wrap>textarea,body .kanban-plugin__item-title p,body .kanban-plugin__markdown-preview-view{font-size:var(--font-ui-medium);line-height:1.3}body .kanban-plugin__item{background-color:var(--background-primary)}body .kanban-plugin__item-title-wrapper{align-items:center}body .kanban-plugin__lane-form-wrapper{border:1px solid var(--background-modifier-border)}body .kanban-plugin__lane-header-wrapper{border-bottom:0}body .kanban-plugin__lane-header-wrapper .kanban-plugin__grow-wrap>textarea,body .kanban-plugin__lane-input-wrapper .kanban-plugin__grow-wrap>textarea,body .kanban-plugin__lane-title p{background:rgba(0,0,0,0);color:var(--text-normal);font-size:var(--font-ui-medium);font-weight:500}body .kanban-plugin__item-input-wrapper .kanban-plugin__grow-wrap>textarea{padding:0;border-radius:0;height:auto}body .kanban-plugin__item-form .kanban-plugin__grow-wrap{background-color:var(--background-primary)}body .kanban-plugin__item-input-wrapper .kanban-plugin__grow-wrap>textarea::placeholder{color:var(--text-faint)}body .kanban-plugin__item .kanban-plugin__item-edit-archive-button,body .kanban-plugin__item button.kanban-plugin__item-edit-button,body .kanban-plugin__item-settings-actions>button,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button.is-enabled,body .kanban-plugin__lane-action-wrapper>button{background:rgba(0,0,0,0);transition:color .1s ease-in-out}body .kanban-plugin__item .kanban-plugin__item-edit-archive-button:hover,body .kanban-plugin__item button.kanban-plugin__item-edit-button.is-enabled,body .kanban-plugin__item button.kanban-plugin__item-edit-button:hover,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button.is-enabled,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button:hover{color:var(--text-normal);transition:color .1s ease-in-out;background:rgba(0,0,0,0)}body .kanban-plugin__new-lane-button-wrapper{position:fixed;bottom:30px}body .kanban-plugin__lane-items>.kanban-plugin__placeholder:only-child{border:1px dashed var(--background-modifier-border);height:2em}body .kanban-plugin__item-postfix-button-wrapper{align-self:flex-start}body .kanban-plugin__item button.kanban-plugin__item-postfix-button.is-enabled,body .kanban-plugin__item button.kanban-plugin__item-prefix-button.is-enabled,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button.is-enabled{color:var(--text-muted)}body .kanban-plugin button{box-shadow:none;cursor:var(--cursor);height:auto}body .kanban-plugin__item button.kanban-plugin__item-postfix-button:hover,body .kanban-plugin__item button.kanban-plugin__item-prefix-button:hover,body .kanban-plugin__lane button.kanban-plugin__lane-settings-button:hover{background-color:var(--background-modifier-hover)}body .kanban-plugin__item-button-wrapper>button{color:var(--text-muted);font-weight:400;background:rgba(0,0,0,0);min-height:calc(var(--input-height) + 8px)}body .kanban-plugin__item-button-wrapper>button:hover{color:var(--text-normal);background:var(--background-modifier-hover)}body .kanban-plugin__item-button-wrapper>button:focus{box-shadow:none}body .kanban-plugin__item-button-wrapper{padding:1px 6px 5px;border-top:none}body .kanban-plugin__lane-setting-wrapper>div:last-child{border:none;margin:0}body .kanban-plugin.something-is-dragging{cursor:grabbing;cursor:-webkit-grabbing}body .kanban-plugin__item.is-dragging{box-shadow:0 5px 30px rgba(0,0,0,.15),0 0 0 2px var(--text-selection)}body .kanban-plugin__lane-items{border:var(--kanban-border) solid var(--background-modifier-border);padding:0 4px;margin:0;background-color:var(--background-secondary)}body .kanban-plugin__lane{background:rgba(0,0,0,0);padding:0;border:var(--border-width) solid transparent}body .kanban-plugin__lane.is-dragging{box-shadow:0 5px 30px rgba(0,0,0,.15);border:1px solid var(--background-modifier-border)}body .kanban-plugin__lane .kanban-plugin__item-button-wrapper{border-top-left-radius:8px;border-top-right-radius:8px;border-top:1px solid var(--background-modifier-border);border-bottom-width:0;padding:4px 4px 0 4px}body .kanban-plugin__lane.will-prepend .kanban-plugin__lane-items{border-radius:8px}body .kanban-plugin__lane.will-prepend .kanban-plugin__item-form{border-top:1px solid var(--background-modifier-border);border-radius:8px 8px 0 0;padding:4px 4px 0;border-bottom-width:0}body .kanban-plugin__lane.will-prepend .kanban-plugin__item-form+.kanban-plugin__lane-items{border-top-width:0;border-radius:0 0 8px 8px}body .kanban-plugin__lane.will-prepend .kanban-plugin__item-button-wrapper+.kanban-plugin__lane-items{border-top-width:0;border-radius:0 0 8px 8px}body .kanban-plugin__lane:not(.will-prepend) .kanban-plugin__item-button-wrapper,body .kanban-plugin__lane:not(.will-prepend) .kanban-plugin__item-form{border-top:none;border-radius:0 0 8px 8px}body .kanban-plugin__lane:not(.will-prepend) .kanban-plugin__item-button-wrapper{padding:0 4px 4px 4px;border-bottom-width:1px}body .kanban-plugin__lane:not(.will-prepend) .kanban-plugin__lane-items{border-bottom:none;border-top-width:1px;border-radius:8px 8px 0 0}body .kanban-plugin__item-form .kanban-plugin__item-input-wrapper{min-height:calc(var(--input-height) + 8px);display:flex;justify-content:center}body .kanban-plugin__item-button-wrapper,body .kanban-plugin__item-form{background-color:var(--background-secondary);border:var(--kanban-border) solid var(--background-modifier-border)}body .kanban-plugin__item-form{padding:0 4px 5px}body .kanban-plugin__markdown-preview-view ol,body .kanban-plugin__markdown-preview-view ol.contains-task-list .contains-task-list,body .kanban-plugin__markdown-preview-view ul,body .kanban-plugin__markdown-preview-view ul.contains-task-list .contains-task-list{padding-inline-start:1.8em!important}@media(max-width:400pt){.kanban-plugin__board{flex-direction:column!important}.kanban-plugin__lane{width:100%!important;margin-bottom:1rem!important}}body .cm-heading-marker{cursor:var(--cursor);padding-left:10px}.theme-light{--leaflet-buttons:var(--bg1);--leaflet-borders:rgba(0,0,0,0.1)}.theme-dark{--leaflet-buttons:var(--bg2);--leaflet-borders:rgba(255,255,255,0.1)}.leaflet-container{--image-radius:0}.leaflet-top{transition:top .1s linear}body .leaflet-container{background-color:var(--background-secondary);font-family:var(--font-interface)}.leaflet-control-attribution{display:none}.leaflet-popup-content{margin:10px}.block-language-leaflet{border-radius:var(--radius-m);overflow:hidden;border:var(--border-width) solid var(--background-modifier-border)}.map-wide .block-language-leaflet{border-radius:var(--radius-l)}.map-max .block-language-leaflet{border-radius:var(--radius-xl)}.workspace-leaf-content[data-type=obsidian-leaflet-map-view] .block-language-leaflet{border-radius:0;border:none}.map-100 .block-language-leaflet{border-radius:0;border-left:none;border-right:none}.block-language-leaflet .leaflet-control-expandable-list .input-container .input-item>input{appearance:none}body .block-language-leaflet .leaflet-bar.disabled>a{background-color:rgba(0,0,0,0);opacity:.3}body .leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}body .leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}body .leaflet-control-layers-toggle{border-radius:4px}body .block-language-leaflet .leaflet-control-expandable,body .block-language-leaflet .leaflet-control-has-actions .control-actions.expanded,body .block-language-leaflet .leaflet-distance-control,body .leaflet-bar,body .leaflet-bar a,body .leaflet-control-layers-expanded,body .leaflet-control-layers-toggle{background-color:var(--leaflet-buttons);color:var(--text-muted);border:none;user-select:none}body .leaflet-bar a.leaflet-disabled,body .leaflet-bar a.leaflet-disabled:hover{background-color:var(--leaflet-buttons);color:var(--text-faint);opacity:.6;cursor:not-allowed}body .leaflet-control a{cursor:var(--cursor);color:var(--text-normal)}body .leaflet-bar a:hover{background-color:var(--background-modifier-hover);color:var(--text-normal);border:none}body .leaflet-touch .leaflet-control-layers{background-color:var(--leaflet-buttons)}body .leaflet-touch .leaflet-bar,body .leaflet-touch .leaflet-control-layers{border-radius:5px;box-shadow:2px 0 8px 0 rgba(0,0,0,.1);border:1px solid var(--ui1)}body .block-language-leaflet .leaflet-control-has-actions .control-actions{box-shadow:0;border:1px solid var(--ui1)}body .leaflet-control-expandable-list .leaflet-bar{box-shadow:none;border-radius:0}body .block-language-leaflet .leaflet-distance-control{padding:4px 10px;height:auto;cursor:var(--cursor)!important}body .block-language-leaflet .leaflet-marker-link-popup>.leaflet-popup-content-wrapper>*{font-size:var(--font-adaptive-small);font-family:var(--font-interface)}body .block-language-leaflet .leaflet-marker-link-popup>.leaflet-popup-content-wrapper{padding:4px 10px!important}.leaflet-marker-icon svg path{stroke:var(--background-primary);stroke-width:18px}.map-view-marker-name{font-weight:400}.workspace-leaf-content[data-type=map] .graph-controls{background-color:var(--background-primary)}body:not(.is-mobile):not(.plugin-sliding-panes-rotate-header) .workspace-split.mod-root .workspace-leaf-content[data-type=map] .view-header{position:fixed;background:rgba(0,0,0,0)!important;width:100%;z-index:99}body:not(.plugin-sliding-panes-rotate-header) .workspace-leaf-content[data-type=map] .view-header-title{display:none}body:not(.is-mobile):not(.plugin-sliding-panes-rotate-header) .workspace-leaf-content[data-type=map] .view-actions{background:rgba(0,0,0,0)}body:not(.is-mobile):not(.plugin-sliding-panes-rotate-header) .workspace-leaf-content[data-type=map] .view-content{height:100%}body:not(.is-mobile):not(.plugin-sliding-panes-rotate-header) .workspace-leaf-content[data-type=map] .leaflet-top.leaflet-right{top:var(--header-height)}.obsidian-metatable{--metatable-font-size:calc(var(--font-adaptive-normal) - 2px);--metatable-font-family:var(--font-interface);--metatable-background:transparent;--metatable-foreground:var(--text-faint);--metatable-key-background:transparent;--metatable-key-border-width:0;--metatable-key-border-color:transparent;--metatable-value-background:transparent;padding-bottom:.5rem}.obsidian-metatable::part(key),.obsidian-metatable::part(value){border-bottom:0 solid var(--background-modifier-border);padding:.1rem 0;text-overflow:ellipsis;overflow:hidden}.obsidian-metatable::part(key){font-weight:400;color:var(--tx3);font-size:calc(var(--font-adaptive-normal) - 2px)}.obsidian-metatable::part(value){font-size:calc(var(--font-adaptive-normal) - 2px);color:var(--tx1)}body .NLT__header-menu-header-container{font-size:85%}body .NLT__button{background:rgba(0,0,0,0);box-shadow:none;color:var(--text-muted)}body .NLT__button:active,body .NLT__button:focus,body .NLT__button:hover{background:rgba(0,0,0,0);color:var(--text-normal);box-shadow:none}.NLT__app .NLT__button{background:rgba(0,0,0,0);border:1px solid var(--background-modifier-border);box-shadow:0 .5px 1px 0 var(--btn-shadow-color);color:var(--text-muted);padding:2px 8px}.NLT__app .NLT__button:active,.NLT__app .NLT__button:focus,.NLT__app .NLT__button:hover{background:rgba(0,0,0,0);border-color:var(--background-modifier-border-hover);color:var(--text-normal);box-shadow:0 .5px 1px 0 var(--btn-shadow-color)}.NLT__td:nth-last-child(2),.NLT__th:nth-last-child(2){border-right:0}.NLT__app .NLT__td:last-child,.NLT__app .NLT__th:last-child{padding-right:0}.NLT__app .NLT__th{background-image:none!important}.NLT__app th.NLT__selectable:hover{background-color:rgba(0,0,0,0);cursor:var(--cursor)}.NLT__menu .NLT__menu-container{background-color:var(--background-secondary)}.NLT__menu .NLT__header-menu-item{font-size:var(--font-adaptive-small)}.NLT__menu .NLT__header-menu{padding:6px 4px}.NLT__menu .NLT__drag-menu{font-size:var(--font-adaptive-small);padding:6px 4px}.NLT__menu svg{color:var(--text-faint);margin-right:6px}.NLT__menu .NLT__selectable:hover,.NLT__menu .NLT__selected{background:rgba(0,0,0,0)}.NLT__menu .NLT__selected>.NLT__selectable{background-color:var(--background-modifier-hover)}.NLT__menu .NLT__selectable{cursor:var(--cursor)}.NLT__menu div.NLT__selectable{min-width:110px;border-radius:var(--radius-m);padding:3px 8px 3px 4px;margin:1px 2px 1px;cursor:var(--cursor);height:auto;line-height:20px}.NLT__menu div.NLT__selectable:hover{background-color:var(--background-modifier-hover)}.NLT__menu .NLT__textarea{font-size:var(--table-text-size)}.NLT__tfoot tr:hover td{background-color:rgba(0,0,0,0)}.modal .quickAddPrompt>h1,.modal .quickAddYesNoPrompt h1{margin-top:0;text-align:left!important;font-size:var(--h1);font-weight:600}.modal .quickAddYesNoPrompt p{text-align:left!important}.modal .quickAddYesNoPrompt button{font-size:var(--font-ui-small)}.modal .yesNoPromptButtonContainer{font-size:var(--font-ui-small);justify-content:flex-end}.quickAddModal .modal-content{padding:20px 2px 5px}div#quick-explorer{display:flex}div#quick-explorer span.explorable{align-items:center;color:var(--text-muted);display:flex;font-size:var(--font-adaptive-smaller);line-height:16px}div#quick-explorer span.explorable:last-of-type{font-size:var(--font-adaptive-smaller)}div#quick-explorer span.explorable.selected,div#quick-explorer span.explorable:hover{background-color:unset!important}div#quick-explorer span.explorable.selected .explorable-name,div#quick-explorer span.explorable:hover .explorable-name{color:var(--text-normal)}div#quick-explorer span.explorable.selected .explorable-separator,div#quick-explorer span.explorable:hover .explorable-separator{color:var(--text-normal)}div#quick-explorer .explorable-name{padding:0 4px;border-radius:4px}div#quick-explorer .explorable-separator::before{content:" ›"!important;font-size:1.3em;font-weight:400;margin:0}body:not(.colorful-active) .qe-popup-menu .menu-item:not(.is-disabled):not(.is-label).selected,body:not(.colorful-active) .qe-popup-menu .menu-item:not(.is-disabled):not(.is-label):hover{background-color:var(--background-modifier-hover);color:var(--text-normal)}body:not(.colorful-active) .qe-popup-menu .menu-item:not(.is-disabled):not(.is-label).selected .menu-item-icon,body:not(.colorful-active) .qe-popup-menu .menu-item:not(.is-disabled):not(.is-label):hover .menu-item-icon{color:var(--text-normal)}.workspace-leaf-content[data-type=recent-files] .view-content{padding-top:10px}.mod-root .workspace-leaf-content[data-type=reminder-list] main{max-width:var(--max-width);margin:0 auto;padding:0}.modal .reminder-actions .later-select{font-size:var(--font-settings-small);vertical-align:bottom;margin-left:3px}.modal .reminder-actions .icon{line-height:1}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main{margin:0 auto;padding:15px}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .group-name{font-weight:500;color:var(--text-muted);font-size:var(--font-adaptive-small);padding-bottom:.5em;border-bottom:1px solid var(--background-modifier-border)}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .reminder-group .reminder-list-item{line-height:1.3;font-size:var(--font-adaptive-small)}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .reminder-group .no-reminders{color:var(--text-faint)}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .reminder-group .reminder-time{font-family:var(--font-text);font-size:var(--font-adaptive-small)}:not(.mod-root) .workspace-leaf-content[data-type=reminder-list] main .reminder-group .reminder-file{color:var(--text-faint)}body .modal .dtchooser{background-color:rgba(0,0,0,0)}body .modal .dtchooser .reminder-calendar .year-month{font-weight:400;font-size:var(--font-adaptive-normal);padding-bottom:10px}body .modal .dtchooser .reminder-calendar .year-month .month,body .modal .dtchooser .reminder-calendar .year-month .year{color:var(--text-normal)}body .modal .dtchooser .reminder-calendar .year-month .month-nav:first-child{background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E")}body .modal .dtchooser .reminder-calendar .year-month .month-nav:last-child{background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z' clip-rule='evenodd' /%3E%3C/svg%3E")}body .modal .dtchooser .reminder-calendar .year-month .month-nav{-webkit-mask-size:20px 20px;-webkit-mask-repeat:no-repeat;-webkit-mask-position:50% 50%;color:var(--text-faint);cursor:var(--cursor);border-radius:var(--radius-m);padding:0;width:30px;display:inline-block}body .modal .dtchooser .reminder-calendar .year-month .month-nav:hover{color:var(--text-muted)}body .modal .dtchooser .reminder-calendar th{padding:.5em 0;font-size:var(--font-adaptive-smallest);font-weight:500;text-transform:uppercase;letter-spacing:.1em}body .modal .dtchooser .reminder-calendar .calendar-date{transition:background-color .1s ease-in;padding:.3em 0;border-radius:var(--radius-m)}body .modal .dtchooser .reminder-calendar .calendar-date.is-selected,body .modal .dtchooser .reminder-calendar .calendar-date:hover{transition:background-color .1s ease-in;background-color:var(--background-modifier-hover)!important}body .modal .dtchooser .reminder-calendar .calendar-date.is-selected{font-weight:var(--bold-weight);color:var(--text-accent)!important}body .markdown-preview-view th,body .markdown-source-view.mod-cm6 .dataview.table-view-table thead.table-view-thead tr th,body .table-view-table>thead>tr>th{cursor:var(--cursor);background-image:none}.markdown-source-view.mod-cm6 th{background-repeat:no-repeat;background-position:right}.style-settings-container[data-level="2"]{background:var(--background-secondary);border:1px solid var(--ui1);border-radius:5px;padding:10px 20px;margin:2px 0 2px -20px}.workspace-leaf-content[data-type=style-settings] div[data-id=instructions] .setting-item-name{display:none}.workspace-leaf-content[data-type=style-settings] div[data-id=instructions] .setting-item-description{color:var(--text-normal);font-size:var(--font-adaptive-smaller);padding-bottom:.5em}.workspace-leaf-content[data-type=style-settings] .view-content{padding:var(--size-4-4) 0}.workspace-leaf-content[data-type=style-settings] .view-content>div{width:var(--line-width);max-width:var(--max-width);margin:0 auto}.workspace-leaf-content[data-type=style-settings] .style-settings-heading[data-level="0"] .setting-item-name{padding-left:17px}.workspace-leaf-content[data-type=style-settings] .setting-item{max-width:100%;margin:0 auto}.workspace-leaf-content[data-type=style-settings] .setting-item-name{position:relative}.workspace-leaf-content[data-type=style-settings] .style-settings-collapse-indicator{position:absolute;left:0}.setting-item-heading.style-settings-heading,.style-settings-container .style-settings-heading{cursor:var(--cursor)}.modal.mod-settings .setting-item .pickr button.pcr-button{box-shadow:none;border-radius:40px;height:24px;width:24px}.setting-item .pickr .pcr-button:after,.setting-item .pickr .pcr-button:before{border-radius:40px;box-shadow:none;border:none}.setting-item.setting-item-heading.style-settings-heading.is-collapsed{border-bottom:1px solid var(--background-modifier-border)}.setting-item.setting-item-heading.style-settings-heading{border:0;padding:10px 0 5px;margin-bottom:0}.setting-item .style-settings-export,.setting-item .style-settings-import{text-decoration:none;font-size:var(--font-ui-small);font-weight:500;color:var(--text-muted);margin:0;padding:2px 8px;border-radius:5px;cursor:var(--cursor)}.setting-item .style-settings-export:hover,.setting-item .style-settings-import:hover{background-color:var(--background-modifier-hover);color:var(--text-normal);cursor:var(--cursor)}.mod-root .workspace-leaf-content[data-type=style-settings] .style-settings-container .setting-item:not(.setting-item-heading){flex-direction:row;align-items:center;padding:.5em 0}.workspace-split:not(.mod-root) .workspace-leaf-content[data-type=style-settings] .setting-item-name{font-size:var(--font-adaptive-smaller)}.themed-color-wrapper>div+div{margin-top:0;margin-left:6px}.theme-light .themed-color-wrapper>.theme-light{background-color:rgba(0,0,0,0)}.theme-light .themed-color-wrapper>.theme-dark{background-color:rgba(0,0,0,.8)}.theme-dark .themed-color-wrapper>.theme-dark{background-color:rgba(0,0,0,0)}@media(max-width:400pt){.workspace-leaf-content[data-type=style-settings] .setting-item-name{font-size:var(--font-adaptive-small)}.workspace-leaf-content[data-type=style-settings] .setting-item-info:has(.search-input-container){width:100%;margin-right:0}}body .todoist-query-title{display:inline;font-size:var(--h4);font-variant:var(--h4-variant);letter-spacing:.02em;color:var(--h4-color);font-weight:var(--h4-weight);font-style:var(--h4-style)}body .is-live-preview .block-language-todoist{padding-left:0}ul.todoist-task-list>li.task-list-item .task-list-item-checkbox{margin:0}body .todoist-refresh-button{display:inline;float:right;background:rgba(0,0,0,0);padding:5px 6px 0;margin-right:0}body .is-live-preview .todoist-refresh-button{margin-right:30px}body .todoist-refresh-button:hover{box-shadow:none;background-color:var(--background-modifier-hover)}.todoist-refresh-button svg{width:15px;height:15px;opacity:var(--icon-muted)}ul.todoist-task-list{margin-left:-.25em}.is-live-preview ul.todoist-task-list{padding-left:0;margin-left:.5em;margin-block-start:0;margin-block-end:0}.contains-task-list.todoist-task-list .task-metadata{font-size:var(--font-adaptive-small);display:flex;color:var(--text-muted);justify-content:space-between;margin-left:.1em;margin-bottom:.25rem}.is-live-preview .contains-task-list.todoist-task-list .task-metadata{padding-left:calc(var(--checkbox-size) + .6em)}.todoist-task-list .task-date.task-overdue{color:var(--color-orange)}body .todoist-p1>input[type=checkbox]{border:1px solid var(--color-red)}body .todoist-p1>input[type=checkbox]:hover{opacity:.8}body .todoist-p2>input[type=checkbox]{border:1px solid var(--color-yellow)}body .todoist-p2>input[type=checkbox]:hover{opacity:.8}body .todoist-p3>input[type=checkbox]{border:1px solid var(--color-blue)}body .todoist-p3>input[type=checkbox]:hover{opacity:.8}body.theme-light{--color-axis-label:var(--tx1);--color-tick-label:var(--tx2);--color-dot-fill:var(--ax1);--color-line:var(--ui1)}.tracker-axis-label{font-family:var(--font-interface)}.tracker-axis{color:var(--ui2)}.tabs-manager .chat-view{--assistant-message-color:var(--background-primary);--padding-md:var(--size-4-2) var(--size-4-3);--padding-lg:var(--size-4-3) var(--size-4-3);--chat-box-color:var(--background-primary)}.tabs-manager .chat-view .ow-dialogue-timeline{padding:var(--size-4-4) var(--size-4-3) var(--size-4-8)}.tabs-manager .chat-view .ow-dialogue-timeline .ow-message-bubble .ow-content-wrapper{box-shadow:none;border-color:var(--background-modifier-border);border-radius:var(--radius-m)}.tabs-manager .chat-view .ow-dialogue-timeline .ow-message-bubble.ow-user-bubble .ow-content-wrapper{border-width:0;background-color:var(--interactive-accent)}.tabs-manager .chat-view .input-area .input-form .chat-box{border-radius:0;box-shadow:none;grid-row:1;grid-column:1/3;height:100px;border:none;padding:var(--size-4-3) var(--size-4-4) var(--size-4-2)}.tabs-manager .chat-view .input-area .input-form .chat-box:hover{height:100px}.tabs-manager .chat-view .input-area{padding:0;gap:0}.tabs-manager .chat-view .header{border-bottom:1px solid var(--background-modifier-border)}.tabs-manager .chat-view .input-form{border-top:1px solid var(--background-modifier-border)}.tabs-manager .chat-view .input-area .input-form .chat-box .info-bar span{color:var(--text-faint)}.tabs-manager .chat-view .input-area .input-form .btn-new-chat{display:none}.zoom-plugin-header{--link-color:var(--text-normal);--link-decoration:none;font-size:var(--font-ui-small);padding:0;justify-content:center;margin:var(--size-4-2) auto;max-width:var(--max-width)}.zoom-plugin-header>.zoom-plugin-title{text-decoration:none;max-width:15em;overflow:hidden}.zoom-plugin-header>.zoom-plugin-delimiter{color:var(--text-faint);padding:0 var(--size-4-1)}.theme-dark.minimal-atom-dark{--color-red-rgb:225,109,118;--color-orange-rgb:209,154,102;--color-yellow-rgb:206,193,103;--color-green-rgb:152,195,121;--color-cyan-rgb:88,182,194;--color-blue-rgb:98,175,239;--color-purple-rgb:198,120,222;--color-pink-rgb:225,109,118;--color-red:#e16d76;--color-orange:#d19a66;--color-yellow:#cec167;--color-green:#98c379;--color-cyan:#58b6c2;--color-blue:#62afef;--color-purple:#c678de;--color-pink:#e16d76}.theme-light.minimal-atom-light{--color-red-rgb:228,87,73;--color-orange-rgb:183,107,2;--color-yellow-rgb:193,131,2;--color-green-rgb:80,161,80;--color-cyan-rgb:13,151,179;--color-blue-rgb:98,175,239;--color-purple-rgb:166,38,164;--color-pink-rgb:228,87,73;--color-red:#e45749;--color-orange:#b76b02;--color-yellow:#c18302;--color-green:#50a150;--color-cyan:#0d97b3;--color-blue:#62afef;--color-purple:#a626a4;--color-pink:#e45749}.theme-light.minimal-atom-light{--base-h:106;--base-s:0%;--base-l:98%;--accent-h:231;--accent-s:76%;--accent-l:62%;--bg1:#fafafa;--bg2:#eaeaeb;--bg3:rgba(0,0,0,.1);--ui1:#dbdbdc;--ui2:#d8d8d9;--tx1:#232324;--tx2:#8e8e90;--tx3:#a0a1a8;--hl1:rgba(180,180,183,0.3);--hl2:rgba(209,154,102,0.35)}.theme-light.minimal-atom-light.minimal-light-white{--bg3:#eaeaeb}.theme-dark.minimal-atom-dark,.theme-light.minimal-atom-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-atom-light.minimal-light-contrast .theme-dark,.theme-light.minimal-atom-light.minimal-light-contrast .titlebar,.theme-light.minimal-atom-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-atom-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-atom-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:220;--base-s:12%;--base-l:18%;--accent-h:220;--accent-s:86%;--accent-l:65%;--bg1:#282c34;--bg2:#21252c;--bg3:#3a3f4b;--divider-color:#181a1f;--tab-outline-color:#181a1f;--tx1:#d8dae1;--tx2:#898f9d;--tx3:#5d6370;--hl1:rgba(114,123,141,0.3);--hl2:rgba(209,154,102,0.3);--sp1:#fff}.theme-dark.minimal-atom-dark.minimal-dark-black{--base-d:5%;--bg3:#282c34;--divider-color:#282c34;--tab-outline-color:#282c34}.theme-light.minimal-ayu-light{--color-red-rgb:230,80,80;--color-orange-rgb:250,141,62;--color-yellow-rgb:242,174,73;--color-green-rgb:108,191,67;--color-cyan-rgb:76,191,153;--color-blue-rgb:57,158,230;--color-purple-rgb:163,122,204;--color-pink-rgb:255,115,131;--color-red:#e65050;--color-orange:#fa8d3e;--color-yellow:#f2ae49;--color-green:#6CBF43;--color-cyan:#4cbf99;--color-blue:#399ee6;--color-purple:#a37acc;--color-pink:#ff7383}.theme-dark.minimal-ayu-dark{--color-red-rgb:255,102,102;--color-orange-rgb:250,173,102;--color-yellow-rgb:255,209,55;--color-green-rgb:135,217,108;--color-cyan-rgb:149,230,203;--color-blue-rgb:115,208,255;--color-purple-rgb:223,191,255;--color-pink-rgb:242,121,131;--color-red:#ff6666;--color-orange:#ffad66;--color-yellow:#ffd137;--color-green:#87D96C;--color-cyan:#95e6cb;--color-blue:#73d0ff;--color-purple:#dfbfff;--color-pink:#f27983}.theme-light.minimal-ayu-light{--base-h:210;--base-s:17%;--base-l:98%;--accent-h:36;--accent-s:100%;--accent-l:50%;--bg1:#fff;--bg2:#f8f9fa;--bg3:rgba(209,218,224,0.5);--ui1:#E6EAED;--tx1:#5C6165;--tx2:#8A9199;--tx3:#AAAEB0;--hl1:rgba(3,91,214,0.15)}.theme-dark.minimal-ayu-dark,.theme-light.minimal-ayu-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-ayu-light.minimal-light-contrast .theme-dark,.theme-light.minimal-ayu-light.minimal-light-contrast .titlebar,.theme-light.minimal-ayu-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-ayu-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-ayu-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:222;--base-s:22%;--base-l:15%;--accent-h:35;--accent-s:100%;--accent-l:60%;--bg1:#232937;--bg2:#1E2431;--bg3:rgba(51,61,80,0.5);--ui1:#333C4A;--ui2:#333C4A;--ui3:#333C4A;--tx1:#cccac2;--tx2:#707A8C;--tx3:#495063;--hl1:rgba(64,159,255,0.25)}.theme-dark.minimal-ayu-dark.minimal-dark-black{--accent-h:40;--accent-s:75%;--accent-l:61%;--bg3:#0E1017;--tx1:#BFBDB6;--divider-color:#11151C;--tab-outline-color:#11151C}.theme-light.minimal-catppuccin-light{--color-red-rgb:230,69,83;--color-orange-rgb:254,100,12;--color-yellow-rgb:223,142,29;--color-green-rgb:64,160,43;--color-cyan-rgb:23,146,154;--color-blue-rgb:33,102,246;--color-purple-rgb:137,56,239;--color-pink-rgb:234,119,203;--color-red:#E64553;--color-orange:#FE640C;--color-yellow:#DF8E1D;--color-green:#40A02B;--color-cyan:#17929A;--color-blue:#2166F6;--color-purple:#8938EF;--color-pink:#EA77CB}.theme-dark.minimal-catppuccin-dark{--color-red-rgb:235,153,156;--color-orange-rgb:239,160,118;--color-yellow-rgb:229,200,144;--color-green-rgb:166,209,138;--color-cyan-rgb:129,200,190;--color-blue-rgb:140,170,238;--color-purple-rgb:202,158,230;--color-pink-rgb:244,185,229;--color-red:#EB999C;--color-orange:#EFA076;--color-yellow:#E5C890;--color-green:#A6D18A;--color-cyan:#81C8BE;--color-blue:#8CAAEE;--color-purple:#CA9EE6;--color-pink:#F4B9E5}.theme-light.minimal-catppuccin-light{--base-h:228;--base-s:20%;--base-l:95%;--accent-h:11;--accent-s:59%;--accent-l:67%;--bg1:#F0F1F5;--bg2:#DCE0E8;--bg3:hsla(228,11%,65%,.25);--ui1:#CCD0DA;--ui2:#BCC0CC;--ui3:#ACB0BE;--tx1:#4D4F69;--tx2:#5D5F77;--tx3:#8D8FA2;--hl1:rgba(172,176,190,.3);--hl2:rgba(223,142,29,.3)}.theme-light.minimal-catppuccin-light.minimal-light-tonal{--bg2:#DCE0E8}.theme-light.minimal-catppuccin-light.minimal-light-white{--bg3:#F0F1F5;--ui1:#DCE0E8}.theme-dark.minimal-catppuccin-dark,.theme-light.minimal-catppuccin-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-catppuccin-light.minimal-light-contrast .theme-dark,.theme-light.minimal-catppuccin-light.minimal-light-contrast .titlebar,.theme-light.minimal-catppuccin-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-catppuccin-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-catppuccin-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:229;--base-s:19%;--base-l:23%;--accent-h:10;--accent-s:57%;--accent-l:88%;--bg1:#303446;--bg2:#242634;--bg3:hsla(229,13%,52%,0.25);--ui1:#41455A;--ui2:#51576D;--ui3:#626880;--tx1:#C6D0F5;--tx2:#A6ADCE;--tx3:#848BA7;--sp1:#242634;--hl1:rgba(98,104,128,.5);--hl2:rgba(223,142,29,.4)}.theme-dark.minimal-catppuccin-dark.minimal-dark-black{--ui1:#303446;--hl2:rgba(223,142,29,.5)}.theme-dark.minimal-dracula-dark{--color-red-rgb:255,85,85;--color-orange-rgb:255,184,108;--color-yellow-rgb:241,250,140;--color-green-rgb:80,250,123;--color-cyan-rgb:139,233,253;--color-blue-rgb:98,114,164;--color-purple-rgb:189,147,249;--color-pink-rgb:255,121,198;--color-red:#ff5555;--color-orange:#ffb86c;--color-yellow:#f1fa8c;--color-green:#50fa7b;--color-cyan:#8be9fd;--color-blue:#6272a4;--color-purple:#bd93f9;--color-pink:#ff79c6}.theme-dark.minimal-dracula-dark,.theme-light.minimal-dracula-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-dracula-light.minimal-light-contrast .theme-dark,.theme-light.minimal-dracula-light.minimal-light-contrast .titlebar,.theme-light.minimal-dracula-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-dracula-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-dracula-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:232;--base-s:16%;--base-l:19%;--accent-h:265;--accent-s:89%;--accent-l:78%;--bg1:#282a37;--bg2:#21222c;--ui2:#44475a;--ui3:#6272a4;--tx1:#f8f8f2;--tx2:#949FBE;--tx3:#6272a4;--hl1:rgba(134, 140, 170, 0.3);--hl2:rgba(189, 147, 249, 0.35)}.theme-dark.minimal-dracula-dark.minimal-dark-black{--ui1:#282a36}.theme-dark.minimal-eink-dark,.theme-light.minimal-eink-light{--collapse-icon-color:var(--text-normal);--icon-color-active:var(--bg1);--icon-color-hover:var(--bg1);--icon-color-focused:var(--bg1);--icon-opacity:1;--indentation-guide-color:var(--tx1);--indentation-guide-color-active:var(--tx1);--indentation-guide-width-active:3px;--interactive-normal:var(--bg1);--input-shadow:0 0 0 1px var(--tx1);--link-unresolved-opacity:1;--link-unresolved-decoration-style:dashed;--link-unresolved-decoration-color:var(--tx1);--metadata-label-background-active:var(--bg1);--metadata-input-background-active:var(--bg1);--modal-border-color:var(--tx1);--modal-border-width:2px;--prompt-border-color:var(--tx1);--prompt-border-width:2px;--calendar-dot-active:var(--bg1);--calendar-dot-today:var(--bg1);--calendar-text-active:var(--bg1);--tag-border-width:1.25px;--tag-background:transparent;--tag-background-hover:transparent;--tag-border-color:var(--tx1);--tag-border-color-hover:var(--tx1);--text-on-accent:var(--bg1);--text-on-accent-inverted:var(--bg1);--text-selection:var(--tx1);--vault-profile-color:var(--tx1);--nav-item-color-active:var(--bg1);--nav-item-color-hover:var(--bg1)}.theme-dark.minimal-eink-dark ::selection,.theme-dark.minimal-eink-dark button:hover,.theme-light.minimal-eink-light ::selection,.theme-light.minimal-eink-light button:hover{color:var(--bg1)}.theme-dark.minimal-eink-dark .nav-files-container,.theme-light.minimal-eink-light .nav-files-container{--nav-item-color-active:var(--bg1)}.theme-dark.minimal-eink-dark .tree-item-self:hover,.theme-light.minimal-eink-light .tree-item-self:hover{--nav-collapse-icon-color:var(--bg1)}.theme-dark.minimal-eink-dark.is-focused .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.theme-dark.minimal-eink-dark.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.theme-dark.minimal-eink-dark.tabs-modern,.theme-light.minimal-eink-light.is-focused .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-icon,.theme-light.minimal-eink-light.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.theme-light.minimal-eink-light.tabs-modern{--minimal-tab-text-color-active:var(--bg1);--tab-text-color-focused:var(--bg1);--tab-text-color-focused-active-current:var(--bg1)}.theme-dark.minimal-eink-dark .setting-hotkey,.theme-light.minimal-eink-light .setting-hotkey{background-color:rgba(0,0,0,0);border:1px solid var(--tx1)}.theme-dark.minimal-eink-dark .suggestion-container,.theme-light.minimal-eink-light .suggestion-container{border-width:3px}.theme-dark.minimal-eink-dark .cm-s-obsidian span.cm-inline-code,.theme-dark.minimal-eink-dark .markdown-rendered code,.theme-light.minimal-eink-light .cm-s-obsidian span.cm-inline-code,.theme-light.minimal-eink-light .markdown-rendered code{font-weight:600}.theme-dark.minimal-eink-dark .tree-item-self.is-active,.theme-dark.minimal-eink-dark .tree-item-self:hover,.theme-light.minimal-eink-light .tree-item-self.is-active,.theme-light.minimal-eink-light .tree-item-self:hover{--icon-color:var(--bg1)}.theme-dark.minimal-eink-dark .metadata-property-icon,.theme-light.minimal-eink-light .metadata-property-icon{--icon-color-focused:var(--tx1)}.theme-dark.minimal-eink-dark .checkbox-container,.theme-light.minimal-eink-light .checkbox-container{background-color:var(--bg1);box-shadow:0 0 0 1px var(--tx1);--toggle-thumb-color:var(--tx1)}.theme-dark.minimal-eink-dark .checkbox-container.is-enabled,.theme-light.minimal-eink-light .checkbox-container.is-enabled{background-color:var(--tx1);--toggle-thumb-color:var(--bg1)}.theme-dark.minimal-eink-dark.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:not(:hover),.theme-dark.minimal-eink-dark.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active,.theme-light.minimal-eink-light.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active:not(:hover),.theme-light.minimal-eink-light.tabs-modern .mod-root .workspace-tabs:not(.mod-stacked) .workspace-tab-header.is-active{background-color:var(--tx1)}.theme-dark.minimal-eink-dark #calendar-container .reset-button:hover,.theme-dark.minimal-eink-dark .cm-s-obsidian span.cm-formatting-highlight,.theme-dark.minimal-eink-dark .cm-s-obsidian span.cm-highlight,.theme-dark.minimal-eink-dark .community-item .suggestion-highlight,.theme-dark.minimal-eink-dark .dropdown:hover,.theme-dark.minimal-eink-dark .horizontal-tab-nav-item:hover,.theme-dark.minimal-eink-dark .markdown-rendered mark,.theme-dark.minimal-eink-dark .mod-root .workspace-tab-header-status-icon,.theme-dark.minimal-eink-dark .mod-root .workspace-tab-header:hover,.theme-dark.minimal-eink-dark .search-result-file-match:hover,.theme-dark.minimal-eink-dark .search-result-file-matched-text,.theme-dark.minimal-eink-dark .status-bar .plugin-sync:hover .sync-status-icon.mod-success,.theme-dark.minimal-eink-dark .status-bar .plugin-sync:hover .sync-status-icon.mod-working,.theme-dark.minimal-eink-dark .status-bar-item.mod-clickable:hover,.theme-dark.minimal-eink-dark .suggestion-item.is-selected,.theme-dark.minimal-eink-dark .text-icon-button:hover,.theme-dark.minimal-eink-dark .vertical-tab-nav-item:hover,.theme-dark.minimal-eink-dark button.mod-cta,.theme-dark.minimal-eink-dark select:hover,.theme-dark.minimal-eink-dark.is-focused.tabs-modern .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-title,.theme-dark.minimal-eink-dark.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.theme-dark.minimal-eink-dark.labeled-nav .mod-left-split .mod-top .workspace-tab-header:hover,.theme-dark.minimal-eink-dark:not(.colorful-active) .horizontal-tab-nav-item.is-active,.theme-dark.minimal-eink-dark:not(.colorful-active) .vertical-tab-nav-item.is-active,.theme-light.minimal-eink-light #calendar-container .reset-button:hover,.theme-light.minimal-eink-light .cm-s-obsidian span.cm-formatting-highlight,.theme-light.minimal-eink-light .cm-s-obsidian span.cm-highlight,.theme-light.minimal-eink-light .community-item .suggestion-highlight,.theme-light.minimal-eink-light .dropdown:hover,.theme-light.minimal-eink-light .horizontal-tab-nav-item:hover,.theme-light.minimal-eink-light .markdown-rendered mark,.theme-light.minimal-eink-light .mod-root .workspace-tab-header-status-icon,.theme-light.minimal-eink-light .mod-root .workspace-tab-header:hover,.theme-light.minimal-eink-light .search-result-file-match:hover,.theme-light.minimal-eink-light .search-result-file-matched-text,.theme-light.minimal-eink-light .status-bar .plugin-sync:hover .sync-status-icon.mod-success,.theme-light.minimal-eink-light .status-bar .plugin-sync:hover .sync-status-icon.mod-working,.theme-light.minimal-eink-light .status-bar-item.mod-clickable:hover,.theme-light.minimal-eink-light .suggestion-item.is-selected,.theme-light.minimal-eink-light .text-icon-button:hover,.theme-light.minimal-eink-light .vertical-tab-nav-item:hover,.theme-light.minimal-eink-light button.mod-cta,.theme-light.minimal-eink-light select:hover,.theme-light.minimal-eink-light.is-focused.tabs-modern .mod-active .workspace-tab-header.is-active .workspace-tab-header-inner-title,.theme-light.minimal-eink-light.labeled-nav .mod-left-split .mod-top .workspace-tab-header.is-active,.theme-light.minimal-eink-light.labeled-nav .mod-left-split .mod-top .workspace-tab-header:hover,.theme-light.minimal-eink-light:not(.colorful-active) .horizontal-tab-nav-item.is-active,.theme-light.minimal-eink-light:not(.colorful-active) .vertical-tab-nav-item.is-active{color:var(--bg1)}.theme-dark.minimal-eink-dark .is-flashing,.theme-light.minimal-eink-light .is-flashing{--text-highlight-bg:#999}.theme-dark.minimal-eink-dark #calendar-container .day:hover,.theme-light.minimal-eink-light #calendar-container .day:hover{--color-dot:var(--bg1)}.theme-light.minimal-eink-light{--base-h:0;--base-s:0%;--base-l:100%;--accent-h:0;--accent-s:0%;--accent-l:0%;--ax3:#000;--bg1:#fff;--bg2:#fff;--bg3:#000;--ui1:#000;--ui2:#000;--ui3:#000;--tx1:#000;--tx2:#000;--tx3:#000;--hl1:#000;--hl2:#000;--sp1:#fff;--text-on-accent:#fff;--background-modifier-cover:rgba(235,235,235,1)}.theme-dark.minimal-eink-dark,.theme-light.minimal-eink-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-eink-light.minimal-light-contrast .theme-dark,.theme-light.minimal-eink-light.minimal-light-contrast .titlebar,.theme-light.minimal-eink-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-eink-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-eink-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:0;--base-s:0%;--base-l:0%;--accent-h:0;--accent-s:0%;--accent-l:100%;--ax3:#fff;--bg1:#000;--bg2:#000;--bg3:#fff;--ui1:#fff;--ui2:#fff;--ui3:#fff;--tx1:#fff;--tx2:#fff;--tx3:#fff;--hl1:#fff;--hl2:#fff;--sp1:#000;--background-modifier-cover:rgba(20,20,20,1);--vault-profile-color:var(--tx1);--vault-profile-color-hover:var(--bg1);--nav-item-color-hover:var(--bg1);--nav-item-color-active:var(--bg1)}.theme-light.minimal-eink-light.minimal-light-tonal{--bg3:#bbb;--ui1:#bbb;--tx3:#999}.theme-dark.minimal-eink-dark.minimal-dark-tonal{--bg3:#444;--ui1:#444;--tx3:#999}.theme-dark.minimal-eink-dark.minimal-dark-tonal,.theme-light.minimal-eink-light.minimal-light-tonal{--hl2:var(--bg3);--modal-border-color:var(--ui1);--prompt-border-color:var(--ui1);--tag-border-color:var(--ui1);--text-selection:var(--bg3);--icon-color-active:var(--tx1);--icon-color-focused:var(--tx1);--nav-item-color-active:var(--tx1);--nav-item-color-hover:var(--tx1);--minimal-tab-text-color-active:var(--tx1)}.theme-dark.minimal-eink-dark.minimal-dark-tonal .is-flashing,.theme-dark.minimal-eink-dark.minimal-dark-tonal .search-result-file-matched-text,.theme-light.minimal-eink-light.minimal-light-tonal .is-flashing,.theme-light.minimal-eink-light.minimal-light-tonal .search-result-file-matched-text{background-color:var(--bg3);color:var(--tx1)}.theme-dark.minimal-eink-dark.minimal-dark-tonal #calendar-container .reset-button:hover,.theme-dark.minimal-eink-dark.minimal-dark-tonal ::selection,.theme-dark.minimal-eink-dark.minimal-dark-tonal:not(.colorful-active) .vertical-tab-nav-item.is-active,.theme-dark.minimal-eink-dark.minimal-dark-tonal:not(.colorful-active) .vertical-tab-nav-item:hover,.theme-light.minimal-eink-light.minimal-light-tonal #calendar-container .reset-button:hover,.theme-light.minimal-eink-light.minimal-light-tonal ::selection,.theme-light.minimal-eink-light.minimal-light-tonal:not(.colorful-active) .vertical-tab-nav-item.is-active,.theme-light.minimal-eink-light.minimal-light-tonal:not(.colorful-active) .vertical-tab-nav-item:hover{color:var(--tx1)}.theme-light.minimal-everforest-light{--color-red-rgb:248,85,82;--color-orange-rgb:245,125,38;--color-yellow-rgb:223,160,0;--color-green-rgb:141,161,1;--color-cyan-rgb:53,167,124;--color-blue-rgb:56,148,196;--color-purple-rgb:223,105,186;--color-pink-rgb:223,105,186;--color-red:#f85552;--color-orange:#f57d26;--color-yellow:#dfa000;--color-green:#8da101;--color-cyan:#35a77c;--color-blue:#3795C5;--color-purple:#df69ba;--color-pink:#df69ba}.theme-dark.minimal-everforest-dark{--color-red-rgb:230,126,128;--color-orange-rgb:230,152,117;--color-yellow-rgb:219,188,127;--color-green-rgb:167,192,128;--color-cyan-rgb:131,192,146;--color-blue-rgb:127,187,179;--color-purple-rgb:223,105,186;--color-pink-rgb:223,105,186;--color-red:#e67e80;--color-orange:#e69875;--color-yellow:#dbbc7f;--color-green:#a7c080;--color-cyan:#83c092;--color-blue:#7fbbb3;--color-purple:#d699b6;--color-pink:#d699b6}.theme-light.minimal-everforest-light{--base-h:44;--base-s:87%;--base-l:94%;--accent-h:83;--accent-s:36%;--accent-l:53%;--bg1:#fdf6e3;--bg2:#efebd4;--bg3:rgba(226,222,198,.5);--ui1:#e0dcc7;--ui2:#bec5b2;--ui3:#bec5b2;--tx1:#5C6A72;--tx2:#829181;--tx3:#a6b0a0;--hl1:rgba(198,214,152,.4);--hl2:rgba(222,179,51,.3)}.theme-light.minimal-everforest-light.minimal-light-tonal{--bg2:#fdf6e3}.theme-light.minimal-everforest-light.minimal-light-white{--bg3:#f3efda;--ui1:#edead5}.theme-dark.minimal-everforest-dark,.theme-light.minimal-everforest-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-everforest-light.minimal-light-contrast .theme-dark,.theme-light.minimal-everforest-light.minimal-light-contrast .titlebar,.theme-light.minimal-everforest-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-everforest-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-everforest-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:203;--base-s:15%;--base-l:23%;--accent-h:81;--accent-s:34%;--accent-l:63%;--bg1:#2d353b;--bg2:#232a2e;--bg3:rgba(71,82,88,0.5);--ui1:#475258;--ui2:#4f585e;--ui3:#525c62;--tx1:#d3c6aa;--tx2:#9da9a0;--tx3:#7a8478;--hl1:rgba(134,70,93,.5);--hl2:rgba(147,185,96,.3)}.theme-dark.minimal-everforest-dark.minimal-dark-black{--hl1:rgba(134,70,93,.4);--ui1:#2b3339}.theme-light.minimal-flexoki-light{--color-red-rgb:175,48,41;--color-orange-rgb:188,82,21;--color-yellow-rgb:173,131,1;--color-green-rgb:102,128,11;--color-cyan-rgb:36,131,123;--color-blue-rgb:32,94,166;--color-purple-rgb:94,64,157;--color-pink-rgb:160,47,111;--color-red:#AF3029;--color-orange:#BC5215;--color-yellow:#AD8301;--color-green:#66800B;--color-cyan:#24837B;--color-blue:#205EA6;--color-purple:#5E409D;--color-pink:#A02F6F}.theme-dark.minimal-flexoki-dark{--color-red-rgb:209,77,65;--color-orange-rgb:218,112,44;--color-yellow-rgb:208,162,21;--color-green-rgb:135,154,57;--color-cyan-rgb:58,169,159;--color-blue-rgb:67,133,190;--color-purple-rgb:139,126,200;--color-pink-rgb:206,93,151;--color-red:#D14D41;--color-orange:#DA702C;--color-yellow:#D0A215;--color-green:#879A39;--color-cyan:#3AA99F;--color-blue:#4385BE;--color-purple:#8B7EC8;--color-pink:#CE5D97}.theme-light.minimal-flexoki-light{--base-h:48;--base-s:100%;--base-l:97%;--accent-h:175;--accent-s:57%;--accent-l:33%;--bg1:#FFFCF0;--bg2:#F2F0E5;--bg3:rgba(16,15,15,0.05);--ui1:#E6E4D9;--ui2:#DAD8CE;--ui3:#CECDC3;--tx1:#100F0F;--tx2:#6F6E69;--tx3:#B7B5AC;--hl1:rgba(187,220,206,0.3);--hl2:rgba(247,209,61,0.3)}.theme-light.minimal-flexoki-light.minimal-light-tonal{--bg2:#FFFCF0}.theme-dark.minimal-flexoki-dark,.theme-light.minimal-flexoki-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-flexoki-light.minimal-light-contrast .theme-dark,.theme-light.minimal-flexoki-light.minimal-light-contrast .titlebar,.theme-light.minimal-flexoki-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-flexoki-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-flexoki-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:360;--base-s:3%;--base-l:6%;--accent-h:175;--accent-s:49%;--accent-l:45%;--bg1:#100F0F;--bg2:#1C1B1A;--bg3:rgba(254,252,240,0.05);--ui1:#282726;--ui2:#343331;--ui3:#403E3C;--tx1:#CECDC3;--tx2:#878580;--tx3:#575653;--hl1:rgba(30,95,91,0.3);--hl2:rgba(213,159,17,0.3)}.theme-dark.minimal-flexoki-dark.minimal-dark-black{--ui1:#1C1B1A}.theme-dark.minimal-gruvbox-dark,.theme-light.minimal-gruvbox-light{--color-red-rgb:204,36,29;--color-orange-rgb:214,93,14;--color-yellow-rgb:215,153,33;--color-green-rgb:152,151,26;--color-cyan-rgb:104,157,106;--color-blue-rgb:69,133,136;--color-purple-rgb:177,98,134;--color-pink-rgb:177,98,134;--color-red:#cc241d;--color-orange:#d65d0e;--color-yellow:#d79921;--color-green:#98971a;--color-cyan:#689d6a;--color-blue:#458588;--color-purple:#b16286;--color-pink:#b16286}.theme-light.minimal-gruvbox-light{--base-h:49;--base-s:92%;--base-l:89%;--accent-h:24;--accent-s:88%;--accent-l:45%;--bg1:#fcf2c7;--bg2:#f2e6bd;--bg3:#ebd9b3;--ui1:#ebdbb2;--ui2:#d5c4a1;--ui3:#bdae93;--tx1:#282828;--tx2:#7c7065;--tx3:#a89a85;--hl1:rgba(192,165,125,.3);--hl2:rgba(215,153,33,.4)}.theme-light.minimal-gruvbox-light.minimal-light-tonal{--bg2:#fcf2c7}.theme-light.minimal-gruvbox-light.minimal-light-white{--bg3:#faf5d7;--ui1:#f2e6bd}.theme-dark.minimal-gruvbox-dark,.theme-light.minimal-gruvbox-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-gruvbox-light.minimal-light-contrast .theme-dark,.theme-light.minimal-gruvbox-light.minimal-light-contrast .titlebar,.theme-light.minimal-gruvbox-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-gruvbox-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-gruvbox-light.minimal-light-contrast.minimal-status-off .status-bar{--accent-h:24;--accent-s:88%;--accent-l:45%;--bg1:#282828;--bg2:#1e2021;--bg3:#3d3836;--bg3:rgba(62,57,55,0.5);--ui1:#3c3836;--ui2:#504945;--ui3:#665c54;--tx1:#fbf1c7;--tx2:#bdae93;--tx3:#7c6f64;--hl1:rgba(173,149,139,0.3);--hl2:rgba(215,153,33,.4)}.theme-dark.minimal-gruvbox-dark.minimal-dark-black{--hl1:rgba(173,149,139,0.4);--ui1:#282828}.theme-dark.minimal-macos-dark,.theme-light.minimal-macos-light{--color-red-rgb:255,59,49;--color-orange-rgb:255,149,2;--color-yellow-rgb:255,204,0;--color-green-rgb:42,205,65;--color-cyan-rgb:2,199,190;--color-blue-rgb:2,122,255;--color-purple-rgb:176,81,222;--color-pink-rgb:255,46,85;--color-red:#ff3b31;--color-orange:#ff9502;--color-yellow:#ffcc00;--color-green:#2acd41;--color-cyan:#02c7be;--color-blue:#027aff;--color-purple:#b051de;--color-pink:#ff2e55}.theme-light.minimal-macos-light{--base-h:106;--base-s:0%;--base-l:94%;--accent-h:212;--accent-s:100%;--accent-l:50%;--bg1:#fff;--bg2:#f0f0f0;--bg3:rgba(0,0,0,.1);--ui1:#e7e7e7;--tx1:#454545;--tx2:#808080;--tx3:#b0b0b0;--hl1:#b3d7ff}.theme-light.minimal-macos-light.minimal-light-tonal{--bg1:#f0f0f0;--bg2:#f0f0f0}.theme-dark.minimal-macos-dark,.theme-light.minimal-macos-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-macos-light.minimal-light-contrast .theme-dark,.theme-light.minimal-macos-light.minimal-light-contrast .titlebar,.theme-light.minimal-macos-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-macos-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-macos-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:106;--base-s:0%;--base-l:12%;--accent-h:212;--accent-s:100%;--accent-l:50%;--bg1:#1e1e1e;--bg2:#282828;--bg3:rgba(255,255,255,0.11);--divider-color:#000;--tab-outline-color:#000;--ui1:#373737;--ui2:#515151;--ui3:#595959;--tx1:#dcdcdc;--tx2:#8c8c8c;--tx3:#686868;--hl1:rgba(98,169,252,0.5);--sp1:#fff}.theme-dark.minimal-macos-dark.minimal-dark-black{--divider-color:#1e1e1e;--tab-outline-color:#1e1e1e}.theme-dark.minimal-nord-dark,.theme-light.minimal-nord-light{--color-red-rgb:191,97,106;--color-orange-rgb:208,138,112;--color-yellow-rgb:235,203,139;--color-green-rgb:163,190,140;--color-cyan-rgb:136,192,208;--color-blue-rgb:129,161,193;--color-purple-rgb:180,142,173;--color-pink-rgb:180,142,173;--color-red:#BF616A;--color-orange:#D08770;--color-yellow:#EBCB8B;--color-green:#A3BE8C;--color-cyan:#88C0D0;--color-blue:#81A1C1;--color-purple:#B48EAD;--color-pink:#B48EAD}.theme-light.minimal-nord-light{--base-h:221;--base-s:27%;--base-l:94%;--accent-h:213;--accent-s:32%;--accent-l:52%;--bg1:#fff;--bg2:#eceff4;--bg3:rgba(157,174,206,0.25);--ui1:#d8dee9;--ui2:#BBCADC;--ui3:#81a1c1;--tx1:#2e3440;--tx2:#7D8697;--tx3:#ADB1B8;--hl2:rgba(208, 135, 112, 0.35)}.theme-dark.minimal-nord-dark,.theme-light.minimal-nord-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-nord-light.minimal-light-contrast .theme-dark,.theme-light.minimal-nord-light.minimal-light-contrast .titlebar,.theme-light.minimal-nord-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-nord-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-nord-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:220;--base-s:16%;--base-l:22%;--accent-h:213;--accent-s:32%;--accent-l:52%;--bg1:#2e3440;--bg2:#3b4252;--bg3:rgba(135,152,190,0.15);--ui1:#434c5e;--ui2:#58647b;--ui3:#58647b;--tx1:#d8dee9;--tx2:#9eafcc;--tx3:#4c566a;--hl1:rgba(129,142,180,0.3);--hl2:rgba(208, 135, 112, 0.35)}.theme-dark.minimal-nord-dark.minimal-dark-black{--ui1:#2e3440}.theme-light.minimal-notion-light{--base-h:39;--base-s:18%;--base-d:96%;--accent-h:197;--accent-s:71%;--accent-l:52%;--bg2:#f7f6f4;--bg3:#e8e7e4;--ui1:#ededec;--ui2:#dbdbda;--ui3:#aaa9a5;--tx1:#37352f;--tx2:#72706c;--tx3:#aaa9a5;--hl1:rgba(131,201,229,0.3)}.theme-dark.minimal-notion-dark,.theme-light.minimal-notion-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-notion-light.minimal-light-contrast .theme-dark,.theme-light.minimal-notion-light.minimal-light-contrast .titlebar,.theme-light.minimal-notion-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-notion-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-notion-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:203;--base-s:8%;--base-d:20%;--accent-h:197;--accent-s:71%;--accent-l:52%;--bg1:#2f3437;--bg2:#373c3f;--bg3:#4b5053;--ui1:#3e4245;--ui2:#585d5f;--ui3:#585d5f;--tx1:#ebebeb;--tx2:#909295;--tx3:#585d5f;--hl1:rgba(57,134,164,0.3)}.theme-dark.minimal-notion-dark.minimal-dark-black{--base-d:5%;--bg3:#232729;--ui1:#2f3437}.theme-light.minimal-rose-pine-light{--color-red-rgb:180,99,122;--color-orange-rgb:215,130,125;--color-yellow-rgb:234,157,53;--color-green-rgb:40,105,131;--color-cyan-rgb:87,147,159;--color-blue-rgb:87,147,159;--color-purple-rgb:144,122,169;--color-pink-rgb:144,122,169;--color-red:#b4637a;--color-orange:#d7827e;--color-yellow:#ea9d34;--color-green:#286983;--color-cyan:#56949f;--color-blue:#56949f;--color-purple:#907aa9;--color-pink:#907aa9}.theme-dark.minimal-rose-pine-dark{--color-red-rgb:234,111,146;--color-orange-rgb:233,155,151;--color-yellow-rgb:246,193,119;--color-green-rgb:47,116,143;--color-cyan-rgb:157,207,215;--color-blue-rgb:157,207,215;--color-purple-rgb:196,167,231;--color-pink-rgb:196,167,231;--color-red:#eb6f92;--color-orange:#ea9a97;--color-yellow:#f6c177;--color-green:#31748f;--color-cyan:#9ccfd8;--color-blue:#9ccfd8;--color-purple:#c4a7e7;--color-pink:#c4a7e7}.theme-light.minimal-rose-pine-light{--base-h:32;--base-s:57%;--base-l:95%;--accent-h:3;--accent-s:53%;--accent-l:67%;--bg1:#fffaf3;--bg2:#faf4ed;--bg3:rgba(233,223,218,0.5);--ui1:#EAE3E1;--ui2:#dfdad9;--ui3:#cecacd;--tx1:#575279;--tx2:#797593;--tx3:#9893a5;--hl1:rgba(191,180,181,0.35)}.theme-dark.minimal-rose-pine-dark,.theme-light.minimal-rose-pine-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-rose-pine-light.minimal-light-contrast .theme-dark,.theme-light.minimal-rose-pine-light.minimal-light-contrast .titlebar,.theme-light.minimal-rose-pine-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-rose-pine-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-rose-pine-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:247;--base-s:23%;--base-l:15%;--accent-h:2;--accent-s:55%;--accent-l:83%;--bg1:#1f1d2e;--bg2:#191724;--bg3:rgba(68,66,86,0.5);--ui1:#312F41;--ui2:#403d52;--ui3:#524f67;--tx1:#e0def4;--tx2:#908caa;--tx3:#6e6a86;--hl1:rgba(126,121,155,0.35)}.theme-dark.minimal-rose-pine-dark.minimal-dark-black{--ui1:#21202e}.theme-dark.minimal-solarized-dark,.theme-light.minimal-solarized-light{--color-red-rgb:220,50,47;--color-orange-rgb:203,77,22;--color-yellow-rgb:181,137,0;--color-green-rgb:133,153,0;--color-cyan-rgb:42,161,152;--color-blue-rgb:38,139,210;--color-purple-rgb:108,113,196;--color-pink-rgb:211,54,130;--color-red:#dc322f;--color-orange:#cb4b16;--color-yellow:#b58900;--color-green:#859900;--color-cyan:#2aa198;--color-blue:#268bd2;--color-purple:#6c71c4;--color-pink:#d33682}.theme-light.minimal-solarized-light{--base-h:44;--base-s:87%;--base-l:94%;--accent-h:205;--accent-s:70%;--accent-l:48%;--bg1:#fdf6e3;--bg2:#eee8d5;--bg3:rgba(0,0,0,0.062);--ui1:#e9e1c8;--ui2:#d0cab8;--ui3:#d0cab8;--tx1:#073642;--tx2:#586e75;--tx3:#ABB2AC;--tx4:#586e75;--hl1:rgba(202,197,182,0.3);--hl2:rgba(203,75,22,0.3)}.theme-light.minimal-solarized-light.minimal-light-tonal{--bg2:#fdf6e3}.theme-dark.minimal-solarized-dark,.theme-light.minimal-solarized-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-solarized-light.minimal-light-contrast .theme-dark,.theme-light.minimal-solarized-light.minimal-light-contrast .titlebar,.theme-light.minimal-solarized-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-solarized-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-solarized-light.minimal-light-contrast.minimal-status-off .status-bar{--accent-h:205;--accent-s:70%;--accent-l:48%;--base-h:193;--base-s:98%;--base-l:11%;--bg1:#002b36;--bg2:#073642;--bg3:rgba(255,255,255,0.062);--ui1:#19414B;--ui2:#274850;--ui3:#31535B;--tx1:#93a1a1;--tx2:#657b83;--tx3:#31535B;--tx4:#657b83;--hl1:rgba(15,81,98,0.3);--hl2:rgba(203, 75, 22, 0.35)}.theme-dark.minimal-solarized-dark.minimal-dark-black{--hl1:rgba(15,81,98,0.55);--ui1:#002b36}.theme-dark.minimal-things-dark,.theme-light.minimal-things-light{--color-red-rgb:255,48,108;--color-orange-rgb:255,149,2;--color-yellow-rgb:255,213,0;--color-green-rgb:75,191,94;--color-cyan-rgb:73,174,164;--color-purple-rgb:176,81,222;--color-pink-rgb:255,46,85;--color-red:#FF306C;--color-orange:#ff9502;--color-yellow:#FFD500;--color-green:#4BBF5E;--color-cyan:#49AEA4;--color-purple:#b051de;--color-pink:#ff2e55}.theme-light.minimal-things-light{--color-blue-rgb:27,97,194;--color-blue:#1b61c2}.theme-dark.minimal-things-dark{--color-blue-rgb:77,149,247;--color-blue:#4d95f7}.theme-light.minimal-things-light{--accent-h:215;--accent-s:76%;--accent-l:43%;--bg1:white;--bg2:#f5f6f8;--bg3:rgba(162,177,187,0.25);--ui1:#eef0f4;--ui2:#D8DADD;--ui3:#c1c3c6;--tx1:#26272b;--tx2:#7D7F84;--tx3:#a9abb0;--hl1:#cae2ff}.theme-light.minimal-things-light.minimal-light-tonal{--ui1:#e6e8ec}.theme-light.minimal-things-light.minimal-light-white{--bg3:#f5f6f8}.theme-dark.minimal-things-dark,.theme-light.minimal-things-light.minimal-light-contrast .mod-left-split,.theme-light.minimal-things-light.minimal-light-contrast .theme-dark,.theme-light.minimal-things-light.minimal-light-contrast .titlebar,.theme-light.minimal-things-light.minimal-light-contrast .workspace-drawer.mod-left,.theme-light.minimal-things-light.minimal-light-contrast .workspace-ribbon.mod-left:not(.is-collapsed),.theme-light.minimal-things-light.minimal-light-contrast.minimal-status-off .status-bar{--base-h:218;--base-s:9%;--base-l:15%;--accent-h:215;--accent-s:91%;--accent-l:64%;--bg1:#24262a;--bg2:#202225;--bg3:#3d3f41;--divider-color:#17191c;--tab-outline-color:#17191c;--ui1:#3A3B3F;--ui2:#45464a;--ui3:#6c6e70;--tx1:#fbfbfb;--tx2:#CBCCCD;--tx3:#6c6e70;--hl1:rgba(40,119,236,0.35);--sp1:#fff}.theme-dark.minimal-things-dark.minimal-dark-black{--base-d:5%;--bg3:#24262a;--divider-color:#24262a;--tab-outline-color:#24262a} /* Plugin compatibility */ /* @plugins diff --git a/.obsidian/workspace-mobile.json b/.obsidian/workspace-mobile.json index 189a3335..f9f55b42 100644 --- a/.obsidian/workspace-mobile.json +++ b/.obsidian/workspace-mobile.json @@ -61,7 +61,7 @@ "state": { "type": "markdown", "state": { - "file": "00.01 Admin/Calendars/2024-06-22.md", + "file": "00.01 Admin/Calendars/2024-06-29.md", "mode": "preview", "source": true } @@ -172,7 +172,7 @@ "state": { "type": "backlink", "state": { - "file": "00.01 Admin/Calendars/2024-06-22.md", + "file": "00.01 Admin/Calendars/2024-06-29.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -189,7 +189,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "00.01 Admin/Calendars/2024-06-22.md", + "file": "00.01 Admin/Calendars/2024-06-29.md", "linksCollapsed": false, "unlinkedCollapsed": false } @@ -255,32 +255,32 @@ }, "active": "6266e3653a250845", "lastOpenFiles": [ - "03.03 Food & Wine/Big Shells With Spicy Lamb Sausage and Pistachios.md", - "01.03 Family/Amélie Solanet.md", - "00.01 Admin/Calendars/2024-06-22.md", - "00.01 Admin/Calendars/2024-06-21.md", - "00.03 News/The Local Girls Who Inspired the Hollywood Classic “Mean Girls”.md", - "01.07 Animals/@Sally.md", - "00.01 Admin/Pictures/Sally/2024-06-17 Groom change.md", - "02.03 Zürich/Juan Bautista Bossio.md", - "02.03 Zürich/Segundo Rubbo.md", - "01.02 Home/Life - Practical infos.md", + "01.06 Health/2024-04-03 STD Checkup.md", + "00.01 Admin/Calendars/2024-06-29.md", + "01.06 Health/@Health.md", + "01.06 Health/2024-06-29 Fungal treatment.md", + "01.06 Health/2024-06-28 Appointment.md", "01.02 Home/@Main Dashboard.md", - "00.03 News/The Excel superstars throw down in Vegas.md", - "01.02 Home/@Shopping list.md", - "00.03 News/‘The Death of Slim Shady’ or Not, You Can’t Kill Eminem. Not Really..md", - "01.01 Life Orga/@Personal projects.md", - "00.01 Admin/Calendars/2024-06-20.md", - "00.01 Admin/Calendars/2024-06-19.md", - "00.01 Admin/Calendars/2024-06-18.md", - "00.03 News/‘As Lonely as a Man Can Get’ The True Story of D-Day, as Told by Paratroopers.md", - "00.03 News/The big idea can you inherit memories from your ancestors.md", - "00.03 News/The Worm Charmers.md", - "00.03 News/What a Leading State Auditor Says About Fraud, Government Misspending and Building Public Trust.md", - "00.01 Admin/Calendars/2024-06-17.md", - "03.02 Travels/Mallorca.md", - "03.02 Travels/Son Ginard Polo Club.md", - "03.02 Travels/Nano Iturroz.md", + "00.03 News/New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases..md", + "00.02 Inbox/Blonde.md", + "00.02 Inbox/Carolyn et John.md", + "00.02 Inbox/Le Barman du Ritz.md", + "00.01 Admin/Calendars/2024-06-28.md", + "00.01 Admin/Calendars/2024-06-27.md", + "02.03 Zürich/Dr Awad Abuawad.md", + "01.06 Health/2023-12-15 Eczema.md", + "03.04 Cinematheque/Kiss the Future (2023).md", + "00.01 Admin/Calendars/2024-06-26.md", + "00.01 Admin/Calendars/2024-06-25.md", + "03.03 Food & Wine/Korean Barbecue-Style Meatballs.md", + "00.01 Admin/Calendars/2023-03-08.md", + "00.01 Admin/Calendars/2024-06-24.md", + "03.03 Food & Wine/Chilli con Carne.md", + "00.01 Admin/Calendars/2024-06-23.md", + "00.03 News/Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution.md", + "00.03 News/Home of the Brave Enduring the VA’s Homeless Veteran Crisis.md", + "00.03 News/Why Did a Father of 16 Hire a Dark-Web Hit Man.md", + "00.03 News/Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing.md", "00.02 Inbox/Pasted image 20240521223309.png", "00.01 Admin/Pictures/Sally/ima10032556959173512188.jpeg", "00.01 Admin/Pictures/Sally/IMG_4552.jpg", diff --git a/00.01 Admin/Calendars/2023-03-08.md b/00.01 Admin/Calendars/2023-03-08.md index 30050e28..7132de42 100644 --- a/00.01 Admin/Calendars/2023-03-08.md +++ b/00.01 Admin/Calendars/2023-03-08.md @@ -104,7 +104,7 @@ hide task count This section does serve for quick memos.   -- [ ] 06:35 :clapper: [[2023-03-08|Memo]], [[Entertainment]]: Download Kiss the Future 📅 2024-06-25 +- [x] 06:35 :clapper: [[2023-03-08|Memo]], [[Entertainment]]: Download Kiss the Future 📅 2024-11-25 ✅ 2024-06-25 - [x] 06:42 :clapper: [[2023-03-08|Memo]], [[Entertainment]]: Download Esterno Notte (arte.tv) 📅 2023-03-11 ✅ 2023-03-08 - [x] 06:42 :clapper: [[2023-03-08|Memo]], [[Entertainment]]: Download House of Dragons 📅 2023-03-11 ✅ 2023-03-08 diff --git a/00.01 Admin/Calendars/2024-04-30.md b/00.01 Admin/Calendars/2024-04-30.md index 4042fd43..cb904c32 100644 --- a/00.01 Admin/Calendars/2024-04-30.md +++ b/00.01 Admin/Calendars/2024-04-30.md @@ -101,7 +101,7 @@ hide task count This section does serve for quick memos.   -- [ ] 07:16 :frame_with_picture: [[@@Paris|Paris]]: Booker l’expo [Mexica](https://www.offi.fr/expositions-musees/musee-du-quai-branly-3039/mexica-des-dons-et-des-dieux-au-templo-mayor-95677.html) 📅 2024-06-15 +- [x] 07:16 :frame_with_picture: [[@@Paris|Paris]]: Booker l’expo [Mexica](https://www.offi.fr/expositions-musees/musee-du-quai-branly-3039/mexica-des-dons-et-des-dieux-au-templo-mayor-95677.html) 📅 2024-06-15 ✅ 2024-06-23 - [x] 07:17 :frame_with_picture: [[@@Paris|Paris]]: Booker l’expo [Impressionistes](https://www.offi.fr/expositions-musees/musee-dorsay-2897/inventer-limpressionnisme-95095.html) au Musée d’Orsay 📅 2024-06-16 ✅ 2024-06-16 diff --git a/00.01 Admin/Calendars/2024-06-22.md b/00.01 Admin/Calendars/2024-06-22.md index 3739f3af..97cb353a 100644 --- a/00.01 Admin/Calendars/2024-06-22.md +++ b/00.01 Admin/Calendars/2024-06-22.md @@ -16,9 +16,9 @@ Stress: 25 FrontHeadBar: 5 EarHeadBar: 20 BackHeadBar: 30 -Water: 1 +Water: 2.5 Coffee: 3 -Steps: +Steps: 12461 Weight: Ski: IceSkating: diff --git a/00.01 Admin/Calendars/2024-06-23.md b/00.01 Admin/Calendars/2024-06-23.md new file mode 100644 index 00000000..2a5648c2 --- /dev/null +++ b/00.01 Admin/Calendars/2024-06-23.md @@ -0,0 +1,136 @@ +--- + +title: "🗒 Daily Note" +allDay: true +date: 2024-06-23 +Date: 2024-06-23 +DocType: Note +Hierarchy: +TimeStamp: +location: +CollapseMetaTable: true +Sleep: 8 +Happiness: 80 +Gratefulness: 90 +Stress: 25 +FrontHeadBar: 5 +EarHeadBar: 20 +BackHeadBar: 30 +Water: 3.6 +Coffee: 4 +Steps: 14220 +Weight: +Ski: +IceSkating: +Riding: 1 +Racket: +Football: +Swim: + +--- + +%% Parent:: [[@Life Admin]] %% + +--- + +[[2024-06-22|<< 🗓 Previous ]]       [[@Main Dashboard|Back]]       [[2024-06-24|🗓 Next >>]] + +--- + +  + +```button +name Record today's health +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-2024-06-23Edit + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-06-23NSave + +  + +# 2024-06-23 + +  + +> [!summary]+ +> Daily note for 2024-06-23 + +  + +```toc +style: number +``` + +  + +--- + +  + +### ✅ Tasks of the day + +  + +```tasks +not done +due on 2024-06-23 +path does not include Templates +hide backlinks +hide task count +``` + +  + +--- + +  + +### 📝 Memos + +  + +This section does serve for quick memos. + +  + + +%% --- %% +  + +--- + +  + +### 🗒 Notes + +  + +:coffee:: [[Kafi Freud]] + +🐎: S&B with [[@Sally|Sally]] at [[Polo Park Zürich|PPZ]] + +  + +--- + +  + +### :link: Linked activity + +  + +```dataview +Table from [[2024-06-23]] +``` + +  +  \ No newline at end of file diff --git a/00.01 Admin/Calendars/2024-06-24.md b/00.01 Admin/Calendars/2024-06-24.md new file mode 100644 index 00000000..7d9dadd2 --- /dev/null +++ b/00.01 Admin/Calendars/2024-06-24.md @@ -0,0 +1,134 @@ +--- + +title: "🗒 Daily Note" +allDay: true +date: 2024-06-24 +Date: 2024-06-24 +DocType: Note +Hierarchy: +TimeStamp: +location: +CollapseMetaTable: true +Sleep: 7 +Happiness: 80 +Gratefulness: 90 +Stress: 25 +FrontHeadBar: 5 +EarHeadBar: 20 +BackHeadBar: 30 +Water: 3.25 +Coffee: 5 +Steps: 19930 +Weight: +Ski: +IceSkating: +Riding: +Racket: +Football: +Swim: + +--- + +%% Parent:: [[@Life Admin]] %% + +--- + +[[2024-06-23|<< 🗓 Previous ]]       [[@Main Dashboard|Back]]       [[2024-06-25|🗓 Next >>]] + +--- + +  + +```button +name Record today's health +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-2024-06-24Edit + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-06-24NSave + +  + +# 2024-06-24 + +  + +> [!summary]+ +> Daily note for 2024-06-24 + +  + +```toc +style: number +``` + +  + +--- + +  + +### ✅ Tasks of the day + +  + +```tasks +not done +due on 2024-06-24 +path does not include Templates +hide backlinks +hide task count +``` + +  + +--- + +  + +### 📝 Memos + +  + +This section does serve for quick memos. + +  + + +%% --- %% +  + +--- + +  + +### 🗒 Notes + +  + +🍽️: [[Chilli con Carne]] + +  + +--- + +  + +### :link: Linked activity + +  + +```dataview +Table from [[2024-06-24]] +``` + +  +  \ No newline at end of file diff --git a/00.01 Admin/Calendars/2024-06-25.md b/00.01 Admin/Calendars/2024-06-25.md new file mode 100644 index 00000000..bb4bf6ea --- /dev/null +++ b/00.01 Admin/Calendars/2024-06-25.md @@ -0,0 +1,134 @@ +--- + +title: "🗒 Daily Note" +allDay: true +date: 2024-06-25 +Date: 2024-06-25 +DocType: Note +Hierarchy: +TimeStamp: +location: +CollapseMetaTable: true +Sleep: 7 +Happiness: 80 +Gratefulness: 90 +Stress: 25 +FrontHeadBar: 5 +EarHeadBar: 20 +BackHeadBar: 30 +Water: 3.08 +Coffee: 5 +Steps: 18947 +Weight: 92.3 +Ski: +IceSkating: +Riding: +Racket: +Football: +Swim: + +--- + +%% Parent:: [[@Life Admin]] %% + +--- + +[[2024-06-24|<< 🗓 Previous ]]       [[@Main Dashboard|Back]]       [[2024-06-26|🗓 Next >>]] + +--- + +  + +```button +name Record today's health +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-2024-06-25Edit + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-06-25NSave + +  + +# 2024-06-25 + +  + +> [!summary]+ +> Daily note for 2024-06-25 + +  + +```toc +style: number +``` + +  + +--- + +  + +### ✅ Tasks of the day + +  + +```tasks +not done +due on 2024-06-25 +path does not include Templates +hide backlinks +hide task count +``` + +  + +--- + +  + +### 📝 Memos + +  + +This section does serve for quick memos. + +  + + +%% --- %% +  + +--- + +  + +### 🗒 Notes + +  + +🍽️: [[Korean Barbecue-Style Meatballs]] + +  + +--- + +  + +### :link: Linked activity + +  + +```dataview +Table from [[2024-06-25]] +``` + +  +  \ No newline at end of file diff --git a/00.01 Admin/Calendars/2024-06-26.md b/00.01 Admin/Calendars/2024-06-26.md new file mode 100644 index 00000000..e0e29baa --- /dev/null +++ b/00.01 Admin/Calendars/2024-06-26.md @@ -0,0 +1,134 @@ +--- + +title: "🗒 Daily Note" +allDay: true +date: 2024-06-26 +Date: 2024-06-26 +DocType: Note +Hierarchy: +TimeStamp: +location: +CollapseMetaTable: true +Sleep: 8 +Happiness: 80 +Gratefulness: 90 +Stress: 25 +FrontHeadBar: 5 +EarHeadBar: 20 +BackHeadBar: 30 +Water: 3 +Coffee: 5 +Steps: 16054 +Weight: +Ski: +IceSkating: +Riding: 2 +Racket: +Football: +Swim: + +--- + +%% Parent:: [[@Life Admin]] %% + +--- + +[[2024-06-25|<< 🗓 Previous ]]       [[@Main Dashboard|Back]]       [[2024-06-27|🗓 Next >>]] + +--- + +  + +```button +name Record today's health +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-2024-06-26Edit + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-06-26NSave + +  + +# 2024-06-26 + +  + +> [!summary]+ +> Daily note for 2024-06-26 + +  + +```toc +style: number +``` + +  + +--- + +  + +### ✅ Tasks of the day + +  + +```tasks +not done +due on 2024-06-26 +path does not include Templates +hide backlinks +hide task count +``` + +  + +--- + +  + +### 📝 Memos + +  + +This section does serve for quick memos. + +  + + +%% --- %% +  + +--- + +  + +### 🗒 Notes + +  + +🐎: 2 chukkers with [[@Sally|Sally]] at [[Polo Park Zürich|PPZ]] + +  + +--- + +  + +### :link: Linked activity + +  + +```dataview +Table from [[2024-06-26]] +``` + +  +  \ No newline at end of file diff --git a/00.01 Admin/Calendars/2024-06-27.md b/00.01 Admin/Calendars/2024-06-27.md new file mode 100644 index 00000000..a4830bcb --- /dev/null +++ b/00.01 Admin/Calendars/2024-06-27.md @@ -0,0 +1,136 @@ +--- + +title: "🗒 Daily Note" +allDay: true +date: 2024-06-27 +Date: 2024-06-27 +DocType: Note +Hierarchy: +TimeStamp: +location: +CollapseMetaTable: true +Sleep: 7.5 +Happiness: 80 +Gratefulness: 90 +Stress: 25 +FrontHeadBar: 5 +EarHeadBar: 20 +BackHeadBar: 30 +Water: 5 +Coffee: 5 +Steps: 13020 +Weight: +Ski: +IceSkating: +Riding: 1 +Racket: +Football: +Swim: + +--- + +%% Parent:: [[@Life Admin]] %% + +--- + +[[2024-06-26|<< 🗓 Previous ]]       [[@Main Dashboard|Back]]       [[2024-06-28|🗓 Next >>]] + +--- + +  + +```button +name Record today's health +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-2024-06-27Edit + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-06-27NSave + +  + +# 2024-06-27 + +  + +> [!summary]+ +> Daily note for 2024-06-27 + +  + +```toc +style: number +``` + +  + +--- + +  + +### ✅ Tasks of the day + +  + +```tasks +not done +due on 2024-06-27 +path does not include Templates +hide backlinks +hide task count +``` + +  + +--- + +  + +### 📝 Memos + +  + +This section does serve for quick memos. + +  + + +%% --- %% +  + +--- + +  + +### 🗒 Notes + +  + +🐎: S&B with [[@Sally|Sally]] at [[Polo Park Zürich|PPZ]] + +📺: [[Kiss the Future (2023)]] + +  + +--- + +  + +### :link: Linked activity + +  + +```dataview +Table from [[2024-06-27]] +``` + +  +  \ No newline at end of file diff --git a/00.01 Admin/Calendars/2024-06-28.md b/00.01 Admin/Calendars/2024-06-28.md new file mode 100644 index 00000000..972856a1 --- /dev/null +++ b/00.01 Admin/Calendars/2024-06-28.md @@ -0,0 +1,136 @@ +--- + +title: "🗒 Daily Note" +allDay: true +date: 2024-06-28 +Date: 2024-06-28 +DocType: Note +Hierarchy: +TimeStamp: +location: +CollapseMetaTable: true +Sleep: 7.5 +Happiness: 80 +Gratefulness: 90 +Stress: 25 +FrontHeadBar: 5 +EarHeadBar: 20 +BackHeadBar: 30 +Water: 4.5 +Coffee: 3 +Steps: 13737 +Weight: +Ski: +IceSkating: +Riding: 2 +Racket: +Football: +Swim: + +--- + +%% Parent:: [[@Life Admin]] %% + +--- + +[[2024-06-27|<< 🗓 Previous ]]       [[@Main Dashboard|Back]]       [[2024-06-29|🗓 Next >>]] + +--- + +  + +```button +name Record today's health +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-2024-06-28Edit + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-06-28NSave + +  + +# 2024-06-28 + +  + +> [!summary]+ +> Daily note for 2024-06-28 + +  + +```toc +style: number +``` + +  + +--- + +  + +### ✅ Tasks of the day + +  + +```tasks +not done +due on 2024-06-28 +path does not include Templates +hide backlinks +hide task count +``` + +  + +--- + +  + +### 📝 Memos + +  + +This section does serve for quick memos. + +  + + +%% --- %% +  + +--- + +  + +### 🗒 Notes + +  + +🩺: [[2024-06-28 Appointment]] + +🐎: 2 chukkers with [[@Sally|Sally]] at [[Polo Park Zürich|PPZ]] + +  + +--- + +  + +### :link: Linked activity + +  + +```dataview +Table from [[2024-06-28]] +``` + +  +  \ No newline at end of file diff --git a/00.01 Admin/Calendars/2024-06-29.md b/00.01 Admin/Calendars/2024-06-29.md new file mode 100644 index 00000000..504a0d6b --- /dev/null +++ b/00.01 Admin/Calendars/2024-06-29.md @@ -0,0 +1,134 @@ +--- + +title: "🗒 Daily Note" +allDay: true +date: 2024-06-29 +Date: 2024-06-29 +DocType: Note +Hierarchy: +TimeStamp: +location: +CollapseMetaTable: true +Sleep: 7.5 +Happiness: 80 +Gratefulness: 90 +Stress: 25 +FrontHeadBar: 5 +EarHeadBar: 20 +BackHeadBar: 30 +Water: 0.5 +Coffee: 2 +Steps: +Weight: +Ski: +IceSkating: +Riding: +Racket: +Football: +Swim: + +--- + +%% Parent:: [[@Life Admin]] %% + +--- + +[[2024-06-28|<< 🗓 Previous ]]       [[@Main Dashboard|Back]]       [[2024-06-30|🗓 Next >>]] + +--- + +  + +```button +name Record today's health +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-2024-06-29Edit + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-06-29NSave + +  + +# 2024-06-29 + +  + +> [!summary]+ +> Daily note for 2024-06-29 + +  + +```toc +style: number +``` + +  + +--- + +  + +### ✅ Tasks of the day + +  + +```tasks +not done +due on 2024-06-29 +path does not include Templates +hide backlinks +hide task count +``` + +  + +--- + +  + +### 📝 Memos + +  + +This section does serve for quick memos. + +  + + +%% --- %% +  + +--- + +  + +### 🗒 Notes + +  + +Loret ipsum + +  + +--- + +  + +### :link: Linked activity + +  + +```dataview +Table from [[2024-06-29]] +``` + +  +  \ No newline at end of file diff --git a/00.02 Inbox/Blonde.md b/00.02 Inbox/Blonde.md new file mode 100644 index 00000000..a471a0ff --- /dev/null +++ b/00.02 Inbox/Blonde.md @@ -0,0 +1,86 @@ +--- + +Tag: [""] +Date: 2024-06-29 +DocType: "Source" +Hierarchy: "NonRoot" +TimeStamp: +location: +Source: + Type: "Book" + Author: Joyce Carol Oates + Language: EN + Published: 2017-02-14 + Link: + Read: + Cover: http://books.google.com/books/content?id=5w2JDQAAQBAJ&printsec=frontcover&img=1&zoom=1&edge=curl&source=gbs_api +CollapseMetaTable: true + +--- + +Parent:: [[@Reading master|Reading list]] +ReadingState:: 🟥 + +--- + +  + +```button +name Edit Source parameters +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-SourceEdit + +```button +name Save +type command +action Save current file +id Save +``` +^button-TNSave + +  + +# Blonde + +  + +> [!summary]+ +> + +  + +```toc +style: number +``` + +  + +--- + +  + +### Cover + +  + +```dataviewjs +dv.el("span", "![](" + dv.current().Source.Cover + ")") +``` + +  + +--- + +  + +### Notes + +  + +Loret ipsum + +  +  \ No newline at end of file diff --git a/00.02 Inbox/Carolyn et John.md b/00.02 Inbox/Carolyn et John.md new file mode 100644 index 00000000..0c5d30c7 --- /dev/null +++ b/00.02 Inbox/Carolyn et John.md @@ -0,0 +1,86 @@ +--- + +Tag: [""] +Date: 2024-06-29 +DocType: "Source" +Hierarchy: "NonRoot" +TimeStamp: +location: +Source: + Type: "Book" + Author: Stéphanie Des Horts + Language: + Published: 2024-03-27 + Link: + Read: + Cover: http://books.google.com/books/content?id=XLf4EAAAQBAJ&printsec=frontcover&img=1&zoom=1&edge=curl&source=gbs_api +CollapseMetaTable: true + +--- + +Parent:: [[@Reading master|Reading list]] +ReadingState:: 🟥 + +--- + +  + +```button +name Edit Source parameters +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-SourceEdit + +```button +name Save +type command +action Save current file +id Save +``` +^button-TNSave + +  + +# Carolyn et John + +  + +> [!summary]+ +> + +  + +```toc +style: number +``` + +  + +--- + +  + +### Cover + +  + +```dataviewjs +dv.el("span", "![](" + dv.current().Source.Cover + ")") +``` + +  + +--- + +  + +### Notes + +  + +Loret ipsum + +  +  \ No newline at end of file diff --git a/00.02 Inbox/Le Barman du Ritz.md b/00.02 Inbox/Le Barman du Ritz.md new file mode 100644 index 00000000..8610eac3 --- /dev/null +++ b/00.02 Inbox/Le Barman du Ritz.md @@ -0,0 +1,86 @@ +--- + +Tag: [""] +Date: 2024-06-29 +DocType: "Source" +Hierarchy: "NonRoot" +TimeStamp: +location: +Source: + Type: "Book" + Author: Philippe Collin + Language: FR + Published: 2024-04-24 + Link: + Read: + Cover: http://books.google.com/books/content?id=wc35EAAAQBAJ&printsec=frontcover&img=1&zoom=1&edge=curl&source=gbs_api +CollapseMetaTable: true + +--- + +Parent:: [[@Reading master|Reading list]] +ReadingState:: 🟥 + +--- + +  + +```button +name Edit Source parameters +type command +action MetaEdit: Run MetaEdit +id EditMetaData +``` +^button-SourceEdit + +```button +name Save +type command +action Save current file +id Save +``` +^button-TNSave + +  + +# Le Barman du Ritz + +  + +> [!summary]+ +> + +  + +```toc +style: number +``` + +  + +--- + +  + +### Cover + +  + +```dataviewjs +dv.el("span", "![](" + dv.current().Source.Cover + ")") +``` + +  + +--- + +  + +### Notes + +  + +Loret ipsum + +  +  \ No newline at end of file diff --git a/00.03 News/Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold..md b/00.03 News/Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold..md new file mode 100644 index 00000000..e3cd2266 --- /dev/null +++ b/00.03 News/Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold..md @@ -0,0 +1,87 @@ +--- + +Tag: ["🎭", "🎥", "🇺🇸", "👤"] +Date: 2024-06-23 +DocType: "WebClipping" +Hierarchy: +TimeStamp: 2024-06-23 +Link: https://slate.com/culture/2024/06/emma-stone-kinds-of-kindness-movie-poor-things-curse.html +location: +CollapseMetaTable: true + +--- + +Parent:: [[@News|News]] +Read:: 🟥 + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-EmmaStoneHasChangedHerWholeStyleofActingNSave + +  + +# Emma Stone Has Changed Her Whole Style of Acting. It’s a Wonder to Behold. + + +## The *Kinds of Kindness* star has changed her whole style of acting. It’s a wonder to behold. + +![A collage of Emma Stone in her various roles.](https://compote.slate.com/images/1eb15fb0-f2c0-4dd8-9638-8e31f8b34dc9.jpeg?crop=1560%2C1040%2Cx0%2Cy0) + +Photo illustration by Slate. Photos and screengrabs by Searchlight Pictures and Showtime. + +When Emma Stone won her first Academy Award, for *La La Land* in 2017, she took the stage with an open mouth and a sideways glance that seemed to say, [*Can you even believe this?*](https://www.youtube.com/watch?v=D3sotAxZSG8) But when she won again last year, for her performance as the childlike Bella Baxter in *Poor Things*, she seemed to be the one in disbelief. Although Stone was widely considered the favorite for Best Actress, the look on her face as Michelle Yeoh read out her name wasn’t the carefully rehearsed *who, me?* of a foreordained winner but [a shock so intense it verged on physical discomfort](https://slate.com/culture/2024/03/oscars-2024-winners-emma-stone-poor-things-lily-gladstone-best-actress.html). By the time she got to the microphone, Stone had collected herself sufficiently to breathlessly utter her list of thank-yous, but for a moment, she seemed to be experiencing something a little less like gratitude, and a little more like dread. + +Stone’s victory might have been dampened by the fact that it prevented a historic win by Lily Gladstone, the first Native American to be nominated for Best Actress—especially given the backlash Stone faced for taking the role of a character with Chinese and Native Hawaiian ancestry in [Cameron Crowe’s *Aloha*](https://slate.com/culture/2015/06/bumpy-kanahele-hawaiian-sovereignty-and-cameron-crowes-aloha.html). But that wave of criticism, nearly a decade in the past, is remarkable for being the only substantial pushback Stone has received in her nearly 20-year career. Much, if not most, of her largely unblemished record can be chalked up to the reputation-management apparatus that surrounds the Hollywood elite. But it’s notable that, despite being every inch the theater kid, Stone never suffered the post-Oscars opprobrium of, say, [Anne Hathaway](https://slate.com/culture/2013/01/why-do-people-hate-anne-hathaway-one-reason-is-simple-sexism.html), let alone the slings and arrows directed at her [longtime friend Taylor Swift](https://www.yahoo.com/entertainment/taylor-swift-attends-premiere-emma-003356443.html). + +Stone is arguably one of the most talented, and inarguably one of the most lauded, actors of her generation, but that stardom doesn’t sit comfortably on her shoulders. As an actress and a celebrity, she has a knack for undercutting big moments that verges on a compulsion, turning her expressive face into a rubbery mask or sending her limbs flying out at impossibly odd angles. Winning her second Best Actress Oscar by the age of 35 put Stone in an exclusive club that includes Bette Davis, Jodie Foster, and Meryl Streep, but she’s the only one who celebrated her membership by spinning around to show an audience of 21 million the broken zipper on her dress. + +The regular-gal act wore thin when Jennifer Lawrence tried it, mainly because we’re not willing to accept that the prom queen can also be the class clown. But the further Stone ascends, the more determined she seems to be to express her inner weirdo. She’s found an ally in the Greek director Yorgos Lanthimos, whose seriocomic grotesques have allowed her, in [*The Favourite*](https://slate.com/culture/2018/11/the-favourite-review-emma-stone-rachel-weisz-movie.html), [*Poor Things*](https://slate.com/culture/2023/12/poor-things-emma-stone-mark-ruffalo-movie-review.html), and their latest collaboration, *Kinds of Kindness*, to see just how far an audience will follow her. + +As it turns out, not only will that audience accept her as a venomous 18th\-century courtier or an adult woman with the brain of a newborn baby: They’ll embrace her, as will her awards-voting peers. And that success has emboldened Stone to push even further, past goofball exaggeration into a deadpan style that flirts with overt alienation. At the same time, Stone and her husband, Dave McCary, have been proving themselves to be some of Hollywood’s most adventurous producers, putting their muscle behind such out-there projects as Julio Torres’ [*Problemista*](https://slate.com/culture/2023/03/sxsw-problemista-julio-torres-snl-everything-everywhere.html) and Jane Schoenbrun’s [*I Saw the TV Glow*](https://slate.com/culture/2024/01/i-saw-the-tv-glow-sundance-2024-a24-movie.html). We are blessed to be living through Emma Stone’s Freak Era. + +After years of supporting parts, beginning with an ill-fated 2005 attempt to reboot *The Partridge Family*, Stone broke through with 2010’s [*Easy A*](https://slate.com/human-interest/2010/10/the-era-of-great-parents-in-teen-movies-is-upon-us.html), a comedic riff on *The Scarlet Letter* set in a Southern California high school. Directed by Will Gluck, last seen spinning Shakespeare into box-office gold with [*Anyone but You*](https://slate.com/culture/2024/01/movie-anyone-but-you-sydney-sweeney-glen-powell.html), the movie is such a delight that it’s easy to overlook what a high-wire act it must have been transforming a 19th\-century novel into a breezy morality play about teenage slut-shaming. But Stone, in her first leading role, holds it together with a performance that toggles, precisely but without apparent effort, between slapstick and pathos. + +Although Stone was barely into her 20s, *Easy A* instantly established her ability to carry a movie, to balance conflicting tones with the confidence of a seasoned professional and yet maintain a sense of spontaneity and vulnerability. It also established her as an actor who wasn’t afraid to look silly. The movie’s most memorable sequence has nothing to do with sexual mores. It’s a montage in which, over the course of a couple of days, her character resists and then succumbs to the charms of Natasha Bedingfield’s “Pocketful of Sunshine.” By the time she’s [belting the chorus into a showerhead](https://www.youtube.com/watch?v=_HVCB9hW6kg), you know you’re looking at a movie star. + +After a few years of romantic comedies and a brush with franchise fame as [Spider-Man’s girlfriend](https://slate.com/culture/2012/07/the-amazing-spider-man-reviewed.html), Stone tried to break out of the normie rut with 2014’s [*Birdman*](https://www.slate.com/articles/arts/movies/2014/10/birdman_starring_michael_keaton_reviewed.html), where she plays the recovering drug addict daughter of Michael Keaton’s fading movie star. But though the role got Stone her first Oscar nomination, she comes off as a regular person’s idea of a weird person, her damaged blond hair artfully mussed, her wide eyes bulging and rimmed with black. (The distortion of the movie’s wide-angle lenses occasionally makes her look a tad amphibian.) She’s meant to be a burnout, a flaming wreck of a person, but the movie gives away the game when Edward Norton’s self-absorbed thespian tells her that despite the false modesty of her “fragile little fuck-up routine,” he sees how special she really is. “You’re anything but invisible,” he tells her. “You’re big. You’re kind of a great mess.” + +Neither the greatness nor the messiness keys into what Stone does best, which is playing just-this-side-of-noteworthy people who are barely keeping it together. Take [*La La Land*](https://slate.com/culture/2016/12/la-la-land-starring-emma-stone-and-ryan-gosling-reviewed.html)’s Mia, an aspiring actress whose dreams of stardom are rapidly dashed on the rocks of her modest talent. Although the movie eventually grants her professional success, it comes off as an almost ironic gesture, a vision of the perfect life—fame, husband, kids—that’s missing only the passion of her doomed love affair with Ryan Gosling’s jazzbo. It’s not Mia’s eventual ascension that makes her intriguing, but the struggle it takes to get there (a quality Stone’s middling singing and dancing only work to heighten). Nonetheless, Mia’s rise assured Stone’s, lifting her all the way to a Best Actress win. + +Then came the movie that changed everything: *The Favourite*. While many actors use Oscar wins to mount vanity projects or command bigger paychecks, Stone used her newly acquired clout to take a meeting with Lanthimos, then best known for the warped romantic allegory [*The Lobster*](https://slate.com/culture/2016/05/yorgos-lanthimos-discusses-the-lobster-the-pressures-of-dating-and-shooting-his-first-english-language-film.html). The role of Abigail, a fallen aristocrat whose father gambles her away in a card game, isn’t even the lead, but it gave Stone a chance to try out what was, at least for her, a radically different kind of acting, as cold and calculated as her earlier characters were spontaneous and outgoing. + +When she arrives at the court of Queen Anne, played by Olivia Colman, Abigail is a babe in the woods, her pale face splattered with mud from the cramped carriage ride. Despite the fact that her cousin Sarah, played by Rachel Weisz, is the queen’s closest adviser, Abigail is immediately put to work in the scullery, where the washerwomen trick her into burning her skin with lye. Regarding the downtrodden specimen before her, Sarah remarks, “You are perhaps too kind for your own good.” + +That kindness doesn’t last. In *The Favourite*, as in many of Lanthimos’ movies, a person gains power by learning to master their emotions, whether it’s within a romantic relationship or the world at large. As she gains Queen Anne’s confidence, and eventually makes her way into her bed, Abigail becomes increasingly remote, almost robotic, never betraying a feeling that someone might turn against her. In a rare moment of weakness, she starts crying in front of one of the queen’s chief opponents, who orders her to “Turn off the tears.” In an instant, she complies. But that brief glimpse is enough to remind us how much Abigail has had to snuff out in order to secure her place among the heartless schemers of the ruling class. + +Over the course of three features, Stone and Lanthimos have already staked a claim as one of the great actor-director pairings. Lanthimos has given Stone the freedom to explore, and she brings a mercurial humanity to his acidic fables, preventing his clinical abstractions from shading into outright misanthropy. There are a thousand ways that *Poor Things*’ Bella could go wrong, shading into softcore fantasy or parable, but as a woman with the brain of a rapidly maturing infant, Stone navigates the development of Bella’s sexual urges with a remote curiosity that defies a prurient leer. Bella doesn’t learn to bring herself to orgasm; she discovers “happy-when-she-want.” She’s fascinated by lust, not controlled by it. + +In Lanthimos’ movies, bodies are inconvenient when they’re not outright humiliating, pulsing with urges that mock our attempts at nobler thoughts. Although Stone, who did the first nude scene of her career in *The Favourite*, is frequently naked in *Poor Things*, the movie’s sex scenes draw less on her looks than her talent for physical comedy. Because the body she inhabits is not her own, Bella approaches sex like an anthropological experiment, studying her own compulsions and the inexplicable pleasure she derives from mashing her body against another’s. It’s as if she can’t get over how something so awkward and gross can also be so satisfying. + +*Poor Things* feels like an experiment for Stone, too, a test to see just how much leeway 20 years of playing the genial goofball has bought her. She narrows her expression to a sliver of its normal range, a choice that has all the more impact because of how dramatically it jars with what we’re used to seeing. It’s as if she’s spun the magnet of her movie-star charisma 180 degrees, repelling as forcefully as it attracts, just to see if we’ll still try to get close. + +Stone pushed the experiment even further with the TV show [*The Curse*](https://slate.com/culture/2023/11/the-curse-showtime-review-emma-stone-nathan-fielder-benny-safdie-a24.html), where she plays a brittle white liberal trying to launch her own home-improvement show. Whitney might be the most outwardly repellent character of Stone’s career, an edgy manipulator whose plans to build eco-friendly housing in a New Mexico exurb reek of gentrification and unconscious privilege. (The scenes where she tries to curry favor with a Pueblo artist may be the most painful thing I’ve ever watched.) It’s a merciless performance, almost brutal in its resistance to softening Whitney or making her sympathetic in any way. And it’s an unbelievably bold thing to release in the middle of the six-month charm offensive that is an Oscar campaign. + +*Kinds of Kindness* almost feels like a lark by comparison, a three-part anthology film whose stories are loosely tied together by Lanthimos’ belief in the transactional nature of human relationships. Along with the rest of an ensemble cast that includes Jesse Plemons, Willem Dafoe, Margaret Qualley, and Hong Chau, Stone plays a different role in each part: a woman in thrall to a businessman who dictates every aspect of her life, down to what she eats and what time she has sex; a scientist marooned on a research trip, who returns home unplaceably different than she was before; a member of a cult obsessed with the purification of bodily fluids. But her characters share a fixation on self-control, and a flat, almost affectless bearing that only cracks open in the movie’s final moments. (If you’ve seen Stone dancing in the trailers, arms flailing in a slim-fitting pantsuit, you know what that looks like.) + +Stone’s deadpan is so extreme that at times it’s almost zombielike—she walks as if her spine is a steel rod, turning her head like it’s on a swivel—but it’s also what makes *Kinds of Kindness* register as an exhilaratingly morbid comedy rather than a miserabilist horror show. (She reserves her driest delivery for the line “[There, dogs were in charge](https://slate.com/culture/2024/05/the-substance-demi-moore-movie-cannes-2024.html?pay=1718901783482&support_journalism=please).”) Because she accepts this world as it is, with its sharp-edged cruelty and absurdist flourishes, we do too. She’s taking her audience to darker and darker places, and we keep trusting her to lead the way. + +Stone hasn’t abandoned the limelight: Among her upcoming projects is a sequel to 2021’s [*Cruella*](https://slate.com/culture/2021/05/cruella-movie-review-emma-stone-disney-plus.html?pay=1718901944710&support_journalism=please), where she plays a punk-lite version of the classic Disney villain. (Imagine *Birdman*’s sullen twentysomething donning Vivienne Westwood.) But she’s also signed on to her fourth movie with Lanthimos, as well as the next by Ari Aster, another director known for pushing his audience, and his actors, to extremes. Sally Field, who fulsomely recapped Stone’s career as part of the Best Actress presentation in March, famously accepted her second Oscar by exclaiming, “You like me!” But it seems as if Stone is starting to feel a little unnerved by all that liking, and curious about what else she can make people feel. + +- [Movies](https://slate.com/tag/movies) +- [The Oscars](https://slate.com/tag/the-oscars) +- [TV](https://slate.com/tag/tv) +- [Assessment](https://slate.com/tag/assessment) + +  +  + +--- +`$= dv.el('center', 'Source: ' + dv.current().Link + ', ' + dv.current().Date.toLocaleString("fr-FR"))` \ No newline at end of file diff --git a/00.03 News/Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth.md b/00.03 News/Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth.md new file mode 100644 index 00000000..0d92dceb --- /dev/null +++ b/00.03 News/Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth.md @@ -0,0 +1,71 @@ +--- + +Tag: ["🧪", "🌍"] +Date: 2024-06-23 +DocType: "WebClipping" +Hierarchy: +TimeStamp: 2024-06-23 +Link: https://futurism.com/harvard-scientists-unknown-civilization-cryptoterrestrials +location: +CollapseMetaTable: true + +--- + +Parent:: [[@News|News]] +Read:: 🟥 + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-HarvardScientistsSayThereMayBeanUnknownTechnologicallyAdvancedCivilizationHidingonEarthNSave + +  + +# Harvard Scientists Say There May Be an Unknown, Technologically Advanced Civilization Hiding on Earth + +What if — stick with us here — an unknown technological civilization is hiding right here on Earth, sheltering in bases deep underground and possibly even emerging with UFOs or disguised as everyday humans? + +In a [new paper](https://www.researchgate.net/profile/Tim-Lomas/publication/381041896_The_cryptoterrestrial_hypothesis_A_case_for_scientific_openness_to_a_concealed_earthly_explanation_for_Unidentified_Anomalous_Phenomena/links/665e2620479366623a3dbaeb/The-cryptoterrestrial-hypothesis-A-case-for-scientific-openness-to-a-concealed-earthly-explanation-for-Unidentified-Anomalous-Phenomena.pdf) that's bound to raise eyebrows in the scientific community, a team of researchers from Harvard and Montana Technological University speculates that sightings of "Unidentified Anomalous Phemonemona" (UAP) —  bureaucracy-speak for UFOs, basically — "may reflect activities of intelligent beings concealed in stealth here on Earth (e.g., underground), and/or its near environs (e.g., the Moon), and/or even 'walking among us' (e.g., passing as humans)." + +Yes, that's a direct quote from the paper. Needless to say, the researchers admit, this idea of hidden "crypoterrestrials" is a highly exotic hypothesis that's "likely to be regarded skeptically by most scientists." Nonetheless, they argue, the theory "deserves genuine consideration in a spirit of epistemic humility and openness." + +The interest in unexplained sightings of UFOs by military personnel has grown considerably over the past decade or so. This attention grew to a peak last summer, when former Air Force intelligence officer and whistleblower David Grusch [testified in front of Congress](https://futurism.com/us-recovered-non-human-vehicles), claiming that the US had already recovered alien spacecraft as part of a decades-long UFO retrieval program. + +Even NASA [has opened its doors](https://futurism.com/the-byte/nasa-studying-ufos) for researchers to explore [mysterious, high-speed objects](https://futurism.com/navy-pilot-bizzare-ufo-encounter) that have been spotted by military pilots over the years. + +But [several](https://futurism.com/ufo-report-released) [Pentagon reports](https://www.cbsnews.com/news/pentagon-ufo-uap-report-full-text-march-2024/) later, we have [yet to find](https://futurism.com/the-byte/seti-institute-zero-evidence-aliens) any evidence of extraterrestrial life. + +That hasn't dissuaded these Harvard researchers, though. In the paper, they suggest a range of possibilities, each more outlandish than the next. + +First is that a "remnant form" of an ancient, highly advanced human civilization is still hanging around, observing us. Second is that an intelligent species evolved independently of humans in the distant past, possibly from "intelligent dinosaurs," and is now hiding their presence from us. Third is that these hidden occupants of Earth traveled here from another planet or time period. And fourth — please keep a straight face, everybody — is that these unknown inhabitants of Earth are "less technological than magical," which the researchers liken to "earthbound angels." + +UFO sightings of "craft and other phenomena (e.g., 'orbs') appearing to enter/exit potential underground access points, like volcanoes," they write, could be evidence that these cryptoterrestrials may not be drawn to these spots, but actually reside in underground or underwater bases. + +The paper quotes former House Representative Mike Gallagher, who [suggested last year](https://www.newsweek.com/ufo-mike-gallagher-comments-video-1809664) that one explanation for the UFO sightings might be "an ancient civilization that’s just been hiding here, for all this time, and is suddenly showing itself right now," following Grusch's testimony. + +The researchers didn't stop there, even suggesting that these cryptoterrestrials may take on different, non-human primate or even reptile forms. + +Beyond residing deep underground, they even speculate that this mysterious species could even be concealing themselves on the Moon or have mastered the art of blending in as human beings, a folk theory that has inspired countless works of science fiction. + +Another explanation, as [put forward](https://avi-loeb.medium.com/no-high-rise-left-standing-from-early-mars-or-earth-9376389ae070) by controversial Harvard astrophysicist Avi Loeb, suggests that other ancient civilizations may have lived on "planets like Mars or Earth" but a "billion years apart and hence were not aware of each other." + +Of course, these are all "far-fetched" hypotheses, as the scientists admit, and deserve to be regarded with plenty of skepticism. + +"We entertain them here because some aspects of UAP are strange enough that they seem to call for unconventional explanations," the paper reads. + +"It may be exceedingly improbable, but hopefully this paper has shown it should nevertheless be kept on the table as we seek to understand the ongoing empirical mystery of UAP," the researchers conclude. + +**More on UFOs:** *[New Law Would Force Government to Declassify Every UFO Document](https://futurism.com/the-byte/government-declassify-ufo-documents-bill)* + +  +  + +--- +`$= dv.el('center', 'Source: ' + dv.current().Link + ', ' + dv.current().Date.toLocaleString("fr-FR"))` \ No newline at end of file diff --git a/00.03 News/Home of the Brave Enduring the VA’s Homeless Veteran Crisis.md b/00.03 News/Home of the Brave Enduring the VA’s Homeless Veteran Crisis.md new file mode 100644 index 00000000..1e1a4b2e --- /dev/null +++ b/00.03 News/Home of the Brave Enduring the VA’s Homeless Veteran Crisis.md @@ -0,0 +1,41 @@ +--- + +Tag: ["🤵🏻", "🇺🇸", "🪖"] +Date: 2024-06-23 +DocType: "WebClipping" +Hierarchy: +TimeStamp: 2024-06-23 +Link: https://homeofthebrave.longlead.com/ +location: +CollapseMetaTable: true + +--- + +Parent:: [[@News|News]] +Read:: 🟥 + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-HomeoftheBraveEnduringtheVAsHomelessVeteranCrisisNSave + +  + +# Home of the Brave: Enduring the VA’s Homeless Veteran Crisis + +If you are or know a veteran who is unhoused — or at risk of losing their home — there are resources available. Call 877-4AID-VET (877-424-3838) for free, confidential advice from trained VA counselors, 24 hours a day, 7 days a week. + +The VA has existing programs to help unhoused veterans, but this problem is far from solved. To help end the epidemic of veteran homelessness, contact your local congressional representative and tell them about the federal government’s promise to build and maintain permanent, supportive housing for disabled service members in the late-1800s — and the policies that have undermined that plan ever since. + +  +  + +--- +`$= dv.el('center', 'Source: ' + dv.current().Link + ', ' + dv.current().Date.toLocaleString("fr-FR"))` \ No newline at end of file diff --git a/00.03 News/How the Naughty ’90s Set the Stage for Today’s Tragicomedy.md b/00.03 News/How the Naughty ’90s Set the Stage for Today’s Tragicomedy.md new file mode 100644 index 00000000..cda1f57d --- /dev/null +++ b/00.03 News/How the Naughty ’90s Set the Stage for Today’s Tragicomedy.md @@ -0,0 +1,67 @@ +--- + +Tag: ["🗳️", "🇺🇸"] +Date: 2024-06-23 +DocType: "WebClipping" +Hierarchy: +TimeStamp: 2024-06-23 +Link: https://www.vanityfair.com/news/story/how-the-naughty-90s-set-the-stage-for-todays-tragicomedy +location: +CollapseMetaTable: true + +--- + +Parent:: [[@News|News]] +Read:: 🟥 + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-HowtheNaughty90sSettheStageforTodaysTragicomedyNSave + +  + +# How the Naughty ’90s Set the Stage for Today’s Tragicomedy + +You couldn’t have 2020s America—and the half-witted half-decade of Trump that preceded it—without the 1990s. **Newt Gingrich** walked so that **Donald Trump** could run. The Brooks Brothers’ Riot (okay, it happened in November of 2000, but you get the idea) was the Oxford-cloth precursor to the fur-lined, horned-hat insurrection of January 6, 2020. Everything that happened in the weird, wild, horrible, sexually repressed decade(s) we are living in now were stage-set in the weird, wild, manic, sex-charged 1990s. + +You can’t understand the polarized power dynamics of 2020s Washington without understanding the culture-war standoffs (Family Values! **Dan Quayle** vs. Murphy Brown! Don’t Ask, Don’t Tell!) that defined politics in the 1990s. The Trump impeachments are merely another chapter in our country’s fraught relationship with impeachments. Obviously, having an affair in the West Wing with a White House intern is not the same as trying to overthrow American democracy. But in both cases, the congressional mechanism for punishment was the same. And so many of the wheels of American democracy that failed to hold Trump accountable for his numerous crimes were originally perverted for political purposes in the 1990s. You can’t make sense of Trump without first taking a long, hard look at Bush I, Clinton, and Bush II. You can’t understand today’s 24/7, scandal-fueled, online-omniscient media without looking at the tabloid-tinged, innuendo-drenched cable news carnival that shaped it. The past is always prologue. Nothing ever makes sense in a vacuum. History repeats itself; in this case, the first act as farce, the next as tragicomedy. + +I think of myself as a ’90s girl. I got sober when I was nineteen years old, on November 2, 1997. And in some ways, I never left that decade. I spent that November in a rehab facility in Minnesota, amid several feet of snow, smoking Parliament Light 100s and drinking coffee and Diet Coke. I wore a North Face parka, used jeans that I had bought downtown, and Free Lance Paris boots. I got stuck at that age—perpetually nineteen—not because it was such a great time in my life. If anything, it was a misery. But that was where my head got stuck. So this book has great resonance. All of the right vibes are in these pages (third-wave feminism, **Anita Hill**’s courage, Riot Grrrl rage, the connectivity of the Web, new laws against domestic violence, new laws promoting what were then called “same-sex civil unions”). All the wrong vibes are here as well (violent anti-abortion activism and anti-LGBTQ attacks, the online porn boom and bro culture, overmedicated patients and overhyped reality TV) forming a dense web of cautionary tales. + +**Kurt Andersen** [writes](https://www.nytimes.com/2015/02/08/opinion/sunday/the-best-decade-ever-the-1990s-obviously.html) in the *New York Times*: “Nostalgia for the era in which you were young is almost inevitable, so people born between 1970 and 1990 feel a natural fetishistic fondness for that decade. But even for the rest of us, the ’90s provoke a unique species of *recherche du temps perdu*, not mere bittersweet reveling in the passage of time. No, looking back at the final ten years of the twentieth century is grounds for genuine mourning: It was simply the happiest decade of our American lifetimes.” + +And for a lot of Americans, the 1990s *were* the last good time. The 1990s saw the last gasps of American prosperity, before globalization made life much more complicated for the vast majority of the nation. Household income peaked in 1999. Peace and prosperity ruled. It looked like we might finally achieve The End of History. As this book maintains, citing an observation from historian **Walter Isaacson**: “We coasted through the ’90s with irrational exuberance. Between the fall of the Berlin Wall until the fall of the twin towers, there was nothing unnerving us.” + +And what a fall. While the attacks of 9/11 ended the decade with the deadly implosion of a grand citadel of capitalism, the American empire and Western civilization did not buckle—even if they are, today, in grave disarray. (Spoiler alert: History did not end.) + +Amid our mourning for these losses, we also mourn the loss of the social fabric that brought us together. In many ways, we were more culturally connected during the 1990s. We watched many of the same television shows, from **Bill Clinton** blowing the saxophone on *Arsenio Hall*, to **Kim Cattrall**’s Samantha blowing one of her pickups on *Sex and the City*. The idea of watercooler television became an idea. Everyone witnessed the same things at the same time because even though satellite and cable TV were in their infancy, there were an arguably limited number of viewing options. In 1992, **Bruce Springsteen** underscored this point when he released “57 Channels (And Nothin’ On).” When *The Cosby Show* ended in 1992, its finale was seen by 44.4 million people. Later that decade, the finale of *Seinfeld* was viewed by a whopping 76 million. These numbers are many multiples more than the audience who now tune into streaming shows or cable news broadcasts or even presidential speeches and debates. We are more and more fractured—for better and, I would say, for worse. + +We also were obliged to watch commercials. Advertisements were cultural experiences because we all had to sit through them. If you skip ahead to chapter 29—the first of two chapters devoted to the discovery and marketing rollout of the decade’s new wonder drug, Viagra—you’ll be reminded that many Americans’ first encounter with the medication came in 1998, in the form of a commercial often aired during football games. As the whole family sat around the TV, they heard the following phrase: *“In the rare event of an erection lasting more than four hours, seek immediate medical help.”* + +Cell phones were relatively new in the 1990s. Since few possessed the ability to send or receive text messages, we had hours to fill, hours in which we did not look at our devices. Instead, we read books, magazines, and newspapers—and discussed them. We talked to one another in person, on telephones, in town, at offices and schools and places of worship. Life in the 1990s moved a lot slower. News had to be printed in newspapers or announced on the radio or broadcast on television. This meant that ideas took longer to permeate, to take shape in the public mind. As this book makes plain: Snap judgments were generally frowned upon; gossip still had a taint to it; shameful actions brought about genuine shame—not an occasion for social media exploitation. + +I was eleven when the decade started, born during a patrician, old-school Yalie presidency. I started working in the late 1990s, writing freelance pieces, the articles that filled the spaces between advertisements in women’s magazines. Those magazines, with the exception of *Vogue*, are gone now, as are all those glossy advertisements. Nothing seems to fill the spaces between tweets or Instagram photos or Facebook posts. There are no gatekeepers anymore, and so we can all be girl bosses if the algorithm blesses us. For worse or, I would say, for better. + +I look back on the 1990s with a kind of hazy, nostalgic fondness. I don’t think we were better off then—not by a longshot. But I do think some elements of American life that were lost with the Naughty Nineties were worth saving and, in their absence, are worth celebrating. + +There is much to learn from the decade, with all of its scandal and sex, all of its lies and faux reality, all of its sound and fury and digital mayhem—much of it, in hindsight, quite hilarious. Every bit of it is here in the precious pages of **David Friend**’s epic, witty, insightful book. + +We all lived it. Now it’s time to take the bull—oh, was there a lot of bull—by the horns. + +--- + +*Excerpted from* [THE NAUGHTY NINETIES: The Decade that Unleashed Sex, Lies, and the World Wide Web](https://cna.st/affiliate-link/8c1CyqM3gV3cVDMAsizFYs7PLQu7L2ZRxcGuA3RPQ5t1h3Gt6msK5UanYEeVEhF3NMvwnsBo3nE66Mm4naX9Ju4TR4SaNZj2Mhw1kggGhjyEYAyK7STx1CZTHQuwMUzPNisfk2RcozDWYdGS1kASusE2bozbeS33335rkCjAFWiC2D3S4xksnmtGfjc3LRpFYE2K1C5TDwc7ygh9JVuEH1NTwmfkn2zfdMGhE8v73fw4xhT9wYRLtNa8VpHq7SEmLr69yQkdq5u7NywmdDvFsQNM8AG9sYkne7irr5xQsVyMHTcuvDMuHU5T1wu2qSQ3K8XuR5FNJbpG8mhN3GydvE1gPytgH2er87jm1ty7mGyQJ1HrFCevtZ63NC6DFbmRt5n3jbxPG94fimW9ULYnHBXnxqJuNs5eQz1ZRYWE8aRGB564AJtSfmdATbiPaw5MFDKqtvUURBvngnavYtnZ5quYgDaAqkVhVW6TfaamL) by David Friend. *©2024 David Friend and reprinted by permission from Twelve Books, an imprint of Grand Central Publishing, a division of Hachette Book Group, Inc*. + +  +  + +--- +`$= dv.el('center', 'Source: ' + dv.current().Link + ', ' + dv.current().Date.toLocaleString("fr-FR"))` \ No newline at end of file diff --git a/00.03 News/Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution.md b/00.03 News/Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution.md new file mode 100644 index 00000000..cfb1ae65 --- /dev/null +++ b/00.03 News/Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution.md @@ -0,0 +1,267 @@ +--- + +Tag: ["📈", "🇮🇩", "🔋", "⛏️"] +Date: 2024-06-23 +DocType: "WebClipping" +Hierarchy: +TimeStamp: 2024-06-23 +Link: https://www.bloomberg.com/features/2024-indonesia-sulawesi-nickel-fire/ +location: +CollapseMetaTable: true + +--- + +Parent:: [[@News|News]] +Read:: 🟥 + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-IndonesiasDeadlyMiningComplexPoweringtheElectricVehicleRevolutionNSave + +  + +# Indonesia’s Deadly Mining Complex Powering the Electric Vehicle Revolution + +![Aerial view of the gigantic Indonesia Morowali Industrial Park in Bahodopi, Morowali, Central Sulawesi.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/iG2ZDoTE7xUY/v0/640x-1.jpg) + +Aerial view of the gigantic Indonesia Morowali Industrial Park in Bahodopi, Morowali, Central Sulawesi. Photographer: Muhammad Fadli for Bloomberg Businessweek + +Businessweek | The Big Take + +Nickel is pouring into the supply chain from an Indonesian industrial park with a history of fatal accidents. + +By Matthew Campbell and Annie Lee +Illustrations by Kaitlin Brito +Photographs and video by Muhammad Fadli + +June 17, 2024, 5:00 PM UTC + +Early in the morning last Christmas Eve, Chinese and Indonesian workers prepared for a maintenance operation at the [Indonesia Morowali Industrial Park](https://imip.co.id/). A complex of factories, smelters and power plants on the island of Sulawesi, IMIP erupts in a tangle of pipelines and smokestacks that belch particulates into the tropical air. The bulk of the tens of thousands of employees live just outside its walls, migrants to a hastily built city of plywood and sheet metal shanties that shelter motorbike shops and dingy rooming houses. + +The workers had been tasked with fixing a submerged arc furnace, which melts nickel ore at temperatures around 1,400C (2,552F). Over time the residue of this process, known as slag, can build up, and the furnace overheats. On this day the plan was to replace heat-damaged bricks in the inner chamber and remove slag. With the furnace turned off, a technician began slicing into its steel shell with a flame cutter, to allow access to the interior. But someone had miscalculated: The slag inside hadn’t cooled enough. In fact, it was still molten. + +The slag surged out from the cut, and the wall of the furnace collapsed. According to people familiar with the incident, who asked not to be identified discussing nonpublic information, acetylene canisters left nearby—used to fuel the flame cutters—started to explode from the surging temperature. The workers trying to contain the damage were hamstrung by communication difficulties, with virtually none of the Chinese staff able to speak fluent Indonesian, and vice versa. + +Watch: The Dirty Secret Behind Electric Cars + +As the sun rose, flames licked at the exterior of the factory building, which billowed with dark smoke. Workers tried frantically to aid their colleagues, many of whom had severe burns. Screaming for help, one group hoisted a blood-covered man into the bed of a pickup truck, which was already crowded with other victims. The onsite medical clinic was overwhelmed: Still in their tan uniforms, injured men lay on the floor, crying out in pain as nurses attended to those they could. By early afternoon, a dozen employees were confirmed dead, with [many more in need of intensive care](https://www.bloomberg.com/news/articles/2023-12-24/twelve-dead-dozens-injured-in-fire-at-indonesian-steel-plant "Fire at Indonesian Steel Plant in Morowali Kills 13 Workers"). The toll would soon rise to 21 men: 8 of them Chinese, 13 Indonesian. + +One of the dead was Taufik, a 40-year-old mechanic from another part of Sulawesi. (Like many Indonesians, he used only one name.) Quiet and serious, he’d worked at IMIP for six years, and with overtime could earn about 8 million rupiah ($500) a month—a respectable wage in rural Indonesia. But he found the job exhausting and had been thinking about quitting to return to his wife, Ice Firawati, and their children, who’d stayed behind in his home village. On Christmas Eve, Ice had set out to visit him, a 15-hour journey by car and ferry. She was on the road when one of his friends called to tell her that Taufik was among the victims. + +He and the others killed in the fire died in the service of one of the greatest industrial transitions in modern history. Over the past decade, Sulawesi and other Indonesian islands have been transformed into hubs for mining and processing nickel. The metal is a crucial component for making stainless steel, the purpose of the facility where the explosion occurred. It’s also essential to many electric-vehicle batteries. The government of outgoing President Joko Widodo, who’s better known as Jokowi, has enthusiastically promoted the nickel industry’s growth, seeing a chance to put Indonesia at the center of global supply chains—and to create employment for the country’s roughly 280 million people. + +Controlled by Chinese metals giant Tsingshan Holding Group Co., IMIP is the product of more than $30 billion in investment. Sprawling across what was once a plain of farmers’ fields and fishing hamlets on Sulawesi’s eastern shore, a short distance from nickel-mining concessions that dot the surrounding hillsides, it boasts its own seaport and airport, along with a resort-style hotel for visiting executives. IMIP has created immense numbers of jobs, with more than 100,000 employees and contractors, and accounts on its own for a major percentage of Indonesia’s exports of nickel suitable for batteries. Overall, the nickel industry has helped deliver rapid growth for Indonesia’s economy, the largest in Southeast Asia. + +That success has a dark side. December’s fire was the worst in a long series of fatal accidents at IMIP and other Indonesian nickel sites. Workers have been buried under slag, crushed by heavy equipment and killed in falls. In surrounding communities, residents complain of respiratory ailments that they blame on pollution from smelters and the coal-fired power plants that sustain them. And environmentalists accuse the nickel industry of flouting regulations intended to protect ecologically sensitive islands such as Sulawesi—while expanding production of a material critical to the EVs that Western governments [promote on environmental grounds](https://ec.europa.eu/commission/presscorner/detail/en/ip_22_6462 "Zero emission vehicles: first ‘Fit for 55' deal will end the sale of new CO2 emitting cars in Europe by 2035"). + +In most cases, auto manufacturers don’t directly source battery materials, and it’s difficult if not impossible to trace the metal in a given car to a specific nickel facility. But an extensive review of Chinese, Indonesian, South Korean and US corporate filings by *Bloomberg Businessweek*, as well as interviews with industry experts, shows that nickel from IMIP is present in the supply chain that feeds virtually every major seller of EVs. + +Nickel requires extensive processing before it can be incorporated into EV batteries. + +The first major step is smelting, which occurs at facilities such as the Indonesia Morowali Industrial Park in Sulawesi. Raw nickel ore is heated, often to extreme temperatures, to separate out the valuable metal. + +Then, companies like China’s Zhejiang Huayou Cobalt process the nickel further and provide it to battery manufacturers around the world. + +Finally, assembled battery packs are installed in vehicles from companies such as Tesla and taken out onto the road. + +Notably, companies processing nickel there have direct or indirect supply relationships with many of the world’s largest manufacturers of batteries and battery materials, including South Korea’s LG Chem, Samsung SDI and SK Innovation. There’s a strong chance that metal is being used, or will soon be, in at least some cars manufactured by Tesla Inc., as well as BMW, Ford, General Motors, Hyundai, Stellantis and Toyota, among others. + +Each of these companies has adopted extensive pledges on responsible sourcing and markets its electric offerings as better for the planet than traditional gas guzzlers. They nonetheless depend on workers who perform dirty, dangerous jobs with few safeguards. + +In a statement on behalf of itself and Tsingshan, IMIP said “safety is always our priority,” and that it “quickly required all enterprises to carry out safety risk screening and rectification” after the Christmas Eve accident. It added that companies operating in the complex “must comply with all local environmental laws and regulations,” as well as internal pollution guidelines. + +LG Chem Ltd. and SK Innovation Co. didn’t respond to requests for comment about their links to IMIP; Samsung SDI Co. declined to comment. Tesla and Hyundai didn’t respond to requests for comment. Other carmakers contacted by *Businessweek* emphasized that they don’t have direct business relationships with IMIP, but said they expect companies in their supply chains to comply with labor and environmental standards. Indonesia’s Ministry of Energy and Mineral Resources said it “diligently supervises” safety at nickel sites and is working to address health concerns. + +The December explosion [brought considerable scrutiny to IMIP](https://www.bloomberg.com/news/articles/2024-01-05/explosion-in-indonesia-puts-china-backed-nickel-expansion-in-focus-ahead-of-vote "Explosion in Indonesia Puts China-Backed Nickel Expansion in Focus Ahead of Vote"), with Indonesian politicians declaring that nothing like it should be allowed to happen again. (That didn’t prevent another [incident in January](https://www.bloomberg.com/news/articles/2024-01-20/indonesian-mining-firm-shuts-smelter-furnace-after-slag-overflow "Indonesian Mining Firm Shuts Smelter Furnace After Slag Overflow"), when hot slag overflowed at a different smelter in the stainless-steel supply chain. No injuries were reported.) + +But no one in power in Indonesia is seriously proposing curtailing the expansion of the nickel industry, which would jeopardize the investment and jobs it brings. Nor do international carmakers have much alternative to relying on it if they’re to meet their electrification goals profitably. With its cheap workers and cheap coal, Indonesia offers a dramatic cost advantage compared with other sources of nickel, which include Australia and Canada. + +That’s especially important as growth in demand for EVs slows, putting pressure on manufacturers to make them more affordable. Tesla [reported a slump in deliveries](https://www.bloomberg.com/news/articles/2024-04-02/tesla-sales-miss-in-first-year-over-year-drop-since-pandemic "Tesla’s Sales Miss by the Most Ever in Brutal Blow for EVs") in the first quarter, missing analysts’ estimates by the largest margin on record; Ford Motor Co. has [slashed production of its flagship electric pickup](https://www.bloomberg.com/news/articles/2024-01-19/ford-cuts-production-of-f-150-lightning-electric-truck "Ford Cuts Workforce Making Electric F-150s on Weak Demand"), the F-150 Lightning; and companies including General Motors Co. and Volkswagen AG have delayed or shelved EV plans. + +At the same time, the massive expansion of the industry in Indonesia has led to a slump in global nickel prices, forcing the shutdown of mines in Australia and [destroying the business case for new ones](https://www.bloomberg.com/news/articles/2024-02-03/from-green-hype-to-bailouts-the-nickel-industry-has-imploded "From Green Hype to Bailouts, the Nickel Industry Has Imploded") there and in other higher-cost locations. By 2030, Indonesia may account for nearly two-thirds of the global nickel supply, according to forecasts from BloombergNEF, up from about 47% last year. + +That reality alarms the Indonesians trying to stop the nickel sector from leaving a trail of destroyed ecosystems and dead workers. “With every concession sold, more destruction and damage will also follow,” says Imam Shofwan, head of research at Jatam, a Jakarta-based environmental group. “We are very afraid of the future of this nickel industry.” + +Nickel increases the energy density of battery cells, allowing a car to drive farther on a single charge. There’s an alternative, lithium iron-phosphate batteries—known as LFP, because of the chemical symbol for iron—which don’t use nickel at all. But their energy density is typically lower, and carmakers have hesitated to use them in higher-end vehicles. (China’s BYD Co., [which outsold Tesla](https://www.bloomberg.com/opinion/articles/2024-01-03/ev-makers-byd-overtakes-tesla-sales-has-world-in-sight "EV Makers: BYD Overtakes Tesla Sales, Has World in Sight") in the final quarter of last year, uses LFP batteries throughout its range of cars, which tend to be inexpensive.) + +Nickel is a crucial component of many electric-vehicle batteries. Broadly speaking, the more nickel is used, the farther a car can drive on each charge. + +The basic components of a lithium-ion battery are an anode, mostly made of graphite, and a cathode—divided by an electrolyte solution and a permeable separator. + +In some high-performing modern batteries, nickel may account for more than half of the cathode material. + +Indonesia’s nickel reserves are the world’s largest, but they were long considered to be too low-grade for use in batteries. Indonesians themselves received little of the benefit. With its poor infrastructure and modest industrial base, the country shipped its nickel ore overseas for processing, largely to China. + +Two factors combined to change this. The first was a 2014 decision by then-President Susilo Bambang Yudhoyono to [ban exports](https://www.bloomberg.com/news/articles/2014-01-11/indonesia-eases-mineral-ore-ban-as-freeport-keeps-copper-exports "Indonesia Eases Mineral Ore Ban as Freeport Keeps Copper Exports") of unprocessed nickel ore. The initial goal was to force companies to invest in domestic processing plants, where nickel ore would be smelted in blast furnaces to separate the valuable metal. Under Jokowi, who took office later that year, the effort became more ambitious, with the government pushing for Indonesia to participate at every level of the EV industry, from mining nickel to [fabricating batteries and assembling finished cars](https://www.reuters.com/business/autos-transportation/hyundai-launches-plant-produce-indonesias-first-electric-car-2022-03-16/ "Hyundai launches plant to produce Indonesia's first electric car | Reuters"). + +The second development was a series of breakthroughs by Chinese companies in a technology called [high-pressure acid leaching](https://www.bloomberg.com/news/features/2023-03-29/nickel-revolution-has-indonesia-chasing-battery-riches-tinged-with-risk "Nickel Revolution Has Indonesia Chasing Battery Riches Tinged With Risk"). In HPAL plants, low-grade nickel ore is placed into pressure vessels, where it’s treated with sulfuric acid and heated. After that, the nickel that separates out will be suitable for batteries, once it’s refined. HPAL requires less energy than other types of nickel processing. The downside is that it generates huge amounts of waste, known as tailings. + +Indonesian nickel processors use a disposal system known as dry stacking, where tailings are dried until they can, in theory, be compacted and piled up for storage outdoors. But nothing stays dry for long in a humid tropical archipelago, and environmentalists worry that stacked tailings could leach chemicals into the soil. Earthquakes and landslides, both common in Indonesia, could tip tailings down slopes or into waterways. (IMIP said in its statement that tailings are disposed of with tools such as “anti-seepage membranes” to prevent leaks, and that groundwater is monitored for contamination.) + +Indonesia nonetheless permitted dry stacking. To increasingly powerful Chinese metals producers, the nation had it all: enormous supplies of nickel ore, workers and coal, as well as generous government incentives. Research provider Wood Mackenzie [estimated last year](https://www.woodmac.com/news/opinion/rise-of-indonesian-hpal/ "The rise and rise of Indonesian HPAL – can it continue? | Wood Mackenzie") that the capital cost of an HPAL plant in Indonesia works out to about $30,000 for each metric ton of nickel produced annually, compared with “closer to $100,000” elsewhere. + +The Chinese company that most aggressively took advantage of this new opportunity was Tsingshan. Based in the eastern city of Wenzhou, it’s the top producer of nickel globally. Its billionaire founder, Xiang Guangda, exerts so much influence over nickel markets that commodity traders [refer to him as “Big Shot.”](https://www.bloomberg.com/news/articles/2023-01-09/nickel-market-faces-new-shock-as-big-shot-boosts-metal-output "Nickel Market Faces New Shock as ‘Big Shot’ Boosts Metal Output") Tsingshan had first agreed to build IMIP, in a remote but nickel-rich district called Morowali, in 2013. (An Indonesian conglomerate, BintangDelapan Group, is also a minority investor in the complex.) But advances in HPAL, as well as another breakthrough by Tsingshan, which developed a method for upgrading a low-end product called nickel pig iron, supercharged its growth. In 2020, IMIP hosted 19 separate enterprises, covering an area of about 2,000 hectares (just under 8 square miles). By the middle of last year, the number of tenants had ballooned to 52, while its physical dimensions had grown more than 50%; it’s now about 10 times the size of Manhattan’s Central Park. + +![A nickel mine in Sulawesi.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/i.Txk4_PzznY/v0/640x-1.jpg) + +A nickel mine in Sulawesi. + +IMIP is a self-contained industrial city. Much of the nickel ore it requires is mined in the immediate area, then trucked down hauling roads to smelting facilities. Once it’s been transformed into “intermediate” nickel products, the material is loaded onto bulk carrier vessels at IMIP’s own port jetties and sent to China for further processing. Coal for its on-site generating plants comes the other way, shipped in from other parts of Indonesia. Such “captive” plants, which serve a specific industrial site rather than the regional grid, now make up around a fifth of Indonesia’s coal power capacity. + +At IMIP, Tsingshan functions in part as a landlord and contractor, supplying shared services such as power and port access. But it also operates its own smelters and other industrial facilities and has minority ownership positions in those operated by others. Workers are often hired through subcontractors or third-party staffing agencies, which may have their own ties to Tsingshan or other IMIP investors. The upshot is that it’s hard to financially disentangle any one entity operating in IMIP from Tsingshan, or from the overall operations of the complex. (IMIP said each tenant company “is an independent legal entity” that’s “responsible for its own business activities.”) + +The model has worked well enough that Tsingshan is replicating it about 450 miles away on the island of Halmahera, in a development called [Indonesia Weda Bay Industrial Park](https://nickelmines.com.au/tsingshan-collaboration/indonesian-weda-bay-industrial-park-iwip/). Other companies are developing nickel facilities across the country. According to Project Blue, a provider of data on clean-energy raw materials, 20 HPAL projects are under development in Indonesia, dwarfing the number in every other country combined. + +Respiratory illnesses are a common complaint in the community surrounding IMIP, whose industrial tenants rely on coal for power. + +Waterways in the area are rusty red, a result of runoff from mining operations. + +Long before arriving at IMIP, along the narrow highway that traces the shore of the Banda Sea, you see the haze—a soup of emissions from smelters and power plants, as well as dust from mine sites and coal depots. Sometimes tinted brown, sometimes a thick gray, it shrouds the nearby mountains and hovers over the water, lending the landscape the pallor of Delhi. Squint through it and you can spot the mining concessions: broad swaths of hillside where trees and soil have been torn away to access the nickel ore beneath. Downslope, waterways are rusty red from the runoff. + +Closer to the complex the traffic thickens with uncountable motorbikes, their drivers wearing the yellow safety helmets that mark them as IMIP employees, heading to or from their shifts. Piles of trash line the roadside; a small stream that passes underneath is so choked with water bottles, plastic bags and takeout containers that the water can barely flow. Closer still, a maze of ramps and catwalks appears overhead, connecting the smelters, which are sited on a plateau flattened to industry-friendly dimensions, to the port. A constant procession of red dump trucks carries coal uphill from arriving ships. + +Before Tsingshan invested here, this area was desperately poor. Twenty-four-hour electricity arrived only in 2011. Some local residents recall that when they were children, their families couldn’t afford rice; their staple food instead was sago, a low-nutrient starch extracted from the trunks of palm trees. The region has since undergone a boom. Government statistics show that Morowali’s economy grew almost 600% from 2015 to 2022, and IMIP has attracted workers from all over Indonesia. Thousands of Chinese staff have also arrived, often taking more specialized engineering and technical roles. Paid several times more than their Indonesian counterparts, they live onsite and rarely, if ever, go outside the IMIP perimeter. + +Very little of the money invested in IMIP has filtered into the community. The main road devolves in places into tire-swallowing, water-filled potholes. Beyond that, the streets are mostly unpaved and turn to mud when it rains. IMIP’s power plants have a combined current capacity of over 5,300 megawatts—more than the largest nuclear facilities in the US—and huge piles of coal are stored in plain sight. But outside its perimeter the grid can’t meet demand, and businesses use generators to keep their lights on through frequent blackouts. They’re a luxury beyond the budget of most local workers, who crowd into closet-size rooms in makeshift dormitories and take their meals in roadside stalls selling fried chicken or offal stew. + +![Workers on their way to IMIP.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/iknlKBcId_lM/v0/640x-1.jpg) + +Workers on their way to IMIP. + +Even then, many struggle to earn a living that allows for more than day-to-day subsistence. Annisa, a 36-year-old single mother who works in IMIP’s catering department, explained that she makes around 6 million rupiah per month—about $370. (Like other nickel industry employees interviewed for this story, her name has been changed to protect her from repercussions for speaking to reporters.) “How to survive, trying to fulfill our needs with that number?” she asked. An unfurnished room costs up to 1.5 million rupiah per month, and daily essentials in the remote region are far more expensive than in other parts of Indonesia. A canister of cooking gas can cost 55,000 rupiah, more than double the price charged in Makassar, a city of about 1.5 million that’s Sulawesi’s largest. + +Annisa said she worries that her income is coming at the expense of her health. When pollution is severe, she said, “it can be hard to breathe … the dust is the worst. It affects the face, the eyes.” But she sees little alternative to her current situation: Away from IMIP, there aren’t many jobs in rural Sulawesi. “There is no other choice,” she said. (IMIP said its wages are “much higher” than those of other local employers.) + +![Abdul Malik is concerned about the number of local tuberculosis infections.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/igmb_JyTlBkQ/v0/640x-1.jpg) + +Abdul Malik is concerned about the number of local tuberculosis infections. + +While the long-term effects of exposure to [the pollutants](https://energyandcleanair.org/wp/wp-content/uploads/2024/02/CREA_CELIOS-Indonesia-Nickel-Development_EN.pdf "(PDF) Debunking the Value-Added Myth in Nickel Downstream Industry") at IMIP are unclear, the information available suggests residents are at risk. “The greatest impact on air quality is from the coal power plants, especially on the community around the facility … and all the communities see the dust in their homes,” said Abdul Malik, head of the community health center in Bahodopi, a town immediately adjacent to IMIP. In the lobby, families crowded into the waiting area seeking attention; respiratory illnesses are the most common complaint. Outside, a sign urged residents to “get used to wearing a mask when leaving the house” to protect from pollution. + +As Malik spoke, an assistant with a laptop pulled up statistics on respiratory diseases such as tuberculosis. “TB is quite common in Indonesia, but the concern is the number” of local infections, Malik said. Based on national and regional trends, the center expected to see around 74 cases in 2022. Instead, it logged 117—58% above the estimate. While TB is caused by a bacterial infection, medical researchers have observed that it’s more common among people [who are exposed to significant air pollution](https://globalhealth.rutgers.edu/news/air-pollution-and-tb/#:~:text=Epidemiological%20research%20shows%20that%20tuberculosis,charcoal%20is%20used%20to%20cook. "Air Pollution and TB: Exploring the Connections | Rutgers University"). + +Still, daily life continues, albeit at a proximity to heavy industry that would be unimaginable in much of the developed world. Farther down the shore, where IMIP is aggressively expanding into a town called Labota, the gray tower of one of its coal plants hovers over an elementary school. The schoolyard, an expanse of bare rocks and dirt with a forlorn volleyball net, lies directly in the smokestack’s shadow. “Of course there are effects from the plant. It’s hard to breathe, you cough,” said Hasrawati, a 31-year-old English teacher. “If we don’t wear glasses, you feel the dust in your eyes.” Sometimes, she said, so much blows into the school that “if we walk on the floor, we can see our footprints.” + +![Children do their morning exercises at an elementary school in Labota, where IMIP is aggressively expanding.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/iMtE9yL.83to/v0/640x-1.jpg) + +Children do their morning exercises at an elementary school in Labota, where IMIP is aggressively expanding. + +With the government strongly supportive of IMIP’s growth, some of its critics are trying to appeal to international audiences. When *Businessweek* visited late last year, there were large posters, printed in English, above the main road in Labota. Their headings indicated they were addressed, somewhat optimistically, to the executive director of the United Nations’ high commissioner for human rights and UN Environment Programme. “COME & HELP US,” they said in red capitals. + +In a motorcycle shop next door, the owner, Bahar, explained that the posters had been put up by an activist from Makassar. Bahar said he had no expectation that the situation would improve: “We feel like we’re alone. No one is trying to help or to hear our voice.” Between drags on a cigarette, he hiked up the leg of his trousers to reveal pink, ulcer-like sores, each surrounded by a circle of darkened skin; a local medical clinic, he said, had told him they were caused by exposure to coal residue. Despite the tens of billions of dollars spent on Morowali’s nickel industry, Bahar said, there’s “no benefit for us at all. We just get sick.” + +Nickel industry managers say they’re mitigating, and compensating for, their social and environmental impacts. IMIP said it shares electricity with the community and monitors air pollution to ensure compliance with Indonesian rules; in 2023, “all air quality tests met the standards.” The complex funds local schools and buys ambulances for nearby villages. It’s also [installing solar panels](https://www.bloomberg.com/news/articles/2023-07-24/indonesian-nickel-mine-morowali-takes-steps-to-address-environmental-concerns "Indonesian Nickel Mine Morowali Takes Steps to Address Environmental Concerns"), though they’ll provide only a fraction of the electricity needed for nickel smelting. Indeed, IMIP isn’t done building coal plants. Plans call for it to ultimately operate perhaps 6,000 megawatts of coal power, enough to meet the electricity demand of about 5 million US homes. + +To Hamid Mina, IMIP’s managing director, this choice of energy source, and everything else, comes down to the cost to the ultimate end-users: carmakers and their customers. “Now everyone is concerned about the environment,” Mina said in an interview in Singapore. “OK, I use solar panels. Are you willing to buy a car with two times the price?” Mina said he resented being lectured by citizens of rich countries that had engaged in their own environmental despoliation. “Europe, United States, Canada—you already cut everything down,” he said. “Now you’re blaming us.” + +Over time, Mina explained, IMIP would use its cost advantage to move up the EV value chain, taking over processing that now occurs in China—and on a site that he said could still substantially expand in size. He argued it could do so while reducing its environmental impact, thanks to future improvements such as better pollution filtering in coal plants—and that much of the responsibility for conditions beyond its walls lies with the government, to which “we pay a lot of tax.” Mina also asked critics to consider the tradeoffs. Before IMIP came to Morowali, “there were trees, forest, nothing. But sometimes they ate only once a day. Today we have industry, dust, smoke … but I give them jobs.” + +![Little of IMIP’s infrastructure investment has reached the surrounding communities.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/ilfPM_AxpkCY/v0/640x-1.jpg) + +Little of IMIP’s infrastructure investment has reached the surrounding communities. + +Even before the fire on Christmas Eve, fatal accidents were common in Indonesian nickel facilities. Trend Asia, a nongovernmental organization based in Jakarta, compiles statistics on such deaths based on media reports. From 2015 to 2022 [it logged 53 fatalities](https://trendasia.org/en/nickel-downstreaming-leads-to-poor-conditions-and-rampant-accidents-imip-workers-declare-the-establishment-of-a-trade-union/#:~:text=In%20Trend%20Asia's%20research%2C%20during,15%20lives%20and%2041%20injuries. "Nickel Downstreaming Leads to Poor Conditions and Rampant Accidents, IMIP Workers Declare the Establishment of a Trade Union"); in the first 11 months of 2023, it recorded 17. (These figures aren’t necessarily comprehensive, since not all accidents make the news.) + +In interviews with *Businessweek*, more than a dozen current and former IMIP workers expressed worry about safety conditions, or said they had personally witnessed or been affected by workplace accidents. While some said that managers had attempted to improve their conditions, the workers described an environment rife with danger—from construction sites where a moment of inattention can be fatal to growling, temperamental smelters, capable of immolating their attendants if mishandled. Among huge, sometimes ill-maintained machines and chemical processes conducted at incinerating temperatures, disaster is always possible. + +One employee described an incident in which a machine operator fell into a pool of molten slag, killing him instantly; another was familiar with accidents in which workers’ hands had been crushed by machinery; another, an occasion when a worker was fatally run over by a forklift. In yet another instance, a young employee was struck and killed by a falling piece of metal. Virtually all the workers confirmed the contents of a standard policy imposed by IMIP and its tenant companies: When a serious accident occurs, employees are told not to discuss it publicly or share photos on social media, with penalties that can include termination. (IMIP said that employees can “send, forward and share any information.”) + +The families bereaved by accidents in nickel facilities aren’t just in Indonesia: A substantial number of workers killed over the years have been Chinese, including some of the December victims. Last year a group of Chinese men who said they’d been employed at IMIP [filed a formal complaint](https://www.reuters.com/markets/commodities/chinese-nickel-workers-file-complaint-indonesias-rights-body-over-work-2023-02-24/) with Indonesian authorities, alleging they’d been forced to work excessive hours without protective equipment. The volume of accidents in Indonesian nickel facilities “points to a systematic and institutionalized pattern of poor labor practice,” China Labor Watch, a New York-based monitoring group, said in [a recent report on the industry](https://chinalabor.wpenginepowered.com/wp-content/uploads/2024/02/Compounding-Vulnerability-Chinese-Workers-in-Indonesia.pdf "(PDF) Compounding Vulnerabilities: Chinese Workers in Indonesia | China Labor Watch"). + +While they face the same dangers, relations between Chinese and Indonesian staff can be tense, and some IMIP workers attribute safety failures partly to a culture clash. Chinese managers “sometimes break the Indonesian safety rules,” says Hasri Sonna, an official with FPE, a union representing IMIP staff. “There are a lot of injuries—and more injuries without data, that are not recorded.” Other issues are more practical: Until recently, according to Arnold Firdaus Bandu, the head of the government Manpower Office for the province that includes Morowali, some equipment manuals were in Mandarin, with no translations available. (IMIP said it investigates employee complaints and records all injuries; meanwhile, it said, “all documents must be bilingual in Chinese and Indonesian.”) + +Agus, a safety manager at a Tsingshan-controlled company within IMIP, described a dispute with his Chinese superiors over the operation of dump trucks, which are used in huge numbers to move coal and nickel ore around the complex. The trucks sometimes developed leaks in their air brake systems, risking a brake malfunction if the vehicles weren’t repaired. Agus said that when he objected, “because of the pressure of production, they would say ‘keep using it.’” Another employee, a dump truck operator, said workers are sometimes instructed to drive vehicles with broken suspensions. + +Agus had also worked on a conveyor belt that moves coal towards a power plant. There, he said, workers each received 15 respirator masks per month. But in an environment thick with coal dust, each mask would become saturated after four or five hours. By the end of a shift, Agus said, workers would often find coal residue around their mouths, suggesting they’d been inhaling it. + +Other risks are more acute. Agus and a worker, Arif, from another IMIP-based company, said they’re sometimes told to perform cleaning and maintenance around conveyors while the belts are still running to avoid slowing production by shutting them down. “It’s only a few centimeters from the conveyor,” Arif said, which could result in a serious accident if, for example, clothes get caught in the machinery. The risks are compounded by a consuming pressure to move fast. “Welding or any other repairs should not be done in a hurry,” Arif said. “Everything about safety should be improved.” + +In its statement, IMIP said “faulty or abnormal equipment,” including vehicles, “is strictly prohibited from participating in production,” and workers must be provided with protective equipment that “meets the requirements of laws and standards.” Moreover, “it is strictly prohibited to perform surrounding cleaning or maintenance tasks when the conveyor belt is running.” + +Despite the danger, many workers told *Businessweek* they were grateful for their jobs. But even some of those who said they were generally happy at IMIP shared harrowing stories. Henry, a mechanic in a smelter, said that a few years earlier he was working around a piece of equipment called a mud gun, which is used to close the outflow hole of a furnace. Apparently unaware that Henry was there, a colleague activated the hydraulics without warning. The machine slammed into Henry’s chest, pinning him. For a month, he struggled to sleep because of the pain. + +In 2022, according to a person with direct knowledge of the matter, Tesla’s battery supply chain team brought a report to Chief Executive Officer Elon Musk on making a major investment in nickel production in Indonesia. But Musk turned them down, the person says. He’d always resisted joint ventures, which would be the only practical strategy. He was also wary of the country’s unpredictable politics and shaky environmental record. + +Despite Musk’s refusal, Tesla uses large volumes of nickel from Indonesia for its higher-end models. (Some of its entry-level cars use LFP batteries.) In 2022, Tesla [entered long-term supply contracts](https://www.bloomberg.com/news/articles/2022-08-01/tesla-inks-battery-materials-deals-with-two-chinese-suppliers "Tesla Inks Battery Materials Deals With Two China Suppliers") for battery materials with two Chinese companies, Zhejiang Huayou Cobalt Co. and CNGR Advanced Material Co. In its most recent sustainability report, Tesla [identified both companies as nickel suppliers](https://www.tesla.com/ns_videos/2023-tesla-impact-report.pdf "(PDF) Impact Report 2023 | Tesla"), with China and Indonesia listed as source countries. + +#### From Earth to EV + +An indicative selection of supply chain relationships tracing the path of Indonesian nickel, based on *Bloomberg Businessweek*’s review of corporate filings. + +A substantial proportion of that material is likely coming from IMIP, or will soon. Huayou is the majority owner of an Indonesian entity called PT Huayue Nickel Cobalt, which operates a major smelter in the facility; filings show it accounts for at least 23% of Huayou’s current operating capacity in Indonesia. CNGR is the lead investor in another IMIP smelter, PT Zhongtsing New Energy, which represents about 31% of CNGR’s planned nickel capacity in the country. Tsingshan, IMIP’s parent company, has financial connections to both: A Singapore entity it controls is an investor in PT Zhongtsing, while an Australian company with which it’s affiliated has a stake in PT Huayue. (In its sustainability report, Tesla said it has “invested significant resources” to address environmental and safety risks in Indonesia, and that “the transition to EVs will not be possible by only relying on non-Indonesian nickel.”) + +Other EV manufacturers have similar connections to Morowali, through intermediaries. Huayou lists LG Chem as a key customer in filings, and the two companies have an extensive relationship, including plans for a shared nickel-smelting operation in Indonesia. Recently, LG Chem announced a roughly $19 billion [supply contract with General Motors](https://www.lgcorp.com/media/release/27326 "LG Chem inks cathode material supply deal with General Motors worth KRW 25 trillion | LG"); a subsidiary, LG Energy Solution, [is developing a joint battery plant](https://www.hyundai.news/eu/articles/press-releases/hyundai-lg-energy-solution-mou-indonesian-government-ev-battery-cell-plant.html "Hyundai Motor Group and LG Energy Solution Sign MoU with Indonesian Government to Establish EV Battery Cell Plant | Hyundai") with Hyundai Motor Co. and [has deals to supply batteries](https://pressroom.toyota.com/lg-energy-solution-and-toyota-sign-long-term-battery-supply-agreement-to-power-electric-vehicles-in-the-u-s/ "Toyota Press Release") to car makers such as Toyota Motor Corp. + +Another example begins with an IMIP smelter called PT QMB New Energy Materials, which is controlled by China’s GEM Co. The Korean company EcoPro is an investor in PT QMB, and GEM identifies it in filings as a major customer. It or its affiliates supply materials to [Samsung SDI](https://www.bloomberg.com/news/articles/2023-12-01/ecopro-samsung-sign-34-billion-battery-deal-despite-ev-slump "Ecopro, Samsung Sign $34 Billion Battery Deal Despite EV Slump") and [SK Innovation](https://skinnonews.com/global/archives/7031 "SK Innovation to cooperate with Ecopro Group to preoccupy the high-performance battery market | Press Release"); the former has made batteries for cars such as the [BMW i7](https://www.samsungsdi.com/sdi-news/3102.html#:~:text=The%20New%20i7%20is%20the,88%25%20nickel%20and%20silicon%20anode. "Samsung Press Release") and is building a US battery-manufacturing complex [with Stellantis](https://www.stellantis.com/en/news/press-releases/2022/may/stellantis-and-samsung-announce-battery-plant-in-kokomo "Stellantis Press Release"). The latter has supplied batteries for [Ford’s F-150](https://www.bloomberg.com/news/articles/2023-02-27/ford-battery-supplier-says-f-150-lightning-fire-rare-occurence "Ford Battery Supplier Says F-150 Lightning Fire ‘Rare Occurence’"). (EcoPro declined to comment.) A unit of China’s Contemporary Amperex Technology Co., whose batteries are used in vehicles from Mercedes-Benz and Volkswagen, among others, also has a stake in PT QMB, though a spokesperson said that “no CATL batteries include nickel from IMIP.” + +GEM didn’t respond to a request for comment. In separate statements, Huayou and CNGR said they raised safety standards after the Dec. 24 explosion, and view preventing workplace accidents as an overriding priority. Both companies also said they comply with relevant environmental standards. + +Even if carmakers wanted to, it would be challenging to ensure their vehicles don’t contain nickel from IMIP or any other specific mine or smelting complex; once it reaches processing plants in China, it can mingle with material from many sources. And for the moment, there aren’t obvious alternatives. “To exclude Indonesia from the supply chain, it would be near impossible to meet EV rollout targets,” says Jack Anderson, a research director at Project Blue. “Simple as that.” + +Indonesia’s next president will be Prabowo Subianto, who won a decisive election victory in February. A former military commander and veteran of some of the country’s bloodiest internal conflicts—he was [for a time effectively banned](https://www.nytimes.com/2020/10/14/world/asia/indonesia-prabowo-subianto-us-visit.html "Indonesian Defense Chief, Accused of Rights Abuses, Will Visit Pentagon | NYTimes") from the US because of alleged involvement in human-rights abuses, which he’s denied—Prabowo is a controversial figure. He nonetheless represents a degree of continuity, not least because Jokowi’s son will serve as his vice president. (Jokowi himself was term-limited.) + +On the campaign trail, Prabowo endorsed “downstreaming,” as Jokowi calls his policy of expanding nickel production. The arguments for staying the course are strong. The median age of the population is around 30, and there’s an urgent need for jobs. Downstreaming has also been lucrative for the financial and political elite. Three nickel companies went public on the Jakarta stock exchange last year, spinning off work for the capital’s bankers and lawyers. At the same time, tax revenue generated by the industry provides a resource for political patronage, in a country with a rich tradition of graft: In Transparency International’s most recent [Corruption Perceptions Index](https://www.transparency.org/en/cpi/2023 "Transparency International List"), Indonesia ranked 115th, behind Belarus and Kazakhstan. + +Some nickel industry figures have suggested that, eventually, carmakers may insist on higher safety and environmental standards. That could mean playing a direct role in mining and refining—which would also provide more control over the supply of a critical industrial input. Ford, for example, [has partnered with Huayou and Vale SA](https://media.ford.com/content/fordmedia/fna/us/en/news/2023/03/30/pt-vale-indonesia-and-huayou-sign-nickel-agreement-with-ford-mot.html "Ford Press Release") to develop an HPAL project in Sulawesi; in a press release, a Ford executive said the plan would “better protect people and the planet.” And companies have long sought to develop technology to help end-users know the origins of their raw materials, though some tracing efforts have struggled. Either way, so-called green nickel will come at a premium to current prices, which manufacturers may not be willing to pay—or pass on to their customers. + +And in even the most aggressive scenario, the introduction of such a separate supply chain is years away. For now, most carmakers will continue to get their nickel from the cheapest, most abundant sources available—with the costs borne by the mainly poor Indonesian and Chinese workers who operate mines and smelters. + +In late December 2022, word began circulating on social media of a fatal explosion at PT Gunbuster Nickel Industry, one of the main operators in a smelting complex about four hours’ drive from IMIP. Two workers had been in the cab of a crane when coal dust caught fire below. Trapped, they burned to death. In another part of Sulawesi, Niluh Novi Barniarthi, 28, saw the news and was alarmed. Her 20-year-old brother, I Made Defri Hari Jonathan, had been working as a trainee at Gunbuster. + +Jonathan had told Barniarthi that he was enjoying the work; he’d talked about using his earnings to expand the family’s small rice farm. Then a cousin called to tell her: Jonathan was one of the dead, along with a young female colleague, Nirwana Selle, who’d developed a following on TikTok for her cheerful videos about life at a nickel smelter. + +Gunbuster arranged to drive Jonathan’s body to the farm. He was laid to rest on Dec. 26—the birthday of his mother, Ni Ketut Sunarti. “Jonathan always gave me a cake for my birthday. Instead we had his funeral,” she said in an interview in the family’s home. The concrete-floored house was decorated with photos of her son: posing for a portrait in a shirt and tie, playing the keyboard at a church service. Gunbuster provided some compensation, but the family hadn’t spent it. “The money is like Jonathan’s body,” said his father, I Ketut Bartolomius. “How could we use it?” They felt the same way about selling Jonathan’s motorcycle, which sat in the garage unused. + +![PT Gunbuster Nickel Industry.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/iVjEPZOtjpL4/v0/640x-1.jpg) + +PT Gunbuster Nickel Industry. + +![Jonathan’s parents in their home.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/ijfhyMs5AuEY/v0/640x-1.jpg) + +Jonathan’s parents in their home. + +![A photo of Jonathan.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/iVQ7E8HcnOHU/v0/640x-1.jpg) + +A photo of Jonathan. + +The complex that hosts Gunbuster was set up by China’s Jiangsu Delong Nickel Industry Co. and is devoted primarily to producing lower-grade nickel for stainless steel. But it’s becoming part of the EV supply chain: Tesla supplier CNGR [has inaugurated a facility there](https://www.cngrgf.com.cn/en-US/gsxw/1241.html "Press Release") to produce nickel matte, which can then be processed into material for batteries. Filings indicate that its capacity for such products will be greater than CNGR’s operation at IMIP. + +It’s entering a site with a dismal safety record. After the accident that killed Jonathan and Selle, workers at Gunbuster staged protests over conditions. These soon turned violent, and two people were killed [in the ensuing melee](https://go.kompas.com/read/2023/01/17/093724774/riot-at-chinese-funded-nickel-plant-in-indonesia-kills-two "Riot at Chinese-Funded Nickel Plant in Indonesia Kills Two | Kompas"). Indonesia’s national human-rights agency, Komnas HAM, investigated the clashes and the events that preceded them. In a report, the watchdog wrote that “unsafe working conditions, lack of protection for workers’ health and welfare, and disregard for corporate responsibilities make this situation extremely serious and unacceptable.” + +In a cafe nearby, Gunbuster workers told *Businessweek* that they feared constantly for their safety. Periodically the power went out, pitching the cafe into darkness for the few seconds it took for patrons to switch on their phone flashlights. Agung, a mechanic, explained that he wasn’t provided with protective goggles; if he wanted them, he would have to buy them for as much as 1 million rupiah, out of his monthly salary of just 3.7 million rupiah. His large eyes were red and watery—the result, he said, of welding without eye protection. Some months earlier, a colleague had lost an eye when a splash of hot metal hit his face. + +![A community near Gunbuster.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/ivojLT9bbYEA/v0/640x-1.jpg) + +A community near Gunbuster. + +![Agung, a mechanic, said that if he wanted protective goggles, he had to pay for them himself.](https://assets.bwbx.io/images/users/iqjWHBFdfxIU/i_cNJFVIWPTc/v0/640x-1.jpg) + +Agung, a mechanic, said that if he wanted protective goggles, he had to pay for them himself. + +Gunbuster said in a statement that employee welfare is “our utmost concern,” and that it complies with safety rules and is seeking to improve conditions. “However, work accidents are a risk that can occur in various industries and work situations, without exception.” CNGR said it’s committed to “continuous improvement” of safety in its new project. + +As at IMIP, workers at Gunbuster are told not to share information after accidents. But such mandates can’t match the speed of the internet, and photos circulate in employee WhatsApp groups. Agung shared an image dated June 26—the day of a deadly smelter explosion at Gunbuster that Indonesian media reported on. It showed two shirtless workers receiving medical attention. One, slumped on a plastic chair, had frayed bandages on both arms and his face. The other was sitting upright, with strips of bandages across his eyes, nose and cheeks, as well as his left hand. + +Chinese staff, working in an unfamiliar country, can be vulnerable in different ways. Zhou, a worker in his late 50s, came to Gunbuster in 2021 from Hunan province to work in construction. Soon after he arrived, he said, he was struck by a rock falling from an excavator. (Gunbuster said it had no comment on Zhou’s account.) Bleeding, he took the day off work—and later learned that his pay had been docked. Zhou said that after he complained, three men woke him and began beating him until he passed out. He eventually went to a hospital; a medical report he shared with *Businessweek* indicated that he was diagnosed with a suspected skull fracture. But Zhou said that his superiors refused to let him stay for treatment. He eventually made it back to China, where he sent a letter to local officials describing his experience. He said he never received a response. + +The nickel processed at Gunbuster, and by CNGR at the same site, is mined from high above the smelter complex, accessible by hauling roads that wind up the hillsides. + +The extraction of lateritic nickel, the type that’s available in Sulawesi, looks nothing like what most people picture when they think of a mine. The ore lies [just below the surface](https://www.geologyforinvestors.com/nickel-laterites/ "Nickel Laterites: The World’s Largest Source of Nickel | Geology for Investors"), so there’s no need for a deep pit, let alone a tunnel descending to underground deposits. Instead, crews clear-cut broad areas of forest and remove the top layers of earth, exposing nickel-containing material that can then be carried out. New concessions are appearing up and down the coast of Sulawesi as the smelters expand, leaving jagged gaps in the tree cover. Mining companies are supposed to restore the forest when they’re done, but environmental groups are skeptical that this will ever make up for the losses. + +On a recent morning at a mine site near Gunbuster, an orange excavator chewed away at a mound of dirt as a dump truck waited nearby. The sun was punishing, and a pair of workers on a break sat under a crude shelter, erected from sticks and a tarp. Just down the slope, it was possible to make out the smelters in the hazy distance, accessible by an unpaved hauling road. Columns of trucks flowed toward it and away, throwing up clouds of dust. Beyond, on the Banda Sea, the nickel ships were waiting for their cargo. *—With Mohammad Jafar Bua, Alfred Cang, Regif Asri Ibrahim, Eko Listiyorini and David Stringer* + +## More On Bloomberg + +  +  + +--- +`$= dv.el('center', 'Source: ' + dv.current().Link + ', ' + dv.current().Date.toLocaleString("fr-FR"))` \ No newline at end of file diff --git a/00.03 News/Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing.md b/00.03 News/Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing.md new file mode 100644 index 00000000..55229245 --- /dev/null +++ b/00.03 News/Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing.md @@ -0,0 +1,211 @@ +--- + +Tag: ["🏕️", "🎣", "🐟"] +Date: 2024-06-23 +DocType: "WebClipping" +Hierarchy: +TimeStamp: 2024-06-23 +Link: https://www.newyorker.com/magazine/2024/06/24/inside-the-slimy-smelly-secretive-world-of-glass-eel-fishing +location: +CollapseMetaTable: true + +--- + +Parent:: [[@News|News]] +Read:: 🟥 + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-InsidetheSlimySmellySecretiveWorldofGlass-EelFishingNSave + +  + +# Inside the Slimy, Smelly, Secretive World of Glass-Eel Fishing + +The Sargasso Sea, a warm, calm expanse of the North Atlantic Ocean, is bordered not by land but by four strong currents—a gyre. Vast mats of prickly brown seaweed float so thickly on the windless surface that Christopher Columbus worried about his ships getting stuck. The biodiverse sanctuary within and beneath the sargassum produces *Anguilla rostrata*, the American eel. Each female lays some eight million eggs. The eggs hatch as ribbonlike larvae that drift to the Gulf Stream, which carries them to the continental shelf. By the time they reach Maine, the larvae have transformed into swimmers about the length of an index finger, with the circumference of a bean sprout and the translucence of a jellyfish. Hence their nickname, glass eels, also known as elvers. The glass eel is barely visible, but for a dark stripe—its developing backbone—and a couple of chia seeds for eyes. “Ghosts on the water,” a Maine fisherman once called them. Travelling almost as one, like a swarm or a murmuration, glass eels enter tidal rivers and push upstream, pursuing the scent of freshwater until, ideally, they reach a pond and commence a long, tranquil life of bottom-feeding. Elvers mature into adults two to three feet in length, with the girth and the coloring of a slimy bicycle tire. Then, one distant autumn, on some unknown cue, they return to the Sargasso, where they spawn and die. + +Maine has thirty-five hundred miles of coastline, including coves, inlets, and bays, plus hundreds of tidal rivers, thousands of streams, and what has been described as “an ungodly amount of brooks.” Hundreds of millions of glass eels arrive each spring, as the waters warm. Four hundred and twenty-five licensed elvermen are allowed to harvest slightly more than seven thousand five hundred pounds of them during a strictly regulated fishing season, which runs from late March to early June. Four Native American tribes may legally fish another two thousand or so pounds, with more than half of that amount designated for the Passamaquoddy, who have lived in Maine and eastern Canada for some twelve thousand years. Maine is the only state with a major elver fishery. South Carolina has a small one (ten licensed elvermen), but everywhere else, in an effort to preserve the species, elver fishing is a federal crime. + +The elvermen sell their catch to state-licensed buyers, who in turn sell to customers in Asia. The baby eels are shipped live, mostly to Hong Kong, in clear plastic bags of water and pure oxygen, like a sophisticated twist on pet-store goldfish. They live in carefully tended tanks and ponds at aquaculture farms until they are big enough to be eaten. Japan alone annually consumes at least a hundred thousand tons of freshwater eel, *unagi*, which is widely enjoyed *kabayaki* style—butterflied, marinated, and grilled. + +The American eel became a valuable commodity as overfishing, poaching, and other forms of human interference led to the decline of similar species in Japan (*Anguilla japonica*) and Europe (*Anguilla anguilla*). Those species are now red-listed as, respectively, endangered and critically endangered. The U.S. has not declared the American eel endangered, and fishermen want to keep it that way. + +In March, 2011, just before elver season started in Maine, a tsunami in Japan decimated aquaculture ponds, driving the price of American glass eels from about two hundred dollars per pound to nearly nine hundred by the season’s closing day. The next year, the price reached one thousand eight hundred and sixty-nine dollars per pound, and soon topped two thousand. *National Fisherman* calls glass eels “likely the most valuable fish in the United States on a per-pound basis.” A recent issue of *Marine Policy* cited “unprecedented demand” for American eel. Only lobster outranks it in Maine. + +During a favorable market and a hard elver run, a Mainer may earn a hundred thousand dollars in a single haul. Each license holder is assigned a quota, ranging from four pounds to more than a hundred, based partly on seniority. Even the lowest quota insures a payout of six thousand dollars if the price per pound breaches fifteen hundred, which happens with some regularity. Maine is the only place in the country where a kid can become eligible for an elver license at fifteen and win a shot at making more money overnight, swinging a net, than slinging years’ worth of burgers. Elvermen have sent their children to college on eels, and have used the income to improve their homes, their businesses, their boobs. This year, more than forty-five hundred Mainers applied for sixteen available licenses. + +One frosty evening in April, an elverman named Sam Glass turned onto a dead-end road in the state’s northernmost coastal region, Down East, and parked beside a stream. The water was about thirty feet wide, with boulders across it and trees on the other side. The stream feeds West Bay, which leads to the Atlantic, whose tide swells and then shrinks the river’s volume every twelve hours. Glass, a tall, reserved fifty-year-old with dark, curly hair and a trim beard, pulled five hand-chopped maple poles from the bed of his pickup truck and carried them down the riverbank. Next, he fetched a plastic bucket, nylon cord, coils of rope, two boat anchors, and a fyke net. Unfurled, the net, made of pale, fine-gauge mesh, resembled a Chinese lantern trailed by two oversized streamers, or a mutant sea creature with a barrel-shaped head. + +[](https://www.newyorker.com/cartoon/a26380) + +Cartoon by Carolita Johnson + +Glass, wearing waders, sloshed into the water and fastened a rope around a boulder, securing the barrel, called the tail bag, at the foot of a gentle rapids. Back on land, he hooked a streamer to one of the maple poles, which he’d stabbed into the earth as a stanchion. The streamer now resembled a wing, hemmed at the top with tubular buoys and weighted at the bottom with chains and one of the boat anchors. To pull the wing taut, Glass roped it to a spruce, then went to work on the other streamer. The net took shape as an ocean-facing funnel, hugging the shore. + +The high-tide line showed on the riverbank like a shadow on a wall. In about six hours, the water would rise again, submerging the tail bag and the bottom half of the wings. Glass was working to beat the setting sun and to harness the pull of the moon. If he had set a good net, baby eels would swim right into his trap. + +Elvers avoid strong currents by keeping to the sides of rivers, the way mice follow baseboards. Glass long ago learned to look for “pinch points,” where the eels are likely to pass within two feet of shore. For the better part of two hours, he cut cord, tied clove hitches, positioned the anchors, tweaked the lean of the stanchions. Hawks and bald eagles were circling, and watching from tree branches. He finished after sundown, his exhalations visible in the beam of his headlamp. “That’s about it,” he said, and walked back up the riverbank, through the bulrush and thorn. A block of dislodged snow slipped downstream, pinballing through the boulders and passing beneath a bridge, beyond which other elvermen had just finished setting their nets. Glass went home to wait for high water. + +Glass grew up in a cedar-shingled house on ten acres near Dyer Bay, and still lives there today. He keeps fyke nets strung up near his apple trees and piled in a greenhouse, where he’s been restoring his late father’s lobster boat. He got burned out on lobstering a while ago and fantasizes about piloting the boat to the Bahamas. He prefers eeling to lobstering, and travelling to almost anything. + +A couple of years ago, Glass and another elverman, Ryan Loughran, went into business together as licensed elver buyers. They partnered with a Korean businessman who wanted to stake a local broker and guarantee a shippable supply. Loughran and Glass augmented their own fishing by taking a commission on each transaction. When I asked why not sell directly to Hong Kong, bypassing the middlemen, another fisherman who overheard the question said, “It isn’t done.” + +Glass has other entrepreneurial interests, including turning a cottage that he built when he was twenty into an Airbnb property. Aside from a shipyard pension, eeling constitutes Loughran’s entire livelihood. He is a gregarious father of three in his forties who always wears a baseball cap and, because of a nerve disorder, walks with a cane. When he was a boy, his father, an eeler, advised him to get a fishing license in case glass eels ever became valuable, never expecting a disaster on the other side of the world to produce Florida-condo money, comfortable-retirement money. In the early boom days of eeling, armed buyers roamed the coast with aerated tanks and a tantalizing amount of bundled cash, paying for elvers straight out of the water. + +The Maine Department of Marine Resources now required fishermen to sell their catch at a fixed address. Glass’s home wasn’t particularly conducive to handling customers, so he reached out to the patriarch of a respected fishing family who lived in a more convenient location, with a wide gravel driveway and a stand-alone garage. Glass had known the patriarch’s wife since grade school. The patriarch captained a range of vessels and wore jackets embroidered with the name of his forty-two-foot Duffy. “I scallop, I lobster, I eel,” he told me one night. I wondered what happens when two competing boats show up at the same fishing grounds—who wins? The patriarch said, “Whoever’s got the biggest balls and the biggest red knife.” A lobsterman standing next to him nodded solemnly. + +The patriarch agreed to rent Glass and Loughran his garage as a buying station. (His name isn’t mentioned here because he wouldn’t allow it, but he tolerated my hanging around.) This year, in late March, they brought in tanks, aerators, nets, buckets, folding tables, and a portable scale. In one corner, near a “*TRUMP* 2020” banner, they installed a chest-high tank, which resembled a one-person hot tub. Someone chalked “$900” on a blackboard. + +Demand in Asia drives the price, but the floor is set locally by a small group of buyers whose names are known and whose conversations, I was told, are private. Nine hundred dollars per pound was the lowest opening price in years. (Loughran had heard that there was a “bottleneck” in Hong Kong.) As the season progresses, the price climbs in twenty-five- or fifty-dollar increments. Each change is posted in Elverholics, a popular fishing forum on Facebook. Some fishermen sell early and low, just to get money in hand. Those who won’t even consider taking less than fifteen hundred dollars a pound respond with yawn emojis and exhortations to “HOOOLLLDDDD!!!!” as they wait for the price-setters to turn on one another. + +In early spring, there’s little for fishermen in Maine to do other than catch bait herring and prepare boats and drags. The clam flats are still thawing. Eeling, theoretically, bridges the gap between seasons. Glass eels hate turbulence, and cold water stupefies them. They seem to run hardest under a full or new moon, in warmer weather, which may not come until May or June, by which time the season is nearly over. This year, rain and snow had left the rivers frothy and high. Eelers were pulling their nets to avoid losing them to the blow. Leaving baby eels trapped in churn was “like puttin’ ’em through a washing machine,” the patriarch told me. + +Loughran set up a makeshift bar in the garage. One night, he invited a bunch of people over. I walked in to find about a dozen fishermen, drinks in hand. Loughran was sitting behind his scale, his laptop open. School had been cancelled for the next day, because of another incoming snowstorm. Bottles of Bacardi Limón and Skrewball peanut-butter whiskey were being drained. + +In the corner, Glass was running an aquarium net through the holding tank, cleaning out dead eels and searching for killers. The elver’s mortal enemies include trout and raccoons, but eelers most despise sea lice, fingertip-size crustaceans that look as lovely as their name. The lice bite the eels; the eels die. The patriarch fished a brown louse from a garbage barrel, where it had been clinging to the side of an empty Miller Lite box, and showed it to me: “Even that *one* will cause mass destruction.” + +The patriarch often eats scallops out of the shell on his boat. He plucked a baby eel from the tank and swallowed it alive. Glass, who is known for his ability to stomach anything, did the same, and said, “Not much taste to ’em.” This was an old trick sometimes performed for nosy outsiders. Eleven years ago, an elverman downed a live eel in front of a BuzzFeed reporter and claimed that it tried to crawl back up his throat. + +In the human palm, a living mass of glass eels feels like a cold pile of squirm. In captivity, they resemble restless black threads, or pepper that has learned how to move. Eels enjoy density, and often cuddle up in piles. With each scoop of the net, elvers wriggled onto Glass’s wrist before appearing to leap back into the water. Glass said, joking a little, “This was the funnest business in the world, but the government doesn’t want to see you have fun *or* make money. We used to be able to go at it unlimited.” + +“A free-for-all,” the patriarch said. + +Licensed fishermen could once set as many fykes and catch as many glass eels as they wanted, using a net of any size or type. The patriarch showed me a cell-phone video of someone dumping a funky gumbo of overage back into a river, to comply with the state’s limits. The price at the time was twenty-two hundred dollars per pound. The eels would have fetched more than ninety grand. + +Like lobster, eel was popular for its affordability and protein before it became an expensive delicacy. In the U.K., elvers are scrambled with eggs. In the Basque country, elvers *a la bilbaína* are fried in olive oil with chili peppers and garlic. The Scandinavians smoke eels. The Maori roast them in leaves. *The Economist* once noted that the cooking encyclopedia “Larousse Gastronomique,” published in 1938, contains forty-five different recipes for eel. (“To kill an eel, seize it with a cloth and bang its head violently against a hard surface.”) Cocktail garnishes are typically inanimate (and non-sentient), but I recently saw a Facebook video of glass eels wriggling around in, supposedly, a cup of sake. + +Years ago, John Wyatt Greenlee was working on a doctorate in medieval history when he became intrigued by seventeenth-century maps of London, which showed images of “eel ships” anchored in the Thames. The Dutch had been selling salted eel to England since at least the fourteenth century, and now delivered them live. Calling himself “Surprised Eel Historian, PhD,” Greenlee took his findings to Twitter, attracting tens of thousands of followers with trivia (early Britons could pay their rent in eels), cheek (“Eel on Twitter > Elon Twitter”), and activism (“Eels are also a super-important part of stream ecologies”). Greenlee told me, “It’s not a panda, or something big and majestic, and it’s not a cute otter. Eels are slimy, weird, snakelike things. But they’re an umbrella species. Saving them means saving broad swaths of habitat from the ocean all the way up to the headwaters.” + +Previous eel obsessives have included Aristotle, Pliny the Elder, Linnaeus, and Freud, who published one of his first papers, in 1877, on eels. (He dissected hundreds of them in a futile search for clues to how they reproduce.) Contemporary biologists know more about the eel’s reproductive system than Freud did, but the sex life of eels is still a secret that plays out within the pressurized depths of the Sargasso. Despite numerous attempts, no one has ever seen them mate in the wild, or managed to document the hatching of eggs outside of captivity. + +The freshwater eel “has a complex life history, parts of which are still shrouded in mystery,” Jonna Tomkiewicz, a senior researcher at the National Institute of Aquatic Resources, in Denmark, explained in one of many papers she’s written on the subject. Do the larvae live on gelatinous plankton? Marine snow? Where in the water column do they feed? Without this kind of knowledge, researchers are “often operating in the dark.” In “Under the Sea-Wind,” Rachel Carson observed that when the American eel returned to its sargassum patch to die it “passed from human sight and almost from human knowledge.” In his book “Eels,” James Prosek, whom the *Times* has dubbed “a kind of underwater Audubon,” calls this final swim “among the greatest unseen migrations of any creature on the planet.” + +Sam Glass tends to his fyke net. “We used to be able to go at it unlimited,” he said.Photograph by Jocelyn Lee for The New Yorker + +For adult eels, the trip often involves surviving the turbine blades of hydroelectric dams. A Maine elverman named Randy Bushey once reported finding migrating eels “chopped up in perfect, one-foot chunks.” Brian Altvater, Sr., a member of the Passamaquoddy Tribe who is working to restore healthy fish runs to the Schoodic River, on the Canadian border, has pushed for the removal of dams by arguing that “they generate very little electricity compared to the damage that they do to the entire ecosystem.” + +Elvers are the key to eel aquaculture farming, given the difficulty, as yet, of captive breeding and scalable hatcheries. Japan, which now imports two-thirds of its eel stock, was eying the American eel as early as 1970. The following spring, William Sheldon, a young employee of the Maine Department of Marine Resources with a new degree in wildlife management, embarked on a study to see if the state’s elver numbers could support a fishery. He found more than enough, and in a report that is still referenced today, he detailed his observations along with one of his fishing inventions, the “Sheldon trap.” (A net with a mesh size “somewhat smaller than ordinary window screening” appeared to work best.) Sheldon also described how to harvest, hold, and transport elvers without killing them. The document was foundational to the fishery that exists today. + +When Maine’s elver season starts, every March 22nd, eelers pray for warm weather. Some toss a coin in their chosen river, for luck. A couple of days before the opening in 2012, the year after the tsunami in Japan boosted prices, the temperature reached the low eighties, far above average. Julie Keene, a veteran eeler from Lubec, at the northeastern tip of the contiguous United States, got a sunburn and fourteen glass eels. That time of year, the typical number was zero, because the rivers were usually still full of ice. Within a couple of days, she had caught about forty-five thousand—eighteen pounds, a personal best. On the Union River, in Ellsworth, the capital of Down East eeling, fishermen were said to have caught more than a million dollars’ worth of glass eels in a single night. + +The next year, the fishing was still so good that one elverman tattooed his forearm with an eel, dollar signs, and “2013,” memorializing a record season that afforded him, among other things, a new four-wheeler. Rural Mainers could work their entire lives and never see big money, especially all at once, especially Down East, where the median household income was about thirty-six thousand dollars. + +Jackpot payouts, in cash, fomented a wild period of interstate elver poaching. Saboteurs sliced their competitors’ nets. Untended buckets got taken. Thieves would detach entire tail bags and run off with them. Loughran’s father used to have him camp beside their “honey hole” around the clock. A splash in the night, or “hootin’ and hollerin’,” as one eeler put it, was the sound of fishermen throwing one another into the drink. “There were just *hundreds* of people poaching,” Darrell Young, a prominent elverman, told a filmmaker. Another, Rick Sibley, said that eeling “didn’t bring the community together—it tore people apart.” + +By 2014, the state had imposed its quota, capped the number of elver licenses, limited eelers to two nets, banned cash transactions (buyers must pay with checks), and implemented a swipe-card system to monitor eelers’ individual hauls in real time. The regulations were devised in collaboration with the Atlantic States Marine Fisheries Commission, a long-standing interstate body that works with federal agencies to maintain a sustainable industry. Poaching quieted down. Fishermen who had let their license expire kicked themselves when, in 2018, the price of elvers peaked at twenty-eight hundred dollars a pound. Now it was possible to get back in only through a state lottery. + +A fourth-generation sardine packer, Keene started fishing glass eels decades ago, when it paid barely twenty dollars a pound. After the price spiked, she and her longtime boyfriend were able to buy two new trucks, plant an orchard, and build a barn and a garage. “It’s changed our life,” she said, in an interview for an oral-history project in 2014. “And then let’s look at how it’s contributing to the rest of the state. We paid sixty thousand dollars in taxes last year. That’s enough money to support five families on welfare.” + +Keene, who considered herself a good steward of Maine’s natural resources, told the historian that she had watched “a complete gold rush” nearly destroy sea urchins in the late eighties and early nineties, and that she didn’t want to see the same thing happen to eels or any other species. “I believe in having a future,” she said. That future already seemed compromised by factors unrelated to conservation. Keene described pervasive drug abuse and a “lot of alcoholism” Down East, where, as in many rural areas, it can be hard to get help. (A record seven hundred and twenty-three Mainers died of overdoses in 2022.) Keene said, “How does a local community hold on just by their fingernails, you know?” + +[](https://www.newyorker.com/cartoon/a26692) + +“They say it gets easier after the third demon child.” + +Cartoon by Dan Rosen + +Responsible fishermen don’t disapprove of rules; they simply want more of a say in making them. Regulators were worried about the American eel’s decline, but fishermen were seeing elvers in what Keene called “Biblical” numbers. Eelers wondered if the regulators were perhaps looking in the wrong place, or conducting their census on nights when eels didn’t “go.” Keene said, “Just because they didn’t go doesn’t mean they’re not there.” No one seemed to know exactly how many elvers there were, or whether any decrease in population was caused by overfishing or more properly attributable to the turbine gantlet and other hazards. Jason Bartlett, a Maine Department of Marine Resources biologist who specializes in eels, told me that he is increasingly worried about a swim-bladder parasite that messes with an eel’s buoyancy: “If they can’t get off the bottom, they’re going to die before they get back to the Sargasso.” The U.S. Fish and Wildlife Service, in its most recent significant assessment of *A.* *rostrata,* acknowledged a decline but indicated that “the American eel population is not subject to threats that would imperil its continued existence.” + +The A.S.M.F.C. has never increased Maine’s over-all quota. Individual quotas are not made public, and fishermen reveal their number about as quickly as they give up their favorite fishing spot. Some of those who remember the unregulated days bristle at any limit (“Fishermen always grumble,” one elverman told me), but they were especially infuriated when the lottery was introduced, in 2013, and their quotas stagnated while the state admitted newcomers. Keene said, at the time, “How is that rewarding someone that’s been in this fishery, that breathes that fishery? That makes their own gear, that is dependent on it, that understands it, that respects it? I still have a license because I obey the law. How is that rewarding good faith?” + +Glass eels are an ideal target for subterfuge, because they run at night and because once they’re out of the water it is impossible to prove where they came from. The risk-reward ratio makes them irresistible. Eel smuggling, reportedly a four-billion-dollar-a-year trade spanning at least three continents, has been called the world’s least known but most profitable wildlife crime. (The G-7’s Financial Action Task Force, a watchdog federation of thirty-nine countries, has identified wildlife trafficking as a “major transnational” racket, on par with arms dealing and drug running.) Glass eels are among the most bootlegged protected species in Europe. In 2021, an investigation into the assassination of the Haitian President Jovenel Moïse revealed that his government had been bearing down on traffickers of narcotics, weapons—and eels. Moïse believed that the eel trade should be regulated and taxed, the *Times* reported, noting, “Many of the eels go to China, but the Haitian police are investigating the industry as a way to launder illicit profits.” + +Glass eels have been found in passengers’ luggage at airports in Amsterdam and Brussels. In 2017, British border agents checked cargo bound for Hong Kong and discovered, hidden beneath a batch of iced fish, four hundred and forty pounds of illicitly harvested elvers. Half were dead. The smuggler had allegedly spent two years trafficking more than five million eels, with a market value of nearly seventy million dollars. He used a warehouse in Gloucestershire as a way station, and the eels had been sourced in Spain. Smugglers there have operated in Algeciras and Tarifa, at the southern tip of the continent, just across the Strait of Gibraltar from Morocco, which has restricted elver fishing since 2011. + +Although *A. anguilla* tends to be the most trafficked eel species, in 2022, Hong Kong alone imported almost twenty-eight thousand pounds of *rostrata* from the United States, according to Hiromi Shiraishi, a researcher at Chuo University. The amount far exceeded the quotas in Maine and South Carolina combined. When I asked Maine’s fishing commissioner, Patrick Keliher, to explain the discrepancy, he told me, through a spokesperson, “Elvers from Maine are being tracked very closely, and it’s our belief that if there are additional elvers entering the supply chain, it’s because of the illegal activity that has been so prevalent in Canada the last two years.” + +In Canada, glass eels are the most valuable seafood by weight. Last year, a woman who lived near Hubbards Cove, in Nova Scotia, was alarmed to wake at three in the morning to see men outside, in balaclavas, taking glass eels from a stream. In another incident, a dispute over eels ended with one man reportedly assaulting another with a pipe. Canada’s minister of fisheries and oceans temporarily shut down the country’s fishery, saying, “It was simply too dangerous to let this continue.” + +Elver fishing in Canada was cancelled again this year, but eelers went on eeling. (By late April, the authorities had charged ninety-five people with doing so, including five Mainers.) First Nation members argued that treaty rights exempted them from federal regulations. In a Facebook video, a First Nation fisherman named Cory Francis announced plans to set fykes on the Annis River in Yarmouth County, Nova Scotia, a hundred and twenty-two miles across the Gulf of Maine, and declared Canada’s Department of Fisheries and Oceans a “criminal element” and a “rogue group.” Accusing the agency of “racially profiling Indigenous people,” he said, “You can go fuck off.” + +Not long after conducting his seminal elver study, Sheldon, the Maine Department of Marine Resources employee, left government service to become a lobsterman. His boat sank, and he turned to eeling. He both fished and operated as a buyer, once explaining to a TV news station, “The small man can get into it.” The license plate on his truck read “*EEL WAGN*.” A sign in his headquarters, in Ellsworth, said “Smoking is permitted here in the shop. Lying is to be expected. Everyone welcome here.” + +Sheldon often talked to the media. He was the one who swallowed a live eel in front of the BuzzFeed reporter. In that reporter’s profile, published in 2013, we find Sheldon in his sixties, with both a flare gun and a 40-calibre Glock, serving bucket-bearing customers at a temporary headquarters set up in a cheap motel room. He’s on the phone with “Chinese guys who wired him $600,000 on handshake deals.” The year before, Sheldon had “paid his fishermen $12 million for elvers (about a third of the estimated $40 million paid out in Maine over the season).” + +What few knew then was that federal agents had launched an interstate poaching investigation, called Operation Broken Glass. Baby eels were being harvested up and down the East Coast in places that banned elver fishing, and passed off as having come from Maine. Dealers were knowingly buying and selling illicit elvers, learning only too late that they’d been talking to undercover officers. Twenty-one men were ultimately charged with trafficking more than five million dollars’ worth of glass eels. + +Sheldon was one of them. By the time federal agents raided his business, he was considered the grandfather of the industry in Maine. Sheldon had “cornered the market, basically,” a fellow-elverman later said. In federal court, a prosecutor noted, “By his own pronouncement and by the consensus of the community, he knows more about elver fishing than anyone.” + +In October, 2017, Sheldon pleaded guilty to trafficking two hundred and sixty-eight pounds of glass eels from states where elver fishing is illegal. “Bill Sheldon not only facilitated a black market in illegal elvers—he encouraged it,” the federal prosecutor said, at sentencing. “He didn’t just buy illegal elvers—he provided poachers with advice and equipment. He didn’t just dodge the law himself—he told other people what to say if they got caught.” The prosecutor told the judge, “This was just greed.” + +In court, Sheldon minimized, as defendants do. He claimed to have made, at most, thirty thousand dollars on his crime, and expressed shame and regret for “poor judgment.” His lawyer requested home confinement instead of incarceration, arguing that Sheldon was a good, stable person: married for nearly fifty years, a father of two, a grandfather of four, no prior felonies. Hardships were enumerated: a sick father, the sunk boat. Worst of all, Sheldon’s daughter Deb had killed herself as his case unfolded. Sheldon told the judge, “I will forever feel like I was responsible.” + +Sheldon was sentenced to six months in prison and three years of probation—a fitting punishment, the judge said, for “significant deception” and for helping to create and clandestinely support a black market. His probation ended a few years ago. He gave up his dealer license but was allowed to keep fishing, and went to work for a Maine-based company co-owned by Mitchell Feigenbaum, a former Philadelphia lawyer who moved to Canada decades ago to become an eel exporter. Feigenbaum had testified on Sheldon’s behalf at sentencing, and tried to differentiate him from the “rough, tough, mean, nasty, hard individuals” typical of their industry. He told the judge, “Our product is all going to one place. It’s the Chinese government. State-owned industries are pretty much our sole consumer for this product. They want it as cheap as possible. They will engage in predatory practices that would make your head spin, including a lot of the poaching.” + +Although Sheldon remains an influential figure in eeling, he no longer takes questions. (He did not respond to mine.) He and his supporters blamed “the media” for the death of his daughter—a mother of two, a registered nurse, a Steelers fan who refused to shit-talk the Patriots, a smoker who was trying to quit, an alcoholic who already had. “The various stories about Bill and the stress it brought to the family had a negative impact,” one of his defense documents said. + +The Sheldon case left a lot of fishermen even more wary than usual. Loughran told me, “It’s a fragile industry, and bad publicity could be very detrimental to it.” Last year, when I initially expressed interest in writing about glass eels, someone posted on Facebook, “I smell Fed.” One person liked the comment: Sheldon. + +On a recent night, the patriarch and his son drove to a back-road bridge north of Acadia National Park and parked downslope on a concrete boat ramp. The headlamps of their truck illuminated little more than a wedge of flotsam. The only other light was the sickly twinkle off a scattering of stars. As I crossed the bridge on foot, it was so dark that I could have walked into an elephant. + +The men were wearing waders, hoodies, and yellow rubber gloves up to their elbows. One of them flicked on a powerful flashlight. From the bridge, I watched them traverse an inhospitable stretch of beach and climb the jagged riprap, moving toward the bridge piling where their fyke net was tethered. The outgoing tide churned between the pilings with the noisy velocity of floodwaters. Grasping one of the tethers, the patriarch waded into the buffeting rush. He untied one end of the tail bag and emptied it into a plastic bait bucket that his son was holding. Then he re-tied the bag and secured the tether, and the two of them returned to the truck. + +Back home, they found Loughran waiting at the garage. It was one-thirty in the morning. Eelers on the Presumpscot River, another elver stronghold, further south, were “*slaughtering*,” Loughran reported. That meant having a good night. + +Glass eels are so translucent that a Maine fisherman once called them “ghosts on the water.”Photograph by Jocelyn Lee for The New Yorker + +The patriarch’s son set an aquarium net over the top of an empty bucket and strained the first of their sludge. The pour revealed sea lice, krill, a needlefish, and a bunch of twitchy sticklebacks, as silver as store-bought fishing lures—bycatch, all of which gets returned to the river. Cupping the net from the bottom, the patriarch teased the few glass eels into view and plucked them out, the way you’d pick lint off a sweater. He said, “We have to work harder for ours than they do down in southern Maine. They don’t get out of bed for this little bit.” I understood what he meant when I later saw a video in which two eelers struggled to lift a tail bag so full that they might as well have been trying to move a body. “Holy mackerel,” one said. The other said, “Oh, my word.” + +The second pour of the patriarch’s bucket writhed with eels—a pound and a half’s worth, all told. They moved the elvers into their holding tank and prepared to wait out the price the way an investor sits on a promising stock. The blackboard now said “$950.” It was hard to know what kind of payout they could ultimately expect, given the caginess surrounding pricing and quotas. (Buyers sometimes pay more than the publicized rate.) I’d once asked Loughran why all the secrecy, and he’d said, “If you’re pullin’ a hundred pounds a night, you ain’t showing *nobody* that.” Rivals would “set nets around every fucking inch of you.” Elvermen don’t like others watching their weigh-ins, either. Nobody wants the world to know that he just banked fifty grand. + +Several days later, Loughran and Glass brought kimchi (a gift from their business partner) and fresh crabmeat over to Glass’s house. They were making crab rolls when I arrived. Glass stoked a fire in a woodstove and handed me a Heineken in a jelly jar. We ate some dried haddock as he prepared the rolls, which he served on square porcelain plates at the dining table, whose centerpiece was a chessboard. Afterward, Glass walked me out to the greenhouse and showed me his dad’s lobster boat, the Don’t Know. He was thinking of renaming it the Andromeda. In the distance we could hear the ocean. He said, “When it’s *real* rough, it sounds like a lion’s den.” + +When we got back to the house, the patriarch and his wife were there, sitting with Loughran in Glass’s living room. Loughran told a story about killing twenty-seven rats in one night in his father’s barn and lining them up as evidence of an infestation; the corpses were gone by morning, having presumably been carried off and eaten by other rats. This led to talk of wharf rats, New York City rats, black widows, brown recluses, and the redback spiders of Australia, but, as inevitably happens with elvermen, the conversation returned to eels. + +Like hunters, elvermen study and admire the animals that provide their livelihood. Glass and Loughran had recently asked Alexa about the lifespan of the American eel, marvelling that the answer was as many as forty-four years, the same age as Loughran. Because eels absorb oxygen through their skin, they can skirt a strong current by leaving the water briefly to climb rocks or scale a concrete dam. They may rest in a river’s calm pockets, waiting for the rising tide to help push them past white water before the next lunar cycle drags them back. + +Loughran told me, “In China and Japan, there’s whole families that rely on this seed fish for *their* livelihoods as well.” (Aquaculture farming has existed in Asia since antiquity.) On Glass’s television, he cued up a YouTube video of an eel-farming operation in Taiwan. A doughy mass oozed out of a machine and hit the concrete floor like a dense blob of poo. Glass eels eat nothing—they don’t even have a mouth—but in the next stage of development, when they start to resemble garter snakes, they can be taught to expect “eel chow,” often some amalgam of fish proteins, oils, and blood. (This garter-snake stage is when glass eels technically become elvers, though fishermen almost always refer to the two interchangeably.) We watched a farmer quarter the blob and drop one of the chunks into a pond. It floated. Hundreds of mature eels attacked it from all sides. They were large and ropy, and you could hear them smacking. It was hard to believe that the baby eels in the patriarch’s garage would grow up eating the stuff in this video. “Yep,” the patriarch said, “and then we’re gonna eat them.” The U.S. imports eleven million pounds of eel annually, mostly from China. The elvers that get shipped to the other side of the world may wind up right back in Maine. + +In the United States, according to a census conducted in 2018, there are seven eel farms—two fewer than there are frog farms. The only land-based eel aquaculture operation, American Unagi, is in Midcoast Maine. Sara Rademaker, an Indiana native who studied aquaculture at Auburn University, started the company ten years ago by test-raising elvers in her basement. She had been looking for a fish to farm when she realized how ludicrous it was that the only state with a major elver fishery had no one growing, processing, and selling its own valuable catch. Establishing such an enterprise would theoretically keep jobs and money Stateside, shrink the trade’s environmental footprint, and, if done right, provide accountability. (Rademaker told me that American Unagi uses no antibiotics or chemicals.) + +Aquaculture farming, the fastest-growing sector of food production, is a global industry valued at more than three hundred billion dollars. It already provides half the world’s food and is projected to account for more as the planet’s human population hurtles toward ten billion in the next couple of decades. Twenty million people work in the aquaculture trade, many of them in developing nations. When someone recently asked Loughran why Maine elvermen don’t try to get a piece of the farming, he replied, “You’d need several million dollars just to gear up.” + +A successful eel farm requires the careful balance of environmental factors: warmth, diet, oxygen, pH levels. In Maine, the right conditions must be simulated. An indoor operation such as Rademaker’s requires, to start, square footage, tanks, feeders, pumps, temperature control, filtration, and clean water flow. As the eels mature, workers continually separate the stock by size, so that they’ll feed correctly—and not on one another. + +The Maine Department of Marine Resources assigned American Unagi a quota of two hundred pounds. Rademaker also buys elvers from local harvesters. She told me that black-market fishing is no longer a concern locally because of the state’s strict regulations and enforcement, and that eelers police themselves: “They’ll turn people in at the drop of a hat.” + +American Unagi is headquartered in a new ten-million-dollar facility at an industrial park in the small town of Waldoboro. The company has twelve employees, one of whom, Liam Fisher, is trying to turn eel innards into a marketable condiment. On the day that I met him, he was carrying a tiny fish-shaped bottle of prototype behind one ear. He produced it like a magic nickel and squeezed an oily drop onto my finger. It tasted like liquid fish. Co-workers were preparing to run dead eels through a butterfly machine. The company, which sells fillets and smoked eel to restaurants and grocery stores, expects to hit a production record of half a million pounds next year. + +Rademaker led me through a laboratory, where she and her staff monitor the health of their eels by microscope. “We look at their gills, we look at their skin, we look at their fins,” she said. The company spends two years growing each new class of elvers into processable adults. We stopped in the doorway of a room the size of an airplane hangar, where nearly two million eels were living in dozens of gurgling, futuristic tanks. Another half a million glass eels were quarantined. Rademaker explained, “We keep things super biosecure, because we have one time of year to get them.” + +When an elver permit is not renewed, or the licensee dies, a newcomer gets the slot via the state’s lottery. “The lottery’s good,” a fisherman named Randy insisted one night in the patriarch’s garage. Loughran countered, “You have families that have been doing this for fucking generations, and instead of being able to pass on their fucking livelihood they have to put it up for a lottery, for anyone and their brother to take a piece of it.” + +“So, yes, then *you* end up like the Rockefellers,” Randy, who was getting red in the face, replied. + +“He’s disgusted because he wants a piece of this,” Loughran said. + +“I’m fuckin’ *pissed*,” Randy said. A lot of Mainers want badly to win the lottery. “It’s an industry, not a fucking cult.” + +“Randy, chill.” + +“It’s like lobstering,” Randy said. Down East, a commercial lobster license is one of the few paths to a middle-class income. (“It’s not like there’s a lot of accounting jobs around here,” one elverman told me.) Certain lobster permits can be legally transferred, and they often sell for tens of thousands of dollars. Feigenbaum, the exporter who co-owns the company that Sheldon went to work for after prison, and who once served on the A.S.M.F.C., has pushed for transferrable quotas for glass eels. He pitches eelers by asking, Wouldn’t you like to be able to leave something to your grandchildren? + +In Canada, quotas are distributed basically evenly among nine companies. Feigenbaum runs one of them; it controls about twenty-six hundred pounds of quota, according to the Department of Fisheries and Oceans. Some Mainers worry that transfers could lead to a few entities dominating the industry in the U.S., too, and force formerly independent elvermen to work for someone else, for an hourly wage. “If you could buy up quotas in Maine, you’d be sitting back like any other corporation, where only a few people make all the money,” an elverman told me. “It would be horrible for the fishery.” (Feigenbaum told me that such fears are “unwarranted,” and that elver quotas should be transferrable only under certain conditions, mostly related to aquaculture.) + +This year’s elver season closed at just over fifteen hundred dollars per pound. The elvermen pulled their nets. The alewives were running now, and the lobster boats were going out, though lobstering, for some, had started to feel like more trouble than it was worth. The warming oceans are pushing lobsters north, and the industry has already collapsed in southern Maine. Last year, the statewide catch fell to ninety-four million pounds, the lowest level since 2009. Fishermen’s prospects are further hampered by efforts to erect windmill farms and to save the planet’s last three hundred and sixty or so North Atlantic right whales, which can get tangled in fishing ropes. In the patriarch’s garage, a sternman named Tristan told me, “Kids growing up now, I’d tell them *not* to try working on the water.” Mainers whose families have been fishing for generations are pushing their children toward contracting, or trucking—toward land. + +Several days ago, I called Keene, the fisherwoman from Lubec. Her family has lived in Maine since it was Massachusetts. An ancestor, Richard Warren, came over on the Mayflower, she told me. (“I have my certificate!”) His progeny supposedly also includes Ulysses S. Grant, Sarah Palin, and Taylor Swift. In addition to packing fish, Keene’s forebears founded community newspapers and served in the Coast Guard. Both her grandfather and her father were keepers of the West Quoddy Head Lighthouse, a peppermint-striped tower with a fog bell and a beam visible eighteen miles away, across the Quoddy Narrows. + +Keene’s college degree involved computers, but she prefers being outdoors. She has dug clams for a living and picks periwinkles on winter beaches, making sure to leave the smallest ones alone, giving them the “chance to grow up.” She has urged people not to overharvest rockweed, a marine algae that farmers add to their soil. Cherry and apple trees that she planted after the elver windfall haven’t borne much fruit, but that was all right. “We have a nice little garden, and some chickens and stuff,” she told me. + +This fall, not long after she picks the last of her cucumbers, Keene will turn sixty-six. It pains her to know that state law prevents her from bequeathing her elver license to her children or grandchildren. It will, in a sense, die with her. + +When I first rang Keene, she answered with a bark worthy of Olive Kitteridge: “What do you want?” Like most everyone else Down East, she had zero interest in talking to another reporter about elvers. “You get hit over the head every time you do,” she said. The articles always seemed to dwell on venality and crime. Keene much preferred talking about the sight of a baby seal, or that night when she was out clamming alone and sat on a bucket to smoke a cigarette, and a fox strolled by. She told me, “It’s not just about how much money you can make. It’s about seeing the alewives trying to get upriver, and an eagle fishing for them. And hearing the river at night. When you see millions and millions and millions of elvers, it’s mind-blowing. You see full moons. You see rings around the moon. You see fog. If you see garbage, you pick it up. You want passage for all the things that are trying to get into the lakes to spawn. You want it to be—*not ruined*.” + +One night when Keene was about fifteen, she begged to go out on the water with her grandfather, a lifelong fisherman with one eye. They put on warm clothes and crossed Johnson Bay in a skiff, to see how the herring were running in a certain cove. Volume was measured by the hogshead, a cask or a barrel that holds sixty-three gallons. + +Keene’s grandfather cut the outboard motor and put a finger to his lips. Using a cloth-wrapped oar, he rowed quietly into the cove. Keene watched, mystified, as he lowered a long piano wire into the water, and waited. “What was *that*?” she recalled asking him on the way home. “He said, ‘I could tell how many hogshead of herring there were by how hard they were hitting the wire.’ I knew I wanted to be a fisherman after that.” ♦ + +  +  + +--- +`$= dv.el('center', 'Source: ' + dv.current().Link + ', ' + dv.current().Date.toLocaleString("fr-FR"))` \ No newline at end of file diff --git a/00.03 News/New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases..md b/00.03 News/New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases..md new file mode 100644 index 00000000..a7262098 --- /dev/null +++ b/00.03 News/New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases..md @@ -0,0 +1,165 @@ +--- + +Tag: ["🚔", "🇺🇸", "🗽", "🚫"] +Date: 2024-06-29 +DocType: "WebClipping" +Hierarchy: +TimeStamp: 2024-06-29 +Link: https://www.propublica.org/article/nypd-commissioner-edward-caban-police-discipline-retention-eric-adams +location: +CollapseMetaTable: true + +--- + +Parent:: [[@News|News]] +Read:: 🟥 + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-NewYorkersWereChokedBeatenandTasedbyNYPDOfficersNSave + +  + +# New Yorkers Were Choked, Beaten and Tased by NYPD Officers. The Commissioner Buried Their Cases. + +ProPublica is a nonprofit newsroom that investigates abuses of power. Sign up to receive [our biggest stories](https://www.propublica.org/newsletters/the-big-story?source=www.propublica.org&placement=top-note®ion=national) as soon as they’re published. This article was published in partnership with The New York Times. + +Brianna Villafane was in Lower Manhattan protesting police violence in the summer of 2020, when officers charged into the crowd. One of them gripped her hair and yanked her to the ground. + +“I felt someone on top of me and it was hard to breathe,” she said. “I felt like I was being crushed.” + +The New York City civilian oversight agency that examines allegations of police abuse investigated and concluded that the officer had engaged in such serious misconduct that it could constitute a crime. + +Villafane received a letter from the agency about its conclusions. “I was happy and I was relieved,” she recalled. The next step would be a disciplinary trial overseen by the New York Police Department, during which prosecutors from the oversight agency would present evidence and question the officer in a public forum. + +![](https://img.assets-d.propublica.org/v5/images/20240516-Mei-Ling-NYPD-Retentions-Sequence-16.jpg?crop=focalpoint&fit=crop&fm=webp&fp-x=0.5&fp-y=0.5&h=618&q=75&w=800&s=48807d9a4576331d324fdb9204d51431) + +New York’s civilian oversight agency found that an NYPD officer engaged in misconduct when he grabbed Brianna Villafane by the hair during a protest. Credit: Stephanie Mei-Ling, special to ProPublica + +Then last fall, the police commissioner intervened. + +Exercising a little-known authority called “retention,” the commissioner, Edward Caban, ensured the case would never go to trial. + +Instead, Caban reached his own conclusion in private. + +He decided that it “would be detrimental to the Police Department’s disciplinary process” to pursue administrative charges against the officer, Gerard Dowling, according to a letter the department sent to the oversight agency. The force that the officer used against Villafane was “reasonable and necessary.” The commissioner ordered no discipline. + +Today, Dowling is a deputy chief of the unit that handles protests throughout the city. + +Video Taken by a Civilian Shows NYPD Officer Gerard Dowling Grabbing Brianna Villafane’s Hair During a Protest + +Credit: Courtesy of Brandon Remmert + +His case is one of dozens in which Caban has used the powers of his office to intervene in disciplinary cases against officers who were found by the oversight agency to have committed misconduct. + +Since becoming commissioner last July, he has short-circuited cases involving officers accused of wantonly using chokeholds, deploying Tasers and beating protesters with batons. A number of episodes were so serious that the police oversight agency, known as the Civilian Complaint Review Board, concluded the officers likely committed crimes. + +As is typical across the United States, New York’s police commissioner has the final say over officer discipline. Commissioners can and often do overrule civilian oversight boards. But Caban’s actions stand out for ending cases before the public disciplinary process plays out. + +“What the Police Department is doing here is shutting down cases under the cloak of darkness,” said Florence L. Finkle, a former head of the CCRB and current vice president of the National Association for Civilian Oversight of Law Enforcement. Avoiding disciplinary trials “means there’s no opportunity for transparency, no opportunity for the public to weigh in, because nobody knows what’s happening.” + +Indeed, the department does not publish the commissioner’s decisions to retain cases, and the civilian oversight agency makes those details public only months after the fact. Civilians are not told that the Police Department ended their cases. + +To piece together Caban’s actions, ProPublica obtained internal records of some cases and learned details of others using public records, lawsuits, social media accounts and other sources. + +Retention has been the commissioner’s chief method of intervention. He has prevented the cases of 54 officers from going to trial in his roughly one year in office — far more than any other commissioner, according to an analysis of CCRB data. His predecessor, Keechant Sewell, did it eight times in her first year, even as she faced more disciplinary cases. + +In addition, under Caban, the Police Department has failed to notify officers that the oversight agency has filed charges against them — a seemingly minor administrative matter that can actually hold up the disciplinary process. The rules say that without this formal step, a departmental trial cannot begin. Seven cases have been sitting with the department since last summer because it has never formally notified the officers involved, according to the CCRB. + +These cases are particularly opaque, as there is no publicly available list of them. + +In one episode, the CCRB found that an officer had shocked an unarmed man with a Taser four times while he was trying to back away. + +![](https://img.assets-d.propublica.org/v5/images/20240623-NYPD-Retentions-06529.jpg?crop=focalpoint&fit=crop&fm=webp&fp-x=0.5&fp-y=0.5&h=1000&q=75&w=800&s=ae2afa99020d793658cb0dd8259c797c) + +William Harvin Sr. was shocked with a Taser by an NYPD officer four times while trying to back away. Credit: Stephanie Mei-Ling, special to ProPublica + +“He Tased me for no reason,” recalled William Harvin Sr. “He was coming to me, Tasing my legs, my back.” + +The review board found that the officer, Raul Torres, should face trial. But the Police Department has yet to move the case forward, a fact Harvin learned from a reporter. “They take care of their own,” he said, shaking his head. (Torres, who has since been promoted to detective, declined to comment and his lawyer said the officer had “no choice” but to use force.) + +Video Shows an NYPD Officer Shocking William Harvin Sr. Four Times With a Taser + +Credit: Video obtained by ProPublica + +In more than 30 other instances, Caban upended cases in which department lawyers and the officers themselves had already agreed to disciplinary action — the most times a commissioner has done so in at least a decade. Sewell set aside four plea deals during her first year as commissioner. + +For one officer, Caban rejected two plea deals: In the first case, the officer pleaded guilty to wrongly pepper-spraying protesters and agreed to losing 40 vacation days as punishment. Caban overturned the deal and reduced the penalty to 10 days. In the second, the officer pleaded guilty to using a baton against Black Lives Matter protesters “without police necessity.” Caban threw out the agreement, which called for 15 vacation days to be forfeited. His office wrote that it wasn’t clear that the officer had actually hit the protesters, contrary to what the officer himself already admitted to in the plea. The commissioner ordered no discipline. + +The under-the-radar moves run counter to Mayor Eric Adams’ pledge during his candidacy to improve policing by “building trust through transparency.” This year, in his State of the City address, Adams also [promised that cases of alleged misconduct](https://www.nyc.gov/office-of-the-mayor/news/067-24/mayor-adams-lays-out-future-focused-vision-working-class-new-yorkers-third-state-the-city#/0) would “not languish for months.” + +In a statement to ProPublica, a spokesperson for the mayor’s office defended the Police Department and Caban’s record: “Mayor Adams has full confidence in Caban’s leadership and ability to thoroughly review all allegations of police misconduct, and adjudicate accordingly.” + +A Police Department spokesperson declined to answer detailed questions, responding instead with a one-sentence statement: “The NYPD continues to work closely with the Civilian Complaint Review Board in accordance with the terms of the memorandum of understanding.” + +That memorandum stemmed from a political compromise reached about a decade ago. Concerned that the department’s policing tactics were too aggressive, members of the City Council pushed for the CCRB to be able to prosecute cases rather than simply make recommendations to the police commissioner. + +[The final memorandum](https://www.nyc.gov/assets/ccrb/downloads/pdf/about_pdf/apu_mou.pdf), produced after protracted negotiations with the Police Department, included the mechanism that has since allowed Caban to intervene in disciplinary cases. The agreement states that the commissioner may take cases away from CCRB prosecutors if the commissioner determines that allowing the agency to move ahead will be “detrimental to the Police Department’s disciplinary process” or if the “interests of justice would not be served.” + +Chris Dunn, the legal director of the New York Civil Liberties Union, objected at the time to that veto power. Shown the number of cases that Caban has retained, he told ProPublica, “This is exactly why we were so concerned about this authority.” + +The agreement stipulated that retentions can be used only on officers with “no disciplinary history,” a limitation that Caban and other commissioners have not always followed. Caban has on three occasions retained cases of officers who the CCRB had previously found engaged in misconduct. + +While commissioners can still choose to impose significant punishment after retaining a case, they often don’t. In 40% of the cases that Caban has retained, he has ordered no discipline. In the cases in which he has ordered discipline, it has mostly been light, such as the loss of a few vacation days. The most severe punishment, ProPublica found, was docking an officer 10 vacation days for knocking a cellphone out of the hand of someone who was recording him. + +### A Retreat Under Adams + +![](https://img.assets-d.propublica.org/v5/images/GettyImages-1538230873.jpg?crop=focalpoint&fit=crop&fm=webp&fp-x=0.5&fp-y=0.5&h=534&q=75&w=800&s=be2525905865160fdff9df98b8699872) + +Adams appointed Caban as his new NYPD commissioner at a press conference in New York City last year. Credit: David Dee Delgado/Bloomberg via Getty Images + +Disciplinary trials can produce significant consequences for officers — if they’re allowed to proceed. + +In 2018, CCRB prosecutors brought charges against the officer who killed [Eric Garner](https://www.nytimes.com/2015/06/14/nyregion/eric-garner-police-chokehold-staten-island.html), the Staten Island man whose cries of “I can’t breathe” helped ignite the Black Lives Matter movement. It would be a last chance to hold the officer, Daniel Pantaleo, accountable after a grand jury had declined to indict him. The commissioner at the time, James O’Neill, moved to handle the case internally, according to multiple current and former review board officials. (O’Neill did not respond to a request for comment.) + +The CCRB, however, pushed back. “I went to war,” recalled Maya Wiley, the chair of the board at the time, who went to City Hall to argue against the Police Department’s plans. Officials in Mayor Bill de Blasio’s administration overruled the commissioner and let the trial move ahead. Pantaleo was found guilty of using a banned chokehold. Amid huge public interest and scrutiny, the police commissioner then fired him. + +The current approach to police discipline under Caban is something civil rights advocates attribute to his boss, Adams, a former police captain who has struck a tough-on-crime image and opposed policing reforms since taking office two years ago. “We cannot handcuff the police,” Adams told reporters when vetoing two criminal justice reform bills in January. + +Last year, the mayor reportedly urged Sewell to [reject recommended disciplinary action](https://www.thecity.nyc/2023/06/29/keechant-sewell-eric-adam-jeffrey-maddrey-nypd/) against a top uniformed officer, who was also an Adams ally. She declined and pushed to discipline the officer, resigning shortly afterward. Mr. Adams then appointed another close ally to the position: Caban. + +Caban has his own history with the disciplinary process. Over his 30 years on the force, he has twice been found by the CCRB to have engaged in misconduct, making him an outlier in the department. The vast majority of officers have never been found by the oversight agency to have committed any misconduct. + +In one case, he was ordered to complete more training after he arrested a civilian for not providing ID. In the other, related to refusing to provide the names of officers to a civilian who said they had mistreated her, there is no record of discipline. + +The Police Department did not comment on Caban’s record, but [it previously said](https://nypost.com/2022/05/08/top-nypd-official-edward-caban-once-involved-in-cheating-scandal-disciplinary-records-reveal/), “Caban’s awareness of that process will only help him bring a fair and informed point of view to those important decisions.” + +Caban recently rejected discipline in [a case in which two officers had killed a man in his own apartment](https://www.propublica.org/article/it-wasnt-the-first-time-the-nypd-killed-someone-in-crisis-for-kawaski-trawick-it-only-took-112-seconds) during a mental health crisis. The chair of the review board criticized the decision, a move that [earned Adams’s ire](https://www.nytimes.com/2024/04/23/nyregion/adams-ccrb-chairwoman.html). She also requested more resources to investigate complaints, which rose 50% last year. Instead, the Adams administration imposed cuts, forcing the board to stop investigating various kinds of misconduct, including officers who lie on the job. + +“In this administration we have a mayor who runs the Police Department,” said Dunn, of the New York Civil Liberties Union. “He sets the tone, and the tone is ‘we’re cutting police accountability and discipline.’” + +The police union, the Police Benevolent Association, disagrees, saying Caban’s actions are a critical counter to what it sees as frequent overreach by the civilian oversight board. “The police commissioner has a responsibility to keep the city safe,” the union’s president, Patrick Hendry, said in a statement. “CCRB’s only goal is to boost their statistics and advance their anti-police narrative by punishing as many cops as possible.” + +Last fall, Caban sent his own signal. He gave one of the department’s top positions to an officer who tackled and shocked a Black Lives Matter protester with a Taser in the summer of 2020. Tarik Sheppard, a captain at the time, was heading to a disciplinary trial when his case was retained a year later, with no discipline given. Sheppard is now deputy commissioner for public information. He regularly appeared on television this spring to talk about the Police Department’s response to campus protests over the Israel-Hamas war. + +![](https://img.assets-d.propublica.org/v5/images/GettyImages-2147931746.jpg?crop=focalpoint&fit=crop&fm=webp&fp-x=0.5&fp-y=0.5&h=533&q=75&w=800&s=fb3e81ceb8151747b83e0c6c822cb254) + +Tarik Sheppard, center, NYPD’s commissioner of public information, speaks at a press conference in New York City on April 19. Credit: Angela Weiss/AFP via Getty Images + +The outcomes have been different for the victims. Destiny Strudwick, the protester who was tackled and shocked with a Taser, has struggled since the encounter nearly four years ago. “Sometimes I feel like the human psyche is only made to handle so much,” she said. “And what happened to me, it just was too much.” + +Sheppard did not respond to requests for comment. + +The Police Department never informed Strudwick or Villafane that the cases against the officers who hurt them had been upended. After learning what had happened, both felt that the department had denied them justice. + +“That makes my heart sink,” said Strudwick, after ProPublica told her of Sheppard’s retention. + +As for Villafane, she gasped when she was shown the Police Department letter wiping away the case against Dowling, who did not respond to requests for comment. She slowly read a line out loud, “His actions therefore do not warrant a disciplinary action.” + +She shook her head. “He’s supposed to be protecting us and he’s hurting us,” Villafane said. “Who am I supposed to call to feel safe now? Not him.” + +Do you have information about the police we should know? You can email Eric Umansky at [\[email protected\]](https://www.propublica.org/cdn-cgi/l/email-protection#7f1a0d161c510a121e110c14063f0f0d100f0a1d13161c1e51100d18) or contact him securely on Signal or WhatsApp at 917-687-8406. + +  +  + +--- +`$= dv.el('center', 'Source: ' + dv.current().Link + ', ' + dv.current().Date.toLocaleString("fr-FR"))` \ No newline at end of file diff --git a/00.03 News/Why Did a Father of 16 Hire a Dark-Web Hit Man.md b/00.03 News/Why Did a Father of 16 Hire a Dark-Web Hit Man.md new file mode 100644 index 00000000..ca48aba7 --- /dev/null +++ b/00.03 News/Why Did a Father of 16 Hire a Dark-Web Hit Man.md @@ -0,0 +1,183 @@ +--- + +Tag: ["🤵🏻", "🇺🇸", "🔫"] +Date: 2024-06-23 +DocType: "WebClipping" +Hierarchy: +TimeStamp: 2024-06-23 +Link: https://nymag.com/intelligencer/article/christopher-pence-corderos-fbi-dark-web-hit-man.html +location: +CollapseMetaTable: true + +--- + +Parent:: [[@News|News]] +Read:: 🟥 + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-WhyDidaFatherof16HireaDark-WebHitManNSave + +  + +# Why Did a Father of 16 Hire a Dark-Web Hit Man? + +## Sixteen Kids and a Hit Man + +## Christopher Pence kept adding to his family. Then he decided to remove two people from the mix. + +Christopher and Michelle Pence on the day of the adoption. The five new members of the family are smiling broadly — but within three years, Christopher would seek to end their biological parents’ lives. Photo: YouTube/@candmpence + + ![](https://pyxis.nymag.com/v1/imgs/7fa/fde/95fa00f9eece7fcd72fb196c74a12226e3-lede-snohomish-courtroom.rhorizontal.w1100.jpg) + +Christopher and Michelle Pence on the day of the adoption. The five new members of the family are smiling broadly — but within three years, Christopher would seek to end their biological parents’ lives. Photo: YouTube/@candmpence + + ![](https://pyxis.nymag.com/v1/imgs/7fa/fde/95fa00f9eece7fcd72fb196c74a12226e3-lede-snohomish-courtroom.rhorizontal.w1100.jpg) + +Christopher and Michelle Pence on the day of the adoption. The five new members of the family are smiling broadly — but within three years, Christopher would seek to end their biological parents’ lives. Photo: YouTube/@candmpence + +This article was featured in [One Great Story](http://nymag.com/tags/one-great-story/), *New York*’s reading recommendation newsletter. [Sign up here](https://nymag.com/promo/sign-up-for-one-great-story.html?itm_source=vsitepromo&itm_medium=articlelink&itm_campaign=ogs_tertiary_zone) to get it nightly. + +One weekday in the summer of 2021, Christopher Pence entered his home office in Cedar City, Utah, and plugged a USB stick into his computer. He booted up Tails, an operating system designed to optimize privacy, and used it to access the dark web — a marketplace teeming with illicit goods and services like child pornography, weapons, and drugs. Christopher, who was 41 and worked for Microsoft as a systems engineer, wanted to hire a hit man to kill a young couple he had met on only a handful of occasions. + +Christopher was an unlikely client in the murder-for-hire trade. He was not violent and had no criminal record. When he wasn’t logging ten-to-12-hour days working, often while listening to one of his favorite Christian rock bands, he was helping his wife, Michelle, raise their 11 biological and five adopted children. The entire family, along with Christopher’s retired parents, lived in a 5,800-square-foot home on the northern edge of the Mojave Desert, surrounded by wind-raked brushland and snow-capped mountains in all directions. They were building greenhouses on the property and had plans to buy cows. + +The Pences were committed Evangelical Christians, and on Sundays they would pile into their 15-passenger Ford Transit and drive north to worship at Valley Bible Church. Afterward, they’d invite church members to their home for fellowship. “If you met them and saw the way that their house was run, it was a joyous, happy atmosphere,” says Tom Jeffcott, the senior pastor of the congregation. “There was a lot of love. It was a structured home, a model of learning, of support, of understanding.” The eldest Pence daughters sometimes harmonized while they washed the dishes. + +The Pences had arrived in Cedar City in 2020, and before long Christopher and Michelle confided something troubling to their new pastor. They said they were being hounded by Christina and Francisco Cordero, the biological parents of their five adopted children. The two couples had worked out an agreement that allowed the Corderos some contact with their kids — emails, one phone call a month, two in-person visits a year. But recently, in Christopher’s view, the Corderos had been pushing it. They’d even moved across the country to live closer to the children they’d given up. Jeffcott saw the toll the pressure was taking on his new congregants. To help them find a legal remedy, he introduced them to an attorney. + +At the same time, Christopher was looking into an extrajudicial approach. He learned about Tails while reading about Edward Snowden, who used the operating system to hide his activities from the National Security Agency. In July 2021, with the software running, Christopher called up Ahmia, a darknet search engine, and looked for a website offering to connect customers with assassins. He settled on a site called the Sinaloa Cartel Marketplace. + +Christopher created an extravagantly cryptic username, mjd210eKd69BxG4IsJD, and began messaging other users. “Good day Admin! I have a couple targets—husband wife—that I am needing removed,” he wrote. “However, it is known that they and I don’t quite see eye-to-eye on something. I am a couple days away from submitting the job as an ‘accident,’ but before I do, I was wondering, in your experience, even if it is an obvious ‘accident,’ what kind of investigation will be run against me, knowing that we are not on the best of terms?” Two weeks later, Christopher transferred $16,000 worth of bitcoin and submitted orders to kill the Corderos. + +Christopher and Michelle Pence hadn’t planned on having an enormous family. They met as teenagers in a community just north of Seattle and married in 1999, when Christopher was 19 and Michelle was 20. The next year, Michelle gave birth to twin girls. Christopher’s dream was to make a fortune in finance and real estate and live in a penthouse in downtown Seattle. He imagined Michelle would have her own high-powered career. After she became pregnant with their fourth child, he had a vasectomy. + +Christopher had been raised religious, and in his mid-20s he began to lean more on his faith for guidance on life’s biggest questions. He thought less about his career and more about his higher calling. “God changed my thinking about how a man is to be the leader of his family and how children are actually blessings and rewards,” he said in a speech at his church. “There are many biblical examples about how our dreams may not be what God wants for us. Job did not want his children to die or his storehouses to be destroyed or his health to be impaired, but God’s perfect will allowed this to happen. Jeremiah wanted to marry a nice girl and have a family, but instead God used him as a prophet of death.” Exactly one year after his vasectomy, Christopher had it reversed. + +Michelle documented the family’s life on a blog, and she described how her sense of self, and her role in her marriage, changed as she read books like *Created to Be His Help Meet* and *The Power of Motherhood: What the Bible Says About Mothers*. “I entered marriage thinking of it as an equal partnership, knowing but not understanding what it meant that my husband is my head,” Michelle wrote. “I had NO idea the importance of my role as a mother, and the significance God placed on motherhood. I had no idea that God called barrenness a CURSE, and children the greatest blessing he can bestow. I had no idea that God said so much about children in the Bible, they are heritage, a REWARD, a blessing, precious little lambs, arrows in the hands of a mighty warrior and so much more.” + +Michelle Pence used her blog and social-media accounts to portray her marriage to Christopher as happy and conventional. Photo: YouTube/@candmpence + +The Pences came to “trust God to open and close the womb as He sees fit.” By 2017, Michelle had given birth to ten children. One died at five months from sudden infant death syndrome; there were also several miscarriages. Another child was born with cerebral palsy. Needing space, the family had gone to live with Christopher’s parents in a semi-rural town 25 miles northeast of Seattle. They turned their property into a homestead with gardens, beehives, dogs, chickens, turkeys, a lilac-crowned parrot, and a succession of cows named Steak, Dinner, Beef, Burrito, and Norman. The kids slept in bunk beds, and everyone traveled to appointments and church in a short bus. + +Michelle chafed when doctors advised her to stop having kids; when a social worker questioned her ability to effectively homeschool a child with a disability; when someone at the grocery store casually remarked on the size of her family. She was passionate about educating her children herself and valued, above all, the freedom to teach a curriculum focused on the Bible. The Pences considered the text a straightforward account of history, and every morning, before sunrise, Christopher led the family in studying Scripture. + +To Michelle, Christopher was “the handsome man who makes it all happen around here” and “a fantastic example of loving me as Christ loved the church, even when I am very much unlovable.” He was the breadwinner and had a succession of technology-related jobs, including managing a computer store and working as a network architect, before landing a job at Microsoft. Michelle described him with devotion as “a great priest, prophet, provider and protector for his family” who “truly lives out what it means to be a follower of Christ, to deny himself and live for his God, and his family.” + +Even as they continued to have children, the Pences wanted to accelerate the growth of their family through adoption. They were motivated in part by religion, believing that the process was a form of “making the same commitment to a child (or children), that God made to us … to take us in our filth, our sin, our depravity, and bring us to a place of being a beloved child.” But the choice was also deeply personal. Michelle came from a troubled home. She had met her father only three times. She was one of six half-siblings, all from different fathers, who were split up by the foster-care system. “I know all too well what loss, abandonment, neglect, and abuse do to a child … because I was that child,” Michelle wrote around the time she and Christopher began submitting applications. They hoped to adopt an entire “young sibling group, who are having trouble staying together because of size,” she wrote on one listings website, adding that they would not mind remaining in contact with the children’s biological parents. + +The Pences worked with traditional agencies, submitting to hours of training, interviews with social workers, psychological reviews, and home studies. Opportunities in Colombia and Florida didn’t pan out. One organization blocked them from adopting a group of five siblings because the Pences already had children of similar ages — not optimal, in the agency’s view. + +After a few years of dashed hopes, Michelle gave birth again in 2018. That September, taking advantage of Microsoft’s six-week paternity-leave policy, the Pences packed into a motor home and headed east. They saw the Mammoth Hot Springs, worked a miniature Model T production line at the Henry Ford Museum, and stood on a beach in Acadia National Park while the Atlantic rushed over their feet. At some point along the journey, Michelle logged on to a message board for parents with large, homeschooled families. A mother of six in Massachusetts had posted that she and her husband were looking for someone to take care of their children temporarily while they worked through some marital issues. Michelle sent her a message. + +The woman, Christina Cordero, and her husband, Francisco, were struggling. They’d had a single-story, four-bedroom house in Chicopee, in Western Massachusetts, but had recently sold it and moved into an RV. Their oldest child was developmentally disabled, and finding adequate housing “proved impossible with such a large family,” Christina told me in a Facebook message. Cisco, as her husband was known, could only find work as a temp. “I was offering six months rent up front, but no landlord would consider us.” + +Cisco had personal problems that compounded their troubles. He admitted to the authorities at one point that his sexual behavior was a continuous challenge for his family. He had fought an addiction to pornography since he was a teenager, and the Massachusetts Department of Children & Families (DCF) had investigated him for looking at child porn and showing sexual images to his children. He denied the allegations, and the state took no action. + +The Pences arranged to visit the Corderos at their RV in Massachusetts and pray with them. Christopher Pence later said that when they arrived, Christina confided that she didn’t think her children were safe with Cisco. (Christina disputes this.) The Pences said they were open to taking them but suggested that Christina mull it over while they continued on their road trip. When the Pences traveled back through Massachusetts a few days later, the Corderos said they wanted to go through with the arrangement. + +The two families agreed on a plan for the next few months: The Corderos would keep their child with special needs while the other five went to live with the Pences. The Corderos signed a caregiver-authorization affidavit, a notarized contract that granted the Pences the right to make medical and educational decisions for the children. And then the Pences, their children, and the five Cordero children all crammed into the motor home and left. Christopher Pence later said, “We got to Massachusetts with ten children and left there with 15.” + +Almost immediately, it became clear that integrating the five Corderos, ages 1 to 9, with the Pence kids, who spanned from less than a year old to 17, was going to be awkward. In Mount Vernon, where they stopped to visit George Washington’s estate, an employee asked if they were all one big family. One of the Pence girls answered “yes.” Then a Cordero child interjected: “No, there’s ten of them and five of us, and they took us from our parents in Massachusetts.” + +On the way back across the country, the Pences stopped at the Creation Museum in Petersburg, Kentucky, where the exhibits show humans coexisting with dinosaurs. They also dropped by Ark Encounter, where the entire group posed for a portrait in front of the doors to a model of Noah’s Ark. In the photo, Christopher and Michelle, who were still in their 30s, could just as easily have been the eldest cousins bookending an extended family photo instead of the parents and guardians of the 15 children huddled between them. Most of the kids seem upbeat despite the long hours on the highway. One of the eldest Pence daughters has her youngest sibling strapped to her chest. On Christopher’s back, in a baby carrier, is the youngest Cordero child, his face fixed in an observant gaze. + +The ad hoc nature of the arrangement drew the attention of the child-welfare system. According to police records, soon after the Pences returned to Washington, a deputy with the Snohomish County Sheriff’s Office performed a welfare check at the request of the Massachusetts DCF. “All were healthy and appeared happy … home is large and very clean … Michelle is researching how to obtain financial aid for kids as she has been paying out of pocket for their care,” the deputy wrote in his report. + +Michelle was feeling stressed, though, and she used her blog to vent about her new reality. “Keeping everyone busy has been an essential around here because the Corderos miss their parents like crazy!” she wrote. She seemed frustrated to realize how different the Cordero children were from her own and overwhelmed by the behavioral problems that followed the siblings’ abrupt separation from their parents. Michelle wrote about the newfound “disharmony” in her house and “epic proportions melt downs”: “Never have we had anyone struggling with sharing, and now it is a huge problem. Never have we had anyone seeking to undermine anyone else or using the level of sharp words and unkind attitudes that we see here now. Never have we seen anyone give an eye roll before this experience … Not to mention the screeching, yelling and whining that accompanies the above.” + +Ten days before Thanksgiving, Michelle announced that each night, the children would have to say one thing they were thankful for before they could eat dinner. “We had tears and one saying that she wouldn’t be able to eat until after Thanksgiving because there was nothing to be thankful for,” Michelle wrote. “I am thankful that my bio children are able to help show others how richly blessed we are even when life isn’t going how we want it to.” + +As Christmas approached, Michelle and Christopher gathered the children to play a game that would teach them about labor and wages. They explained that sometimes, wages are good. (The wages for making beds that day was lava cake.) Other times, wages are levied for wrongdoing. (The Bible says the wages of sin is death.) They asked the children to talk about the sins they had recently committed; they then announced that the wages would be either $10,000 per child or the loss of their Christmas presents. Some of the children “thought we were joking,” Michelle wrote on her blog. “But we finally got it across that we were not. Anyone who couldn’t pay the penalty would have no Christmas.” Then Christopher stood up and said he would pay for the children. Michelle wrote: “Because of his great, willing sacrifice, everyone else will get presents, but Christopher will not. We made the comparison that Jesus took our sins upon himself and paid the penalty for us.” + +At some point, the Corderos and Pences agreed to extend their temporary custody arrangement. The Pences decided that their home, at just 1,900 square feet, was not large enough. Christopher took to Zillow. Microsoft allowed him to work from anywhere, and he found a 4,150-square-foot house on eight heavily wooded acres in Hawkins, Texas, for $325,000. They moved in June 2019. + +During this period, according to legal filings, the Corderos were under investigation by the Massachusetts DCF. It is unclear what the agency was looking into, but the Snohomish sheriff’s office attempted at least two additional welfare checks on the children at DCF’s request. The agency eventually told both families that it intended to take custody of the Cordero children and bring them back to Massachusetts, where they might be split up in foster care. (A spokesperson declined to comment.) To keep the siblings together, the Corderos and Pences agreed to make the adoption permanent. In December 2019, the Pences traveled back to Washington to go before a judge and make it official. A picture from that day shows the Pences with all 15 children smiling broadly as they crowd together behind the judge’s bench. + +The Corderos had made three cross-country trips to visit their children — twice in Washington, once in Texas — and knew they could not afford to keep doing so. They decided to move to Texas as well. “It was the logical step,” Christina told me. But it unsettled Christopher and Michelle, who started to feel that the Corderos were using them to hide their children from the Massachusetts child-welfare system. Christopher later claimed that the Corderos asked if they could permanently park their trailer home on the Pences’ property. (Christina told me she had asked to park there only during sanctioned visits.) Eventually, the Corderos rented a space at Good Luck RV in Dallas, a two-hour drive from the Pences’ home in Hawkins. + +Christina and Cisco Cordero continued having children after giving five of their six to the Pences. In Texas, they posed with all of them; one child is shown in an inset. Photo: Facebook/christina.cordero + +The Pences had a series of difficult conversations with their newly adopted children. One was especially excited that Christina and Cisco had moved to the same state because he thought he would see them more often. “That was a little challenging to work through — that no, even though your birth parents are in Texas, they can’t come over any time they like to, because we need to maintain structure and order to family life,” Christopher said. The Cordero children were also wounded by the fact that their parents were continuing to have more kids. A few months into the arrangement with the Pences, Christina gave birth to a seventh child, and in Texas they told the children they were expecting an eighth. “The oldest girl, she’s kind of hurt that they would have more children after giving up five,” Christopher later said. + +Everything was in flux. After little more than a year in Texas, the Pences were ready to leave. The eastern part of the state felt like something out of Exodus with extreme weather and scorpions in the bathtub. “Everything down there is trying to kill ya,” Christopher said. “Bugs, snakes, spiders. We got to the point where the children couldn’t really play outside much.” He went back to Zillow and found a seven-bedroom house in Cedar City, Utah, and purchased it for $659,000 in November 2020. Soon after they moved in, Christopher’s sister visited and took pictures of the entire family playing in the snow, including a newly born 11th biological child. + +The Pences never shared their new address with the Corderos. When the five adopted children sent mail to their birth parents, the Pences wrote in a post-office box for a return address. + +It is not entirely clear why Christopher Pence wanted the Corderos dead. In Utah, he quickly convinced the family’s new pastor, Jeffcott, that both Christina and Cisco loomed over their household like specters. “They really were creating problems for the children,” Jeffcott told me. “I mean, wetting the bed — just really bad consequences from exposure to the birth parents.” But the Pences’ concern was vague. It also did not seem to involve fears of sexual abuse. Christopher considered Cisco a Lothario but did not think his behavior in that regard involved the children. + +A turning point apparently came in May 2021. The Pences returned to Texas to meet with the Corderos. After that meeting, according to Christopher, one of the Cordero children claimed to have seen bruises on the arm of her eldest sibling, the one with developmental problems; when asked where the bruises had come from, he claimed Cisco held him down. (Christina disputes this.) + +A screengrab of the website Christopher Pence used to find a hit man. Photo: Christopher Monteiro + +Two months later, Christopher logged on to the Sinaloa Cartel Marketplace. He spent weeks lingering on the site, looking closely at its FAQ, which offered half-baked answers to questions like “Could this be a honeypot operated by law enforcement?” and “Do you murder children?” (The answer to the latter: “Yes.”) At one point, Pence created a new thread to ask other users if the site was real or a scam. Sinaloa Cartel Marketplace listed rates that ranged from $5,000 to $200,000, and Christopher wrote the administrators to get clarity. Seeing as his targets lived at the same address, could he receive a discount? Christopher also wanted to be sure the hit man knew the Corderos lived with three children: “I am really trying to avoid them from being hurt. I’m wondering if a mugging-gone-wrong might be an option. Or maybe you have another suggestion? One of the children is 13 or so, but slow, so maybe his testimony could help avoid scrutiny/investigation.” + +Two site administrators provided short responses. In late July 2021, Christopher began transferring bitcoin into an escrow account and, eventually, ordered the hit. He entered Christina and Cisco’s address and attached photos of the couple he had taken from their biological daughter’s baby book. + +Hours later, Christopher messaged the administrators that he wanted the murder order canceled. The next day, he resubmitted it, repeating his request to “please make it look like an accident, or a mugging-gone-wrong, or something of the sort.” In the days to come, he sent a flurry of messages asking for some confirmation that the Sinaloa Cartel Marketplace had received them. He never heard back. + +Six thousand miles away from Cedar City, somewhere in Romania, a small band of internet scammers got a payday. Since at least 2016, the group had run a stable of sites on the dark web, including Sicilian Hitmen and Yakuza Mafia, offering bogus murder-for-hire services. They took money from users who wanted people killed, but they never acted on the jobs. The mastermind behind the operation was a fraudster who went by the name Yura. In 2022, at the urging of the United States, Romanian authorities reportedly arrested Yura and his crew, but it’s unclear if they were ever prosecuted. + +Yura claimed to [*Wired*](https://www.wired.com/story/kill-list-dark-web-hitmen/) that he is an FBI informant. Whether or not that’s true, law-enforcement agencies have gotten a detailed view into his operation and its thousands of clients thanks to the efforts of Chris Monteiro, a British hacker. In 2016, Monteiro discovered a vulnerability in one of Yura’s websites that allowed him to scrape its data, including direct messages and payments. Since then, he has used similar techniques to repeatedly intercept the network’s traffic and feed it to governments and journalists. + +“There’s a lot to say about what I’m doing. Is justice being done? Is it good? Probably. But also, could it be done better? I think so,” Monteiro told me over Zoom, sitting at his workstation in the living room of his South London flat. He is in his early 40s, and his long hair was pulled back in a ponytail. He wore a T-shirt that read “THERE. Now I’m not naked anymore.” + +Even though the hit men are fictitious, the danger is real. In 2016, Stephen Allwine, a Minnesota IT specialist and a deacon at his church, paid at least $6,000 on a Yura site to have his wife killed; after the hit failed to happen, he murdered her himself. (Allwine is serving a life sentence.) + +Monteiro doesn’t always send tips directly to law enforcement because he finds investigators can be put off by the complexity of the cases and the fact that they’re based on hacked information. But in 2021, he managed to get the FBI’s full attention. Monteiro was working with a podcast-production company on a murder-for-hire program for the BBC. The show’s producers began feeding the FBI details of murder orders that Americans were placing on Yura’s sites. Agents arrested a woman in Wisconsin who had tried multiple times to hire someone to kill her ex-husband; a physician in Spokane who wanted someone to take his estranged wife hostage; a man in Tennessee who sought to snuff out his wife; and an accountant in Tampa who paid $12,000 in bitcoin to kill her ex’s new spouse. + +On September 2, one of Monteiro’s tips landed on the desk of Brian DeCarr, an agent in the FBI field office in Albany. The Corderos were now living in nearby Hoosick Falls. The next day, DeCarr drove out to tell Christina that someone was trying to kill her. When she found out that Pence was a suspect, she couldn’t believe it. She and Cisco had plans to visit the Pences in Utah at the end of the month; they were supposed to meet at the Hogle Zoo in Salt Lake City. “I was like, ‘No, there’s no way,’” she said. “‘Please make sure my children and their adoptive family are safe, because whoever wants me dead might go after them too!’” + +On October 27, exactly three years after picking up the Cordero children in Massachusetts, Christopher Pence’s alarm went off, as always, at 5:55 a.m. Lights flicked on, first in his en suite bathroom as he left Michelle in bed to nurse their infant daughter, then in the rest of the house as he woke his children in turn. He gathered most of them on the first floor for Bible study. (The three oldest Pence daughters were spending the year at Jackson Bible College in Wyoming.) They took a moment to sing “Happy Birthday” to one of the children and said an opening prayer. Twenty minutes later, there was a loud bang on the front door. At the same instant, the house was flooded by emergency lights. + +Before the raid, the FBI conducted aerial surveillance of the Pence home in Utah. Photo: FBI + +Christopher opened the door to see a black shield and more than a dozen officers wearing body armor, some holding assault rifles. “It felt like Armageddon had come to my front door and I was the only one standing in the way,” he later said. + +If Christopher knew why the FBI was there, he didn’t show it. A few minutes later, he agreed to speak with DeCarr in the privacy of a Chevy Tahoe parked in the driveway. The sun was still hidden behind mountains to the east and the temperature was near freezing as the men got inside. Chris Andersen, a Utah-based FBI agent, climbed into the back row while DeCarr and Pence sat side-by-side in the middle. + +“I’d love to know what’s going on,” Christopher said as a recorder captured the conversation. + +“You’re not under arrest at all. That’s not what we’re doing,” DeCarr replied. “You’re under no obligation to talk to us. We would appreciate your help, okay?” They started by asking Christopher about his job at Microsoft, life in Washington, his marriage. Shy by nature, Christopher seemed almost to enjoy the agents’ company, talking as if they were three dads standing around a grill on a Saturday afternoon. How much did Christopher pay to pave this driveway? Do the AC units on top of the motor homes need Freon? Does Christopher plan to fix up the ’66 Mustang sitting over there? Did he catch babes in that thing? + +Christopher seemed especially interested in telling the agents about the adoption. “Do you want the long story or the short version?” he asked them. “Give me the long one,” DeCarr said. Pence described his and Michelle’s desire to adopt, the road trip to Massachusetts, locusts in Texas, how the Corderos became too big a presence in their lives. The agents seemed sympathetic to Christopher’s frustrations. As the sun came up and warmed the Tahoe, Christopher unlocked phones and provided passwords to his computers and tablets. + +After about 90 minutes, DeCarr presented Christopher with a mountain of electronic evidence connecting him to the murder-for-hire payments. “You are the protector of these kids, okay? You are the savior of these kids, and you do this for the family. And it’s clear to me — I didn’t understand why before — but it’s very clear to me that you would do anything for these children,” DeCarr said. “What got you to the point where you felt like you needed to have them killed?” + +Christopher fought back tears. His deep voice splintered. “On more than one occasion the children have been abused, um, through discipline, through the birth parents …” Gasping and choking back sobs, he strung together half-allegations against the Corderos and again tried to come up with an answer. + +“You were doing what you had to do,” DeCarr said. Satisfied he had a confession, he read Christopher his rights and exited the Tahoe to call New York for an arrest warrant. + +Even after it was clear the FBI had deceived him into talking, Christopher thanked the agents for “doing what you’re doing.” He continued to be unfailingly polite, exuding the same eerie cheeriness that tinged his messages on the murder-for-hire website. + +As they waited, an officer marveled at the children inside Christopher’s house, who were playing music and helping cook breakfast. “Maybe there is something to be said about not letting all the outside influences corrupt their minds, right? I mean, I don’t know what my daughter would do without TikTok on her cell phone,” he said. Christopher laughed. + +DeCarr returned to inform Christopher that he was under arrest. “Have I ruined my life?” he asked. + +Christopher Pence’s mug shot. Photo: Iron County Sheriff - Jail Division, Cedar City, Utah + +In late 2023, Christopher Pence pleaded guilty to one count of soliciting murder via the internet. Christina told me that since Christopher’s arrest, Michelle has refused to allow her or Cisco to have any contact with their biological children. In April, however, the Corderos got a brief glimpse at Christopher’s sentencing. Their kids were seated with Michelle as if in support of the man who’d tried to have their biological parents killed. + +At the hearing, which was held in Utica, U.S. District Judge David Hurd said he was troubled by how much the case stood out from past murder-for-hire affairs he’d seen. “Each one involved a defendant who was a longtime criminal, who had a bad record, and it was not particularly surprising that he or she would hire somebody to kill others. This case is different,” he said. “It’s a very difficult case.” + +Hurd sentenced Christopher to seven years. He could be released from prison toward the end of 2028. He will have missed 112 of his children’s birthdays, but at 48, with his youngest child just 7 years old, he could have a lot of fathering left. + +Whether he will be allowed to leave prison and pick up where he left off, fathering his adopted children, is complicated. Michelle and Christopher are still the children’s legal guardians, but it would take one phone call to child welfare upon his release to trigger an investigation into the safety of the children under his care. Such an investigation is unlikely to consider that Christopher’s purported motive for committing the crime was the children’s welfare. If a judge believed the children under Christopher’s care were in danger, they could place the underage kids, both biological and adopted, in foster care. Just as likely, a judge could give Michelle an ultimatum: the kids or Christopher. + +For the time being, Michelle is caring for all of the children. When I called her on a recent school day, she declined to speak with me, saying there were too many demands on her time. (She didn’t respond to follow-up requests or fact-checking queries.) She tried, briefly, delivering groceries and now depends on donations from the Cedar City community. A few of her children have found work at a small manufacturing plant in town. “For now the plan is to continue homeschooling. For now the plan is to keep things as stable as possible. For now the plan is to take the next step in faith and accept the grace God gives at each turn,” Michelle wrote on Facebook shortly after Pence’s arrest. “God is good all the time.” + +Sixteen Kids and a Hit Man + +  +  + +--- +`$= dv.el('center', 'Source: ' + dv.current().Link + ', ' + dv.current().Date.toLocaleString("fr-FR"))` \ No newline at end of file diff --git a/00.08 Bookmarks/Bookmarks - Travels & Sport.md b/00.08 Bookmarks/Bookmarks - Travels & Sport.md index c56077d2..c67d046a 100644 --- a/00.08 Bookmarks/Bookmarks - Travels & Sport.md +++ b/00.08 Bookmarks/Bookmarks - Travels & Sport.md @@ -124,7 +124,8 @@ host: www.polotimes.co.uk   -- [ ] :label: [[Bookmarks - Travels & Sport]]: review bookmarks %%done_del%% 🔁 every 3 months 📅 2024-06-23 +- [ ] :label: [[Bookmarks - Travels & Sport]]: review bookmarks %%done_del%% 🔁 every 3 months 📅 2024-09-23 +- [x] :label: [[Bookmarks - Travels & Sport]]: review bookmarks %%done_del%% 🔁 every 3 months 📅 2024-06-23 ✅ 2024-06-23 - [x] :label: [[Bookmarks - Travels & Sport]]: review bookmarks %%done_del%% 🔁 every 3 months 📅 2024-03-23 ✅ 2024-03-22   diff --git a/01.01 Life Orga/@Personal projects.md b/01.01 Life Orga/@Personal projects.md index f2026e5c..05d92e85 100644 --- a/01.01 Life Orga/@Personal projects.md +++ b/01.01 Life Orga/@Personal projects.md @@ -77,7 +77,7 @@ Keeping personal projects in check and on track. - [ ] :fleur_de_lis: [[@Personal projects|Personal projects]]: Refaire [[@Personal projects#Chevalière|chevalière]] (Bastard & Flourville) 📅 2025-12-31 - [ ] :art: [[@Personal projects|Personal projects]]: Continuer à construire un petit trousseau d'[[@Personal projects#art|art]] 📅 2024-12-21 - [ ] 🖋 [[@Personal projects|Personal projects]]: Caligraph & frame life mementos 📅 2024-06-30 -- [ ] :fleur_de_lis: [[@Personal projects|Personal projects]]: Continue [[@lebv.org Tasks|lebv.org]] 📅 2024-06-28 +- [ ] :fleur_de_lis: [[@Personal projects|Personal projects]]: Continue [[@lebv.org Tasks|lebv.org]] 📅 2024-11-28   diff --git a/01.02 Home/Household.md b/01.02 Home/Household.md index c00646e2..6d9c8be5 100644 --- a/01.02 Home/Household.md +++ b/01.02 Home/Household.md @@ -77,7 +77,8 @@ style: number - [x] ♻ [[Household]]: *Paper* recycling collection %%done_del%% 🔁 every 2 weeks on Tuesday 📅 2024-06-18 ✅ 2024-06-18 - [x] ♻ [[Household]]: *Paper* recycling collection %%done_del%% 🔁 every 2 weeks on Tuesday 📅 2024-06-04 ✅ 2024-06-04 - [x] ♻ [[Household]]: *Paper* recycling collection %%done_del%% 🔁 every 2 weeks on Tuesday 📅 2024-05-21 ✅ 2024-05-21 -- [ ] ♻ [[Household]]: *Cardboard* recycling collection %%done_del%% 🔁 every 2 weeks on Tuesday 📅 2024-06-25 +- [ ] ♻ [[Household]]: *Cardboard* recycling collection %%done_del%% 🔁 every 2 weeks on Tuesday 📅 2024-07-09 +- [x] ♻ [[Household]]: *Cardboard* recycling collection %%done_del%% 🔁 every 2 weeks on Tuesday 📅 2024-06-25 ✅ 2024-06-24 - [x] ♻ [[Household]]: *Cardboard* recycling collection %%done_del%% 🔁 every 2 weeks on Tuesday 📅 2024-06-11 ✅ 2024-06-09 - [x] ♻ [[Household]]: *Cardboard* recycling collection %%done_del%% 🔁 every 2 weeks on Tuesday 📅 2024-05-28 ✅ 2024-05-28 - [x] ♻ [[Household]]: *Cardboard* recycling collection %%done_del%% 🔁 every 2 weeks on Tuesday 📅 2024-05-14 ✅ 2024-05-13 diff --git a/01.03 Family/Amélie Solanet.md b/01.03 Family/Amélie Solanet.md index e4febcae..8f46f1e2 100644 --- a/01.03 Family/Amélie Solanet.md +++ b/01.03 Family/Amélie Solanet.md @@ -98,7 +98,8 @@ style: number   -- [ ] :birthday: **[[Amélie Solanet|Amélie]]** %%done_del%% 🔁 every year 📅 2024-06-28 +- [ ] :birthday: **[[Amélie Solanet|Amélie]]** %%done_del%% 🔁 every year 📅 2025-06-28 +- [x] :birthday: **[[Amélie Solanet|Amélie]]** %%done_del%% 🔁 every year 📅 2024-06-28 ✅ 2024-06-28 - [x] :birthday: **[[Amélie Solanet|Amélie]]** %%done_del%% 🔁 every year 📅 2023-06-27 ✅ 2023-06-27 - [x] :birthday: **[[Amélie Solanet|Amélie]]** 🔁 every year 📅 2022-06-27 ✅ 2022-06-27 diff --git a/01.06 Health/2024-04-03 STD Checkup.md b/01.06 Health/2024-04-03 STD Checkup.md new file mode 100644 index 00000000..5b1a4020 --- /dev/null +++ b/01.06 Health/2024-04-03 STD Checkup.md @@ -0,0 +1,58 @@ +--- + +Alias: [""] +Tag: ["timeline", "🩺"] +Date: 2024-06-29 +DocType: Confidential +Hierarchy: NonRoot +TimeStamp: +location: +CollapseMetaTable: true + +--- + +Parent:: [[@Health|Health]] + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-04-03STDCheckUpNSave + +  + +# 2024-04-03 STD Checkup + +  + +> [!summary]+ +> Note Description + +  + + STD Check Up: Negative everywhere + + +```toc +style: number +``` + +  + +--- + +  + +On [[2024-04-03|3rd April]], STD Checkup: +- HIV: negative +- Hepatitis B: negative +- Hepatitis C: negative + +  +  \ No newline at end of file diff --git a/01.06 Health/2024-06-28 Appointment.md b/01.06 Health/2024-06-28 Appointment.md new file mode 100644 index 00000000..1e288113 --- /dev/null +++ b/01.06 Health/2024-06-28 Appointment.md @@ -0,0 +1,58 @@ +--- + +Alias: [""] +Tag: ["timeline", "🩺"] +Date: 2024-06-28 +DocType: Confidential +Hierarchy: NonRoot +TimeStamp: +location: +CollapseMetaTable: true + +--- + +Parent:: [[@Health|Health]] + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-06-28AppointmentNSave + +  + +# 2024-06-28 Appointment + +  + +> [!summary]+ +> Note Description + +  + + Appointment to: +- start treatment re foot fungus +- follow up on kidney stones + + +```toc +style: number +``` +  + +--- + +  + +On [[2024-06-28|28th June]], appointment to organise: +- the follow-up on kidney stones +- the start of the fungus treatment + +  +  \ No newline at end of file diff --git a/01.06 Health/2024-06-29 Fungal treatment.md b/01.06 Health/2024-06-29 Fungal treatment.md new file mode 100644 index 00000000..d7135542 --- /dev/null +++ b/01.06 Health/2024-06-29 Fungal treatment.md @@ -0,0 +1,54 @@ +--- + +Alias: [""] +Tag: ["timeline", "🩺"] +Date: 2024-06-29 +DocType: Confidential +Hierarchy: NonRoot +TimeStamp: +location: +CollapseMetaTable: true + +--- + +Parent:: [[@Health|Health]] + +--- + +  + +```button +name Save +type command +action Save current file +id Save +``` +^button-2024-06-29FungaltreatmentNSave + +  + +# 2024-06-29 Fungal treatment + +  + +> [!summary]+ +> Note Description + +  + + Fungal treatment started on 29/06/2024 + + +```toc +style: number +``` +  + +--- + +  + +Fungal treatment started on [[2024-06-29|29th June]]. + +  +  \ No newline at end of file diff --git a/02.01 London/@@London.md b/02.01 London/@@London.md index bc688f47..cb64283d 100644 --- a/02.01 London/@@London.md +++ b/02.01 London/@@London.md @@ -115,7 +115,8 @@ dv.view("00.01 Admin/dv-views/query_place", {placetype: dv.current().QPType, dat   -- [ ] :birthday: **Stefan Schmidt**, [[@@London|London]] %%done_del%% 🔁 every year 📅 2024-06-29 +- [ ] :birthday: **Stefan Schmidt**, [[@@London|London]] %%done_del%% 🔁 every year 📅 2025-06-29 +- [x] :birthday: **Stefan Schmidt**, [[@@London|London]] %%done_del%% 🔁 every year 📅 2024-06-29 ✅ 2024-06-29 - [x] :birthday: **Stefan Schmidt**, [[@@London|London]] %%done_del%% 🔁 every year 📅 2023-06-29 ✅ 2023-06-29 - [ ] :birthday: **Alex Houyvet**, [[@@London|London]] %%done_del%% 🔁 every year 📅 2024-07-13 - [x] :birthday: **Alex Houyvet**, [[@@London|London]] %%done_del%% 🔁 every year 📅 2023-07-13 ✅ 2023-07-13 diff --git a/02.03 Zürich/Kafi Freud.md b/02.03 Zürich/Kafi Freud.md index cc4fde47..60eea81f 100644 --- a/02.03 Zürich/Kafi Freud.md +++ b/02.03 Zürich/Kafi Freud.md @@ -15,7 +15,7 @@ Place: Style: Swiss Location: Unterstrass Country: CH - Status: 🟥 + Status: 🟩 CollapseMetaTable: true Phone: "+41 44 520 11 75" Email: "hoi@kafifreud.ch" diff --git a/03.04 Cinematheque/Kiss the Future (2023).md b/03.04 Cinematheque/Kiss the Future (2023).md new file mode 100644 index 00000000..008afebd --- /dev/null +++ b/03.04 Cinematheque/Kiss the Future (2023).md @@ -0,0 +1,102 @@ +--- +type: movie +title: Kiss the Future +englishTitle: Kiss the Future +year: "2023" +dataSource: OMDbAPI +url: https://www.imdb.com/title/tt17022868/ +id: tt17022868 +plot: Kiss the Future celebrates the underground art and music scene that thrived during the siege of Sarajevo. The biggest band in the world, U2, paid attention and shined a light on the crisis in an effort to support the besieged Sara... +genres: + - Documentary +director: + - Nenad Cicin-Sain +writer: + - Bill S. Carter + - Nenad Cicin-Sain +studio: + - N/A +duration: 103 min +onlineRating: 7.6 +actors: + - Bono + - The Edge + - Adam Clayton +image: https://m.media-amazon.com/images/M/MV5BNmFkNGI0YWQtYzYyNS00YTI5LWI3OGUtM2UxZDg3ZTY1MDE3XkEyXkFqcGdeQXVyMjQxMjc4NTQ@._V1_SX300.jpg +released: true +streamingServices: [] +premiere: 02/11/2023 +watched: true +lastWatched: "[[2024-06-27]]" +personalRating: 7 +tags: mediaDB/tv/movie + +--- + +Parent:: [[@Cinematheque]] + +--- + +```dataviewjs +dv.paragraph(`> [!${dv.current().watched ? 'SUCCESS' : 'WARNING'}] ${dv.current().watched ? 'last watched on ' + dv.current().lastWatched : 'not yet watched'}`) +``` + +  + +# `$= dv.current().title` + +  + +`$= dv.current().watched ? '**Rating**: ' + dv.current().personalRating + ' out of 10' : ''` + +```toc +``` + +  + +### Details + +  + +**Genres**: +`$= dv.current().genres.length === 0 ? ' - none' : dv.list(dv.current().genres)` + +`$= !dv.current().released ? '**Not released** The movie is not yet released.' : ''` + +  + +```dataview +list without id + "" + + + "" ++ + "" + + + "" + + + "" + + + "" + + + "" + + + "" + + + "" + + + "
Type" + this.type + "
Online Rating" + this.onlineRating + "
Duration" + this.duration + "
Premiered" + this.premiere + "
Producer" + this.producer + "
" +FROM "03.04 Cinematheque/Kiss the Future (2023)" +``` + +  + +--- + +  + +### Poster + +  + +`$= '![Image|360](' + dv.current().image + ')'` \ No newline at end of file diff --git a/05.02 Networks/Configuring UFW.md b/05.02 Networks/Configuring UFW.md index ca0a8329..0cf54831 100644 --- a/05.02 Networks/Configuring UFW.md +++ b/05.02 Networks/Configuring UFW.md @@ -237,7 +237,8 @@ sudo bash /etc/addip4ban/addip4ban.sh #### Ban List Tasks -- [ ] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%% 🔁 every week on Saturday 📅 2024-06-29 +- [ ] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%% 🔁 every week on Saturday 📅 2024-07-06 +- [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%% 🔁 every week on Saturday 📅 2024-06-29 ✅ 2024-06-29 - [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%% 🔁 every week on Saturday 📅 2024-06-22 ✅ 2024-06-21 - [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%% 🔁 every week on Saturday 📅 2024-06-15 ✅ 2024-06-16 - [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%% 🔁 every week on Saturday 📅 2024-06-08 ✅ 2024-06-07 @@ -313,7 +314,8 @@ sudo bash /etc/addip4ban/addip4ban.sh - [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%% 🔁 every week on Saturday 📅 2023-08-12 ✅ 2023-08-07 - [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%% 🔁 every week on Saturday 📅 2023-08-05 ✅ 2023-08-05 - [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]] Get IP addresses caught by Postfix %%done_del%% 🔁 every week on Saturday 📅 2023-07-29 ✅ 2023-08-04 -- [ ] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]]: Update the Blocked IP list %%done_del%% 🔁 every month on Saturday 📅 2024-06-29 +- [ ] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]]: Update the Blocked IP list %%done_del%% 🔁 every month on Saturday 📅 2024-07-06 +- [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]]: Update the Blocked IP list %%done_del%% 🔁 every month on Saturday 📅 2024-06-29 ✅ 2024-06-29 - [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]]: Update the Blocked IP list %%done_del%% 🔁 every month on Saturday 📅 2024-06-22 ✅ 2024-06-21 - [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]]: Update the Blocked IP list %%done_del%% 🔁 every month on Saturday 📅 2024-06-15 ✅ 2024-06-16 - [x] 🖥 [[Selfhosting]], [[Configuring UFW|Firewall]]: Update the Blocked IP list %%done_del%% 🔁 every month on Saturday 📅 2024-06-08 ✅ 2024-06-07 diff --git a/06.01 Finances/2024.ledger b/06.01 Finances/2024.ledger index 31ebcc8a..2d783897 100644 --- a/06.01 Finances/2024.ledger +++ b/06.01 Finances/2024.ledger @@ -1911,4 +1911,88 @@ alias i=income 2024/06/22 Migros expenses:Food:CHF CHF51.00 + liability:CreditCard:CHF + +2024/06/23 Breakie + expenses:Food:CHF CHF21.40 + liability:CreditCard:CHF + +2024/06/24 Coffee + expenses:Food:CHF CHF6.00 + liability:CreditCard:CHF + +2024/06/24 Coffee + expenses:Food:CHF CHF5.90 + liability:CreditCard:CHF + +2024/06/25 Coffee + expenses:Food:CHF CHF6.00 + liability:CreditCard:CHF + +2024/06/25 Coffee + expenses:Food:CHF CHF5.90 + liability:CreditCard:CHF + +2024/06/25 Migros + expenses:Food:CHF CHF27.00 + liability:CreditCard:CHF + +2024/06/25 Bakery + expenses:Food:CHF CHF5.50 + liability:CreditCard:CHF + +2024/06/25 Offee + expenses:Food:CHF CHF5.70 + liability:CreditCard:CHF + +2024/06/26 Coffee + expenses:Food:CHF CHF6.00 + liability:CreditCard:CHF + +2024/06/26 Coffee + expenses:Food:CHF CHF5.90 + liability:CreditCard:CHF + +2024/06/26 Carrots + expenses:Horse:CHF CHF0.30 + liability:CreditCard:CHF + +2024/06/27 Coffee + expenses:Food:CHF CHF6.00 + liability:CreditCard:CHF + +2024/06/27 Coffee + expenses:Food:CHF CHF5.90 + liability:CreditCard:CHF + +2024/06/27 Carrots + expenses:Horse:CHF CHF0.25 + liability:CreditCard:CHF + +2024/06/28 Coffee + expenses:Food:CHF CHF6.00 + liability:CreditCard:CHF + +2024/06/28 Coop + expenses:Food:CHF CHF19.05 + liability:CreditCard:CHF + +2024/06/28 Migros + expenses:Health:CHF CHF5.95 + liability:CreditCard:CHF + +2024/06/29 Carrots + expenses:Horse:CHF CHF0.25 + liability:CreditCard:CHF + +2024/06/29 Sprüngli + expenses:Entertainment:CHF CHF52.00 + liability:CreditCard:CHF + +2024/06/29 Lunch + expenses:Food:CHF CHF22.00 + liability:CreditCard:CHF + +2024/06/29 Jaeger + expenses:Lifestyle:CHF CHF1175.00 liability:CreditCard:CHF \ No newline at end of file